@xwiki/cristal-electron-main 0.23.0 → 0.24.0-rc-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.
package/dist/index.cjs CHANGED
@@ -1,33 +1,33 @@
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},
1
+ "use strict";require("reflect-metadata");const Q=require("electron"),Z=require("node:path"),he=require("node:process"),xe=require("node:util"),te=require("node:fs"),ut=require("node:crypto"),sl=require("node:assert"),fn=require("node:os"),Wt=require("node:url"),wt=require("util"),Te=require("stream"),Wm=require("path"),dc=require("http"),fc=require("https"),la=require("url"),Hv=require("fs"),Ym=require("crypto"),Jm=require("http2"),Wv=require("assert"),Yv=require("tty"),Jv=require("os"),st=require("zlib"),Xv=require("events"),mc=require("process"),Qv=require("buffer"),Zv=require("node:fs/promises");function Xm(e,t,i){for(const n of e)t.includes(`${n.role}`)?i.insert(0,n):n.submenu!=null&&Xm(n.submenu.items,t,i)}function eg(e){const t=Q.Menu.getApplicationMenu(),i=new Q.Menu,n=["toggledevtools","resetzoom","zoomin","zoomout","togglefullscreen"];t?.items&&Xm(t?.items,n,i),e.setMenu(i),Q.Menu.setApplicationMenu(t),e.setMenuBarVisibility(!1)}function Ki(e){return e.loadFile(Z.resolve(Q.app.getAppPath(),"./renderer/dist/index.html"))}async function tg(){const e=new Q.BrowserWindow({webPreferences:{nodeIntegration:!1,contextIsolation:!0,sandbox:!1,webviewTag:!1,preload:Z.join(Q.app.getAppPath(),"./preload/dist/index.cjs")}});return eg(e),e.webContents.setWindowOpenHandler(({url:t})=>(Q.shell.openExternal(t),{action:"deny"})),e.on("ready-to-show",()=>{e?.show()}),await Ki(e),e}async function Xo(){let e=Q.BrowserWindow.getAllWindows().find(t=>!t.isDestroyed());return e===void 0&&(e=await tg()),e.isMinimized()&&e.restore(),e.focus(),e}const ng={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"}},ig={configuration:ng},yt=e=>{const t=typeof e;return e!==null&&(t==="object"||t==="function")},Qm=new Set(["__proto__","prototype","constructor"]),Zm=1e6,ag=e=>e>="0"&&e<="9";function eh(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<=Zm}return!1}function Ma(e,t){return Qm.has(e)?!1:(e&&eh(e)?t.push(Number.parseInt(e,10)):t.push(e),!0)}function rg(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<=Zm&&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"&&!ag(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 rg(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(Qm.has(n))return[];typeof n=="string"&&eh(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 sg(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(),hc=fn.tmpdir(),{env:Dt}=he,og=e=>{const t=Z.join(rt,"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(hc,e)}},cg=e=>{const t=Dt.APPDATA||Z.join(rt,"AppData","Roaming"),i=Dt.LOCALAPPDATA||Z.join(rt,"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(hc,e)}},lg=e=>{const t=Z.basename(rt);return{data:Z.join(Dt.XDG_DATA_HOME||Z.join(rt,".local","share"),e),config:Z.join(Dt.XDG_CONFIG_HOME||Z.join(rt,".config"),e),cache:Z.join(Dt.XDG_CACHE_HOME||Z.join(rt,".cache"),e),log:Z.join(Dt.XDG_STATE_HOME||Z.join(rt,".local","state"),e),temp:Z.join(hc,t,e)}};function ug(e,{suffix:t="nodejs"}={}){if(typeof e!="string")throw new TypeError(`Expected a string, got ${typeof e}`);return t&&(e+=`-${t}`),he.platform==="darwin"?og(e):he.platform==="win32"?cg(e):lg(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)}},pg=he.getuid?!he.getuid():!1,dg=1e4,je=()=>{},de={isChangeErrorOk:e=>{if(!de.isNodeError(e))return!1;const{code:t}=e;return t==="ENOSYS"||!pg&&(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 fg{constructor(){this.interval=25,this.intervalId=void 0,this.limit=dg,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 mg=new fg,Ze=(e,t)=>function(n){return function r(...c){return mg.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(te.chmod),de.onChangeError),chown:Qe(xe.promisify(te.chown),de.onChangeError),close:Qe(xe.promisify(te.close),je),fsync:Qe(xe.promisify(te.fsync),je),mkdir:Qe(xe.promisify(te.mkdir),je),realpath:Qe(xe.promisify(te.realpath),je),stat:Qe(xe.promisify(te.stat),je),unlink:Qe(xe.promisify(te.unlink),je),chmodSync:He(te.chmodSync,de.onChangeError),chownSync:He(te.chownSync,de.onChangeError),closeSync:He(te.closeSync,je),existsSync:He(te.existsSync,je),fsyncSync:He(te.fsync,je),mkdirSync:He(te.mkdirSync,je),realpathSync:He(te.realpathSync,je),statSync:He(te.statSync,je),unlinkSync:He(te.unlinkSync,je)},retry:{close:Ze(xe.promisify(te.close),de.isRetriableError),fsync:Ze(xe.promisify(te.fsync),de.isRetriableError),open:Ze(xe.promisify(te.open),de.isRetriableError),readFile:Ze(xe.promisify(te.readFile),de.isRetriableError),rename:Ze(xe.promisify(te.rename),de.isRetriableError),stat:Ze(xe.promisify(te.stat),de.isRetriableError),write:Ze(xe.promisify(te.write),de.isRetriableError),writeFile:Ze(xe.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)}},hg="utf8",cl=438,vg=511,gg={},yg=fn.userInfo().uid,bg=fn.userInfo().gid,xg=1e3,wg=!!he.getuid;he.getuid&&he.getuid();const ll=128,Sg=e=>e instanceof Error&&"code"in e,ul=e=>typeof e=="string",za=e=>e===void 0,_g=he.platform==="linux",th=he.platform==="win32",vc=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];th||vc.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");_g&&vc.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");class $g{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&&(th&&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 vc)try{he.once(t,()=>this.exit(t))}catch{}},this.register=t=>(this.callbacks.add(t),()=>{this.callbacks.delete(t)}),this.hook()}}const Eg=new $g,kg=Eg.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<=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]}`}};kg(Ee.purgeSyncAll);function nh(e,t,i=gg){if(ul(i))return nh(e,t,{encoding:i});const n=Date.now()+((i.timeout??xg)||-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=wg&&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=Z.dirname(e);$e.attempt.mkdirSync(o,{mode:vg,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||hg):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!==yg||i.chown.gid!==bg)&&$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(!Sg(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=[f(g[0])];let x=0;for(;x<y.length;)b.push(c),l(b,y[x]),b.push(c,f(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:f(Array.isArray(g)?g.join(","):g)}function u(g){return new n(f(g))}e.stringify=u;function f(g){return JSON.stringify(g).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=f;function m(g){return typeof g=="string"&&e.IDENTIFIER.test(g)?new n(`.${g}`):r`[${g}]`}e.getProperty=m;function v(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=v;function h(g){return new n(g.toString())}e.regexpCode=h})(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:f}=u,m=(o=a.key)!==null&&o!==void 0?o:a.ref;let v=this._values[f];if(v){const y=v.get(m);if(y)return y}else v=this._values[f]=new Map;v.set(m,u);const h=this._scope[f]||(this._scope[f]=[]),g=h.length;return h[g]=a.ref,u.setValue(a,{property:f,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 f=t.nil;for(const m in p){const v=p[m];if(!v)continue;const h=o[m]=o[m]||new Map;v.forEach(g=>{if(h.has(g))return;h.set(g,n.Started);let y=a(g);if(y){const b=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${b} ${g} = ${y};${this.opts._n}`}else if(y=u?.(g))f=(0,t._)`${f}${y}${this.opts._n}`;else throw new i(g);h.set(g,n.Completed)})}return f}}e.ValueScope=l})(Ga)),Ga}var ml;function ae(){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($,R){return this}}class s extends c{constructor($,R,F){super(),this.varKind=$,this.name=R,this.rhs=F}render({es5:$,_n:R}){const F=$?i.varKinds.var:this.varKind,W=this.rhs===void 0?"":` = ${this.rhs}`;return`${F} ${this.name}${W};`+R}optimizeNames($,R){if($[this.name.str])return this.rhs&&(this.rhs=M(this.rhs,$,R)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class l extends c{constructor($,R,F){super(),this.lhs=$,this.rhs=R,this.sideEffects=F}render({_n:$}){return`${this.lhs} = ${this.rhs};`+$}optimizeNames($,R){if(!(this.lhs instanceof t.Name&&!$[this.lhs.str]&&!this.sideEffects))return this.rhs=M(this.rhs,$,R),this}get names(){const $=this.lhs instanceof t.Name?{}:{...this.lhs.names};return G($,this.rhs)}}class d extends l{constructor($,R,F,W){super($,F,W),this.op=R}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($,R){return this.code=M(this.code,$,R),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends c{constructor($=[]){super(),this.nodes=$}render($){return this.nodes.reduce((R,F)=>R+F.render($),"")}optimizeNodes(){const{nodes:$}=this;let R=$.length;for(;R--;){const F=$[R].optimizeNodes();Array.isArray(F)?$.splice(R,1,...F):F?$[R]=F:$.splice(R,1)}return $.length>0?this:void 0}optimizeNames($,R){const{nodes:F}=this;let W=F.length;for(;W--;){const X=F[W];X.optimizeNames($,R)||(V($,X.names),F.splice(W,1))}return F.length>0?this:void 0}get names(){return this.nodes.reduce(($,R)=>B($,R.names),{})}}class m extends f{render($){return"{"+$._n+super.render($)+"}"+$._n}}class v extends f{}class h extends m{}h.kind="else";class g extends m{constructor($,R){super(R),this.condition=$}render($){let R=`if(${this.condition})`+super.render($);return this.else&&(R+="else "+this.else.render($)),R}optimizeNodes(){super.optimizeNodes();const $=this.condition;if($===!0)return this.nodes;let R=this.else;if(R){const F=R.optimizeNodes();R=this.else=Array.isArray(F)?new h(F):F}if(R)return $===!1?R instanceof g?R:R.nodes:this.nodes.length?this:new g(A($),R instanceof g?[R]:R.nodes);if(!($===!1||!this.nodes.length))return this}optimizeNames($,R){var F;if(this.else=(F=this.else)===null||F===void 0?void 0:F.optimizeNames($,R),!!(super.optimizeNames($,R)||this.else))return this.condition=M(this.condition,$,R),this}get names(){const $=super.names;return G($,this.condition),this.else&&B($,this.else.names),$}}g.kind="if";class y extends m{}y.kind="for";class b extends y{constructor($){super(),this.iteration=$}render($){return`for(${this.iteration})`+super.render($)}optimizeNames($,R){if(super.optimizeNames($,R))return this.iteration=M(this.iteration,$,R),this}get names(){return B(super.names,this.iteration.names)}}class x extends y{constructor($,R,F,W){super(),this.varKind=$,this.name=R,this.from=F,this.to=W}render($){const R=$.es5?i.varKinds.var:this.varKind,{name:F,from:W,to:X}=this;return`for(${R} ${F}=${W}; ${F}<${X}; ${F}++)`+super.render($)}get names(){const $=G(super.names,this.from);return G($,this.to)}}class w extends y{constructor($,R,F,W){super(),this.loop=$,this.varKind=R,this.name=F,this.iterable=W}render($){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render($)}optimizeNames($,R){if(super.optimizeNames($,R))return this.iterable=M(this.iterable,$,R),this}get names(){return B(super.names,this.iterable.names)}}class S extends m{constructor($,R,F){super(),this.name=$,this.args=R,this.async=F}render($){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render($)}}S.kind="func";class _ extends f{render($){return"return "+super.render($)}}_.kind="return";class E extends m{render($){let R="try"+super.render($);return this.catch&&(R+=this.catch.render($)),this.finally&&(R+=this.finally.render($)),R}optimizeNodes(){var $,R;return super.optimizeNodes(),($=this.catch)===null||$===void 0||$.optimizeNodes(),(R=this.finally)===null||R===void 0||R.optimizeNodes(),this}optimizeNames($,R){var F,W;return super.optimizeNames($,R),(F=this.catch)===null||F===void 0||F.optimizeNames($,R),(W=this.finally)===null||W===void 0||W.optimizeNames($,R),this}get names(){const $=super.names;return this.catch&&B($,this.catch.names),this.finally&&B($,this.finally.names),$}}class T extends m{constructor($){super(),this.error=$}render($){return`catch(${this.error})`+super.render($)}}T.kind="catch";class U extends m{render($){return"finally"+super.render($)}}U.kind="finally";class L{constructor($,R={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...R,_n:R.lines?`
2
+ `:""},this._extScope=$,this._scope=new i.Scope({parent:$}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name($){return this._scope.name($)}scopeName($){return this._extScope.name($)}scopeValue($,R){const F=this._extScope.value($,R);return(this._values[F.prefix]||(this._values[F.prefix]=new Set)).add(F),F}getScopeValue($,R){return this._extScope.getValue($,R)}scopeRefs($){return this._extScope.scopeRefs($,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def($,R,F,W){const X=this._scope.toName(R);return F!==void 0&&W&&(this._constants[X.str]=F),this._leafNode(new s($,X,F)),X}const($,R,F){return this._def(i.varKinds.const,$,R,F)}let($,R,F){return this._def(i.varKinds.let,$,R,F)}var($,R,F){return this._def(i.varKinds.var,$,R,F)}assign($,R,F){return this._leafNode(new l($,R,F))}add($,R){return this._leafNode(new d($,e.operators.ADD,R))}code($){return typeof $=="function"?$():$!==t.nil&&this._leafNode(new u($)),this}object(...$){const R=["{"];for(const[F,W]of $)R.length>1&&R.push(","),R.push(F),(F!==W||this.opts.es5)&&(R.push(":"),(0,t.addCodeArg)(R,W));return R.push("}"),new t._Code(R)}if($,R,F){if(this._blockNode(new g($)),R&&F)this.code(R).else().code(F).endIf();else if(R)this.code(R).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 h)}endIf(){return this._endBlockNode(g,h)}_for($,R){return this._blockNode($),R&&this.code(R).endFor(),this}for($,R){return this._for(new b($),R)}forRange($,R,F,W,X=this.opts.es5?i.varKinds.var:i.varKinds.let){const ie=this._scope.toName($);return this._for(new x(X,ie,R,F),()=>W(ie))}forOf($,R,F,W=i.varKinds.const){const X=this._scope.toName($);if(this.opts.es5){const ie=R instanceof t.Name?R:this.var("_arr",R);return this.forRange("_i",0,(0,t._)`${ie}.length`,Y=>{this.var(X,(0,t._)`${ie}[${Y}]`),F(X)})}return this._for(new w("of",W,X,R),()=>F(X))}forIn($,R,F,W=this.opts.es5?i.varKinds.var:i.varKinds.const){if(this.opts.ownProperties)return this.forOf($,(0,t._)`Object.keys(${R})`,F);const X=this._scope.toName($);return this._for(new w("in",W,X,R),()=>F(X))}endFor(){return this._endBlockNode(y)}label($){return this._leafNode(new p($))}break($){return this._leafNode(new a($))}return($){const R=new _;if(this._blockNode(R),this.code($),R.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try($,R,F){if(!R&&!F)throw new Error('CodeGen: "try" without "catch" and "finally"');const W=new E;if(this._blockNode(W),this.code($),R){const X=this.name("e");this._currNode=W.catch=new T(X),R(X)}return F&&(this._currNode=W.finally=new U,this.code(F)),this._endBlockNode(T,U)}throw($){return this._leafNode(new o($))}block($,R){return this._blockStarts.push(this._nodes.length),$&&this.code($).endBlock(R),this}endBlock($){const R=this._blockStarts.pop();if(R===void 0)throw new Error("CodeGen: not in self-balancing block");const F=this._nodes.length-R;if(F<0||$!==void 0&&F!==$)throw new Error(`CodeGen: wrong number of nodes: ${F} vs ${$} expected`);return this._nodes.length=R,this}func($,R=t.nil,F,W){return this._blockNode(new S($,R,F)),W&&this.code(W).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($,R){const F=this._currNode;if(F instanceof $||R&&F instanceof R)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${R?`${$.kind}/${R.kind}`:$.kind}"`)}_elseNode($){const R=this._currNode;if(!(R instanceof g))throw new Error('CodeGen: "else" without "if"');return this._currNode=R.else=$,this}get _root(){return this._nodes[0]}get _currNode(){const $=this._nodes;return $[$.length-1]}set _currNode($){const R=this._nodes;R[R.length-1]=$}}e.CodeGen=L;function B(O,$){for(const R in $)O[R]=(O[R]||0)+($[R]||0);return O}function G(O,$){return $ instanceof t._CodeOrName?B(O,$.names):O}function M(O,$,R){if(O instanceof t.Name)return F(O);if(!W(O))return O;return new t._Code(O._items.reduce((X,ie)=>(ie instanceof t.Name&&(ie=F(ie)),ie instanceof t._Code?X.push(...ie._items):X.push(ie),X),[]));function F(X){const ie=R[X.str];return ie===void 0||$[X.str]!==1?X:(delete $[X.str],ie)}function W(X){return X instanceof t._Code&&X._items.some(ie=>ie instanceof t.Name&&$[ie.str]===1&&R[ie.str]!==void 0)}}function V(O,$){for(const R in $)O[R]=(O[R]||0)-($[R]||0)}function A(O){return typeof O=="boolean"||typeof O=="number"||O===null?!O:(0,t._)`!${j(O)}`}e.not=A;const N=k(e.operators.AND);function I(...O){return O.reduce(N)}e.and=I;const z=k(e.operators.OR);function P(...O){return O.reduce(z)}e.or=P;function k(O){return($,R)=>$===t.nil?R:R===t.nil?$:(0,t._)`${j($)} ${O} ${j(R)}`}function j(O){return O instanceof t.Name?O:(0,t._)`(${O})`}})(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=ae(),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 T=E.RULES.keywords;for(const U in S)T[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,T){if(!T){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 f({mergeNames:w,mergeToName:S,mergeValues:_,resultToName:E}){return(T,U,L,B)=>{const G=L===void 0?U:L instanceof e.Name?(U instanceof e.Name?w(T,U,L):S(T,U,L),L):U instanceof e.Name?(S(T,L,U),U):_(U,L);return B===e.Name&&!(G instanceof e.Name)?E(T,G):G}}re.mergeEvaluated={props:f({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._)`${_} || {}`),v(w,_,S))}),mergeValues:(w,S)=>w===!0?!0:{...w,...S},resultToName:m}),items:f({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 m(w,S){if(S===!0)return w.var("props",!0);const _=w.var("props",(0,e._)`{}`);return S!==void 0&&v(w,_,S),_}re.evaluatedPropsToName=m;function v(w,S,_){Object.keys(_).forEach(E=>w.assign((0,e._)`${S}${(0,e.getProperty)(E)}`,!0))}re.setEvaluated=v;const h={};function g(w,S){return w.scopeValue("func",{ref:S,code:h[S.code]||(h[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=ae(),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=ae(),i=se(),n=Me();e.keywordError={message:({keyword:h})=>(0,t.str)`must pass "${h}" keyword validation`},e.keyword$DataError={message:({keyword:h,schemaType:g})=>g?(0,t.str)`"${h}" keyword must be ${g} ($data)`:(0,t.str)`"${h}" keyword is invalid ($data)`};function r(h,g=e.keywordError,y,b){const{it:x}=h,{gen:w,compositeRule:S,allErrors:_}=x,E=o(h,g,y);b??(S||_)?d(w,E):p(x,(0,t._)`[${E}]`)}e.reportError=r;function c(h,g=e.keywordError,y){const{it:b}=h,{gen:x,compositeRule:w,allErrors:S}=b,_=o(h,g,y);d(x,_),w||S||p(b,n.default.vErrors)}e.reportExtraError=c;function s(h,g){h.assign(n.default.errors,g),h.if((0,t._)`${n.default.vErrors} !== null`,()=>h.if(g,()=>h.assign((0,t._)`${n.default.vErrors}.length`,g),()=>h.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function l({gen:h,keyword:g,schemaValue:y,data:b,errsCount:x,it:w}){if(x===void 0)throw new Error("ajv implementation error");const S=h.name("err");h.forRange("i",x,n.default.errors,_=>{h.const(S,(0,t._)`${n.default.vErrors}[${_}]`),h.if((0,t._)`${S}.instancePath === undefined`,()=>h.assign((0,t._)`${S}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),h.assign((0,t._)`${S}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${g}`),w.opts.verbose&&(h.assign((0,t._)`${S}.schema`,y),h.assign((0,t._)`${S}.data`,b))})}e.extendErrors=l;function d(h,g){const y=h.const("err",g);h.if((0,t._)`${n.default.vErrors} === null`,()=>h.assign(n.default.vErrors,(0,t._)`[${y}]`),(0,t._)`${n.default.vErrors}.push(${y})`),h.code((0,t._)`${n.default.errors}++`)}function p(h,g){const{gen:y,validateName:b,schemaEnv:x}=h;x.$async?y.throw((0,t._)`new ${h.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(h,g,y){const{createErrors:b}=h.it;return b===!1?(0,t._)`{}`:u(h,g,y)}function u(h,g,y={}){const{gen:b,it:x}=h,w=[f(x,y),m(h,y)];return v(h,g,w),b.object(...w)}function f({errorPath:h},{instancePath:g}){const y=g?(0,t.str)`${h}${(0,i.getErrorPath)(g,i.Type.Str)}`:h;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,y)]}function m({keyword:h,it:{errSchemaPath:g}},{schemaPath:y,parentSchema:b}){let x=b?g:(0,t.str)`${g}/${h}`;return y&&(x=(0,t.str)`${x}${(0,i.getErrorPath)(y,i.Type.Str)}`),[a.schemaPath,x]}function v(h,{params:g,message:y},b){const{keyword:x,data:w,schemaValue:S,it:_}=h,{opts:E,propertyName:T,topSchemaRef:U,schemaPath:L}=_;b.push([a.keyword,x],[a.params,typeof g=="function"?g(h):g||(0,t._)`{}`]),E.messages&&b.push([a.message,typeof y=="function"?y(h):y]),E.verbose&&b.push([a.schema,S],[a.parentSchema,(0,t._)`${U}${L}`],[n.default.data,w]),T&&b.push([a.propertyName,T])}})(Ba)),Ba}var yl;function Rg(){if(yl)return pt;yl=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.boolOrEmptySchema=pt.topBoolOrEmptySchema=void 0;const e=pa(),t=ae(),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 ih(){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 ah(){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=ih(),t=ah(),i=pa(),n=ae(),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 T=m(b,w,S.strictNumbers,c.Wrong);x.if(T,()=>{_.length?o(y,b,_):h(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}`),T=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(m(b,S,_.strictNumbers),()=>w.assign(T,S))),w.if((0,n._)`${T} !== undefined`);for(const L of x)(p.has(L)||L==="array"&&_.coerceTypes==="array")&&U(L);w.else(),h(y),w.endIf(),w.if((0,n._)`${T} !== undefined`,()=>{w.assign(S,T),u(y,T)});function U(L){switch(L){case"string":w.elseIf((0,n._)`${E} == "number" || ${E} == "boolean"`).assign(T,(0,n._)`"" + ${S}`).elseIf((0,n._)`${S} === null`).assign(T,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${E} == "boolean" || ${S} === null
3
+ || (${E} == "string" && ${S} && ${S} == +${S})`).assign(T,(0,n._)`+${S}`);return;case"integer":w.elseIf((0,n._)`${E} === "boolean" || ${S} === null
4
+ || (${E} === "string" && ${S} && ${S} == +${S} && !(${S} % 1))`).assign(T,(0,n._)`+${S}`);return;case"boolean":w.elseIf((0,n._)`${S} === "false" || ${S} === 0 || ${S} === null`).assign(T,!1).elseIf((0,n._)`${S} === "true" || ${S} === 1`).assign(T,!0);return;case"null":w.elseIf((0,n._)`${S} === "" || ${S} === 0 || ${S} === false`),w.assign(T,null);return;case"array":w.elseIf((0,n._)`${E} === "string" || ${E} === "number"
5
+ || ${E} === "boolean" || ${S} === null`).assign(T,(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 f(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(T=n.nil){return(0,n.and)((0,n._)`typeof ${b} == "number"`,T,x?(0,n._)`isFinite(${b})`:n.nil)}}Se.checkDataType=f;function m(y,b,x,w){if(y.length===1)return f(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,f(E,b,x,w));return S}Se.checkDataTypes=m;const v={message:({schema:y})=>`must be ${y}`,params:({schema:y,schemaValue:b})=>typeof y=="string"?(0,n._)`{type: ${y}}`:(0,n._)`{type: ${b}}`};function h(y){const b=g(y);(0,i.reportError)(b,v)}Se.reportTypeError=h;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 Ag(){if(Sl)return Yt;Sl=1,Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.assignDefaults=void 0;const e=ae(),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=ae(),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 f({schemaCode:y,data:b,it:{gen:x,topSchemaRef:w,schemaPath:S,errorPath:_},it:E},T,U,L){const B=L?(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 M=(0,e._)`${B}, ${x.object(...G)}`;return U!==e.nil?(0,e._)`${T}.call(${U}, ${M})`:(0,e._)`${T}(${M})`}le.callValidateCode=f;const m=(0,e._)`new RegExp`;function v({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"?m:(0,n.useFunc)(y,S)}(${x}, ${w})`})}le.usePattern=v;function h(y){const{gen:b,data:x,keyword:w,it:S}=y,_=b.name("valid");if(S.allErrors){const T=b.let("valid",!0);return E(()=>b.assign(T,!1)),T}return b.var(_,!0),E(()=>b.break()),_;function E(T){const U=b.const("len",(0,e._)`${x}.length`);b.forRange("i",0,U,L=>{y.subschema({keyword:w,dataProp:L,dataPropType:t.Type.Num},_),b.if((0,e.not)(_),T)})}}le.validateArray=h;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),T=b.name("_valid");b.block(()=>x.forEach((U,L)=>{const B=y.subschema({keyword:w,schemaProp:L,compositeRule:!0},T);b.assign(E,(0,e._)`${E} || ${T}`),y.mergeValidEvaluated(B,T)||b.if((0,e.not)(E))})),y.result(E,()=>y.reset(),()=>y.error(!0))}return le.validateUnion=g,le}var $l;function Tg(){if($l)return Le;$l=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.validateKeywordUsage=Le.validSchemaType=Le.funcKeywordCode=Le.macroKeywordCode=void 0;const e=ae(),t=Me(),i=Fe(),n=pa();function r(u,f){const{gen:m,keyword:v,schema:h,parentSchema:g,it:y}=u,b=f.macro.call(y.self,h,g,y),x=p(m,v,b);y.opts.validateSchema!==!1&&y.self.validateSchema(b,!0);const w=m.name("valid");u.subschema({schema:b,schemaPath:e.nil,errSchemaPath:`${y.errSchemaPath}/${v}`,topSchemaRef:x,compositeRule:!0},w),u.pass(w,()=>u.error(!0))}Le.macroKeywordCode=r;function c(u,f){var m;const{gen:v,keyword:h,schema:g,parentSchema:y,$data:b,it:x}=u;d(x,f);const w=!b&&f.compile?f.compile.call(x.self,g,y,x):f.validate,S=p(v,h,w),_=v.let("valid");u.block$data(_,E),u.ok((m=f.valid)!==null&&m!==void 0?m:_);function E(){if(f.errors===!1)L(),f.modifying&&s(u),B(()=>u.error());else{const G=f.async?T():U();f.modifying&&s(u),B(()=>l(u,G))}}function T(){const G=v.let("ruleErrs",null);return v.try(()=>L((0,e._)`await `),M=>v.assign(_,!1).if((0,e._)`${M} instanceof ${x.ValidationError}`,()=>v.assign(G,(0,e._)`${M}.errors`),()=>v.throw(M))),G}function U(){const G=(0,e._)`${S}.errors`;return v.assign(G,null),L(e.nil),G}function L(G=f.async?(0,e._)`await `:e.nil){const M=x.opts.passContext?t.default.this:t.default.self,V=!("compile"in f&&!b||f.schema===!1);v.assign(_,(0,e._)`${G}${(0,i.callValidateCode)(u,S,M,V)}`,f.modifying)}function B(G){var M;v.if((0,e.not)((M=f.valid)!==null&&M!==void 0?M:_),G)}}Le.funcKeywordCode=c;function s(u){const{gen:f,data:m,it:v}=u;f.if(v.parentData,()=>f.assign(m,(0,e._)`${v.parentData}[${v.parentDataProperty}]`))}function l(u,f){const{gen:m}=u;m.if((0,e._)`Array.isArray(${f})`,()=>{m.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${f} : ${t.default.vErrors}.concat(${f})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(u)},()=>u.error())}function d({schemaEnv:u},f){if(f.async&&!u.$async)throw new Error("async keyword in sync schema")}function p(u,f,m){if(m===void 0)throw new Error(`keyword "${f}" failed to compile`);return u.scopeValue("keyword",typeof m=="function"?{ref:m}:{ref:m,code:(0,e.stringify)(m)})}function a(u,f,m=!1){return!f.length||f.some(v=>v==="array"?Array.isArray(u):v==="object"?u&&typeof u=="object"&&!Array.isArray(u):typeof u==v||m&&typeof u>"u")}Le.validSchemaType=a;function o({schema:u,opts:f,self:m,errSchemaPath:v},h,g){if(Array.isArray(h.keyword)?!h.keyword.includes(g):h.keyword!==g)throw new Error("ajv implementation error");const y=h.dependencies;if(y?.some(b=>!Object.prototype.hasOwnProperty.call(u,b)))throw new Error(`parent schema must have dependencies of ${g}: ${y.join(",")}`);if(h.validateSchema&&!h.validateSchema(u[g])){const x=`keyword "${g}" value is invalid at path "${v}": `+m.errorsText(h.validateSchema.errors);if(f.validateSchema==="log")m.logger.error(x);else throw new Error(x)}}return Le.validateKeywordUsage=o,Le}var Je={},El;function Pg(){if(El)return Je;El=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.extendSubschemaMode=Je.extendSubschemaData=Je.getSubschema=void 0;const e=ae(),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:m,dataPathArr:v,opts:h}=s,g=u.let("data",(0,e._)`${s.data}${(0,e.getProperty)(l)}`,!0);f(g),c.errorPath=(0,e.str)`${m}${(0,t.getErrorPath)(l,d,h.jsPropertySyntax)}`,c.parentDataProperty=(0,e._)`${l}`,c.dataPathArr=[...v,c.parentDataProperty]}if(p!==void 0){const m=p instanceof e.Name?p:u.let("data",p,!0);f(m),o!==void 0&&(c.propertyName=o)}a&&(c.dataTypes=a);function f(m){c.data=m,c.dataLevel=s.dataLevel+1,c.dataTypes=[],s.definedProperties=new Set,c.parentData=s.data,c.dataNames=[...s.dataNames,m]}}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 rh(){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 Og(){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 f in s){var m=s[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var v=0;v<m.length;v++)t(n,r,c,m[v],l+"/"+f+"/"+v,d,l,f,s,v)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var h in m)t(n,r,c,m[h],l+"/"+f+"/"+i(h),d,l,f,s,h)}else(f in e.keywords||n.allKeys&&!(f in e.skipKeywords))&&t(n,r,c,m,l+"/"+f,d,l,f,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=rh(),i=Og(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function r(v,h=!0){return typeof v=="boolean"?!0:h===!0?!s(v):h?l(v)<=h:!1}Re.inlineRef=r;const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function s(v){for(const h in v){if(c.has(h))return!0;const g=v[h];if(Array.isArray(g)&&g.some(s)||typeof g=="object"&&s(g))return!0}return!1}function l(v){let h=0;for(const g in v){if(g==="$ref")return 1/0;if(h++,!n.has(g)&&(typeof v[g]=="object"&&(0,e.eachItem)(v[g],y=>h+=l(y)),h===1/0))return 1/0}return h}function d(v,h="",g){g!==!1&&(h=o(h));const y=v.parse(h);return p(v,y)}Re.getFullPath=d;function p(v,h){return v.serialize(h).split("#")[0]+"#"}Re._getFullPath=p;const a=/#\/?$/;function o(v){return v?v.replace(a,""):""}Re.normalizeId=o;function u(v,h,g){return g=o(g),v.resolve(h,g)}Re.resolveUrl=u;const f=/^[a-z_][-a-z0-9._]*$/i;function m(v,h){if(typeof v=="boolean")return{};const{schemaId:g,uriResolver:y}=this.opts,b=o(v[g]||h),x={"":b},w=d(y,b,!1),S={},_=new Set;return i(v,{allKeys:!0},(U,L,B,G)=>{if(G===void 0)return;const M=w+L;let V=x[G];typeof U[g]=="string"&&(V=A.call(this,U[g])),N.call(this,U.$anchor),N.call(this,U.$dynamicAnchor),x[L]=V;function A(I){const z=this.opts.uriResolver.resolve;if(I=o(V?z(V,I):I),_.has(I))throw T(I);_.add(I);let P=this.refs[I];return typeof P=="string"&&(P=this.refs[P]),typeof P=="object"?E(U,P.schema,I):I!==o(M)&&(I[0]==="#"?(E(U,S[I],I),S[I]=U):this.refs[I]=M),I}function N(I){if(typeof I=="string"){if(!f.test(I))throw new Error(`invalid anchor "${I}"`);A.call(this,`#${I}`)}}}),S;function E(U,L,B){if(L!==void 0&&!t(U,L))throw T(B)}function T(U){return new Error(`reference "${U}" resolves to more than one schema`)}}return Re.getSchemaRefs=m,Re}var Tl;function hn(){if(Tl)return We;Tl=1,Object.defineProperty(We,"__esModule",{value:!0}),We.getData=We.KeywordCxt=We.validateFunctionCode=void 0;const e=Rg(),t=ea(),i=ah(),n=ea(),r=Ag(),c=Tg(),s=Pg(),l=ae(),d=Me(),p=da(),a=se(),o=pa();function u(C){if(w(C)&&(_(C),x(C))){h(C);return}f(C,()=>(0,e.topBoolOrEmptySchema)(C))}We.validateFunctionCode=u;function f({gen:C,validateName:D,schema:K,schemaEnv:H,opts:ee},ne){ee.code.es5?C.func(D,(0,l._)`${d.default.data}, ${d.default.valCxt}`,H.$async,()=>{C.code((0,l._)`"use strict"; ${y(K,ee)}`),v(C,ee),C.code(ne)}):C.func(D,(0,l._)`${d.default.data}, ${m(ee)}`,H.$async,()=>C.code(y(K,ee)).code(ne))}function m(C){return(0,l._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${C.dynamicRef?(0,l._)`, ${d.default.dynamicAnchors}={}`:l.nil}}={}`}function v(C,D){C.if(d.default.valCxt,()=>{C.var(d.default.instancePath,(0,l._)`${d.default.valCxt}.${d.default.instancePath}`),C.var(d.default.parentData,(0,l._)`${d.default.valCxt}.${d.default.parentData}`),C.var(d.default.parentDataProperty,(0,l._)`${d.default.valCxt}.${d.default.parentDataProperty}`),C.var(d.default.rootData,(0,l._)`${d.default.valCxt}.${d.default.rootData}`),D.dynamicRef&&C.var(d.default.dynamicAnchors,(0,l._)`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{C.var(d.default.instancePath,(0,l._)`""`),C.var(d.default.parentData,(0,l._)`undefined`),C.var(d.default.parentDataProperty,(0,l._)`undefined`),C.var(d.default.rootData,d.default.data),D.dynamicRef&&C.var(d.default.dynamicAnchors,(0,l._)`{}`)})}function h(C){const{schema:D,opts:K,gen:H}=C;f(C,()=>{K.$comment&&D.$comment&&G(C),U(C),H.let(d.default.vErrors,null),H.let(d.default.errors,0),K.unevaluated&&g(C),E(C),M(C)})}function g(C){const{gen:D,validateName:K}=C;C.evaluated=D.const("evaluated",(0,l._)`${K}.evaluated`),D.if((0,l._)`${C.evaluated}.dynamicProps`,()=>D.assign((0,l._)`${C.evaluated}.props`,(0,l._)`undefined`)),D.if((0,l._)`${C.evaluated}.dynamicItems`,()=>D.assign((0,l._)`${C.evaluated}.items`,(0,l._)`undefined`))}function y(C,D){const K=typeof C=="object"&&C[D.schemaId];return K&&(D.code.source||D.code.process)?(0,l._)`/*# sourceURL=${K} */`:l.nil}function b(C,D){if(w(C)&&(_(C),x(C))){S(C,D);return}(0,e.boolOrEmptySchema)(C,D)}function x({schema:C,self:D}){if(typeof C=="boolean")return!C;for(const K in C)if(D.RULES.all[K])return!0;return!1}function w(C){return typeof C.schema!="boolean"}function S(C,D){const{schema:K,gen:H,opts:ee}=C;ee.$comment&&K.$comment&&G(C),L(C),B(C);const ne=H.const("_errs",d.default.errors);E(C,ne),H.var(D,(0,l._)`${ne} === ${d.default.errors}`)}function _(C){(0,a.checkUnknownRules)(C),T(C)}function E(C,D){if(C.opts.jtd)return A(C,[],!1,D);const K=(0,t.getSchemaTypes)(C.schema),H=(0,t.coerceAndCheckDataType)(C,K);A(C,K,!H,D)}function T(C){const{schema:D,errSchemaPath:K,opts:H,self:ee}=C;D.$ref&&H.ignoreKeywordsWithRef&&(0,a.schemaHasRulesButRef)(D,ee.RULES)&&ee.logger.warn(`$ref: keywords ignored in schema at path "${K}"`)}function U(C){const{schema:D,opts:K}=C;D.default!==void 0&&K.useDefaults&&K.strictSchema&&(0,a.checkStrictMode)(C,"default is ignored in the schema root")}function L(C){const D=C.schema[C.opts.schemaId];D&&(C.baseId=(0,p.resolveUrl)(C.opts.uriResolver,C.baseId,D))}function B(C){if(C.schema.$async&&!C.schemaEnv.$async)throw new Error("async schema in sync schema")}function G({gen:C,schemaEnv:D,schema:K,errSchemaPath:H,opts:ee}){const ne=K.$comment;if(ee.$comment===!0)C.code((0,l._)`${d.default.self}.logger.log(${ne})`);else if(typeof ee.$comment=="function"){const fe=(0,l.str)`${H}/$comment`,ke=C.scopeValue("root",{ref:D.root});C.code((0,l._)`${d.default.self}.opts.$comment(${ne}, ${fe}, ${ke}.schema)`)}}function M(C){const{gen:D,schemaEnv:K,validateName:H,ValidationError:ee,opts:ne}=C;K.$async?D.if((0,l._)`${d.default.errors} === 0`,()=>D.return(d.default.data),()=>D.throw((0,l._)`new ${ee}(${d.default.vErrors})`)):(D.assign((0,l._)`${H}.errors`,d.default.vErrors),ne.unevaluated&&V(C),D.return((0,l._)`${d.default.errors} === 0`))}function V({gen:C,evaluated:D,props:K,items:H}){K instanceof l.Name&&C.assign((0,l._)`${D}.props`,K),H instanceof l.Name&&C.assign((0,l._)`${D}.items`,H)}function A(C,D,K,H){const{gen:ee,schema:ne,data:fe,allErrors:ke,opts:ge,self:ve}=C,{RULES:ue}=ve;if(ne.$ref&&(ge.ignoreKeywordsWithRef||!(0,a.schemaHasRulesButRef)(ne,ue))){ee.block(()=>W(C,"$ref",ue.all.$ref.definition));return}ge.jtd||I(C,D),ee.block(()=>{for(const we of ue.rules)qe(we);qe(ue.post)});function qe(we){(0,i.shouldUseGroup)(ne,we)&&(we.type?(ee.if((0,n.checkDataType)(we.type,fe,ge.strictNumbers)),N(C,we),D.length===1&&D[0]===we.type&&K&&(ee.else(),(0,n.reportTypeError)(C)),ee.endIf()):N(C,we),ke||ee.if((0,l._)`${d.default.errors} === ${H||0}`))}}function N(C,D){const{gen:K,schema:H,opts:{useDefaults:ee}}=C;ee&&(0,r.assignDefaults)(C,D.type),K.block(()=>{for(const ne of D.rules)(0,i.shouldUseRule)(H,ne)&&W(C,ne.keyword,ne.definition,D.type)})}function I(C,D){C.schemaEnv.meta||!C.opts.strictTypes||(z(C,D),C.opts.allowUnionTypes||P(C,D),k(C,C.dataTypes))}function z(C,D){if(D.length){if(!C.dataTypes.length){C.dataTypes=D;return}D.forEach(K=>{O(C.dataTypes,K)||R(C,`type "${K}" not allowed by context "${C.dataTypes.join(",")}"`)}),$(C,D)}}function P(C,D){D.length>1&&!(D.length===2&&D.includes("null"))&&R(C,"use allowUnionTypes to allow union type keyword")}function k(C,D){const K=C.self.RULES.all;for(const H in K){const ee=K[H];if(typeof ee=="object"&&(0,i.shouldUseRule)(C.schema,ee)){const{type:ne}=ee.definition;ne.length&&!ne.some(fe=>j(D,fe))&&R(C,`missing type "${ne.join(",")}" for keyword "${H}"`)}}}function j(C,D){return C.includes(D)||D==="number"&&C.includes("integer")}function O(C,D){return C.includes(D)||D==="integer"&&C.includes("number")}function $(C,D){const K=[];for(const H of C.dataTypes)O(D,H)?K.push(H):D.includes("integer")&&H==="number"&&K.push("integer");C.dataTypes=K}function R(C,D){const K=C.schemaEnv.baseId+C.errSchemaPath;D+=` at "${K}" (strictTypes)`,(0,a.checkStrictMode)(C,D,C.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",Y(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:ee,schemaType:ne,def:fe}=this;H.if((0,l.or)((0,l._)`${ee} === 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:ee,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(ee.validateSchema){const ge=D.scopeValue("validate$data",{ref:ee.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 ee={...this.it,...H,items:void 0,props:void 0};return b(ee,K),ee}mergeEvaluated(D,K){const{it:H,gen:ee}=this;H.opts.unevaluated&&(H.props!==!0&&D.props!==void 0&&(H.props=a.mergeEvaluated.props(ee,D.props,H.props,K)),H.items!==!0&&D.items!==void 0&&(H.items=a.mergeEvaluated.items(ee,D.items,H.items,K)))}mergeValidEvaluated(D,K){const{it:H,gen:ee}=this;if(H.opts.unevaluated&&(H.props!==!0||H.items!==!0))return ee.if(K,()=>this.mergeEvaluated(D,l.Name)),!0}}We.KeywordCxt=F;function W(C,D,K,H){const ee=new F(C,K,D);"code"in K?K.code(ee,H):ee.$data&&K.validate?(0,c.funcKeywordCode)(ee,K):"macro"in K?(0,c.macroKeywordCode)(ee,K):(K.compile||K.validate)&&(0,c.funcKeywordCode)(ee,K)}const X=/^\/(?:[^~]|~0|~1)*$/,ie=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y(C,{dataLevel:D,dataNames:K,dataPathArr:H}){let ee,ne;if(C==="")return d.default.rootData;if(C[0]==="/"){if(!X.test(C))throw new Error(`Invalid JSON-pointer: ${C}`);ee=C,ne=d.default.rootData}else{const ve=ie.exec(C);if(!ve)throw new Error(`Invalid JSON-pointer: ${C}`);const ue=+ve[1];if(ee=ve[2],ee==="#"){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],!ee)return ne}let fe=ne;const ke=ee.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=Y,We}var Tn={},Pl;function fa(){if(Pl)return Tn;Pl=1,Object.defineProperty(Tn,"__esModule",{value:!0});class e extends Error{constructor(i){super("validation failed"),this.errors=i,this.ajv=this.validation=!0}}return Tn.default=e,Tn}var Pn={},Ol;function vn(){if(Ol)return Pn;Ol=1,Object.defineProperty(Pn,"__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 Pn.default=t,Pn}var Ce={},Nl;function ma(){if(Nl)return Ce;Nl=1,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.resolveSchema=Ce.getCompilingSchema=Ce.resolveRef=Ce.compileSchema=Ce.SchemaEnv=void 0;const e=ae(),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={}}}Ce.SchemaEnv=s;function l(h){const g=a.call(this,h);if(g)return g;const y=(0,n.getFullPath)(this.opts.uriResolver,h.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 _;h.$async&&(_=S.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const E=S.scopeName("validate");h.validateName=E;const T={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:h.schema,code:(0,e.stringify)(h.schema)}:{ref:h.schema}),validateName:E,ValidationError:_,schema:h.schema,schemaEnv:h,rootId:y,baseId:h.baseId||y,schemaPath:e.nil,errSchemaPath:h.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let U;try{this._compilations.add(h),(0,c.validateFunctionCode)(T),S.optimize(this.opts.code.optimize);const L=S.toString();U=`${S.scopeRefs(i.default.scope)}return ${L}`,this.opts.code.process&&(U=this.opts.code.process(U,h));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=h.schema,G.schemaEnv=h,h.$async&&(G.$async=!0),this.opts.code.source===!0&&(G.source={validateName:E,validateCode:L,scopeValues:S._values}),this.opts.unevaluated){const{props:M,items:V}=T;G.evaluated={props:M instanceof e.Name?void 0:M,items:V instanceof e.Name?void 0:V,dynamicProps:M instanceof e.Name,dynamicItems:V instanceof e.Name},G.source&&(G.source.evaluated=(0,e.stringify)(G.evaluated))}return h.validate=G,h}catch(L){throw delete h.validate,delete h.validateName,U&&this.logger.error("Error compiling schema, function code:",U),L}finally{this._compilations.delete(h)}}Ce.compileSchema=l;function d(h,g,y){var b;y=(0,n.resolveUrl)(this.opts.uriResolver,g,y);const x=h.refs[y];if(x)return x;let w=u.call(this,h,y);if(w===void 0){const S=(b=h.localRefs)===null||b===void 0?void 0:b[y],{schemaId:_}=this.opts;S&&(w=new s({schema:S,schemaId:_,root:h,baseId:g}))}if(w!==void 0)return h.refs[y]=p.call(this,w)}Ce.resolveRef=d;function p(h){return(0,n.inlineRef)(h.schema,this.opts.inlineRefs)?h.schema:h.validate?h:l.call(this,h)}function a(h){for(const g of this._compilations)if(o(g,h))return g}Ce.getCompilingSchema=a;function o(h,g){return h.schema===g.schema&&h.root===g.root&&h.baseId===g.baseId}function u(h,g){let y;for(;typeof(y=this.refs[g])=="string";)g=y;return y||this.schemas[g]||f.call(this,h,g)}function f(h,g){const y=this.opts.uriResolver.parse(g),b=(0,n._getFullPath)(this.opts.uriResolver,y);let x=(0,n.getFullPath)(this.opts.uriResolver,h.baseId,void 0);if(Object.keys(h.schema).length>0&&b===x)return v.call(this,y,h);const w=(0,n.normalizeId)(b),S=this.refs[w]||this.schemas[w];if(typeof S=="string"){const _=f.call(this,h,S);return typeof _?.schema!="object"?void 0:v.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,T=_[E];return T&&(x=(0,n.resolveUrl)(this.opts.uriResolver,x,T)),new s({schema:_,schemaId:E,root:h,baseId:x})}return v.call(this,y,S)}}Ce.resolveSchema=f;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(h,{baseId:g,schema:y,root:b}){var x;if(((x=h.fragment)===null||x===void 0?void 0:x[0])!=="/")return;for(const _ of h.fragment.slice(1).split("/")){if(typeof y=="boolean")return;const E=y[(0,r.unescapeFragment)(_)];if(E===void 0)return;y=E;const T=typeof y=="object"&&y[this.opts.schemaId];!m.has(_)&&T&&(g=(0,n.resolveUrl)(this.opts.uriResolver,g,T))}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=f.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 Ce}const Ng="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",jg="Meta-schema for $data reference (JSON AnySchema extension proposal)",Cg="object",Ig=["$data"],qg={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Lg=!1,Dg={$id:Ng,description:jg,type:Cg,required:Ig,properties:qg,additionalProperties:Lg};var On={},Jt={exports:{}},Ya,jl;function Mg(){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 Fg(){if(Cl)return Ja;Cl=1;const{HEX:e}=Mg(),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(v){if(l(v,".")<3)return{host:v,isIPV4:!1};const h=v.match(t)||[],[g]=h;return g?{host:s(g,"."),isIPV4:!0}:{host:v,isIPV4:!1}}function n(v,h=!1){let g="",y=!0;for(const b of v){if(e[b]===void 0)return;b!=="0"&&y===!0&&(y=!1),y||(g+=b)}return h&&g.length===0&&(g="0"),g}function r(v){let h=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<v.length;E++){const T=v[E];if(!(T==="["||T==="]"))if(T===":"){if(w===!0&&(S=!0),!_())break;if(h++,y.push(":"),h>7){g.error=!0;break}E-1>=0&&v[E-1]===":"&&(w=!0);continue}else if(T==="%"){if(!_())break;x=!0}else{b.push(T);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(v){if(l(v,":")<2)return{host:v,isIPV6:!1};const h=r(v);if(h.error)return{host:v,isIPV6:!1};{let g=h.address,y=h.address;return h.zone&&(g+="%"+h.zone,y+="%25"+h.zone),{host:g,escapedHost:y,isIPV6:!0}}}function s(v,h){let g="",y=!0;const b=v.length;for(let x=0;x<b;x++){const w=v[x];w==="0"&&y?(x+1<=b&&v[x+1]===h||x+1===b)&&(g+=w,y=!1):(w===h?y=!0:y=!1,g+=w)}return g}function l(v,h){let g=0;for(let y=0;y<v.length;y++)v[y]===h&&g++;return g}const d=/^\.\.?\//u,p=/^\/\.(?:\/|$)/u,a=/^\/\.\.(?:\/|$)/u,o=/^\/?(?:.|\n)*?(?=\/|$)/u;function u(v){const h=[];for(;v.length;)if(v.match(d))v=v.replace(d,"");else if(v.match(p))v=v.replace(p,"/");else if(v.match(a))v=v.replace(a,"/"),h.pop();else if(v==="."||v==="..")v="";else{const g=v.match(o);if(g){const y=g[0];v=v.slice(y.length),h.push(y)}else throw new Error("Unexpected dot segment condition")}return h.join("")}function f(v,h){const g=h!==!0?escape:unescape;return v.scheme!==void 0&&(v.scheme=g(v.scheme)),v.userinfo!==void 0&&(v.userinfo=g(v.userinfo)),v.host!==void 0&&(v.host=g(v.host)),v.path!==void 0&&(v.path=g(v.path)),v.query!==void 0&&(v.query=g(v.query)),v.fragment!==void 0&&(v.fragment=g(v.fragment)),v}function m(v){const h=[];if(v.userinfo!==void 0&&(h.push(v.userinfo),h.push("@")),v.host!==void 0){let g=unescape(v.host);const y=i(g);if(y.isIPV4)g=y.host;else{const b=c(y.host);b.isIPV6===!0?g=`[${b.escapedHost}]`:g=v.host}h.push(g)}return(typeof v.port=="number"||typeof v.port=="string")&&(h.push(":"),h.push(String(v.port))),h.length?h.join(""):void 0}return Ja={recomposeAuthority:m,normalizeComponentEncoding:f,removeDotSegments:u,normalizeIPv4:i,normalizeIPv6:c,stringArrayToHexStripped:n},Ja}var Xa,Il;function zg(){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,T=y.nss;return E.path=`${w||b.nid}:${T}`,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},f={scheme:"ws",domainHost:!0,parse:c,serialize:s},m={scheme:"wss",domainHost:f.domainHost,parse:f.parse,serialize:f.serialize},g={http:o,https:u,ws:f,wss:m,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 Ug(){if(ql)return Jt.exports;ql=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:i,recomposeAuthority:n,normalizeComponentEncoding:r}=Fg(),c=zg();function s(h,g){return typeof h=="string"?h=a(m(h,g),g):typeof h=="object"&&(h=m(a(h,g),g)),h}function l(h,g,y){const b=Object.assign({scheme:"null"},y),x=d(m(h,b),m(g,b),b,!0);return a(x,{...b,skipEscape:!0})}function d(h,g,y,b){const x={};return b||(h=m(a(h,y),y),g=m(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):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?x.path="/"+g.path:h.path?x.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:x.path=g.path,x.path=i(x.path)),x.query=g.query):(x.path=h.path,g.query!==void 0?x.query=g.query:x.query=h.query),x.userinfo=h.userinfo,x.host=h.host,x.port=h.port),x.scheme=h.scheme),x.fragment=g.fragment,x}function p(h,g,y){return typeof h=="string"?(h=unescape(h),h=a(r(m(h,y),!0),{...y,skipEscape:!0})):typeof h=="object"&&(h=a(r(h,!0),{...y,skipEscape:!0})),typeof g=="string"?(g=unescape(g),g=a(r(m(g,y),!0),{...y,skipEscape:!0})):typeof g=="object"&&(g=a(r(g,!0),{...y,skipEscape:!0})),h.toLowerCase()===g.toLowerCase()}function a(h,g){const y={host:h.host,scheme:h.scheme,userinfo:h.userinfo,port:h.port,path:h.path,query:h.query,nid:h.nid,nss:h.nss,uuid:h.uuid,fragment:h.fragment,reference:h.reference,resourceName:h.resourceName,secure:h.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},(h,g)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(g)));function u(h){let g=0;for(let y=0,b=h.length;y<b;++y)if(g=h.charCodeAt(y),g>126||o[g])return!0;return!1}const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function m(h,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=h.indexOf("%")!==-1;let w=!1;y.reference==="suffix"&&(h=(y.scheme?y.scheme+":":"")+"//"+h);const S=h.match(f);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 T=e(E.host);b.host=T.host.toLowerCase(),w=T.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 v={SCHEMES:c,normalize:s,resolve:l,resolveComponents:d,equal:p,serialize:a,parse:m};return Jt.exports=v,Jt.exports.default=v,Jt.exports.fastUri=v,Jt.exports}var Ll;function Bg(){if(Ll)return On;Ll=1,Object.defineProperty(On,"__esModule",{value:!0});const e=Ug();return e.code='require("ajv/dist/runtime/uri").default',On.default=e,On}var Dl;function sh(){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=ae();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=ih(),s=ma(),l=ae(),d=da(),p=ea(),a=se(),o=Dg,u=Bg(),f=(P,k)=>new RegExp(P,k);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),h={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(P){var k,j,O,$,R,F,W,X,ie,Y,C,D,K,H,ee,ne,fe,ke,ge,ve,ue,qe,we,Xe,La;const Ht=P.strict,Da=(k=P.code)===null||k===void 0?void 0:k.optimize,al=Da===!0||Da===void 0?1:Da||0,rl=(O=(j=P.code)===null||j===void 0?void 0:j.regExp)!==null&&O!==void 0?O:f,Gv=($=P.uriResolver)!==null&&$!==void 0?$:u.default;return{strictSchema:(F=(R=P.strictSchema)!==null&&R!==void 0?R:Ht)!==null&&F!==void 0?F:!0,strictNumbers:(X=(W=P.strictNumbers)!==null&&W!==void 0?W:Ht)!==null&&X!==void 0?X:!0,strictTypes:(Y=(ie=P.strictTypes)!==null&&ie!==void 0?ie:Ht)!==null&&Y!==void 0?Y:"log",strictTuples:(D=(C=P.strictTuples)!==null&&C!==void 0?C:Ht)!==null&&D!==void 0?D:"log",strictRequired:(H=(K=P.strictRequired)!==null&&K!==void 0?K:Ht)!==null&&H!==void 0?H:!1,code:P.code?{...P.code,optimize:al,regExp:rl}:{optimize:al,regExp:rl},loopRequired:(ee=P.loopRequired)!==null&&ee!==void 0?ee:y,loopEnum:(ne=P.loopEnum)!==null&&ne!==void 0?ne:y,meta:(fe=P.meta)!==null&&fe!==void 0?fe:!0,messages:(ke=P.messages)!==null&&ke!==void 0?ke:!0,inlineRefs:(ge=P.inlineRefs)!==null&&ge!==void 0?ge:!0,schemaId:(ve=P.schemaId)!==null&&ve!==void 0?ve:"$id",addUsedSchema:(ue=P.addUsedSchema)!==null&&ue!==void 0?ue:!0,validateSchema:(qe=P.validateSchema)!==null&&qe!==void 0?qe:!0,validateFormats:(we=P.validateFormats)!==null&&we!==void 0?we:!0,unicodeRegExp:(Xe=P.unicodeRegExp)!==null&&Xe!==void 0?Xe:!0,int32range:(La=P.int32range)!==null&&La!==void 0?La:!0,uriResolver:Gv}}class x{constructor(k={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,k=this.opts={...k,...b(k)};const{es5:j,lines:O}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:v,es5:j,lines:O}),this.logger=B(k.logger);const $=k.validateFormats;k.validateFormats=!1,this.RULES=(0,c.getRules)(),w.call(this,h,k,"NOT SUPPORTED"),w.call(this,g,k,"DEPRECATED","warn"),this._metaOpts=U.call(this),k.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),k.keywords&&T.call(this,k.keywords),typeof k.meta=="object"&&this.addMetaSchema(k.meta),_.call(this),k.validateFormats=$}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:k,meta:j,schemaId:O}=this.opts;let $=o;O==="id"&&($={...o},$.id=$.$id,delete $.$id),j&&k&&this.addMetaSchema($,$[O],!1)}defaultMeta(){const{meta:k,schemaId:j}=this.opts;return this.opts.defaultMeta=typeof k=="object"?k[j]||k:void 0}validate(k,j){let O;if(typeof k=="string"){if(O=this.getSchema(k),!O)throw new Error(`no schema with key or ref "${k}"`)}else O=this.compile(k);const $=O(j);return"$async"in O||(this.errors=O.errors),$}compile(k,j){const O=this._addSchema(k,j);return O.validate||this._compileSchemaEnv(O)}compileAsync(k,j){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:O}=this.opts;return $.call(this,k,j);async function $(Y,C){await R.call(this,Y.$schema);const D=this._addSchema(Y,C);return D.validate||F.call(this,D)}async function R(Y){Y&&!this.getSchema(Y)&&await $.call(this,{$ref:Y},!0)}async function F(Y){try{return this._compileSchemaEnv(Y)}catch(C){if(!(C instanceof r.default))throw C;return W.call(this,C),await X.call(this,C.missingSchema),F.call(this,Y)}}function W({missingSchema:Y,missingRef:C}){if(this.refs[Y])throw new Error(`AnySchema ${Y} is loaded but ${C} cannot be resolved`)}async function X(Y){const C=await ie.call(this,Y);this.refs[Y]||await R.call(this,C.$schema),this.refs[Y]||this.addSchema(C,Y,j)}async function ie(Y){const C=this._loading[Y];if(C)return C;try{return await(this._loading[Y]=O(Y))}finally{delete this._loading[Y]}}}addSchema(k,j,O,$=this.opts.validateSchema){if(Array.isArray(k)){for(const F of k)this.addSchema(F,void 0,O,$);return this}let R;if(typeof k=="object"){const{schemaId:F}=this.opts;if(R=k[F],R!==void 0&&typeof R!="string")throw new Error(`schema ${F} must be string`)}return j=(0,d.normalizeId)(j||R),this._checkUnique(j),this.schemas[j]=this._addSchema(k,O,j,$,!0),this}addMetaSchema(k,j,O=this.opts.validateSchema){return this.addSchema(k,j,!0,O),this}validateSchema(k,j){if(typeof k=="boolean")return!0;let O;if(O=k.$schema,O!==void 0&&typeof O!="string")throw new Error("$schema must be a string");if(O=O||this.opts.defaultMeta||this.defaultMeta(),!O)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const $=this.validate(O,k);if(!$&&j){const R="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(R);else throw new Error(R)}return $}getSchema(k){let j;for(;typeof(j=S.call(this,k))=="string";)k=j;if(j===void 0){const{schemaId:O}=this.opts,$=new s.SchemaEnv({schema:{},schemaId:O});if(j=s.resolveSchema.call(this,$,k),!j)return;this.refs[k]=j}return j.validate||this._compileSchemaEnv(j)}removeSchema(k){if(k instanceof RegExp)return this._removeAllSchemas(this.schemas,k),this._removeAllSchemas(this.refs,k),this;switch(typeof k){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const j=S.call(this,k);return typeof j=="object"&&this._cache.delete(j.schema),delete this.schemas[k],delete this.refs[k],this}case"object":{const j=k;this._cache.delete(j);let O=k[this.opts.schemaId];return O&&(O=(0,d.normalizeId)(O),delete this.schemas[O],delete this.refs[O]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(k){for(const j of k)this.addKeyword(j);return this}addKeyword(k,j){let O;if(typeof k=="string")O=k,typeof j=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),j.keyword=O);else if(typeof k=="object"&&j===void 0){if(j=k,O=j.keyword,Array.isArray(O)&&!O.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(M.call(this,O,j),!j)return(0,a.eachItem)(O,R=>V.call(this,R)),this;N.call(this,j);const $={...j,type:(0,p.getJSONTypes)(j.type),schemaType:(0,p.getJSONTypes)(j.schemaType)};return(0,a.eachItem)(O,$.type.length===0?R=>V.call(this,R,$):R=>$.type.forEach(F=>V.call(this,R,$,F))),this}getKeyword(k){const j=this.RULES.all[k];return typeof j=="object"?j.definition:!!j}removeKeyword(k){const{RULES:j}=this;delete j.keywords[k],delete j.all[k];for(const O of j.rules){const $=O.rules.findIndex(R=>R.keyword===k);$>=0&&O.rules.splice($,1)}return this}addFormat(k,j){return typeof j=="string"&&(j=new RegExp(j)),this.formats[k]=j,this}errorsText(k=this.errors,{separator:j=", ",dataVar:O="data"}={}){return!k||k.length===0?"No errors":k.map($=>`${O}${$.instancePath} ${$.message}`).reduce(($,R)=>$+j+R)}$dataMetaSchema(k,j){const O=this.RULES.all;k=JSON.parse(JSON.stringify(k));for(const $ of j){const R=$.split("/").slice(1);let F=k;for(const W of R)F=F[W];for(const W in O){const X=O[W];if(typeof X!="object")continue;const{$data:ie}=X.definition,Y=F[W];ie&&Y&&(F[W]=z(Y))}}return k}_removeAllSchemas(k,j){for(const O in k){const $=k[O];(!j||j.test(O))&&(typeof $=="string"?delete k[O]:$&&!$.meta&&(this._cache.delete($.schema),delete k[O]))}}_addSchema(k,j,O,$=this.opts.validateSchema,R=this.opts.addUsedSchema){let F;const{schemaId:W}=this.opts;if(typeof k=="object")F=k[W];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof k!="boolean")throw new Error("schema must be object or boolean")}let X=this._cache.get(k);if(X!==void 0)return X;O=(0,d.normalizeId)(F||O);const ie=d.getSchemaRefs.call(this,k,O);return X=new s.SchemaEnv({schema:k,schemaId:W,meta:j,baseId:O,localRefs:ie}),this._cache.set(X.schema,X),R&&!O.startsWith("#")&&(O&&this._checkUnique(O),this.refs[O]=X),$&&this.validateSchema(k,!0),X}_checkUnique(k){if(this.schemas[k]||this.refs[k])throw new Error(`schema with key or id "${k}" already exists`)}_compileSchemaEnv(k){if(k.meta?this._compileMetaSchema(k):s.compileSchema.call(this,k),!k.validate)throw new Error("ajv implementation error");return k.validate}_compileMetaSchema(k){const j=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,k)}finally{this.opts=j}}}x.ValidationError=n.default,x.MissingRefError=r.default,e.default=x;function w(P,k,j,O="error"){for(const $ in P){const R=$;R in k&&this.logger[O](`${j}: option ${$}. ${P[R]}`)}}function S(P){return P=(0,d.normalizeId)(P),this.schemas[P]||this.refs[P]}function _(){const P=this.opts.schemas;if(P)if(Array.isArray(P))this.addSchema(P);else for(const k in P)this.addSchema(P[k],k)}function E(){for(const P in this.opts.formats){const k=this.opts.formats[P];k&&this.addFormat(P,k)}}function T(P){if(Array.isArray(P)){this.addVocabulary(P);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const k in P){const j=P[k];j.keyword||(j.keyword=k),this.addKeyword(j)}}function U(){const P={...this.opts};for(const k of m)delete P[k];return P}const L={log(){},warn(){},error(){}};function B(P){if(P===!1)return L;if(P===void 0)return console;if(P.log&&P.warn&&P.error)return P;throw new Error("logger must implement log, warn and error methods")}const G=/^[a-z_$][a-z0-9_$:-]*$/i;function M(P,k){const{RULES:j}=this;if((0,a.eachItem)(P,O=>{if(j.keywords[O])throw new Error(`Keyword ${O} is already defined`);if(!G.test(O))throw new Error(`Keyword ${O} has invalid name`)}),!!k&&k.$data&&!("code"in k||"validate"in k))throw new Error('$data keyword must have "code" or "validate" function')}function V(P,k,j){var O;const $=k?.post;if(j&&$)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:R}=this;let F=$?R.post:R.rules.find(({type:X})=>X===j);if(F||(F={type:j,rules:[]},R.rules.push(F)),R.keywords[P]=!0,!k)return;const W={keyword:P,definition:{...k,type:(0,p.getJSONTypes)(k.type),schemaType:(0,p.getJSONTypes)(k.schemaType)}};k.before?A.call(this,F,W,k.before):F.rules.push(W),R.all[P]=W,(O=k.implements)===null||O===void 0||O.forEach(X=>this.addKeyword(X))}function A(P,k,j){const O=P.rules.findIndex($=>$.keyword===j);O>=0?P.rules.splice(O,0,k):(P.rules.push(k),this.logger.warn(`rule ${j} is not defined`))}function N(P){let{metaSchema:k}=P;k!==void 0&&(P.$data&&this.opts.$data&&(k=z(k)),P.validateSchema=this.compile(k,!0))}const I={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function z(P){return{anyOf:[P,I]}}})(Ua)),Ua}var Nn={},jn={},Cn={},Ml;function Vg(){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 gc(){if(Fl)return tt;Fl=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.callRef=tt.getValidate=void 0;const e=vn(),t=Fe(),i=ae(),n=Me(),r=ma(),c=se(),s={keyword:"$ref",schemaType:"string",code(p){const{gen:a,schema:o,it:u}=p,{baseId:f,schemaEnv:m,validateName:v,opts:h,self:g}=u,{root:y}=m;if((o==="#"||o==="#/")&&f===y.baseId)return x();const b=r.resolveRef.call(g,y,f,o);if(b===void 0)throw new e.default(u.opts.uriResolver,f,o);if(b instanceof r.SchemaEnv)return w(b);return S(b);function x(){if(m===y)return d(p,v,m,m.$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",h.code.source===!0?{ref:_,code:(0,i.stringify)(_)}:{ref:_}),T=a.name("valid"),U=p.subschema({schema:_,dataTypes:[],schemaPath:i.nil,topSchemaRef:E,errSchemaPath:o},T);p.mergeEvaluated(U),p.ok(T)}}};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:f,it:m}=p,{allErrors:v,schemaEnv:h,opts:g}=m,y=g.passContext?n.default.this:i.nil;u?b():x();function b(){if(!h.$async)throw new Error("async schema referenced by sync schema");const _=f.let("valid");f.try(()=>{f.code((0,i._)`await ${(0,t.callValidateCode)(p,a,y)}`),S(a),v||f.assign(_,!0)},E=>{f.if((0,i._)`!(${E} instanceof ${m.ValidationError})`,()=>f.throw(E)),w(E),v||f.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`;f.assign(n.default.vErrors,(0,i._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`),f.assign(n.default.errors,(0,i._)`${n.default.vErrors}.length`)}function S(_){var E;if(!m.opts.unevaluated)return;const T=(E=o?.validate)===null||E===void 0?void 0:E.evaluated;if(m.props!==!0)if(T&&!T.dynamicProps)T.props!==void 0&&(m.props=c.mergeEvaluated.props(f,T.props,m.props));else{const U=f.var("props",(0,i._)`${_}.evaluated.props`);m.props=c.mergeEvaluated.props(f,U,m.props,i.Name)}if(m.items!==!0)if(T&&!T.dynamicItems)T.items!==void 0&&(m.items=c.mergeEvaluated.items(f,T.items,m.items));else{const U=f.var("items",(0,i._)`${_}.evaluated.items`);m.items=c.mergeEvaluated.items(f,U,m.items,i.Name)}}}return tt.callRef=d,tt.default=s,tt}var zl;function oh(){if(zl)return jn;zl=1,Object.defineProperty(jn,"__esModule",{value:!0});const e=Vg(),t=gc(),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return jn.default=i,jn}var In={},qn={},Ul;function Kg(){if(Ul)return qn;Ul=1,Object.defineProperty(qn,"__esModule",{value:!0});const e=ae(),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 Gg(){if(Bl)return Ln;Bl=1,Object.defineProperty(Ln,"__esModule",{value:!0});const e=ae(),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 Hg(){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 Wg(){if(Kl)return Dn;Kl=1,Object.defineProperty(Dn,"__esModule",{value:!0});const e=ae(),t=se(),i=Hg(),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 Yg(){if(Gl)return Fn;Gl=1,Object.defineProperty(Fn,"__esModule",{value:!0});const e=Fe(),t=ae(),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 Jg(){if(Hl)return zn;Hl=1,Object.defineProperty(zn,"__esModule",{value:!0});const e=ae(),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 Xg(){if(Wl)return Un;Wl=1,Object.defineProperty(Un,"__esModule",{value:!0});const e=Fe(),t=ae(),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 f=l.length>=u.loopRequired;if(o.allErrors?m():v(),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 m(){if(f||a)c.block$data(t.nil,h);else for(const y of l)(0,e.checkReportMissingProp)(c,y)}function v(){const y=s.let("missing");if(f||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 h(){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 Qg(){if(Yl)return Bn;Yl=1,Object.defineProperty(Bn,"__esModule",{value:!0});const e=ae(),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 yc(){if(Jl)return Kn;Jl=1,Object.defineProperty(Kn,"__esModule",{value:!0});const e=rh();return e.code='require("ajv/dist/runtime/equal").default',Kn.default=e,Kn}var Xl;function Zg(){if(Xl)return Vn;Xl=1,Object.defineProperty(Vn,"__esModule",{value:!0});const e=ea(),t=ae(),i=se(),n=yc(),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:f}=s;if(!p&&!a)return;const m=l.let("valid"),v=o.items?(0,e.getSchemaTypes)(o.items):[];s.block$data(m,h,(0,t._)`${u} === false`),s.ok(m);function h(){const x=l.let("i",(0,t._)`${d}.length`),w=l.let("j");s.setParams({i:x,j:w}),l.assign(m,!0),l.if((0,t._)`${x} > 1`,()=>(g()?y:b)(x,w))}function g(){return v.length>0&&!v.some(x=>x==="object"||x==="array")}function y(x,w){const S=l.name("item"),_=(0,e.checkDataTypes)(v,S,f.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`),v.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(m,!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(m,!1).break(_)})))}}};return Vn.default=c,Vn}var Gn={},Ql;function ey(){if(Ql)return Gn;Ql=1,Object.defineProperty(Gn,"__esModule",{value:!0});const e=ae(),t=se(),i=yc(),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 ty(){if(Zl)return Hn;Zl=1,Object.defineProperty(Hn,"__esModule",{value:!0});const e=ae(),t=se(),i=yc(),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 f;const m=()=>f??(f=(0,t.useFunc)(s,i.default));let v;if(u||d)v=s.let("valid"),c.block$data(v,h);else{if(!Array.isArray(p))throw new Error("ajv implementation error");const y=s.const("vSchema",a);v=(0,e.or)(...p.map((b,x)=>g(y,x)))}c.pass(v);function h(){s.assign(v,!1),s.forOf("v",a,y=>s.if((0,e._)`${m()}(${l}, ${y})`,()=>s.assign(v,!0).break()))}function g(y,b){const x=p[b];return typeof x=="object"&&x!==null?(0,e._)`${m()}(${l}, ${y}[${b}])`:(0,e._)`${l} === ${x}`}}};return Hn.default=r,Hn}var eu;function ch(){if(eu)return In;eu=1,Object.defineProperty(In,"__esModule",{value:!0});const e=Kg(),t=Gg(),i=Wg(),n=Yg(),r=Jg(),c=Xg(),s=Qg(),l=Zg(),d=ey(),p=ty(),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={},Rt={},tu;function lh(){if(tu)return Rt;tu=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.validateAdditionalItems=void 0;const e=ae(),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 m=l.var("valid",(0,e._)`${u} <= ${s.length}`);l.if((0,e.not)(m),()=>f(m)),c.ok(m)}function f(m){l.forRange("i",s.length,u,v=>{c.subschema({keyword:a,dataProp:v,dataPropType:t.Type.Num},m),o.allErrors||l.if((0,e.not)(m),()=>l.break())})}}return Rt.validateAdditionalItems=r,Rt.default=n,Rt}var Yn={},At={},nu;function uh(){if(nu)return At;nu=1,Object.defineProperty(At,"__esModule",{value:!0}),At.validateTuple=void 0;const e=ae(),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;v(p),u.opts.unevaluated&&l.length&&u.items!==!0&&(u.items=t.mergeEvaluated.items(d,l.length,u.items));const f=d.name("valid"),m=d.const("len",(0,e._)`${a}.length`);l.forEach((h,g)=>{(0,t.alwaysValidSchema)(u,h)||(d.if((0,e._)`${m} > ${g}`,()=>c.subschema({keyword:o,schemaProp:g,dataProp:g},f)),c.ok(f))});function v(h){const{opts:g,errSchemaPath:y}=u,b=l.length,x=b===h.minItems&&(b===h.maxItems||h[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 At.validateTuple=r,At.default=n,At}var iu;function ny(){if(iu)return Yn;iu=1,Object.defineProperty(Yn,"__esModule",{value:!0});const e=uh(),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 iy(){if(au)return Jn;au=1,Object.defineProperty(Jn,"__esModule",{value:!0});const e=ae(),t=se(),i=Fe(),n=lh(),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 ay(){if(ru)return Xn;ru=1,Object.defineProperty(Xn,"__esModule",{value:!0});const e=ae(),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:f}=l;p.opts.next?(a=u===void 0?1:u,o=f):a=1;const m=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._)`${m} >= ${a}`;o!==void 0&&(b=(0,e._)`${b} && ${m} <= ${o}`),r.pass(b);return}p.items=!0;const v=c.name("valid");o===void 0&&a===1?g(v,()=>c.if(v,()=>c.break())):a===0?(c.let(v,!0),o!==void 0&&c.if((0,e._)`${d}.length > 0`,h)):(c.let(v,!1),h()),r.result(v,()=>r.reset());function h(){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,m,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(v,!0).break()):(c.if((0,e._)`${b} > ${o}`,()=>c.assign(v,!1).break()),a===1?c.assign(v,!0):c.if((0,e._)`${b} >= ${a}`,()=>c.assign(v,!0)))}}};return Xn.default=n,Xn}var Qa={},su;function bc(){return su||(su=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ae(),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
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);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}};/*!
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 f=a.let("missing");for(const m in p){const v=p[m];if(v.length===0)continue;const h=(0,n.propertyInData)(a,o,m,u.opts.ownProperties);d.setParams({property:m,depsCount:v.length,deps:v.join(", ")}),u.allErrors?a.if(h,()=>{for(const g of v)(0,n.checkReportMissingProp)(d,g)}):(a.if((0,t._)`${h} && (${(0,n.checkMissingProp)(d,v,f)})`),(0,n.reportMissingProp)(d,f),a.else())}}e.validatePropertyDeps=s;function l(d,p=d.schema){const{gen:a,data:o,keyword:u,it:f}=d,m=a.name("valid");for(const v in p)(0,i.alwaysValidSchema)(f,p[v])||(a.if((0,n.propertyInData)(a,o,v,f.opts.ownProperties),()=>{const h=d.subschema({keyword:u,schemaProp:v},m);d.mergeValidEvaluated(h,m)},()=>a.var(m,!0)),d.ok(m))}e.validateSchemaDeps=l,e.default=r})(Qa)),Qa}var Qn={},ou;function ry(){if(ou)return Qn;ou=1,Object.defineProperty(Qn,"__esModule",{value:!0});const e=ae(),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 ph(){if(cu)return Zn;cu=1,Object.defineProperty(Zn,"__esModule",{value:!0});const e=Fe(),t=ae(),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:f,opts:m}=u;if(u.props=!0,m.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(u,d))return;const v=(0,e.allSchemaProperties)(p.properties),h=(0,e.allSchemaProperties)(p.patternProperties);g(),s.ok((0,t._)`${o} === ${i.default.errors}`);function g(){l.forIn("key",a,S=>{!v.length&&!h.length?x(S):l.if(y(S),()=>x(S))})}function y(S){let _;if(v.length>8){const E=(0,n.schemaRefOrVal)(u,p.properties,"properties");_=(0,e.isOwnProperty)(l,E,S)}else v.length?_=(0,t.or)(...v.map(E=>(0,t._)`${S} === ${E}`)):_=t.nil;return h.length&&(_=(0,t.or)(_,...h.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(m.removeAdditional==="all"||m.removeAdditional&&d===!1){b(S);return}if(d===!1){s.setParams({additionalProperty:S}),s.error(),f||l.break();return}if(typeof d=="object"&&!(0,n.alwaysValidSchema)(u,d)){const _=l.name("valid");m.removeAdditional==="failing"?(w(S,_,!1),l.if((0,t.not)(_),()=>{s.reset(),b(S)})):(w(S,_),f||l.if((0,t.not)(_),()=>l.break()))}}function w(S,_,E){const T={keyword:"additionalProperties",dataProp:S,dataPropType:n.Type.Str};E===!1&&Object.assign(T,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(T,_)}}};return Zn.default=c,Zn}var ei={},lu;function sy(){if(lu)return ei;lu=1,Object.defineProperty(ei,"__esModule",{value:!0});const e=hn(),t=Fe(),i=se(),n=ph(),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 h of o)a.definedProperties.add(h);a.opts.unevaluated&&o.length&&a.props!==!0&&(a.props=i.mergeEvaluated.props(s,(0,i.toHash)(o),a.props));const u=o.filter(h=>!(0,i.alwaysValidSchema)(a,l[h]));if(u.length===0)return;const f=s.name("valid");for(const h of u)m(h)?v(h):(s.if((0,t.propertyInData)(s,p,h,a.opts.ownProperties)),v(h),a.allErrors||s.else().var(f,!0),s.endIf()),c.it.definedProperties.add(h),c.ok(f);function m(h){return a.opts.useDefaults&&!a.compositeRule&&l[h].default!==void 0}function v(h){c.subschema({keyword:"properties",schemaProp:h,dataProp:h},f)}}};return ei.default=r,ei}var ti={},uu;function oy(){if(uu)return ti;uu=1,Object.defineProperty(ti,"__esModule",{value:!0});const e=Fe(),t=ae(),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),f=u.filter(x=>(0,i.alwaysValidSchema)(a,l[x]));if(u.length===0||f.length===u.length&&(!a.opts.unevaluated||a.props===!0))return;const m=o.strictSchema&&!o.allowMatchingProperties&&p.properties,v=s.name("valid");a.props!==!0&&!(a.props instanceof t.Name)&&(a.props=(0,n.evaluatedPropsToName)(s,a.props));const{props:h}=a;g();function g(){for(const x of u)m&&y(x),a.allErrors?b(x):(s.var(v,!0),b(x),s.if(v))}function y(x){for(const w in m)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=f.includes(x);S||c.subschema({keyword:"patternProperties",schemaProp:x,dataProp:w,dataPropType:n.Type.Str},v),a.opts.unevaluated&&h!==!0?s.assign((0,t._)`${h}[${w}]`,!0):!S&&!a.allErrors&&s.if((0,t.not)(v),()=>s.break())})})}}};return ti.default=r,ti}var ni={},pu;function cy(){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 ly(){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 uy(){if(fu)return ai;fu=1,Object.defineProperty(ai,"__esModule",{value:!0});const e=ae(),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(f),r.result(a,()=>r.reset(),()=>r.error(!0));function f(){p.forEach((m,v)=>{let h;(0,t.alwaysValidSchema)(d,m)?c.var(u,!0):h=r.subschema({keyword:"oneOf",schemaProp:v,compositeRule:!0},u),v>0&&c.if((0,e._)`${u} && ${a}`).assign(a,!1).assign(o,(0,e._)`[${o}, ${v}]`).else(),c.if(u,()=>{c.assign(a,!0),c.assign(o,v),h&&r.mergeEvaluated(h,e.Name)})})}}};return ai.default=n,ai}var ri={},mu;function py(){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 dy(){if(hu)return si;hu=1,Object.defineProperty(si,"__esModule",{value:!0});const e=ae(),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(f(),c.reset(),p&&a){const v=s.let("ifClause");c.setParams({ifClause:v}),s.if(u,m("then",v),m("else",v))}else p?s.if(u,m("then")):s.if((0,e.not)(u),m("else"));c.pass(o,()=>c.error(!0));function f(){const v=c.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);c.mergeEvaluated(v)}function m(v,h){return()=>{const g=c.subschema({keyword:v},u);s.assign(o,u),c.mergeValidEvaluated(g,o),h?s.assign(h,(0,e._)`${v}`):c.setParams({ifClause:v})}}}};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 fy(){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 dh(){if(gu)return Wn;gu=1,Object.defineProperty(Wn,"__esModule",{value:!0});const e=lh(),t=ny(),i=uh(),n=iy(),r=ay(),c=bc(),s=ry(),l=ph(),d=sy(),p=oy(),a=cy(),o=ly(),u=uy(),f=py(),m=dy(),v=fy();function h(g=!1){const y=[a.default,o.default,u.default,f.default,m.default,v.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=h,Wn}var ci={},Tt={},yu;function fh(){if(yu)return Tt;yu=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.dynamicAnchor=void 0;const e=ae(),t=Me(),i=ma(),n=gc(),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))}Tt.dynamicAnchor=c;function s(l){const{schemaEnv:d,schema:p,self:a}=l.it,{root:o,baseId:u,localRefs:f,meta:m}=d.root,{schemaId:v}=a.opts,h=new i.SchemaEnv({schema:p,schemaId:v,root:o,baseId:u,localRefs:f,meta:m});return i.compileSchema.call(a,h),(0,n.getValidate)(l,h)}return Tt.default=r,Tt}var Pt={},bu;function mh(){if(bu)return Pt;bu=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.dynamicRef=void 0;const e=ae(),t=Me(),i=gc(),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 f=l.let("valid",!1);o(f),c.ok(f)}function o(f){if(p.schemaEnv.root.dynamicAnchors[a]){const m=l.let("_v",(0,e._)`${t.default.dynamicAnchors}${(0,e.getProperty)(a)}`);l.if(m,u(m,f),u(p.validateName,f))}else u(p.validateName,f)()}function u(f,m){return m?()=>l.block(()=>{(0,i.callRef)(c,f),l.let(m,!0)}):()=>(0,i.callRef)(c,f)}}return Pt.dynamicRef=r,Pt.default=n,Pt}var li={},xu;function my(){if(xu)return li;xu=1,Object.defineProperty(li,"__esModule",{value:!0});const e=fh(),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 hy(){if(wu)return ui;wu=1,Object.defineProperty(ui,"__esModule",{value:!0});const e=mh(),t={keyword:"$recursiveRef",schemaType:"string",code:i=>(0,e.dynamicRef)(i,i.schema)};return ui.default=t,ui}var Su;function vy(){if(Su)return ci;Su=1,Object.defineProperty(ci,"__esModule",{value:!0});const e=fh(),t=mh(),i=my(),n=hy(),r=[e.default,t.default,i.default,n.default];return ci.default=r,ci}var pi={},di={},_u;function gy(){if(_u)return di;_u=1,Object.defineProperty(di,"__esModule",{value:!0});const e=bc(),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 yy(){if($u)return fi;$u=1,Object.defineProperty(fi,"__esModule",{value:!0});const e=bc(),t={keyword:"dependentSchemas",type:"object",schemaType:"object",code:i=>(0,e.validateSchemaDeps)(i)};return fi.default=t,fi}var mi={},Eu;function by(){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 xy(){if(ku)return pi;ku=1,Object.defineProperty(pi,"__esModule",{value:!0});const e=gy(),t=yy(),i=by(),n=[e.default,t.default,i.default];return pi.default=n,pi}var hi={},vi={},Ru;function wy(){if(Ru)return vi;Ru=1,Object.defineProperty(vi,"__esModule",{value:!0});const e=ae(),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,h=>s.if(m(u,h),()=>f(h)))):u!==!0&&s.forIn("key",d,h=>u===void 0?f(h):s.if(v(u,h),()=>f(h))),a.props=!0,c.ok((0,e._)`${p} === ${i.default.errors}`);function f(h){if(l===!1){c.setParams({unevaluatedProperty:h}),c.error(),o||s.break();return}if(!(0,t.alwaysValidSchema)(a,l)){const g=s.name("valid");c.subschema({keyword:"unevaluatedProperties",dataProp:h,dataPropType:t.Type.Str},g),o||s.if((0,e.not)(g),()=>s.break())}}function m(h,g){return(0,e._)`!${h} || !${h}[${g}]`}function v(h,g){const y=[];for(const b in h)h[b]===!0&&y.push((0,e._)`${g} !== ${b}`);return(0,e.and)(...y)}}};return vi.default=r,vi}var gi={},Au;function Sy(){if(Au)return gi;Au=1,Object.defineProperty(gi,"__esModule",{value:!0});const e=ae(),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,f){c.forRange("i",f,a,m=>{r.subschema({keyword:"unevaluatedItems",dataProp:m,dataPropType:t.Type.Num},u),d.allErrors||c.if((0,e.not)(u),()=>c.break())})}}};return gi.default=n,gi}var Tu;function _y(){if(Tu)return hi;Tu=1,Object.defineProperty(hi,"__esModule",{value:!0});const e=wy(),t=Sy(),i=[e.default,t.default];return hi.default=i,hi}var yi={},bi={},Pu;function $y(){if(Pu)return bi;Pu=1,Object.defineProperty(bi,"__esModule",{value:!0});const e=ae(),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:f,self:m}=a;if(!o.validateFormats)return;l?v():h();function v(){const g=c.scopeValue("formats",{ref:m.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 _=f.$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 h(){const g=m.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){m.logger.warn(E());return}throw new Error(E());function E(){return`unknown format "${d}" ignored in schema at path "${u}"`}}function S(E){const T=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:T});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(!f.$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 hh(){if(Ou)return yi;Ou=1,Object.defineProperty(yi,"__esModule",{value:!0});const t=[$y().default];return yi.default=t,yi}var ft={},Nu;function vh(){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 Ey(){if(ju)return Nn;ju=1,Object.defineProperty(Nn,"__esModule",{value:!0});const e=oh(),t=ch(),i=dh(),n=vy(),r=xy(),c=_y(),s=hh(),l=vh(),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 ky(){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 gh(){if(Iu)return xi;Iu=1,Object.defineProperty(xi,"__esModule",{value:!0});const e=ae(),t=ky(),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:f}=o;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const m=a.propertyName;if(typeof m!="string")throw new Error("discriminator: requires propertyName");if(a.mapping)throw new Error("discriminator: mapping is not supported");if(!f)throw new Error("discriminator: requires oneOf keyword");const v=d.let("valid",!1),h=d.const("tag",(0,e._)`${p}${(0,e.getProperty)(m)}`);d.if((0,e._)`typeof ${h} == "string"`,()=>g(),()=>l.error(!1,{discrError:t.DiscrError.Tag,tag:h,tagName:m})),l.ok(v);function g(){const x=b();d.if(!1);for(const w in x)d.elseIf((0,e._)`${h} === ${w}`),d.assign(v,y(x[w]));d.else(),l.error(!1,{discrError:t.DiscrError.Mapping,tag:h,tagName:m}),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 L=0;L<f.length;L++){let B=f[L];if(B?.$ref&&!(0,r.schemaHasRulesButRef)(B,u.self.RULES)){const M=B.$ref;if(B=i.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,M),B instanceof i.SchemaEnv&&(B=B.schema),B===void 0)throw new n.default(u.opts.uriResolver,u.baseId,M)}const G=(x=B?.properties)===null||x===void 0?void 0:x[m];if(typeof G!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${m}"`);_=_&&(S||E(B)),T(G,L)}if(!_)throw new Error(`discriminator: "${m}" must be required`);return w;function E({required:L}){return Array.isArray(L)&&L.includes(m)}function T(L,B){if(L.const)U(L.const,B);else if(L.enum)for(const G of L.enum)U(G,B);else throw new Error(`discriminator: "properties/${m}" must have "const" or "enum"`)}function U(L,B){if(typeof L!="string"||L in w)throw new Error(`discriminator: "${m}" values must be unique strings`);w[L]=B}}}};return xi.default=s,xi}var wi={};const Ry="https://json-schema.org/draft/2020-12/schema",Ay="https://json-schema.org/draft/2020-12/schema",Ty={"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},Py="meta",Oy="Core and Validation specifications meta-schema",Ny=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],jy=["object","boolean"],Cy="This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",Iy={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}},qy={$schema:Ry,$id:Ay,$vocabulary:Ty,$dynamicAnchor:Py,title:Oy,allOf:Ny,type:jy,$comment:Cy,properties:Iy},Ly="https://json-schema.org/draft/2020-12/schema",Dy="https://json-schema.org/draft/2020-12/meta/applicator",My={"https://json-schema.org/draft/2020-12/vocab/applicator":!0},Fy="meta",zy="Applicator vocabulary meta-schema",Uy=["object","boolean"],By={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"}},Vy={schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}},Ky={$schema:Ly,$id:Dy,$vocabulary:My,$dynamicAnchor:Fy,title:zy,type:Uy,properties:By,$defs:Vy},Gy="https://json-schema.org/draft/2020-12/schema",Hy="https://json-schema.org/draft/2020-12/meta/unevaluated",Wy={"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},Yy="meta",Jy="Unevaluated applicator vocabulary meta-schema",Xy=["object","boolean"],Qy={unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}},Zy={$schema:Gy,$id:Hy,$vocabulary:Wy,$dynamicAnchor:Yy,title:Jy,type:Xy,properties:Qy},eb="https://json-schema.org/draft/2020-12/schema",tb="https://json-schema.org/draft/2020-12/meta/content",nb={"https://json-schema.org/draft/2020-12/vocab/content":!0},ib="meta",ab="Content vocabulary meta-schema",rb=["object","boolean"],sb={contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}},ob={$schema:eb,$id:tb,$vocabulary:nb,$dynamicAnchor:ib,title:ab,type:rb,properties:sb},cb="https://json-schema.org/draft/2020-12/schema",lb="https://json-schema.org/draft/2020-12/meta/core",ub={"https://json-schema.org/draft/2020-12/vocab/core":!0},pb="meta",db="Core vocabulary meta-schema",fb=["object","boolean"],mb={$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"}}},hb={anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}},vb={$schema:cb,$id:lb,$vocabulary:ub,$dynamicAnchor:pb,title:db,type:fb,properties:mb,$defs:hb},gb="https://json-schema.org/draft/2020-12/schema",yb="https://json-schema.org/draft/2020-12/meta/format-annotation",bb={"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},xb="meta",wb="Format vocabulary meta-schema for annotation results",Sb=["object","boolean"],_b={format:{type:"string"}},$b={$schema:gb,$id:yb,$vocabulary:bb,$dynamicAnchor:xb,title:wb,type:Sb,properties:_b},Eb="https://json-schema.org/draft/2020-12/schema",kb="https://json-schema.org/draft/2020-12/meta/meta-data",Rb={"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},Ab="meta",Tb="Meta-data vocabulary meta-schema",Pb=["object","boolean"],Ob={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}},Nb={$schema:Eb,$id:kb,$vocabulary:Rb,$dynamicAnchor:Ab,title:Tb,type:Pb,properties:Ob},jb="https://json-schema.org/draft/2020-12/schema",Cb="https://json-schema.org/draft/2020-12/meta/validation",Ib={"https://json-schema.org/draft/2020-12/vocab/validation":!0},qb="meta",Lb="Validation vocabulary meta-schema",Db=["object","boolean"],Mb={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"}}},Fb={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:[]}},zb={$schema:jb,$id:Cb,$vocabulary:Ib,$dynamicAnchor:qb,title:Lb,type:Db,properties:Mb,$defs:Fb};var qu;function Ub(){if(qu)return wi;qu=1,Object.defineProperty(wi,"__esModule",{value:!0});const e=qy,t=Ky,i=Zy,n=ob,r=vb,c=$b,s=Nb,l=zb,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,f){return a?u.$dataMetaSchema(f,d):f}}return wi.default=p,wi}var Lu;function Bb(){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=sh(),n=Ey(),r=gh(),c=Ub(),s="https://json-schema.org/draft/2020-12/schema";class l extends i.default{constructor(f={}){super({...f,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),n.default.forEach(f=>this.addVocabulary(f)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:f,meta:m}=this.opts;m&&(c.default.call(this,f),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=ae();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 Vb=Bb(),Si={exports:{}},Za={},Du;function Kb(){return Du||(Du=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(L,B){return{validate:L,compare:B}}e.fullFormats={date:t(c,s),time:t(d(!0),p),"date-time":t(u(!0),f),"iso-time":t(d(),a),"iso-date-time":t(u(),m),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,f),"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,m),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(L){return L%4===0&&(L%100!==0||L%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(L){const B=n.exec(L);if(!B)return!1;const G=+B[1],M=+B[2],V=+B[3];return M>=1&&M<=12&&V>=1&&V<=(M===2&&i(G)?29:r[M])}function s(L,B){if(L&&B)return L>B?1:L<B?-1:0}const l=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function d(L){return function(G){const M=l.exec(G);if(!M)return!1;const V=+M[1],A=+M[2],N=+M[3],I=M[4],z=M[5]==="-"?-1:1,P=+(M[6]||0),k=+(M[7]||0);if(P>23||k>59||L&&!I)return!1;if(V<=23&&A<=59&&N<60)return!0;const j=A-k*z,O=V-P*z-(j<0?1:0);return(O===23||O===-1)&&(j===59||j===-1)&&N<61}}function p(L,B){if(!(L&&B))return;const G=new Date("2020-01-01T"+L).valueOf(),M=new Date("2020-01-01T"+B).valueOf();if(G&&M)return G-M}function a(L,B){if(!(L&&B))return;const G=l.exec(L),M=l.exec(B);if(G&&M)return L=G[1]+G[2]+G[3],B=M[1]+M[2]+M[3],L>B?1:L<B?-1:0}const o=/t|\s/i;function u(L){const B=d(L);return function(M){const V=M.split(o);return V.length===2&&c(V[0])&&B(V[1])}}function f(L,B){if(!(L&&B))return;const G=new Date(L).valueOf(),M=new Date(B).valueOf();if(G&&M)return G-M}function m(L,B){if(!(L&&B))return;const[G,M]=L.split(o),[V,A]=B.split(o),N=s(G,V);if(N!==void 0)return N||p(M,A)}const v=/\/|:/,h=/^(?:[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(L){return v.test(L)&&h.test(L)}const y=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function b(L){return y.lastIndex=0,y.test(L)}const x=-2147483648,w=2**31-1;function S(L){return Number.isInteger(L)&&L<=w&&L>=x}function _(L){return Number.isInteger(L)}function E(){return!0}const T=/[^\\]\\Z/;function U(L){if(T.test(L))return!1;try{return new RegExp(L),!0}catch{return!1}}})(Za)),Za}var er={},_i={exports:{}},$i={},Mu;function Gb(){if(Mu)return $i;Mu=1,Object.defineProperty($i,"__esModule",{value:!0});const e=oh(),t=ch(),i=dh(),n=hh(),r=vh(),c=[e.default,t.default,(0,i.default)(),n.default,r.metadataVocabulary,r.contentVocabulary];return $i.default=c,$i}const Hb="http://json-schema.org/draft-07/schema#",Wb="http://json-schema.org/draft-07/schema#",Yb="Core schema meta-schema",Jb={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:[]}},Xb=["object","boolean"],Qb={$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:"#"}},Zb={$schema:Hb,$id:Wb,title:Yb,definitions:Jb,type:Xb,properties:Qb,default:!0};var Fu;function ex(){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=sh(),n=Gb(),r=gh(),c=Zb,s=["/properties"],l="http://json-schema.org/draft-07/schema";class d extends i.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(m=>this.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(r.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const m=this.opts.$data?this.$dataMetaSchema(c,s):c;this.addMetaSchema(m,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=ae();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 tx(){return zu||(zu=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatLimitDefinition=void 0;const t=ex(),i=ae(),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:f,self:m}=u;if(!f.validateFormats)return;const v=new t.KeywordCxt(u,m.RULES.all.format.definition,"format");v.$data?h():g();function h(){const b=d.scopeValue("formats",{ref:m.formats,code:f.code.formats}),x=d.const("fmt",(0,i._)`${b}[${v.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=v.schema,x=m.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:f.code.formats?(0,i._)`${f.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 nx(){return Uu||(Uu=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const i=Kb(),n=tx(),r=ae(),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],f=a.formats||i.formatNames;return d(p,f,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 f,m;(f=(m=p.opts.code).formats)!==null&&f!==void 0||(m.formats=(0,r._)`require("ajv-formats/dist/formats").${u}`);for(const v of a)p.addFormat(v,o[v])}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l})(Si,Si.exports)),Si.exports}var ix=nx();const ax=mn(ix),rx=(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);!sx(r,c)&&n||Object.defineProperty(e,i,c)},sx=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)},ox=(e,t)=>{const i=Object.getPrototypeOf(t);i!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,i)},cx=(e,t)=>`/* Wrapped ${e}*/
9
+ ${t}`,lx=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),ux=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),px=(e,t,i)=>{const n=i===""?"":`with ${i.trim()}() `,r=cx.bind(null,n,t.toString());Object.defineProperty(r,"name",ux);const{writable:c,enumerable:s,configurable:l}=lx;Object.defineProperty(e,"toString",{value:r,writable:c,enumerable:s,configurable:l})};function dx(e,t,{ignoreNonConfigurable:i=!1}={}){const{name:n}=e;for(const r of Reflect.ownKeys(t))rx(e,t,r,i);return ox(e,t),px(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))},f=()=>{l=void 0,s&&(clearTimeout(s),s=void 0),c&&(d=e.apply(o,a))},m=r&&!s;return clearTimeout(s),s=setTimeout(u,i),n>0&&n!==Number.POSITIVE_INFINITY&&!l&&(l=setTimeout(f,n)),m&&(d=e.apply(o,a)),d};return dx(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-]",f=[["\\s",1],["\\d",r],[u,n]],m=h=>{for(const[g,y]of f)h=h.split(`${g}*`).join(`${g}{0,${y}}`).split(`${g}+`).join(`${g}{1,${y}}`);return h},v=(h,g,y)=>{const b=m(g),x=o++;c(h,x,g),a[h]=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)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","\\d+"),v("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),v("MAINVERSION",`(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})\\.(${d[a.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})\\.(${d[a.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${d[a.NONNUMERICIDENTIFIER]}|${d[a.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASE",`(?:-(${d[a.PRERELEASEIDENTIFIER]}(?:\\.${d[a.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${d[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[a.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER",`${u}+`),v("BUILD",`(?:\\+(${d[a.BUILDIDENTIFIER]}(?:\\.${d[a.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${d[a.MAINVERSION]}${d[a.PRERELEASE]}?${d[a.BUILD]}?`),v("FULL",`^${d[a.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${d[a.MAINVERSIONLOOSE]}${d[a.PRERELEASELOOSE]}?${d[a.BUILD]}?`),v("LOOSE",`^${d[a.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${d[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${d[a.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:\\.(${d[a.XRANGEIDENTIFIER]})(?:${d[a.PRERELEASE]})?${d[a.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[a.XRANGEIDENTIFIERLOOSE]})(?:${d[a.PRERELEASELOOSE]})?${d[a.BUILD]}?)?)?`),v("XRANGE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${d[a.GTLT]}\\s*${d[a.XRANGEPLAINLOOSE]}$`),v("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`),v("COERCE",`${d[a.COERCEPLAIN]}(?:$|[^\\d])`),v("COERCEFULL",d[a.COERCEPLAIN]+`(?:${d[a.PRERELEASE]})?(?:${d[a.BUILD]})?(?:$|[^\\d])`),v("COERCERTL",d[a.COERCE],!0),v("COERCERTLFULL",d[a.COERCEFULL],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${d[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",v("TILDE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${d[a.LONETILDE]}${d[a.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${d[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",v("CARET",`^${d[a.LONECARET]}${d[a.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${d[a.LONECARET]}${d[a.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${d[a.GTLT]}\\s*(${d[a.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${d[a.GTLT]}\\s*(${d[a.LOOSEPLAIN]}|${d[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${d[a.XRANGEPLAIN]})\\s+-\\s+(${d[a.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${d[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[a.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ei,Ei.exports)),Ei.exports}var ir,Hu;function xc(){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 yh(){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=xc(),{compareIdentifiers:s}=yh();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 f=+u;if(f>=0&&f<i)return f}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 f=this.prerelease.length;for(;--f>=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(a===this.prerelease.join(".")&&o===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(u)}}if(a){let f=[a,u];o===!1&&(f=[a]),s(this.prerelease[0],a)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}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 fx(){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 mx(){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 hx(){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 vx(){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 gx(){if(tp)return pr;tp=1;const e=Pe();return pr=(i,n)=>new e(i,n).major,pr}var dr,np;function yx(){if(np)return dr;np=1;const e=Pe();return dr=(i,n)=>new e(i,n).minor,dr}var fr,ip;function bx(){if(ip)return fr;ip=1;const e=Pe();return fr=(i,n)=>new e(i,n).patch,fr}var mr,ap;function xx(){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 wx(){if(sp)return vr;sp=1;const e=ze();return vr=(i,n,r)=>e(n,i,r),vr}var gr,op;function Sx(){if(op)return gr;op=1;const e=ze();return gr=(i,n)=>e(i,n,!0),gr}var yr,cp;function wc(){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 _x(){if(lp)return br;lp=1;const e=wc();return br=(i,n)=>i.sort((r,c)=>e(r,c,n)),br}var xr,up;function $x(){if(up)return xr;up=1;const e=wc();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 Sc(){if(dp)return Sr;dp=1;const e=ze();return Sr=(i,n,r)=>e(i,n,r)<0,Sr}var _r,fp;function bh(){if(fp)return _r;fp=1;const e=ze();return _r=(i,n,r)=>e(i,n,r)===0,_r}var $r,mp;function xh(){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 $c(){if(vp)return kr;vp=1;const e=ze();return kr=(i,n,r)=>e(i,n,r)<=0,kr}var Rr,gp;function wh(){if(gp)return Rr;gp=1;const e=bh(),t=xh(),i=ga(),n=_c(),r=Sc(),c=$c();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 Ex(){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 f=s.includePrerelease?i[n.COERCERTLFULL]:i[n.COERCERTL];let m;for(;(m=f.exec(c))&&(!l||l.index+l[0].length!==c.length);)(!l||m.index+m[0].length!==l.index+l[0].length)&&(l=m),f.lastIndex=m.index+m[1].length+m[2].length;f.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 Tr,bp;function kx(){if(bp)return Tr;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 Tr=e,Tr}var Pr,xp;function Ue(){if(xp)return Pr;xp=1;const e=/\s+/g;class t{constructor(V,A){if(A=r(A),V instanceof t)return V.loose===!!A.loose&&V.includePrerelease===!!A.includePrerelease?V:new t(V.raw,A);if(V instanceof c)return this.raw=V.value,this.set=[[V]],this.formatted=void 0,this;if(this.options=A,this.loose=!!A.loose,this.includePrerelease=!!A.includePrerelease,this.raw=V.trim().replace(e," "),this.set=this.raw.split("||").map(N=>this.parseRange(N.trim())).filter(N=>N.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const N=this.set[0];if(this.set=this.set.filter(I=>!v(I[0])),this.set.length===0)this.set=[N];else if(this.set.length>1){for(const I of this.set)if(I.length===1&&h(I[0])){this.set=[I];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 A=this.set[V];for(let N=0;N<A.length;N++)N>0&&(this.formatted+=" "),this.formatted+=A[N].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(V){const N=((this.options.includePrerelease&&f)|(this.options.loose&&m))+":"+V,I=n.get(N);if(I)return I;const z=this.options.loose,P=z?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];V=V.replace(P,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 k=V.split(" ").map(R=>y(R,this.options)).join(" ").split(/\s+/).map(R=>L(R,this.options));z&&(k=k.filter(R=>(s("loose invalid filter",R,this.options),!!R.match(d[p.COMPARATORLOOSE])))),s("range list",k);const j=new Map,O=k.map(R=>new c(R,this.options));for(const R of O){if(v(R))return[R];j.set(R.value,R)}j.size>1&&j.has("")&&j.delete("");const $=[...j.values()];return n.set(N,$),$}intersects(V,A){if(!(V instanceof t))throw new TypeError("a Range is required");return this.set.some(N=>g(N,A)&&V.set.some(I=>g(I,A)&&N.every(z=>I.every(P=>z.intersects(P,A)))))}test(V){if(!V)return!1;if(typeof V=="string")try{V=new l(V,this.options)}catch{return!1}for(let A=0;A<this.set.length;A++)if(G(this.set[A],V,this.options))return!0;return!1}}Pr=t;const i=kx(),n=new i,r=xc(),c=ya(),s=va(),l=Pe(),{safeRe:d,t:p,comparatorTrimReplace:a,tildeTrimReplace:o,caretTrimReplace:u}=gn(),{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:m}=ha(),v=M=>M.value==="<0.0.0-0",h=M=>M.value==="",g=(M,V)=>{let A=!0;const N=M.slice();let I=N.pop();for(;A&&N.length;)A=N.every(z=>I.intersects(z,V)),I=N.pop();return A},y=(M,V)=>(s("comp",M,V),M=S(M,V),s("caret",M),M=x(M,V),s("tildes",M),M=E(M,V),s("xrange",M),M=U(M,V),s("stars",M),M),b=M=>!M||M.toLowerCase()==="x"||M==="*",x=(M,V)=>M.trim().split(/\s+/).map(A=>w(A,V)).join(" "),w=(M,V)=>{const A=V.loose?d[p.TILDELOOSE]:d[p.TILDE];return M.replace(A,(N,I,z,P,k)=>{s("tilde",M,N,I,z,P,k);let j;return b(I)?j="":b(z)?j=`>=${I}.0.0 <${+I+1}.0.0-0`:b(P)?j=`>=${I}.${z}.0 <${I}.${+z+1}.0-0`:k?(s("replaceTilde pr",k),j=`>=${I}.${z}.${P}-${k} <${I}.${+z+1}.0-0`):j=`>=${I}.${z}.${P} <${I}.${+z+1}.0-0`,s("tilde return",j),j})},S=(M,V)=>M.trim().split(/\s+/).map(A=>_(A,V)).join(" "),_=(M,V)=>{s("caret",M,V);const A=V.loose?d[p.CARETLOOSE]:d[p.CARET],N=V.includePrerelease?"-0":"";return M.replace(A,(I,z,P,k,j)=>{s("caret",M,I,z,P,k,j);let O;return b(z)?O="":b(P)?O=`>=${z}.0.0${N} <${+z+1}.0.0-0`:b(k)?z==="0"?O=`>=${z}.${P}.0${N} <${z}.${+P+1}.0-0`:O=`>=${z}.${P}.0${N} <${+z+1}.0.0-0`:j?(s("replaceCaret pr",j),z==="0"?P==="0"?O=`>=${z}.${P}.${k}-${j} <${z}.${P}.${+k+1}-0`:O=`>=${z}.${P}.${k}-${j} <${z}.${+P+1}.0-0`:O=`>=${z}.${P}.${k}-${j} <${+z+1}.0.0-0`):(s("no pr"),z==="0"?P==="0"?O=`>=${z}.${P}.${k}${N} <${z}.${P}.${+k+1}-0`:O=`>=${z}.${P}.${k}${N} <${z}.${+P+1}.0-0`:O=`>=${z}.${P}.${k} <${+z+1}.0.0-0`),s("caret return",O),O})},E=(M,V)=>(s("replaceXRanges",M,V),M.split(/\s+/).map(A=>T(A,V)).join(" ")),T=(M,V)=>{M=M.trim();const A=V.loose?d[p.XRANGELOOSE]:d[p.XRANGE];return M.replace(A,(N,I,z,P,k,j)=>{s("xRange",M,N,I,z,P,k,j);const O=b(z),$=O||b(P),R=$||b(k),F=R;return I==="="&&F&&(I=""),j=V.includePrerelease?"-0":"",O?I===">"||I==="<"?N="<0.0.0-0":N="*":I&&F?($&&(P=0),k=0,I===">"?(I=">=",$?(z=+z+1,P=0,k=0):(P=+P+1,k=0)):I==="<="&&(I="<",$?z=+z+1:P=+P+1),I==="<"&&(j="-0"),N=`${I+z}.${P}.${k}${j}`):$?N=`>=${z}.0.0${j} <${+z+1}.0.0-0`:R&&(N=`>=${z}.${P}.0${j} <${z}.${+P+1}.0-0`),s("xRange return",N),N})},U=(M,V)=>(s("replaceStars",M,V),M.trim().replace(d[p.STAR],"")),L=(M,V)=>(s("replaceGTE0",M,V),M.trim().replace(d[V.includePrerelease?p.GTE0PRE:p.GTE0],"")),B=M=>(V,A,N,I,z,P,k,j,O,$,R,F)=>(b(N)?A="":b(I)?A=`>=${N}.0.0${M?"-0":""}`:b(z)?A=`>=${N}.${I}.0${M?"-0":""}`:P?A=`>=${A}`:A=`>=${A}${M?"-0":""}`,b(O)?j="":b($)?j=`<${+O+1}.0.0-0`:b(R)?j=`<${O}.${+$+1}.0-0`:F?j=`<=${O}.${$}.${R}-${F}`:M?j=`<${O}.${$}.${+R+1}-0`:j=`<=${j}`,`${A} ${j}`.trim()),G=(M,V,A)=>{for(let N=0;N<M.length;N++)if(!M[N].test(V))return!1;if(V.prerelease.length&&!A.includePrerelease){for(let N=0;N<M.length;N++)if(s(M[N].semver),M[N].semver!==c.ANY&&M[N].semver.prerelease.length>0){const I=M[N].semver;if(I.major===V.major&&I.minor===V.minor&&I.patch===V.patch)return!0}return!1}return!0};return Pr}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=xc(),{safeRe:n,t:r}=gn(),c=wh(),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 Rx(){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 Ax(){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 Tx(){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 Px(){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 Ox(){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 Ec(){if(Ap)return Dr;Ap=1;const e=Pe(),t=ya(),{ANY:i}=t,n=Ue(),r=ba(),c=ga(),s=Sc(),l=$c(),d=_c();return Dr=(a,o,u,f)=>{a=new e(a,f),o=new n(o,f);let m,v,h,g,y;switch(u){case">":m=c,v=l,h=s,g=">",y=">=";break;case"<":m=s,v=d,h=c,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r(a,o,f))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||_,m(_.semver,w.semver,f)?w=_:h(_.semver,S.semver,f)&&(S=_)}),w.operator===g||w.operator===y||(!S.operator||S.operator===g)&&v(a,S.semver))return!1;if(S.operator===y&&h(a,S.semver))return!1}return!0},Dr}var Mr,Tp;function Nx(){if(Tp)return Mr;Tp=1;const e=Ec();return Mr=(i,n,r)=>e(i,n,">",r),Mr}var Fr,Pp;function jx(){if(Pp)return Fr;Pp=1;const e=Ec();return Fr=(i,n,r)=>e(i,n,"<",r),Fr}var zr,Op;function Cx(){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 Ix(){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,f)=>t(u,f,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,f]of c)u===f?p.push(u):!f&&u===d[0]?p.push("*"):f?u===d[0]?p.push(`<=${f}`):p.push(`${u} - ${f}`):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 qx(){if(jp)return Br;jp=1;const e=Ue(),t=ya(),{ANY:i}=t,n=ba(),r=ze(),c=(o,u,f={})=>{if(o===u)return!0;o=new e(o,f),u=new e(u,f);let m=!1;e:for(const v of o.set){for(const h of u.set){const g=d(v,h,f);if(m=m||g!==null,g)continue e}if(m)return!1}return!0},s=[new t(">=0.0.0-0")],l=[new t(">=0.0.0")],d=(o,u,f)=>{if(o===u)return!0;if(o.length===1&&o[0].semver===i){if(u.length===1&&u[0].semver===i)return!0;f.includePrerelease?o=s:o=l}if(u.length===1&&u[0].semver===i){if(f.includePrerelease)return!0;u=l}const m=new Set;let v,h;for(const E of o)E.operator===">"||E.operator===">="?v=p(v,E,f):E.operator==="<"||E.operator==="<="?h=a(h,E,f):m.add(E.semver);if(m.size>1)return null;let g;if(v&&h){if(g=r(v.semver,h.semver,f),g>0)return null;if(g===0&&(v.operator!==">="||h.operator!=="<="))return null}for(const E of m){if(v&&!n(E,String(v),f)||h&&!n(E,String(h),f))return null;for(const T of u)if(!n(E,String(T),f))return!1;return!0}let y,b,x,w,S=h&&!f.includePrerelease&&h.semver.prerelease.length?h.semver:!1,_=v&&!f.includePrerelease&&v.semver.prerelease.length?v.semver:!1;S&&S.prerelease.length===1&&h.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==="<=",v){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(v,E,f),y===E&&y!==v)return!1}else if(v.operator===">="&&!n(v.semver,String(E),f))return!1}if(h){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(h,E,f),b===E&&b!==h)return!1}else if(h.operator==="<="&&!n(h.semver,String(E),f))return!1}if(!E.operator&&(h||v)&&g!==0)return!1}return!(v&&x&&!h&&g!==0||h&&w&&!v&&g!==0||_||S)},p=(o,u,f)=>{if(!o)return u;const m=r(o.semver,u.semver,f);return m>0?o:m<0||u.operator===">"&&o.operator===">="?u:o},a=(o,u,f)=>{if(!o)return u;const m=r(o.semver,u.semver,f);return m<0?o:m>0||u.operator==="<"&&o.operator==="<="?u:o};return Br=c,Br}var Vr,Cp;function Lx(){if(Cp)return Vr;Cp=1;const e=gn(),t=ha(),i=Pe(),n=yh(),r=Ut(),c=fx(),s=mx(),l=hx(),d=vx(),p=gx(),a=yx(),o=bx(),u=xx(),f=ze(),m=wx(),v=Sx(),h=wc(),g=_x(),y=$x(),b=ga(),x=Sc(),w=bh(),S=xh(),_=_c(),E=$c(),T=wh(),U=Ex(),L=ya(),B=Ue(),G=ba(),M=Rx(),V=Ax(),A=Tx(),N=Px(),I=Ox(),z=Ec(),P=Nx(),k=jx(),j=Cx(),O=Ix(),$=qx();return Vr={parse:r,valid:c,clean:s,inc:l,diff:d,major:p,minor:a,patch:o,prerelease:u,compare:f,rcompare:m,compareLoose:v,compareBuild:h,sort:g,rsort:y,gt:b,lt:x,eq:w,neq:S,gte:_,lte:E,cmp:T,coerce:U,Comparator:L,Range:B,satisfies:G,toComparators:M,maxSatisfying:V,minSatisfying:A,minVersion:N,validRange:I,outside:z,gtr:P,ltr:k,intersects:j,simplifyRange:O,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 Dx=Lx();const Ot=mn(Dx),Mx=Object.prototype.toString,Fx="[object Uint8Array]",zx="[object ArrayBuffer]";function Sh(e,t,i){return e?e.constructor===t?!0:Mx.call(e)===i:!1}function _h(e){return Sh(e,Uint8Array,Fx)}function Ux(e){return Sh(e,ArrayBuffer,zx)}function Bx(e){return _h(e)||Ux(e)}function Vx(e){if(!_h(e))throw new TypeError(`Expected \`Uint8Array\`, got \`${typeof e}\``)}function Kx(e){if(!Bx(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)Vx(r),i.set(r,n),n+=r.length;return i}const Ip={utf8:new globalThis.TextDecoder("utf8")};function ki(e,t="utf8"){return Kx(e),Ip[t]??=new globalThis.TextDecoder(t),Ip[t].decode(e)}function Gx(e){if(typeof e!="string")throw new TypeError(`Expected \`string\`, got \`${typeof e}\``)}const Hx=new globalThis.TextEncoder;function Ri(e){return Gx(e),Hx.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 Wx{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?sg(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=te.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=te.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&&(te.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(){te.mkdirSync(Z.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)te.writeFileSync(this.path,i,{mode:this.#e.configFileMode});else try{nh(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(){if(this._ensureDirectory(),te.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=Z.dirname(this.path),i=Z.basename(this.path);this.#s=te.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}),te.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)||!Ot.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 Ot.clean(t)===null}_shouldPerformMigration(t,i,n){return this._isVersionInRangeFormat(t)?i!=="0.0.0"&&Ot.satisfies(i,t)?!1:Ot.satisfies(n,t):!(Ot.lte(t,i)||Ot.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=ug(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=ax.default,n=new Vb.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 Z.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:Yx}=Q;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 Wx{constructor(t){let i,n;if(he.type==="renderer"){const r=Q.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=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(){Dp()}async openInEditor(){const t=await Yx.openPath(this.path);if(t)throw new Error(t)}}const Jx="configuration",$h="_raw",Xx={_raw:{type:"string"},configuration:{type:"object"}},ta=new xa({name:"settings",serialize:e=>e._raw,deserialize:e=>({_raw:e,...JSON.parse(e)}),schema:Xx});function Eh(e){ta.set($h,e)}function Qx(){return ta.size<2&&Eh(JSON.stringify(ig,null,2)),ta.get($h)}function Zx(){return ta.get(Jx)}function ew(e){Eh(e)}function tw(){return Qx()}function nw(){Q.ipcMain.handle("settings:save",async(e,{settings:t})=>{ew(t)}),Q.ipcMain.handle("settings:load",async()=>tw())}const Zo=new Map([]);Zo.set("http://localhost:15680",new Set);const iw=new Set(["https://github.com"]);Q.app.on("web-contents-created",(e,t)=>{t.on("will-navigate",(i,n)=>{const r=Zx(),{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 iw.has(n)&&Q.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 kh={};function aw(e){kh.storageRoot=e}function rw(){return kh.storageRoot}function sw(e){e.loadFile(Z.resolve(Q.app.getAppPath(),"./renderer/dist/index.html"))}function ow(e){aw(e)}function cw(e){Q.ipcMain.handle("reloadBrowser",()=>sw(e)),Q.ipcMain.handle("setStorageRoot",(t,{storageRoot:i})=>ow(i))}const kc="tokenType",Rc="accessToken",lw={tokenType:{type:"string"},accessToken:{type:"string"}},Bt=new xa({name:"authentication-github-main",schema:lw});function uw(e){Bt.set(kc,e)}function pw(e){Bt.set(Rc,e)}function ec(){return Bt.get(kc)}function tc(){return Bt.get(Rc)}function dw(){Bt.delete(kc)}function fw(){Bt.delete(Rc)}function Rh(e,t){return function(){return e.apply(t,arguments)}}const{toString:mw}=Object.prototype,{getPrototypeOf:Ac}=Object,{iterator:wa,toStringTag:Ah}=Symbol,Sa=(e=>t=>{const i=mw.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,Ft=_a("undefined");function yn(e){return e!==null&&!Ft(e)&&e.constructor!==null&&!Ft(e.constructor)&&Ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Th=Be("ArrayBuffer");function hw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Th(e.buffer),t}const vw=_a("string"),Ne=_a("function"),Ph=_a("number"),bn=e=>e!==null&&typeof e=="object",gw=e=>e===!0||e===!1,Hi=e=>{if(Sa(e)!=="object")return!1;const t=Ac(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ah in e)&&!(wa in e)},yw=e=>{if(!bn(e)||yn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},bw=Be("Date"),xw=Be("File"),ww=Be("Blob"),Sw=Be("FileList"),_w=e=>bn(e)&&Ne(e.pipe),$w=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ne(e.append)&&((t=Sa(e))==="formdata"||t==="object"&&Ne(e.toString)&&e.toString()==="[object FormData]"))},Ew=Be("URLSearchParams"),[kw,Rw,Aw,Tw]=["ReadableStream","Request","Response","Headers"].map(Be),Pw=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 Oh(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,Nh=e=>!Ft(e)&&e!==ht;function nc(){const{caseless:e,skipUndefined:t}=Nh(this)&&this||{},i={},n=(r,c)=>{const s=e&&Oh(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||!Ft(r))&&(i[s]=r)};for(let r=0,c=arguments.length;r<c;r++)arguments[r]&&xn(arguments[r],n);return i}const Ow=(e,t,i,{allOwnKeys:n}={})=>(xn(t,(r,c)=>{i&&Ne(r)?e[c]=Rh(r,i):e[c]=r},{allOwnKeys:n}),e),Nw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jw=(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)},Cw=(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&&Ac(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Iw=(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},qw=e=>{if(!e)return null;if(Vt(e))return e;let t=e.length;if(!Ph(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Lw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ac(Uint8Array)),Dw=(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])}},Mw=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Fw=Be("HTMLFormElement"),zw=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),Uw=Be("RegExp"),jh=(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)},Bw=e=>{jh(e,(t,i)=>{if(Ne(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Ne(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+"'")})}})},Vw=(e,t)=>{const i={},n=r=>{r.forEach(c=>{i[c]=!0})};return Vt(e)?n(e):n(String(e).split(t)),i},Kw=()=>{},Gw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Hw(e){return!!(e&&Ne(e.append)&&e[Ah]==="FormData"&&e[wa])}const Ww=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);!Ft(d)&&(c[l]=d)}),t[r]=void 0,c}}return n};return i(e,0)},Yw=Be("AsyncFunction"),Jw=e=>e&&(bn(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Ch=((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",Ne(ht.postMessage)),Xw=typeof queueMicrotask<"u"?queueMicrotask.bind(ht):typeof process<"u"&&process.nextTick||Ch,Qw=e=>e!=null&&Ne(e[wa]),q={isArray:Vt,isArrayBuffer:Th,isBuffer:yn,isFormData:$w,isArrayBufferView:hw,isString:vw,isNumber:Ph,isBoolean:gw,isObject:bn,isPlainObject:Hi,isEmptyObject:yw,isReadableStream:kw,isRequest:Rw,isResponse:Aw,isHeaders:Tw,isUndefined:Ft,isDate:bw,isFile:xw,isBlob:ww,isRegExp:Uw,isFunction:Ne,isStream:_w,isURLSearchParams:Ew,isTypedArray:Lw,isFileList:Sw,forEach:xn,merge:nc,extend:Ow,trim:Pw,stripBOM:Nw,inherits:jw,toFlatObject:Cw,kindOf:Sa,kindOfTest:Be,endsWith:Iw,toArray:qw,forEachEntry:Dw,matchAll:Mw,isHTMLForm:Fw,hasOwnProperty:Mp,hasOwnProp:Mp,reduceDescriptors:jh,freezeMethods:Bw,toObjectSet:Vw,toCamelCase:zw,noop:Kw,toFiniteNumber:Gw,findKey:Oh,global:ht,isContextDefined:Nh,isSpecCompliantForm:Hw,toJSONObject:Ww,isAsyncFn:Yw,isThenable:Jw,setImmediate:Ch,asap:Xw,isIterable:Qw};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)}q.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:q.toJSONObject(this.config),code:this.code,status:this.status}}});const Ih=J.prototype,qh={};["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=>{qh[e]={value:e}});Object.defineProperties(J,qh);Object.defineProperty(Ih,"isAxiosError",{value:!0});J.from=(e,t,i,n,r,c)=>{const s=Object.create(Ih);q.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 Zw(){if(Fp)return Yr;Fp=1;var e=Te.Stream,t=wt;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 e0(){if(zp)return Jr;zp=1;var e=wt,t=Te.Stream,i=Zw();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 t0={"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 Qr,Up;function e0(){return Up||(Up=1,Qr=Zw),Qr}/*!
14
+ */var Qr,Up;function n0(){return Up||(Up=1,Qr=t0),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 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(`
19
+ */var Bp;function i0(){return Bp||(Bp=1,(function(e){var t=n0(),i=Wm.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(m){var v=t[m],h=v.extensions;if(!(!h||!h.length)){a[m]=h;for(var g=0;g<h.length;g++){var y=h[g];if(o[y]){var b=u.indexOf(t[o[y]].source),x=u.indexOf(v.source);if(o[y]!=="application/octet-stream"&&(b>x||b===x&&o[y].substr(0,12)==="application/"))continue}o[y]=m}}})}})(Xr)),Xr}var Zr,Vp;function a0(){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 Lh(){if(Kp)return es;Kp=1;var e=a0();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 Dh(){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 Mh(){if(Hp)return ns;Hp=1;var e=Lh(),t=Dh();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 Fh(){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 zh(){if(Yp)return as;Yp=1;var e=Dh(),t=Lh();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 r0(){if(Jp)return rs;Jp=1;var e=Mh(),t=Fh(),i=zh();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 Uh(){if(Xp)return Qt.exports;Xp=1;var e=Mh(),t=Fh(),i=zh();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,f){if(u){p(u,f);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 s0(){if(Qp)return ss;Qp=1;var e=Uh();ss=t;function t(i,n,r){return e(i,n,null,r)}return ss}var os,Zp;function o0(){return Zp||(Zp=1,os={parallel:r0(),serial:s0(),serialOrdered:Uh()}),os}var cs,ed;function Bh(){return ed||(ed=1,cs=Object),cs}var ls,td;function c0(){return td||(td=1,ls=Error),ls}var us,nd;function l0(){return nd||(nd=1,us=EvalError),us}var ps,id;function u0(){return id||(id=1,ps=RangeError),ps}var ds,ad;function p0(){return ad||(ad=1,ds=ReferenceError),ds}var fs,rd;function d0(){return rd||(rd=1,fs=SyntaxError),fs}var ms,sd;function Tc(){return sd||(sd=1,ms=TypeError),ms}var hs,od;function f0(){return od||(od=1,hs=URIError),hs}var vs,cd;function m0(){return cd||(cd=1,vs=Math.abs),vs}var gs,ld;function h0(){return ld||(ld=1,gs=Math.floor),gs}var ys,ud;function v0(){return ud||(ud=1,ys=Math.max),ys}var bs,pd;function g0(){return pd||(pd=1,bs=Math.min),bs}var xs,dd;function y0(){return dd||(dd=1,xs=Math.pow),xs}var ws,fd;function b0(){return fd||(fd=1,ws=Math.round),ws}var Ss,md;function x0(){return md||(md=1,Ss=Number.isNaN||function(t){return t!==t}),Ss}var _s,hd;function w0(){if(hd)return _s;hd=1;var e=x0();return _s=function(i){return e(i)||i===0?i:i<0?-1:1},_s}var $s,vd;function S0(){return vd||(vd=1,$s=Object.getOwnPropertyDescriptor),$s}var Es,gd;function Vh(){if(gd)return Es;gd=1;var e=S0();if(e)try{e([],"length")}catch{e=null}return Es=e,Es}var ks,yd;function _0(){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 Kh(){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 $0(){if(xd)return As;xd=1;var e=typeof Symbol<"u"&&Symbol,t=Kh();return As=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},As}var Ts,wd;function Gh(){return wd||(wd=1,Ts=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ts}var Ps,Sd;function Hh(){if(Sd)return Ps;Sd=1;var e=Bh();return Ps=e.getPrototypeOf||null,Ps}var Os,_d;function E0(){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))},f=i(0,p.length-a.length),m=[],v=0;v<f;v++)m[v]="$"+v;if(o=Function("binder","return function ("+s(m,",")+"){ return binder.apply(this,arguments); }")(u),p.prototype){var h=function(){};h.prototype=p.prototype,o.prototype=new h,h.prototype=null}return o},Os}var Ns,$d;function $a(){if($d)return Ns;$d=1;var e=E0();return Ns=Function.prototype.bind||e,Ns}var js,Ed;function Pc(){return Ed||(Ed=1,js=Function.prototype.call),js}var Cs,kd;function Wh(){return kd||(kd=1,Cs=Function.prototype.apply),Cs}var Is,Rd;function k0(){return Rd||(Rd=1,Is=typeof Reflect<"u"&&Reflect&&Reflect.apply),Is}var qs,Ad;function R0(){if(Ad)return qs;Ad=1;var e=$a(),t=Wh(),i=Pc(),n=k0();return qs=n||e.call(i,t),qs}var Ls,Td;function A0(){if(Td)return Ls;Td=1;var e=$a(),t=Tc(),i=Pc(),n=R0();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,Pd;function T0(){if(Pd)return Ds;Pd=1;var e=A0(),t=Vh(),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 P0(){if(Od)return Ms;Od=1;var e=Gh(),t=Hh(),i=T0();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 Oc(){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 O0(){if(jd)return zs;jd=1;var e,t=Bh(),i=c0(),n=l0(),r=u0(),c=p0(),s=d0(),l=Tc(),d=f0(),p=m0(),a=h0(),o=v0(),u=g0(),f=y0(),m=b0(),v=w0(),h=Function,g=function(ie){try{return h('"use strict"; return ('+ie+").constructor;")()}catch{}},y=Vh(),b=_0(),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=$0()(),_=P0(),E=Hh(),T=Gh(),U=Wh(),L=Pc(),B={},G=typeof Uint8Array>"u"||!_?e:_(Uint8Array),M={__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%":h,"%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%":L,"%Function.prototype.apply%":U,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":E,"%Math.abs%":p,"%Math.floor%":a,"%Math.max%":o,"%Math.min%":u,"%Math.pow%":f,"%Math.round%":m,"%Math.sign%":v,"%Reflect.getPrototypeOf%":T};if(_)try{null.error}catch(ie){var V=_(_(ie));M["%Error.prototype%"]=V}var A=function ie(Y){var C;if(Y==="%AsyncFunction%")C=g("async function () {}");else if(Y==="%GeneratorFunction%")C=g("function* () {}");else if(Y==="%AsyncGeneratorFunction%")C=g("async function* () {}");else if(Y==="%AsyncGenerator%"){var D=ie("%AsyncGeneratorFunction%");D&&(C=D.prototype)}else if(Y==="%AsyncIteratorPrototype%"){var K=ie("%AsyncGenerator%");K&&_&&(C=_(K.prototype))}return M[Y]=C,C},N={__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"]},I=$a(),z=Oc(),P=I.call(L,Array.prototype.concat),k=I.call(U,Array.prototype.splice),j=I.call(L,String.prototype.replace),O=I.call(L,String.prototype.slice),$=I.call(L,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,W=function(Y){var C=O(Y,0,1),D=O(Y,-1);if(C==="%"&&D!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(D==="%"&&C!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var K=[];return j(Y,R,function(H,ee,ne,fe){K[K.length]=ne?j(fe,F,"$1"):ee||H}),K},X=function(Y,C){var D=Y,K;if(z(N,D)&&(K=N[D],D="%"+K[0]+"%"),z(M,D)){var H=M[D];if(H===B&&(H=A(D)),typeof H>"u"&&!C)throw new l("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:K,name:D,value:H}}throw new s("intrinsic "+Y+" does not exist!")};return zs=function(Y,C){if(typeof Y!="string"||Y.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof C!="boolean")throw new l('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,Y)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=W(Y),K=D.length>0?D[0]:"",H=X("%"+K+"%",C),ee=H.name,ne=H.value,fe=!1,ke=H.alias;ke&&(K=ke[0],k(D,P([0,1],ke)));for(var ge=1,ve=!0;ge<D.length;ge+=1){var ue=D[ge],qe=O(ue,0,1),we=O(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,ee="%"+K+"%",z(M,ee))ne=M[ee];else if(ne!=null){if(!(ue in ne)){if(!C)throw new l("base intrinsic for "+Y+" 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&&(M[ee]=ne)}}return ne},zs}var Us,Cd;function N0(){if(Cd)return Us;Cd=1;var e=Kh();return Us=function(){return e()&&!!Symbol.toStringTag},Us}var Bs,Id;function j0(){if(Id)return Bs;Id=1;var e=O0(),t=e("%Object.defineProperty%",!0),i=N0()(),n=Oc(),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 C0(){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 I0(){if(Ld)return Ks;Ld=1;var e=e0(),t=wt,i=Wm,n=dc,r=fc,c=la.parse,s=Hv,l=Te.Stream,d=Ym,p=i0(),a=o0(),o=j0(),u=Oc(),f=C0();function m(v){if(!(this instanceof m))return new m(v);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],e.call(this),v=v||{};for(var h in v)this[h]=v[h]}return t.inherits(m,e),m.LINE_BREAK=`\r
20
+ `,m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(v,h,g){g=g||{},typeof g=="string"&&(g={filename:g});var y=e.prototype.append.bind(this);if((typeof h=="number"||h==null)&&(h=String(h)),Array.isArray(h)){this._error(new Error("Arrays are not supported."));return}var b=this._multiPartHeader(v,h,g),x=this._multiPartFooter();y(b),y(h),y(x),this._trackLength(b,h,g)},m.prototype._trackLength=function(v,h,g){var y=0;g.knownLength!=null?y+=Number(g.knownLength):Buffer.isBuffer(h)?y=h.length:typeof h=="string"&&(y=Buffer.byteLength(h)),this._valueLength+=y,this._overheadLength+=Buffer.byteLength(v)+m.LINE_BREAK.length,!(!h||!h.path&&!(h.readable&&u(h,"httpVersion"))&&!(h instanceof l))&&(g.knownLength||this._valuesToMeasure.push(h))},m.prototype._lengthRetriever=function(v,h){u(v,"fd")?v.end!=null&&v.end!=1/0&&v.start!=null?h(null,v.end+1-(v.start?v.start:0)):s.stat(v.path,function(g,y){if(g){h(g);return}var b=y.size-(v.start?v.start:0);h(null,b)}):u(v,"httpVersion")?h(null,Number(v.headers["content-length"])):u(v,"httpModule")?(v.on("response",function(g){v.pause(),h(null,Number(g.headers["content-length"]))}),v.resume()):h("Unknown stream")},m.prototype._multiPartHeader=function(v,h,g){if(typeof g.header=="string")return g.header;var y=this._getContentDisposition(h,g),b=this._getContentType(h,g),x="",w={"Content-Disposition":["form-data",'name="'+v+'"'].concat(y||[]),"Content-Type":[].concat(b||[])};typeof g.header=="object"&&f(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("; ")+m.LINE_BREAK)}return"--"+this.getBoundary()+m.LINE_BREAK+x+m.LINE_BREAK},m.prototype._getContentDisposition=function(v,h){var g;if(typeof h.filepath=="string"?g=i.normalize(h.filepath).replace(/\\/g,"/"):h.filename||v&&(v.name||v.path)?g=i.basename(h.filename||v&&(v.name||v.path)):v&&v.readable&&u(v,"httpVersion")&&(g=i.basename(v.client._httpMessage.path||"")),g)return'filename="'+g+'"'},m.prototype._getContentType=function(v,h){var g=h.contentType;return!g&&v&&v.name&&(g=p.lookup(v.name)),!g&&v&&v.path&&(g=p.lookup(v.path)),!g&&v&&v.readable&&u(v,"httpVersion")&&(g=v.headers["content-type"]),!g&&(h.filepath||h.filename)&&(g=p.lookup(h.filepath||h.filename)),!g&&v&&typeof v=="object"&&(g=m.DEFAULT_CONTENT_TYPE),g},m.prototype._multiPartFooter=function(){return function(v){var h=m.LINE_BREAK,g=this._streams.length===0;g&&(h+=this._lastBoundary()),v(h)}.bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(v){var h,g={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(h in v)u(v,h)&&(g[h.toLowerCase()]=v[h]);return g},m.prototype.setBoundary=function(v){if(typeof v!="string")throw new TypeError("FormData boundary must be a string");this._boundary=v},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var v=new Buffer.alloc(0),h=this.getBoundary(),g=0,y=this._streams.length;g<y;g++)typeof this._streams[g]!="function"&&(Buffer.isBuffer(this._streams[g])?v=Buffer.concat([v,this._streams[g]]):v=Buffer.concat([v,Buffer.from(this._streams[g])]),(typeof this._streams[g]!="string"||this._streams[g].substring(2,h.length+2)!==h)&&(v=Buffer.concat([v,Buffer.from(m.LINE_BREAK)])));return Buffer.concat([v,Buffer.from(this._lastBoundary())])},m.prototype._generateBoundary=function(){this._boundary="--------------------------"+d.randomBytes(12).toString("hex")},m.prototype.getLengthSync=function(){var v=this._overheadLength+this._valueLength;return this._streams.length&&(v+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),v},m.prototype.hasKnownLength=function(){var v=!0;return this._valuesToMeasure.length&&(v=!1),v},m.prototype.getLength=function(v){var h=this._overheadLength+this._valueLength;if(this._streams.length&&(h+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(v.bind(this,null,h));return}a.parallel(this._valuesToMeasure,this._lengthRetriever,function(g,y){if(g){v(g);return}y.forEach(function(b){h+=b}),v(null,h)})},m.prototype.submit=function(v,h){var g,y,b={method:"post"};return typeof v=="string"?(v=c(v),y=f({port:v.port,path:v.pathname,host:v.hostname,protocol:v.protocol},b)):(y=f(v,b),y.port||(y.port=y.protocol==="https:"?443:80)),y.headers=this.getHeaders(v.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),h){var S,_=function(E,T){return g.removeListener("error",_),g.removeListener("response",S),h.call(this,E,T)};S=_.bind(this,null),g.on("error",_),g.on("response",S)}}.bind(this)),g},m.prototype._error=function(v){this.error||(this.error=v,this.pause(),this.emit("error",v))},m.prototype.toString=function(){return"[object FormData]"},o(m,"FormData"),Ks=m,Ks}var q0=I0();const Yh=mn(q0);function ic(e){return q.isPlainObject(e)||q.isArray(e)}function Jh(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Dd(e,t,i){return e?e.concat(t).map(function(r,c){return r=Jh(r),!i&&c?"["+r+"]":r}).join(i?".":""):t}function L0(e){return q.isArray(e)&&!e.some(ic)}const D0=q.toFlatObject(q,{},null,function(t){return/^is[A-Z]/.test(t)});function Ea(e,t,i){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new(Yh||FormData),i=q.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,h){return!q.isUndefined(h[v])});const n=i.metaTokens,r=i.visitor||a,c=i.dots,s=i.indexes,d=(i.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(r))throw new TypeError("visitor must be a function");function p(m){if(m===null)return"";if(q.isDate(m))return m.toISOString();if(q.isBoolean(m))return m.toString();if(!d&&q.isBlob(m))throw new J("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(m)||q.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function a(m,v,h){let g=m;if(m&&!h&&typeof m=="object"){if(q.endsWith(v,"{}"))v=n?v:v.slice(0,-2),m=JSON.stringify(m);else if(q.isArray(m)&&L0(m)||(q.isFileList(m)||q.endsWith(v,"[]"))&&(g=q.toArray(m)))return v=Jh(v),g.forEach(function(b,x){!(q.isUndefined(b)||b===null)&&t.append(s===!0?Dd([v],x,c):s===null?v:v+"[]",p(b))}),!1}return ic(m)?!0:(t.append(Dd(h,v,c),p(m)),!1)}const o=[],u=Object.assign(D0,{defaultVisitor:a,convertValue:p,isVisitable:ic});function f(m,v){if(!q.isUndefined(m)){if(o.indexOf(m)!==-1)throw Error("Circular reference detected in "+v.join("."));o.push(m),q.forEach(m,function(g,y){(!(q.isUndefined(g)||g===null)&&r.call(t,g,q.isString(y)?y.trim():y,v,u))===!0&&f(g,v?v.concat(y):[y])}),o.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return f(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 Xh(e,t){this._pairs=[],e&&Ea(e,this,t)}const Qh=Xh.prototype;Qh.append=function(t,i){this._pairs.push([t,i])};Qh.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 M0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Nc(e,t,i){if(!t)return e;const n=i&&i.encode||M0;q.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let c;if(r?c=r(t,i):c=q.isURLSearchParams(t)?t.toString():new Xh(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){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const jc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},F0=la.URLSearchParams,Gs="abcdefghijklmnopqrstuvwxyz",zd="0123456789",Zh={DIGIT:zd,ALPHA:Gs,ALPHA_DIGIT:Gs+Gs.toUpperCase()+zd},z0=(e=16,t=Zh.ALPHA_DIGIT)=>{let i="";const{length:n}=t,r=new Uint32Array(e);Ym.randomFillSync(r);for(let c=0;c<e;c++)i+=t[r[c]%n];return i},U0={isNode:!0,classes:{URLSearchParams:F0,FormData:Yh,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:Zh,generateString:z0,protocols:["http","https","file","data"]},Cc=typeof window<"u"&&typeof document<"u",ac=typeof navigator=="object"&&navigator||void 0,B0=Cc&&(!ac||["ReactNative","NativeScript","NS"].indexOf(ac.product)<0),V0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",K0=Cc&&window.location.href||"http://localhost",G0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cc,hasStandardBrowserEnv:B0,hasStandardBrowserWebWorkerEnv:V0,navigator:ac,origin:K0},Symbol.toStringTag,{value:"Module"})),me={...G0,...U0};function H0(e,t){return Ea(e,new me.classes.URLSearchParams,{visitor:function(i,n,r,c){return me.isNode&&q.isBuffer(i)?(this.append(n,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...t})}function W0(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Y0(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 ev(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&&q.isArray(r)?r.length:s,d?(q.hasOwnProp(r,s)?r[s]=[r[s],n]:r[s]=n,!l):((!r[s]||!q.isObject(r[s]))&&(r[s]=[]),t(i,n,r[s],c)&&q.isArray(r[s])&&(r[s]=Y0(r[s])),!l)}if(q.isFormData(e)&&q.isFunction(e.entries)){const i={};return q.forEachEntry(e,(n,r)=>{t(W0(n),r,i,0)}),i}return null}function J0(e,t,i){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(e)}const wn={transitional:jc,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,c=q.isObject(t);if(c&&q.isHTMLForm(t)&&(t=new FormData(t)),q.isFormData(t))return r?JSON.stringify(ev(t)):t;if(q.isArrayBuffer(t)||q.isBuffer(t)||q.isStream(t)||q.isFile(t)||q.isBlob(t)||q.isReadableStream(t))return t;if(q.isArrayBufferView(t))return t.buffer;if(q.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 H0(t,this.formSerializer).toString();if((l=q.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),J0(t)):t}],transformResponse:[function(t){const i=this.transitional||wn.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(q.isResponse(t)||q.isReadableStream(t))return t;if(t&&q.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}}};q.forEach(["delete","get","head","post","put","patch"],e=>{wn.headers[e]={}});const X0=q.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"]),Q0=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]&&X0[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:q.isArray(e)?e.map(Wi):String(e)}function Z0(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 eS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hs(e,t,i,n,r){if(q.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!q.isString(t)){if(q.isString(n))return t.indexOf(n)!==-1;if(q.isRegExp(n))return n.test(t)}}function tS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function nS(e,t){const i=q.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=q.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)=>q.forEach(l,(p,a)=>c(p,a,d));if(q.isPlainObject(t)||t instanceof this.constructor)s(t,i);else if(q.isString(t)&&(t=t.trim())&&!eS(t))s(Q0(t),i);else if(q.isObject(t)&&q.isIterable(t)){let l={},d,p;for(const a of t){if(!q.isArray(a))throw TypeError("Object iterator must return a key-value pair");l[p=a[0]]=(d=l[p])?q.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=q.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return Z0(r);if(q.isFunction(i))return i.call(this,r,n);if(q.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=q.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=q.findKey(n,s);l&&(!i||Hs(n,n[l],l,i))&&(delete n[l],r=!0)}}return q.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 q.forEach(this,(r,c)=>{const s=q.findKey(n,c);if(s){i[s]=Wi(r),delete i[c];return}const l=t?tS(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 q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&q.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]||(nS(r,s),n[l]=!0)}return q.isArray(t)?t.forEach(c):c(t),this}};_e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(_e.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}});q.freezeMethods(_e);function Ws(e,t){const i=this||wn,n=t||i,r=_e.from(n.headers);let c=n.data;return q.forEach(e,function(l){c=l.call(i,c,r.normalize(),t?t.status:void 0)}),r.normalize(),c}function tv(e){return!!(e&&e.__CANCEL__)}function ot(e,t,i){J.call(this,e??"canceled",J.ERR_CANCELED,t,i),this.name="CanceledError"}q.inherits(ot,J,{__CANCEL__:!0});function Mt(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 iS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function aS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ic(e,t,i){let n=!iS(t);return e&&(n||i==!1)?aS(e,t):t}var Ys={},Bd;function rS(){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 sS=rS();const oS=mn(sS);var Ai={exports:{}},Ti={exports:{}},Pi={exports:{}},Js,Vd;function cS(){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]),f=(o[2]||"ms").toLowerCase();switch(f){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,f){var m=o>=u*1.5;return Math.round(a/u)+" "+f+(m?"s":"")}return Js}var Xs,Kd;function nv(){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=cS(),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 f=0;f<o.length;f++)u=(u<<5)-u+o.charCodeAt(f),u|=0;return n.colors[Math.abs(u)%n.colors.length]}n.selectColor=i;function n(o){let u,f=null,m,v;function h(...g){if(!h.enabled)return;const y=h,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 T=n.formatters[E];if(typeof T=="function"){const U=g[w];_=T.call(y,U),g.splice(w,1),w--}return _}),n.formatArgs.call(y,g),(y.log||n.log).apply(y,g)}return h.namespace=o,h.useColors=n.useColors(),h.color=n.selectColor(o),h.extend=r,h.destroy=n.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==n.namespaces&&(m=n.namespaces,v=n.enabled(o)),v),set:g=>{f=g}}),typeof n.init=="function"&&n.init(h),h}function r(o,u){const f=n(this.namespace+(typeof u>"u"?":":u)+o);return f.log=this.log,f}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 f of u)f[0]==="-"?n.skips.push(f.slice(1)):n.names.push(f)}function s(o,u){let f=0,m=0,v=-1,h=0;for(;f<o.length;)if(m<u.length&&(u[m]===o[f]||u[m]==="*"))u[m]==="*"?(v=m,h=f,m++):(f++,m++);else if(v!==-1)m=v+1,h++,f=h;else return!1;for(;m<u.length&&u[m]==="*";)m++;return m===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 lS(){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=nv()(t);const{formatters:l}=e.exports;l.j=function(d){try{return JSON.stringify(d)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(Pi,Pi.exports)),Pi.exports}var Oi={exports:{}},Qs,Hd;function uS(){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 pS(){if(Wd)return Zs;Wd=1;const e=Jv,t=uS(),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 dS(){return Yd||(Yd=1,(function(e,t){const i=Yv,n=wt;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=pS();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,f)=>{const m=f.substring(6).toLowerCase().replace(/_([a-z])/g,(h,g)=>g.toUpperCase());let v=process.env[f];return/^(yes|on|true|enabled)$/i.test(v)?v=!0:/^(no|off|false|disabled)$/i.test(v)?v=!1:v==="null"?v=null:v=Number(v),u[m]=v,u},{});function r(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)}function c(u){const{namespace:f,useColors:m}=this;if(m){const v=this.color,h="\x1B[3"+(v<8?v:"8;5;"+v),g=` ${h};1m${f} \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]=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.
24
+ `+g),u.push(h+"m+"+e.exports.humanize(this.diff)+"\x1B[0m")}else u[0]=s()+f+" "+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 f=Object.keys(t.inspectOpts);for(let m=0;m<f.length;m++)u.inspectOpts[f[m]]=t.inspectOpts[f[m]]}e.exports=nv()(t);const{formatters:o}=e.exports;o.o=function(u){return this.inspectOpts.colors=this.useColors,n.inspect(u,this.inspectOpts).split(`
26
+ `).map(f=>f.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 fS(){return Jd||(Jd=1,typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Ti.exports=lS():Ti.exports=dS()),Ti.exports}var eo,Xd;function mS(){if(Xd)return eo;Xd=1;var e;return eo=function(){if(!e){try{e=fS()("follow-redirects")}catch{}typeof e!="function"&&(e=function(){})}e.apply(null,arguments)},eo}var Qd;function hS(){if(Qd)return Ai.exports;Qd=1;var e=la,t=e.URL,i=dc,n=fc,r=Te.Writable,c=Wv,s=mS();(function(){var N=typeof process<"u",I=typeof window<"u"&&typeof document<"u",z=G(Error.captureStackTrace);!N&&(I||!z)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var l=!1;try{c(new t(""))}catch(A){l=A.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(A){a[A]=function(N,I,z){this._redirectable.emit(A,N,I,z)}});var o=T("ERR_INVALID_URL","Invalid URL",TypeError),u=T("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),f=T("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",u),m=T("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),v=T("ERR_STREAM_WRITE_AFTER_END","write after end"),h=r.prototype.destroy||b;function g(A,N){r.call(this),this._sanitizeOptions(A),this._options=A,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],N&&this.on("response",N);var I=this;this._onNativeResponse=function(z){try{I._processResponse(z)}catch(P){I.emit("error",P instanceof u?P:new u({cause:P}))}},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(A){return U(this._currentRequest,A),h.call(this,A),this},g.prototype.write=function(A,N,I){if(this._ending)throw new v;if(!B(A)&&!M(A))throw new TypeError("data should be a string, Buffer or Uint8Array");if(G(N)&&(I=N,N=null),A.length===0){I&&I();return}this._requestBodyLength+A.length<=this._options.maxBodyLength?(this._requestBodyLength+=A.length,this._requestBodyBuffers.push({data:A,encoding:N}),this._currentRequest.write(A,N,I)):(this.emit("error",new m),this.abort())},g.prototype.end=function(A,N,I){if(G(A)?(I=A,A=N=null):G(N)&&(I=N,N=null),!A)this._ended=this._ending=!0,this._currentRequest.end(null,null,I);else{var z=this,P=this._currentRequest;this.write(A,N,function(){z._ended=!0,P.end(null,null,I)}),this._ending=!0}},g.prototype.setHeader=function(A,N){this._options.headers[A]=N,this._currentRequest.setHeader(A,N)},g.prototype.removeHeader=function(A){delete this._options.headers[A],this._currentRequest.removeHeader(A)},g.prototype.setTimeout=function(A,N){var I=this;function z(j){j.setTimeout(A),j.removeListener("timeout",j.destroy),j.addListener("timeout",j.destroy)}function P(j){I._timeout&&clearTimeout(I._timeout),I._timeout=setTimeout(function(){I.emit("timeout"),k()},A),z(j)}function k(){I._timeout&&(clearTimeout(I._timeout),I._timeout=null),I.removeListener("abort",k),I.removeListener("error",k),I.removeListener("response",k),I.removeListener("close",k),N&&I.removeListener("timeout",N),I.socket||I._currentRequest.removeListener("socket",P)}return N&&this.on("timeout",N),this.socket?P(this.socket):this._currentRequest.once("socket",P),this.on("socket",z),this.on("abort",k),this.on("error",k),this.on("response",k),this.on("close",k),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(A){g.prototype[A]=function(N,I){return this._currentRequest[A](N,I)}}),["aborted","connection","socket"].forEach(function(A){Object.defineProperty(g.prototype,A,{get:function(){return this._currentRequest[A]}})}),g.prototype._sanitizeOptions=function(A){if(A.headers||(A.headers={}),A.host&&(A.hostname||(A.hostname=A.host),delete A.host),!A.pathname&&A.path){var N=A.path.indexOf("?");N<0?A.pathname=A.path:(A.pathname=A.path.substring(0,N),A.search=A.path.substring(N))}},g.prototype._performRequest=function(){var A=this._options.protocol,N=this._options.nativeProtocols[A];if(!N)throw new TypeError("Unsupported protocol "+A);if(this._options.agents){var I=A.slice(0,-1);this._options.agent=this._options.agents[I]}var z=this._currentRequest=N.request(this._options,this._onNativeResponse);z._redirectable=this;for(var P of p)z.on(P,a[P]);if(this._currentUrl=/^\//.test(this._options.path)?e.format(this._options):this._options.path,this._isRedirect){var k=0,j=this,O=this._requestBodyBuffers;(function $(R){if(z===j._currentRequest)if(R)j.emit("error",R);else if(k<O.length){var F=O[k++];z.finished||z.write(F.data,F.encoding,$)}else j._ended&&z.end()})()}},g.prototype._processResponse=function(A){var N=A.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:A.headers,statusCode:N});var I=A.headers.location;if(!I||this._options.followRedirects===!1||N<300||N>=400){A.responseUrl=this._currentUrl,A.redirects=this._redirects,this.emit("response",A),this._requestBodyBuffers=[];return}if(U(this._currentRequest),A.destroy(),++this._redirectCount>this._options.maxRedirects)throw new f;var z,P=this._options.beforeRedirect;P&&(z=Object.assign({Host:A.req.getHeader("host")},this._options.headers));var k=this._options.method;((N===301||N===302)&&this._options.method==="POST"||N===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],E(/^content-/i,this._options.headers));var j=E(/^host$/i,this._options.headers),O=x(this._currentUrl),$=j||O.host,R=/^\w+:/.test(I)?this._currentUrl:e.format(Object.assign(O,{host:$})),F=w(I,R);if(s("redirecting to",F.href),this._isRedirect=!0,_(F,this._options),(F.protocol!==O.protocol&&F.protocol!=="https:"||F.host!==$&&!L(F.host,$))&&E(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),G(P)){var W={headers:A.headers,statusCode:N},X={url:R,method:k,headers:z};P(this._options,W,X),this._sanitizeOptions(this._options)}this._performRequest()};function y(A){var N={maxRedirects:21,maxBodyLength:10485760},I={};return Object.keys(A).forEach(function(z){var P=z+":",k=I[P]=A[z],j=N[z]=Object.create(k);function O(R,F,W){return V(R)?R=_(R):B(R)?R=_(x(R)):(W=F,F=S(R),R={protocol:P}),G(F)&&(W=F,F=null),F=Object.assign({maxRedirects:N.maxRedirects,maxBodyLength:N.maxBodyLength},R,F),F.nativeProtocols=I,!B(F.host)&&!B(F.hostname)&&(F.hostname="::1"),c.equal(F.protocol,P,"protocol mismatch"),s("options",F),new g(F,W)}function $(R,F,W){var X=j.request(R,F,W);return X.end(),X}Object.defineProperties(j,{request:{value:O,configurable:!0,enumerable:!0,writable:!0},get:{value:$,configurable:!0,enumerable:!0,writable:!0}})}),N}function b(){}function x(A){var N;if(l)N=new t(A);else if(N=S(e.parse(A)),!B(N.protocol))throw new o({input:A});return N}function w(A,N){return l?new t(A,N):x(e.resolve(N,A))}function S(A){if(/^\[/.test(A.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(A.hostname))throw new o({input:A.href||A});if(/^\[/.test(A.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(A.host))throw new o({input:A.href||A});return A}function _(A,N){var I=N||{};for(var z of d)I[z]=A[z];return I.hostname.startsWith("[")&&(I.hostname=I.hostname.slice(1,-1)),I.port!==""&&(I.port=Number(I.port)),I.path=I.search?I.pathname+I.search:I.pathname,I}function E(A,N){var I;for(var z in N)A.test(z)&&(I=N[z],delete N[z]);return I===null||typeof I>"u"?void 0:String(I).trim()}function T(A,N,I){function z(P){G(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,P||{}),this.code=A,this.message=this.cause?N+": "+this.cause.message:N}return z.prototype=new(I||Error),Object.defineProperties(z.prototype,{constructor:{value:z,enumerable:!1},name:{value:"Error ["+A+"]",enumerable:!1}}),z}function U(A,N){for(var I of p)A.removeListener(I,a[I]);A.on("error",b),A.destroy(N)}function L(A,N){c(B(A)&&B(N));var I=A.length-N.length-1;return I>0&&A[I]==="."&&A.endsWith(N)}function B(A){return typeof A=="string"||A instanceof String}function G(A){return typeof A=="function"}function M(A){return typeof A=="object"&&"length"in A}function V(A){return t&&A instanceof t}return Ai.exports=y({http:i,https:n}),Ai.exports.wrap=y,Ai.exports}var vS=hS();const gS=mn(vS),na="1.13.1";function iv(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const yS=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function bS(e,t,i){const n=i&&i.Blob||me.classes.Blob,r=iv(e);if(t===void 0&&n&&(t=!0),r==="data"){e=r.length?e.slice(r.length+1):e;const c=yS.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 Te.Transform{constructor(t){t=q.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,r)=>!q.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=(f,m)=>{const v=Buffer.byteLength(f);r.bytesSeen+=v,r.bytes+=v,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(f)?process.nextTick(m):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(m)}},u=(f,m)=>{const v=Buffer.byteLength(f);let h=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(()=>{m(null,f)},l-b);y<g&&(g=y)}g&&v>g&&v-g>a&&(h=f.subarray(g),f=f.subarray(0,g)),o(f,h?()=>{process.nextTick(m,null,h)}:m)};u(t,function f(m,v){if(m)return n(m);v?u(v,f):n(null)})}}const{asyncIterator:ef}=Symbol,av=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[ef]?yield*e[ef]():yield e},xS=me.ALPHABET.ALPHA_DIGIT+"-_",dn=typeof TextEncoder=="function"?new TextEncoder:new wt.TextEncoder,vt=`\r
27
+ `,wS=dn.encode(vt),SS=2;class _S{constructor(t,i){const{escapeName:n}=this.constructor,r=q.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+SS,this.name=t,this.value=i}async*encode(){yield this.headers;const{value:t}=this;q.isTypedArray(t)?yield t:yield*av(t),yield wS}static escapeName(t){return String(t).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}}const $S=(e,t,i)=>{const{tag:n="form-data-boundary",size:r=25,boundary:c=n+"-"+me.generateString(r,xS)}=i||{};if(!q.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 f=new _S(o,u);return d+=f.size,f});d+=s.byteLength*p.length,d=q.toFiniteNumber(d);const a={"Content-Type":`multipart/form-data; boundary=${c}`};return Number.isFinite(d)&&(a["Content-Length"]=d),t&&t(a),Te.Readable.from((async function*(){for(const o of p)yield s,yield*o.encode();yield l})())};class ES extends Te.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 kS=(e,t)=>q.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 RS(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 f=a&&p-a;return f?Math.round(u*1e3/f):void 0}}function AS(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 zt=(e,t,i=3)=>{let n=0;const r=RS(50,250);return AS(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)=>q.asap(()=>e(...t));function TS(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 f=n.charCodeAt(u+1),m=n.charCodeAt(u+2);(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102)&&(m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=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},PS={flush:st.constants.BROTLI_OPERATION_FLUSH,finishFlush:st.constants.BROTLI_OPERATION_FLUSH},{HTTP2_HEADER_SCHEME:OS,HTTP2_HEADER_METHOD:NS,HTTP2_HEADER_PATH:jS,HTTP2_HEADER_STATUS:nf}=Jm.constants,af=q.isFunction(st.createBrotliDecompress),{http:CS,https:IS}=gS,qS=/https:?/,rf=me.protocols.map(e=>e+":"),sf=(e,[t,i])=>(e.on("end",i).on("error",i),t);class LS{constructor(){this.sessions=Object.create(null)}getSession(t,i){i=Object.assign({sessionTimeout:1e3},i);let n;if(n=this.sessions[t]){let o=n.length;for(let u=0;u<o;u++){const[f,m]=n[u];if(!f.destroyed&&!f.closed&&wt.isDeepStrictEqual(m,i))return f}}const r=Jm.connect(t,i);let c;const s=()=>{if(c)return;c=!0;let o=n,u=o.length,f=u;for(;f--;)if(o[f][0]===r&&(o.splice(f,1),u===1)){delete this.sessions[t];return}},l=r.request,{sessionTimeout:d}=i;if(d!=null){let o,u=0;r.request=function(){const f=l.apply(this,arguments);return u++,o&&(clearTimeout(o),o=null),f.once("close",()=>{--u||(o=setTimeout(()=>{o=null,s()},d))}),f}}r.once("close",s);let p=this.sessions[t],a=[r,i];return p?this.sessions[t].push(a):n=this.sessions[t]=[a],r}}const DS=new LS;function MS(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function rv(e,t,i){let n=t;if(!n&&n!==!1){const r=oS.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){rv(c,t,c.href)}}const FS=typeof process<"u"&&q.kindOf(process)==="process",zS=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)}),US=({address:e,family:t})=>{if(!q.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}},of=(e,t)=>US(q.isObject(e)?e:{address:e,family:t}),BS={request(e,t){const i=e.protocol+"//"+e.hostname+":"+(e.port||80),{http2Options:n,headers:r}=e,c=DS.getSession(i,n),s={[OS]:e.protocol.replace(":",""),[NS]:e.method,[jS]:e.path};q.forEach(r,(d,p)=>{p.charAt(0)!==":"&&(s[p]=d)});const l=c.request(s);return l.once("response",d=>{const p=l;d=Object.assign({},d);const a=d[nf];delete d[nf],p.headers=d,p.statusCode=+a,t(p)}),l}},VS=FS&&function(t){return zS(async function(n,r,c){let{data:s,lookup:l,family:d,httpVersion:p=1,http2Options:a}=t;const{responseType:o,responseEncoding:u}=t,f=t.method.toUpperCase();let m,v=!1,h;if(p=+p,Number.isNaN(p))throw TypeError(`Invalid protocol version: '${t.httpVersion}' is not a number`);if(p!==1&&p!==2)throw TypeError(`Unsupported protocol version '${p}'`);const g=p===2;if(l){const P=kS(l,k=>q.isArray(k)?k:[k]);l=(k,j,O)=>{P(k,j,($,R,F)=>{if($)return O($);const W=q.isArray(R)?R.map(X=>of(X)):[of(R,F)];j.all?O($,W):O($,W[0].address,W[0].family)})}}const y=new Xv.EventEmitter;function b(P){try{y.emit("abort",!P||P.type?new ot(null,t,h):P)}catch(k){console.warn("emit error",k)}}y.once("abort",r);const x=()=>{t.cancelToken&&t.cancelToken.unsubscribe(b),t.signal&&t.signal.removeEventListener("abort",b),y.removeAllListeners()};(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(b),t.signal&&(t.signal.aborted?b():t.signal.addEventListener("abort",b))),c((P,k)=>{if(m=!0,k){v=!0,x();return}const{data:j}=P;if(j instanceof Te.Readable||j instanceof Te.Duplex){const O=Te.finished(j,()=>{O(),x()})}else x()});const w=Ic(t.baseURL,t.url,t.allowAbsoluteUrls),S=new URL(w,me.hasBrowserEnv?me.origin:void 0),_=S.protocol||rf[0];if(_==="data:"){if(t.maxContentLength>-1){const k=String(t.url||w||"");if(TS(k)>t.maxContentLength)return r(new J("maxContentLength size of "+t.maxContentLength+" exceeded",J.ERR_BAD_RESPONSE,t))}let P;if(f!=="GET")return Mt(n,r,{status:405,statusText:"method not allowed",headers:{},config:t});try{P=bS(t.url,o==="blob",{Blob:t.env&&t.env.Blob})}catch(k){throw J.from(k,J.ERR_BAD_REQUEST,t)}return o==="text"?(P=P.toString(u),(!u||u==="utf8")&&(P=q.stripBOM(P))):o==="stream"&&(P=Te.Readable.from(P)),Mt(n,r,{data:P,status:200,statusText:"OK",headers:new _e,config:t})}if(rf.indexOf(_)===-1)return r(new J("Unsupported protocol "+_,J.ERR_BAD_REQUEST,t));const E=_e.from(t.headers).normalize();E.set("User-Agent","axios/"+na,!1);const{onUploadProgress:T,onDownloadProgress:U}=t,L=t.maxRate;let B,G;if(q.isSpecCompliantForm(s)){const P=E.getContentType(/boundary=([-_\w\d]{10,70})/i);s=$S(s,k=>{E.set(k)},{tag:`axios-${na}-boundary`,boundary:P&&P[1]||void 0})}else if(q.isFormData(s)&&q.isFunction(s.getHeaders)){if(E.set(s.getHeaders()),!E.hasContentLength())try{const P=await wt.promisify(s.getLength).call(s);Number.isFinite(P)&&P>=0&&E.setContentLength(P)}catch{}}else if(q.isBlob(s)||q.isFile(s))s.size&&E.setContentType(s.type||"application/octet-stream"),E.setContentLength(s.size||0),s=Te.Readable.from(av(s));else if(s&&!q.isStream(s)){if(!Buffer.isBuffer(s))if(q.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else if(q.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(E.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=q.toFiniteNumber(E.getContentLength());q.isArray(L)?(B=L[0],G=L[1]):B=G=L,s&&(T||B)&&(q.isStream(s)||(s=Te.Readable.from(s,{objectMode:!1})),s=Te.pipeline([s,new Zd({maxRate:q.toFiniteNumber(B)})],q.noop),T&&s.on("progress",sf(s,ia(M,zt(aa(T),!1,3)))));let V;if(t.auth){const P=t.auth.username||"",k=t.auth.password||"";V=P+":"+k}if(!V&&S.username){const P=S.username,k=S.password;V=P+":"+k}V&&E.delete("authorization");let A;try{A=Nc(S.pathname+S.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(P){const k=new Error(P.message);return k.config=t,k.url=t.url,k.exists=!0,r(k)}E.set("Accept-Encoding","gzip, compress, deflate"+(af?", br":""),!1);const N={path:A,method:f,headers:E.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:V,protocol:_,family:d,beforeRedirect:MS,beforeRedirects:{},http2Options:a};!q.isUndefined(l)&&(N.lookup=l),t.socketPath?N.socketPath=t.socketPath:(N.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,N.port=S.port,rv(N,t.proxy,_+"//"+S.hostname+(S.port?":"+S.port:"")+N.path));let I;const z=qS.test(N.protocol);if(N.agent=z?t.httpsAgent:t.httpAgent,g?I=BS:t.transport?I=t.transport:t.maxRedirects===0?I=z?fc:dc:(t.maxRedirects&&(N.maxRedirects=t.maxRedirects),t.beforeRedirect&&(N.beforeRedirects.config=t.beforeRedirect),I=z?IS:CS),t.maxBodyLength>-1?N.maxBodyLength=t.maxBodyLength:N.maxBodyLength=1/0,t.insecureHTTPParser&&(N.insecureHTTPParser=t.insecureHTTPParser),h=I.request(N,function(k){if(h.destroyed)return;const j=[k],O=q.toFiniteNumber(k.headers["content-length"]);if(U||G){const W=new Zd({maxRate:q.toFiniteNumber(G)});U&&W.on("progress",sf(W,ia(O,zt(aa(U),!0,3)))),j.push(W)}let $=k;const R=k.req||h;if(t.decompress!==!1&&k.headers["content-encoding"])switch((f==="HEAD"||k.statusCode===204)&&delete k.headers["content-encoding"],(k.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":j.push(st.createUnzip(tf)),delete k.headers["content-encoding"];break;case"deflate":j.push(new ES),j.push(st.createUnzip(tf)),delete k.headers["content-encoding"];break;case"br":af&&(j.push(st.createBrotliDecompress(PS)),delete k.headers["content-encoding"])}$=j.length>1?Te.pipeline(j,q.noop):j[0];const F={status:k.statusCode,statusText:k.statusMessage,headers:new _e(k.headers),config:t,request:R};if(o==="stream")F.data=$,Mt(n,r,F);else{const W=[];let X=0;$.on("data",function(Y){W.push(Y),X+=Y.length,t.maxContentLength>-1&&X>t.maxContentLength&&(v=!0,$.destroy(),b(new J("maxContentLength size of "+t.maxContentLength+" exceeded",J.ERR_BAD_RESPONSE,t,R)))}),$.on("aborted",function(){if(v)return;const Y=new J("stream has been aborted",J.ERR_BAD_RESPONSE,t,R);$.destroy(Y),r(Y)}),$.on("error",function(Y){h.destroyed||r(J.from(Y,null,t,R))}),$.on("end",function(){try{let Y=W.length===1?W[0]:Buffer.concat(W);o!=="arraybuffer"&&(Y=Y.toString(u),(!u||u==="utf8")&&(Y=q.stripBOM(Y))),F.data=Y}catch(Y){return r(J.from(Y,null,t,F.request,F))}Mt(n,r,F)})}y.once("abort",W=>{$.destroyed||($.emit("error",W),$.destroy())})}),y.once("abort",P=>{h.close?h.close():h.destroy(P)}),h.on("error",function(k){r(J.from(k,null,t,h))}),h.on("socket",function(k){k.setKeepAlive(!0,1e3*60)}),t.timeout){const P=parseInt(t.timeout,10);if(Number.isNaN(P)){b(new J("error trying to parse `config.timeout` to int",J.ERR_BAD_OPTION_VALUE,t,h));return}h.setTimeout(P,function(){if(m)return;let j=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const O=t.transitional||jc;t.timeoutErrorMessage&&(j=t.timeoutErrorMessage),b(new J(j,O.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,h))})}if(q.isStream(s)){let P=!1,k=!1;s.on("end",()=>{P=!0}),s.once("error",j=>{k=!0,h.destroy(j)}),s.on("close",()=>{!P&&!k&&b(new ot("Request stream has been aborted",t,h))}),s.pipe(h)}else s&&h.write(s),h.end()})},KS=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,GS=me.hasStandardBrowserEnv?{write(e,t,i,n,r,c,s){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];q.isNumber(i)&&l.push(`expires=${new Date(i).toUTCString()}`),q.isString(n)&&l.push(`path=${n}`),q.isString(r)&&l.push(`domain=${r}`),c===!0&&l.push("secure"),q.isString(s)&&l.push(`SameSite=${s}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}},cf=e=>e instanceof _e?{...e}:e;function bt(e,t){t=t||{};const i={};function n(p,a,o,u){return q.isPlainObject(p)&&q.isPlainObject(a)?q.merge.call({caseless:u},p,a):q.isPlainObject(a)?q.merge({},a):q.isArray(a)?a.slice():a}function r(p,a,o,u){if(q.isUndefined(a)){if(!q.isUndefined(p))return n(void 0,p,o,u)}else return n(p,a,o,u)}function c(p,a){if(!q.isUndefined(a))return n(void 0,a)}function s(p,a){if(q.isUndefined(a)){if(!q.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(cf(p),cf(a),o,!0)};return q.forEach(Object.keys({...e,...t}),function(a){const o=d[a]||r,u=o(e[a],t[a],a);q.isUndefined(u)&&o!==l||(i[a]=u)}),i}const sv=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=Nc(Ic(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),q.isFormData(i)){if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(q.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&&q.isFunction(n)&&(n=n(t)),n||n!==!1&&KS(t.url))){const d=r&&c&&GS.read(c);d&&s.set(r,d)}return t},HS=typeof XMLHttpRequest<"u",WS=HS&&function(e){return new Promise(function(i,n){const r=sv(e);let c=r.data;const s=_e.from(r.headers).normalize();let{responseType:l,onUploadProgress:d,onDownloadProgress:p}=r,a,o,u,f,m;function v(){f&&f(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;const b=_e.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:b,config:e,request:h};Mt(function(_){i(_),v()},function(_){n(_),v()},w),h=null}"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(g)},h.onabort=function(){h&&(n(new J("Request aborted",J.ECONNABORTED,e,h)),h=null)},h.onerror=function(x){const w=x&&x.message?x.message:"Network Error",S=new J(w,J.ERR_NETWORK,e,h);S.event=x||null,n(S),h=null},h.ontimeout=function(){let x=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||jc;r.timeoutErrorMessage&&(x=r.timeoutErrorMessage),n(new J(x,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,h)),h=null},c===void 0&&s.setContentType(null),"setRequestHeader"in h&&q.forEach(s.toJSON(),function(x,w){h.setRequestHeader(w,x)}),q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),l&&l!=="json"&&(h.responseType=r.responseType),p&&([u,m]=zt(p,!0),h.addEventListener("progress",u)),d&&h.upload&&([o,f]=zt(d),h.upload.addEventListener("progress",o),h.upload.addEventListener("loadend",f)),(r.cancelToken||r.signal)&&(a=b=>{h&&(n(!b||b.type?new ot(null,e,h):b),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=iv(r.url);if(y&&me.protocols.indexOf(y)===-1){n(new J("Unsupported protocol "+y+":",J.ERR_BAD_REQUEST,e));return}h.send(c||null)})},YS=(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=()=>q.asap(l),d}},JS=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},XS=async function*(e,t){for await(const i of QS(e))yield*JS(i,t)},QS=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()}},lf=(e,t,i,n)=>{const r=XS(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})},uf=64*1024,{isFunction:Ni}=q,ZS=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:pf,TextEncoder:df}=q.global,ff=(e,...t)=>{try{return!!e(...t)}catch{return!1}},e_=e=>{e=q.merge.call({skipUndefined:!0},ZS,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(pf),d=r&&(typeof df=="function"?(m=>v=>m.encode(v))(new df):async m=>new Uint8Array(await new i(m).arrayBuffer())),p=c&&l&&ff(()=>{let m=!1;const v=new i(me.origin,{body:new pf,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!v}),a=s&&l&&ff(()=>q.isReadableStream(new n("").body)),o={stream:a&&(m=>m.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!o[m]&&(o[m]=(v,h)=>{let g=v&&v[m];if(g)return g.call(v);throw new J(`Response type '${m}' is not supported`,J.ERR_NOT_SUPPORT,h)})});const u=async m=>{if(m==null)return 0;if(q.isBlob(m))return m.size;if(q.isSpecCompliantForm(m))return(await new i(me.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(q.isArrayBufferView(m)||q.isArrayBuffer(m))return m.byteLength;if(q.isURLSearchParams(m)&&(m=m+""),q.isString(m))return(await d(m)).byteLength},f=async(m,v)=>{const h=q.toFiniteNumber(m.getContentLength());return h??u(v)};return async m=>{let{url:v,method:h,data:g,signal:y,cancelToken:b,timeout:x,onDownloadProgress:w,onUploadProgress:S,responseType:_,headers:E,withCredentials:T="same-origin",fetchOptions:U}=sv(m),L=t||fetch;_=_?(_+"").toLowerCase():"text";let B=YS([y,b&&b.toAbortSignal()],x),G=null;const M=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let V;try{if(S&&p&&h!=="get"&&h!=="head"&&(V=await f(E,g))!==0){let k=new i(v,{method:"POST",body:g,duplex:"half"}),j;if(q.isFormData(g)&&(j=k.headers.get("content-type"))&&E.setContentType(j),k.body){const[O,$]=ia(V,zt(aa(S)));g=lf(k.body,uf,O,$)}}q.isString(T)||(T=T?"include":"omit");const A=c&&"credentials"in i.prototype,N={...U,signal:B,method:h.toUpperCase(),headers:E.normalize().toJSON(),body:g,duplex:"half",credentials:A?T:void 0};G=c&&new i(v,N);let I=await(c?L(G,U):L(v,N));const z=a&&(_==="stream"||_==="response");if(a&&(w||z&&M)){const k={};["status","statusText","headers"].forEach(R=>{k[R]=I[R]});const j=q.toFiniteNumber(I.headers.get("content-length")),[O,$]=w&&ia(j,zt(aa(w),!0))||[];I=new n(lf(I.body,uf,O,()=>{$&&$(),M&&M()}),k)}_=_||"text";let P=await o[q.findKey(o,_)||"text"](I,m);return!z&&M&&M(),await new Promise((k,j)=>{Mt(k,j,{data:P,headers:_e.from(I.headers),status:I.status,statusText:I.statusText,config:m,request:G})})}catch(A){throw M&&M(),A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,m,G),{cause:A.cause||A}):J.from(A,A&&A.code,m,G)}}},t_=new Map,ov=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=t_;for(;l--;)d=c[l],p=a.get(d),p===void 0&&a.set(d,p=l?new Map:e_(t)),a=p;return p};ov();const qc={http:VS,xhr:WS,fetch:{get:ov}};q.forEach(qc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const mf=e=>`- ${e}`,n_=e=>q.isFunction(e)||e===null||e===!1;function i_(e,t){e=q.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,!n_(n)&&(r=qc[(l=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${l}'`);if(r&&(q.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(mf).join(`
29
+ `):" "+mf(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r}const cv={getAdapter:i_,adapters:qc};function no(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ot(null,e)}function hf(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),cv.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 tv(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 vf={};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&&!vf[s]&&(vf[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 a_(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:a_,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&&(q.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&&q.merge(c.common,c[i.method]);c&&q.forEach(["delete","get","head","post","put","patch","common"],m=>{delete c[m]}),i.headers=_e.concat(s,c);const l=[];let d=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(i)===!1||(d=d&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const p=[];this.interceptors.response.forEach(function(v){p.push(v.fulfilled,v.rejected)});let a,o=0,u;if(!d){const m=[hf.bind(this),void 0];for(m.unshift(...l),m.push(...p),u=m.length,a=Promise.resolve(i);o<u;)a=a.then(m[o++],m[o++]);return a}u=l.length;let f=i;for(;o<u;){const m=l[o++],v=l[o++];try{f=m(f)}catch(h){v.call(this,h);break}}try{a=hf.call(this,f)}catch(m){return Promise.reject(m)}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=Ic(t.baseURL,t.url,t.allowAbsoluteUrls);return Nc(i,t.params,t.paramsSerializer)}};q.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}))}});q.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 r_=class lv{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 lv(function(r){t=r}),cancel:t}}};function s_(e){return function(i){return e.apply(null,i)}}function o_(e){return q.isObject(e)&&e.isAxiosError===!0}const rc={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(rc).forEach(([e,t])=>{rc[t]=e});function uv(e){const t=new gt(e),i=Rh(gt.prototype.request,t);return q.extend(i,gt.prototype,t,{allOwnKeys:!0}),q.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return uv(bt(e,r))},i}const pe=uv(wn);pe.Axios=gt;pe.CanceledError=ot;pe.CancelToken=r_;pe.isCancel=tv;pe.VERSION=na;pe.toFormData=Ea;pe.AxiosError=J;pe.Cancel=pe.CanceledError;pe.all=function(t){return Promise.all(t)};pe.spread=s_;pe.isAxiosError=o_;pe.mergeConfig=bt;pe.AxiosHeaders=_e;pe.formToJSON=e=>ev(q.isHTMLForm(e)?new FormData(e):e);pe.getAdapter=cv.getAdapter;pe.HttpStatusCode=rc;pe.default=pe;const{Axios:z$,AxiosError:U$,CanceledError:B$,isCancel:V$,CancelToken:K$,VERSION:G$,all:H$,Cancel:W$,isAxiosError:Y$,spread:J$,toFormData:X$,AxiosHeaders:Q$,HttpStatusCode:Z$,formToJSON:eE,getAdapter:tE,mergeConfig:nE}=pe;function c_(){return`${ec()} ${tc()}`}function l_(e,t){Q.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):(pw(u.access_token),uw(u.token_type),clearInterval(a),t(e)),p-=d},d)}),Q.ipcMain.handle("authentication:github:isLoggedIn",()=>{const i=ec(),n=tc();return i&&n}),Q.ipcMain.handle("authentication:github:userDetails",async()=>{const i="https://api.github.com/user",n={headers:{Authorization:c_()}},{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}}),Q.ipcMain.handle("authentication:github:authorizationValue",()=>({tokenType:ec(),accessToken:tc()})),Q.ipcMain.handle("authentication:github:logout",()=>{fw(),dw()})}const Lc="tokenType",Dc="accessToken",Mc="refreshToken",Fc="expiryDate",zc="userId",u_={tokenType:{type:"string"},accessToken:{type:"string"},refreshToken:{type:"string"},expiryDate:{type:"number"},userId:{type:"string"}},Oe=new xa({name:"authentication-nextcloud-main",schema:u_});function sc(e,t){Oe.set(`${Lc}-${t}`,e)}function Ji(e,t){Oe.set(`${Dc}-${t}`,e)}function pv(e,t){Oe.set(`${Mc}-${t}`,e)}function dv(e,t){Oe.set(`${Fc}-${t}`,e)}function oc(e,t){Oe.set(`${zc}-${t}`,e)}function gf(e){return Oe.get(`${Lc}-${e}`)}function yf(e){return Oe.get(`${Dc}-${e}`)}function p_(e){return Oe.get(`${Mc}-${e}`)}function d_(e){return Oe.get(`${Fc}-${e}`)}function f_(e){return Oe.get(`${zc}-${e}`)}function m_(e){Oe.delete(`${Lc}-${e}`)}function h_(e){Oe.delete(`${Dc}-${e}`)}function v_(e){Oe.delete(`${Mc}-${e}`)}function g_(e){Oe.delete(`${Fc}-${e}`)}function y_(e){Oe.delete(`${zc}-${e}`)}const Uc="http://callback/";async function b_(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());sc(r.data.token_type,"oauth2"),Ji(r.data.access_token,"oauth2"),pv(r.data.refresh_token,"oauth2"),dv(Date.now()+(r.data.expires_in-10)*1e3,"oauth2"),oc(r.data.user_id,"oauth2")}function x_(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 b_(s.searchParams.get("code"),i,n),ra.show(),t(ra),e?.close()}})}async function w_(e){const t=new Q.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let bf,ra;function S_(e,t){Q.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,bf=await w_(c.toString()),x_(bf,t,n,r),ra.hide()}),Q.ipcMain.handle("authentication:nextcloud:loginBasic",async(i,{username:n,password:r})=>{Ji(btoa(`${n}:${r}`),"basic"),sc("Basic","basic"),oc(n,"basic"),t(e)}),Q.ipcMain.handle("authentication:nextcloud:loginFlow",async(i,{baseUrl:n})=>{const r=`${n}/index.php/login/v2`,s=await(await fetch(r,{method:"POST"})).json();Q.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"),sc("Basic","login-flow"),oc(p.loginName,"login-flow"),clearInterval(l),t(e)}},3e3)}),Q.ipcMain.handle("authentication:nextcloud:isLoggedIn",async(i,{mode:n})=>{const r=gf(n),c=yf(n);return r&&c}),Q.ipcMain.handle("authentication:nextcloud:userDetails",async(i,{baseUrl:n,mode:r})=>{const c=f_(r);return{profile:`${n}/u/${c}`,username:c,name:c,avatar:`${n}/avatar/${c}/64`}}),Q.ipcMain.handle("authentication:nextcloud:authorizationValue",async(i,{mode:n})=>({tokenType:gf(n),accessToken:yf(n)})),Q.ipcMain.handle("authentication:nextcloud:logout",async(i,{mode:n})=>{h_(n),m_(n),v_(n),g_(n),y_(n)}),Q.ipcMain.handle("authentication:nextcloud:refreshToken",async(i,{baseUrl:n,authenticationBaseUrl:r})=>{if(Date.now()>d_("oauth2")){const c=new URL(`${r}/refresh`);c.searchParams.set("base_url",n),c.searchParams.set("refresh_token",p_("oauth2"));const{data:{access_token:s,refresh_token:l,expires_in:d}}=await pe.get(c.toString());Ji(s,"oauth2"),pv(l,"oauth2"),dv(Date.now()+(d-10)*1e3,"oauth2")}})}const Bc="tokenType",Vc="accessToken",__={tokenType:{type:"string"},accessToken:{type:"string"}},Kt=new xa({name:"authentication-xwiki-main",schema:__});function $_(e){Kt.set(Bc,e)}function E_(e){Kt.set(Vc,e)}function cc(){return Kt.get(Bc)}function lc(){return Kt.get(Vc)}function k_(){Kt.delete(Bc)}function R_(){Kt.delete(Vc)}const Kc="http://callback/",fv="abcd";async function A_(e,t){const i=`${t}/oidc/token`,n={grant_type:"authorization_code",code:e,redirect_uri:Kc,client_id:fv};return pe.post(i,n,{url:i,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function T_(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 A_(c.searchParams.get("code"),i);$_(s.data.token_type),E_(s.data.access_token),sa.show(),t(sa),e?.close()}})}async function P_(e){const t=new Q.BrowserWindow({width:800,height:600,webPreferences:{nodeIntegration:!1}});return t.setMenu(null),await t.loadURL(e),t}let xf,sa;function O_(){return`${cc()} ${lc()}`}function N_(e,t){Q.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",fv),r.searchParams.set("redirect_uri",Kc),sa=e,xf=await P_(r.toString()),T_(xf,t,n),sa.hide()}),Q.ipcMain.handle("authentication:xwiki:isLoggedIn",()=>{const i=cc(),n=lc();return i&&n}),Q.ipcMain.handle("authentication:xwiki:userDetails",async(i,{baseURL:n})=>{const r=`${n}/oidc/userinfo`,c={headers:{Authorization:O_()}},{data:{profile:s,name:l,picture:d,preferred_username:p}}=await pe.get(r,c);return{profile:s,username:p,name:l,avatar:d}}),Q.ipcMain.handle("authentication:xwiki:authorizationValue",()=>({tokenType:cc(),accessToken:lc()})),Q.ipcMain.handle("authentication:xwiki:logout",()=>{R_(),k_()})}function Gc(e,t,i){return Reflect.getOwnMetadata(t,e,i)}function j_(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 wf;(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(wf||(wf={}));const Xi="@inversifyjs/core/classMetadataReflectKey";function Qi(){return{constructorArguments:[],lifecycle:{postConstructMethodNames:new Set,preDestroyMethodNames:new Set},properties:new Map,scope:void 0}}const C_="@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,Sf,_f,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"})(Sf||(Sf={}));(function(e){e.moduleId="moduleId",e.serviceId="serviceId"})(_f||(_f={}));function I_(){return 0}function q_(e){return t=>{t!==void 0&&t.kind===oa.unknown&&pn(e,C_,I_,i=>i-1)}}function L_(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 D_(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 M_=L_(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 D_(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 F_(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,152 +35,152 @@ ${n.message}
35
35
 
36
36
  Details
37
37
 
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(`
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 z_(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 f=>{const m=f.constructorArguments[u];return f.constructorArguments[u]=o(m),f}})(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){F_(i,n,r,c)}}}function ao(e,t){return i=>{const n=t(i);return r=>(n(r),e(r))}}function U_(e){return z_(M_(xt.singleInjection,e),q_)}(function(e){e[e.method=0]="method",e[e.parameter=1]="parameter",e[e.property=2]="property"})(at||(at={}));const Ef="@inversifyjs/core/classIsInjectableFlagReflectKey",B_=[Array,BigInt,Boolean,Function,Number,Object,String];function V_(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,B_.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 K_(e){return t=>{(function(i){if(Gc(i,Ef)!==void 0)throw new Ke(Ge.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${i.name}"`);j_(i,Ef,!0)})(t),V_(t)}}var kf;(function(e){e[e.multipleInjection=0]="multipleInjection",e[e.singleInjection=1]="singleInjection"})(kf||(kf={}));var Rf;(function(e){e.bindingAdded="bindingAdded",e.bindingRemoved="bindingRemoved"})(Rf||(Rf={}));var G_=Object.getOwnPropertyDescriptor,H_=(e,t,i,n)=>{for(var r=n>1?void 0:n?G_(t,i):t,c=e.length-1,s;c>=0;c--)(s=e[c])&&(r=s(r)||r);return r},W_=(e,t)=>(i,n)=>t(i,n,e);let Af=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}}};Af=H_([K_(),W_(0,U_("CristalApp"))],Af);var uc=(e=>(e[e.PAGE=0]="PAGE",e[e.ATTACHMENT=1]="ATTACHMENT",e))(uc||{}),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 pc="cristalfs";var ce={},ro={},so={},be={},Tf;function oe(){if(Tf)return be;Tf=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=h=>!!h&&typeof h=="object"&&h[s]===e,d=h=>!!h&&typeof h=="object"&&h[s]===t,p=h=>!!h&&typeof h=="object"&&h[s]===i,a=h=>!!h&&typeof h=="object"&&h[s]===n,o=h=>!!h&&typeof h=="object"&&h[s]===r,u=h=>!!h&&typeof h=="object"&&h[s]===c;function f(h){if(h&&typeof h=="object")switch(h[s]){case i:case c:return!0}return!1}function m(h){if(h&&typeof h=="object")switch(h[s]){case e:case i:case r:case c:return!0}return!1}const v=h=>(o(h)||f(h))&&!!h.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=v,be.isAlias=l,be.isCollection=f,be.isDocument=d,be.isMap=p,be.isNode=m,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 f=d(u);e.isDocument(o)?c(null,o.contents,f,Object.freeze([o]))===n&&(o.contents=null):c(null,o,f,Object.freeze([]))}r.BREAK=t,r.SKIP=i,r.REMOVE=n;function c(o,u,f,m){const v=p(o,u,f,m);if(e.isNode(v)||e.isPair(v))return a(o,m,v),c(o,v,f,m);if(typeof v!="symbol"){if(e.isCollection(u)){m=Object.freeze(m.concat(u));for(let h=0;h<u.items.length;++h){const g=c(h,u.items[h],f,m);if(typeof g=="number")h=g-1;else{if(g===t)return t;g===n&&(u.items.splice(h,1),h-=1)}}}else if(e.isPair(u)){m=Object.freeze(m.concat(u));const h=c("key",u.key,f,m);if(h===t)return t;h===n&&(u.key=null);const g=c("value",u.value,f,m);if(g===t)return t;g===n&&(u.value=null)}}return v}async function s(o,u){const f=d(u);e.isDocument(o)?await l(null,o.contents,f,Object.freeze([o]))===n&&(o.contents=null):await l(null,o,f,Object.freeze([]))}s.BREAK=t,s.SKIP=i,s.REMOVE=n;async function l(o,u,f,m){const v=await p(o,u,f,m);if(e.isNode(v)||e.isPair(v))return a(o,m,v),l(o,v,f,m);if(typeof v!="symbol"){if(e.isCollection(u)){m=Object.freeze(m.concat(u));for(let h=0;h<u.items.length;++h){const g=await l(h,u.items[h],f,m);if(typeof g=="number")h=g-1;else{if(g===t)return t;g===n&&(u.items.splice(h,1),h-=1)}}}else if(e.isPair(u)){m=Object.freeze(m.concat(u));const h=await l("key",u.key,f,m);if(h===t)return t;h===n&&(u.key=null);const g=await l("value",u.value,f,m);if(g===t)return t;g===n&&(u.value=null)}}return v}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,f,m){if(typeof f=="function")return f(o,u,m);if(e.isMap(u))return f.Map?.(o,u,m);if(e.isSeq(u))return f.Seq?.(o,u,m);if(e.isPair(u))return f.Pair?.(o,u,m);if(e.isScalar(u))return f.Scalar?.(o,u,m);if(e.isAlias(u))return f.Alias?.(o,u,m)}function a(o,u,f){const m=u[u.length-1];if(e.isCollection(m))m.items[o]=f;else if(e.isPair(m))o==="key"?m.key=f:m.value=f;else if(e.isDocument(m))m.contents=f;else{const v=e.isAlias(m)?"alias":"scalar";throw new Error(`Cannot replace node with ${v} parent`)}}return ji.visit=r,ji.visitAsync=s,ji}var Of;function mv(){if(Of)return so;Of=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={},Nt={},Nf;function Wc(){if(Nf)return Nt;Nf=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 f=new Error("Failed to resolve repeated object (this should not happen)");throw f.source=o,f}}},sourceObjects:p}}return Nt.anchorIsValid=i,Nt.anchorNames=n,Nt.createNodeAnchors=c,Nt.findNewAnchor=r,Nt}var lo={},uo={},jf;function hv(){if(jf)return uo;jf=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={},Cf;function St(){if(Cf)return po;Cf=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 If;function Yc(){if(If)return lo;If=1;var e=hv(),t=oe(),i=St();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:f}of a.anchors.values())d(f,u);return typeof p=="function"?e.applyReviver(p,{"":o},"",o):o}}return lo.NodeBase=n,lo}var qf;function Aa(){if(qf)return co;qf=1;var e=Wc(),t=Ra(),i=oe(),n=Yc(),r=St();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,f)=>{(i.isAlias(f)||i.hasAnchor(f))&&a.push(f)}}),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,f=this.resolve(o,p);if(!f){const v=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(v)}let m=a.get(f);if(m||(r.toJS(f,null,p),m=a.get(f)),!m||m.res===void 0){const v="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(v)}if(u>=0&&(m.count+=1,m.aliasCount===0&&(m.aliasCount=s(o,f,a)),m.count*m.aliasCount>u)){const v="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(v)}return m.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={},Lf;function ye(){if(Lf)return Ci;Lf=1;var e=oe(),t=Yc(),i=St();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 Df;function Ta(){if(Df)return fo;Df=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:f}=d;let m;if(p&&s&&typeof s=="object"){if(m=f.get(s),m)return m.anchor??(m.anchor=a(s)),new e.Alias(m.anchor);m={anchor:null,node:null},f.set(s,m)}l?.startsWith("!!")&&(l=n+l.slice(2));let v=r(s,l,u.tags);if(!v){if(s&&typeof s.toJSON=="function"&&(s=s.toJSON()),!s||typeof s!="object"){const g=new i.Scalar(s);return m&&(m.node=g),g}v=s instanceof Map?u[t.MAP]:Symbol.iterator in Object(s)?u[t.SEQ]:u[t.MAP]}o&&(o(v),delete d.onTagObj);const h=v?.createNode?v.createNode(d.schema,s,d):typeof v?.nodeClass?.from=="function"?v.nodeClass.from(d.schema,s,d):new i.Scalar(s);return l?h.tag=l:v.default||(h.tag=v.tag),m&&(m.node=h),h}return fo.createNode=c,fo}var Mf;function Jc(){if(Mf)return en;Mf=1;var e=Ta(),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={},Ff;function Pa(){if(Ff)return tn;Ff=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 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
- `){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)+`
44
+ `+t(c,r):(n.endsWith(" ")?"":" ")+c;return tn.indentComment=t,tn.lineComment=i,tn.stringifyComment=e,tn}var ho={},jt={},zf;function Y_(){if(zf)return jt;zf=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 f=Math.max(1+a,1+p-s.length);if(c.length<=f)return c;const m=[],v={};let h=p-s.length;typeof d=="number"&&(d>p-Math.max(2,a)?m.push(0):h=p-d);let g,y,b=!1,x=-1,w=-1,S=-1;l===t&&(x=r(c,x,s.length),x!==-1&&(h=x+f));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)),h=x+s.length+f,g=void 0;else{if(E===" "&&y&&y!==" "&&y!==`
46
+ `&&y!==" "){const T=c[x+1];T&&T!==" "&&T!==`
47
+ `&&T!==" "&&(g=x)}if(x>=h)if(g)m.push(g),h=g+f,g=void 0;else if(l===i){for(;y===" "||y===" ";)y=E,E=c[x+=1],b=!0;const T=x>S+1?x-2:w-1;if(v[T])return c;m.push(T),v[T]=!0,h=T+f,g=void 0}else b=!0}y=E}if(b&&u&&u(),m.length===0)return c;o&&o();let _=c.slice(0,m[0]);for(let E=0;E<m.length;++E){const T=m[E],U=m[E+1]||c.length;T===0?_=`
48
+ ${s}${c.slice(0,U)}`:(l===i&&v[T]&&(_+=`${c[T]}\\`),_+=`
49
+ ${s}${c.slice(T+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 jt.FOLD_BLOCK=t,jt.FOLD_FLOW=e,jt.FOLD_QUOTED=i,jt.foldFlowLines=n,jt}var Uf;function Oa(){if(Uf)return ho;Uf=1;var e=ye(),t=Y_();const i=(u,f)=>({indentAtStart:f?u.indent.length:u.indentAtStart,lineWidth:u.options.lineWidth,minContentWidth:u.options.minContentWidth}),n=u=>/^(%|---|\.\.\.)/m.test(u);function r(u,f,m){if(!f||f<0)return!1;const v=f-m,h=u.length;if(h<=v)return!1;for(let g=0,y=0;g<h;++g)if(u[g]===`
51
+ `){if(g-y>v)return!0;if(y=g+1,h-y<=v)return!1}return!0}function c(u,f){const m=JSON.stringify(u);if(f.options.doubleQuotedAsJSON)return m;const{implicitKey:v}=f,h=f.options.doubleQuotedMinMultiLineLength,g=f.indent||(n(u)?" ":"");let y="",b=0;for(let x=0,w=m[x];w;w=m[++x])if(w===" "&&m[x+1]==="\\"&&m[x+2]==="n"&&(y+=m.slice(b,x)+"\\ ",x+=1,b=x,w="\\"),w==="\\")switch(m[x+1]){case"u":{y+=m.slice(b,x);const S=m.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+=m.substr(x,6)}x+=5,b=x+1}break;case"n":if(v||m[x+2]==='"'||m.length<h)x+=1;else{for(y+=m.slice(b,x)+`
52
52
 
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 s(u,m){if(m.options.singleQuote===!1||m.implicitKey&&u.includes(`
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=s:g&&!v?h=c:h=f?s:c}return h(u,m)}let d;try{d=new RegExp(`(^|(?<!
53
+ `;m[x+2]==="\\"&&m[x+3]==="n"&&m[x+4]!=='"';)y+=`
54
+ `,x+=2;y+=g,m[x+2]===" "&&(y+="\\"),x+=1,b=x+1}break;default:x+=1}return y=b?y+m.slice(b):m,v?y:t.foldFlowLines(y,g,t.FOLD_QUOTED,i(f,!1))}function s(u,f){if(f.options.singleQuote===!1||f.implicitKey&&u.includes(`
55
+ `)||/[ \t]\n|\n[ \t]/.test(u))return c(u,f);const m=f.indent||(n(u)?" ":""),v="'"+u.replace(/'/g,"''").replace(/\n+/g,`$&
56
+ ${m}`)+"'";return f.implicitKey?v:t.foldFlowLines(v,m,t.FOLD_FLOW,i(f,!1))}function l(u,f){const{singleQuote:m}=f.options;let v;if(m===!1)v=c;else{const h=u.includes('"'),g=u.includes("'");h&&!g?v=s:g&&!h?v=c:v=m?s:c}return v(u,f)}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))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:f,value:m},v,h,g){const{blockQuote:y,commentString:b,lineWidth:x}=v.options;if(!y||/\n[\t ]+$/.test(m))return l(m,v);const w=v.indent||(v.forceBlockIndent||n(m)?" ":""),S=y==="literal"?!0:y==="folded"||f===e.Scalar.BLOCK_FOLDED?!1:f===e.Scalar.BLOCK_LITERAL?!0:!r(m,x,w.length);if(!m)return S?`|
60
60
  `:`>
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
- `)||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
- `)?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=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=`
61
+ `;let _,E;for(E=m.length;E>0;--E){const N=m[E-1];if(N!==`
62
+ `&&N!==" "&&N!==" ")break}let T=m.substring(E);const U=T.indexOf(`
63
+ `);U===-1?_="-":m===T||U!==T.length-1?(_="+",g&&g()):_="",T&&(m=m.slice(0,-T.length),T[T.length-1]===`
64
+ `&&(T=T.slice(0,-1)),T=T.replace(d,`$&${w}`));let L=!1,B,G=-1;for(B=0;B<m.length;++B){const N=m[B];if(N===" ")L=!0;else if(N===`
65
+ `)G=B;else break}let M=m.substring(0,G<B?G+1:B);M&&(m=m.substring(M.length),M=M.replace(/\n+/g,`$&${w}`));let A=(L?w?"2":"1":"")+_;if(u&&(A+=" "+b(u.replace(/ ?[\r\n]+/g," ")),h&&h()),!S){const N=m.replace(/\n+/g,`
66
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${w}`);let I=!1;const z=i(v,!0);y!=="folded"&&f!==e.Scalar.BLOCK_FOLDED&&(z.onOverflow=()=>{I=!0});const P=t.foldFlowLines(`${M}${N}${T}`,w,t.FOLD_BLOCK,z);if(!I)return`>${A}
67
+ ${w}${P}`}return m=m.replace(/\n+/g,`$&${w}`),`|${A}
68
+ ${w}${M}${m}${T}`}function a(u,f,m,v){const{type:h,value:g}=u,{actualString:y,implicitKey:b,indent:x,indentStep:w,inFlow:S}=f;if(b&&g.includes(`
69
+ `)||S&&/[[\]{},]/.test(g))return l(g,f);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(g))return b||S||!g.includes(`
70
+ `)?l(g,f):p(u,f,m,v);if(!b&&!S&&h!==e.Scalar.PLAIN&&g.includes(`
71
+ `))return p(u,f,m,v);if(n(g)){if(x==="")return f.forceBlockIndent=!0,p(u,f,m,v);if(b&&x===w)return l(g,f)}const _=g.replace(/\n+/g,`$&
72
+ ${x}`);if(y){const E=L=>L.default&&L.tag!=="tag:yaml.org,2002:str"&&L.test?.test(_),{compat:T,tags:U}=f.doc.schema;if(U.some(E)||T?.some(E))return l(g,f)}return b?_:t.foldFlowLines(_,x,t.FOLD_FLOW,i(f,!1))}function o(u,f,m,v){const{implicitKey:h,inFlow:g}=f,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 h||g?l(y.value,f):p(y,f,m,v);case e.Scalar.QUOTE_DOUBLE:return c(y.value,f);case e.Scalar.QUOTE_SINGLE:return s(y.value,f);case e.Scalar.PLAIN:return a(y,f,m,v);default:return null}};let w=x(b);if(w===null){const{defaultKeyType:S,defaultStringType:_}=f.options,E=h&&S||_;if(w=x(E),w===null)throw new Error(`Unsupported default string type ${E}`)}return w}return ho.stringifyString=o,ho}var Bf;function Na(){if(Bf)return qi;Bf=1;var e=Wc(),t=oe(),i=Pa(),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(f=>f.tag===p.tag);if(u.length>0)return u.find(f=>f.format===p.format)??u[0]}let a,o;if(t.isScalar(p)){o=p.value;let u=d.filter(f=>f.identify?.(o));if(u.length>1){const f=u.filter(m=>m.test);f.length>0&&(u=f)}a=u.find(f=>f.format===p.format)??u.find(f=>!f.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=[],f=(t.isScalar(d)||t.isCollection(d))&&d.anchor;f&&e.anchorIsValid(f)&&(a.add(f),u.push(`&${f}`));const m=d.tag??(p.default?null:p.tag);return m&&u.push(o.directives.tagString(m)),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 f=t.isNode(d)?d:p.doc.createNode(d,{onTagObj:h=>u=h});u??(u=c(p.doc.schema.tags,f));const m=s(f,u,p);m.length>0&&(p.indentAtStart=(p.indentAtStart??0)+m.length+1);const v=typeof u.stringify=="function"?u.stringify(f,p,a,o):t.isScalar(f)?n.stringifyString(f,p,a,o):f.toString(p,a,o);return m?t.isScalar(f)||v[0]==="{"||v[0]==="["?`${m} ${v}`:`${m}
73
+ ${p.indent}${v}`:v}return qi.createStringifyContext=r,qi.stringify=l,qi}var Vf;function J_(){if(Vf)return mo;Vf=1;var e=oe(),t=ye(),i=Na(),n=Pa();function r({key:c,value:s},l,d,p){const{allNullValues:a,doc:o,indent:u,indentStep:f,options:{commentString:m,indentSeq:v,simpleKeys:h}}=l;let g=e.isNode(c)&&c.comment||null;if(h){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=!h&&(!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&&(h||!a),indent:u+f});let b=!1,x=!1,w=i.stringify(c,l,()=>b=!0,()=>x=!0);if(!y&&!l.inFlow&&w.length>1024){if(h)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&&!h||s==null&&y)return w=`? ${w}`,g&&!b?w+=n.lineComment(w,l.indent,m(g)):x&&p&&p(),w;b&&(g=null),y?(g&&(w+=n.lineComment(w,l.indent,m(g))),w=`? ${w}
74
+ ${u}:`):(w=`${w}:`,g&&(w+=n.lineComment(w,l.indent,m(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,!v&&f.length>=2&&!l.inFlow&&!y&&e.isSeq(s)&&!s.flow&&!s.tag&&!s.anchor&&(l.indent=l.indent.substring(2));let T=!1;const U=i.stringify(s,l,()=>T=!0,()=>x=!0);let L=" ";if(g||S||_){if(L=S?`
75
+ `:"",_){const B=m(_);L+=`
76
+ ${n.indentComment(B,l.indent)}`}U===""&&!l.inFlow?L===`
77
+ `&&(L=`
78
78
 
79
- `):M+=`
79
+ `):L+=`
80
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=`
81
+ `),M=G!==-1,V=l.inFlow??s.flow??s.items.length===0;if(M||!V){let A=!1;if(M&&(B==="&"||B==="!")){let N=U.indexOf(" ");B==="&"&&N!==-1&&N<G&&U[N+1]==="!"&&(N=U.indexOf(" ",N+1)),(N===-1||G<N)&&(A=!0)}A||(L=`
82
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
- ${h}${S}`:`
83
+ `)&&(L="");return w+=L+U,l.inFlow?T&&d&&d():E&&!T?w+=n.lineComment(w,l.indent,m(E)):x&&p&&p(),w}return mo.stringifyPair=r,mo}var vo={},Li={},Kf;function vv(){if(Kf)return Li;Kf=1;var e=mc;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={},Gf;function Xc(){if(Gf)return nn;Gf=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,f]of o)d instanceof Map?d.has(u)||d.set(u,f):d instanceof Set?d.add(u):Object.prototype.hasOwnProperty.call(d,u)||Object.defineProperty(d,u,{value:f,writable:!0,enumerable:!0,configurable:!0});return d}return nn.addMergeToJSMap=c,nn.isMergeKey=r,nn.merge=n,nn}var Hf;function gv(){if(Hf)return vo;Hf=1;var e=vv(),t=Xc(),i=Na(),n=oe(),r=St();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),f=r.toJS(a,u,l);u in d?Object.defineProperty(d,u,{value:f,writable:!0,enumerable:!0,configurable:!0}):d[u]=f}}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 Wf;function _t(){if(Wf)return Ii;Wf=1;var e=Ta(),t=J_(),i=gv(),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 yv{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 yv(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={},Yf;function bv(){if(Yf)return bo;Yf=1;var e=oe(),t=Na(),i=Pa();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:f,onComment:m}){const{indent:v,options:{commentString:h}}=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 T=e.isNode(S.key)?S.key:null;T&&(!y&&T.spaceBefore&&b.push(""),s(p,b,T.commentBefore,y))}y=!1;let E=t.stringify(S,g,()=>_=null,()=>y=!0);_&&(E+=i.lineComment(E,u,h(_))),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
+ ${v}${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: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?`
86
+ `+i.indentComment(h(l),v),m&&m()):y&&f&&f(),x}function c({items:l},d,{flowChars:p,itemIndent:a}){const{indent:o,indentStep:u,flowCollectionPadding:f,options:{commentString:m}}=d;a+=u;const v=Object.assign({},d,{indent:a,inFlow:!0,type:null});let h=!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 T=e.isNode(S.key)?S.key:null;T&&(T.spaceBefore&&y.push(""),s(d,y,T.commentBefore,!1),T.comment&&(h=!0));const U=e.isNode(S.value)?S.value:null;U?(U.comment&&(_=U.comment),U.commentBefore&&(h=!0)):S.value==null&&T?.comment&&(_=T.comment)}_&&(h=!0);let E=t.stringify(S,v,()=>_=null);w<l.length-1&&(E+=","),_&&(E+=i.lineComment(E,a,m(_))),!h&&(y.length>g||E.includes(`
87
+ `))&&(h=!0),y.push(E),g=y.length}const{start:b,end:x}=p;if(y.length===0)return b+x;if(!h){const w=y.reduce((S,_)=>S+_.length+2,2);h=d.options.lineWidth>0&&w>d.options.lineWidth}if(h){let w=b;for(const S of y)w+=S?`
88
88
  ${u}${o}${S}`:`
89
89
  `;return`${w}
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}
90
+ ${o}${x}`}else return`${b}${f}${y.join(" ")}${f}${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 Jf;function $t(){if(Jf)return Di;Jf=1;var e=bv(),t=gv(),i=Jc(),n=oe(),r=_t(),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:f}=o,m=new this(p),v=(h,g)=>{if(typeof f=="function")g=f.call(a,h,g);else if(Array.isArray(f)&&!f.includes(h))return;(g!==void 0||u)&&m.items.push(r.createPair(h,g,o))};if(a instanceof Map)for(const[h,g]of a)v(h,g);else if(a&&typeof a=="object")for(const h of Object.keys(a))v(h,a[h]);return typeof p.sortMapEntries=="function"&&m.items.sort(p.sortMapEntries),m}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),f=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(f){const m=this.items.findIndex(v=>f(o,v)<0);m===-1?this.items.push(o):this.items.splice(m,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 f of this.items)t.addPairToJSMap(a,u,f);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 Xf;function Sn(){if(Xf)return yo;Xf=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={},Qf;function Et(){if(Qf)return wo;Qf=1;var e=Ta(),t=bv(),i=Jc(),n=oe(),r=ye(),c=St();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 f of this.items)o.push(c.toJS(f,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,f=new this(p);if(a&&Symbol.iterator in Object(a)){let m=0;for(let v of a){if(typeof u=="function"){const h=a instanceof Set?v:String(m++);v=u.call(a,h,v)}f.items.push(e.createNode(v,void 0,o))}}return f}};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 Zf;function _n(){if(Zf)return xo;Zf=1;var e=oe(),t=Et();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={},em;function ja(){if(em)return So;em=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={},tm;function Qc(){if(tm)return _o;tm=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={},nm;function xv(){if(nm)return $o;nm=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={},im;function $n(){if(im)return Eo;im=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 am;function wv(){if(am)return an;am=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={},rm;function Sv(){if(rm)return rn;rm=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={},sm;function X_(){if(sm)return ko;sm=1;var e=Sn(),t=Qc(),i=_n(),n=ja(),r=xv(),c=wv(),s=Sv();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={},om;function Q_(){if(om)return Ro;om=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={},cm;function _v(){if(cm)return Ao;cm=1;var e=Qv,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 f=0;f<a.length;++f)u+=String.fromCharCode(a[f]);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),f=Math.ceil(o.length/u),m=new Array(f);for(let v=0,h=0;v<f;++v,h+=u)m[v]=o.substr(h,u);o=m.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={},lm;function Zc(){if(lm)return sn;lm=1;var e=oe(),t=_t(),i=ye(),n=Et();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
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(`
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 f of d){typeof a=="function"&&(f=a.call(d,String(u++),f));let m,v;if(Array.isArray(f))if(f.length===2)m=f[0],v=f[1];else throw new TypeError(`Expected [key, value] tuple: ${f}`);else if(f&&f instanceof Object){const h=Object.keys(f);if(h.length===1)m=h[0],v=f[m];else throw new TypeError(`Expected tuple with one key, not ${h.length} keys`)}else m=f;o.items.push(t.createPair(m,v,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 um;function $v(){if(um)return Fi;um=1;var e=oe(),t=St(),i=$t(),n=Et(),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,f;if(e.isPair(o)?(u=t.toJS(o.key,"",p),f=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,f)}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 To={},zi={},pm;function Z_(){if(pm)return zi;pm=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={},dm;function e$(){if(dm)return on;dm=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 Ct={},fm;function t$(){if(fm)return Ct;fm=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 m=BigInt(d);return u==="-"?BigInt(-1)*m:m}const f=parseInt(d,a);return u==="-"?-1*f:f}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 Ct.int=s,Ct.intBin=r,Ct.intHex=l,Ct.intOct=c,Ct}var Ui={},mm;function Ev(){if(mm)return Ui;mm=1;var e=oe(),t=_t(),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={},hm;function kv(){if(hm)return cn;hm=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,f)=>u*a(60)+a(f),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,f]=l.map(Number),m=l[7]?Number((l[7]+"00").substr(1,3)):0;let v=Date.UTC(d,p-1,a,o||0,u||0,f||0,m);const h=l[8];if(h&&h!=="Z"){let g=t(h,!1);Math.abs(g)<30&&(g*=60),v-=6e4*g}return new Date(v)},stringify:({value:s})=>s?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};return cn.floatTime=r,cn.intTime=n,cn.timestamp=c,cn}var vm;function n$(){if(vm)return To;vm=1;var e=Sn(),t=Qc(),i=_n(),n=ja(),r=_v(),c=Z_(),s=e$(),l=t$(),d=Xc(),p=$v(),a=Zc(),o=Ev(),u=kv();const f=[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 To.schema=f,To}var gm;function i$(){if(gm)return Mi;gm=1;var e=Sn(),t=Qc(),i=_n(),n=ja(),r=xv(),c=wv(),s=Sv(),l=X_(),d=Q_(),p=_v(),a=Xc(),o=$v(),u=Zc(),f=n$(),m=Ev(),v=kv();const h=new Map([["core",l.schema],["failsafe",[e.map,i.seq,n.string]],["json",d.schema],["yaml11",f.schema],["yaml-1.1",f.schema]]),g={binary:p.binary,bool:r.boolTag,float:c.float,floatExp:c.floatExp,floatNaN:c.floatNaN,floatTime:v.floatTime,int:s.int,intHex:s.intHex,intOct:s.intOct,intTime:v.intTime,map:e.map,merge:a.merge,null:t.nullTag,omap:o.omap,pairs:u.pairs,seq:i.seq,set:m.set,timestamp:v.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":m.set,"tag:yaml.org,2002:timestamp":v.timestamp};function b(x,w,S){const _=h.get(w);if(_&&!x)return S&&!_.includes(a.merge)?_.concat(a.merge):_.slice();let E=_;if(!E)if(Array.isArray(x))E=[];else{const T=Array.from(h.keys()).filter(U=>U!=="yaml11").map(U=>JSON.stringify(U)).join(", ");throw new Error(`Unknown schema "${w}"; use one of ${T} or define customTags array`)}if(Array.isArray(x))for(const T of x)E=E.concat(T);else typeof x=="function"&&(E=x(E.slice()));return S&&(E=E.concat(a.merge)),E.reduce((T,U)=>{const L=typeof U=="string"?g[U]:U;if(!L){const B=JSON.stringify(U),G=Object.keys(g).map(M=>JSON.stringify(M)).join(", ");throw new Error(`Unknown custom tag ${B}; use one of ${G}`)}return T.includes(L)||T.push(L),T},[])}return Mi.coreKnownTags=y,Mi.getTags=b,Mi}var ym;function Av(){if(ym)return go;ym=1;var e=oe(),t=Sn(),i=_n(),n=ja(),r=i$();const c=(l,d)=>l.key<d.key?-1:l.key>d.key?1:0;let s=class Rv{constructor({compat:d,customTags:p,merge:a,resolveKnownTags:o,schema:u,sortMapEntries:f,toStringDefaults:m}){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=m??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 f=="function"?f:f===!0?c:null}clone(){const d=Object.create(Rv.prototype,Object.getOwnPropertyDescriptors(this));return d.tags=this.tags.slice(),d}};return go.Schema=s,go}var Po={},bm;function a$(){if(bm)return Po;bm=1;var e=oe(),t=Na(),i=Pa();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 m=p(r.contents.commentBefore);s.push(i.indentComment(m,""))}d.forceBlockIndent=!!r.comment,o=r.contents.comment}const u=o?void 0:()=>a=!0;let f=t.stringify(r.contents,d,()=>o=null,u);o&&(f+=i.lineComment(f,"",p(o))),(f[0]==="|"||f[0]===">")&&s[s.length-1]==="---"?s[s.length-1]=`--- ${f}`:s.push(f)}else s.push(t.stringify(r.contents,d));if(r.directives?.docEnd)if(r.comment){const u=p(r.comment);u.includes(`
94
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 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+=`:
96
+ `}return Po.stringifyDocument=n,Po}var xm;function Ca(){if(xm)return oo;xm=1;var e=Aa(),t=Jc(),i=oe(),n=_t(),r=St(),c=Av(),s=a$(),l=Wc(),d=hv(),p=Ta(),a=mv();let o=class Tv{constructor(m,v,h){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,i.NODE_TYPE,{value:i.DOC});let g=null;typeof v=="function"||Array.isArray(v)?g=v:h===void 0&&v&&(h=v,v=void 0);const y=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},h);this.options=y;let{version:b}=y;h?._directives?(this.directives=h._directives.atDocument(),this.directives.yaml.explicit&&(b=this.directives.yaml.version)):this.directives=new a.Directives({version:b}),this.setSchema(b,h),this.contents=m===void 0?null:this.createNode(m,g,h)}clone(){const m=Object.create(Tv.prototype,{[i.NODE_TYPE]:{value:i.DOC}});return m.commentBefore=this.commentBefore,m.comment=this.comment,m.errors=this.errors.slice(),m.warnings=this.warnings.slice(),m.options=Object.assign({},this.options),this.directives&&(m.directives=this.directives.clone()),m.schema=this.schema.clone(),m.contents=i.isNode(this.contents)?this.contents.clone(m.schema):this.contents,this.range&&(m.range=this.range.slice()),m}add(m){u(this.contents)&&this.contents.add(m)}addIn(m,v){u(this.contents)&&this.contents.addIn(m,v)}createAlias(m,v){if(!m.anchor){const h=l.anchorNames(this);m.anchor=!v||h.has(v)?l.findNewAnchor(v||"a",h):v}return new e.Alias(m.anchor)}createNode(m,v,h){let g;if(typeof v=="function")m=v.call({"":m},"",m),g=v;else if(Array.isArray(v)){const G=V=>typeof V=="number"||V instanceof String||V instanceof Number,M=v.filter(G).map(String);M.length>0&&(v=v.concat(M)),g=v}else h===void 0&&v&&(h=v,v=void 0);const{aliasDuplicateObjects:y,anchorPrefix:b,flow:x,keepUndefined:w,onTagObj:S,tag:_}=h??{},{onAnchor:E,setAnchors:T,sourceObjects:U}=l.createNodeAnchors(this,b||"a"),L={aliasDuplicateObjects:y??!0,keepUndefined:w??!1,onAnchor:E,onTagObj:S,replacer:g,schema:this.schema,sourceObjects:U},B=p.createNode(m,_,L);return x&&i.isCollection(B)&&(B.flow=!0),T(),B}createPair(m,v,h={}){const g=this.createNode(m,null,h),y=this.createNode(v,null,h);return new n.Pair(g,y)}delete(m){return u(this.contents)?this.contents.delete(m):!1}deleteIn(m){return t.isEmptyPath(m)?this.contents==null?!1:(this.contents=null,!0):u(this.contents)?this.contents.deleteIn(m):!1}get(m,v){return i.isCollection(this.contents)?this.contents.get(m,v):void 0}getIn(m,v){return t.isEmptyPath(m)?!v&&i.isScalar(this.contents)?this.contents.value:this.contents:i.isCollection(this.contents)?this.contents.getIn(m,v):void 0}has(m){return i.isCollection(this.contents)?this.contents.has(m):!1}hasIn(m){return t.isEmptyPath(m)?this.contents!==void 0:i.isCollection(this.contents)?this.contents.hasIn(m):!1}set(m,v){this.contents==null?this.contents=t.collectionFromPath(this.schema,[m],v):u(this.contents)&&this.contents.set(m,v)}setIn(m,v){t.isEmptyPath(m)?this.contents=v:this.contents==null?this.contents=t.collectionFromPath(this.schema,Array.from(m),v):u(this.contents)&&this.contents.setIn(m,v)}setSchema(m,v={}){typeof m=="number"&&(m=String(m));let h;switch(m){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new a.Directives({version:"1.1"}),h={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=m:this.directives=new a.Directives({version:m}),h={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,h=null;break;default:{const g=JSON.stringify(m);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${g}`)}}if(v.schema instanceof Object)this.schema=v.schema;else if(h)this.schema=new c.Schema(Object.assign(h,v));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:m,jsonArg:v,mapAsMap:h,maxAliasCount:g,onAnchor:y,reviver:b}={}){const x={anchors:new Map,doc:this,keep:!m,mapAsMap:h===!0,mapKeyWarned:!1,maxAliasCount:typeof g=="number"?g:100},w=r.toJS(this.contents,v??"",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(m,v){return this.toJS({json:!0,jsonArg:m,mapAsMap:!1,onAnchor:v})}toString(m={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in m&&(!Number.isInteger(m.indent)||Number(m.indent)<=0)){const v=JSON.stringify(m.indent);throw new Error(`"indent" option must be a positive integer, not ${v}`)}return s.stringifyDocument(this,m)}};function u(f){if(i.isCollection(f))return!0;throw new Error("Expected a YAML collection as document contents")}return oo.Document=o,oo}var It={},wm;function Ia(){if(wm)return It;wm=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 f=" ".repeat(p)+"^".repeat(o);s.message+=`:
98
98
 
99
99
  ${a}
100
- ${m}
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
- `):x.length>u||w[0]===" "?(v===" "?v=`
112
- `:!g&&v===`
113
- `&&(v=`
100
+ ${f}
101
+ `}};return It.YAMLError=e,It.YAMLParseError=t,It.YAMLWarning=i,It.prettifyError=n,It}var Oo={},Bi={},No={},jo={},Co={},Sm;function qa(){if(Sm)return Co;Sm=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="",f="",m=!1,v=!1,h=null,g=null,y=null,b=null,x=null,w=null,S=null;for(const T of t)switch(v&&(T.type!=="space"&&T.type!=="newline"&&T.type!=="comma"&&s(T.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v=!1),h&&(a&&T.type!=="comment"&&T.type!=="newline"&&s(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),h=null),T.type){case"space":!i&&(n!=="doc-start"||r?.type!=="flow-collection")&&T.source.includes(" ")&&(h=T),o=!0;break;case"comment":{o||s(T,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const U=T.source.substring(1)||" ";u?u+=f+U:u=U,f="",a=!1;break}case"newline":a?u?u+=T.source:(!w||n!=="seq-item-ind")&&(p=!0):f+=T.source,a=!0,m=!0,(g||y)&&(b=T),o=!0;break;case"anchor":g&&s(T,"MULTIPLE_ANCHORS","A node can have at most one anchor"),T.source.endsWith(":")&&s(T.offset+T.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=T,S??(S=T.offset),a=!1,o=!1,v=!0;break;case"tag":{y&&s(T,"MULTIPLE_TAGS","A node can have at most one tag"),y=T,S??(S=T.offset),a=!1,o=!1,v=!0;break}case n:(g||y)&&s(T,"BAD_PROP_ORDER",`Anchors and tags must be after the ${T.source} indicator`),w&&s(T,"UNEXPECTED_TOKEN",`Unexpected ${T.source} in ${i??"collection"}`),w=T,a=n==="seq-item-ind"||n==="explicit-key-ind",o=!1;break;case"comma":if(i){x&&s(T,"UNEXPECTED_TOKEN",`Unexpected , in ${i}`),x=T,a=!1,o=!1;break}default:s(T,"UNEXPECTED_TOKEN",`Unexpected ${T.type} token`),a=!1,o=!1}const _=t[t.length-1],E=_?_.offset+_.source.length:c;return v&&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"),h&&(a&&h.indent<=l||r?.type==="block-map"||r?.type==="block-seq")&&s(h,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:x,found:w,spaceBefore:p,comment:u,hasNewline:m,anchor:g,tag:y,newlineAfterProp:b,end:E,start:S??E}}return Co.resolveProps=e,Co}var Io={},_m;function el(){if(_m)return Io;_m=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 Pv(){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={},Em;function Ov(){if(Em)return Lo;Em=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 km;function r$(){if(km)return jo;km=1;var e=_t(),t=$t(),i=qa(),n=el(),r=Pv(),c=Ov();const s="All mapping items must start at the same column";function l({composeNode:d,composeEmptyNode:p},a,o,u,f){const m=f?.nodeClass??t.YAMLMap,v=new m(a.schema);a.atRoot&&(a.atRoot=!1);let h=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:h,onError:u,parentIndent:o.indent,startOnNewline:!0}),E=!_.found;if(E){if(x&&(x.type==="block-seq"?u(h,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in x&&x.indent!==o.indent&&u(h,"BAD_INDENT",s)),!_.anchor&&!_.tag&&!w){g=_.end,_.comment&&(v.comment?v.comment+=`
103
+ `+_.comment:v.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(h,"BAD_INDENT",s);a.atKey=!0;const T=_.end,U=x?d(a,x,_,u):p(a,T,b,null,_,u);a.schema.compat&&r.flowIndentCheck(o.indent,x,u),a.atKey=!1,c.mapIncludes(a,v.items,U)&&u(T,"DUPLICATE_KEY","Map keys must be unique");const L=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(h=L.end,L.found){E&&(S?.type==="block-map"&&!L.hasNewline&&u(h,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&_.start<L.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,L,u):p(a,h,w,null,L,u);a.schema.compat&&r.flowIndentCheck(o.indent,S,u),h=B.range[2];const G=new e.Pair(U,B);a.options.keepSourceTokens&&(G.srcToken=y),v.items.push(G)}else{E&&u(U.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),L.comment&&(U.comment?U.comment+=`
104
+ `+L.comment:U.comment=L.comment);const B=new e.Pair(U);a.options.keepSourceTokens&&(B.srcToken=y),v.items.push(B)}}return g&&g<h&&u(g,"IMPOSSIBLE","Map comment with trailing content"),v.range=[o.offset,h,g??h],v}return jo.resolveBlockMap=l,jo}var Do={},Rm;function s$(){if(Rm)return Do;Rm=1;var e=Et(),t=qa(),i=Pv();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,f=null;for(const{start:m,value:v}of l.items){const h=t.resolveProps(m,{indicator:"seq-item-ind",next:v,offset:u,onError:d,parentIndent:l.indent,startOnNewline:!0});if(!h.found)if(h.anchor||h.tag||v)v&&v.type==="block-seq"?d(h.end,"BAD_INDENT","All sequence items must start at the same column"):d(u,"MISSING_CHAR","Sequence item without - indicator");else{f=h.end,h.comment&&(o.comment=h.comment);continue}const g=v?r(s,v,h,d):c(s,h.end,m,null,h,d);s.schema.compat&&i.flowIndentCheck(l.indent,v,d),u=g.range[2],o.items.push(g)}return o.range=[l.offset,u,f??u],o}return Do.resolveBlockSeq=n,Do}var Mo={},Fo={},Am;function En(){if(Am)return Fo;Am=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 Tm;function o$(){if(Tm)return Mo;Tm=1;var e=oe(),t=_t(),i=$t(),n=Et(),r=En(),c=qa(),s=el(),l=Ov();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},f,m,v,h){const g=m.start.source==="{",y=g?"flow map":"flow sequence",b=h?.nodeClass??(g?i.YAMLMap:n.YAMLSeq),x=new b(f.schema);x.flow=!0;const w=f.atRoot;w&&(f.atRoot=!1),f.atKey&&(f.atKey=!1);let S=m.offset+m.start.source.length;for(let L=0;L<m.items.length;++L){const B=m.items[L],{start:G,key:M,sep:V,value:A}=B,N=c.resolveProps(G,{flow:y,indicator:"explicit-key-ind",next:M??V?.[0],offset:S,onError:v,parentIndent:m.indent,startOnNewline:!1});if(!N.found){if(!N.anchor&&!N.tag&&!V&&!A){L===0&&N.comma?v(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`):L<m.items.length-1&&v(N.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${y}`),N.comment&&(x.comment?x.comment+=`
105
+ `+N.comment:x.comment=N.comment),S=N.end;continue}!g&&f.options.strict&&s.containsNewline(M)&&v(M,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(L===0)N.comma&&v(N.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${y}`);else if(N.comma||v(N.start,"MISSING_CHAR",`Missing , between ${y} items`),N.comment){let I="";e:for(const z of G)switch(z.type){case"comma":case"space":break;case"comment":I=z.source.substring(1);break e;default:break e}if(I){let z=x.items[x.items.length-1];e.isPair(z)&&(z=z.value??z.key),z.comment?z.comment+=`
106
+ `+I:z.comment=I,N.comment=N.comment.substring(I.length+1)}}if(!g&&!V&&!N.found){const I=A?o(f,A,N,v):u(f,N.end,V,null,N,v);x.items.push(I),S=I.range[2],p(A)&&v(I.range,"BLOCK_IN_FLOW",d)}else{f.atKey=!0;const I=N.end,z=M?o(f,M,N,v):u(f,I,G,null,N,v);p(M)&&v(z.range,"BLOCK_IN_FLOW",d),f.atKey=!1;const P=c.resolveProps(V??[],{flow:y,indicator:"map-value-ind",next:A,offset:z.range[2],onError:v,parentIndent:m.indent,startOnNewline:!1});if(P.found){if(!g&&!N.found&&f.options.strict){if(V)for(const O of V){if(O===P.found)break;if(O.type==="newline"){v(O,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}N.start<P.found.offset-1024&&v(P.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else A&&("source"in A&&A.source&&A.source[0]===":"?v(A,"MISSING_CHAR",`Missing space after : in ${y}`):v(P.start,"MISSING_CHAR",`Missing , or : between ${y} items`));const k=A?o(f,A,P,v):P.found?u(f,P.end,V,null,P,v):null;k?p(A)&&v(k.range,"BLOCK_IN_FLOW",d):P.comment&&(z.comment?z.comment+=`
107
+ `+P.comment:z.comment=P.comment);const j=new t.Pair(z,k);if(f.options.keepSourceTokens&&(j.srcToken=B),g){const O=x;l.mapIncludes(f,O.items,z)&&v(I,"DUPLICATE_KEY","Map keys must be unique"),O.items.push(j)}else{const O=new i.YAMLMap(f.schema);O.flow=!0,O.items.push(j);const $=(k??z).range;O.range=[z.range[0],$[1],$[2]],x.items.push(O)}S=k?k.range[2]:P.end}}const _=g?"}":"]",[E,...T]=m.end;let U=S;if(E&&E.source===_)U=E.offset+E.source.length;else{const L=y[0].toUpperCase()+y.substring(1),B=w?`${L} must end with a ${_}`:`${L} in block collection must be sufficiently indented and end with a ${_}`;v(S,w?"MISSING_CHAR":"BAD_INDENT",B),E&&E.source.length!==1&&T.unshift(E)}if(T.length>0){const L=r.resolveEnd(T,U,f.options.strict,v);L.comment&&(x.comment?x.comment+=`
108
+ `+L.comment:x.comment=L.comment),x.range=[m.offset,U,L.offset]}else x.range=[m.offset,U,U];return x}return Mo.resolveFlowCollection=a,Mo}var Pm;function c$(){if(Pm)return No;Pm=1;var e=oe(),t=ye(),i=$t(),n=Et(),r=r$(),c=s$(),s=o$();function l(p,a,o,u,f,m){const v=o.type==="block-map"?r.resolveBlockMap(p,a,o,u,m):o.type==="block-seq"?c.resolveBlockSeq(p,a,o,u,m):s.resolveFlowCollection(p,a,o,u,m),h=v.constructor;return f==="!"||f===h.tagName?(v.tag=h.tagName,v):(f&&(v.tag=f),v)}function d(p,a,o,u,f){const m=u.tag,v=m?a.directives.tagName(m.source,w=>f(m,"TAG_RESOLVE_FAILED",w)):null;if(o.type==="block-seq"){const{anchor:w,newlineAfterProp:S}=u,_=w&&m?w.offset>m.offset?w:m:w??m;_&&(!S||S.offset<_.offset)&&f(_,"MISSING_CHAR","Missing newline after block sequence props")}const h=o.type==="block-map"?"map":o.type==="block-seq"?"seq":o.start.source==="{"?"map":"seq";if(!m||!v||v==="!"||v===i.YAMLMap.tagName&&h==="map"||v===n.YAMLSeq.tagName&&h==="seq")return l(p,a,o,f,v);let g=a.schema.tags.find(w=>w.tag===v&&w.collection===h);if(!g){const w=a.schema.knownTags[v];if(w&&w.collection===h)a.schema.tags.push(Object.assign({},w,{default:!1})),g=w;else return w?f(m,"BAD_COLLECTION_TYPE",`${w.tag} used for ${h} collection, but expects ${w.collection??"scalar"}`,!0):f(m,"TAG_RESOLVE_FAILED",`Unresolved tag: ${v}`,!0),l(p,a,o,f,v)}const y=l(p,a,o,f,v,g),b=g.resolve?.(y,w=>f(m,"TAG_RESOLVE_FAILED",w),a.options)??y,x=e.isNode(b)?b:new t.Scalar(b);return x.range=y.range,x.tag=v,g?.format&&(x.format=g.format),x}return No.composeCollection=d,No}var zo={},Uo={},Om;function Nv(){if(Om)return Uo;Om=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,f=c.offset+d.length,m=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(f+x.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),d.indent===0&&(u=x.length),m=b,u===0&&!r.atRoot&&s(f,"BAD_INDENT","Block scalar values in collections must be indented");break}f+=x.length+w.length+1}for(let b=a.length-1;b>=o;--b)a[b][0].length>u&&(o=b+1);let v="",h="",g=!1;for(let b=0;b<m;++b)v+=a[b][0].slice(u)+`
110
+ `;for(let b=m;b<o;++b){let[x,w]=a[b];f+=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(f-w.length-(S?2:1),"BAD_INDENT",E),x=""}p===e.Scalar.BLOCK_LITERAL?(v+=h+x.slice(u)+w,h=`
111
+ `):x.length>u||w[0]===" "?(h===" "?h=`
112
+ `:!g&&h===`
113
+ `&&(h=`
114
114
 
115
- `),h+=v+x.slice(u)+w,v=`
116
- `,g=!0):w===""?v===`
117
- `?h+=`
118
- `:v=`
119
- `:(h+=v+w,v=" ",g=!1)}switch(d.chomp){case"-":break;case"+":for(let b=o;b<a.length;++b)h+=`
120
- `+a[b][0].slice(u);h[h.length-1]!==`
121
- `&&(h+=`
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},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?
115
+ `),v+=h+x.slice(u)+w,h=`
116
+ `,g=!0):w===""?h===`
117
+ `?v+=`
118
+ `:h=`
119
+ `:(v+=h+w,h=" ",g=!1)}switch(d.chomp){case"-":break;case"+":for(let b=o;b<a.length;++b)v+=`
120
+ `+a[b][0].slice(u);v[v.length-1]!==`
121
+ `&&(v+=`
122
+ `);break;default:v+=`
123
+ `}const y=l+d.length+c.source.length;return{value:v,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 h=1;h<d.length;++h){const g=d[h];if(!o&&(g==="-"||g==="+"))o=g;else{const y=Number(g);!a&&y?a=y:u===-1&&(u=r+h)}}u!==-1&&l(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${d}`);let f=!1,m="",v=d.length;for(let h=1;h<c.length;++h){const g=c[h];switch(g.type){case"space":f=!0;case"newline":v+=g.source.length;break;case"comment":s&&!f&&l(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),v+=g.source.length,m=g.source.substring(1);break;case"error":l(g,"UNEXPECTED_TOKEN",g.message),v+=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"&&(v+=b.length)}}}return{mode:p,indent:a,chomp:o,comment:m,length:v}}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={},Nm;function jv(){if(Nm)return Bo;Nm=1;var e=ye(),t=En();function i(a,o,u){const{offset:f,type:m,source:v,end:h}=a;let g,y;const b=(S,_,E)=>u(f+S,_,E);switch(m){case"scalar":g=e.Scalar.PLAIN,y=n(v,b);break;case"single-quoted-scalar":g=e.Scalar.QUOTE_SINGLE,y=r(v,b);break;case"double-quoted-scalar":g=e.Scalar.QUOTE_DOUBLE,y=s(v,b);break;default:return u(a,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${m}`),{value:"",type:null,comment:"",range:[f,f+v.length,f+v.length]}}const x=f+v.length,w=t.resolveEnd(h,x,o,u);return{value:y,type:g,comment:w.comment,range:[f,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{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
- `?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 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
- `))if(f===`
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
- `)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,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
- `&&!(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)&&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
- `);)m===`
125
+ `,"sy")}catch{o=/(.*?)[ \t]*\r?\n/sy,u=/[ \t]*(.*?)[ \t]*\r?\n/sy}let f=o.exec(a);if(!f)return a;let m=f[1],v=" ",h=o.lastIndex;for(u.lastIndex=h;f=u.exec(a);)f[1]===""?v===`
126
+ `?m+=v:v=`
127
+ `:(m+=v+f[1],v=" "),h=u.lastIndex;const g=/[ \t]*(.*)/sy;return g.lastIndex=h,f=g.exec(a),m+v+(f?.[1]??"")}function s(a,o){let u="";for(let f=1;f<a.length-1;++f){const m=a[f];if(!(m==="\r"&&a[f+1]===`
128
+ `))if(m===`
129
+ `){const{fold:v,offset:h}=l(a,f);u+=v,f=h}else if(m==="\\"){let v=a[++f];const h=d[v];if(h)u+=h;else if(v===`
130
+ `)for(v=a[f+1];v===" "||v===" ";)v=a[++f+1];else if(v==="\r"&&a[f+1]===`
131
+ `)for(v=a[++f+1];v===" "||v===" ";)v=a[++f+1];else if(v==="x"||v==="u"||v==="U"){const g={x:2,u:4,U:8}[v];u+=p(a,f+1,g,o),f+=g}else{const g=a.substr(f-1,2);o(f-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),u+=g}}else if(m===" "||m===" "){const v=f;let h=a[f+1];for(;h===" "||h===" ";)h=a[++f+1];h!==`
132
+ `&&!(h==="\r"&&a[f+2]===`
133
+ `)&&(u+=f>v?a.slice(v,f+1):m)}else u+=m}return(a[a.length-1]!=='"'||a.length===1)&&o(a.length,"MISSING_CHAR",'Missing closing "quote'),u}function l(a,o){let u="",f=a[o+1];for(;(f===" "||f===" "||f===`
134
+ `||f==="\r")&&!(f==="\r"&&a[o+2]!==`
135
+ `);)f===`
136
136
  `&&(u+=`
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?`
137
+ `),o+=1,f=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,f){const m=a.substr(o,u),h=m.length===u&&/^[0-9a-fA-F]+$/.test(m)?parseInt(m,16):NaN;if(isNaN(h)){const g=a.substr(o-2,u+2);return f(o-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),g}return String.fromCodePoint(h)}return Bo.resolveFlowScalar=i,Bo}var jm;function l$(){if(jm)return zo;jm=1;var e=oe(),t=ye(),i=Nv(),n=jv();function r(l,d,p,a){const{value:o,type:u,comment:f,range:m}=d.type==="block-scalar"?i.resolveBlockScalar(l,d,a):n.resolveFlowScalar(d,l.options.strict,a),v=p?l.directives.tagName(p.source,y=>a(p,"TAG_RESOLVE_FAILED",y)):null;let h;l.options.stringKeys&&l.atKey?h=l.schema[e.SCALAR]:v?h=c(l.schema,o,v,p,a):d.type==="scalar"?h=s(l,o,d,a):h=l.schema[e.SCALAR];let g;try{const y=h.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=m,g.source=o,u&&(g.type=u),v&&(g.tag=v),h.format&&(g.format=h.format),f&&(g.comment=f),g}function c(l,d,p,a,o){if(p==="!")return l[e.SCALAR];const u=[];for(const m of l.tags)if(!m.collection&&m.tag===p)if(m.default&&m.test)u.push(m);else return m;for(const m of u)if(m.test?.test(d))return m;const f=l.knownTags[p];return f&&!f.collection?(l.tags.push(Object.assign({},f,{default:!1,test:void 0})),f):(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 f=p.tags.find(m=>(m.default===!0||l&&m.default==="key")&&m.test?.test(a))||p[e.SCALAR];if(p.compat){const m=p.compat.find(v=>v.default&&v.test?.test(a))??p[e.SCALAR];if(f.tag!==m.tag){const v=d.tagString(f.tag),h=d.tagString(m.tag),g=`Value may be parsed as either ${v} or ${h}`;u(o,"TAG_RESOLVE_FAILED",g,!0)}}return f}return zo.composeScalar=r,zo}var Vo={},Cm;function u$(){if(Cm)return Vo;Cm=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 Im;function p$(){if(Im)return Bi;Im=1;var e=Aa(),t=oe(),i=c$(),n=l$(),r=En(),c=u$();const s={composeNode:l,composeEmptyNode:d};function l(a,o,u,f){const m=a.atKey,{spaceBefore:v,comment:h,anchor:g,tag:y}=u;let b,x=!0;switch(o.type){case"alias":b=p(a,o,f),(g||y)&&f(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,f),g&&(b.anchor=g.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":b=i.composeCollection(s,a,o,u,f),g&&(b.anchor=g.source.substring(1));break;default:{const w=o.type==="error"?o.message:`Unsupported token (type: ${o.type})`;f(o,"UNEXPECTED_TOKEN",w),b=d(a,o.offset,void 0,null,u,f),x=!1}}return g&&b.anchor===""&&f(g,"BAD_ALIAS","Anchor cannot be an empty string"),m&&a.options.stringKeys&&(!t.isScalar(b)||typeof b.value!="string"||b.tag&&b.tag!=="tag:yaml.org,2002:str")&&f(y??o,"NON_STRING_KEY","With stringKeys, all keys must be strings"),v&&(b.spaceBefore=!0),h&&(o.type==="scalar"&&o.source===""?b.comment=h:b.commentBefore=h),a.options.keepSourceTokens&&x&&(b.srcToken=o),b}function d(a,o,u,f,{spaceBefore:m,comment:v,anchor:h,tag:g,end:y},b){const x={type:"scalar",offset:c.emptyScalarPosition(o,u,f),indent:-1,source:""},w=n.composeScalar(a,x,g,b);return h&&(w.anchor=h.source.substring(1),w.anchor===""&&b(h,"BAD_ALIAS","Anchor cannot be an empty string")),m&&(w.spaceBefore=!0),v&&(w.comment=v,w.range[2]=y),w}function p({options:a},{offset:o,source:u,end:f},m){const v=new e.Alias(u.substring(1));v.source===""&&m(o,"BAD_ALIAS","Alias cannot be an empty string"),v.source.endsWith(":")&&m(o+u.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const h=o+u.length,g=r.resolveEnd(f,h,a.strict,m);return v.range=[o,h,g.offset],g.comment&&(v.comment=g.comment),v}return Bi.composeEmptyNode=d,Bi.composeNode=l,Bi}var qm;function d$(){if(qm)return Oo;qm=1;var e=Ca(),t=p$(),i=En(),n=qa();function r(c,s,{offset:l,start:d,value:p,end:a},o){const u=Object.assign({_directives:s},c),f=new e.Document(void 0,u),m={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},v=n.resolveProps(d,{indicator:"doc-start",next:p??a?.[0],offset:l,onError:o,parentIndent:0,startOnNewline:!0});v.found&&(f.directives.docStart=!0,p&&(p.type==="block-map"||p.type==="block-seq")&&!v.hasNewline&&o(v.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),f.contents=p?t.composeNode(m,p,v,o):t.composeEmptyNode(m,v.end,d,null,v,o);const h=f.contents.range[2],g=i.resolveEnd(a,h,!1,o);return g.comment&&(f.comment=g.comment),f.range=[l,h,g.offset],f}return Oo.composeDoc=r,Oo}var Lm;function Cv(){if(Lm)return ro;Lm=1;var e=mc,t=mv(),i=Ca(),n=Ia(),r=oe(),c=d$(),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,f=!1;for(let m=0;m<a.length;++m){const v=a[m];switch(v[0]){case"#":o+=(o===""?"":f?`
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: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
- ${g}`:m}else{const v=h.commentBefore;h.commentBefore=v?`${m}
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:`
141
+ `)+(v.substring(1)||" "),u=!0,f=!1;break;case"%":a[m+1]?.[0]!=="#"&&(m+=1),u=!1;break;default:u||(f=!0),u=!1}}return{comment:o,afterEmptyLine:f}}class p{constructor(o={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(u,f,m,v)=>{const h=l(u);v?this.warnings.push(new n.YAMLWarning(h,f,m)):this.errors.push(new n.YAMLParseError(h,f,m))},this.directives=new t.Directives({version:o.version||"1.2"}),this.options=o}decorate(o,u){const{comment:f,afterEmptyLine:m}=d(this.prelude);if(f){const v=o.contents;if(u)o.comment=o.comment?`${o.comment}
142
+ ${f}`:f;else if(m||o.directives.docStart||!v)o.commentBefore=f;else if(r.isCollection(v)&&!v.flow&&v.items.length>0){let h=v.items[0];r.isPair(h)&&(h=h.key);const g=h.commentBefore;h.commentBefore=g?`${f}
143
+ ${g}`:f}else{const h=v.commentBefore;v.commentBefore=h?`${f}
144
+ ${h}`:f}}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,f=-1){for(const m of o)yield*this.next(m);yield*this.end(u,f)}*next(o){switch(e.env.LOG_STREAM&&console.dir(o,{depth:null}),o.type){case"directive":this.directives.add(o.source,(u,f,m)=>{const v=l(o);v[0]+=u,this.onError(v,"BAD_DIRECTIVE",f,m)}),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,f=new n.YAMLParseError(l(o),"UNEXPECTED_TOKEN",u);this.atDirectives||!this.doc?this.errors.push(f):this.doc.errors.push(f);break}case"doc-end":{if(!this.doc){const f="Unexpected doc-end without preceding document";this.errors.push(new n.YAMLParseError(l(o),"UNEXPECTED_TOKEN",f));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 f=this.doc.comment;this.doc.comment=f?`${f}
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 f=Object.assign({_directives:this.directives},this.options),m=new i.Document(void 0,f);this.atDirectives&&this.onError(u,"MISSING_CHAR","Missing directives-end indicator line"),m.range=[0,u,u],this.decorate(m,!1),yield m}}}return ro.Composer=p,ro}var Ae={},ln={},Dm;function f$(){if(Dm)return ln;Dm=1;var e=Nv(),t=jv(),i=Ia(),n=Oa();function r(a,o=!0,u){if(a){const f=(m,v,h)=>{const g=typeof m=="number"?m:Array.isArray(m)?m[0]:m.offset;if(u)u(g,v,h);else throw new i.YAMLParseError([g,g+1],v,h)};switch(a.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return t.resolveFlowScalar(a,o,f);case"block-scalar":return e.resolveBlockScalar({options:{strict:o}},a,f)}}return null}function c(a,o){const{implicitKey:u=!1,indent:f,inFlow:m=!1,offset:v=-1,type:h="PLAIN"}=o,g=n.stringifyString({type:h,value:a},{implicitKey:u,indent:f>0?" ".repeat(f):"",inFlow:m,options:{blockQuote:!0,lineWidth:-1}}),y=o.end??[{type:"newline",offset:-1,indent:f,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
- `,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 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
- `;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,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`
148
+ `,S=[{type:"block-scalar-header",offset:v,indent:f,source:x}];return d(S,y)||S.push({type:"newline",offset:-1,indent:f,source:`
149
+ `}),{type:"block-scalar",offset:v,indent:f,props:S,source:w}}case'"':return{type:"double-quoted-scalar",offset:v,indent:f,source:g,end:y};case"'":return{type:"single-quoted-scalar",offset:v,indent:f,source:g,end:y};default:return{type:"scalar",offset:v,indent:f,source:g,end:y}}}function s(a,o,u={}){let{afterKey:f=!1,implicitKey:m=!1,inFlow:v=!1,type:h}=u,g="indent"in a?a.indent:null;if(f&&typeof g=="number"&&(g+=2),!h)switch(a.type){case"single-quoted-scalar":h="QUOTE_SINGLE";break;case"double-quoted-scalar":h="QUOTE_DOUBLE";break;case"block-scalar":{const b=a.props[0];if(b.type!=="block-scalar-header")throw new Error("Invalid block scalar header");h=b.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:h="PLAIN"}const y=n.stringifyString({type:h,value:o},{implicitKey:m||g===null,indent:g!==null&&g>0?" ".repeat(g):"",inFlow:v,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
+ `),f=o.substring(0,u),m=o.substring(u+1)+`
151
+ `;if(a.type==="block-scalar"){const v=a.props[0];if(v.type!=="block-scalar-header")throw new Error("Invalid block scalar header");v.source=f,a.source=m}else{const{offset:v}=a,h="indent"in a?a.indent:-1,g=[{type:"block-scalar-header",offset:v,indent:h,source:f}];d(g,"end"in a?a.end:void 0)||g.push({type:"newline",offset:-1,indent:h,source:`
152
+ `});for(const y of Object.keys(a))y!=="type"&&y!=="offset"&&delete a[y];Object.assign(a,{type:"block-scalar",indent:h,props:g,source:m})}}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 f=a.props.slice(1);let m=o.length;a.props[0].type==="block-scalar-header"&&(m-=a.props[0].source.length);for(const v of f)v.offset+=m;delete a.props,Object.assign(a,{type:u,source:o,end:f});break}case"block-map":case"block-seq":{const m={type:"newline",offset:a.offset+o.length,indent:a.indent,source:`
153
+ `};delete a.items,Object.assign(a,{type:u,source:o,end:[m]});break}default:{const f="indent"in a?a.indent:-1,m="end"in a&&Array.isArray(a.end)?a.end.filter(v=>v.type==="space"||v.type==="comment"||v.type==="newline"):[];for(const v of Object.keys(a))v!=="type"&&v!=="offset"&&delete a[v];Object.assign(a,{type:u,indent:f,source:o,end:m})}}}return ln.createScalarToken=c,ln.resolveAsScalar=r,ln.setScalarValue=s,ln}var Ko={},Mm;function m$(){if(Mm)return Ko;Mm=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={},Fm;function h$(){if(Fm)return Go;Fm=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 zm;function tl(){if(zm)return Ae;zm=1;var e=f$(),t=m$(),i=h$();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(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`
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={},Um;function Iv(){if(Um)return Ho;Um=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
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
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
160
  `||!u&&!this.atEnd)return p+o+1}return a===`
161
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
- `: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(!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===`
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 f=p[o-1];if(f===" "||f===" "){a=o-1;break}else o=p.indexOf("#",o+1)}for(;;){const f=p[a-1];if(f===" "||f===" ")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 f=0;for(;u[f]===",";)f+=yield*this.pushCount(1),f+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(f+=yield*this.pushIndicators(),u[f]){case void 0:return"flow";case"#":return yield*this.pushCount(u.length-f),"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 m=this.charAt(1);if(this.flowKey||t(m)||m===",")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 f=0;for(;this.buffer[a-1-f]==="\\";)f+=1;if(f%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 f=this.continueScalar(u+1);if(f===-1)break;u=o.indexOf(`
164
+ `,f)}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 f=this.pos;o=this.buffer[f];++f)switch(o){case" ":a+=1;break;case`
165
+ `:p=f,a=0;break;case"\r":{const m=this.buffer[f+1];if(!m&&!this.atEnd)return this.setNext("block-scalar");if(m===`
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 f=this.continueScalar(p+1);if(f===-1)break;p=this.buffer.indexOf(`
167
+ `,f)}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 f=p-1,m=this.buffer[f];m==="\r"&&(m=this.buffer[--f]);const v=f;for(;m===" ";)m=this.buffer[--f];if(m===`
169
+ `&&f>=this.pos&&f+1+a>v)p=f;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 f=this.buffer[o+1];if(t(f)||p&&r.has(f))break;a=o}else if(t(u)){let f=this.buffer[o+1];if(u==="\r"&&(f===`
170
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===`
171
+ `,f=this.buffer[o+1]):a=o),f==="#"||p&&r.has(f))break;if(u===`
172
+ `){const m=this.continueScalar(o+1);if(m===-1)break;o=Math.max(o,m-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,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(`
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={},Bm;function qv(){if(Bm)return Wo;Bm=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={},Vm;function Lv(){if(Vm)return Yo;Vm=1;var e=mc,t=tl(),i=Iv();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 f of this.lexer.lex(o,u))yield*this.next(f);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 f=`Not a YAML token: ${o}`;yield*this.pop({type:"error",offset:this.offset,message:f,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 f=this.peek(1);switch(u.type==="block-scalar"?u.indent="indent"in f?f.indent:0:u.type==="flow-collection"&&f.type==="document"&&(u.indent=0),u.type==="flow-collection"&&d(u),f.type){case"document":f.value=u;break;case"block-scalar":f.props.push(u);break;case"block-map":{const m=f.items[f.items.length-1];if(m.value){f.items.push({start:[],key:u,sep:[]}),this.onKeyLine=!0;return}else if(m.sep)m.value=u;else{Object.assign(m,{key:u,sep:[]}),this.onKeyLine=!m.explicitKey;return}break}case"block-seq":{const m=f.items[f.items.length-1];m.value?f.items.push({start:[],value:u}):m.value=u;break}case"flow-collection":{const m=f.items[f.items.length-1];!m||m.value?f.items.push({start:[],key:u,sep:[]}):m.sep?m.value=u:Object.assign(m,{key:u,sep:[]});return}default:yield*this.pop(),yield*this.pop(u)}if((f.type==="document"||f.type==="block-map"||f.type==="block-seq")&&(u.type==="block-map"||u.type==="block-seq")){const m=u.items[u.items.length-1];m&&!m.sep&&!m.value&&m.start.length>0&&r(m.start)===-1&&(u.indent===0||m.start.every(v=>v.type!=="comment"||v.indent<u.indent))&&(f.type==="document"?f.end=m.start:f.items.push({start:m.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)),f=l(u);let m;o.end?(m=o.end,m.push(this.sourceToken),delete o.end):m=[this.sourceToken];const v={type:"block-map",offset:o.offset,indent:o.indent,items:[{start:f,key:o,sep:m}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=v}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(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(`
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 f="end"in u.value?u.value.end:void 0;(Array.isArray(f)?f[f.length-1]:void 0)?.type==="comment"?f?.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 m=o.items[o.items.length-2]?.value?.end;if(Array.isArray(m)){Array.prototype.push.apply(m,u.start),m.push(this.sourceToken),o.items.pop();return}}u.start.push(this.sourceToken)}return}if(this.indent>=o.indent){const f=!this.onKeyLine&&this.indent===o.indent,m=f&&(u.sep||u.explicitKey)&&this.type!=="seq-item-ind";let v=[];if(m&&u.sep&&!u.value){const h=[];for(let g=0;g<u.sep.length;++g){const y=u.sep[g];switch(y.type){case"newline":h.push(g);break;case"space":break;case"comment":y.indent>o.indent&&(h.length=0);break;default:h.length=0}}h.length>=2&&(v=u.sep.splice(h[1]))}switch(this.type){case"anchor":case"tag":m||u.value?(v.push(this.sourceToken),o.items.push({start:v}),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):m||u.value?(v.push(this.sourceToken),o.items.push({start:v,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:v,key:null,sep:[this.sourceToken]}]});else if(c(u.key)&&!n(u.sep,"newline")){const h=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:h,key:g,sep:y}]})}else v.length>0?u.sep=u.sep.concat(v,this.sourceToken):u.sep.push(this.sourceToken);else if(n(u.start,"newline"))Object.assign(u,{key:null,sep:[this.sourceToken]});else{const h=l(u.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:h,key:null,sep:[this.sourceToken]}]})}else u.sep?u.value||m?o.items.push({start:v,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 h=this.flowScalar(this.type);m||u.value?(o.items.push({start:v,key:h,sep:[]}),this.onKeyLine=!0):u.sep?this.stack.push(h):(Object.assign(u,{key:h,sep:[]}),this.onKeyLine=!0);return}default:{const h=this.startBlockValue(o);if(h){if(h.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 f&&o.items.push({start:v});this.stack.push(h);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 f="end"in u.value?u.value.end:void 0;(Array.isArray(f)?f[f.length-1]:void 0)?.type==="comment"?f?.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 m=o.items[o.items.length-2]?.value?.end;if(Array.isArray(m)){Array.prototype.push.apply(m,u.start),m.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 f=this.startBlockValue(o);if(f){this.stack.push(f);return}}yield*this.pop(),yield*this.step()}*flowCollection(o){const u=o.items[o.items.length-1];if(this.type==="flow-error-end"){let f;do yield*this.pop(),f=this.peek(1);while(f&&f.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 m=this.flowScalar(this.type);!u||u.value?o.items.push({start:[],key:m,sep:[]}):u.sep?this.stack.push(m):Object.assign(u,{key:m,sep:[]});return}case"flow-map-end":case"flow-seq-end":o.end.push(this.sourceToken);return}const f=this.startBlockValue(o);f?this.stack.push(f):(yield*this.pop(),yield*this.step())}else{const f=this.peek(2);if(f.type==="block-map"&&(this.type==="map-value-ind"&&f.indent===o.indent||this.type==="newline"&&!f.items[f.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&f.type!=="flow-collection"){const m=s(f),v=l(m);d(o);const h=o.end.splice(1,o.end.length);h.push(this.sourceToken);const g={type:"block-map",offset:o.offset,indent:o.indent,items:[{start:v,key:o,sep:h}]};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: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(`
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),f=l(u);return f.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:f,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const u=s(o),f=l(u);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:f,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(o,u){return this.type!=="comment"||this.indent<=u?!1:o.every(f=>f.type==="newline"||f.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 qt={},Km;function v$(){if(Km)return qt;Km=1;var e=Cv(),t=Ca(),i=Ia(),n=vv(),r=oe(),c=qv(),s=Lv();function l(u){const f=u.prettyErrors!==!1;return{lineCounter:u.lineCounter||f&&new c.LineCounter||null,prettyErrors:f}}function d(u,f={}){const{lineCounter:m,prettyErrors:v}=l(f),h=new s.Parser(m?.addNewLine),g=new e.Composer(f),y=Array.from(g.compose(h.parse(u)));if(v&&m)for(const b of y)b.errors.forEach(i.prettifyError(u,m)),b.warnings.forEach(i.prettifyError(u,m));return y.length>0?y:Object.assign([],{empty:!0},g.streamInfo())}function p(u,f={}){const{lineCounter:m,prettyErrors:v}=l(f),h=new s.Parser(m?.addNewLine),g=new e.Composer(f);let y=null;for(const b of g.compose(h.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 v&&m&&(y.errors.forEach(i.prettifyError(u,m)),y.warnings.forEach(i.prettifyError(u,m))),y}function a(u,f,m){let v;typeof f=="function"?v=f:m===void 0&&f&&typeof f=="object"&&(m=f);const h=p(u,m);if(!h)return null;if(h.warnings.forEach(g=>n.warn(h.options.logLevel,g)),h.errors.length>0){if(h.options.logLevel!=="silent")throw h.errors[0];h.errors=[]}return h.toJS(Object.assign({reviver:v},m))}function o(u,f,m){let v=null;if(typeof f=="function"||Array.isArray(f)?v=f:m===void 0&&f&&(m=f),typeof m=="string"&&(m=m.length),typeof m=="number"){const h=Math.round(m);m=h<1?void 0:h>8?{indent:8}:{indent:h}}if(u===void 0){const{keepUndefined:h}=m??f??{};if(!h)return}return r.isDocument(u)&&!v?u.toString(m):new t.Document(u,v,m).toString(m)}return qt.parse=a,qt.parseAllDocuments=d,qt.parseDocument=p,qt.stringify=o,qt}var Gm;function g$(){if(Gm)return ce;Gm=1;var e=Cv(),t=Ca(),i=Av(),n=Ia(),r=Aa(),c=oe(),s=_t(),l=ye(),d=$t(),p=Et(),a=tl(),o=Iv(),u=qv(),f=Lv(),m=v$(),v=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=f.Parser,ce.parse=m.parse,ce.parseAllDocuments=m.parseAllDocuments,ce.parseDocument=m.parseDocument,ce.stringify=m.stringify,ce.visit=v.visit,ce.visitAsync=v.visitAsync,ce}var Dv=g$();class Mv{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{...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
180
+ `);return{...Dv.parse(r),content:i.slice(n+1).join(`
181
+ `)}}else return{content:t}}else return{content:t}}}class y${writePage(t){const{content:i,...n}=t;return n&&Object.keys(n).length>0?`---
182
+ ${Dv.stringify(n)}---
183
+ ${i??""}`:i??""}}const Fv={"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(Fv);const zv={"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(zv);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)},Lt,un,mt;class b${constructor(...t){Lt.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,Lt,"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,Lt,"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,Lt,"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,Lt,"f"),extensions:Ie(this,un,"f")}}}Lt=new WeakMap,un=new WeakMap,mt=new WeakMap;const Uv=new b$(zv,Fv)._freeze(),x$=".cristal",w$=Z.join(Q.app.getPath("home"),x$);function De(){return rw()??w$}function ct(e,...t){return Z.join(De(),e,...t)}function S$(e){return ct(`${e}.md`)}function _$(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(_$(e))}function Bv(e){return Z.join(ca(e),"attachments")}function $$(e,t){return Z.join(Bv(e),t)}async function lt(e){let t;try{t=await te.promises.lstat(e)}catch(i){console.debug(i)}return t?.isFile()}function E$(e,t){const i=Uv.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=Z.basename(Z.dirname(e))=="attachments";return i&&t?E$(e,t):i}async function Vi(e){if(!await lt(e))return!1;const t=De(),i=Z.relative(t,e),n=Z.dirname(i),r=Z.dirname(n),c=Z.basename(n),s=Z.basename(r);return c!="attachments"&&(!s.startsWith(".")||c==="."||s===".")}async function kt(e){let t;try{t=await te.promises.lstat(e)}catch(i){console.debug(i)}return t?.isDirectory()}async function k$(e){return(await te.promises.readdir(e)).length==0}async function Vv(e){try{await te.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 te.promises.readFile(e),n=await te.promises.stat(e),r=i.toString("utf8"),c=new Mv().readPage(r),s=Z.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 R$(e){const t=De();if(!await Gt(t,e))throw new Error(`[${e}] is not in in [${t}]`);if(await kt(e)){const i=await te.promises.readdir(e);return(await Promise.all(i.map(n=>il(Z.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 te.promises.stat(e),n=Uv.getType(e)??"",r=Z.dirname(Z.dirname(e)),c=Z.basename(r),s=Z.dirname(r),l=Z.basename(e);return{type:Hc.ATTACHMENT,value:{id:l,mimetype:n,reference:Z.relative(t,Z.join(s,c,"attachments",l)),href:`${pc}://${Z.relative(t,Z.join(s,c,"attachments",l))}`,date:i.mtime,size:i.size,author:void 0}}}else return}async function Gt(e,t){const i=Z.relative(e,t);return!i.startsWith("../")&&i!==".."}async function Kv(e,t,i){const n=De();if(!await Gt(n,e))throw new Error(`[${e}] is not in in [${n}]`);let r;if(await Vv(e)&&await lt(e)){const l=await te.promises.readFile(e),d=new TextDecoder("utf-8");r=new Mv().readPage(d.decode(l)),r.content=t,r.name=i}else r={name:i,content:t};const c=new y$().writePage(r),s=Z.dirname(e);return await te.promises.mkdir(s,{recursive:!0}),await te.promises.writeFile(e,c,{flag:"w+"}),(await nl(e))?.value}async function A$(e,t){const i=De();if(!await Gt(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 T$(e){return e.includes(".")?e.slice(0,e.lastIndexOf(".")):e}async function P$(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 lt(r)?t.add(T$(n)):await kt(r)&&t.add(n)}}async function O$(e){const t=ct(e),i=new Set;return await kt(t)&&await P$(t,i),Array.from(i)}async function N$(e){const t=[],i=`${ct(e)}.md`;await lt(i)&&t.push(Q.shell.trashItem(i));const n=ca(e);await kt(n)&&t.push(Q.shell.trashItem(n)),await Promise.all(t)}async function Hm(e,t){const i=await Promise.all(e.map(t));return e.filter((n,r)=>i[r])}async function j$(e,t,i){const n=De(),r=(await Zv.readdir(n,{recursive:!0})).map(l=>Z.join(n,l)),c=await Hm(r,async l=>t==uc.ATTACHMENT?Jo(l,i):t==uc.PAGE?Vi(l):await Jo(l,i)||await Vi(l)),s=await Hm(c,async l=>await Jo(l)?Z.basename(l).includes(e):await Vi(l)?Z.basename(Z.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 C$(){await Kv(Z.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 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));
191
+ Enjoy!`,"")}async function I$(e,t,i){const n=`${ct(e)}`,r=`${ct(t)}`;await kt(n)&&i.push(te.promises.rename(n,r))}async function q$(e,t,i){const n=`${ct(e)}.md`,r=ca(e),c=`${ct(t)}.md`,s=ca(t),l=[];await lt(n)&&l.push(te.promises.rename(n,c)),await kt(r)&&l.push(te.promises.rename(r,s)),i&&await I$(e,t,l),await Promise.all(l)}async function L$(){Q.ipcMain.on("initRootDirectory",async()=>{const e=De();(!await Vv(e)||await kt(e)&&await k$(e))&&await C$()}),Q.protocol.handle(pc,async e=>{const t=De(),i=Z.join(t,e.url.substring(`${pc}://`.length));if(!await Gt(t,i))throw new Error(`[${i}] is not in in [${t}]`);return Q.net.fetch(`file://${decodeURIComponent(i)}`)}),Q.ipcMain.handle("resolvePath",(e,{page:t})=>S$(t)),Q.ipcMain.handle("resolveAttachmentsPath",(e,{page:t})=>Bv(t)),Q.ipcMain.handle("readPage",async(e,{path:t})=>(await nl(t))?.value),Q.ipcMain.handle("readAttachments",(e,{path:t})=>R$(t)),Q.ipcMain.handle("readAttachment",async(e,{path:t})=>(await il(t))?.value),Q.ipcMain.handle("savePage",(e,{path:t,content:i,title:n})=>Kv(t,i,n)),Q.ipcMain.handle("resolveAttachmentPath",(e,{page:t,filename:i})=>$$(t,i)),Q.ipcMain.handle("saveAttachment",(e,{path:t,filePath:i})=>A$(t,i)),Q.ipcMain.handle("listChildren",(e,{page:t})=>O$(t)),Q.ipcMain.handle("deletePage",(e,{path:t})=>N$(t)),Q.ipcMain.handle("search",(e,{query:t,type:i,mimetype:n})=>j$(t,i,n)),Q.ipcMain.handle("movePage",(e,{reference:t,newReference:i,preserveChildren:n})=>q$(t,i,n))}const D$=Q.app.requestSingleInstanceLock();D$||(Q.app.quit(),process.exit(0));Q.app.on("second-instance",Xo);Q.app.disableHardwareAcceleration();Q.app.on("window-all-closed",()=>{he.platform!=="darwin"&&Q.app.quit()});process.env.NODE_ENV!=="development"&&(console.debug=()=>{});Q.app.whenReady().then(async()=>{await L$();const e=await Xo();cw(e),l_(e,Ki),S_(e,Ki),N_(e,Ki),nw(),Q.app.on("activate",()=>{Q.BrowserWindow.getAllWindows().length===0&&Xo()})}).catch(e=>console.error("Failed create window:",e));Q.app.whenReady().then(()=>require("electron-updater").autoUpdater.checkForUpdatesAndNotify()).catch(e=>console.error("Failed check and install updates:",e));