@tachybase/plugin-devtools 0.23.48 → 1.0.6

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.
@@ -14,7 +14,7 @@
14
14
  right: 0;
15
15
  top: 0;
16
16
  }
17
- `),Bk=()=>{const{styles:sa}=Iw();return jt.jsxs("div",{className:sa,children:[jt.jsx("div",{className:"open-tab",children:jt.jsx(Ln.Tooltip,{title:"Preview",children:jt.jsx("a",{href:Pw,target:"_blank",rel:"noreferrer",children:jt.jsx(Ln.Button,{size:"small",icon:jt.jsx(ii.RightOutlined,{})})})})}),jt.jsx(Nw,{})]})};class Tw extends Dr.Plugin{load(){return ir(this,null,function*(){this.app.systemSettingsManager.add("devtools",{title:ip("Development Tools"),icon:"ToolOutlined",sort:-20}),this.app.systemSettingsManager.add("devtools.api-doc",{title:ip("API Doc"),icon:"BookOutlined",Component:Bk,aclSnippet:"pm.api-doc.documentation"}),this.app.systemSettingsManager.add("devtools.env",{title:ip("Environment"),icon:"CodeOutlined",Component:Aw}),this.app.systemSettingsManager.add("devtools.middlewaresorder",{title:ip("Middlewares order"),icon:"CodeOutlined",Component:Ow}),this.app.systemSettingsManager.add("devtools.clientrouter",{title:ip("Client router"),icon:"CodeOutlined",Component:op}),this.app.router.add("api-documentation",{path:Pw,Component:Nw})})}}var qk=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function zk(sa){return sa&&sa.__esModule&&Object.prototype.hasOwnProperty.call(sa,"default")?sa.default:sa}var Mw={exports:{}};/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */(function(sa,la){(function(Kn,al){sa.exports=al()})(qk,()=>(()=>{var ca,Kn,al={69119:(_,j)=>{Object.defineProperty(j,"__esModule",{value:!0}),j.BLANK_URL=j.relativeFirstCharacters=j.whitespaceEscapeCharsRegex=j.urlSchemeRegex=j.ctrlCharactersRegex=j.htmlCtrlEntityRegex=j.htmlEntitiesRegex=j.invalidProtocolRegex=void 0,j.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,j.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,j.htmlCtrlEntityRegex=/&(newline|tab);/gi,j.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,j.urlSchemeRegex=/^.+(:|&colon;)/gim,j.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,j.relativeFirstCharacters=[".","/"],j.BLANK_URL="about:blank"},16750:(_,j,s)=>{j.J=void 0;var d=s(69119);function b(f){try{return decodeURIComponent(f)}catch(w){return f}}j.J=function(w){if(!w)return d.BLANK_URL;var m,y,S=b(w);do m=(S=b(S=(y=S,y.replace(d.ctrlCharactersRegex,"").replace(d.htmlEntitiesRegex,function(O,M){return String.fromCharCode(M)})).replace(d.htmlCtrlEntityRegex,"").replace(d.ctrlCharactersRegex,"").replace(d.whitespaceEscapeCharsRegex,"").trim())).match(d.ctrlCharactersRegex)||S.match(d.htmlEntitiesRegex)||S.match(d.htmlCtrlEntityRegex)||S.match(d.whitespaceEscapeCharsRegex);while(m&&m.length>0);var k=S;if(!k)return d.BLANK_URL;if(function(M){return d.relativeFirstCharacters.indexOf(M[0])>-1}(k))return k;var P=k.match(d.urlSchemeRegex);if(!P)return k;var I=P[0];return d.invalidProtocolRegex.test(I)?d.BLANK_URL:k}},67526:(_,j)=>{j.byteLength=function(k){var P=m(k),I=P[0],O=P[1];return 3*(I+O)/4-O},j.toByteArray=function(k){var P,I,O=m(k),M=O[0],z=O[1],V=new b(function(Y,ee,te){return 3*(ee+te)/4-te}(0,M,z)),U=0,$=z>0?M-4:M;for(I=0;I<$;I+=4)P=d[k.charCodeAt(I)]<<18|d[k.charCodeAt(I+1)]<<12|d[k.charCodeAt(I+2)]<<6|d[k.charCodeAt(I+3)],V[U++]=P>>16&255,V[U++]=P>>8&255,V[U++]=255&P;return z===2&&(P=d[k.charCodeAt(I)]<<2|d[k.charCodeAt(I+1)]>>4,V[U++]=255&P),z===1&&(P=d[k.charCodeAt(I)]<<10|d[k.charCodeAt(I+1)]<<4|d[k.charCodeAt(I+2)]>>2,V[U++]=P>>8&255,V[U++]=255&P),V},j.fromByteArray=function(k){for(var P,I=k.length,O=I%3,M=[],z=16383,V=0,U=I-O;V<U;V+=z)M.push(y(k,V,V+z>U?U:V+z));return O===1?(P=k[I-1],M.push(s[P>>2]+s[P<<4&63]+"==")):O===2&&(P=(k[I-2]<<8)+k[I-1],M.push(s[P>>10]+s[P>>4&63]+s[P<<2&63]+"=")),M.join("")};for(var s=[],d=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0;w<64;++w)s[w]=f[w],d[f.charCodeAt(w)]=w;function m(S){var k=S.length;if(k%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=S.indexOf("=");return P===-1&&(P=k),[P,P===k?0:4-P%4]}function y(S,k,P){for(var I,O,M=[],z=k;z<P;z+=3)I=(S[z]<<16&16711680)+(S[z+1]<<8&65280)+(255&S[z+2]),M.push(s[(O=I)>>18&63]+s[O>>12&63]+s[O>>6&63]+s[63&O]);return M.join("")}d[45]=62,d[95]=63},48287:(_,j,s)=>{const d=s(67526),b=s(251),f=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=y,j.SlowBuffer=function(F){return+F!=F&&(F=0),y.alloc(+F)},j.INSPECT_MAX_BYTES=50;const w=2147483647;function m(de){if(de>w)throw new RangeError('The value "'+de+'" is invalid for option "size"');const F=new Uint8Array(de);return Object.setPrototypeOf(F,y.prototype),F}function y(de,F,q){if(typeof de=="number"){if(typeof F=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return P(de)}return S(de,F,q)}function S(de,F,q){if(typeof de=="string")return function(Ie,Xe){if(typeof Xe=="string"&&Xe!==""||(Xe="utf8"),!y.isEncoding(Xe))throw new TypeError("Unknown encoding: "+Xe);const Nt=0|z(Ie,Xe);let ut=m(Nt);const xt=ut.write(Ie,Xe);return xt!==Nt&&(ut=ut.slice(0,xt)),ut}(de,F);if(ArrayBuffer.isView(de))return function(Ie){if(Gt(Ie,Uint8Array)){const Xe=new Uint8Array(Ie);return O(Xe.buffer,Xe.byteOffset,Xe.byteLength)}return I(Ie)}(de);if(de==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de);if(Gt(de,ArrayBuffer)||de&&Gt(de.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Gt(de,SharedArrayBuffer)||de&&Gt(de.buffer,SharedArrayBuffer)))return O(de,F,q);if(typeof de=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Z=de.valueOf&&de.valueOf();if(Z!=null&&Z!==de)return y.from(Z,F,q);const se=function(Ie){if(y.isBuffer(Ie)){const Xe=0|M(Ie.length),Nt=m(Xe);return Nt.length===0||Ie.copy(Nt,0,0,Xe),Nt}if(Ie.length!==void 0)return typeof Ie.length!="number"||nr(Ie.length)?m(0):I(Ie);if(Ie.type==="Buffer"&&Array.isArray(Ie.data))return I(Ie.data)}(de);if(se)return se;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof de[Symbol.toPrimitive]=="function")return y.from(de[Symbol.toPrimitive]("string"),F,q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de)}function k(de){if(typeof de!="number")throw new TypeError('"size" argument must be of type number');if(de<0)throw new RangeError('The value "'+de+'" is invalid for option "size"')}function P(de){return k(de),m(de<0?0:0|M(de))}function I(de){const F=de.length<0?0:0|M(de.length),q=m(F);for(let Z=0;Z<F;Z+=1)q[Z]=255&de[Z];return q}function O(de,F,q){if(F<0||de.byteLength<F)throw new RangeError('"offset" is outside of buffer bounds');if(de.byteLength<F+(q||0))throw new RangeError('"length" is outside of buffer bounds');let Z;return Z=F===void 0&&q===void 0?new Uint8Array(de):q===void 0?new Uint8Array(de,F):new Uint8Array(de,F,q),Object.setPrototypeOf(Z,y.prototype),Z}function M(de){if(de>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return 0|de}function z(de,F){if(y.isBuffer(de))return de.length;if(ArrayBuffer.isView(de)||Gt(de,ArrayBuffer))return de.byteLength;if(typeof de!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof de);const q=de.length,Z=arguments.length>2&&arguments[2]===!0;if(!Z&&q===0)return 0;let se=!1;for(;;)switch(F){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return Qt(de).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*q;case"hex":return q>>>1;case"base64":return pr(de).length;default:if(se)return Z?-1:Qt(de).length;F=(""+F).toLowerCase(),se=!0}}function V(de,F,q){let Z=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0)<=(F>>>=0))return"";for(de||(de="utf8");;)switch(de){case"hex":return p(this,F,q);case"utf8":case"utf-8":return Pe(this,F,q);case"ascii":return ze(this,F,q);case"latin1":case"binary":return qe(this,F,q);case"base64":return le(this,F,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,F,q);default:if(Z)throw new TypeError("Unknown encoding: "+de);de=(de+"").toLowerCase(),Z=!0}}function U(de,F,q){const Z=de[F];de[F]=de[q],de[q]=Z}function $(de,F,q,Z,se){if(de.length===0)return-1;if(typeof q=="string"?(Z=q,q=0):q>2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),nr(q=+q)&&(q=se?0:de.length-1),q<0&&(q=de.length+q),q>=de.length){if(se)return-1;q=de.length-1}else if(q<0){if(!se)return-1;q=0}if(typeof F=="string"&&(F=y.from(F,Z)),y.isBuffer(F))return F.length===0?-1:K(de,F,q,Z,se);if(typeof F=="number")return F&=255,typeof Uint8Array.prototype.indexOf=="function"?se?Uint8Array.prototype.indexOf.call(de,F,q):Uint8Array.prototype.lastIndexOf.call(de,F,q):K(de,[F],q,Z,se);throw new TypeError("val must be string, number or Buffer")}function K(de,F,q,Z,se){let ve,Ie=1,Xe=de.length,Nt=F.length;if(Z!==void 0&&((Z=String(Z).toLowerCase())==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(de.length<2||F.length<2)return-1;Ie=2,Xe/=2,Nt/=2,q/=2}function ut(xt,Ct){return Ie===1?xt[Ct]:xt.readUInt16BE(Ct*Ie)}if(se){let xt=-1;for(ve=q;ve<Xe;ve++)if(ut(de,ve)===ut(F,xt===-1?0:ve-xt)){if(xt===-1&&(xt=ve),ve-xt+1===Nt)return xt*Ie}else xt!==-1&&(ve-=ve-xt),xt=-1}else for(q+Nt>Xe&&(q=Xe-Nt),ve=q;ve>=0;ve--){let xt=!0;for(let Ct=0;Ct<Nt;Ct++)if(ut(de,ve+Ct)!==ut(F,Ct)){xt=!1;break}if(xt)return ve}return-1}function Y(de,F,q,Z){q=Number(q)||0;const se=de.length-q;Z?(Z=Number(Z))>se&&(Z=se):Z=se;const ve=F.length;let Ie;for(Z>ve/2&&(Z=ve/2),Ie=0;Ie<Z;++Ie){const Xe=parseInt(F.substr(2*Ie,2),16);if(nr(Xe))return Ie;de[q+Ie]=Xe}return Ie}function ee(de,F,q,Z){return St(Qt(F,de.length-q),de,q,Z)}function te(de,F,q,Z){return St(function(ve){const Ie=[];for(let Xe=0;Xe<ve.length;++Xe)Ie.push(255&ve.charCodeAt(Xe));return Ie}(F),de,q,Z)}function ke(de,F,q,Z){return St(pr(F),de,q,Z)}function ue(de,F,q,Z){return St(function(ve,Ie){let Xe,Nt,ut;const xt=[];for(let Ct=0;Ct<ve.length&&!((Ie-=2)<0);++Ct)Xe=ve.charCodeAt(Ct),Nt=Xe>>8,ut=Xe%256,xt.push(ut),xt.push(Nt);return xt}(F,de.length-q),de,q,Z)}function le(de,F,q){return F===0&&q===de.length?d.fromByteArray(de):d.fromByteArray(de.slice(F,q))}function Pe(de,F,q){q=Math.min(de.length,q);const Z=[];let se=F;for(;se<q;){const ve=de[se];let Ie=null,Xe=ve>239?4:ve>223?3:ve>191?2:1;if(se+Xe<=q){let Nt,ut,xt,Ct;switch(Xe){case 1:ve<128&&(Ie=ve);break;case 2:Nt=de[se+1],(192&Nt)==128&&(Ct=(31&ve)<<6|63&Nt,Ct>127&&(Ie=Ct));break;case 3:Nt=de[se+1],ut=de[se+2],(192&Nt)==128&&(192&ut)==128&&(Ct=(15&ve)<<12|(63&Nt)<<6|63&ut,Ct>2047&&(Ct<55296||Ct>57343)&&(Ie=Ct));break;case 4:Nt=de[se+1],ut=de[se+2],xt=de[se+3],(192&Nt)==128&&(192&ut)==128&&(192&xt)==128&&(Ct=(15&ve)<<18|(63&Nt)<<12|(63&ut)<<6|63&xt,Ct>65535&&Ct<1114112&&(Ie=Ct))}}Ie===null?(Ie=65533,Xe=1):Ie>65535&&(Ie-=65536,Z.push(Ie>>>10&1023|55296),Ie=56320|1023&Ie),Z.push(Ie),se+=Xe}return function(Ie){const Xe=Ie.length;if(Xe<=Fe)return String.fromCharCode.apply(String,Ie);let Nt="",ut=0;for(;ut<Xe;)Nt+=String.fromCharCode.apply(String,Ie.slice(ut,ut+=Fe));return Nt}(Z)}j.kMaxLength=w,y.TYPED_ARRAY_SUPPORT=function(){try{const F=new Uint8Array(1),q={foo:function(){return 42}};return Object.setPrototypeOf(q,Uint8Array.prototype),Object.setPrototypeOf(F,q),F.foo()===42}catch(F){return!1}}(),y.TYPED_ARRAY_SUPPORT||typeof console=="undefined"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}}),y.poolSize=8192,y.from=function(de,F,q){return S(de,F,q)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array),y.alloc=function(de,F,q){return function(se,ve,Ie){return k(se),se<=0?m(se):ve!==void 0?typeof Ie=="string"?m(se).fill(ve,Ie):m(se).fill(ve):m(se)}(de,F,q)},y.allocUnsafe=function(de){return P(de)},y.allocUnsafeSlow=function(de){return P(de)},y.isBuffer=function(F){return F!=null&&F._isBuffer===!0&&F!==y.prototype},y.compare=function(F,q){if(Gt(F,Uint8Array)&&(F=y.from(F,F.offset,F.byteLength)),Gt(q,Uint8Array)&&(q=y.from(q,q.offset,q.byteLength)),!y.isBuffer(F)||!y.isBuffer(q))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(F===q)return 0;let Z=F.length,se=q.length;for(let ve=0,Ie=Math.min(Z,se);ve<Ie;++ve)if(F[ve]!==q[ve]){Z=F[ve],se=q[ve];break}return Z<se?-1:se<Z?1:0},y.isEncoding=function(F){switch(String(F).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(F,q){if(!Array.isArray(F))throw new TypeError('"list" argument must be an Array of Buffers');if(F.length===0)return y.alloc(0);let Z;if(q===void 0)for(q=0,Z=0;Z<F.length;++Z)q+=F[Z].length;const se=y.allocUnsafe(q);let ve=0;for(Z=0;Z<F.length;++Z){let Ie=F[Z];if(Gt(Ie,Uint8Array))ve+Ie.length>se.length?(y.isBuffer(Ie)||(Ie=y.from(Ie)),Ie.copy(se,ve)):Uint8Array.prototype.set.call(se,Ie,ve);else{if(!y.isBuffer(Ie))throw new TypeError('"list" argument must be an Array of Buffers');Ie.copy(se,ve)}ve+=Ie.length}return se},y.byteLength=z,y.prototype._isBuffer=!0,y.prototype.swap16=function(){const F=this.length;if(F%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let q=0;q<F;q+=2)U(this,q,q+1);return this},y.prototype.swap32=function(){const F=this.length;if(F%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let q=0;q<F;q+=4)U(this,q,q+3),U(this,q+1,q+2);return this},y.prototype.swap64=function(){const F=this.length;if(F%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let q=0;q<F;q+=8)U(this,q,q+7),U(this,q+1,q+6),U(this,q+2,q+5),U(this,q+3,q+4);return this},y.prototype.toString=function(){const F=this.length;return F===0?"":arguments.length===0?Pe(this,0,F):V.apply(this,arguments)},y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=function(F){if(!y.isBuffer(F))throw new TypeError("Argument must be a Buffer");return this===F||y.compare(this,F)===0},y.prototype.inspect=function(){let F="";const q=j.INSPECT_MAX_BYTES;return F=this.toString("hex",0,q).replace(/(.{2})/g,"$1 ").trim(),this.length>q&&(F+=" ... "),"<Buffer "+F+">"},f&&(y.prototype[f]=y.prototype.inspect),y.prototype.compare=function(F,q,Z,se,ve){if(Gt(F,Uint8Array)&&(F=y.from(F,F.offset,F.byteLength)),!y.isBuffer(F))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof F);if(q===void 0&&(q=0),Z===void 0&&(Z=F?F.length:0),se===void 0&&(se=0),ve===void 0&&(ve=this.length),q<0||Z>F.length||se<0||ve>this.length)throw new RangeError("out of range index");if(se>=ve&&q>=Z)return 0;if(se>=ve)return-1;if(q>=Z)return 1;if(this===F)return 0;let Ie=(ve>>>=0)-(se>>>=0),Xe=(Z>>>=0)-(q>>>=0);const Nt=Math.min(Ie,Xe),ut=this.slice(se,ve),xt=F.slice(q,Z);for(let Ct=0;Ct<Nt;++Ct)if(ut[Ct]!==xt[Ct]){Ie=ut[Ct],Xe=xt[Ct];break}return Ie<Xe?-1:Xe<Ie?1:0},y.prototype.includes=function(F,q,Z){return this.indexOf(F,q,Z)!==-1},y.prototype.indexOf=function(F,q,Z){return $(this,F,q,Z,!0)},y.prototype.lastIndexOf=function(F,q,Z){return $(this,F,q,Z,!1)},y.prototype.write=function(F,q,Z,se){if(q===void 0)se="utf8",Z=this.length,q=0;else if(Z===void 0&&typeof q=="string")se=q,Z=this.length,q=0;else{if(!isFinite(q))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");q>>>=0,isFinite(Z)?(Z>>>=0,se===void 0&&(se="utf8")):(se=Z,Z=void 0)}const ve=this.length-q;if((Z===void 0||Z>ve)&&(Z=ve),F.length>0&&(Z<0||q<0)||q>this.length)throw new RangeError("Attempt to write outside buffer bounds");se||(se="utf8");let Ie=!1;for(;;)switch(se){case"hex":return Y(this,F,q,Z);case"utf8":case"utf-8":return ee(this,F,q,Z);case"ascii":case"latin1":case"binary":return te(this,F,q,Z);case"base64":return ke(this,F,q,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,F,q,Z);default:if(Ie)throw new TypeError("Unknown encoding: "+se);se=(""+se).toLowerCase(),Ie=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Fe=4096;function ze(de,F,q){let Z="";q=Math.min(de.length,q);for(let se=F;se<q;++se)Z+=String.fromCharCode(127&de[se]);return Z}function qe(de,F,q){let Z="";q=Math.min(de.length,q);for(let se=F;se<q;++se)Z+=String.fromCharCode(de[se]);return Z}function p(de,F,q){const Z=de.length;(!F||F<0)&&(F=0),(!q||q<0||q>Z)&&(q=Z);let se="";for(let ve=F;ve<q;++ve)se+=_t[de[ve]];return se}function at(de,F,q){const Z=de.slice(F,q);let se="";for(let ve=0;ve<Z.length-1;ve+=2)se+=String.fromCharCode(Z[ve]+256*Z[ve+1]);return se}function De(de,F,q){if(de%1!=0||de<0)throw new RangeError("offset is not uint");if(de+F>q)throw new RangeError("Trying to access beyond buffer length")}function Ve(de,F,q,Z,se,ve){if(!y.isBuffer(de))throw new TypeError('"buffer" argument must be a Buffer instance');if(F>se||F<ve)throw new RangeError('"value" argument is out of bounds');if(q+Z>de.length)throw new RangeError("Index out of range")}function ct(de,F,q,Z,se){xe(F,Z,se,de,q,7);let ve=Number(F&BigInt(4294967295));de[q++]=ve,ve>>=8,de[q++]=ve,ve>>=8,de[q++]=ve,ve>>=8,de[q++]=ve;let Ie=Number(F>>BigInt(32)&BigInt(4294967295));return de[q++]=Ie,Ie>>=8,de[q++]=Ie,Ie>>=8,de[q++]=Ie,Ie>>=8,de[q++]=Ie,q}function He(de,F,q,Z,se){xe(F,Z,se,de,q,7);let ve=Number(F&BigInt(4294967295));de[q+7]=ve,ve>>=8,de[q+6]=ve,ve>>=8,de[q+5]=ve,ve>>=8,de[q+4]=ve;let Ie=Number(F>>BigInt(32)&BigInt(4294967295));return de[q+3]=Ie,Ie>>=8,de[q+2]=Ie,Ie>>=8,de[q+1]=Ie,Ie>>=8,de[q]=Ie,q+8}function Se(de,F,q,Z,se,ve){if(q+Z>de.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("Index out of range")}function Me(de,F,q,Z,se){return F=+F,q>>>=0,se||Se(de,0,q,4),b.write(de,F,q,Z,23,4),q+4}function rt(de,F,q,Z,se){return F=+F,q>>>=0,se||Se(de,0,q,8),b.write(de,F,q,Z,52,8),q+8}y.prototype.slice=function(F,q){const Z=this.length;(F=~~F)<0?(F+=Z)<0&&(F=0):F>Z&&(F=Z),(q=q===void 0?Z:~~q)<0?(q+=Z)<0&&(q=0):q>Z&&(q=Z),q<F&&(q=F);const se=this.subarray(F,q);return Object.setPrototypeOf(se,y.prototype),se},y.prototype.readUintLE=y.prototype.readUIntLE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=this[F],ve=1,Ie=0;for(;++Ie<q&&(ve*=256);)se+=this[F+Ie]*ve;return se},y.prototype.readUintBE=y.prototype.readUIntBE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=this[F+--q],ve=1;for(;q>0&&(ve*=256);)se+=this[F+--q]*ve;return se},y.prototype.readUint8=y.prototype.readUInt8=function(F,q){return F>>>=0,q||De(F,1,this.length),this[F]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(F,q){return F>>>=0,q||De(F,2,this.length),this[F]|this[F+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(F,q){return F>>>=0,q||De(F,2,this.length),this[F]<<8|this[F+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(F,q){return F>>>=0,q||De(F,4,this.length),(this[F]|this[F+1]<<8|this[F+2]<<16)+16777216*this[F+3]},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(F,q){return F>>>=0,q||De(F,4,this.length),16777216*this[F]+(this[F+1]<<16|this[F+2]<<8|this[F+3])},y.prototype.readBigUInt64LE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=q+256*this[++F]+65536*this[++F]+this[++F]*nl(2,24),ve=this[++F]+256*this[++F]+65536*this[++F]+Z*nl(2,24);return BigInt(se)+(BigInt(ve)<<BigInt(32))}),y.prototype.readBigUInt64BE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=q*nl(2,24)+65536*this[++F]+256*this[++F]+this[++F],ve=this[++F]*nl(2,24)+65536*this[++F]+256*this[++F]+Z;return(BigInt(se)<<BigInt(32))+BigInt(ve)}),y.prototype.readIntLE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=this[F],ve=1,Ie=0;for(;++Ie<q&&(ve*=256);)se+=this[F+Ie]*ve;return ve*=128,se>=ve&&(se-=Math.pow(2,8*q)),se},y.prototype.readIntBE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=q,ve=1,Ie=this[F+--se];for(;se>0&&(ve*=256);)Ie+=this[F+--se]*ve;return ve*=128,Ie>=ve&&(Ie-=Math.pow(2,8*q)),Ie},y.prototype.readInt8=function(F,q){return F>>>=0,q||De(F,1,this.length),128&this[F]?-1*(255-this[F]+1):this[F]},y.prototype.readInt16LE=function(F,q){F>>>=0,q||De(F,2,this.length);const Z=this[F]|this[F+1]<<8;return 32768&Z?4294901760|Z:Z},y.prototype.readInt16BE=function(F,q){F>>>=0,q||De(F,2,this.length);const Z=this[F+1]|this[F]<<8;return 32768&Z?4294901760|Z:Z},y.prototype.readInt32LE=function(F,q){return F>>>=0,q||De(F,4,this.length),this[F]|this[F+1]<<8|this[F+2]<<16|this[F+3]<<24},y.prototype.readInt32BE=function(F,q){return F>>>=0,q||De(F,4,this.length),this[F]<<24|this[F+1]<<16|this[F+2]<<8|this[F+3]},y.prototype.readBigInt64LE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=this[F+4]+256*this[F+5]+65536*this[F+6]+(Z<<24);return(BigInt(se)<<BigInt(32))+BigInt(q+256*this[++F]+65536*this[++F]+this[++F]*16777216)}),y.prototype.readBigInt64BE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=(q<<24)+65536*this[++F]+256*this[++F]+this[++F];return(BigInt(se)<<BigInt(32))+BigInt(this[++F]*16777216+65536*this[++F]+256*this[++F]+Z)}),y.prototype.readFloatLE=function(F,q){return F>>>=0,q||De(F,4,this.length),b.read(this,F,!0,23,4)},y.prototype.readFloatBE=function(F,q){return F>>>=0,q||De(F,4,this.length),b.read(this,F,!1,23,4)},y.prototype.readDoubleLE=function(F,q){return F>>>=0,q||De(F,8,this.length),b.read(this,F,!0,52,8)},y.prototype.readDoubleBE=function(F,q){return F>>>=0,q||De(F,8,this.length),b.read(this,F,!1,52,8)},y.prototype.writeUintLE=y.prototype.writeUIntLE=function(F,q,Z,se){F=+F,q>>>=0,Z>>>=0,!se&&Ve(this,F,q,Z,Math.pow(2,8*Z)-1,0);let ve=1,Ie=0;for(this[q]=255&F;++Ie<Z&&(ve*=256);)this[q+Ie]=F/ve&255;return q+Z},y.prototype.writeUintBE=y.prototype.writeUIntBE=function(F,q,Z,se){F=+F,q>>>=0,Z>>>=0,!se&&Ve(this,F,q,Z,Math.pow(2,8*Z)-1,0);let ve=Z-1,Ie=1;for(this[q+ve]=255&F;--ve>=0&&(Ie*=256);)this[q+ve]=F/Ie&255;return q+Z},y.prototype.writeUint8=y.prototype.writeUInt8=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,1,255,0),this[q]=255&F,q+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,65535,0),this[q]=255&F,this[q+1]=F>>>8,q+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,65535,0),this[q]=F>>>8,this[q+1]=255&F,q+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,4294967295,0),this[q+3]=F>>>24,this[q+2]=F>>>16,this[q+1]=F>>>8,this[q]=255&F,q+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,4294967295,0),this[q]=F>>>24,this[q+1]=F>>>16,this[q+2]=F>>>8,this[q+3]=255&F,q+4},y.prototype.writeBigUInt64LE=mt(function(F,q=0){return ct(this,F,q,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=mt(function(F,q=0){return He(this,F,q,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(F,q,Z,se){if(F=+F,q>>>=0,!se){const Nt=Math.pow(2,8*Z-1);Ve(this,F,q,Z,Nt-1,-Nt)}let ve=0,Ie=1,Xe=0;for(this[q]=255&F;++ve<Z&&(Ie*=256);)F<0&&Xe===0&&this[q+ve-1]!==0&&(Xe=1),this[q+ve]=(F/Ie|0)-Xe&255;return q+Z},y.prototype.writeIntBE=function(F,q,Z,se){if(F=+F,q>>>=0,!se){const Nt=Math.pow(2,8*Z-1);Ve(this,F,q,Z,Nt-1,-Nt)}let ve=Z-1,Ie=1,Xe=0;for(this[q+ve]=255&F;--ve>=0&&(Ie*=256);)F<0&&Xe===0&&this[q+ve+1]!==0&&(Xe=1),this[q+ve]=(F/Ie|0)-Xe&255;return q+Z},y.prototype.writeInt8=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,1,127,-128),F<0&&(F=255+F+1),this[q]=255&F,q+1},y.prototype.writeInt16LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,32767,-32768),this[q]=255&F,this[q+1]=F>>>8,q+2},y.prototype.writeInt16BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,32767,-32768),this[q]=F>>>8,this[q+1]=255&F,q+2},y.prototype.writeInt32LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,2147483647,-2147483648),this[q]=255&F,this[q+1]=F>>>8,this[q+2]=F>>>16,this[q+3]=F>>>24,q+4},y.prototype.writeInt32BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,2147483647,-2147483648),F<0&&(F=4294967295+F+1),this[q]=F>>>24,this[q+1]=F>>>16,this[q+2]=F>>>8,this[q+3]=255&F,q+4},y.prototype.writeBigInt64LE=mt(function(F,q=0){return ct(this,F,q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=mt(function(F,q=0){return He(this,F,q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeFloatLE=function(F,q,Z){return Me(this,F,q,!0,Z)},y.prototype.writeFloatBE=function(F,q,Z){return Me(this,F,q,!1,Z)},y.prototype.writeDoubleLE=function(F,q,Z){return rt(this,F,q,!0,Z)},y.prototype.writeDoubleBE=function(F,q,Z){return rt(this,F,q,!1,Z)},y.prototype.copy=function(F,q,Z,se){if(!y.isBuffer(F))throw new TypeError("argument should be a Buffer");if(Z||(Z=0),se||se===0||(se=this.length),q>=F.length&&(q=F.length),q||(q=0),se>0&&se<Z&&(se=Z),se===Z||F.length===0||this.length===0)return 0;if(q<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("sourceEnd out of bounds");se>this.length&&(se=this.length),F.length-q<se-Z&&(se=F.length-q+Z);const ve=se-Z;return this===F&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(q,Z,se):Uint8Array.prototype.set.call(F,this.subarray(Z,se),q),ve},y.prototype.fill=function(F,q,Z,se){if(typeof F=="string"){if(typeof q=="string"?(se=q,q=0,Z=this.length):typeof Z=="string"&&(se=Z,Z=this.length),se!==void 0&&typeof se!="string")throw new TypeError("encoding must be a string");if(typeof se=="string"&&!y.isEncoding(se))throw new TypeError("Unknown encoding: "+se);if(F.length===1){const Ie=F.charCodeAt(0);(se==="utf8"&&Ie<128||se==="latin1")&&(F=Ie)}}else typeof F=="number"?F&=255:typeof F=="boolean"&&(F=Number(F));if(q<0||this.length<q||this.length<Z)throw new RangeError("Out of range index");if(Z<=q)return this;let ve;if(q>>>=0,Z=Z===void 0?this.length:Z>>>0,F||(F=0),typeof F=="number")for(ve=q;ve<Z;++ve)this[ve]=F;else{const Ie=y.isBuffer(F)?F:y.from(F,se),Xe=Ie.length;if(Xe===0)throw new TypeError('The value "'+F+'" is invalid for argument "value"');for(ve=0;ve<Z-q;++ve)this[ve+q]=Ie[ve%Xe]}return this};const ce={};function Ke(de,F,q){ce[de]=class extends q{constructor(){super(),Object.defineProperty(this,"message",{value:F.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${de}]`,this.stack,delete this.name}get code(){return de}set code(se){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:se,writable:!0})}toString(){return`${this.name} [${de}]: ${this.message}`}}}function Et(de){let F="",q=de.length;const Z=de[0]==="-"?1:0;for(;q>=Z+4;q-=3)F=`_${de.slice(q-3,q)}${F}`;return`${de.slice(0,q)}${F}`}function xe(de,F,q,Z,se,ve){if(de>q||de<F){const Ie=typeof F=="bigint"?"n":"";let Xe;throw Xe=F===0||F===BigInt(0)?`>= 0${Ie} and < 2${Ie} ** ${8*(ve+1)}${Ie}`:`>= -(2${Ie} ** ${8*(ve+1)-1}${Ie}) and < 2 ** ${8*(ve+1)-1}${Ie}`,new ce.ERR_OUT_OF_RANGE("value",Xe,de)}(function(Xe,Nt,ut){we(Nt,"offset"),Xe[Nt]!==void 0&&Xe[Nt+ut]!==void 0||tt(Nt,Xe.length-(ut+1))})(Z,se,ve)}function we(de,F){if(typeof de!="number")throw new ce.ERR_INVALID_ARG_TYPE(F,"number",de)}function tt(de,F,q){throw Math.floor(de)!==de?(we(de,q),new ce.ERR_OUT_OF_RANGE("offset","an integer",de)):F<0?new ce.ERR_BUFFER_OUT_OF_BOUNDS:new ce.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${F}`,de)}Ke("ERR_BUFFER_OUT_OF_BOUNDS",function(de){return de?`${de} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ke("ERR_INVALID_ARG_TYPE",function(de,F){return`The "${de}" argument must be of type number. Received type ${typeof F}`},TypeError),Ke("ERR_OUT_OF_RANGE",function(de,F,q){let Z=`The value of "${de}" is out of range.`,se=q;return Number.isInteger(q)&&Math.abs(q)>4294967296?se=Et(String(q)):typeof q=="bigint"&&(se=String(q),(q>nl(BigInt(2),BigInt(32))||q<-nl(BigInt(2),BigInt(32)))&&(se=Et(se)),se+="n"),Z+=` It must be ${F}. Received ${se}`,Z},RangeError);const ot=/[^+/0-9A-Za-z-_]/g;function Qt(de,F){let q;F=F||1/0;const Z=de.length;let se=null;const ve=[];for(let Ie=0;Ie<Z;++Ie){if(q=de.charCodeAt(Ie),q>55295&&q<57344){if(!se){if(q>56319){(F-=3)>-1&&ve.push(239,191,189);continue}if(Ie+1===Z){(F-=3)>-1&&ve.push(239,191,189);continue}se=q;continue}if(q<56320){(F-=3)>-1&&ve.push(239,191,189),se=q;continue}q=65536+(se-55296<<10|q-56320)}else se&&(F-=3)>-1&&ve.push(239,191,189);if(se=null,q<128){if((F-=1)<0)break;ve.push(q)}else if(q<2048){if((F-=2)<0)break;ve.push(q>>6|192,63&q|128)}else if(q<65536){if((F-=3)<0)break;ve.push(q>>12|224,q>>6&63|128,63&q|128)}else{if(!(q<1114112))throw new Error("Invalid code point");if((F-=4)<0)break;ve.push(q>>18|240,q>>12&63|128,q>>6&63|128,63&q|128)}}return ve}function pr(de){return d.toByteArray(function(q){if((q=(q=q.split("=")[0]).trim().replace(ot,"")).length<2)return"";for(;q.length%4!=0;)q+="=";return q}(de))}function St(de,F,q,Z){let se;for(se=0;se<Z&&!(se+q>=F.length||se>=de.length);++se)F[se+q]=de[se];return se}function Gt(de,F){return de instanceof F||de!=null&&de.constructor!=null&&de.constructor.name!=null&&de.constructor.name===F.name}function nr(de){return de!=de}const _t=function(){const de="0123456789abcdef",F=new Array(256);for(let q=0;q<16;++q){const Z=16*q;for(let se=0;se<16;++se)F[Z+se]=de[q]+de[se]}return F}();function mt(de){return typeof BigInt=="undefined"?Ft:de}function Ft(){throw new Error("BigInt not supported")}},17965:(_,j,s)=>{var d=s(16426),b={"text/plain":"Text","text/html":"Url",default:"Text"};_.exports=function(w,m){var y,S,k,P,I,O,M=!1;m||(m={}),y=m.debug||!1;try{if(k=d(),P=document.createRange(),I=document.getSelection(),(O=document.createElement("span")).textContent=w,O.ariaHidden="true",O.style.all="unset",O.style.position="fixed",O.style.top=0,O.style.clip="rect(0, 0, 0, 0)",O.style.whiteSpace="pre",O.style.webkitUserSelect="text",O.style.MozUserSelect="text",O.style.msUserSelect="text",O.style.userSelect="text",O.addEventListener("copy",function(z){if(z.stopPropagation(),m.format)if(z.preventDefault(),z.clipboardData===void 0){y&&console.warn("unable to use e.clipboardData"),y&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var V=b[m.format]||b.default;window.clipboardData.setData(V,w)}else z.clipboardData.clearData(),z.clipboardData.setData(m.format,w);m.onCopy&&(z.preventDefault(),m.onCopy(z.clipboardData))}),document.body.appendChild(O),P.selectNodeContents(O),I.addRange(P),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");M=!0}catch(z){y&&console.error("unable to copy using execCommand: ",z),y&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",w),m.onCopy&&m.onCopy(window.clipboardData),M=!0}catch(V){y&&console.error("unable to copy using clipboardData: ",V),y&&console.error("falling back to prompt"),S=function($){var K=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return $.replace(/#{\s*key\s*}/g,K)}("message"in m?m.message:"Copy to clipboard: #{key}, Enter"),window.prompt(S,w)}}finally{I&&(typeof I.removeRange=="function"?I.removeRange(P):I.removeAllRanges()),O&&document.body.removeChild(O),k()}return M}},2205:function(_,j,s){var d;d=s.g!==void 0?s.g:this,_.exports=function(b){if(b.CSS&&b.CSS.escape)return b.CSS.escape;var f=function(w){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var m,y=String(w),S=y.length,k=-1,P="",I=y.charCodeAt(0);++k<S;)(m=y.charCodeAt(k))!=0?P+=m>=1&&m<=31||m==127||k==0&&m>=48&&m<=57||k==1&&m>=48&&m<=57&&I==45?"\\"+m.toString(16)+" ":k==0&&S==1&&m==45||!(m>=128||m==45||m==95||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122)?"\\"+y.charAt(k):y.charAt(k):P+="�";return P};return b.CSS||(b.CSS={}),b.CSS.escape=f,f}(d)},81919:(_,j,s)=>{var d=s(48287).Buffer;function b(S){return S instanceof d||S instanceof Date||S instanceof RegExp}function f(S){if(S instanceof d){var k=d.alloc?d.alloc(S.length):new d(S.length);return S.copy(k),k}if(S instanceof Date)return new Date(S.getTime());if(S instanceof RegExp)return new RegExp(S);throw new Error("Unexpected situation")}function w(S){var k=[];return S.forEach(function(P,I){typeof P=="object"&&P!==null?Array.isArray(P)?k[I]=w(P):b(P)?k[I]=f(P):k[I]=y({},P):k[I]=P}),k}function m(S,k){return k==="__proto__"?void 0:S[k]}var y=_.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var S,k,P=arguments[0];return Array.prototype.slice.call(arguments,1).forEach(function(I){typeof I!="object"||I===null||Array.isArray(I)||Object.keys(I).forEach(function(O){return k=m(P,O),(S=m(I,O))===P?void 0:typeof S!="object"||S===null?void(P[O]=S):Array.isArray(S)?void(P[O]=w(S)):b(S)?void(P[O]=f(S)):typeof k!="object"||k===null||Array.isArray(k)?void(P[O]=y({},S)):void(P[O]=y(k,S))})}),P}},14744:_=>{var j=function(P){return function(O){return!!O&&typeof O=="object"}(P)&&!function(O){var M=Object.prototype.toString.call(O);return M==="[object RegExp]"||M==="[object Date]"||function(V){return V.$$typeof===s}(O)}(P)},s=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function d(k,P){return P.clone!==!1&&P.isMergeableObject(k)?y(function(O){return Array.isArray(O)?[]:{}}(k),k,P):k}function b(k,P,I){return k.concat(P).map(function(O){return d(O,I)})}function f(k){return Object.keys(k).concat(function(I){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(I).filter(function(O){return Object.propertyIsEnumerable.call(I,O)}):[]}(k))}function w(k,P){try{return P in k}catch(I){return!1}}function m(k,P,I){var O={};return I.isMergeableObject(k)&&f(k).forEach(function(M){O[M]=d(k[M],I)}),f(P).forEach(function(M){(function(V,U){return w(V,U)&&!(Object.hasOwnProperty.call(V,U)&&Object.propertyIsEnumerable.call(V,U))})(k,M)||(w(k,M)&&I.isMergeableObject(P[M])?O[M]=function(V,U){if(!U.customMerge)return y;var $=U.customMerge(V);return typeof $=="function"?$:y}(M,I)(k[M],P[M],I):O[M]=d(P[M],I))}),O}function y(k,P,I){(I=I||{}).arrayMerge=I.arrayMerge||b,I.isMergeableObject=I.isMergeableObject||j,I.cloneUnlessOtherwiseSpecified=d;var O=Array.isArray(P);return O===Array.isArray(k)?O?I.arrayMerge(k,P,I):m(k,P,I):d(P,I)}y.all=function(P,I){if(!Array.isArray(P))throw new Error("first argument should be an array");return P.reduce(function(O,M){return y(O,M,I)},{})};var S=y;_.exports=S},42838:function(_){_.exports=function(){const{entries:j,setPrototypeOf:s,isFrozen:d,getPrototypeOf:b,getOwnPropertyDescriptor:f}=Object;let{freeze:w,seal:m,create:y}=Object,{apply:S,construct:k}=typeof Reflect!="undefined"&&Reflect;w||(w=function(q){return q}),m||(m=function(q){return q}),S||(S=function(q,Z,se){return q.apply(Z,se)}),k||(k=function(q,Z){return new q(...Z)});const P=ke(Array.prototype.forEach),I=ke(Array.prototype.pop),O=ke(Array.prototype.push),M=ke(String.prototype.toLowerCase),z=ke(String.prototype.toString),V=ke(String.prototype.match),U=ke(String.prototype.replace),$=ke(String.prototype.indexOf),K=ke(String.prototype.trim),Y=ke(Object.prototype.hasOwnProperty),ee=ke(RegExp.prototype.test),te=ue(TypeError);function ke(F){return function(q){for(var Z=arguments.length,se=new Array(Z>1?Z-1:0),ve=1;ve<Z;ve++)se[ve-1]=arguments[ve];return S(F,q,se)}}function ue(F){return function(){for(var q=arguments.length,Z=new Array(q),se=0;se<q;se++)Z[se]=arguments[se];return k(F,Z)}}function le(F,q){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M;s&&s(F,null);let se=q.length;for(;se--;){let ve=q[se];if(typeof ve=="string"){const Ie=Z(ve);Ie!==ve&&(d(q)||(q[se]=Ie),ve=Ie)}F[ve]=!0}return F}function Pe(F){for(let q=0;q<F.length;q++)Y(F,q)||(F[q]=null);return F}function Fe(F){const q=y(null);for(const[Z,se]of j(F))Y(F,Z)&&(Array.isArray(se)?q[Z]=Pe(se):se&&typeof se=="object"&&se.constructor===Object?q[Z]=Fe(se):q[Z]=se);return q}function ze(F,q){for(;F!==null;){const se=f(F,q);if(se){if(se.get)return ke(se.get);if(typeof se.value=="function")return ke(se.value)}F=b(F)}function Z(){return null}return Z}const qe=w(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),p=w(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),at=w(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),De=w(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ve=w(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ct=w(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),He=w(["#text"]),Se=w(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Me=w(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),rt=w(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=w(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ke=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Et=m(/<%[\w\W]*|[\w\W]*%>/gm),xe=m(/\${[\w\W]*}/gm),we=m(/^data-[\-\w.\u00B7-\uFFFF]/),tt=m(/^aria-[\-\w]+$/),ot=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qt=m(/^(?:\w+script|data):/i),pr=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),St=m(/^html$/i),Gt=m(/^[a-z][.\w]*(-[.\w]+)+$/i);var nr=Object.freeze({__proto__:null,MUSTACHE_EXPR:Ke,ERB_EXPR:Et,TMPLIT_EXPR:xe,DATA_ATTR:we,ARIA_ATTR:tt,IS_ALLOWED_URI:ot,IS_SCRIPT_OR_DATA:Qt,ATTR_WHITESPACE:pr,DOCTYPE_NAME:St,CUSTOM_ELEMENT:Gt});const _t={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},mt=function(){return typeof window=="undefined"?null:window},Ft=function(q,Z){if(typeof q!="object"||typeof q.createPolicy!="function")return null;let se=null;const ve="data-tt-policy-suffix";Z&&Z.hasAttribute(ve)&&(se=Z.getAttribute(ve));const Ie="dompurify"+(se?"#"+se:"");try{return q.createPolicy(Ie,{createHTML:Xe=>Xe,createScriptURL:Xe=>Xe})}catch(Xe){return console.warn("TrustedTypes policy "+Ie+" could not be created."),null}};function de(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mt();const q=Kt=>de(Kt);if(q.version="3.1.6",q.removed=[],!F||!F.document||F.document.nodeType!==_t.document)return q.isSupported=!1,q;let{document:Z}=F;const se=Z,ve=se.currentScript,{DocumentFragment:Ie,HTMLTemplateElement:Xe,Node:Nt,Element:ut,NodeFilter:xt,NamedNodeMap:Ct=F.NamedNodeMap||F.MozNamedAttrMap,HTMLFormElement:Ur,DOMParser:$r,trustedTypes:Yr}=F,Nr=ut.prototype,Tn=ze(Nr,"cloneNode"),Ia=ze(Nr,"remove"),Or=ze(Nr,"nextSibling"),Hr=ze(Nr,"childNodes"),an=ze(Nr,"parentNode");if(typeof Xe=="function"){const Kt=Z.createElement("template");Kt.content&&Kt.content.ownerDocument&&(Z=Kt.content.ownerDocument)}let on,Vr="";const{implementation:mn,createNodeIterator:Ta,createDocumentFragment:uo,getElementsByTagName:Ma}=Z,{importNode:Wt}=se;let Jt={};q.isSupported=typeof j=="function"&&typeof an=="function"&&mn&&mn.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:mr,ERB_EXPR:gr,TMPLIT_EXPR:dr,DATA_ATTR:_n,ARIA_ATTR:dn,IS_SCRIPT_OR_DATA:Fr,ATTR_WHITESPACE:en,CUSTOM_ELEMENT:Jr}=nr;let{IS_ALLOWED_URI:Ua}=nr,jr=null;const ka=le({},[...qe,...p,...at,...Ve,...He]);let gn=null;const Si=le({},[...Se,...Me,...rt,...ce]);let Ir=Object.seal(y(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yr=null,Cn=null,lr=!0,vr=!0,po=!1,ba=!0,br=!1,Ca=!0,Mt=!1,rr=!1,zt=!1,cr=!1,vn=!1,Hn=!1,Va=!0,Ra=!1;const $n="user-content-";let wa=!0,So=!1,xo={},Ya=null;const Wo=le({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let xi=null;const ko=le({},["audio","video","img","source","image","track"]);let Ko=null;const si=le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ho="http://www.w3.org/1998/Math/MathML",li="http://www.w3.org/2000/svg",ua="http://www.w3.org/1999/xhtml";let Co=ua,Rr=!1,ki=null;const Ul=le({},[Ho,li,ua],z);let ci=null;const Vl=["application/xhtml+xml","text/html"],Wl="text/html";let _r=null,Ao=null;const Xi=Z.createElement("form"),Sn=function($e){return $e instanceof RegExp||$e instanceof Function},Qn=function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Ao||Ao!==$e){if($e&&typeof $e=="object"||($e={}),$e=Fe($e),ci=Vl.indexOf($e.PARSER_MEDIA_TYPE)===-1?Wl:$e.PARSER_MEDIA_TYPE,_r=ci==="application/xhtml+xml"?z:M,jr=Y($e,"ALLOWED_TAGS")?le({},$e.ALLOWED_TAGS,_r):ka,gn=Y($e,"ALLOWED_ATTR")?le({},$e.ALLOWED_ATTR,_r):Si,ki=Y($e,"ALLOWED_NAMESPACES")?le({},$e.ALLOWED_NAMESPACES,z):Ul,Ko=Y($e,"ADD_URI_SAFE_ATTR")?le(Fe(si),$e.ADD_URI_SAFE_ATTR,_r):si,xi=Y($e,"ADD_DATA_URI_TAGS")?le(Fe(ko),$e.ADD_DATA_URI_TAGS,_r):ko,Ya=Y($e,"FORBID_CONTENTS")?le({},$e.FORBID_CONTENTS,_r):Wo,yr=Y($e,"FORBID_TAGS")?le({},$e.FORBID_TAGS,_r):{},Cn=Y($e,"FORBID_ATTR")?le({},$e.FORBID_ATTR,_r):{},xo=!!Y($e,"USE_PROFILES")&&$e.USE_PROFILES,lr=$e.ALLOW_ARIA_ATTR!==!1,vr=$e.ALLOW_DATA_ATTR!==!1,po=$e.ALLOW_UNKNOWN_PROTOCOLS||!1,ba=$e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,br=$e.SAFE_FOR_TEMPLATES||!1,Ca=$e.SAFE_FOR_XML!==!1,Mt=$e.WHOLE_DOCUMENT||!1,cr=$e.RETURN_DOM||!1,vn=$e.RETURN_DOM_FRAGMENT||!1,Hn=$e.RETURN_TRUSTED_TYPE||!1,zt=$e.FORCE_BODY||!1,Va=$e.SANITIZE_DOM!==!1,Ra=$e.SANITIZE_NAMED_PROPS||!1,wa=$e.KEEP_CONTENT!==!1,So=$e.IN_PLACE||!1,Ua=$e.ALLOWED_URI_REGEXP||ot,Co=$e.NAMESPACE||ua,Ir=$e.CUSTOM_ELEMENT_HANDLING||{},$e.CUSTOM_ELEMENT_HANDLING&&Sn($e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ir.tagNameCheck=$e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),$e.CUSTOM_ELEMENT_HANDLING&&Sn($e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ir.attributeNameCheck=$e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),$e.CUSTOM_ELEMENT_HANDLING&&typeof $e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Ir.allowCustomizedBuiltInElements=$e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),br&&(vr=!1),vn&&(cr=!0),xo&&(jr=le({},He),gn=[],xo.html===!0&&(le(jr,qe),le(gn,Se)),xo.svg===!0&&(le(jr,p),le(gn,Me),le(gn,ce)),xo.svgFilters===!0&&(le(jr,at),le(gn,Me),le(gn,ce)),xo.mathMl===!0&&(le(jr,Ve),le(gn,rt),le(gn,ce))),$e.ADD_TAGS&&(jr===ka&&(jr=Fe(jr)),le(jr,$e.ADD_TAGS,_r)),$e.ADD_ATTR&&(gn===Si&&(gn=Fe(gn)),le(gn,$e.ADD_ATTR,_r)),$e.ADD_URI_SAFE_ATTR&&le(Ko,$e.ADD_URI_SAFE_ATTR,_r),$e.FORBID_CONTENTS&&(Ya===Wo&&(Ya=Fe(Ya)),le(Ya,$e.FORBID_CONTENTS,_r)),wa&&(jr["#text"]=!0),Mt&&le(jr,["html","head","body"]),jr.table&&(le(jr,["tbody"]),delete yr.tbody),$e.TRUSTED_TYPES_POLICY){if(typeof $e.TRUSTED_TYPES_POLICY.createHTML!="function")throw te('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof $e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw te('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');on=$e.TRUSTED_TYPES_POLICY,Vr=on.createHTML("")}else on===void 0&&(on=Ft(Yr,ve)),on!==null&&typeof Vr=="string"&&(Vr=on.createHTML(""));w&&w($e),Ao=$e}},ho=le({},["mi","mo","mn","ms","mtext"]),ui=le({},["foreignobject","annotation-xml"]),Oo=le({},["title","style","font","a","script"]),fo=le({},[...p,...at,...De]),Ci=le({},[...Ve,...ct]),ks=function($e){let At=an($e);At&&At.tagName||(At={namespaceURI:Co,tagName:"template"});const Bt=M($e.tagName),Xr=M(At.tagName);return!!ki[$e.namespaceURI]&&($e.namespaceURI===li?At.namespaceURI===ua?Bt==="svg":At.namespaceURI===Ho?Bt==="svg"&&(Xr==="annotation-xml"||ho[Xr]):!!fo[Bt]:$e.namespaceURI===Ho?At.namespaceURI===ua?Bt==="math":At.namespaceURI===li?Bt==="math"&&ui[Xr]:!!Ci[Bt]:$e.namespaceURI===ua?!(At.namespaceURI===li&&!ui[Xr])&&!(At.namespaceURI===Ho&&!ho[Xr])&&!Ci[Bt]&&(Oo[Bt]||!fo[Bt]):!(ci!=="application/xhtml+xml"||!ki[$e.namespaceURI]))},Aa=function($e){O(q.removed,{element:$e});try{an($e).removeChild($e)}catch(At){Ia($e)}},pi=function($e,At){try{O(q.removed,{attribute:At.getAttributeNode($e),from:At})}catch(Bt){O(q.removed,{attribute:null,from:At})}if(At.removeAttribute($e),$e==="is"&&!gn[$e])if(cr||vn)try{Aa(At)}catch(Bt){}else try{At.setAttribute($e,"")}catch(Bt){}},mo=function($e){let At=null,Bt=null;if(zt)$e="<remove></remove>"+$e;else{const An=V($e,/^[\r\n\t ]+/);Bt=An&&An[0]}ci==="application/xhtml+xml"&&Co===ua&&($e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+$e+"</body></html>");const Xr=on?on.createHTML($e):$e;if(Co===ua)try{At=new $r().parseFromString(Xr,ci)}catch(An){}if(!At||!At.documentElement){At=mn.createDocument(Co,"template",null);try{At.documentElement.innerHTML=Rr?Vr:Xr}catch(An){}}const Fn=At.body||At.documentElement;return $e&&Bt&&Fn.insertBefore(Z.createTextNode(Bt),Fn.childNodes[0]||null),Co===ua?Ma.call(At,Mt?"html":"body")[0]:Mt?At.documentElement:Fn},Cs=function($e){return Ta.call($e.ownerDocument||$e,$e,xt.SHOW_ELEMENT|xt.SHOW_COMMENT|xt.SHOW_TEXT|xt.SHOW_PROCESSING_INSTRUCTION|xt.SHOW_CDATA_SECTION,null)},go=function($e){return $e instanceof Ur&&(typeof $e.nodeName!="string"||typeof $e.textContent!="string"||typeof $e.removeChild!="function"||!($e.attributes instanceof Ct)||typeof $e.removeAttribute!="function"||typeof $e.setAttribute!="function"||typeof $e.namespaceURI!="string"||typeof $e.insertBefore!="function"||typeof $e.hasChildNodes!="function")},jo=function($e){return typeof Nt=="function"&&$e instanceof Nt},ea=function($e,At,Bt){Jt[$e]&&P(Jt[$e],Xr=>{Xr.call(q,At,Bt,Ao)})},tn=function($e){let At=null;if(ea("beforeSanitizeElements",$e,null),go($e))return Aa($e),!0;const Bt=_r($e.nodeName);if(ea("uponSanitizeElement",$e,{tagName:Bt,allowedTags:jr}),$e.hasChildNodes()&&!jo($e.firstElementChild)&&ee(/<[/\w]/g,$e.innerHTML)&&ee(/<[/\w]/g,$e.textContent)||$e.nodeType===_t.progressingInstruction||Ca&&$e.nodeType===_t.comment&&ee(/<[/\w]/g,$e.data))return Aa($e),!0;if(!jr[Bt]||yr[Bt]){if(!yr[Bt]&&ar(Bt)&&(Ir.tagNameCheck instanceof RegExp&&ee(Ir.tagNameCheck,Bt)||Ir.tagNameCheck instanceof Function&&Ir.tagNameCheck(Bt)))return!1;if(wa&&!Ya[Bt]){const Xr=an($e)||$e.parentNode,Fn=Hr($e)||$e.childNodes;if(Fn&&Xr)for(let An=Fn.length-1;An>=0;--An){const ta=Tn(Fn[An],!0);ta.__removalCount=($e.__removalCount||0)+1,Xr.insertBefore(ta,Or($e))}}return Aa($e),!0}return $e instanceof ut&&!ks($e)?(Aa($e),!0):Bt!=="noscript"&&Bt!=="noembed"&&Bt!=="noframes"||!ee(/<\/no(script|embed|frames)/i,$e.innerHTML)?(br&&$e.nodeType===_t.text&&(At=$e.textContent,P([mr,gr,dr],Xr=>{At=U(At,Xr," ")}),$e.textContent!==At&&(O(q.removed,{element:$e.cloneNode()}),$e.textContent=At)),ea("afterSanitizeElements",$e,null),!1):(Aa($e),!0)},Ai=function($e,At,Bt){if(Va&&(At==="id"||At==="name")&&(Bt in Z||Bt in Xi))return!1;if(!(vr&&!Cn[At]&&ee(_n,At))){if(!(lr&&ee(dn,At))){if(!gn[At]||Cn[At]){if(!(ar($e)&&(Ir.tagNameCheck instanceof RegExp&&ee(Ir.tagNameCheck,$e)||Ir.tagNameCheck instanceof Function&&Ir.tagNameCheck($e))&&(Ir.attributeNameCheck instanceof RegExp&&ee(Ir.attributeNameCheck,At)||Ir.attributeNameCheck instanceof Function&&Ir.attributeNameCheck(At))||At==="is"&&Ir.allowCustomizedBuiltInElements&&(Ir.tagNameCheck instanceof RegExp&&ee(Ir.tagNameCheck,Bt)||Ir.tagNameCheck instanceof Function&&Ir.tagNameCheck(Bt))))return!1}else if(!Ko[At]){if(!ee(Ua,U(Bt,en,""))){if((At!=="src"&&At!=="xlink:href"&&At!=="href"||$e==="script"||$(Bt,"data:")!==0||!xi[$e])&&!(po&&!ee(Fr,U(Bt,en,"")))){if(Bt)return!1}}}}}return!0},ar=function($e){return $e!=="annotation-xml"&&V($e,Jr)},Zi=function($e){ea("beforeSanitizeAttributes",$e,null);const{attributes:At}=$e;if(!At)return;const Bt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gn};let Xr=At.length;for(;Xr--;){const Fn=At[Xr],{name:An,namespaceURI:ta,value:yo}=Fn,Oi=_r(An);let Zr=An==="value"?yo:K(yo);if(Bt.attrName=Oi,Bt.attrValue=Zr,Bt.keepAttr=!0,Bt.forceKeepAttr=void 0,ea("uponSanitizeAttribute",$e,Bt),Zr=Bt.attrValue,Ca&&ee(/((--!?|])>)|<\/(style|title)/i,Zr)){pi(An,$e);continue}if(Bt.forceKeepAttr||(pi(An,$e),!Bt.keepAttr))continue;if(!ba&&ee(/\/>/i,Zr)){pi(An,$e);continue}br&&P([mr,gr,dr],di=>{Zr=U(Zr,di," ")});const As=_r($e.nodeName);if(Ai(As,Oi,Zr)){if(!Ra||Oi!=="id"&&Oi!=="name"||(pi(An,$e),Zr=$n+Zr),on&&typeof Yr=="object"&&typeof Yr.getAttributeType=="function"&&!ta)switch(Yr.getAttributeType(As,Oi)){case"TrustedHTML":Zr=on.createHTML(Zr);break;case"TrustedScriptURL":Zr=on.createScriptURL(Zr)}try{ta?$e.setAttributeNS(ta,An,Zr):$e.setAttribute(An,Zr),go($e)?Aa($e):I(q.removed)}catch(di){}}}ea("afterSanitizeAttributes",$e,null)},hi=function Kt($e){let At=null;const Bt=Cs($e);for(ea("beforeSanitizeShadowDOM",$e,null);At=Bt.nextNode();)ea("uponSanitizeShadowNode",At,null),tn(At)||(At.content instanceof Ie&&Kt(At.content),Zi(At));ea("afterSanitizeShadowDOM",$e,null)};return q.sanitize=function(Kt){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At=null,Bt=null,Xr=null,Fn=null;if(Rr=!Kt,Rr&&(Kt="<!-->"),typeof Kt!="string"&&!jo(Kt)){if(typeof Kt.toString!="function")throw te("toString is not a function");if(typeof(Kt=Kt.toString())!="string")throw te("dirty is not a string, aborting")}if(!q.isSupported)return Kt;if(rr||Qn($e),q.removed=[],typeof Kt=="string"&&(So=!1),So){if(Kt.nodeName){const yo=_r(Kt.nodeName);if(!jr[yo]||yr[yo])throw te("root node is forbidden and cannot be sanitized in-place")}}else if(Kt instanceof Nt)At=mo("<!---->"),Bt=At.ownerDocument.importNode(Kt,!0),Bt.nodeType===_t.element&&Bt.nodeName==="BODY"||Bt.nodeName==="HTML"?At=Bt:At.appendChild(Bt);else{if(!cr&&!br&&!Mt&&Kt.indexOf("<")===-1)return on&&Hn?on.createHTML(Kt):Kt;if(At=mo(Kt),!At)return cr?null:Hn?Vr:""}At&&zt&&Aa(At.firstChild);const An=Cs(So?Kt:At);for(;Xr=An.nextNode();)tn(Xr)||(Xr.content instanceof Ie&&hi(Xr.content),Zi(Xr));if(So)return Kt;if(cr){if(vn)for(Fn=uo.call(At.ownerDocument);At.firstChild;)Fn.appendChild(At.firstChild);else Fn=At;return(gn.shadowroot||gn.shadowrootmode)&&(Fn=Wt.call(se,Fn,!0)),Fn}let ta=Mt?At.outerHTML:At.innerHTML;return Mt&&jr["!doctype"]&&At.ownerDocument&&At.ownerDocument.doctype&&At.ownerDocument.doctype.name&&ee(St,At.ownerDocument.doctype.name)&&(ta="<!DOCTYPE "+At.ownerDocument.doctype.name+`>
17
+ `),Bk=()=>{const{styles:sa}=Iw();return jt.jsxs("div",{className:sa,children:[jt.jsx("div",{className:"open-tab",children:jt.jsx(Ln.Tooltip,{title:"Preview",children:jt.jsx("a",{href:Pw,target:"_blank",rel:"noreferrer",children:jt.jsx(Ln.Button,{size:"small",icon:jt.jsx(ii.RightOutlined,{})})})})}),jt.jsx(Nw,{})]})};class Tw extends Dr.Plugin{load(){return ir(this,null,function*(){this.app.systemSettingsManager.add("devtools",{title:ip("Development Tools"),icon:"ToolOutlined",sort:-20}),this.app.systemSettingsManager.add("devtools.api-doc",{title:ip("API Doc"),icon:"BookOutlined",Component:Bk,aclSnippet:"pm.devtools.documentation"}),this.app.systemSettingsManager.add("devtools.env",{title:ip("Environment"),icon:"CodeOutlined",Component:Aw,aclSnippet:"pm.devtools.environment"}),this.app.systemSettingsManager.add("devtools.middlewaresorder",{title:ip("Middlewares order"),icon:"CodeOutlined",Component:Ow,aclSnippet:"pm.devtools.middlewares"}),this.app.systemSettingsManager.add("devtools.clientrouter",{title:ip("Client router"),icon:"CodeOutlined",Component:op}),this.app.router.add("api-documentation",{path:Pw,Component:Nw})})}}var qk=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function zk(sa){return sa&&sa.__esModule&&Object.prototype.hasOwnProperty.call(sa,"default")?sa.default:sa}var Mw={exports:{}};/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */(function(sa,la){(function(Kn,al){sa.exports=al()})(qk,()=>(()=>{var ca,Kn,al={69119:(_,j)=>{Object.defineProperty(j,"__esModule",{value:!0}),j.BLANK_URL=j.relativeFirstCharacters=j.whitespaceEscapeCharsRegex=j.urlSchemeRegex=j.ctrlCharactersRegex=j.htmlCtrlEntityRegex=j.htmlEntitiesRegex=j.invalidProtocolRegex=void 0,j.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,j.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,j.htmlCtrlEntityRegex=/&(newline|tab);/gi,j.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,j.urlSchemeRegex=/^.+(:|&colon;)/gim,j.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,j.relativeFirstCharacters=[".","/"],j.BLANK_URL="about:blank"},16750:(_,j,s)=>{j.J=void 0;var d=s(69119);function b(f){try{return decodeURIComponent(f)}catch(w){return f}}j.J=function(w){if(!w)return d.BLANK_URL;var m,y,S=b(w);do m=(S=b(S=(y=S,y.replace(d.ctrlCharactersRegex,"").replace(d.htmlEntitiesRegex,function(O,M){return String.fromCharCode(M)})).replace(d.htmlCtrlEntityRegex,"").replace(d.ctrlCharactersRegex,"").replace(d.whitespaceEscapeCharsRegex,"").trim())).match(d.ctrlCharactersRegex)||S.match(d.htmlEntitiesRegex)||S.match(d.htmlCtrlEntityRegex)||S.match(d.whitespaceEscapeCharsRegex);while(m&&m.length>0);var k=S;if(!k)return d.BLANK_URL;if(function(M){return d.relativeFirstCharacters.indexOf(M[0])>-1}(k))return k;var P=k.match(d.urlSchemeRegex);if(!P)return k;var I=P[0];return d.invalidProtocolRegex.test(I)?d.BLANK_URL:k}},67526:(_,j)=>{j.byteLength=function(k){var P=m(k),I=P[0],O=P[1];return 3*(I+O)/4-O},j.toByteArray=function(k){var P,I,O=m(k),M=O[0],z=O[1],V=new b(function(Y,ee,te){return 3*(ee+te)/4-te}(0,M,z)),U=0,$=z>0?M-4:M;for(I=0;I<$;I+=4)P=d[k.charCodeAt(I)]<<18|d[k.charCodeAt(I+1)]<<12|d[k.charCodeAt(I+2)]<<6|d[k.charCodeAt(I+3)],V[U++]=P>>16&255,V[U++]=P>>8&255,V[U++]=255&P;return z===2&&(P=d[k.charCodeAt(I)]<<2|d[k.charCodeAt(I+1)]>>4,V[U++]=255&P),z===1&&(P=d[k.charCodeAt(I)]<<10|d[k.charCodeAt(I+1)]<<4|d[k.charCodeAt(I+2)]>>2,V[U++]=P>>8&255,V[U++]=255&P),V},j.fromByteArray=function(k){for(var P,I=k.length,O=I%3,M=[],z=16383,V=0,U=I-O;V<U;V+=z)M.push(y(k,V,V+z>U?U:V+z));return O===1?(P=k[I-1],M.push(s[P>>2]+s[P<<4&63]+"==")):O===2&&(P=(k[I-2]<<8)+k[I-1],M.push(s[P>>10]+s[P>>4&63]+s[P<<2&63]+"=")),M.join("")};for(var s=[],d=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0;w<64;++w)s[w]=f[w],d[f.charCodeAt(w)]=w;function m(S){var k=S.length;if(k%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var P=S.indexOf("=");return P===-1&&(P=k),[P,P===k?0:4-P%4]}function y(S,k,P){for(var I,O,M=[],z=k;z<P;z+=3)I=(S[z]<<16&16711680)+(S[z+1]<<8&65280)+(255&S[z+2]),M.push(s[(O=I)>>18&63]+s[O>>12&63]+s[O>>6&63]+s[63&O]);return M.join("")}d[45]=62,d[95]=63},48287:(_,j,s)=>{const d=s(67526),b=s(251),f=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;j.Buffer=y,j.SlowBuffer=function(F){return+F!=F&&(F=0),y.alloc(+F)},j.INSPECT_MAX_BYTES=50;const w=2147483647;function m(de){if(de>w)throw new RangeError('The value "'+de+'" is invalid for option "size"');const F=new Uint8Array(de);return Object.setPrototypeOf(F,y.prototype),F}function y(de,F,q){if(typeof de=="number"){if(typeof F=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return P(de)}return S(de,F,q)}function S(de,F,q){if(typeof de=="string")return function(Ie,Xe){if(typeof Xe=="string"&&Xe!==""||(Xe="utf8"),!y.isEncoding(Xe))throw new TypeError("Unknown encoding: "+Xe);const Nt=0|z(Ie,Xe);let ut=m(Nt);const xt=ut.write(Ie,Xe);return xt!==Nt&&(ut=ut.slice(0,xt)),ut}(de,F);if(ArrayBuffer.isView(de))return function(Ie){if(Gt(Ie,Uint8Array)){const Xe=new Uint8Array(Ie);return O(Xe.buffer,Xe.byteOffset,Xe.byteLength)}return I(Ie)}(de);if(de==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de);if(Gt(de,ArrayBuffer)||de&&Gt(de.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Gt(de,SharedArrayBuffer)||de&&Gt(de.buffer,SharedArrayBuffer)))return O(de,F,q);if(typeof de=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Z=de.valueOf&&de.valueOf();if(Z!=null&&Z!==de)return y.from(Z,F,q);const se=function(Ie){if(y.isBuffer(Ie)){const Xe=0|M(Ie.length),Nt=m(Xe);return Nt.length===0||Ie.copy(Nt,0,0,Xe),Nt}if(Ie.length!==void 0)return typeof Ie.length!="number"||nr(Ie.length)?m(0):I(Ie);if(Ie.type==="Buffer"&&Array.isArray(Ie.data))return I(Ie.data)}(de);if(se)return se;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof de[Symbol.toPrimitive]=="function")return y.from(de[Symbol.toPrimitive]("string"),F,q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de)}function k(de){if(typeof de!="number")throw new TypeError('"size" argument must be of type number');if(de<0)throw new RangeError('The value "'+de+'" is invalid for option "size"')}function P(de){return k(de),m(de<0?0:0|M(de))}function I(de){const F=de.length<0?0:0|M(de.length),q=m(F);for(let Z=0;Z<F;Z+=1)q[Z]=255&de[Z];return q}function O(de,F,q){if(F<0||de.byteLength<F)throw new RangeError('"offset" is outside of buffer bounds');if(de.byteLength<F+(q||0))throw new RangeError('"length" is outside of buffer bounds');let Z;return Z=F===void 0&&q===void 0?new Uint8Array(de):q===void 0?new Uint8Array(de,F):new Uint8Array(de,F,q),Object.setPrototypeOf(Z,y.prototype),Z}function M(de){if(de>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return 0|de}function z(de,F){if(y.isBuffer(de))return de.length;if(ArrayBuffer.isView(de)||Gt(de,ArrayBuffer))return de.byteLength;if(typeof de!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof de);const q=de.length,Z=arguments.length>2&&arguments[2]===!0;if(!Z&&q===0)return 0;let se=!1;for(;;)switch(F){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return Qt(de).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*q;case"hex":return q>>>1;case"base64":return pr(de).length;default:if(se)return Z?-1:Qt(de).length;F=(""+F).toLowerCase(),se=!0}}function V(de,F,q){let Z=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0)<=(F>>>=0))return"";for(de||(de="utf8");;)switch(de){case"hex":return p(this,F,q);case"utf8":case"utf-8":return Pe(this,F,q);case"ascii":return ze(this,F,q);case"latin1":case"binary":return qe(this,F,q);case"base64":return le(this,F,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return at(this,F,q);default:if(Z)throw new TypeError("Unknown encoding: "+de);de=(de+"").toLowerCase(),Z=!0}}function U(de,F,q){const Z=de[F];de[F]=de[q],de[q]=Z}function $(de,F,q,Z,se){if(de.length===0)return-1;if(typeof q=="string"?(Z=q,q=0):q>2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),nr(q=+q)&&(q=se?0:de.length-1),q<0&&(q=de.length+q),q>=de.length){if(se)return-1;q=de.length-1}else if(q<0){if(!se)return-1;q=0}if(typeof F=="string"&&(F=y.from(F,Z)),y.isBuffer(F))return F.length===0?-1:K(de,F,q,Z,se);if(typeof F=="number")return F&=255,typeof Uint8Array.prototype.indexOf=="function"?se?Uint8Array.prototype.indexOf.call(de,F,q):Uint8Array.prototype.lastIndexOf.call(de,F,q):K(de,[F],q,Z,se);throw new TypeError("val must be string, number or Buffer")}function K(de,F,q,Z,se){let ve,Ie=1,Xe=de.length,Nt=F.length;if(Z!==void 0&&((Z=String(Z).toLowerCase())==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(de.length<2||F.length<2)return-1;Ie=2,Xe/=2,Nt/=2,q/=2}function ut(xt,Ct){return Ie===1?xt[Ct]:xt.readUInt16BE(Ct*Ie)}if(se){let xt=-1;for(ve=q;ve<Xe;ve++)if(ut(de,ve)===ut(F,xt===-1?0:ve-xt)){if(xt===-1&&(xt=ve),ve-xt+1===Nt)return xt*Ie}else xt!==-1&&(ve-=ve-xt),xt=-1}else for(q+Nt>Xe&&(q=Xe-Nt),ve=q;ve>=0;ve--){let xt=!0;for(let Ct=0;Ct<Nt;Ct++)if(ut(de,ve+Ct)!==ut(F,Ct)){xt=!1;break}if(xt)return ve}return-1}function Y(de,F,q,Z){q=Number(q)||0;const se=de.length-q;Z?(Z=Number(Z))>se&&(Z=se):Z=se;const ve=F.length;let Ie;for(Z>ve/2&&(Z=ve/2),Ie=0;Ie<Z;++Ie){const Xe=parseInt(F.substr(2*Ie,2),16);if(nr(Xe))return Ie;de[q+Ie]=Xe}return Ie}function ee(de,F,q,Z){return St(Qt(F,de.length-q),de,q,Z)}function te(de,F,q,Z){return St(function(ve){const Ie=[];for(let Xe=0;Xe<ve.length;++Xe)Ie.push(255&ve.charCodeAt(Xe));return Ie}(F),de,q,Z)}function ke(de,F,q,Z){return St(pr(F),de,q,Z)}function ue(de,F,q,Z){return St(function(ve,Ie){let Xe,Nt,ut;const xt=[];for(let Ct=0;Ct<ve.length&&!((Ie-=2)<0);++Ct)Xe=ve.charCodeAt(Ct),Nt=Xe>>8,ut=Xe%256,xt.push(ut),xt.push(Nt);return xt}(F,de.length-q),de,q,Z)}function le(de,F,q){return F===0&&q===de.length?d.fromByteArray(de):d.fromByteArray(de.slice(F,q))}function Pe(de,F,q){q=Math.min(de.length,q);const Z=[];let se=F;for(;se<q;){const ve=de[se];let Ie=null,Xe=ve>239?4:ve>223?3:ve>191?2:1;if(se+Xe<=q){let Nt,ut,xt,Ct;switch(Xe){case 1:ve<128&&(Ie=ve);break;case 2:Nt=de[se+1],(192&Nt)==128&&(Ct=(31&ve)<<6|63&Nt,Ct>127&&(Ie=Ct));break;case 3:Nt=de[se+1],ut=de[se+2],(192&Nt)==128&&(192&ut)==128&&(Ct=(15&ve)<<12|(63&Nt)<<6|63&ut,Ct>2047&&(Ct<55296||Ct>57343)&&(Ie=Ct));break;case 4:Nt=de[se+1],ut=de[se+2],xt=de[se+3],(192&Nt)==128&&(192&ut)==128&&(192&xt)==128&&(Ct=(15&ve)<<18|(63&Nt)<<12|(63&ut)<<6|63&xt,Ct>65535&&Ct<1114112&&(Ie=Ct))}}Ie===null?(Ie=65533,Xe=1):Ie>65535&&(Ie-=65536,Z.push(Ie>>>10&1023|55296),Ie=56320|1023&Ie),Z.push(Ie),se+=Xe}return function(Ie){const Xe=Ie.length;if(Xe<=Fe)return String.fromCharCode.apply(String,Ie);let Nt="",ut=0;for(;ut<Xe;)Nt+=String.fromCharCode.apply(String,Ie.slice(ut,ut+=Fe));return Nt}(Z)}j.kMaxLength=w,y.TYPED_ARRAY_SUPPORT=function(){try{const F=new Uint8Array(1),q={foo:function(){return 42}};return Object.setPrototypeOf(q,Uint8Array.prototype),Object.setPrototypeOf(F,q),F.foo()===42}catch(F){return!1}}(),y.TYPED_ARRAY_SUPPORT||typeof console=="undefined"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}}),y.poolSize=8192,y.from=function(de,F,q){return S(de,F,q)},Object.setPrototypeOf(y.prototype,Uint8Array.prototype),Object.setPrototypeOf(y,Uint8Array),y.alloc=function(de,F,q){return function(se,ve,Ie){return k(se),se<=0?m(se):ve!==void 0?typeof Ie=="string"?m(se).fill(ve,Ie):m(se).fill(ve):m(se)}(de,F,q)},y.allocUnsafe=function(de){return P(de)},y.allocUnsafeSlow=function(de){return P(de)},y.isBuffer=function(F){return F!=null&&F._isBuffer===!0&&F!==y.prototype},y.compare=function(F,q){if(Gt(F,Uint8Array)&&(F=y.from(F,F.offset,F.byteLength)),Gt(q,Uint8Array)&&(q=y.from(q,q.offset,q.byteLength)),!y.isBuffer(F)||!y.isBuffer(q))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(F===q)return 0;let Z=F.length,se=q.length;for(let ve=0,Ie=Math.min(Z,se);ve<Ie;++ve)if(F[ve]!==q[ve]){Z=F[ve],se=q[ve];break}return Z<se?-1:se<Z?1:0},y.isEncoding=function(F){switch(String(F).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(F,q){if(!Array.isArray(F))throw new TypeError('"list" argument must be an Array of Buffers');if(F.length===0)return y.alloc(0);let Z;if(q===void 0)for(q=0,Z=0;Z<F.length;++Z)q+=F[Z].length;const se=y.allocUnsafe(q);let ve=0;for(Z=0;Z<F.length;++Z){let Ie=F[Z];if(Gt(Ie,Uint8Array))ve+Ie.length>se.length?(y.isBuffer(Ie)||(Ie=y.from(Ie)),Ie.copy(se,ve)):Uint8Array.prototype.set.call(se,Ie,ve);else{if(!y.isBuffer(Ie))throw new TypeError('"list" argument must be an Array of Buffers');Ie.copy(se,ve)}ve+=Ie.length}return se},y.byteLength=z,y.prototype._isBuffer=!0,y.prototype.swap16=function(){const F=this.length;if(F%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let q=0;q<F;q+=2)U(this,q,q+1);return this},y.prototype.swap32=function(){const F=this.length;if(F%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let q=0;q<F;q+=4)U(this,q,q+3),U(this,q+1,q+2);return this},y.prototype.swap64=function(){const F=this.length;if(F%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let q=0;q<F;q+=8)U(this,q,q+7),U(this,q+1,q+6),U(this,q+2,q+5),U(this,q+3,q+4);return this},y.prototype.toString=function(){const F=this.length;return F===0?"":arguments.length===0?Pe(this,0,F):V.apply(this,arguments)},y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=function(F){if(!y.isBuffer(F))throw new TypeError("Argument must be a Buffer");return this===F||y.compare(this,F)===0},y.prototype.inspect=function(){let F="";const q=j.INSPECT_MAX_BYTES;return F=this.toString("hex",0,q).replace(/(.{2})/g,"$1 ").trim(),this.length>q&&(F+=" ... "),"<Buffer "+F+">"},f&&(y.prototype[f]=y.prototype.inspect),y.prototype.compare=function(F,q,Z,se,ve){if(Gt(F,Uint8Array)&&(F=y.from(F,F.offset,F.byteLength)),!y.isBuffer(F))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof F);if(q===void 0&&(q=0),Z===void 0&&(Z=F?F.length:0),se===void 0&&(se=0),ve===void 0&&(ve=this.length),q<0||Z>F.length||se<0||ve>this.length)throw new RangeError("out of range index");if(se>=ve&&q>=Z)return 0;if(se>=ve)return-1;if(q>=Z)return 1;if(this===F)return 0;let Ie=(ve>>>=0)-(se>>>=0),Xe=(Z>>>=0)-(q>>>=0);const Nt=Math.min(Ie,Xe),ut=this.slice(se,ve),xt=F.slice(q,Z);for(let Ct=0;Ct<Nt;++Ct)if(ut[Ct]!==xt[Ct]){Ie=ut[Ct],Xe=xt[Ct];break}return Ie<Xe?-1:Xe<Ie?1:0},y.prototype.includes=function(F,q,Z){return this.indexOf(F,q,Z)!==-1},y.prototype.indexOf=function(F,q,Z){return $(this,F,q,Z,!0)},y.prototype.lastIndexOf=function(F,q,Z){return $(this,F,q,Z,!1)},y.prototype.write=function(F,q,Z,se){if(q===void 0)se="utf8",Z=this.length,q=0;else if(Z===void 0&&typeof q=="string")se=q,Z=this.length,q=0;else{if(!isFinite(q))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");q>>>=0,isFinite(Z)?(Z>>>=0,se===void 0&&(se="utf8")):(se=Z,Z=void 0)}const ve=this.length-q;if((Z===void 0||Z>ve)&&(Z=ve),F.length>0&&(Z<0||q<0)||q>this.length)throw new RangeError("Attempt to write outside buffer bounds");se||(se="utf8");let Ie=!1;for(;;)switch(se){case"hex":return Y(this,F,q,Z);case"utf8":case"utf-8":return ee(this,F,q,Z);case"ascii":case"latin1":case"binary":return te(this,F,q,Z);case"base64":return ke(this,F,q,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,F,q,Z);default:if(Ie)throw new TypeError("Unknown encoding: "+se);se=(""+se).toLowerCase(),Ie=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Fe=4096;function ze(de,F,q){let Z="";q=Math.min(de.length,q);for(let se=F;se<q;++se)Z+=String.fromCharCode(127&de[se]);return Z}function qe(de,F,q){let Z="";q=Math.min(de.length,q);for(let se=F;se<q;++se)Z+=String.fromCharCode(de[se]);return Z}function p(de,F,q){const Z=de.length;(!F||F<0)&&(F=0),(!q||q<0||q>Z)&&(q=Z);let se="";for(let ve=F;ve<q;++ve)se+=_t[de[ve]];return se}function at(de,F,q){const Z=de.slice(F,q);let se="";for(let ve=0;ve<Z.length-1;ve+=2)se+=String.fromCharCode(Z[ve]+256*Z[ve+1]);return se}function De(de,F,q){if(de%1!=0||de<0)throw new RangeError("offset is not uint");if(de+F>q)throw new RangeError("Trying to access beyond buffer length")}function Ve(de,F,q,Z,se,ve){if(!y.isBuffer(de))throw new TypeError('"buffer" argument must be a Buffer instance');if(F>se||F<ve)throw new RangeError('"value" argument is out of bounds');if(q+Z>de.length)throw new RangeError("Index out of range")}function ct(de,F,q,Z,se){xe(F,Z,se,de,q,7);let ve=Number(F&BigInt(4294967295));de[q++]=ve,ve>>=8,de[q++]=ve,ve>>=8,de[q++]=ve,ve>>=8,de[q++]=ve;let Ie=Number(F>>BigInt(32)&BigInt(4294967295));return de[q++]=Ie,Ie>>=8,de[q++]=Ie,Ie>>=8,de[q++]=Ie,Ie>>=8,de[q++]=Ie,q}function He(de,F,q,Z,se){xe(F,Z,se,de,q,7);let ve=Number(F&BigInt(4294967295));de[q+7]=ve,ve>>=8,de[q+6]=ve,ve>>=8,de[q+5]=ve,ve>>=8,de[q+4]=ve;let Ie=Number(F>>BigInt(32)&BigInt(4294967295));return de[q+3]=Ie,Ie>>=8,de[q+2]=Ie,Ie>>=8,de[q+1]=Ie,Ie>>=8,de[q]=Ie,q+8}function Se(de,F,q,Z,se,ve){if(q+Z>de.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("Index out of range")}function Me(de,F,q,Z,se){return F=+F,q>>>=0,se||Se(de,0,q,4),b.write(de,F,q,Z,23,4),q+4}function rt(de,F,q,Z,se){return F=+F,q>>>=0,se||Se(de,0,q,8),b.write(de,F,q,Z,52,8),q+8}y.prototype.slice=function(F,q){const Z=this.length;(F=~~F)<0?(F+=Z)<0&&(F=0):F>Z&&(F=Z),(q=q===void 0?Z:~~q)<0?(q+=Z)<0&&(q=0):q>Z&&(q=Z),q<F&&(q=F);const se=this.subarray(F,q);return Object.setPrototypeOf(se,y.prototype),se},y.prototype.readUintLE=y.prototype.readUIntLE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=this[F],ve=1,Ie=0;for(;++Ie<q&&(ve*=256);)se+=this[F+Ie]*ve;return se},y.prototype.readUintBE=y.prototype.readUIntBE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=this[F+--q],ve=1;for(;q>0&&(ve*=256);)se+=this[F+--q]*ve;return se},y.prototype.readUint8=y.prototype.readUInt8=function(F,q){return F>>>=0,q||De(F,1,this.length),this[F]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(F,q){return F>>>=0,q||De(F,2,this.length),this[F]|this[F+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(F,q){return F>>>=0,q||De(F,2,this.length),this[F]<<8|this[F+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(F,q){return F>>>=0,q||De(F,4,this.length),(this[F]|this[F+1]<<8|this[F+2]<<16)+16777216*this[F+3]},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(F,q){return F>>>=0,q||De(F,4,this.length),16777216*this[F]+(this[F+1]<<16|this[F+2]<<8|this[F+3])},y.prototype.readBigUInt64LE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=q+256*this[++F]+65536*this[++F]+this[++F]*nl(2,24),ve=this[++F]+256*this[++F]+65536*this[++F]+Z*nl(2,24);return BigInt(se)+(BigInt(ve)<<BigInt(32))}),y.prototype.readBigUInt64BE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=q*nl(2,24)+65536*this[++F]+256*this[++F]+this[++F],ve=this[++F]*nl(2,24)+65536*this[++F]+256*this[++F]+Z;return(BigInt(se)<<BigInt(32))+BigInt(ve)}),y.prototype.readIntLE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=this[F],ve=1,Ie=0;for(;++Ie<q&&(ve*=256);)se+=this[F+Ie]*ve;return ve*=128,se>=ve&&(se-=Math.pow(2,8*q)),se},y.prototype.readIntBE=function(F,q,Z){F>>>=0,q>>>=0,Z||De(F,q,this.length);let se=q,ve=1,Ie=this[F+--se];for(;se>0&&(ve*=256);)Ie+=this[F+--se]*ve;return ve*=128,Ie>=ve&&(Ie-=Math.pow(2,8*q)),Ie},y.prototype.readInt8=function(F,q){return F>>>=0,q||De(F,1,this.length),128&this[F]?-1*(255-this[F]+1):this[F]},y.prototype.readInt16LE=function(F,q){F>>>=0,q||De(F,2,this.length);const Z=this[F]|this[F+1]<<8;return 32768&Z?4294901760|Z:Z},y.prototype.readInt16BE=function(F,q){F>>>=0,q||De(F,2,this.length);const Z=this[F+1]|this[F]<<8;return 32768&Z?4294901760|Z:Z},y.prototype.readInt32LE=function(F,q){return F>>>=0,q||De(F,4,this.length),this[F]|this[F+1]<<8|this[F+2]<<16|this[F+3]<<24},y.prototype.readInt32BE=function(F,q){return F>>>=0,q||De(F,4,this.length),this[F]<<24|this[F+1]<<16|this[F+2]<<8|this[F+3]},y.prototype.readBigInt64LE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=this[F+4]+256*this[F+5]+65536*this[F+6]+(Z<<24);return(BigInt(se)<<BigInt(32))+BigInt(q+256*this[++F]+65536*this[++F]+this[++F]*16777216)}),y.prototype.readBigInt64BE=mt(function(F){we(F>>>=0,"offset");const q=this[F],Z=this[F+7];q!==void 0&&Z!==void 0||tt(F,this.length-8);const se=(q<<24)+65536*this[++F]+256*this[++F]+this[++F];return(BigInt(se)<<BigInt(32))+BigInt(this[++F]*16777216+65536*this[++F]+256*this[++F]+Z)}),y.prototype.readFloatLE=function(F,q){return F>>>=0,q||De(F,4,this.length),b.read(this,F,!0,23,4)},y.prototype.readFloatBE=function(F,q){return F>>>=0,q||De(F,4,this.length),b.read(this,F,!1,23,4)},y.prototype.readDoubleLE=function(F,q){return F>>>=0,q||De(F,8,this.length),b.read(this,F,!0,52,8)},y.prototype.readDoubleBE=function(F,q){return F>>>=0,q||De(F,8,this.length),b.read(this,F,!1,52,8)},y.prototype.writeUintLE=y.prototype.writeUIntLE=function(F,q,Z,se){F=+F,q>>>=0,Z>>>=0,!se&&Ve(this,F,q,Z,Math.pow(2,8*Z)-1,0);let ve=1,Ie=0;for(this[q]=255&F;++Ie<Z&&(ve*=256);)this[q+Ie]=F/ve&255;return q+Z},y.prototype.writeUintBE=y.prototype.writeUIntBE=function(F,q,Z,se){F=+F,q>>>=0,Z>>>=0,!se&&Ve(this,F,q,Z,Math.pow(2,8*Z)-1,0);let ve=Z-1,Ie=1;for(this[q+ve]=255&F;--ve>=0&&(Ie*=256);)this[q+ve]=F/Ie&255;return q+Z},y.prototype.writeUint8=y.prototype.writeUInt8=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,1,255,0),this[q]=255&F,q+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,65535,0),this[q]=255&F,this[q+1]=F>>>8,q+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,65535,0),this[q]=F>>>8,this[q+1]=255&F,q+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,4294967295,0),this[q+3]=F>>>24,this[q+2]=F>>>16,this[q+1]=F>>>8,this[q]=255&F,q+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,4294967295,0),this[q]=F>>>24,this[q+1]=F>>>16,this[q+2]=F>>>8,this[q+3]=255&F,q+4},y.prototype.writeBigUInt64LE=mt(function(F,q=0){return ct(this,F,q,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=mt(function(F,q=0){return He(this,F,q,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(F,q,Z,se){if(F=+F,q>>>=0,!se){const Nt=Math.pow(2,8*Z-1);Ve(this,F,q,Z,Nt-1,-Nt)}let ve=0,Ie=1,Xe=0;for(this[q]=255&F;++ve<Z&&(Ie*=256);)F<0&&Xe===0&&this[q+ve-1]!==0&&(Xe=1),this[q+ve]=(F/Ie|0)-Xe&255;return q+Z},y.prototype.writeIntBE=function(F,q,Z,se){if(F=+F,q>>>=0,!se){const Nt=Math.pow(2,8*Z-1);Ve(this,F,q,Z,Nt-1,-Nt)}let ve=Z-1,Ie=1,Xe=0;for(this[q+ve]=255&F;--ve>=0&&(Ie*=256);)F<0&&Xe===0&&this[q+ve+1]!==0&&(Xe=1),this[q+ve]=(F/Ie|0)-Xe&255;return q+Z},y.prototype.writeInt8=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,1,127,-128),F<0&&(F=255+F+1),this[q]=255&F,q+1},y.prototype.writeInt16LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,32767,-32768),this[q]=255&F,this[q+1]=F>>>8,q+2},y.prototype.writeInt16BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,2,32767,-32768),this[q]=F>>>8,this[q+1]=255&F,q+2},y.prototype.writeInt32LE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,2147483647,-2147483648),this[q]=255&F,this[q+1]=F>>>8,this[q+2]=F>>>16,this[q+3]=F>>>24,q+4},y.prototype.writeInt32BE=function(F,q,Z){return F=+F,q>>>=0,Z||Ve(this,F,q,4,2147483647,-2147483648),F<0&&(F=4294967295+F+1),this[q]=F>>>24,this[q+1]=F>>>16,this[q+2]=F>>>8,this[q+3]=255&F,q+4},y.prototype.writeBigInt64LE=mt(function(F,q=0){return ct(this,F,q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=mt(function(F,q=0){return He(this,F,q,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeFloatLE=function(F,q,Z){return Me(this,F,q,!0,Z)},y.prototype.writeFloatBE=function(F,q,Z){return Me(this,F,q,!1,Z)},y.prototype.writeDoubleLE=function(F,q,Z){return rt(this,F,q,!0,Z)},y.prototype.writeDoubleBE=function(F,q,Z){return rt(this,F,q,!1,Z)},y.prototype.copy=function(F,q,Z,se){if(!y.isBuffer(F))throw new TypeError("argument should be a Buffer");if(Z||(Z=0),se||se===0||(se=this.length),q>=F.length&&(q=F.length),q||(q=0),se>0&&se<Z&&(se=Z),se===Z||F.length===0||this.length===0)return 0;if(q<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("Index out of range");if(se<0)throw new RangeError("sourceEnd out of bounds");se>this.length&&(se=this.length),F.length-q<se-Z&&(se=F.length-q+Z);const ve=se-Z;return this===F&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(q,Z,se):Uint8Array.prototype.set.call(F,this.subarray(Z,se),q),ve},y.prototype.fill=function(F,q,Z,se){if(typeof F=="string"){if(typeof q=="string"?(se=q,q=0,Z=this.length):typeof Z=="string"&&(se=Z,Z=this.length),se!==void 0&&typeof se!="string")throw new TypeError("encoding must be a string");if(typeof se=="string"&&!y.isEncoding(se))throw new TypeError("Unknown encoding: "+se);if(F.length===1){const Ie=F.charCodeAt(0);(se==="utf8"&&Ie<128||se==="latin1")&&(F=Ie)}}else typeof F=="number"?F&=255:typeof F=="boolean"&&(F=Number(F));if(q<0||this.length<q||this.length<Z)throw new RangeError("Out of range index");if(Z<=q)return this;let ve;if(q>>>=0,Z=Z===void 0?this.length:Z>>>0,F||(F=0),typeof F=="number")for(ve=q;ve<Z;++ve)this[ve]=F;else{const Ie=y.isBuffer(F)?F:y.from(F,se),Xe=Ie.length;if(Xe===0)throw new TypeError('The value "'+F+'" is invalid for argument "value"');for(ve=0;ve<Z-q;++ve)this[ve+q]=Ie[ve%Xe]}return this};const ce={};function Ke(de,F,q){ce[de]=class extends q{constructor(){super(),Object.defineProperty(this,"message",{value:F.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${de}]`,this.stack,delete this.name}get code(){return de}set code(se){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:se,writable:!0})}toString(){return`${this.name} [${de}]: ${this.message}`}}}function Et(de){let F="",q=de.length;const Z=de[0]==="-"?1:0;for(;q>=Z+4;q-=3)F=`_${de.slice(q-3,q)}${F}`;return`${de.slice(0,q)}${F}`}function xe(de,F,q,Z,se,ve){if(de>q||de<F){const Ie=typeof F=="bigint"?"n":"";let Xe;throw Xe=F===0||F===BigInt(0)?`>= 0${Ie} and < 2${Ie} ** ${8*(ve+1)}${Ie}`:`>= -(2${Ie} ** ${8*(ve+1)-1}${Ie}) and < 2 ** ${8*(ve+1)-1}${Ie}`,new ce.ERR_OUT_OF_RANGE("value",Xe,de)}(function(Xe,Nt,ut){we(Nt,"offset"),Xe[Nt]!==void 0&&Xe[Nt+ut]!==void 0||tt(Nt,Xe.length-(ut+1))})(Z,se,ve)}function we(de,F){if(typeof de!="number")throw new ce.ERR_INVALID_ARG_TYPE(F,"number",de)}function tt(de,F,q){throw Math.floor(de)!==de?(we(de,q),new ce.ERR_OUT_OF_RANGE("offset","an integer",de)):F<0?new ce.ERR_BUFFER_OUT_OF_BOUNDS:new ce.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${F}`,de)}Ke("ERR_BUFFER_OUT_OF_BOUNDS",function(de){return de?`${de} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ke("ERR_INVALID_ARG_TYPE",function(de,F){return`The "${de}" argument must be of type number. Received type ${typeof F}`},TypeError),Ke("ERR_OUT_OF_RANGE",function(de,F,q){let Z=`The value of "${de}" is out of range.`,se=q;return Number.isInteger(q)&&Math.abs(q)>4294967296?se=Et(String(q)):typeof q=="bigint"&&(se=String(q),(q>nl(BigInt(2),BigInt(32))||q<-nl(BigInt(2),BigInt(32)))&&(se=Et(se)),se+="n"),Z+=` It must be ${F}. Received ${se}`,Z},RangeError);const ot=/[^+/0-9A-Za-z-_]/g;function Qt(de,F){let q;F=F||1/0;const Z=de.length;let se=null;const ve=[];for(let Ie=0;Ie<Z;++Ie){if(q=de.charCodeAt(Ie),q>55295&&q<57344){if(!se){if(q>56319){(F-=3)>-1&&ve.push(239,191,189);continue}if(Ie+1===Z){(F-=3)>-1&&ve.push(239,191,189);continue}se=q;continue}if(q<56320){(F-=3)>-1&&ve.push(239,191,189),se=q;continue}q=65536+(se-55296<<10|q-56320)}else se&&(F-=3)>-1&&ve.push(239,191,189);if(se=null,q<128){if((F-=1)<0)break;ve.push(q)}else if(q<2048){if((F-=2)<0)break;ve.push(q>>6|192,63&q|128)}else if(q<65536){if((F-=3)<0)break;ve.push(q>>12|224,q>>6&63|128,63&q|128)}else{if(!(q<1114112))throw new Error("Invalid code point");if((F-=4)<0)break;ve.push(q>>18|240,q>>12&63|128,q>>6&63|128,63&q|128)}}return ve}function pr(de){return d.toByteArray(function(q){if((q=(q=q.split("=")[0]).trim().replace(ot,"")).length<2)return"";for(;q.length%4!=0;)q+="=";return q}(de))}function St(de,F,q,Z){let se;for(se=0;se<Z&&!(se+q>=F.length||se>=de.length);++se)F[se+q]=de[se];return se}function Gt(de,F){return de instanceof F||de!=null&&de.constructor!=null&&de.constructor.name!=null&&de.constructor.name===F.name}function nr(de){return de!=de}const _t=function(){const de="0123456789abcdef",F=new Array(256);for(let q=0;q<16;++q){const Z=16*q;for(let se=0;se<16;++se)F[Z+se]=de[q]+de[se]}return F}();function mt(de){return typeof BigInt=="undefined"?Ft:de}function Ft(){throw new Error("BigInt not supported")}},17965:(_,j,s)=>{var d=s(16426),b={"text/plain":"Text","text/html":"Url",default:"Text"};_.exports=function(w,m){var y,S,k,P,I,O,M=!1;m||(m={}),y=m.debug||!1;try{if(k=d(),P=document.createRange(),I=document.getSelection(),(O=document.createElement("span")).textContent=w,O.ariaHidden="true",O.style.all="unset",O.style.position="fixed",O.style.top=0,O.style.clip="rect(0, 0, 0, 0)",O.style.whiteSpace="pre",O.style.webkitUserSelect="text",O.style.MozUserSelect="text",O.style.msUserSelect="text",O.style.userSelect="text",O.addEventListener("copy",function(z){if(z.stopPropagation(),m.format)if(z.preventDefault(),z.clipboardData===void 0){y&&console.warn("unable to use e.clipboardData"),y&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var V=b[m.format]||b.default;window.clipboardData.setData(V,w)}else z.clipboardData.clearData(),z.clipboardData.setData(m.format,w);m.onCopy&&(z.preventDefault(),m.onCopy(z.clipboardData))}),document.body.appendChild(O),P.selectNodeContents(O),I.addRange(P),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");M=!0}catch(z){y&&console.error("unable to copy using execCommand: ",z),y&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",w),m.onCopy&&m.onCopy(window.clipboardData),M=!0}catch(V){y&&console.error("unable to copy using clipboardData: ",V),y&&console.error("falling back to prompt"),S=function($){var K=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return $.replace(/#{\s*key\s*}/g,K)}("message"in m?m.message:"Copy to clipboard: #{key}, Enter"),window.prompt(S,w)}}finally{I&&(typeof I.removeRange=="function"?I.removeRange(P):I.removeAllRanges()),O&&document.body.removeChild(O),k()}return M}},2205:function(_,j,s){var d;d=s.g!==void 0?s.g:this,_.exports=function(b){if(b.CSS&&b.CSS.escape)return b.CSS.escape;var f=function(w){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var m,y=String(w),S=y.length,k=-1,P="",I=y.charCodeAt(0);++k<S;)(m=y.charCodeAt(k))!=0?P+=m>=1&&m<=31||m==127||k==0&&m>=48&&m<=57||k==1&&m>=48&&m<=57&&I==45?"\\"+m.toString(16)+" ":k==0&&S==1&&m==45||!(m>=128||m==45||m==95||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122)?"\\"+y.charAt(k):y.charAt(k):P+="�";return P};return b.CSS||(b.CSS={}),b.CSS.escape=f,f}(d)},81919:(_,j,s)=>{var d=s(48287).Buffer;function b(S){return S instanceof d||S instanceof Date||S instanceof RegExp}function f(S){if(S instanceof d){var k=d.alloc?d.alloc(S.length):new d(S.length);return S.copy(k),k}if(S instanceof Date)return new Date(S.getTime());if(S instanceof RegExp)return new RegExp(S);throw new Error("Unexpected situation")}function w(S){var k=[];return S.forEach(function(P,I){typeof P=="object"&&P!==null?Array.isArray(P)?k[I]=w(P):b(P)?k[I]=f(P):k[I]=y({},P):k[I]=P}),k}function m(S,k){return k==="__proto__"?void 0:S[k]}var y=_.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var S,k,P=arguments[0];return Array.prototype.slice.call(arguments,1).forEach(function(I){typeof I!="object"||I===null||Array.isArray(I)||Object.keys(I).forEach(function(O){return k=m(P,O),(S=m(I,O))===P?void 0:typeof S!="object"||S===null?void(P[O]=S):Array.isArray(S)?void(P[O]=w(S)):b(S)?void(P[O]=f(S)):typeof k!="object"||k===null||Array.isArray(k)?void(P[O]=y({},S)):void(P[O]=y(k,S))})}),P}},14744:_=>{var j=function(P){return function(O){return!!O&&typeof O=="object"}(P)&&!function(O){var M=Object.prototype.toString.call(O);return M==="[object RegExp]"||M==="[object Date]"||function(V){return V.$$typeof===s}(O)}(P)},s=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function d(k,P){return P.clone!==!1&&P.isMergeableObject(k)?y(function(O){return Array.isArray(O)?[]:{}}(k),k,P):k}function b(k,P,I){return k.concat(P).map(function(O){return d(O,I)})}function f(k){return Object.keys(k).concat(function(I){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(I).filter(function(O){return Object.propertyIsEnumerable.call(I,O)}):[]}(k))}function w(k,P){try{return P in k}catch(I){return!1}}function m(k,P,I){var O={};return I.isMergeableObject(k)&&f(k).forEach(function(M){O[M]=d(k[M],I)}),f(P).forEach(function(M){(function(V,U){return w(V,U)&&!(Object.hasOwnProperty.call(V,U)&&Object.propertyIsEnumerable.call(V,U))})(k,M)||(w(k,M)&&I.isMergeableObject(P[M])?O[M]=function(V,U){if(!U.customMerge)return y;var $=U.customMerge(V);return typeof $=="function"?$:y}(M,I)(k[M],P[M],I):O[M]=d(P[M],I))}),O}function y(k,P,I){(I=I||{}).arrayMerge=I.arrayMerge||b,I.isMergeableObject=I.isMergeableObject||j,I.cloneUnlessOtherwiseSpecified=d;var O=Array.isArray(P);return O===Array.isArray(k)?O?I.arrayMerge(k,P,I):m(k,P,I):d(P,I)}y.all=function(P,I){if(!Array.isArray(P))throw new Error("first argument should be an array");return P.reduce(function(O,M){return y(O,M,I)},{})};var S=y;_.exports=S},42838:function(_){_.exports=function(){const{entries:j,setPrototypeOf:s,isFrozen:d,getPrototypeOf:b,getOwnPropertyDescriptor:f}=Object;let{freeze:w,seal:m,create:y}=Object,{apply:S,construct:k}=typeof Reflect!="undefined"&&Reflect;w||(w=function(q){return q}),m||(m=function(q){return q}),S||(S=function(q,Z,se){return q.apply(Z,se)}),k||(k=function(q,Z){return new q(...Z)});const P=ke(Array.prototype.forEach),I=ke(Array.prototype.pop),O=ke(Array.prototype.push),M=ke(String.prototype.toLowerCase),z=ke(String.prototype.toString),V=ke(String.prototype.match),U=ke(String.prototype.replace),$=ke(String.prototype.indexOf),K=ke(String.prototype.trim),Y=ke(Object.prototype.hasOwnProperty),ee=ke(RegExp.prototype.test),te=ue(TypeError);function ke(F){return function(q){for(var Z=arguments.length,se=new Array(Z>1?Z-1:0),ve=1;ve<Z;ve++)se[ve-1]=arguments[ve];return S(F,q,se)}}function ue(F){return function(){for(var q=arguments.length,Z=new Array(q),se=0;se<q;se++)Z[se]=arguments[se];return k(F,Z)}}function le(F,q){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M;s&&s(F,null);let se=q.length;for(;se--;){let ve=q[se];if(typeof ve=="string"){const Ie=Z(ve);Ie!==ve&&(d(q)||(q[se]=Ie),ve=Ie)}F[ve]=!0}return F}function Pe(F){for(let q=0;q<F.length;q++)Y(F,q)||(F[q]=null);return F}function Fe(F){const q=y(null);for(const[Z,se]of j(F))Y(F,Z)&&(Array.isArray(se)?q[Z]=Pe(se):se&&typeof se=="object"&&se.constructor===Object?q[Z]=Fe(se):q[Z]=se);return q}function ze(F,q){for(;F!==null;){const se=f(F,q);if(se){if(se.get)return ke(se.get);if(typeof se.value=="function")return ke(se.value)}F=b(F)}function Z(){return null}return Z}const qe=w(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),p=w(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),at=w(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),De=w(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ve=w(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ct=w(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),He=w(["#text"]),Se=w(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Me=w(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),rt=w(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ce=w(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ke=m(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Et=m(/<%[\w\W]*|[\w\W]*%>/gm),xe=m(/\${[\w\W]*}/gm),we=m(/^data-[\-\w.\u00B7-\uFFFF]/),tt=m(/^aria-[\-\w]+$/),ot=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qt=m(/^(?:\w+script|data):/i),pr=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),St=m(/^html$/i),Gt=m(/^[a-z][.\w]*(-[.\w]+)+$/i);var nr=Object.freeze({__proto__:null,MUSTACHE_EXPR:Ke,ERB_EXPR:Et,TMPLIT_EXPR:xe,DATA_ATTR:we,ARIA_ATTR:tt,IS_ALLOWED_URI:ot,IS_SCRIPT_OR_DATA:Qt,ATTR_WHITESPACE:pr,DOCTYPE_NAME:St,CUSTOM_ELEMENT:Gt});const _t={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},mt=function(){return typeof window=="undefined"?null:window},Ft=function(q,Z){if(typeof q!="object"||typeof q.createPolicy!="function")return null;let se=null;const ve="data-tt-policy-suffix";Z&&Z.hasAttribute(ve)&&(se=Z.getAttribute(ve));const Ie="dompurify"+(se?"#"+se:"");try{return q.createPolicy(Ie,{createHTML:Xe=>Xe,createScriptURL:Xe=>Xe})}catch(Xe){return console.warn("TrustedTypes policy "+Ie+" could not be created."),null}};function de(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mt();const q=Kt=>de(Kt);if(q.version="3.1.6",q.removed=[],!F||!F.document||F.document.nodeType!==_t.document)return q.isSupported=!1,q;let{document:Z}=F;const se=Z,ve=se.currentScript,{DocumentFragment:Ie,HTMLTemplateElement:Xe,Node:Nt,Element:ut,NodeFilter:xt,NamedNodeMap:Ct=F.NamedNodeMap||F.MozNamedAttrMap,HTMLFormElement:Ur,DOMParser:$r,trustedTypes:Yr}=F,Nr=ut.prototype,Tn=ze(Nr,"cloneNode"),Ia=ze(Nr,"remove"),Or=ze(Nr,"nextSibling"),Hr=ze(Nr,"childNodes"),an=ze(Nr,"parentNode");if(typeof Xe=="function"){const Kt=Z.createElement("template");Kt.content&&Kt.content.ownerDocument&&(Z=Kt.content.ownerDocument)}let on,Vr="";const{implementation:mn,createNodeIterator:Ta,createDocumentFragment:uo,getElementsByTagName:Ma}=Z,{importNode:Wt}=se;let Jt={};q.isSupported=typeof j=="function"&&typeof an=="function"&&mn&&mn.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:mr,ERB_EXPR:gr,TMPLIT_EXPR:dr,DATA_ATTR:_n,ARIA_ATTR:dn,IS_SCRIPT_OR_DATA:Fr,ATTR_WHITESPACE:en,CUSTOM_ELEMENT:Jr}=nr;let{IS_ALLOWED_URI:Ua}=nr,jr=null;const ka=le({},[...qe,...p,...at,...Ve,...He]);let gn=null;const Si=le({},[...Se,...Me,...rt,...ce]);let Ir=Object.seal(y(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yr=null,Cn=null,lr=!0,vr=!0,po=!1,ba=!0,br=!1,Ca=!0,Mt=!1,rr=!1,zt=!1,cr=!1,vn=!1,Hn=!1,Va=!0,Ra=!1;const $n="user-content-";let wa=!0,So=!1,xo={},Ya=null;const Wo=le({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let xi=null;const ko=le({},["audio","video","img","source","image","track"]);let Ko=null;const si=le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ho="http://www.w3.org/1998/Math/MathML",li="http://www.w3.org/2000/svg",ua="http://www.w3.org/1999/xhtml";let Co=ua,Rr=!1,ki=null;const Ul=le({},[Ho,li,ua],z);let ci=null;const Vl=["application/xhtml+xml","text/html"],Wl="text/html";let _r=null,Ao=null;const Xi=Z.createElement("form"),Sn=function($e){return $e instanceof RegExp||$e instanceof Function},Qn=function(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Ao||Ao!==$e){if($e&&typeof $e=="object"||($e={}),$e=Fe($e),ci=Vl.indexOf($e.PARSER_MEDIA_TYPE)===-1?Wl:$e.PARSER_MEDIA_TYPE,_r=ci==="application/xhtml+xml"?z:M,jr=Y($e,"ALLOWED_TAGS")?le({},$e.ALLOWED_TAGS,_r):ka,gn=Y($e,"ALLOWED_ATTR")?le({},$e.ALLOWED_ATTR,_r):Si,ki=Y($e,"ALLOWED_NAMESPACES")?le({},$e.ALLOWED_NAMESPACES,z):Ul,Ko=Y($e,"ADD_URI_SAFE_ATTR")?le(Fe(si),$e.ADD_URI_SAFE_ATTR,_r):si,xi=Y($e,"ADD_DATA_URI_TAGS")?le(Fe(ko),$e.ADD_DATA_URI_TAGS,_r):ko,Ya=Y($e,"FORBID_CONTENTS")?le({},$e.FORBID_CONTENTS,_r):Wo,yr=Y($e,"FORBID_TAGS")?le({},$e.FORBID_TAGS,_r):{},Cn=Y($e,"FORBID_ATTR")?le({},$e.FORBID_ATTR,_r):{},xo=!!Y($e,"USE_PROFILES")&&$e.USE_PROFILES,lr=$e.ALLOW_ARIA_ATTR!==!1,vr=$e.ALLOW_DATA_ATTR!==!1,po=$e.ALLOW_UNKNOWN_PROTOCOLS||!1,ba=$e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,br=$e.SAFE_FOR_TEMPLATES||!1,Ca=$e.SAFE_FOR_XML!==!1,Mt=$e.WHOLE_DOCUMENT||!1,cr=$e.RETURN_DOM||!1,vn=$e.RETURN_DOM_FRAGMENT||!1,Hn=$e.RETURN_TRUSTED_TYPE||!1,zt=$e.FORCE_BODY||!1,Va=$e.SANITIZE_DOM!==!1,Ra=$e.SANITIZE_NAMED_PROPS||!1,wa=$e.KEEP_CONTENT!==!1,So=$e.IN_PLACE||!1,Ua=$e.ALLOWED_URI_REGEXP||ot,Co=$e.NAMESPACE||ua,Ir=$e.CUSTOM_ELEMENT_HANDLING||{},$e.CUSTOM_ELEMENT_HANDLING&&Sn($e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ir.tagNameCheck=$e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),$e.CUSTOM_ELEMENT_HANDLING&&Sn($e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ir.attributeNameCheck=$e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),$e.CUSTOM_ELEMENT_HANDLING&&typeof $e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Ir.allowCustomizedBuiltInElements=$e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),br&&(vr=!1),vn&&(cr=!0),xo&&(jr=le({},He),gn=[],xo.html===!0&&(le(jr,qe),le(gn,Se)),xo.svg===!0&&(le(jr,p),le(gn,Me),le(gn,ce)),xo.svgFilters===!0&&(le(jr,at),le(gn,Me),le(gn,ce)),xo.mathMl===!0&&(le(jr,Ve),le(gn,rt),le(gn,ce))),$e.ADD_TAGS&&(jr===ka&&(jr=Fe(jr)),le(jr,$e.ADD_TAGS,_r)),$e.ADD_ATTR&&(gn===Si&&(gn=Fe(gn)),le(gn,$e.ADD_ATTR,_r)),$e.ADD_URI_SAFE_ATTR&&le(Ko,$e.ADD_URI_SAFE_ATTR,_r),$e.FORBID_CONTENTS&&(Ya===Wo&&(Ya=Fe(Ya)),le(Ya,$e.FORBID_CONTENTS,_r)),wa&&(jr["#text"]=!0),Mt&&le(jr,["html","head","body"]),jr.table&&(le(jr,["tbody"]),delete yr.tbody),$e.TRUSTED_TYPES_POLICY){if(typeof $e.TRUSTED_TYPES_POLICY.createHTML!="function")throw te('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof $e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw te('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');on=$e.TRUSTED_TYPES_POLICY,Vr=on.createHTML("")}else on===void 0&&(on=Ft(Yr,ve)),on!==null&&typeof Vr=="string"&&(Vr=on.createHTML(""));w&&w($e),Ao=$e}},ho=le({},["mi","mo","mn","ms","mtext"]),ui=le({},["foreignobject","annotation-xml"]),Oo=le({},["title","style","font","a","script"]),fo=le({},[...p,...at,...De]),Ci=le({},[...Ve,...ct]),ks=function($e){let At=an($e);At&&At.tagName||(At={namespaceURI:Co,tagName:"template"});const Bt=M($e.tagName),Xr=M(At.tagName);return!!ki[$e.namespaceURI]&&($e.namespaceURI===li?At.namespaceURI===ua?Bt==="svg":At.namespaceURI===Ho?Bt==="svg"&&(Xr==="annotation-xml"||ho[Xr]):!!fo[Bt]:$e.namespaceURI===Ho?At.namespaceURI===ua?Bt==="math":At.namespaceURI===li?Bt==="math"&&ui[Xr]:!!Ci[Bt]:$e.namespaceURI===ua?!(At.namespaceURI===li&&!ui[Xr])&&!(At.namespaceURI===Ho&&!ho[Xr])&&!Ci[Bt]&&(Oo[Bt]||!fo[Bt]):!(ci!=="application/xhtml+xml"||!ki[$e.namespaceURI]))},Aa=function($e){O(q.removed,{element:$e});try{an($e).removeChild($e)}catch(At){Ia($e)}},pi=function($e,At){try{O(q.removed,{attribute:At.getAttributeNode($e),from:At})}catch(Bt){O(q.removed,{attribute:null,from:At})}if(At.removeAttribute($e),$e==="is"&&!gn[$e])if(cr||vn)try{Aa(At)}catch(Bt){}else try{At.setAttribute($e,"")}catch(Bt){}},mo=function($e){let At=null,Bt=null;if(zt)$e="<remove></remove>"+$e;else{const An=V($e,/^[\r\n\t ]+/);Bt=An&&An[0]}ci==="application/xhtml+xml"&&Co===ua&&($e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+$e+"</body></html>");const Xr=on?on.createHTML($e):$e;if(Co===ua)try{At=new $r().parseFromString(Xr,ci)}catch(An){}if(!At||!At.documentElement){At=mn.createDocument(Co,"template",null);try{At.documentElement.innerHTML=Rr?Vr:Xr}catch(An){}}const Fn=At.body||At.documentElement;return $e&&Bt&&Fn.insertBefore(Z.createTextNode(Bt),Fn.childNodes[0]||null),Co===ua?Ma.call(At,Mt?"html":"body")[0]:Mt?At.documentElement:Fn},Cs=function($e){return Ta.call($e.ownerDocument||$e,$e,xt.SHOW_ELEMENT|xt.SHOW_COMMENT|xt.SHOW_TEXT|xt.SHOW_PROCESSING_INSTRUCTION|xt.SHOW_CDATA_SECTION,null)},go=function($e){return $e instanceof Ur&&(typeof $e.nodeName!="string"||typeof $e.textContent!="string"||typeof $e.removeChild!="function"||!($e.attributes instanceof Ct)||typeof $e.removeAttribute!="function"||typeof $e.setAttribute!="function"||typeof $e.namespaceURI!="string"||typeof $e.insertBefore!="function"||typeof $e.hasChildNodes!="function")},jo=function($e){return typeof Nt=="function"&&$e instanceof Nt},ea=function($e,At,Bt){Jt[$e]&&P(Jt[$e],Xr=>{Xr.call(q,At,Bt,Ao)})},tn=function($e){let At=null;if(ea("beforeSanitizeElements",$e,null),go($e))return Aa($e),!0;const Bt=_r($e.nodeName);if(ea("uponSanitizeElement",$e,{tagName:Bt,allowedTags:jr}),$e.hasChildNodes()&&!jo($e.firstElementChild)&&ee(/<[/\w]/g,$e.innerHTML)&&ee(/<[/\w]/g,$e.textContent)||$e.nodeType===_t.progressingInstruction||Ca&&$e.nodeType===_t.comment&&ee(/<[/\w]/g,$e.data))return Aa($e),!0;if(!jr[Bt]||yr[Bt]){if(!yr[Bt]&&ar(Bt)&&(Ir.tagNameCheck instanceof RegExp&&ee(Ir.tagNameCheck,Bt)||Ir.tagNameCheck instanceof Function&&Ir.tagNameCheck(Bt)))return!1;if(wa&&!Ya[Bt]){const Xr=an($e)||$e.parentNode,Fn=Hr($e)||$e.childNodes;if(Fn&&Xr)for(let An=Fn.length-1;An>=0;--An){const ta=Tn(Fn[An],!0);ta.__removalCount=($e.__removalCount||0)+1,Xr.insertBefore(ta,Or($e))}}return Aa($e),!0}return $e instanceof ut&&!ks($e)?(Aa($e),!0):Bt!=="noscript"&&Bt!=="noembed"&&Bt!=="noframes"||!ee(/<\/no(script|embed|frames)/i,$e.innerHTML)?(br&&$e.nodeType===_t.text&&(At=$e.textContent,P([mr,gr,dr],Xr=>{At=U(At,Xr," ")}),$e.textContent!==At&&(O(q.removed,{element:$e.cloneNode()}),$e.textContent=At)),ea("afterSanitizeElements",$e,null),!1):(Aa($e),!0)},Ai=function($e,At,Bt){if(Va&&(At==="id"||At==="name")&&(Bt in Z||Bt in Xi))return!1;if(!(vr&&!Cn[At]&&ee(_n,At))){if(!(lr&&ee(dn,At))){if(!gn[At]||Cn[At]){if(!(ar($e)&&(Ir.tagNameCheck instanceof RegExp&&ee(Ir.tagNameCheck,$e)||Ir.tagNameCheck instanceof Function&&Ir.tagNameCheck($e))&&(Ir.attributeNameCheck instanceof RegExp&&ee(Ir.attributeNameCheck,At)||Ir.attributeNameCheck instanceof Function&&Ir.attributeNameCheck(At))||At==="is"&&Ir.allowCustomizedBuiltInElements&&(Ir.tagNameCheck instanceof RegExp&&ee(Ir.tagNameCheck,Bt)||Ir.tagNameCheck instanceof Function&&Ir.tagNameCheck(Bt))))return!1}else if(!Ko[At]){if(!ee(Ua,U(Bt,en,""))){if((At!=="src"&&At!=="xlink:href"&&At!=="href"||$e==="script"||$(Bt,"data:")!==0||!xi[$e])&&!(po&&!ee(Fr,U(Bt,en,"")))){if(Bt)return!1}}}}}return!0},ar=function($e){return $e!=="annotation-xml"&&V($e,Jr)},Zi=function($e){ea("beforeSanitizeAttributes",$e,null);const{attributes:At}=$e;if(!At)return;const Bt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gn};let Xr=At.length;for(;Xr--;){const Fn=At[Xr],{name:An,namespaceURI:ta,value:yo}=Fn,Oi=_r(An);let Zr=An==="value"?yo:K(yo);if(Bt.attrName=Oi,Bt.attrValue=Zr,Bt.keepAttr=!0,Bt.forceKeepAttr=void 0,ea("uponSanitizeAttribute",$e,Bt),Zr=Bt.attrValue,Ca&&ee(/((--!?|])>)|<\/(style|title)/i,Zr)){pi(An,$e);continue}if(Bt.forceKeepAttr||(pi(An,$e),!Bt.keepAttr))continue;if(!ba&&ee(/\/>/i,Zr)){pi(An,$e);continue}br&&P([mr,gr,dr],di=>{Zr=U(Zr,di," ")});const As=_r($e.nodeName);if(Ai(As,Oi,Zr)){if(!Ra||Oi!=="id"&&Oi!=="name"||(pi(An,$e),Zr=$n+Zr),on&&typeof Yr=="object"&&typeof Yr.getAttributeType=="function"&&!ta)switch(Yr.getAttributeType(As,Oi)){case"TrustedHTML":Zr=on.createHTML(Zr);break;case"TrustedScriptURL":Zr=on.createScriptURL(Zr)}try{ta?$e.setAttributeNS(ta,An,Zr):$e.setAttribute(An,Zr),go($e)?Aa($e):I(q.removed)}catch(di){}}}ea("afterSanitizeAttributes",$e,null)},hi=function Kt($e){let At=null;const Bt=Cs($e);for(ea("beforeSanitizeShadowDOM",$e,null);At=Bt.nextNode();)ea("uponSanitizeShadowNode",At,null),tn(At)||(At.content instanceof Ie&&Kt(At.content),Zi(At));ea("afterSanitizeShadowDOM",$e,null)};return q.sanitize=function(Kt){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At=null,Bt=null,Xr=null,Fn=null;if(Rr=!Kt,Rr&&(Kt="<!-->"),typeof Kt!="string"&&!jo(Kt)){if(typeof Kt.toString!="function")throw te("toString is not a function");if(typeof(Kt=Kt.toString())!="string")throw te("dirty is not a string, aborting")}if(!q.isSupported)return Kt;if(rr||Qn($e),q.removed=[],typeof Kt=="string"&&(So=!1),So){if(Kt.nodeName){const yo=_r(Kt.nodeName);if(!jr[yo]||yr[yo])throw te("root node is forbidden and cannot be sanitized in-place")}}else if(Kt instanceof Nt)At=mo("<!---->"),Bt=At.ownerDocument.importNode(Kt,!0),Bt.nodeType===_t.element&&Bt.nodeName==="BODY"||Bt.nodeName==="HTML"?At=Bt:At.appendChild(Bt);else{if(!cr&&!br&&!Mt&&Kt.indexOf("<")===-1)return on&&Hn?on.createHTML(Kt):Kt;if(At=mo(Kt),!At)return cr?null:Hn?Vr:""}At&&zt&&Aa(At.firstChild);const An=Cs(So?Kt:At);for(;Xr=An.nextNode();)tn(Xr)||(Xr.content instanceof Ie&&hi(Xr.content),Zi(Xr));if(So)return Kt;if(cr){if(vn)for(Fn=uo.call(At.ownerDocument);At.firstChild;)Fn.appendChild(At.firstChild);else Fn=At;return(gn.shadowroot||gn.shadowrootmode)&&(Fn=Wt.call(se,Fn,!0)),Fn}let ta=Mt?At.outerHTML:At.innerHTML;return Mt&&jr["!doctype"]&&At.ownerDocument&&At.ownerDocument.doctype&&At.ownerDocument.doctype.name&&ee(St,At.ownerDocument.doctype.name)&&(ta="<!DOCTYPE "+At.ownerDocument.doctype.name+`>
18
18
  `+ta),br&&P([mr,gr,dr],yo=>{ta=U(ta,yo," ")}),on&&Hn?on.createHTML(ta):ta},q.setConfig=function(){Qn(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),rr=!0},q.clearConfig=function(){Ao=null,rr=!1},q.isValidAttribute=function(Kt,$e,At){Ao||Qn({});const Bt=_r(Kt),Xr=_r($e);return Ai(Bt,Xr,At)},q.addHook=function(Kt,$e){typeof $e=="function"&&(Jt[Kt]=Jt[Kt]||[],O(Jt[Kt],$e))},q.removeHook=function(Kt){if(Jt[Kt])return I(Jt[Kt])},q.removeHooks=function(Kt){Jt[Kt]&&(Jt[Kt]=[])},q.removeAllHooks=function(){Jt={}},q}return de()}()},78004:_=>{class j{constructor(b,f){this.low=b,this.high=f,this.length=1+f-b}overlaps(b){return!(this.high<b.low||this.low>b.high)}touches(b){return!(this.high+1<b.low||this.low-1>b.high)}add(b){return new j(Math.min(this.low,b.low),Math.max(this.high,b.high))}subtract(b){return b.low<=this.low&&b.high>=this.high?[]:b.low>this.low&&b.high<this.high?[new j(this.low,b.low-1),new j(b.high+1,this.high)]:b.low<=this.low?[new j(b.high+1,this.high)]:[new j(this.low,b.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class s{constructor(b,f){this.ranges=[],this.length=0,b!=null&&this.add(b,f)}_update_length(){this.length=this.ranges.reduce((b,f)=>b+f.length,0)}add(b,f){var w=m=>{for(var y=0;y<this.ranges.length&&!m.touches(this.ranges[y]);)y++;for(var S=this.ranges.slice(0,y);y<this.ranges.length&&m.touches(this.ranges[y]);)m=m.add(this.ranges[y]),y++;S.push(m),this.ranges=S.concat(this.ranges.slice(y)),this._update_length()};return b instanceof s?b.ranges.forEach(w):(f==null&&(f=b),w(new j(b,f))),this}subtract(b,f){var w=m=>{for(var y=0;y<this.ranges.length&&!m.overlaps(this.ranges[y]);)y++;for(var S=this.ranges.slice(0,y);y<this.ranges.length&&m.overlaps(this.ranges[y]);)S=S.concat(this.ranges[y].subtract(m)),y++;this.ranges=S.concat(this.ranges.slice(y)),this._update_length()};return b instanceof s?b.ranges.forEach(w):(f==null&&(f=b),w(new j(b,f))),this}intersect(b,f){var w=[],m=y=>{for(var S=0;S<this.ranges.length&&!y.overlaps(this.ranges[S]);)S++;for(;S<this.ranges.length&&y.overlaps(this.ranges[S]);){var k=Math.max(this.ranges[S].low,y.low),P=Math.min(this.ranges[S].high,y.high);w.push(new j(k,P)),S++}};return b instanceof s?b.ranges.forEach(m):(f==null&&(f=b),m(new j(b,f))),this.ranges=w,this._update_length(),this}index(b){for(var f=0;f<this.ranges.length&&this.ranges[f].length<=b;)b-=this.ranges[f].length,f++;return this.ranges[f].low+b}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new s(this)}numbers(){return this.ranges.reduce((b,f)=>{for(var w=f.low;w<=f.high;)b.push(w),w++;return b},[])}subranges(){return this.ranges.map(b=>({low:b.low,high:b.high,length:1+b.high-b.low}))}}_.exports=s},37007:_=>{var j,s=typeof Reflect=="object"?Reflect:null,d=s&&typeof s.apply=="function"?s.apply:function(U,$,K){return Function.prototype.apply.call(U,$,K)};j=s&&typeof s.ownKeys=="function"?s.ownKeys:Object.getOwnPropertySymbols?function(U){return Object.getOwnPropertyNames(U).concat(Object.getOwnPropertySymbols(U))}:function(U){return Object.getOwnPropertyNames(U)};var b=Number.isNaN||function(U){return U!=U};function f(){f.init.call(this)}_.exports=f,_.exports.once=function(U,$){return new Promise(function(K,Y){function ee(ke){U.removeListener($,te),Y(ke)}function te(){typeof U.removeListener=="function"&&U.removeListener("error",ee),K([].slice.call(arguments))}z(U,$,te,{once:!0}),$!=="error"&&function(ue,le,Pe){typeof ue.on=="function"&&z(ue,"error",le,Pe)}(U,ee,{once:!0})})},f.EventEmitter=f,f.prototype._events=void 0,f.prototype._eventsCount=0,f.prototype._maxListeners=void 0;var w=10;function m(V){if(typeof V!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof V)}function y(V){return V._maxListeners===void 0?f.defaultMaxListeners:V._maxListeners}function S(V,U,$,K){var Y,ee,te;if(m($),(ee=V._events)===void 0?(ee=V._events=Object.create(null),V._eventsCount=0):(ee.newListener!==void 0&&(V.emit("newListener",U,$.listener?$.listener:$),ee=V._events),te=ee[U]),te===void 0)te=ee[U]=$,++V._eventsCount;else if(typeof te=="function"?te=ee[U]=K?[$,te]:[te,$]:K?te.unshift($):te.push($),(Y=y(V))>0&&te.length>Y&&!te.warned){te.warned=!0;var ke=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(U)+" listeners added. Use emitter.setMaxListeners() to increase limit");ke.name="MaxListenersExceededWarning",ke.emitter=V,ke.type=U,ke.count=te.length,function(le){console&&console.warn&&console.warn(le)}(ke)}return V}function k(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function P(V,U,$){var K={fired:!1,wrapFn:void 0,target:V,type:U,listener:$},Y=k.bind(K);return Y.listener=$,K.wrapFn=Y,Y}function I(V,U,$){var K=V._events;if(K===void 0)return[];var Y=K[U];return Y===void 0?[]:typeof Y=="function"?$?[Y.listener||Y]:[Y]:$?function(te){for(var ke=new Array(te.length),ue=0;ue<ke.length;++ue)ke[ue]=te[ue].listener||te[ue];return ke}(Y):M(Y,Y.length)}function O(V){var U=this._events;if(U!==void 0){var $=U[V];if(typeof $=="function")return 1;if($!==void 0)return $.length}return 0}function M(V,U){for(var $=new Array(U),K=0;K<U;++K)$[K]=V[K];return $}function z(V,U,$,K){if(typeof V.on=="function")K.once?V.once(U,$):V.on(U,$);else{if(typeof V.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof V);V.addEventListener(U,function Y(ee){K.once&&V.removeEventListener(U,Y),$(ee)})}}Object.defineProperty(f,"defaultMaxListeners",{enumerable:!0,get:function(){return w},set:function(V){if(typeof V!="number"||V<0||b(V))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+V+".");w=V}}),f.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},f.prototype.setMaxListeners=function(U){if(typeof U!="number"||U<0||b(U))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+U+".");return this._maxListeners=U,this},f.prototype.getMaxListeners=function(){return y(this)},f.prototype.emit=function(U){for(var $=[],K=1;K<arguments.length;K++)$.push(arguments[K]);var Y=U==="error",ee=this._events;if(ee!==void 0)Y=Y&&ee.error===void 0;else if(!Y)return!1;if(Y){var te;if($.length>0&&(te=$[0]),te instanceof Error)throw te;var ke=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw ke.context=te,ke}var ue=ee[U];if(ue===void 0)return!1;if(typeof ue=="function")d(ue,this,$);else{var le=ue.length,Pe=M(ue,le);for(K=0;K<le;++K)d(Pe[K],this,$)}return!0},f.prototype.addListener=function(U,$){return S(this,U,$,!1)},f.prototype.on=f.prototype.addListener,f.prototype.prependListener=function(U,$){return S(this,U,$,!0)},f.prototype.once=function(U,$){return m($),this.on(U,P(this,U,$)),this},f.prototype.prependOnceListener=function(U,$){return m($),this.prependListener(U,P(this,U,$)),this},f.prototype.removeListener=function(U,$){var K,Y,ee,te,ke;if(m($),(Y=this._events)===void 0)return this;if((K=Y[U])===void 0)return this;if(K===$||K.listener===$)--this._eventsCount==0?this._events=Object.create(null):(delete Y[U],Y.removeListener&&this.emit("removeListener",U,K.listener||$));else if(typeof K!="function"){for(ee=-1,te=K.length-1;te>=0;te--)if(K[te]===$||K[te].listener===$){ke=K[te].listener,ee=te;break}if(ee<0)return this;ee===0?K.shift():function(le,Pe){for(;Pe+1<le.length;Pe++)le[Pe]=le[Pe+1];le.pop()}(K,ee),K.length===1&&(Y[U]=K[0]),Y.removeListener!==void 0&&this.emit("removeListener",U,ke||$)}return this},f.prototype.off=f.prototype.removeListener,f.prototype.removeAllListeners=function(U){var $,K,Y;if((K=this._events)===void 0)return this;if(K.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):K[U]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete K[U]),this;if(arguments.length===0){var ee,te=Object.keys(K);for(Y=0;Y<te.length;++Y)(ee=te[Y])!=="removeListener"&&this.removeAllListeners(ee);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof($=K[U])=="function")this.removeListener(U,$);else if($!==void 0)for(Y=$.length-1;Y>=0;Y--)this.removeListener(U,$[Y]);return this},f.prototype.listeners=function(U){return I(this,U,!0)},f.prototype.rawListeners=function(U){return I(this,U,!1)},f.listenerCount=function(V,U){return typeof V.listenerCount=="function"?V.listenerCount(U):O.call(V,U)},f.prototype.listenerCount=O,f.prototype.eventNames=function(){return this._eventsCount>0?j(this._events):[]}},85587:(_,j,s)=>{var d=s(26311),b=f(Error);function f(w){return m.displayName=w.displayName||w.name,m;function m(y){return y&&(y=d.apply(null,arguments)),new w(y)}}_.exports=b,b.eval=f(EvalError),b.range=f(RangeError),b.reference=f(ReferenceError),b.syntax=f(SyntaxError),b.type=f(TypeError),b.uri=f(URIError),b.create=f},26311:_=>{(function(){var j;function s(d){for(var b,f,w,m,y=1,S=[].slice.call(arguments),k=0,P=d.length,I="",O=!1,M=!1,z=function(){return S[y++]},V=function(){for(var U="";/\d/.test(d[k]);)U+=d[k++],b=d[k];return U.length>0?parseInt(U):null};k<P;++k)if(b=d[k],O)switch(O=!1,b=="."?(M=!1,b=d[++k]):b=="0"&&d[k+1]=="."?(M=!0,b=d[k+=2]):M=!0,m=V(),b){case"b":I+=parseInt(z(),10).toString(2);break;case"c":I+=typeof(f=z())=="string"||f instanceof String?f:String.fromCharCode(parseInt(f,10));break;case"d":I+=parseInt(z(),10);break;case"f":w=String(parseFloat(z()).toFixed(m||6)),I+=M?w:w.replace(/^0/,"");break;case"j":I+=JSON.stringify(z());break;case"o":I+="0"+parseInt(z(),10).toString(8);break;case"s":I+=z();break;case"x":I+="0x"+parseInt(z(),10).toString(16);break;case"X":I+="0x"+parseInt(z(),10).toString(16).toUpperCase();break;default:I+=b}else b==="%"?O=!0:I+=b;return I}(j=_.exports=s).format=s,j.vsprintf=function(b,f){return s.apply(null,[b].concat(f))},typeof console!="undefined"&&typeof console.log=="function"&&(j.printf=function(){console.log(s.apply(null,arguments))})})()},45981:_=>{function j(Z){return Z instanceof Map?Z.clear=Z.delete=Z.set=function(){throw new Error("map is read-only")}:Z instanceof Set&&(Z.add=Z.clear=Z.delete=function(){throw new Error("set is read-only")}),Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(function(se){var ve=Z[se];typeof ve!="object"||Object.isFrozen(ve)||j(ve)}),Z}var s=j,d=j;s.default=d;class b{constructor(se){se.data===void 0&&(se.data={}),this.data=se.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function f(Z){return Z.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function w(Z,...se){const ve=Object.create(null);for(const Ie in Z)ve[Ie]=Z[Ie];return se.forEach(function(Ie){for(const Xe in Ie)ve[Xe]=Ie[Xe]}),ve}const m=Z=>!!Z.kind;class y{constructor(se,ve){this.buffer="",this.classPrefix=ve.classPrefix,se.walk(this)}addText(se){this.buffer+=f(se)}openNode(se){if(!m(se))return;let ve=se.kind;se.sublanguage||(ve=`${this.classPrefix}${ve}`),this.span(ve)}closeNode(se){m(se)&&(this.buffer+="</span>")}value(){return this.buffer}span(se){this.buffer+=`<span class="${se}">`}}class S{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(se){this.top.children.push(se)}openNode(se){const ve={kind:se,children:[]};this.add(ve),this.stack.push(ve)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(se){return this.constructor._walk(se,this.rootNode)}static _walk(se,ve){return typeof ve=="string"?se.addText(ve):ve.children&&(se.openNode(ve),ve.children.forEach(Ie=>this._walk(se,Ie)),se.closeNode(ve)),se}static _collapse(se){typeof se!="string"&&se.children&&(se.children.every(ve=>typeof ve=="string")?se.children=[se.children.join("")]:se.children.forEach(ve=>{S._collapse(ve)}))}}class k extends S{constructor(se){super(),this.options=se}addKeyword(se,ve){se!==""&&(this.openNode(ve),this.addText(se),this.closeNode())}addText(se){se!==""&&this.add(se)}addSublanguage(se,ve){const Ie=se.root;Ie.kind=ve,Ie.sublanguage=!0,this.add(Ie)}toHTML(){return new y(this,this.options).value()}finalize(){return!0}}function P(Z){return Z?typeof Z=="string"?Z:Z.source:null}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,O="[a-zA-Z]\\w*",M="[a-zA-Z_]\\w*",z="\\b\\d+(\\.\\d+)?",V="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",U="\\b(0b[01]+)",$={begin:"\\\\[\\s\\S]",relevance:0},K={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[$]},Y={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[$]},ee={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},te=function(Z,se,ve={}){const Ie=w({className:"comment",begin:Z,end:se,contains:[]},ve);return Ie.contains.push(ee),Ie.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Ie},ke=te("//","$"),ue=te("/\\*","\\*/"),le=te("#","$"),Pe={className:"number",begin:z,relevance:0},Fe={className:"number",begin:V,relevance:0},ze={className:"number",begin:U,relevance:0},qe={className:"number",begin:z+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},p={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[$,{begin:/\[/,end:/\]/,relevance:0,contains:[$]}]}]},at={className:"title",begin:O,relevance:0},De={className:"title",begin:M,relevance:0},Ve={begin:"\\.\\s*"+M,relevance:0};var ct=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:O,UNDERSCORE_IDENT_RE:M,NUMBER_RE:z,C_NUMBER_RE:V,BINARY_NUMBER_RE:U,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Z={})=>{const se=/^#![ ]*\//;return Z.binary&&(Z.begin=function(...Ie){return Ie.map(Xe=>P(Xe)).join("")}(se,/.*\b/,Z.binary,/\b.*/)),w({className:"meta",begin:se,end:/$/,relevance:0,"on:begin":(ve,Ie)=>{ve.index!==0&&Ie.ignoreMatch()}},Z)},BACKSLASH_ESCAPE:$,APOS_STRING_MODE:K,QUOTE_STRING_MODE:Y,PHRASAL_WORDS_MODE:ee,COMMENT:te,C_LINE_COMMENT_MODE:ke,C_BLOCK_COMMENT_MODE:ue,HASH_COMMENT_MODE:le,NUMBER_MODE:Pe,C_NUMBER_MODE:Fe,BINARY_NUMBER_MODE:ze,CSS_NUMBER_MODE:qe,REGEXP_MODE:p,TITLE_MODE:at,UNDERSCORE_TITLE_MODE:De,METHOD_GUARD:Ve,END_SAME_AS_BEGIN:function(Z){return Object.assign(Z,{"on:begin":(se,ve)=>{ve.data._beginMatch=se[1]},"on:end":(se,ve)=>{ve.data._beginMatch!==se[1]&&ve.ignoreMatch()}})}});function He(Z,se){Z.input[Z.index-1]==="."&&se.ignoreMatch()}function Se(Z,se){se&&Z.beginKeywords&&(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=He,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,Z.relevance===void 0&&(Z.relevance=0))}function Me(Z,se){Array.isArray(Z.illegal)&&(Z.illegal=function(...Ie){return"("+Ie.map(Xe=>P(Xe)).join("|")+")"}(...Z.illegal))}function rt(Z,se){if(Z.match){if(Z.begin||Z.end)throw new Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}}function ce(Z,se){Z.relevance===void 0&&(Z.relevance=1)}const Ke=["of","and","for","in","not","or","if","then","parent","list","value"];function Et(Z,se,ve="keyword"){const Ie={};return typeof Z=="string"?Xe(ve,Z.split(" ")):Array.isArray(Z)?Xe(ve,Z):Object.keys(Z).forEach(function(Nt){Object.assign(Ie,Et(Z[Nt],se,Nt))}),Ie;function Xe(Nt,ut){se&&(ut=ut.map(xt=>xt.toLowerCase())),ut.forEach(function(xt){const Ct=xt.split("|");Ie[Ct[0]]=[Nt,xe(Ct[0],Ct[1])]})}}function xe(Z,se){return se?Number(se):function(Ie){return Ke.includes(Ie.toLowerCase())}(Z)?0:1}function we(Z,{plugins:se}){function ve(Nt,ut){return new RegExp(P(Nt),"m"+(Z.case_insensitive?"i":"")+(ut?"g":""))}class Ie{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(ut,xt){xt.position=this.position++,this.matchIndexes[this.matchAt]=xt,this.regexes.push([xt,ut]),this.matchAt+=function(Ur){return new RegExp(Ur.toString()+"|").exec("").length-1}(ut)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const ut=this.regexes.map(xt=>xt[1]);this.matcherRe=ve(function(Ct,Ur="|"){let $r=0;return Ct.map(Yr=>{$r+=1;const Nr=$r;let Tn=P(Yr),Ia="";for(;Tn.length>0;){const Or=I.exec(Tn);if(!Or){Ia+=Tn;break}Ia+=Tn.substring(0,Or.index),Tn=Tn.substring(Or.index+Or[0].length),Or[0][0]==="\\"&&Or[1]?Ia+="\\"+String(Number(Or[1])+Nr):(Ia+=Or[0],Or[0]==="("&&$r++)}return Ia}).map(Yr=>`(${Yr})`).join(Ur)}(ut),!0),this.lastIndex=0}exec(ut){this.matcherRe.lastIndex=this.lastIndex;const xt=this.matcherRe.exec(ut);if(!xt)return null;const Ct=xt.findIndex(($r,Yr)=>Yr>0&&$r!==void 0),Ur=this.matchIndexes[Ct];return xt.splice(0,Ct),Object.assign(xt,Ur)}}class Xe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(ut){if(this.multiRegexes[ut])return this.multiRegexes[ut];const xt=new Ie;return this.rules.slice(ut).forEach(([Ct,Ur])=>xt.addRule(Ct,Ur)),xt.compile(),this.multiRegexes[ut]=xt,xt}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(ut,xt){this.rules.push([ut,xt]),xt.type==="begin"&&this.count++}exec(ut){const xt=this.getMatcher(this.regexIndex);xt.lastIndex=this.lastIndex;let Ct=xt.exec(ut);if(this.resumingScanAtSamePosition()&&!(Ct&&Ct.index===this.lastIndex)){const Ur=this.getMatcher(0);Ur.lastIndex=this.lastIndex+1,Ct=Ur.exec(ut)}return Ct&&(this.regexIndex+=Ct.position+1,this.regexIndex===this.count&&this.considerAll()),Ct}}if(Z.compilerExtensions||(Z.compilerExtensions=[]),Z.contains&&Z.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=w(Z.classNameAliases||{}),function Nt(ut,xt){const Ct=ut;if(ut.isCompiled)return Ct;[rt].forEach($r=>$r(ut,xt)),Z.compilerExtensions.forEach($r=>$r(ut,xt)),ut.__beforeBegin=null,[Se,Me,ce].forEach($r=>$r(ut,xt)),ut.isCompiled=!0;let Ur=null;if(typeof ut.keywords=="object"&&(Ur=ut.keywords.$pattern,delete ut.keywords.$pattern),ut.keywords&&(ut.keywords=Et(ut.keywords,Z.case_insensitive)),ut.lexemes&&Ur)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ur=Ur||ut.lexemes||/\w+/,Ct.keywordPatternRe=ve(Ur,!0),xt&&(ut.begin||(ut.begin=/\B|\b/),Ct.beginRe=ve(ut.begin),ut.endSameAsBegin&&(ut.end=ut.begin),ut.end||ut.endsWithParent||(ut.end=/\B|\b/),ut.end&&(Ct.endRe=ve(ut.end)),Ct.terminatorEnd=P(ut.end)||"",ut.endsWithParent&&xt.terminatorEnd&&(Ct.terminatorEnd+=(ut.end?"|":"")+xt.terminatorEnd)),ut.illegal&&(Ct.illegalRe=ve(ut.illegal)),ut.contains||(ut.contains=[]),ut.contains=[].concat(...ut.contains.map(function($r){return function(Nr){return Nr.variants&&!Nr.cachedVariants&&(Nr.cachedVariants=Nr.variants.map(function(Tn){return w(Nr,{variants:null},Tn)})),Nr.cachedVariants?Nr.cachedVariants:tt(Nr)?w(Nr,{starts:Nr.starts?w(Nr.starts):null}):Object.isFrozen(Nr)?w(Nr):Nr}($r==="self"?ut:$r)})),ut.contains.forEach(function($r){Nt($r,Ct)}),ut.starts&&Nt(ut.starts,xt),Ct.matcher=function(Yr){const Nr=new Xe;return Yr.contains.forEach(Tn=>Nr.addRule(Tn.begin,{rule:Tn,type:"begin"})),Yr.terminatorEnd&&Nr.addRule(Yr.terminatorEnd,{type:"end"}),Yr.illegal&&Nr.addRule(Yr.illegal,{type:"illegal"}),Nr}(Ct),Ct}(Z)}function tt(Z){return!!Z&&(Z.endsWithParent||tt(Z.starts))}function ot(Z){const se={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Z.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,f(this.code);let ve={};return this.autoDetect?(ve=Z.highlightAuto(this.code),this.detectedLanguage=ve.language):(ve=Z.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),ve.value},autoDetect(){return!this.language||function(Ie){return!!(Ie||Ie==="")}(this.autodetect)},ignoreIllegals:()=>!0},render(ve){return ve("pre",{},[ve("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:se,VuePlugin:{install(ve){ve.component("highlightjs",se)}}}}const Qt={"after:highlightElement":({el:Z,result:se,text:ve})=>{const Ie=St(Z);if(!Ie.length)return;const Xe=document.createElement("div");Xe.innerHTML=se.value,se.value=function(ut,xt,Ct){let Ur=0,$r="";const Yr=[];function Nr(){return ut.length&&xt.length?ut[0].offset!==xt[0].offset?ut[0].offset<xt[0].offset?ut:xt:xt[0].event==="start"?ut:xt:ut.length?ut:xt}function Tn(Hr){function an(on){return" "+on.nodeName+'="'+f(on.value)+'"'}$r+="<"+pr(Hr)+[].map.call(Hr.attributes,an).join("")+">"}function Ia(Hr){$r+="</"+pr(Hr)+">"}function Or(Hr){(Hr.event==="start"?Tn:Ia)(Hr.node)}for(;ut.length||xt.length;){let Hr=Nr();if($r+=f(Ct.substring(Ur,Hr[0].offset)),Ur=Hr[0].offset,Hr===ut){Yr.reverse().forEach(Ia);do Or(Hr.splice(0,1)[0]),Hr=Nr();while(Hr===ut&&Hr.length&&Hr[0].offset===Ur);Yr.reverse().forEach(Tn)}else Hr[0].event==="start"?Yr.push(Hr[0].node):Yr.pop(),Or(Hr.splice(0,1)[0])}return $r+f(Ct.substr(Ur))}(Ie,St(Xe),ve)}};function pr(Z){return Z.nodeName.toLowerCase()}function St(Z){const se=[];return function ve(Ie,Xe){for(let Nt=Ie.firstChild;Nt;Nt=Nt.nextSibling)Nt.nodeType===3?Xe+=Nt.nodeValue.length:Nt.nodeType===1&&(se.push({event:"start",offset:Xe,node:Nt}),Xe=ve(Nt,Xe),pr(Nt).match(/br|hr|img|input/)||se.push({event:"stop",offset:Xe,node:Nt}));return Xe}(Z,0),se}const Gt={},nr=Z=>{console.error(Z)},_t=(Z,...se)=>{console.log(`WARN: ${Z}`,...se)},mt=(Z,se)=>{Gt[`${Z}/${se}`]||(console.log(`Deprecated as of ${Z}. ${se}`),Gt[`${Z}/${se}`]=!0)},Ft=f,de=w,F=Symbol("nomatch");var q=function(Z){const se=Object.create(null),ve=Object.create(null),Ie=[];let Xe=!0;const Nt=/(^(<[^>]+>|\t|)+|\n)/gm,ut="Could not find the language '{}', did you forget to load/include a language module?",xt={disableAutodetect:!0,name:"Plain text",contains:[]};let Ct={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:k};function Ur(Wt){return Ct.noHighlightRe.test(Wt)}function $r(Wt,Jt,mr,gr){let dr="",_n="";typeof Jt=="object"?(dr=Wt,mr=Jt.ignoreIllegals,_n=Jt.language,gr=void 0):(mt("10.7.0","highlight(lang, code, ...args) has been deprecated."),mt("10.7.0",`Please use highlight(code, options) instead.
19
19
  https://github.com/highlightjs/highlight.js/issues/2277`),_n=Wt,dr=Jt);const dn={code:dr,language:_n};Ma("before:highlight",dn);const Fr=dn.result?dn.result:Yr(dn.language,dn.code,mr,gr);return Fr.code=dn.code,Ma("after:highlight",Fr),Fr}function Yr(Wt,Jt,mr,gr){function dr(Mt,rr){const zt=gn.case_insensitive?rr[0].toLowerCase():rr[0];return Object.prototype.hasOwnProperty.call(Mt.keywords,zt)&&Mt.keywords[zt]}function _n(){yr.subLanguage!=null?function(){if(vr==="")return;let rr=null;if(typeof yr.subLanguage=="string"){if(!se[yr.subLanguage])return void lr.addText(vr);rr=Yr(yr.subLanguage,vr,!0,Cn[yr.subLanguage]),Cn[yr.subLanguage]=rr.top}else rr=Nr(vr,yr.subLanguage.length?yr.subLanguage:null);yr.relevance>0&&(po+=rr.relevance),lr.addSublanguage(rr.emitter,rr.language)}():function(){if(!yr.keywords)return void lr.addText(vr);let rr=0;yr.keywordPatternRe.lastIndex=0;let zt=yr.keywordPatternRe.exec(vr),cr="";for(;zt;){cr+=vr.substring(rr,zt.index);const vn=dr(yr,zt);if(vn){const[Hn,Va]=vn;if(lr.addText(cr),cr="",po+=Va,Hn.startsWith("_"))cr+=zt[0];else{const Ra=gn.classNameAliases[Hn]||Hn;lr.addKeyword(zt[0],Ra)}}else cr+=zt[0];rr=yr.keywordPatternRe.lastIndex,zt=yr.keywordPatternRe.exec(vr)}cr+=vr.substr(rr),lr.addText(cr)}(),vr=""}function dn(Mt){return Mt.className&&lr.openNode(gn.classNameAliases[Mt.className]||Mt.className),yr=Object.create(Mt,{parent:{value:yr}}),yr}function Fr(Mt,rr,zt){let cr=function(Hn,Va){const Ra=Hn&&Hn.exec(Va);return Ra&&Ra.index===0}(Mt.endRe,zt);if(cr){if(Mt["on:end"]){const vn=new b(Mt);Mt["on:end"](rr,vn),vn.isMatchIgnored&&(cr=!1)}if(cr){for(;Mt.endsParent&&Mt.parent;)Mt=Mt.parent;return Mt}}if(Mt.endsWithParent)return Fr(Mt.parent,rr,zt)}function en(Mt){return yr.matcher.regexIndex===0?(vr+=Mt[0],1):(Ca=!0,0)}function Jr(Mt){const rr=Mt[0],zt=Mt.rule,cr=new b(zt),vn=[zt.__beforeBegin,zt["on:begin"]];for(const Hn of vn)if(Hn&&(Hn(Mt,cr),cr.isMatchIgnored))return en(rr);return zt&&zt.endSameAsBegin&&(zt.endRe=function(Va){return new RegExp(Va.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(rr)),zt.skip?vr+=rr:(zt.excludeBegin&&(vr+=rr),_n(),zt.returnBegin||zt.excludeBegin||(vr=rr)),dn(zt),zt.returnBegin?0:rr.length}function Ua(Mt){const rr=Mt[0],zt=Jt.substr(Mt.index),cr=Fr(yr,Mt,zt);if(!cr)return F;const vn=yr;vn.skip?vr+=rr:(vn.returnEnd||vn.excludeEnd||(vr+=rr),_n(),vn.excludeEnd&&(vr=rr));do yr.className&&lr.closeNode(),yr.skip||yr.subLanguage||(po+=yr.relevance),yr=yr.parent;while(yr!==cr.parent);return cr.starts&&(cr.endSameAsBegin&&(cr.starts.endRe=cr.endRe),dn(cr.starts)),vn.returnEnd?0:rr.length}let jr={};function ka(Mt,rr){const zt=rr&&rr[0];if(vr+=Mt,zt==null)return _n(),0;if(jr.type==="begin"&&rr.type==="end"&&jr.index===rr.index&&zt===""){if(vr+=Jt.slice(rr.index,rr.index+1),!Xe){const cr=new Error("0 width match regex");throw cr.languageName=Wt,cr.badRule=jr.rule,cr}return 1}if(jr=rr,rr.type==="begin")return Jr(rr);if(rr.type==="illegal"&&!mr){const cr=new Error('Illegal lexeme "'+zt+'" for mode "'+(yr.className||"<unnamed>")+'"');throw cr.mode=yr,cr}if(rr.type==="end"){const cr=Ua(rr);if(cr!==F)return cr}if(rr.type==="illegal"&&zt==="")return 1;if(br>1e5&&br>3*rr.index)throw new Error("potential infinite loop, way more iterations than matches");return vr+=zt,zt.length}const gn=mn(Wt);if(!gn)throw nr(ut.replace("{}",Wt)),new Error('Unknown language: "'+Wt+'"');const Si=we(gn,{plugins:Ie});let Ir="",yr=gr||Si;const Cn={},lr=new Ct.__emitter(Ct);(function(){const rr=[];for(let zt=yr;zt!==gn;zt=zt.parent)zt.className&&rr.unshift(zt.className);rr.forEach(zt=>lr.openNode(zt))})();let vr="",po=0,ba=0,br=0,Ca=!1;try{for(yr.matcher.considerAll();;){br++,Ca?Ca=!1:yr.matcher.considerAll(),yr.matcher.lastIndex=ba;const Mt=yr.matcher.exec(Jt);if(!Mt)break;const rr=ka(Jt.substring(ba,Mt.index),Mt);ba=Mt.index+rr}return ka(Jt.substr(ba)),lr.closeAllNodes(),lr.finalize(),Ir=lr.toHTML(),{relevance:Math.floor(po),value:Ir,language:Wt,illegal:!1,emitter:lr,top:yr}}catch(Mt){if(Mt.message&&Mt.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Mt.message,context:Jt.slice(ba-100,ba+100),mode:Mt.mode},sofar:Ir,relevance:0,value:Ft(Jt),emitter:lr};if(Xe)return{illegal:!1,relevance:0,value:Ft(Jt),emitter:lr,language:Wt,top:yr,errorRaised:Mt};throw Mt}}function Nr(Wt,Jt){Jt=Jt||Ct.languages||Object.keys(se);const mr=function(Jr){const Ua={relevance:0,emitter:new Ct.__emitter(Ct),value:Ft(Jr),illegal:!1,top:xt};return Ua.emitter.addText(Jr),Ua}(Wt),gr=Jt.filter(mn).filter(uo).map(en=>Yr(en,Wt,!1));gr.unshift(mr);const dr=gr.sort((en,Jr)=>{if(en.relevance!==Jr.relevance)return Jr.relevance-en.relevance;if(en.language&&Jr.language){if(mn(en.language).supersetOf===Jr.language)return 1;if(mn(Jr.language).supersetOf===en.language)return-1}return 0}),[_n,dn]=dr,Fr=_n;return Fr.second_best=dn,Fr}const Tn={"before:highlightElement":({el:Wt})=>{Ct.useBR&&(Wt.innerHTML=Wt.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
20
20
  `))},"after:highlightElement":({result:Wt})=>{Ct.useBR&&(Wt.value=Wt.value.replace(/\n/g,"<br>"))}},Ia=/^(<[^>]+>|\t)+/gm,Or={"after:highlightElement":({result:Wt})=>{Ct.tabReplace&&(Wt.value=Wt.value.replace(Ia,Jt=>Jt.replace(/\t/g,Ct.tabReplace)))}};function Hr(Wt){let Jt=null;const mr=function(dn){let Fr=dn.className+" ";Fr+=dn.parentNode?dn.parentNode.className:"";const en=Ct.languageDetectRe.exec(Fr);if(en){const Jr=mn(en[1]);return Jr||(_t(ut.replace("{}",en[1])),_t("Falling back to no-highlight mode for this block.",dn)),Jr?en[1]:"no-highlight"}return Fr.split(/\s+/).find(Jr=>Ur(Jr)||mn(Jr))}(Wt);if(Ur(mr))return;Ma("before:highlightElement",{el:Wt,language:mr}),Jt=Wt;const gr=Jt.textContent,dr=mr?$r(gr,{language:mr,ignoreIllegals:!0}):Nr(gr);Ma("after:highlightElement",{el:Wt,result:dr,text:gr}),Wt.innerHTML=dr.value,function(dn,Fr,en){const Jr=Fr?ve[Fr]:en;dn.classList.add("hljs"),Jr&&dn.classList.add(Jr)}(Wt,mr,dr.language),Wt.result={language:dr.language,re:dr.relevance,relavance:dr.relevance},dr.second_best&&(Wt.second_best={language:dr.second_best.language,re:dr.second_best.relevance,relavance:dr.second_best.relevance})}const an=()=>{an.called||(an.called=!0,mt("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Hr))};let on=!1;function Vr(){if(document.readyState==="loading")return void(on=!0);document.querySelectorAll("pre code").forEach(Hr)}function mn(Wt){return Wt=(Wt||"").toLowerCase(),se[Wt]||se[ve[Wt]]}function Ta(Wt,{languageName:Jt}){typeof Wt=="string"&&(Wt=[Wt]),Wt.forEach(mr=>{ve[mr.toLowerCase()]=Jt})}function uo(Wt){const Jt=mn(Wt);return Jt&&!Jt.disableAutodetect}function Ma(Wt,Jt){const mr=Wt;Ie.forEach(function(gr){gr[mr]&&gr[mr](Jt)})}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){on&&Vr()},!1),Object.assign(Z,{highlight:$r,highlightAuto:Nr,highlightAll:Vr,fixMarkup:function(Jt){return mt("10.2.0","fixMarkup will be removed entirely in v11.0"),mt("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function(gr){return Ct.tabReplace||Ct.useBR?gr.replace(Nt,dr=>dr===`
@@ -1,13 +1,13 @@
1
1
  module.exports = {
2
2
  "react": "18.3.1",
3
- "@tachybase/client": "0.23.48",
4
- "@tachybase/sdk": "0.23.48",
3
+ "@tachybase/client": "1.0.6",
4
+ "@tachybase/sdk": "1.0.6",
5
5
  "antd": "5.22.5",
6
6
  "ahooks": "3.8.4",
7
7
  "@ant-design/icons": "5.5.2",
8
- "@tachybase/actions": "0.23.48",
9
- "@tachybase/server": "0.23.48",
8
+ "@tachybase/actions": "1.0.6",
9
+ "@tachybase/server": "1.0.6",
10
10
  "react-i18next": "15.2.0",
11
- "@tachybase/utils": "0.23.48",
12
- "@tachybase/database": "0.23.48"
11
+ "@tachybase/utils": "1.0.6",
12
+ "@tachybase/database": "1.0.6"
13
13
  };
@@ -56,7 +56,7 @@ const MiddlewareOrderResource = {
56
56
  }
57
57
  });
58
58
  mergedItems.filter((middleware) => middleware.belongto === "resourcer-middlewares").forEach((resourcerMiddleware) => {
59
- const restAPIGroup = mergedItems.find((middleware) => middleware.group === "restApi");
59
+ const restAPIGroup = mergedItems.find((middleware) => middleware.group === "dataSource");
60
60
  if (restAPIGroup) {
61
61
  restAPIGroup.files.push(resourcerMiddleware);
62
62
  }
@@ -71,7 +71,7 @@ class PluginDevToolServer extends import_server.Plugin {
71
71
  actions: ["middlewares:*"]
72
72
  });
73
73
  this.app.acl.registerSnippet({
74
- name: `pm.${this.name}.enviroment`,
74
+ name: `pm.${this.name}.environment`,
75
75
  actions: ["enviroment:*"]
76
76
  });
77
77
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/plugin-devtools",
3
3
  "displayName": "Devtools",
4
- "version": "0.23.48",
4
+ "version": "1.0.6",
5
5
  "description": "Development tools for viewing API documentation, middleware, environment variables, events, and more",
6
6
  "main": "dist/server/index.js",
7
7
  "dependencies": {},
@@ -13,13 +13,13 @@
13
13
  "swagger-ui-dist": "^5.18.2"
14
14
  },
15
15
  "peerDependencies": {
16
- "@tachybase/client": "0.23.48",
17
- "@tachybase/actions": "0.23.48",
18
- "@tachybase/database": "0.23.48",
19
- "@tachybase/sdk": "0.23.48",
20
- "@tachybase/server": "0.23.48",
21
- "@tachybase/utils": "0.23.48",
22
- "@tachybase/test": "0.23.48"
16
+ "@tachybase/actions": "1.0.6",
17
+ "@tachybase/database": "1.0.6",
18
+ "@tachybase/client": "1.0.6",
19
+ "@tachybase/sdk": "1.0.6",
20
+ "@tachybase/server": "1.0.6",
21
+ "@tachybase/test": "1.0.6",
22
+ "@tachybase/utils": "1.0.6"
23
23
  },
24
24
  "description.zh-CN": "开发工具,用于查看Api文档,中间件,环境变量,事件等信息",
25
25
  "displayName.zh-CN": "开发工具",