@mongosh/node-runtime-worker-thread 3.3.29 → 3.3.30

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.
@@ -1,7 +1,7 @@
1
1
  /*! For license information please see worker-runtime.js.LICENSE.txt */
2
2
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(global,(()=>(()=>{var __webpack_modules__={109:(e,t,n)=>{var r=n(69795).random;e.exports=r},244:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PacProxyAgent=void 0;const a=o(n(69278)),c=o(n(64756)),l=o(n(76982)),u=n(24434),d=s(n(3680)),p=n(87016),f=n(64112),h=n(15756),A=n(64007),m=n(54439),g=n(32750),y=n(16552),_=n(68052),b=(0,d.default)("pac-proxy-agent");class PacProxyAgent extends f.Agent{constructor(e,t){super(t),this.clearResolverPromise=()=>{this.resolverPromise=void 0};const n="string"==typeof e?e:e.href;this.uri=new p.URL(n.replace(/^pac\+/i,"")),b("Creating PacProxyAgent with URI %o",this.uri.href),this.opts={...t},this.cache=void 0,this.resolver=void 0,this.resolverHash="",this.resolverPromise=void 0,this.opts.filename||(this.opts.filename=this.uri.href)}getResolver(){return this.resolverPromise||(this.resolverPromise=this.loadResolver(),this.resolverPromise.then(this.clearResolverPromise,this.clearResolverPromise)),this.resolverPromise}async loadResolver(){try{const[e,t]=await Promise.all([(0,_.getQuickJS)(),this.loadPacFile()]),n=l.createHash("sha1").update(t).digest("hex");return this.resolver&&this.resolverHash===n?(b("Same sha1 hash for code - contents have not changed, reusing previous proxy resolver"),this.resolver):(b("Creating new proxy resolver instance"),this.resolver=(0,y.createPacResolver)(e,t,this.opts),this.resolverHash=n,this.resolver)}catch(e){if(this.resolver&&"ENOTMODIFIED"===e.code)return b("Got ENOTMODIFIED response, reusing previous proxy resolver"),this.resolver;throw e}}async loadPacFile(){b("Loading PAC file: %o",this.uri);const e=await(0,g.getUri)(this.uri,{...this.opts,cache:this.cache});b("Got `Readable` instance for URI"),this.cache=e;const t=await(0,f.toBuffer)(e);return b("Read %o byte PAC file from URI",t.length),t.toString("utf8")}async connect(e,t){const{secureEndpoint:n}=t,r=await this.getResolver(),i=n?443:80;let o=e.path,s=null;const l=o.indexOf("?");-1!==l&&(s=o.substring(l),o=o.substring(0,l));const d={...t,protocol:n?"https:":"http:",pathname:o,search:s,hostname:t.host,host:null,href:null,port:i===t.port?null:t.port},f=(0,p.format)(d);b("url: %o",f);let g=await r(f);g||(g="DIRECT");const y=String(g).trim().split(/\s*;\s*/g).filter(Boolean);this.opts.fallbackToDirect&&!y.includes("DIRECT")&&y.push("DIRECT");for(const r of y){let i=null,o=null;const[s,l]=r.split(/\s+/);if(b("Attempting to use proxy: %o",r),"DIRECT"===s)if(n){const e=t.servername||t.host;o=c.connect({...t,servername:e})}else o=a.connect(t);else if("SOCKS"===s||"SOCKS5"===s)i=new m.SocksProxyAgent(`socks://${l}`,this.opts);else if("SOCKS4"===s)i=new m.SocksProxyAgent(`socks4a://${l}`,this.opts);else if("PROXY"===s||"HTTP"===s||"HTTPS"===s){const e=`${"HTTPS"===s?"https":"http"}://${l}`;i=n?new A.HttpsProxyAgent(e,this.opts):new h.HttpProxyAgent(e,this.opts)}try{if(o)return await(0,u.once)(o,"connect"),e.emit("proxy",{proxy:r,socket:o}),o;if(i){const n=await i.connect(e,t);if(!(n instanceof a.Socket))throw new Error("Expected a `net.Socket` to be returned from agent");return e.emit("proxy",{proxy:r,socket:n}),n}throw new Error(`Could not determine proxy type for: ${r}`)}catch(t){b("Got error for proxy %o: %o",r,t),e.emit("proxy",{proxy:r,error:t})}}throw new Error(`Failed to establish a socket connection to proxies: ${JSON.stringify(y)}`)}}PacProxyAgent.protocols=["pac+data","pac+file","pac+ftp","pac+http","pac+https"],t.PacProxyAgent=PacProxyAgent},296:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(28148),t)},318:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>oe});const r=",".charCodeAt(0),i=";".charCodeAt(0),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),a=new Uint8Array(128);for(let e=0;e<64;e++){const t=o.charCodeAt(e);s[e]=t,a[t]=e}function c(e,t){let n=0,r=0,i=0;do{const t=e.next();i=a[t],n|=(31&i)<<r,r+=5}while(32&i);const o=1&n;return n>>>=1,o&&(n=-2147483648|-n),t+n}function l(e,t,n){let r=t-n;r=r<0?-r<<1|1:r<<1;do{let t=31&r;r>>>=5,r>0&&(t|=32),e.write(s[t])}while(r>0);return t}function u(e,t){return!(e.pos>=t)&&e.peek()!==r}const d="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t}};class StringWriter{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){const{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=d.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:n}=this;return n>0?t+d.decode(e.subarray(0,n)):t}}class StringReader{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:t,pos:n}=this,r=t.indexOf(e,n);return-1===r?t.length:r}}function p(e){e.sort(f)}function f(e,t){return e[0]-t[0]}function h(e){const t=new StringWriter;let n=0,o=0,s=0,a=0;for(let c=0;c<e.length;c++){const u=e[c];if(c>0&&t.write(i),0===u.length)continue;let d=0;for(let e=0;e<u.length;e++){const i=u[e];e>0&&t.write(r),d=l(t,i[0],d),1!==i.length&&(n=l(t,i[1],n),o=l(t,i[2],o),s=l(t,i[3],s),4!==i.length&&(a=l(t,i[4],a)))}}return t.flush()}const A=/^[\w+.-]+:\/\//,m=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,g=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var y;function _(e){return e.startsWith("/")}function b(e){return/^[.?#]/.test(e)}function C(e){const t=m.exec(e);return v(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function v(e,t,n,r,i,o,s){return{scheme:e,user:t,host:n,port:r,path:i,query:o,hash:s,type:y.Absolute}}function E(e){if(function(e){return e.startsWith("//")}(e)){const t=C("http:"+e);return t.scheme="",t.type=y.SchemeRelative,t}if(_(e)){const t=C("http://foo.com"+e);return t.scheme="",t.host="",t.type=y.AbsolutePath,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=g.exec(e),n=t[2];return v("file:","",t[1]||"","",_(n)?n:"/"+n,t[3]||"",t[4]||"")}(e);if(function(e){return A.test(e)}(e))return C(e);const t=C("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?y.Query:e.startsWith("#")?y.Hash:y.RelativePath:y.Empty,t}function I(e,t){const n=t<=y.RelativePath,r=e.path.split("/");let i=1,o=0,s=!1;for(let e=1;e<r.length;e++){const t=r[e];t?(s=!1,"."!==t&&(".."!==t?(r[i++]=t,o++):o?(s=!0,o--,i--):n&&(r[i++]=t))):s=!0}let a="";for(let e=1;e<i;e++)a+="/"+r[e];(!a||s&&!a.endsWith("/.."))&&(a+="/"),e.path=a}function w(e,t){if(!e&&!t)return"";const n=E(e);let r=n.type;if(t&&r!==y.Absolute){const e=E(t),i=e.type;switch(r){case y.Empty:n.hash=e.hash;case y.Hash:n.query=e.query;case y.Query:case y.RelativePath:!function(e,t){I(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(n,e);case y.AbsolutePath:n.user=e.user,n.host=e.host,n.port=e.port;case y.SchemeRelative:n.scheme=e.scheme}i>r&&(r=i)}I(n,r);const i=n.query+n.hash;switch(r){case y.Hash:case y.Query:return i;case y.RelativePath:{const r=n.path.slice(1);return r?b(t||e)&&!b(r)?"./"+r+i:r+i:i||"."}case y.AbsolutePath:return n.path+i;default:return n.scheme+"//"+n.user+n.host+n.port+n.path+i}}function S(e,t){return t&&!t.endsWith("/")&&(t+="/"),w(e,t)}!function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(y||(y={}));const B=0;function x(e,t){for(let n=t;n<e.length;n++)if(!T(e[n]))return n;return e.length}function T(e){for(let t=1;t<e.length;t++)if(e[t][B]<e[t-1][B])return!1;return!0}function k(e,t){return t||(e=e.slice()),e.sort(D)}function D(e,t){return e[B]-t[B]}let Q=!1;function R(e,t,n){for(let r=n+1;r<e.length&&e[r][B]===t;n=r++);return n}function N(e,t,n){for(let r=n-1;r>=0&&e[r][B]===t;n=r--);return n}function P(e,t,n,r){const{lastKey:i,lastNeedle:o,lastIndex:s}=n;let a=0,c=e.length-1;if(r===i){if(t===o)return Q=-1!==s&&e[s][B]===t,s;t>=o?a=-1===s?0:s:c=s}return n.lastKey=r,n.lastNeedle=t,n.lastIndex=function(e,t,n,r){for(;n<=r;){const i=n+(r-n>>1),o=e[i][B]-t;if(0===o)return Q=!0,i;o<0?n=i+1:r=i-1}return Q=!1,n-1}(e,t,a,c)}const O=-1,F=1;class TraceMap{constructor(e,t){const n="string"==typeof e;if(!n&&e._decodedMemo)return e;const r=n?JSON.parse(e):e,{version:i,file:o,names:s,sourceRoot:a,sources:c,sourcesContent:l}=r;this.version=i,this.file=o,this.names=s||[],this.sourceRoot=a,this.sources=c,this.sourcesContent=l,this.ignoreList=r.ignoreList||r.x_google_ignoreList||void 0;const u=S(a||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=c.map((e=>S(e||"",u)));const{mappings:d}=r;"string"==typeof d?(this._encoded=d,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const n=x(e,0);if(n===e.length)return e;t||(e=e.slice());for(let r=n;r<e.length;r=x(e,r+1))e[r]=k(e[r],t);return e}(d,n)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}function M(e){var t;return(t=e)._decoded||(t._decoded=function(e){const{length:t}=e,n=new StringReader(e),r=[];let i=0,o=0,s=0,a=0,l=0;do{const e=n.indexOf(";"),t=[];let d=!0,f=0;for(i=0;n.pos<e;){let r;i=c(n,i),i<f&&(d=!1),f=i,u(n,e)?(o=c(n,o),s=c(n,s),a=c(n,a),u(n,e)?(l=c(n,l),r=[i,o,s,a,l]):r=[i,o,s,a]):r=[i],t.push(r),n.pos++}d||p(t),r.push(t),n.pos=e+1}while(n.pos<=t);return r}(e._encoded))}function L(e,t,n,r,i){let o=P(e,r,t,n);return Q?o=(i===O?R:N)(e,r,o):i===O&&o++,-1===o||o===e.length?-1:o}class SetArray{constructor(){this._indexes={__proto__:null},this.array=[]}}function j(e,t){return e._indexes[t]}function U(e,t){const n=j(e,t);if(void 0!==n)return n;const{array:r,_indexes:i}=e,o=r.push(t);return i[t]=o-1}let H,G,K,J,W,q;class GenMapping{constructor({file:e,sourceRoot:t}={}){this._names=new SetArray,this._sources=new SetArray,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t}}function V(e,t,n){let r=e.length;for(let i=r-1;i>=0;i--,r--){const o=e[i],s=o[0];if(s>t)continue;if(s<t)break;const a=z(o,n);if(0===a)return r;if(a<0)break}return r}function z(e,t){let n=Y(e.length,t.length);return 0!==n?n:1===e.length?0:(n=Y(e[1],t[1]),0!==n?n:(n=Y(e[2],t[2]),0!==n?n:(n=Y(e[3],t[3]),0!==n?n:4===e.length?0:Y(e[4],t[4]))))}function Y(e,t){return e-t}function $(e,t,n){if(-1!==t){for(let n=e.length;n>t;n--)e[n]=e[n-1];e[t]=n}}H=(e,t,n,r,i,o,s)=>{const{_mappings:a,_sources:c,_sourcesContent:l,_names:u}=e,d=function(e,t){for(let n=e.length;n<=t;n++)e[n]=[];return e[t]}(a,t);if(null==r){const e=[n];return $(d,V(d,n,e),e)}const p=U(c,r),f=s?[n,p,i,o,U(u,s)]:[n,p,i,o],h=V(d,n,f);p===l.length&&(l[p]=null),$(d,h,f)},G=(e,t)=>{const{generated:n,source:r,original:i,name:o}=t;return H(e,n.line-1,n.column,r,null==i?void 0:i.line-1,null==i?void 0:i.column,o)},K=(e,t,n)=>{const{_sources:r,_sourcesContent:i}=e;i[U(r,t)]=n},J=e=>{const{file:t,sourceRoot:n,_mappings:r,_sources:i,_sourcesContent:o,_names:s}=e;return{version:3,file:t,names:s.array,sourceRoot:n||void 0,sources:i.array,sourcesContent:o,mappings:r}},W=e=>{const t=J(e);return Object.assign(Object.assign({},t),{mappings:h(t.mappings)})},q=e=>{const t=[],{_mappings:n,_sources:r,_names:i}=e;for(let e=0;e<n.length;e++){const o=n[e];for(let n=0;n<o.length;n++){const s=o[n],a={line:e+1,column:s[0]};let c,l,u;1!==s.length&&(c=r.array[s[1]],l={line:s[2]+1,column:s[3]},5===s.length&&(u=i.array[s[4]])),t.push({generated:a,source:c,original:l,name:u})}}return t};const X={source:null,column:null,line:null,name:null,content:null},Z=[];function ee(e,t,n,r){return{map:e,sources:t,source:n,content:r}}function te(e,t){return ee(e,t,"",null)}function ne(e,t,n,r){if(!e.map)return{column:n,line:t,name:r,source:e.source,content:e.content};const i=function(e,t,n){const r=M(e);if(t>=r.length)return null;const i=r[t],o=L(i,e._decodedMemo,t,n,F);return-1===o?null:i[o]}(e.map,t,n);return null==i?null:1===i.length?X:ne(e.sources[i[1]],i[2],i[3],5===i.length?e.map.names[i[4]]:r)}function re(e,t){const n=function(e){return Array.isArray(e)?e:[e]}(e).map((e=>new TraceMap(e,""))),r=n.pop();for(let e=0;e<n.length;e++)if(n[e].sources.length>1)throw new Error(`Transformation map ${e} must have exactly one source file.\nDid you specify these with the most recent transformation maps first?`);let i=ie(r,t,"",0);for(let e=n.length-1;e>=0;e--)i=te(n[e],[i]);return i}function ie(e,t,n,r){const{resolvedSources:i,sourcesContent:o}=e,s=r+1;return te(e,i.map(((e,r)=>{const i={importer:n,depth:s,source:e||"",content:void 0},a=t(i.source,i),{source:c,content:l}=i;if(a)return ie(new TraceMap(a,c),t,c,s);return function(e,t){return ee(null,Z,e,t)}(c,void 0!==l?l:o?o[r]:null)})))}class SourceMap{constructor(e,t){const n=t.decodedMappings?J(e):W(e);this.version=n.version,this.file=n.file,this.mappings=n.mappings,this.names=n.names,this.sourceRoot=n.sourceRoot,this.sources=n.sources,t.excludeContent||(this.sourcesContent=n.sourcesContent)}toString(){return JSON.stringify(this)}}function oe(e,t,n){const r="object"==typeof n?n:{excludeContent:!!n,decodedMappings:!1},i=re(e,t);return new SourceMap(function(e){const t=new GenMapping({file:e.map.file}),{sources:n,map:r}=e,i=r.names,o=M(r);for(let e=0;e<o.length;e++){const r=o[e];let s=null,a=null,c=null;for(let o=0;o<r.length;o++){const l=r[o],u=l[0];let d=X;if(1!==l.length&&(d=ne(n[l[1]],l[2],l[3],5===l.length?i[l[4]]:""),null==d))continue;const{column:p,line:f,name:h,content:A,source:m}=d;f===a&&p===c&&m===s||(a=f,c=p,s=m,H(t,e,u,m,f,p,h),null!=A&&K(t,m,A))}}return t}(i),r)}},343:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i,s=365.25*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=i)return a(e,o,i,"day");if(o>=r)return a(e,o,r,"hour");if(o>=n)return a(e,o,n,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},414:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(3890)),o=n(27919),s=i.default.translateApiHelp.bind(i.default);class Help{constructor(e,t={translate:s}){this.attr=[],this.help=t.translate(e.help),this.docs=t.translate(e.docs),this.attr=(e.attr||[]).map((e=>({name:e.name,description:t.translate(e.description)}))).filter((e=>e.description))}[o.asPrintable](){const{help:e,docs:t,attr:n}=this;return{help:e,docs:t,attr:n}}get[o.shellApiType](){return"Help"}}t.default=Help},528:(e,t,n)=>{"use strict";var r,i=n(9629),o=n(29838),s=n(29110),a=n(61155),c=n(94943),l=n(5731),u=n(3468),d=n(32140),p=n(58479),f=n(18449),h=n(88129),A=n(22387),m=n(85865),g=n(1319),y=n(36882),_=Function,b=function(e){try{return _('"use strict"; return ('+e+").constructor;")()}catch(e){}},C=n(69336),v=n(64940),E=function(){throw new u},I=C?function(){try{return arguments.callee,E}catch(e){try{return C(arguments,"callee").get}catch(e){return E}}}():E,w=n(53558)(),S=n(46369),B=n(17345),x=n(57859),T=n(6095),k=n(64531),D={},Q="undefined"!=typeof Uint8Array&&S?S(Uint8Array):r,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":w&&S?S([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":D,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&S?S(S([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&S?S((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":C,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&S?S((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&S?S(""[Symbol.iterator]()):r,"%Symbol%":w?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":I,"%TypedArray%":Q,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":T,"%Object.defineProperty%":v,"%Object.getPrototypeOf%":B,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":A,"%Math.pow%":m,"%Math.round%":g,"%Math.sign%":y,"%Reflect.getPrototypeOf%":x};if(S)try{null.error}catch(e){var N=S(S(e));R["%Error.prototype%"]=N}var P=function e(t){var n;if("%AsyncFunction%"===t)n=b("async function () {}");else if("%GeneratorFunction%"===t)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=b("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&S&&(n=S(i.prototype))}return R[t]=n,n},O={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=n(79138),M=n(78554),L=F.call(k,Array.prototype.concat),j=F.call(T,Array.prototype.splice),U=F.call(k,String.prototype.replace),H=F.call(k,String.prototype.slice),G=F.call(k,RegExp.prototype.exec),K=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,J=/\\(\\)?/g,W=function(e,t){var n,r=e;if(M(O,r)&&(r="%"+(n=O[r])[0]+"%"),M(R,r)){var i=R[r];if(i===D&&(i=P(r)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===G(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=H(e,0,1),n=H(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return U(e,K,(function(e,t,n,i){r[r.length]=n?U(i,J,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=W("%"+r+"%",t),o=i.name,s=i.value,a=!1,c=i.alias;c&&(r=c[0],j(n,L([0,1],c)));for(var d=1,p=!0;d<n.length;d+=1){var f=n[d],h=H(f,0,1),A=H(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===A||"'"===A||"`"===A)&&h!==A)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&p||(a=!0),M(R,o="%"+(r+="."+f)+"%"))s=R[o];else if(null!=s){if(!(f in s)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(C&&d+1>=n.length){var m=C(s,f);s=(p=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:s[f]}else p=M(s,f),s=s[f];p&&!a&&(R[o]=s)}}return s}},910:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilteredCompletions=t.wrapField=t.createConstantFilter=t.ALL_CONSTANTS=void 0;const r=n(2722),i=n(10615),o=n(78298),s=n(45102),a=n(73752),c=n(7426),l=n(66492),u=n(21526),d=n(80724),p=n(26637);t.ALL_CONSTANTS=[...i.ACCUMULATORS,...s.BSON_TYPES,...o.BSON_TYPE_ALIASES,...a.CONVERSION_OPERATORS,...c.EXPRESSION_OPERATORS,...l.JSON_SCHEMA,...u.QUERY_OPERATORS,...d.STAGE_OPERATORS,...p.SYSTEM_VARIABLES];const f="999.999.999";function h(e,t){return void 0===e||void 0===t||(e=Array.isArray(e)?e:[e]).some((e=>t.includes(e)))}function A({meta:e,serverVersion:t=f,stage:n={}}={}){const i=/^(?<version>\d+\.\d+\.\d+)/.exec(t)?.groups?.version??f;return({version:t,meta:o,env:s,namespaces:a,apiVersions:c})=>function(e,t){const n=/^\d+\.\d+\.\d+$/.test(t);return(0,r.satisfies)(e,n?`>=${t}`:t)}(i,t)&&h(n.env,s)&&h(n.namespace,a)&&h(n.apiVersion,c)&&(!e||function(e,t){const n=t.split(":");return e.some((e=>{const t=e.split(":");return t.length===n.length&&t.every(((e,t)=>"*"===e||e===n[t]))}))}(e,o))}t.createConstantFilter=A,t.wrapField=function(e,t=!1){return t||!function(e){if(/[.\s"'()[\];={}:]/.test(e))return!1;try{return new Function(`"use strict";let _ = { ${e}: 0 };`),!0}catch{return!1}}(e)?`"${e.replace(/["\\]/g,"\\$&")}"`:e},t.getFilteredCompletions=function(e={},n=t.ALL_CONSTANTS){const{serverVersion:r=f,fields:i=[],meta:o,stage:s}=e,a=A({serverVersion:r,meta:o,stage:s});return n.concat(i.flatMap((e=>{const{value:t,description:n}=function(e){return"string"==typeof e?{value:e}:{value:e.name,description:e.description}}(e);return[{value:t,meta:"field:identifier",version:"0.0.0",description:n},{value:`$${t}`,meta:"field:reference",version:"0.0.0",description:n}]}))).filter((e=>a(e)))}},918:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=918,e.exports=t},932:e=>{"use strict";e.exports=require("process")},943:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(!n||!e)return e;const r=`${t}Comments`;e[r]?"leading"===t?e[r]=n.concat(e[r]):e[r].push(...n):e[r]=n;return e}},1199:(e,t,n)=>{var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(e){return function(e,t){var n,r,s,a,c,l,u,d,p,f=1,h=e.length,A="";for(r=0;r<h;r++)if("string"==typeof e[r])A+=e[r];else if("object"==typeof e[r]){if((a=e[r]).keys)for(n=t[f],s=0;s<a.keys.length;s++){if(null==n)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[s],a.keys[s-1]));n=n[a.keys[s]]}else n=a.param_no?t[a.param_no]:t[f++];if(i.not_type.test(a.type)&&i.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),i.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(i.number.test(a.type)&&(d=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?A+=n:(!i.number.test(a.type)||d&&!a.sign?p="":(p=d?"+":"-",n=n.toString().replace(i.sign,"")),l=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(p+n).length,c=a.width&&u>0?l.repeat(u):"",A+=a.align?p+n+c:"0"===l?p+c+n:c+p+n)}return A}(function(e){if(a[e])return a[e];var t,n=e,r=[],o=0;for(;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],c=t[2],l=[];if(null===(l=i.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(l[1]);""!==(c=c.substring(l[0].length));)if(null!==(l=i.key_access.exec(c)))s.push(l[1]);else{if(null===(l=i.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(l[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return a[e]=r}(e),arguments)}function s(e,t){return o.apply(null,[e].concat(t||[]))}var a=Object.create(null);t.sprintf=o,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(r=function(){return{sprintf:o,vsprintf:s}}.call(t,n,t,e))||(e.exports=r))}()},1234:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function*(e,t,n,o){let s;const a=i().extname(e),c=".ts"===a||".cts"===a||".mts"===a,u=_[hasOwnProperty.call(_,a)?a:".js"];switch(`${t} ${u}`){case"require cjs":case"auto cjs":return c?C(e,a,(()=>A(e))):A(e,arguments[2]);case"auto unknown":case"require unknown":case"require esm":try{return c?C(e,a,(()=>A(e))):A(e,arguments[2])}catch(t){if("ERR_REQUIRE_ASYNC_MODULE"===t.code||"ERR_REQUIRE_CYCLE_MODULE"===t.code&&b.has(e)){if(b.add(e),!(null!=s?s:s=yield*(0,r.isAsync)()))throw new l.default(o,e)}else if("ERR_REQUIRE_ESM"!==t.code&&"esm"!==u)throw t}case"auto esm":if(null!=s?s:s=yield*(0,r.isAsync)()){const t=c?C(e,a,(()=>m(e))):m(e);return(yield*(0,r.waitFor)(t)).default}throw new l.default(n,e);default:throw new Error("Internal Babel error: unreachable code.")}},t.supportsESM=void 0;var r=n(94151);function i(){const e=n(16928);return i=function(){return e},e}function o(){const e=n(87016);return o=function(){return e},e}function s(){const e=n(71642);return s=function(){return e},e}function a(){const e=n(3680);return a=function(){return e},e}n(73339);var c=n(80056),l=n(53944),u=n(79572);function d(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}const p=a()("babel:config:loading:files:module-types");try{var f=n(74584)}catch(e){}t.supportsESM=s().satisfies(process.versions.node,"^12.17 || >=13.2");const h=new Set;function A(e){if(h.has(e))return p("Auto-ignoring usage of config %o.",e),{};let t;try{h.add(e),t=(0,c.endHiddenCallStack)(n(918))(e)}finally{h.delete(e)}return null==t||!t.__esModule&&"Module"!==t[Symbol.toStringTag]?t:t.default||(arguments[1]?t:void 0)}const m=(0,c.endHiddenCallStack)((g=function*(e){const t=(0,o().pathToFileURL)(e).toString()+"?import";if(!f)throw new l.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e);return yield f(t)},y=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=g.apply(e,t);function o(e){d(i,n,r,o,s,"next",e)}function s(e){d(i,n,r,o,s,"throw",e)}o(void 0)}))},function(e){return y.apply(this,arguments)}));var g,y;const _={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"},b=new Set;function C(e,t,r){if(n(918).extensions[".ts"]||n(918).extensions[".cts"]||n(918).extensions[".mts"])return r();if(".cts"!==t)throw new l.default(`You are using a ${t} config file, but Babel only supports transpiling .cts configs. Either:\n- Use a .cts config file\n- Update to Node.js 23.6.0, which has native TypeScript support\n- Install ts-node to transpile ${t} files on the fly`,e);const o={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:i().basename(e),presets:[[v(e),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};let a=function(e,t){if(a&&t.endsWith(".cts"))try{return e._compile((0,u.transformFileSync)(t,Object.assign({},o,{filename:t})).code,t)}catch(e){const t=n(57699);throw s().lt(t.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`."),e}return n(918).extensions[".js"](e,t)};n(918).extensions[t]=a;try{return r()}finally{n(918).extensions[t]===a&&delete n(918).extensions[t],a=void 0}}function v(e){try{return n(47203)}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;let n="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";throw process.versions.pnp&&(n+='\nIf you are using Yarn Plug\'n\'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n'),new l.default(n,e)}}},1299:(e,t,n)=>{"use strict";const{SFTP:r}=n(22938),i=2**32-1;function o(e,t,n,r){if(e._chanMgr.remove(t),"function"!=typeof r)return;let i;n instanceof Error?i=n:"object"==typeof n&&null!==n?(i=new Error(`(SSH) Channel open failure: ${n.description}`),i.reason=n.reason):(i=new Error("(SSH) Channel open failure: server closed channel unexpectedly"),i.reason=""),r(i)}function s(e,t,n,i,s){if("function"==typeof n)return void o(e,t,i,n);if("object"!=typeof n||null===n)return;if(n.incoming&&"closed"===n.incoming.state)return;if(e._chanMgr.remove(t),n.server&&"Session"===n.constructor.name)return;n.incoming.state="closed",n.readable&&n.push(null),n.server?n.stderr.writable&&n.stderr.end():n.stderr.readable&&n.stderr.push(null),n.constructor===r||"open"!==n.outgoing.state&&"eof"!==n.outgoing.state||s||n.close(),"closing"===n.outgoing.state&&(n.outgoing.state="closed");const a=n._readableState,c=n._writableState;!c||c.ending||c.finished||s||n.end();const l=n._callbacks;n._callbacks=[];for(let e=0;e<l.length;++e)l[e](!0);if(n.server)!n.readable||n.destroyed||a&&a.endEmitted?n.emit("close"):n.once("end",(()=>n.emit("close")));else{let e;switch(n.type){case"direct-streamlocal@openssh.com":case"direct-tcpip":e=()=>n.emit("close");break;default:{const t=n._exit;e=()=>{null===t.code?n.emit("close",t.code,t.signal,t.dump,t.desc):n.emit("close",t.code)}}}!n.readable||n.destroyed||a&&a.endEmitted?e():n.once("end",e);const t=n.stderr._readableState;!n.stderr.readable||n.stderr.destroyed||t&&t.endEmitted?n.stderr.emit("close"):n.stderr.once("end",(()=>n.stderr.emit("close")))}}const a=(()=>{const e=Object.prototype.toString;return t=>"[object RegExp]"===e.call(t)})();e.exports={ChannelManager:class ChannelManager{constructor(e){this._client=e,this._channels={},this._cur=-1,this._count=0}add(e){let t;if(this._cur<i)t=++this._cur;else if(0===this._count)this._cur=0,t=0;else{const e=this._channels;for(let n=0;n<i;++n)if(void 0===e[n]){t=n;break}}return void 0===t?-1:(this._channels[t]=e||!0,++this._count,t)}update(e,t){if("number"!=typeof e||e<0||e>=i||!isFinite(e))throw new Error(`Invalid channel id: ${e}`);t&&this._channels[e]&&(this._channels[e]=t)}get(e){if("number"!=typeof e||e<0||e>=i||!isFinite(e))throw new Error(`Invalid channel id: ${e}`);return this._channels[e]}remove(e){if("number"!=typeof e||e<0||e>=i||!isFinite(e))throw new Error(`Invalid channel id: ${e}`);this._channels[e]&&(delete this._channels[e],this._count&&--this._count)}cleanup(e){const t=this._channels;this._channels={},this._cur=-1,this._count=0;const n=Object.keys(t),r=this._client;for(let i=0;i<n.length;++i){const o=+n[i],a=t[o];s(r,o,a._channel||a,e,!0)}}},generateAlgorithmList:function(e,t,n){if(Array.isArray(e)&&e.length>0){for(let t=0;t<e.length;++t)if(-1===n.indexOf(e[t]))throw new Error(`Unsupported algorithm: ${e[t]}`);return e}if("object"==typeof e&&null!==e){const r=Object.keys(e);let i=t;for(let o=0;o<r.length;++o){const s=r[o];let c=e[s];switch(s){case"append":if(Array.isArray(c)||(c=[c]),Array.isArray(c))for(let e=0;e<c.length;++e){const r=c[e];if("string"==typeof r){if(!r||-1!==i.indexOf(r))continue;if(-1===n.indexOf(r))throw new Error(`Unsupported algorithm: ${r}`);i===t&&(i=i.slice()),i.push(r)}else if(a(r))for(let e=0;e<n.length;++e){const o=n[e];if(r.test(o)){if(-1!==i.indexOf(o))continue;i===t&&(i=i.slice()),i.push(o)}}}break;case"prepend":if(Array.isArray(c)||(c=[c]),Array.isArray(c))for(let e=c.length;e>=0;--e){const r=c[e];if("string"==typeof r){if(!r||-1!==i.indexOf(r))continue;if(-1===n.indexOf(r))throw new Error(`Unsupported algorithm: ${r}`);i===t&&(i=i.slice()),i.unshift(r)}else if(a(r))for(let e=n.length;e>=0;--e){const o=n[e];if(r.test(o)){if(-1!==i.indexOf(o))continue;i===t&&(i=i.slice()),i.unshift(o)}}}break;case"remove":if(Array.isArray(c)||(c=[c]),Array.isArray(c))for(let e=0;e<c.length;++e){const n=c[e];if("string"==typeof n){if(!n)continue;const e=i.indexOf(n);if(-1===e)continue;i===t&&(i=i.slice()),i.splice(e,1)}else if(a(n))for(let e=0;e<i.length;++e)n.test(i[e])&&(i===t&&(i=i.slice()),i.splice(e,1),--e)}}}return i}return t},onChannelOpenFailure:o,onCHANNEL_CLOSE:s,isWritable:e=>e&&e.writable&&e._readableState&&!1===e._readableState.ended}},1312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(32482),i=n(43121),o=n(65028),s=n(7077),a=n(31231),c=n(17289),l=n(32839);function u(e){switch(e.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return"TSImportEqualsDeclaration"!==e.parentPath.findParent((e=>"TSQualifiedName"!==e.type)).type;case"ExportSpecifier":return"type"===e.parent.exportKind||"type"===e.parentPath.parent.exportKind;default:return!1}}const d=new WeakMap,p=new WeakSet;function f(e){const t=e.getBindingIdentifiers();for(const n of Object.keys(t)){const r=e.scope.getBinding(n);r&&r.identifier===t[n]&&r.scope.removeBinding(n)}e.opts.noScope=!0,e.remove(),e.opts.noScope=!1}function h(e,t,n,r,i=""){if("commonjs"!==t.file.get("@babel/plugin-transform-modules-*"))throw e.buildCodeFrameError(`\`${n}\` is only supported when compiling modules to CommonJS.\nPlease consider using \`${r}\`${i}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}t.default=(0,r.declare)(((e,t)=>{const{types:n,template:r}=e;e.assertVersion(7);const A=/\*?\s*@jsx((?:Frag)?)\s+(\S+)/,{allowNamespaces:m=!0,jsxPragma:g="React.createElement",jsxPragmaFrag:y="React.Fragment",onlyRemoveTypeImports:_=!1,optimizeConstEnums:b=!1}=t;var{allowDeclareFields:C=!1}=t;const v={field(e){const{node:t}=e;if(!C&&t.declare)throw e.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(t.declare){if(t.value)throw e.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");t.decorators||e.remove()}else if(t.definite){if(t.value)throw e.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");C||t.decorators||n.isClassPrivateProperty(t)||e.remove()}else t.abstract?e.remove():C||t.value||t.decorators||n.isClassPrivateProperty(t)||e.remove();t.accessibility&&(t.accessibility=null),t.abstract&&(t.abstract=null),t.readonly&&(t.readonly=null),t.optional&&(t.optional=null),t.typeAnnotation&&(t.typeAnnotation=null),t.definite&&(t.definite=null),t.declare&&(t.declare=null),t.override&&(t.override=null)},method({node:e}){e.accessibility&&(e.accessibility=null),e.abstract&&(e.abstract=null),e.optional&&(e.optional=null),e.override&&(e.override=null)},constructor(e,t){e.node.accessibility&&(e.node.accessibility=null);const i=[],{scope:s}=e;for(const t of e.get("params")){const e=t.node;if("TSParameterProperty"===e.type){const o=e.parameter;if(p.has(o))continue;let a;if(p.add(o),n.isIdentifier(o))a=o;else{if(!n.isAssignmentPattern(o)||!n.isIdentifier(o.left))throw t.buildCodeFrameError("Parameter properties can not be destructuring patterns.");a=o.left}i.push(r.statement.ast`
3
3
  this.${n.cloneNode(a)} = ${n.cloneNode(a)}
4
- `),t.replaceWith(t.get("parameter")),s.registerBinding("param",t)}}(0,o.injectInitialization)(t,e,i)}};return{name:"transform-typescript",inherits:i.default,visitor:{Pattern:I,Identifier:I,RestElement:I,Program:{enter(e,t){const{file:n}=t;let r=null,i=null;const o=e.scope;if(c.GLOBAL_TYPES.has(o)||c.GLOBAL_TYPES.set(o,new Set),n.ast.comments)for(const e of n.ast.comments){const t=A.exec(e.value);t&&(t[1]?i=t[2]:r=t[2])}let s=r||g;s&&([s]=s.split("."));let a=i||y;a&&([a]=a.split("."));for(let n of e.get("body"))if(n.isImportDeclaration()){if(d.has(t.file.ast.program)||d.set(t.file.ast.program,!0),"type"===n.node.importKind){for(const e of n.node.specifiers)(0,c.registerGlobalType)(o,e.local.name);n.remove();continue}const r=new Set,i=n.node.specifiers.length,l=()=>i>0&&i===r.size;for(const e of n.node.specifiers)if("ImportSpecifier"===e.type&&"type"===e.importKind){(0,c.registerGlobalType)(o,e.local.name);const t=n.scope.getBinding(e.local.name);t&&r.add(t.path)}if(_)d.set(e.node,!1);else{if(0===n.node.specifiers.length){d.set(e.node,!1);continue}for(const t of n.node.specifiers){const i=n.scope.getBinding(t.local.name);i&&!r.has(i.path)&&(w({binding:i,programPath:e,pragmaImportName:s,pragmaFragImportName:a})?r.add(i.path):d.set(e.node,!1))}}if(l()&&!_)n.remove();else for(const e of r)e.remove()}else{if(!_&&n.isTSImportEqualsDeclaration()){const{id:t}=n.node,r=n.scope.getBinding(t.name);if(r&&!n.node.isExport&&w({binding:r,programPath:e,pragmaImportName:s,pragmaFragImportName:a})){n.remove();continue}}if(n.isExportDeclaration()&&(n=n.get("declaration")),n.isVariableDeclaration({declare:!0}))for(const e of Object.keys(n.getBindingIdentifiers()))(0,c.registerGlobalType)(o,e);else(n.isTSTypeAliasDeclaration()||n.isTSDeclareFunction()&&n.get("id").isIdentifier()||n.isTSInterfaceDeclaration()||n.isClassDeclaration({declare:!0})||n.isTSEnumDeclaration({declare:!0})||n.isTSModuleDeclaration({declare:!0})&&n.get("id").isIdentifier())&&(0,c.registerGlobalType)(o,n.node.id.name)}},exit(e){"module"===e.node.sourceType&&d.get(e.node)&&e.pushContainer("body",n.exportNamedDeclaration())}},ExportNamedDeclaration(e,t){if(d.has(t.file.ast.program)||d.set(t.file.ast.program,!0),"type"!==e.node.exportKind)if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>"ExportSpecifier"===e.type&&"type"===e.exportKind)))e.remove();else if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((t=>n.isExportSpecifier(t)&&(0,c.isGlobalType)(e,t.local.name))))e.remove();else{if(n.isTSModuleDeclaration(e.node.declaration)){const t=e.node.declaration;if(!n.isStringLiteral(t.id)){const r=(0,l.getFirstIdentifier)(t.id);if(e.scope.hasOwnBinding(r.name))e.replaceWith(t);else{const[i]=e.replaceWithMultiple([n.exportNamedDeclaration(n.variableDeclaration("let",[n.variableDeclarator(n.cloneNode(r))])),t]);e.scope.registerDeclaration(i)}}}d.set(t.file.ast.program,!1)}else e.remove()},ExportAllDeclaration(e){"type"===e.node.exportKind&&e.remove()},ExportSpecifier(e){(!e.parent.source&&(0,c.isGlobalType)(e,e.node.local.name)||"type"===e.node.exportKind)&&e.remove()},ExportDefaultDeclaration(e,t){d.has(t.file.ast.program)||d.set(t.file.ast.program,!0),n.isIdentifier(e.node.declaration)&&(0,c.isGlobalType)(e,e.node.declaration.name)?e.remove():d.set(t.file.ast.program,!1)},TSDeclareFunction(e){f(e)},TSDeclareMethod(e){f(e)},VariableDeclaration(e){e.node.declare&&f(e)},VariableDeclarator({node:e}){e.definite&&(e.definite=null)},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;t.declare&&f(e)},Class(e){const{node:t}=e;t.typeParameters&&(t.typeParameters=null),t.superTypeParameters&&(t.superTypeParameters=null),t.implements&&(t.implements=null),t.abstract&&(t.abstract=null),e.get("body.body").forEach((t=>{t.isClassMethod()||t.isClassPrivateMethod()?"constructor"===t.node.kind?v.constructor(t,e):v.method(t):(t.isClassProperty()||t.isClassPrivateProperty()||t.isClassAccessorProperty())&&v.field(t)}))},Function(e){const{node:t}=e;t.typeParameters&&(t.typeParameters=null),t.returnType&&(t.returnType=null);const r=t.params;r.length>0&&n.isIdentifier(r[0],{name:"this"})&&r.shift()},TSModuleDeclaration(e){(0,l.default)(e,m)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){b&&e.node.const?(0,s.default)(e,n):(0,a.default)(e,n)},TSImportEqualsDeclaration(e,t){const{id:r,moduleReference:i}=e.node;let o,s;n.isTSExternalModuleReference(i)?(h(e,t,`import ${r.name} = require(...);`,`import ${r.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),o=n.callExpression(n.identifier("require"),[i.expression]),s="const"):(o=E(i),s="var");const a=n.variableDeclaration(s,[n.variableDeclarator(r,o)]);e.replaceWith(e.node.isExport?n.exportNamedDeclaration(a):a),e.scope.registerDeclaration(e)},TSExportAssignment(e,t){h(e,t,"export = <value>;","export default <value>;"),e.replaceWith(r.statement.ast`module.exports = ${e.node.expression}`)},TSTypeAssertion(e){e.replaceWith(e.node.expression)},["TSAsExpression"+(n.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](e){let{node:t}=e;do{t=t.expression}while(n.isTSAsExpression(t)||null!=n.isTSSatisfiesExpression&&n.isTSSatisfiesExpression(t));e.replaceWith(t)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function E(e){return n.isTSQualifiedName(e)?n.memberExpression(E(e.left),e.right):e}function I({node:e}){e.typeAnnotation&&(e.typeAnnotation=null),n.isIdentifier(e)&&e.optional&&(e.optional=null)}function w({binding:e,programPath:t,pragmaImportName:n,pragmaFragImportName:r}){for(const t of e.referencePaths)if(!u(t))return!1;if(e.identifier.name!==n&&e.identifier.name!==r)return!0;let i=!1;return t.traverse({"JSXElement|JSXFragment"(e){i=!0,e.stop()}}),!i}}))},1319:e=>{"use strict";e.exports=Math.round},1433:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetSystemCACache=function(e={}){s=void 0,a(e).catch((()=>{}))},t.mergeCA=l,t.systemCA=async function(e={}){let t,n,r;e.tlsCAFile&&(t=i.promises.readFile(e.tlsCAFile,"utf8"),t.catch((()=>{})));let s=[];try{if(!e.excludeSystemCerts){const e=await a();r=e.asyncFallbackError,s=e.certs}}catch(e){n=e}return{ca:l(s,o.rootCertificates,e.ca,await t),asyncFallbackError:r,systemCertsError:n,systemCACount:s.length+o.rootCertificates.length,messages:[]}};const r=n(72786),i=n(79896),o=n(64756);let s;function a(e={}){return s||(s=(async()=>({certs:await(0,r.systemCertsAsync)(e),asyncFallbackError:e.asyncFallbackError}))(),s.catch((()=>{})),s)}function c(e){return"string"==typeof e?e:Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}function l(...e){const t=new Set;for(const n of e){if(!n)continue;const e=Array.isArray(n)?n:[n];for(const n of e)t.add(c(n))}return[...t].join("\n")}},1535:(e,t,n)=>{"use strict";n.d(t,{h5:()=>l,S0:()=>c,GQ:()=>p,Qb:()=>u,bV:()=>d});const r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],i=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],o=["TimeoutError","RequestTimeout","RequestTimeoutException"],s=[500,502,503,504],a=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],c=e=>void 0!==e.$retryable,l=e=>r.includes(e.name),u=e=>429===e.$metadata?.httpStatusCode||i.includes(e.name)||1==e.$retryable?.throttling,d=e=>(e=>e.$metadata?.clockSkewCorrected)(e)||o.includes(e.name)||a.includes(e?.code||"")||s.includes(e.$metadata?.httpStatusCode||0),p=e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!d(e)}return!1}},1699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSuggestion=function(e,t){const r=t.map((t=>function(e,t){let r,i,o=[],s=[];const a=e.length,c=t.length;if(!a)return c;if(!c)return a;for(i=0;i<=c;i++)o[i]=i;for(r=1;r<=a;r++){for(s=[r],i=1;i<=c;i++)s[i]=e[r-1]===t[i-1]?o[i-1]:n(o[i-1],o[i],s[i-1])+1;o=s}return s[c]}(t,e)));return t[r.indexOf(n(...r))]};const{min:n}=Math},1701:(e,t,n)=>{if(!globalThis.ReadableStream)try{const e=n(1708),{emitWarning:t}=e;try{e.emitWarning=()=>{},Object.assign(globalThis,n(37830)),e.emitWarning=t}catch(n){throw e.emitWarning=t,n}}catch(e){Object.assign(globalThis,n(21171))}try{const{Blob:e}=n(20181);e&&!e.prototype.stream&&(e.prototype.stream=function(e){let t=0;const n=this;return new ReadableStream({type:"bytes",async pull(e){const r=n.slice(t,Math.min(n.size,t+65536)),i=await r.arrayBuffer();t+=i.byteLength,e.enqueue(new Uint8Array(i)),t===n.size&&e.close()}})})}catch(e){}},1708:e=>{"use strict";e.exports=require("node:process")},1715:(e,t,n)=>{"use strict";function r(){const e=n(22388);return r=function(){return e},e}function i(){const e=n(2235);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{opts:n,ast:s,code:a,inputMap:c}=t,{generatorOpts:l}=n;l.inputSourceMap=null==c?void 0:c.toObject();const u=[];for(const t of e)for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,l,a,i().default);void 0!==e&&u.push(e)}}let d;if(0===u.length)d=(0,i().default)(s,l,a);else{if(1!==u.length)throw new Error("More than one plugin attempted to override codegen.");if(d=u[0],"function"==typeof d.then)throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:p,decodedMap:f=d.map}=d;d.__mergedMap?f=Object.assign({},d.map):f&&(f=c?(0,o.default)(c.toObject(),f,l.sourceFileName):d.map);"inline"!==n.sourceMaps&&"both"!==n.sourceMaps||(p+="\n"+r().fromObject(f).toComment());"inline"===n.sourceMaps&&(f=null);return{outputCode:p,outputMap:f}};var o=n(45573)},1742:(e,t,n)=>{"use strict";const r=new Array(256);[n(28147).HANDLERS,n(74958)].forEach((e=>{for(let[t,n]of Object.entries(e))t=+t,isFinite(t)&&t>=0&&t<r.length&&(r[t]=n)})),e.exports=r},1754:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&i(t,e,n[s]);return o(t,e),t}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MATCH_COMPLETIONS=t.BASE_COMPLETIONS=void 0,t.completer=async function(e,n){var r,i,o;const s=c.signatures.ShellApi.attributes,a=c.signatures.Collection.attributes,l=c.signatures.Database.attributes,u=c.signatures.AggregationCursor.attributes,d=c.signatures.Cursor.attributes,f=c.signatures.ReplicaSet.attributes,h=c.signatures.ShellConfig.attributes,A=c.signatures.Shard.attributes,_=c.signatures.Streams.attributes,b=c.signatures.StreamProcessor.attributes,C=n.split(/(?<!\S)(?=\S)/),v=C[0].trim();if(null===(r=s[v])||void 0===r?void 0:r.isDirectShellCommand){const t=s[v].shellCommandCompleter;if(t){1===C.length&&(C[0].trimEnd()===C[0]&&(C[0]+=" "),C.push(""));return[(await t(e,C.map((e=>e.trim())))||[]).map((e=>[...C.slice(0,-1),e].join(""))),n,"exclusive"]}return[[n],n,"exclusive"]}const E=n.split("."),I=E[0],w=E[E.length-1];if(E.length<=1){const t=y(e,s,w);return[t.length?t:[],n]}if(/\bdb\b/.exec(I)&&2===E.length){if(/aggregate\s*\(\s*\[\s*\{\s*/.exec(w)){const r=n.split("{"),o=(null===(i=r.pop())||void 0===i?void 0:i.trim())||"",s=o?n.split(o).shift():n,a=g(e,r.length<=2?p:[...t.BASE_COMPLETIONS,...m(e,w)],o,s);return[a.length?a:[],n]}const r=y(e,l,w,E),o=await e.getCollectionCompletionsForCurrentDb(w.trim());return r.push(...o.map((e=>`${E[0]}.${e}`))),[r.length?r:[],n]}if(/\bdb\b/.exec(I)&&E.length>2){if(!/^\s*\w+\s*$/.exec(E[1])&&!/\bgetCollection\b/.exec(E[1]))return[[],n];if(E.length>3){if(/\baggregate\b/.exec(E[2])){const t=y(e,u,w,E);return[t.length?t:[],n]}if(/\bfind\b/.exec(E[2])){const t=y(e,d,w,E);return[t.length?t:[],n]}return[[],n]}if(E[2].includes("([")||E[2].includes("({")){let r;r=/\baggregate\b/.exec(E[2])?[...t.BASE_COMPLETIONS,...m(e,w)]:t.MATCH_COMPLETIONS;const i=null===(o=n.split("{").pop())||void 0===o?void 0:o.trim(),s=g(e,r,i||"",i?n.split(i).shift():n);return[s.length?s:[],n]}const r=y(e,a,w,E);return[r.length?r:[],n]}if(/\bsh\b/.exec(I)&&2===E.length){const t=y(e,A,w,E);return[t.length?t:[],n]}if(/\brs\b/.exec(I)&&2===E.length){const t=y(e,f,w,E);return[t.length?t:[],n]}if(/\bconfig\b/.exec(I)&&2===E.length){const t=y(e,h,w,E);return[t.length?t:[],n]}if(/\bsp\b/.exec(I)){let t;2===E.length?t=_:3===E.length&&(t=b);const r=t&&y(e,t,w,E);return[(null==r?void 0:r.length)?r:[],n]}return[[],n]},t.initNewAutocompleter=async function(e){const{MongoDBAutocompleter:t}=await Promise.resolve().then((()=>s(n(77785)))),r=e.getAutocompletionContext(),i=new t({context:r});return async e=>{const t=await(0,d.directCommandCompleter)(r,e);if(t.length)return[t,e,"exclusive"];const n=function(e,t){return[t.map((e=>e.result)),e]}(e,await i.autocomplete(e));return n}};const c=n(73801),l=a(n(2722)),u=n(28546),d=n(55799);t.BASE_COMPLETIONS=[].concat(u.EXPRESSION_OPERATORS,u.CONVERSION_OPERATORS,u.BSON_TYPES,u.STAGE_OPERATORS),t.MATCH_COMPLETIONS=[].concat(u.QUERY_OPERATORS,u.BSON_TYPES);const p=u.STAGE_OPERATORS.filter((({namespaces:e})=>1===e.length&&e[0]===u.DATABASE)),f="$project",h="$group";function A(e,t,n){const r=e.connectionInfo(),i=e.apiVersionInfo();let o;o=(null==i?void 0:i.strict)&&t.apiVersions?t.apiVersions.includes(+i.version):!t[n]||!(null==r?void 0:r.server_version)||function(e,t){const n=/^\d+?\.\d+?\.\d+?$/.test(t);return l.default.satisfies(e,n?`>=${t}`:t,{includePrerelease:!0})}(r.server_version,t[n]);const s=!t.env||!r||(r.is_data_federation?t.env.includes(u.ADL):r.is_atlas||r.is_local_atlas?t.env.includes(u.ATLAS):t.env.includes(u.ON_PREM));return o&&s}function m(e,t){return t.includes(f)?u.ACCUMULATORS.filter((t=>A(e,t,"projectVersion"))):t.includes(h)?u.ACCUMULATORS:[]}function g(e,t,n,r){return t.filter((t=>t.name&&t.name.startsWith(n)&&A(e,t,"version"))).map((e=>`${r}${e.name}`))}function y(e,t,n,r){const i=Object.keys(t).filter((r=>{var i;if(!r.toLowerCase().startsWith(n.toLowerCase()))return!1;if(t[r].deprecated)return!1;const o=e.apiVersionInfo();let s,a;if((null==o?void 0:o.strict)&&(a=t[r].apiVersions))s=+o.version>=a[0]&&+o.version<=a[1];else{const n=null===(i=e.connectionInfo())||void 0===i?void 0:i.server_version,o=t[r].serverVersions;s=!o||!n||l.default.gte(n,o[0])&&l.default.lte(n,o[1])}const c=t[r].topologies,u=e.topology(),d=!c||!u||c.includes(u);return s&&d}));return r?i.map((e=>`${r.slice(0,-1).join(".")}.${e}`)):i}},1802:(e,t,n)=>{"use strict";n.d(t,{Kj:()=>Client,uB:()=>Command,N4:()=>NoOpLogger,$H:()=>d,TJ:()=>ServiceException,Ss:()=>fe,Px:()=>l,Mw:()=>J,I9:()=>Y,ET:()=>m,Y0:()=>C,r$:()=>p,Xk:()=>v,lK:()=>E,$6:()=>re,xA:()=>te,rm:()=>ie,lT:()=>V,Tj:()=>se,l3:()=>O,EI:()=>R,t_:()=>P,uv:()=>ne,un:()=>pe,xW:()=>B,s:()=>ae,jr:()=>W});class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}const r=(e,t)=>{const n=[];if(e&&n.push(e),t)for(const e of t)n.push(e);return n},i=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,o=()=>{let e=[],t=[],n=!1;const c=new Set,l=n=>(e.forEach((e=>{n.add(e.middleware,{...e})})),t.forEach((e=>{n.addRelativeTo(e.middleware,{...e})})),n.identifyOnResolve?.(p.identifyOnResolve()),n),u=e=>{const t=[];return e.before.forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...u(e))})),t.push(e),e.after.reverse().forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...u(e))})),t},d=(n=!1)=>{const o=[],c=[],l={};e.forEach((e=>{const t={...e,before:[],after:[]};for(const e of r(t.name,t.aliases))l[e]=t;o.push(t)})),t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of r(t.name,t.aliases))l[e]=t;c.push(t)})),c.forEach((e=>{if(e.toMiddleware){const t=l[e.toMiddleware];if(void 0===t){if(n)return;throw new Error(`${e.toMiddleware} is not found when adding ${i(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}));var d;return(d=o,d.sort(((e,t)=>s[t.step]-s[e.step]||a[t.priority||"normal"]-a[e.priority||"normal"]))).map(u).reduce(((e,t)=>(e.push(...t),e)),[])},p={add:(t,n={})=>{const{name:o,override:s,aliases:a}=n,l={step:"initialize",priority:"normal",middleware:t,...n},u=r(o,a);if(u.length>0){if(u.some((e=>c.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${i(o,a)}'`);for(const t of u){const n=e.findIndex((e=>e.name===t||e.aliases?.some((e=>e===t))));if(-1===n)continue;const r=e[n];if(r.step!==l.step||l.priority!==r.priority)throw new Error(`"${i(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${i(o,a)}" middleware with ${l.priority} priority in ${l.step} step.`);e.splice(n,1)}}for(const e of u)c.add(e)}e.push(l)},addRelativeTo:(e,n)=>{const{name:o,override:s,aliases:a}=n,l={middleware:e,...n},u=r(o,a);if(u.length>0){if(u.some((e=>c.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${i(o,a)}'`);for(const e of u){const n=t.findIndex((t=>t.name===e||t.aliases?.some((t=>t===e))));if(-1===n)continue;const r=t[n];if(r.toMiddleware!==l.toMiddleware||r.relation!==l.relation)throw new Error(`"${i(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${i(o,a)}" middleware ${l.relation} "${l.toMiddleware}" middleware.`);t.splice(n,1)}}for(const e of u)c.add(e)}t.push(l)},clone:()=>l(o()),use:e=>{e.applyToStack(p)},remove:n=>"string"==typeof n?(n=>{let i=!1;const o=e=>{const t=r(e.name,e.aliases);if(t.includes(n)){i=!0;for(const e of t)c.delete(e);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n):(n=>{let i=!1;const o=e=>{if(e.middleware===n){i=!0;for(const t of r(e.name,e.aliases))c.delete(t);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n),removeByTag:n=>{let i=!1;const o=e=>{const{tags:t,name:o,aliases:s}=e;if(t&&t.includes(n)){const e=r(o,s);for(const t of e)c.delete(t);return i=!0,!1}return!0};return e=e.filter(o),t=t.filter(o),i},concat:e=>{const t=l(o());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:l,identify:()=>d(!0).map((e=>{const t=e.step??e.relation+" "+e.toMiddleware;return i(e.name,e.aliases)+" - "+t})),identifyOnResolve:e=>("boolean"==typeof e&&(n=e),n),resolve:(e,t)=>{for(const n of d().map((e=>e.middleware)).reverse())e=n(e,t);return n&&console.log(p.identify()),e}};return p},s={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},a={high:3,normal:2,low:1};class Client{constructor(e){this.middlewareStack=o(),this.config=e}send(e,t,n){const r="function"!=typeof t?t:void 0,i="function"==typeof t?t:n,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!i)return o(e).then((e=>e.output));o(e).then((e=>i(null,e.output)),(e=>i(e))).catch((()=>{}))}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}var c=n(99334);const l=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return c.Mu.mutate(e);if(!e)return c.Mu.mutate(new Uint8Array);const n=t.streamCollector(e);return c.Mu.mutate(await n)};var u=n(31932);class Command{constructor(){this.middlewareStack=o()}static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:l,CommandCtor:d}){for(const i of r.bind(this)(d,e,t,n))this.middlewareStack.use(i);const p=e.concat(this.middlewareStack),{logger:f}=t,h={logger:f,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[u.Vf]:{...c},...l},{requestHandler:A}=t;return p.resolve((e=>A.handle(e.request,n||{})),h)}}class ClassBuilder{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){const e=this;let t;return t=class extends Command{static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=t??{},e._init(this)}resolveMiddleware(n,r,i){return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}const d="***SensitiveInformation***",p=e=>{if(null!=e){if("string"==typeof e){const t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&k.warn(T(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}},f=Math.ceil(2**127*(2-2**-23)),h=e=>{const t=p(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>f)throw new TypeError(`Expected 32-bit float, got ${e}`);return t},A=e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}},m=e=>_(e,32),g=e=>_(e,16),y=e=>_(e,8),_=(e,t)=>{const n=A(e);if(void 0!==n&&b(n,t)!==n)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return n},b=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},C=(e,t)=>{if(null==e){if(t)throw new TypeError(`Expected a non-null value for ${t}`);throw new TypeError("Expected a non-null value")}return e},v=e=>{if(null==e)return;if("object"==typeof e&&!Array.isArray(e))return e;const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)},E=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return k.warn(T(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},I=e=>p("string"==typeof e?S(e):e),w=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,S=e=>{const t=e.match(w);if(null===t||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},B=e=>m("string"==typeof e?S(e):e),x=e=>g("string"==typeof e?S(e):e),T=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n"),k={warn:console.warn},D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const Q=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),R=e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Q.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[n,r,i,o,s,a,c,l]=t,u=x(K(r)),d=U(i,"month",1,12),p=U(o,"day",1,31);return F(u,d,p,{hours:s,minutes:a,seconds:c,fractionalMilliseconds:l})},N=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),P=e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=N.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[n,r,i,o,s,a,c,l,u]=t,d=x(K(r)),p=U(i,"month",1,12),f=U(o,"day",1,31),h=F(d,p,f,{hours:s,minutes:a,seconds:c,fractionalMilliseconds:l});return"Z"!=u.toUpperCase()&&h.setTime(h.getTime()-G(u)),h},O=e=>{if(null==e)return;let t;if("number"==typeof e)t=e;else{if("string"!=typeof e)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");t=I(e)}if(Number.isNaN(t)||t===1/0||t===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*t))},F=(e,t,n,r)=>{const i=t-1;return L(e,i,n),new Date(Date.UTC(e,i,n,U(r.hours,"hour",0,23),U(r.minutes,"minute",0,59),U(r.seconds,"seconds",0,60),H(r.fractionalMilliseconds)))},M=[31,28,31,30,31,30,31,31,30,31,30,31],L=(e,t,n)=>{let r=M[t];if(1===t&&j(e)&&(r=29),n>r)throw new TypeError(`Invalid day for ${D[t]} in ${e}: ${n}`)},j=e=>e%4==0&&(e%100!=0||e%400==0),U=(e,t,n,r)=>{const i=(e=>y("string"==typeof e?S(e):e))(K(e));if(i<n||i>r)throw new TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},H=e=>null==e?0:1e3*(e=>h("string"==typeof e?S(e):e))("0."+e),G=e=>{const t=e[0];let n=1;if("+"==t)n=1;else{if("-"!=t)throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);n=-1}return n*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*60*1e3},K=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)};class ServiceException extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,ServiceException.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}const J=(e,t={})=>{Object.entries(t).filter((([,e])=>void 0!==e)).forEach((([t,n])=>{null!=e[t]&&""!==e[t]||(e[t]=n)}));const n=e.message||e.Message||"UnknownError";return e.message=n,delete e.Message,e},W=e=>({output:t,parsedBody:n,errorCode:r})=>{(({output:e,parsedBody:t,exceptionCtor:n,errorCode:r})=>{const i=q(e),o=i.httpStatusCode?i.httpStatusCode+"":void 0,s=new n({name:t?.code||t?.Code||r||o||"UnknownError",$fault:"client",$metadata:i});throw J(s,t)})({output:t,parsedBody:n,exceptionCtor:e,errorCode:r})},q=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),V=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};let z=!1;const Y=e=>{e&&!z&&parseInt(e.substring(1,e.indexOf(".")))<16&&(z=!0)},$=e=>{const t=[];for(const n in u.dB){const r=u.dB[n];void 0!==e[r]&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}},X=e=>{const t={};return e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()})),t},Z=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},ee=e=>{const t={};return t.retryStrategy=e.retryStrategy(),t},te=e=>({...$(e),...Z(e)}),ne=e=>({...X(e),...ee(e)});function re(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}const ie=e=>{const t="#text";for(const n in e)e.hasOwnProperty(n)&&void 0!==e[n][t]?e[n]=e[n][t]:"object"==typeof e[n]&&null!==e[n]&&(e[n]=ie(e[n]));return e},oe=function(){const e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(t,e.prototype),t};oe.prototype=Object.create(String.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(oe,String);function se(e,t,n){let r,i,o;if(void 0===t&&void 0===n)r={},o=e;else{if(r=e,"function"==typeof t)return i=t,o=n,ce(r,i,o);o=t}for(const e of Object.keys(o))Array.isArray(o[e])?le(r,null,o,e):r[e]=o[e];return r}const ae=(e,t)=>{const n={};for(const r in t)le(n,e,t,r);return n},ce=(e,t,n)=>se(e,Object.entries(n).reduce(((e,[n,r])=>(Array.isArray(r)?e[n]=r:e[n]="function"==typeof r?[t,r()]:[t,r],e)),{})),le=(e,t,n,r)=>{if(null!==t){let i=n[r];"function"==typeof i&&(i=[,i]);const[o=ue,s=de,a=r]=i;return void(("function"==typeof o&&o(t[a])||"function"!=typeof o&&o)&&(e[r]=s(t[a])))}let[i,o]=n[r];if("function"==typeof o){let t;const n=void 0===i&&null!=(t=o()),s="function"==typeof i&&!!i(void 0)||"function"!=typeof i&&!!i;n?e[r]=t:s&&(e[r]=o())}else{const t=void 0===i&&null!=o,n="function"==typeof i&&!!i(o)||"function"!=typeof i&&!!i;(t||n)&&(e[r]=o)}},ue=e=>null!=e,de=e=>e,pe=(e,t,n,r,i,o)=>{if(null==t||void 0===t[n])throw new Error("No value provided for input HTTP label: "+n+".");{const t=r();if(t.length<=0)throw new Error("Empty value provided for input HTTP label: "+n+".");e=e.replace(i,o?t.split("/").map((e=>re(e))).join("/"):re(t))}return e},fe=e=>{if(null==e)return{};if(Array.isArray(e))return e.filter((e=>null!=e)).map(fe);if("object"==typeof e){const t={};for(const n of Object.keys(e))null!=e[n]&&(t[n]=fe(e[n]));return t}return e}},1889:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&i(t,e,n[s]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.createFetch=function(e){const t=(0,a.useOrCreateAgent)(e);let n;return Object.assign((async(e,r)=>{const[i]=await Promise.all([l??=c(),n??=t?.initialize?.()]);return await i(e,{agent:t,...r})}),{agent:t})};const a=n(78988);async function c(){let e;try{e=await Promise.resolve().then((()=>s(n(54759))))}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_REQUIRE_ESM"!==e.code||void 0!==n)throw e}return"function"==typeof e?e:e.default}let l},1940:(e,t,n)=>{"use strict";var r=n(82926).lowlevel.crypto_hash,i=0,o=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])],this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function s(e,t,n){return(e[0][t[n+3]]+e[1][t[n+2]]^e[2][t[n+1]])+e[3][t[n]]}function a(e,t){var n,r=0;for(n=0;n<4;n++,i++)i>=t&&(i=0),r=r<<8|e[i];return r}o.prototype.encipher=function(e,t){void 0===t&&(t=new Uint8Array(e.buffer),0!==e.byteOffset&&(t=t.subarray(e.byteOffset))),e[0]^=this.P[0];for(var n=1;n<16;n+=2)e[1]^=s(this.S,t,0)^this.P[n],e[0]^=s(this.S,t,4)^this.P[n+1];var r=e[0];e[0]=e[1]^this.P[17],e[1]=r},o.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);0!==e.byteOffset&&(t=t.subarray(e.byteOffset)),e[0]^=this.P[17];for(var n=16;n>0;n-=2)e[1]^=s(this.S,t,0)^this.P[n],e[0]^=s(this.S,t,4)^this.P[n-1];var r=e[0];e[0]=e[1]^this.P[0],e[1]=r},o.prototype.expand0state=function(e,t){var n,r,o=new Uint32Array(2),s=new Uint8Array(o.buffer);for(n=0,i=0;n<18;n++)this.P[n]^=a(e,t);for(i=0,n=0;n<18;n+=2)this.encipher(o,s),this.P[n]=o[0],this.P[n+1]=o[1];for(n=0;n<4;n++)for(r=0;r<256;r+=2)this.encipher(o,s),this.S[n][r]=o[0],this.S[n][r+1]=o[1]},o.prototype.expandstate=function(e,t,n,r){var o,s,c=new Uint32Array(2);for(o=0,i=0;o<18;o++)this.P[o]^=a(n,r);for(o=0,i=0;o<18;o+=2)c[0]^=a(e,t),c[1]^=a(e,t),this.encipher(c),this.P[o]=c[0],this.P[o+1]=c[1];for(o=0;o<4;o++)for(s=0;s<256;s+=2)c[0]^=a(e,t),c[1]^=a(e,t),this.encipher(c),this.S[o][s]=c[0],this.S[o][s+1]=c[1];i=0},o.prototype.enc=function(e,t){for(var n=0;n<t;n++)this.encipher(e.subarray(2*n))},o.prototype.dec=function(e,t){for(var n=0;n<t;n++)this.decipher(e.subarray(2*n))};var c=8;function l(e,t,n){var r,i=new o,s=new Uint32Array(c),l=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);for(i.expandstate(t,64,e,64),r=0;r<64;r++)i.expand0state(t,64),i.expand0state(e,64);for(r=0;r<c;r++)s[r]=a(l,l.byteLength);for(r=0;r<64;r++)i.enc(s,s.byteLength/8);for(r=0;r<c;r++)n[4*r+3]=s[r]>>>24,n[4*r+2]=s[r]>>>16,n[4*r+1]=s[r]>>>8,n[4*r+0]=s[r]}e.exports={BLOCKS:c,HASHSIZE:32,hash:l,pbkdf:function(e,t,n,i,o,s,a){var c,u,d,p,f,h,A=new Uint8Array(64),m=new Uint8Array(64),g=new Uint8Array(32),y=new Uint8Array(32),_=new Uint8Array(i+4),b=s;if(a<1)return-1;if(0===t||0===i||0===s||s>g.byteLength*g.byteLength||i>1<<20)return-1;for(p=Math.floor((s+g.byteLength-1)/g.byteLength),d=Math.floor((s+p-1)/p),c=0;c<i;c++)_[c]=n[c];for(r(A,e,t),h=1;s>0;h++){for(_[i+0]=h>>>24,_[i+1]=h>>>16,_[i+2]=h>>>8,_[i+3]=h,r(m,_,i+4),l(A,m,y),c=g.byteLength;c--;)g[c]=y[c];for(c=1;c<a;c++)for(r(m,y,y.byteLength),l(A,m,y),u=0;u<g.byteLength;u++)g[u]^=y[u];for(d=Math.min(d,s),c=0;c<d&&!((f=c*p+(h-1))>=b);c++)o[f]=g[c];s-=c}return 0}}},2023:(e,t,n)=>{"use strict";const{createDecipheriv:r,createECDH:i,createHash:o,createHmac:s,createSign:a,createVerify:c,getCiphers:l,sign:u,verify:d}=n(76982),p=l(),{Ber:f}=n(82331),h=n(1940).pbkdf,{CIPHER_INFO:A}=n(54554),{eddsaSupported:m,SUPPORTED_CIPHER:g}=n(99670),{bufferSlice:y,makeBufferParser:_,readString:b,readUInt32BE:C,writeUInt32BE:v}=n(28846),E=Symbol("Hash Algorithm"),I=Symbol("Private key PEM"),w=Symbol("Public key PEM"),S=Symbol("Public key SSH"),B=Symbol("Decrypted Key"),x=Object.create(null);{const te=Object.keys(A);for(let ne=0;ne<te.length;++ne){const re=A[te[ne]].sslName;re&&!x[re]&&(x[re]=A[te[ne]])}}const T=_();function k(e,t){let n=(t=t.base64Slice(0,t.length)).replace(/.{64}/g,"$&\n");return 63&t.length&&(n+="\n"),`-----BEGIN ${e} KEY-----\n${n}-----END ${e} KEY-----`}function D(e,t){const n=Buffer.allocUnsafe(e.length+t.length);return n.set(e,0),n.set(t,e.length),n}function Q(e,t){const n=e.length;let r=e._pos||0;for(let i=0;i<t;++i){const t=n-r;if(r>=n||t<4)return!1;const i=C(e,r);if(t<4+i)return!1;r+=4+i}return e._pos=r,!0}function R(e,t){const n=new f.Writer;return n.startSequence(),n.startSequence(),n.writeOID("1.2.840.113549.1.1.1"),n.writeNull(),n.endSequence(),n.startSequence(f.BitString),n.writeByte(0),n.startSequence(),n.writeBuffer(e,f.Integer),n.writeBuffer(t,f.Integer),n.endSequence(),n.endSequence(),n.endSequence(),k("PUBLIC",n.buffer)}function N(e,t){const n=Buffer.allocUnsafe(15+t.length+4+e.length);v(n,7,0),n.utf8Write("ssh-rsa",4,7);let r=11;return v(n,t.length,r),n.set(t,r+=4),v(n,e.length,r+=t.length),n.set(e,r+4),n}const P=(()=>{function e(e){return BigInt(`0x${e.hexSlice(0,e.length)}`)}function t(e){let t=e.toString(16);if(1&t.length)t=`0${t}`;else{const e=t.charCodeAt(0);(56===e||57===e||e>=97&&e<=102)&&(t=`00${t}`)}return Buffer.from(t,"hex")}return function(n,r,i,o,s,a){const c=e(i);return k("RSA PRIVATE",function(e,t,n,r,i,o,s,a){const c=new f.Writer;return c.startSequence(),c.writeInt(0,f.Integer),c.writeBuffer(e,f.Integer),c.writeBuffer(t,f.Integer),c.writeBuffer(n,f.Integer),c.writeBuffer(r,f.Integer),c.writeBuffer(i,f.Integer),c.writeBuffer(o,f.Integer),c.writeBuffer(s,f.Integer),c.writeBuffer(a,f.Integer),c.endSequence(),c.buffer}(n,r,i,s,a,t(c%(e(s)-1n)),t(c%(e(a)-1n)),o))}})();function O(e,t,n,r){const i=new f.Writer;return i.startSequence(),i.startSequence(),i.writeOID("1.2.840.10040.4.1"),i.startSequence(),i.writeBuffer(e,f.Integer),i.writeBuffer(t,f.Integer),i.writeBuffer(n,f.Integer),i.endSequence(),i.endSequence(),i.startSequence(f.BitString),i.writeByte(0),i.writeBuffer(r,f.Integer),i.endSequence(),i.endSequence(),k("PUBLIC",i.buffer)}function F(e,t,n,r){const i=Buffer.allocUnsafe(15+e.length+4+t.length+4+n.length+4+r.length);v(i,7,0),i.utf8Write("ssh-dss",4,7);let o=11;return v(i,e.length,o),i.set(e,o+=4),v(i,t.length,o+=e.length),i.set(t,o+=4),v(i,n.length,o+=t.length),i.set(n,o+=4),v(i,r.length,o+=n.length),i.set(r,o+4),i}function M(e,t,n,r,i){const o=new f.Writer;return o.startSequence(),o.writeInt(0,f.Integer),o.writeBuffer(e,f.Integer),o.writeBuffer(t,f.Integer),o.writeBuffer(n,f.Integer),o.writeBuffer(r,f.Integer),o.writeBuffer(i,f.Integer),o.endSequence(),k("DSA PRIVATE",o.buffer)}function L(e){const t=new f.Writer;return t.startSequence(),t.startSequence(),t.writeOID("1.3.101.112"),t.endSequence(),t.startSequence(f.BitString),t.writeByte(0),t._ensure(e.length),t._buf.set(e,t._offset),t._offset+=e.length,t.endSequence(),t.endSequence(),k("PUBLIC",t.buffer)}function j(e){const t=Buffer.allocUnsafe(19+e.length);return v(t,11,0),t.utf8Write("ssh-ed25519",4,11),v(t,e.length,15),t.set(e,19),t}function U(e){const t=new f.Writer;return t.startSequence(),t.writeInt(0,f.Integer),t.startSequence(),t.writeOID("1.3.101.112"),t.endSequence(),t.startSequence(f.OctetString),t.writeBuffer(e,f.OctetString),t.endSequence(),t.endSequence(),k("PRIVATE",t.buffer)}function H(e,t){const n=new f.Writer;return n.startSequence(),n.startSequence(),n.writeOID("1.2.840.10045.2.1"),n.writeOID(e),n.endSequence(),n.startSequence(f.BitString),n.writeByte(0),n._ensure(t.length),n._buf.set(t,n._offset),n._offset+=t.length,n.endSequence(),n.endSequence(),k("PUBLIC",n.buffer)}function G(e,t){let n;switch(e){case"1.2.840.10045.3.1.7":n="nistp256";break;case"1.3.132.0.34":n="nistp384";break;case"1.3.132.0.35":n="nistp521";break;default:return}const r=Buffer.allocUnsafe(39+t.length);return v(r,19,0),r.utf8Write(`ecdsa-sha2-${n}`,4,19),v(r,8,23),r.utf8Write(n,27,8),v(r,t.length,35),r.set(t,39),r}function K(e,t,n){const r=new f.Writer;return r.startSequence(),r.writeInt(1,f.Integer),r.writeBuffer(n,f.OctetString),r.startSequence(160),r.writeOID(e),r.endSequence(),r.startSequence(161),r.startSequence(f.BitString),r.writeByte(0),r._ensure(t.length),r._buf.set(t,r._offset),r._offset+=t.length,r.endSequence(),r.endSequence(),r.endSequence(),k("EC PRIVATE",r.buffer)}const J={sign:"function"==typeof u?function(e,t){const n=this[I];if(null===n)return new Error("No private key available");t&&"string"==typeof t||(t=this[E]);try{return u(t,e,n)}catch(e){return e}}:function(e,t){const n=this[I];if(null===n)return new Error("No private key available");t&&"string"==typeof t||(t=this[E]);const r=a(t);r.update(e);try{return r.sign(n)}catch(e){return e}},verify:"function"==typeof d?function(e,t,n){const r=this[w];if(null===r)return new Error("No public key available");n&&"string"==typeof n||(n=this[E]);try{return d(n,e,r,t)}catch(e){return e}}:function(e,t,n){const r=this[w];if(null===r)return new Error("No public key available");n&&"string"==typeof n||(n=this[E]);const i=c(n);i.update(e);try{return i.verify(r,t)}catch(e){return e}},isPrivateKey:function(){return null!==this[I]},getPrivatePEM:function(){return this[I]},getPublicPEM:function(){return this[w]},getPublicSSH:function(){return this[S]},equals:function(e){const t=ee(e);return!(t instanceof Error)&&(this.type===t.type&&this[I]===t[I]&&this[w]===t[w]&&this[S]===t[S])}};function W(e,t,n,r,i,o,s){this.type=e,this.comment=t,this[I]=n,this[w]=r,this[S]=i,this[E]=o,this[B]=s}W.prototype=J;{const ie=/^-----BEGIN OPENSSH PRIVATE KEY-----(?:\r\n|\n)([\s\S]+)(?:\r\n|\n)-----END OPENSSH PRIVATE KEY-----$/;function oe(e,t,n){const r=[];if(e.length<8)return new Error("Malformed OpenSSH private key");if(C(e,0)!==C(e,4))return n?new Error("OpenSSH key integrity check failed -- bad passphrase?"):new Error("OpenSSH key integrity check failed");let i,o;for(e._pos=8,i=0;i<t;++i){let t,i,s,a;const c=b(e,e._pos,!0);if(void 0===c)return new Error("Malformed OpenSSH private key");switch(c){case"ssh-rsa":{const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH private key");const o=b(e,e._pos);if(void 0===o)return new Error("Malformed OpenSSH private key");const c=b(e,e._pos);if(void 0===c)return new Error("Malformed OpenSSH private key");const l=b(e,e._pos);if(void 0===l)return new Error("Malformed OpenSSH private key");const u=b(e,e._pos);if(void 0===u)return new Error("Malformed OpenSSH private key");s=R(n,r),a=N(n,r),i=P(n,r,o,c,l,u),t="sha1";break}case"ssh-dss":{const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH private key");const o=b(e,e._pos);if(void 0===o)return new Error("Malformed OpenSSH private key");const c=b(e,e._pos);if(void 0===c)return new Error("Malformed OpenSSH private key");const l=b(e,e._pos);if(void 0===l)return new Error("Malformed OpenSSH private key");s=O(n,r,o,c),a=F(n,r,o,c),i=M(n,r,o,c,l),t="sha1";break}case"ssh-ed25519":{if(!m)return new Error(`Unsupported OpenSSH private key type: ${c}`);const n=b(e,e._pos);if(void 0===n||32!==n.length)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r||64!==r.length)return new Error("Malformed OpenSSH private key");s=L(n),a=j(n),i=U(y(r,0,32)),t=null;break}case"ecdsa-sha2-nistp256":t="sha256",o="1.2.840.10045.3.1.7";case"ecdsa-sha2-nistp384":void 0===t&&(t="sha384",o="1.3.132.0.34");case"ecdsa-sha2-nistp521":{if(void 0===t&&(t="sha512",o="1.3.132.0.35"),!Q(e,1))return new Error("Malformed OpenSSH private key");const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH private key");s=H(o,n),a=G(o,n),i=K(o,n,r);break}default:return new Error(`Unsupported OpenSSH private key type: ${c}`)}const l=b(e,e._pos,!0);if(void 0===l)return new Error("Malformed OpenSSH private key");r.push(new W(c,l,i,s,a,t,n))}let s=0;for(i=e._pos;i<e.length;++i)if(e[i]!==++s%255)return new Error("Malformed OpenSSH private key");return r}W.parse=(e,t)=>{const n=ie.exec(e);if(null===n)return null;let i;const o=Buffer.from(n[1],"base64");if(o.length<31)return new Error("Malformed OpenSSH private key");const s=o.utf8Slice(0,15);if("openssh-key-v1\0"!==s)return new Error(`Unsupported OpenSSH key magic: ${s}`);const a=b(o,15,!0);if(void 0===a)return new Error("Malformed OpenSSH private key");if("none"!==a&&-1===g.indexOf(a))return new Error(`Unsupported cipher for OpenSSH key: ${a}`);const c=b(o,o._pos,!0);if(void 0===c)return new Error("Malformed OpenSSH private key");if("none"!==c){if("none"===a)return new Error("Malformed OpenSSH private key");if("bcrypt"!==c)return new Error(`Unsupported kdf name for OpenSSH key: ${c}`);if(!t)return new Error("Encrypted private OpenSSH key detected, but no passphrase given")}else if("none"!==a)return new Error("Malformed OpenSSH private key");let l,u,d;"none"!==a&&(l=A[a]);const p=b(o,o._pos);if(void 0===p)return new Error("Malformed OpenSSH private key");if(p.length)switch(c){case"none":return new Error("Malformed OpenSSH private key");case"bcrypt":{const e=b(p,0);if(void 0===e||p._pos+4>p.length)return new Error("Malformed OpenSSH private key");const n=C(p,p._pos),r=Buffer.allocUnsafe(l.keyLen+l.ivLen);if(0!==h(t,t.length,e,e.length,r,r.length,n))return new Error("Failed to generate information to decrypt key");u=y(r,0,l.keyLen),d=y(r,l.keyLen,r.length);break}}else if("none"!==c)return new Error("Malformed OpenSSH private key");if(o._pos+3>=o.length)return new Error("Malformed OpenSSH private key");const f=C(o,o._pos);if(o._pos+=4,f>0){for(let e=0;e<f;++e){const e=b(o,o._pos);if(void 0===e)return new Error("Malformed OpenSSH private key");if(void 0===b(e,0,!0))return new Error("Malformed OpenSSH private key")}let e=b(o,o._pos);if(void 0===e)return new Error("Malformed OpenSSH private key");if(void 0!==u){if(e.length<l.blockLen||e.length%l.blockLen!=0)return new Error("Malformed OpenSSH private key");try{const t={authTagLength:l.authLen},n=r(l.sslName,u,d,t);if(n.setAutoPadding(!1),l.authLen>0){if(o.length-o._pos<l.authLen)return new Error("Malformed OpenSSH private key");n.setAuthTag(y(o,o._pos,o._pos+=l.authLen))}e=D(n.update(e),n.final())}catch(e){return e}}if(o._pos!==o.length)return new Error("Malformed OpenSSH private key");i=oe(e,f,void 0!==u)}else i=[];return i instanceof Error?i:i[0]}}function q(e,t,n,r,i,o,s){this.type=e,this.comment=t,this[I]=n,this[w]=r,this[S]=i,this[E]=o,this[B]=s}q.prototype=J;{const se=/^-----BEGIN (RSA|DSA|EC) PRIVATE KEY-----(?:\r\n|\n)((?:[^:]+:\s*[\S].*(?:\r\n|\n))*)([\s\S]+)(?:\r\n|\n)-----END (RSA|DSA|EC) PRIVATE KEY-----$/;q.parse=(e,t)=>{const n=se.exec(e);if(null===n)return null;let s,a,c,l,u,d,h=Buffer.from(n[3],"base64"),A=n[2],m=!1;if(void 0!==A){A=A.split(/\r\n|\n/g);for(let e=0;e<A.length;++e){const n=A[e];let i=n.indexOf(":");if("DEK-Info"===n.slice(0,i)){const e=n.slice(i+2);if(i=e.indexOf(","),-1===i)continue;const s=e.slice(0,i).toLowerCase();if(-1===p.indexOf(s))return new Error(`Cipher (${s}) not supported for encrypted OpenSSH private key`);const a=x[s];if(!a)return new Error(`Cipher (${s}) not supported for encrypted OpenSSH private key`);const c=Buffer.from(e.slice(i+1),"hex");if(c.length!==a.ivLen)return new Error("Malformed encrypted OpenSSH private key");if(!t)return new Error("Encrypted OpenSSH private key detected, but no passphrase given");const l=y(c,0,8);let u=o("md5").update(t).update(l).digest();for(;u.length<a.keyLen;)u=D(u,o("md5").update(u).update(t).update(l).digest());u.length>a.keyLen&&(u=y(u,0,a.keyLen));try{const e=r(s,u,c);e.setAutoPadding(!1),h=D(e.update(h),e.final()),m=!0}catch(e){return e}}}}let g="Malformed OpenSSH private key";switch(m&&(g+=". Bad passphrase?"),n[1]){case"RSA":s="ssh-rsa",a=k("RSA PRIVATE",h);try{d=new f.Reader(h),d.readSequence(),d.readInt();const e=d.readString(f.Integer,!0);if(null===e)return new Error(g);const t=d.readString(f.Integer,!0);if(null===t)return new Error(g);c=R(e,t),l=N(e,t)}catch{return new Error(g)}u="sha1";break;case"DSA":s="ssh-dss",a=k("DSA PRIVATE",h);try{d=new f.Reader(h),d.readSequence(),d.readInt();const e=d.readString(f.Integer,!0);if(null===e)return new Error(g);const t=d.readString(f.Integer,!0);if(null===t)return new Error(g);const n=d.readString(f.Integer,!0);if(null===n)return new Error(g);const r=d.readString(f.Integer,!0);if(null===r)return new Error(g);c=O(e,t,n,r),l=F(e,t,n,r)}catch{return new Error(g)}u="sha1";break;case"EC":{let e,t,n;try{d=new f.Reader(h),d.readSequence(),d.readInt(),t=d.readString(f.OctetString,!0),d.readByte();const r=d.readLength();if(null===r)return new Error(g);if(d._offset=r,n=d.readOID(),null===n)return new Error(g);switch(n){case"1.2.840.10045.3.1.7":e="prime256v1",s="ecdsa-sha2-nistp256",u="sha256";break;case"1.3.132.0.34":e="secp384r1",s="ecdsa-sha2-nistp384",u="sha384";break;case"1.3.132.0.35":e="secp521r1",s="ecdsa-sha2-nistp521",u="sha512";break;default:return new Error(`Unsupported private key EC OID: ${n}`)}}catch{return new Error(g)}a=k("EC PRIVATE",h);const r=function(e,t){const n=i(e);return n.setPrivateKey(t),n.getPublicKey()}(e,t);c=H(n,r),l=G(n,r);break}}return new q(s,"",a,c,l,u,m)}}function V(e,t,n,r,i,o,s){this.type=e,this.comment=t,this[I]=n,this[w]=r,this[S]=i,this[E]=o,this[B]=s}V.prototype=J;{const ae=Buffer.alloc(0),ce=Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),le=Buffer.from([0,0,0,0]),ue=Buffer.from([0,0,0,1]),de=/^PuTTY-User-Key-File-2: (ssh-(?:rsa|dss))\r?\nEncryption: (aes256-cbc|none)\r?\nComment: ([^\r\n]*)\r?\nPublic-Lines: \d+\r?\n([\s\S]+?)\r?\nPrivate-Lines: \d+\r?\n([\s\S]+?)\r?\nPrivate-MAC: ([^\r\n]+)/;V.parse=(e,t)=>{const n=de.exec(e);if(null===n)return null;const i=n[2],a="none"!==i;if(a&&!t)return new Error("Encrypted PPK private key detected, but no passphrase given");let c=Buffer.from(n[5],"base64");if(a){const e=A[i];let n=D(o("sha1").update(le).update(t).digest(),o("sha1").update(ue).update(t).digest());n.length>e.keyLen&&(n=y(n,0,e.keyLen));try{const t=r(e.sslName,n,ce);t.setAutoPadding(!1),c=D(t.update(c),t.final())}catch(e){return e}}const l=n[1],u=n[3],d=Buffer.from(n[4],"base64"),p=n[6],f=l.length,h=i.length,m=Buffer.byteLength(u),g=d.length,_=c.length,C=Buffer.allocUnsafe(4+f+4+h+4+m+4+g+4+_);let E=0;v(C,f,E),C.utf8Write(l,E+=4,f),v(C,h,E+=f),C.utf8Write(i,E+=4,h),v(C,m,E+=h),C.utf8Write(u,E+=4,m),v(C,g,E+=m),C.set(d,E+=4),v(C,_,E+=g),C.set(c,E+4),t||(t=ae);if(s("sha1",o("sha1").update("putty-private-key-file-mac-key").update(t).digest()).update(C).digest("hex")!==p)return a?new Error("PPK private key integrity check failed -- bad passphrase?"):new Error("PPK private key integrity check failed");let I,w,S;switch(d._pos=0,Q(d,1),l){case"ssh-rsa":{const e=b(d,d._pos);if(void 0===e)return new Error("Malformed PPK public key");const t=b(d,d._pos);if(void 0===t)return new Error("Malformed PPK public key");const n=b(c,0);if(void 0===n)return new Error("Malformed PPK private key");const r=b(c,c._pos);if(void 0===r)return new Error("Malformed PPK private key");const i=b(c,c._pos);if(void 0===i)return new Error("Malformed PPK private key");const o=b(c,c._pos);if(void 0===o)return new Error("Malformed PPK private key");I=R(t,e),w=N(t,e),S=P(t,e,n,o,r,i);break}case"ssh-dss":{const e=b(d,d._pos);if(void 0===e)return new Error("Malformed PPK public key");const t=b(d,d._pos);if(void 0===t)return new Error("Malformed PPK public key");const n=b(d,d._pos);if(void 0===n)return new Error("Malformed PPK public key");const r=b(d,d._pos);if(void 0===r)return new Error("Malformed PPK public key");const i=b(c,0);if(void 0===i)return new Error("Malformed PPK private key");I=O(e,t,n,r),w=F(e,t,n,r),S=M(e,t,n,r,i);break}}return new V(l,u,S,I,w,"sha1",a)}}function z(e,t,n,r,i){this.type=e,this.comment=t,this[I]=null,this[w]=n,this[S]=r,this[E]=i,this[B]=!1}z.prototype=J;{let pe;pe=m?/^(((?:ssh-(?:rsa|dss|ed25519))|ecdsa-sha2-nistp(?:256|384|521))(?:-cert-v0[01]@openssh.com)?) ([A-Z0-9a-z/+=]+)(?:$|\s+([\S].*)?)$/:/^(((?:ssh-(?:rsa|dss))|ecdsa-sha2-nistp(?:256|384|521))(?:-cert-v0[01]@openssh.com)?) ([A-Z0-9a-z/+=]+)(?:$|\s+([\S].*)?)$/,z.parse=e=>{const t=pe.exec(e);if(null===t)return null;const n=t[1],r=t[2],i=Buffer.from(t[3],"base64"),o=t[4]||"",s=b(i,i._pos,!0);return void 0===s||0!==s.indexOf(r)?new Error("Malformed OpenSSH public key"):$(i,r,o,n)}}function Y(e,t,n,r,i){this.type=e,this.comment=t,this[I]=null,this[w]=n,this[S]=r,this[E]=i,this[B]=!1}Y.prototype=J;{const fe=/^---- BEGIN SSH2 PUBLIC KEY ----(?:\r?\n)((?:.{0,72}\r?\n)+)---- END SSH2 PUBLIC KEY ----$/,he=/^[A-Z0-9a-z/+=\r\n]+$/,Ae=/^([\x21-\x39\x3B-\x7E]{1,64}): ((?:[^\\]*\\\r?\n)*[^\r\n]+)\r?\n/gm,me=/\\\r?\n/g;Y.parse=e=>{let t=fe.exec(e);if(null===t)return null;const n=t[1];let r=0,i="";for(;t=Ae.exec(n);){const e=t[1],n=t[2].replace(me,"");if(n.length>1024)return Ae.lastIndex=0,new Error("Malformed RFC4716 public key");r=Ae.lastIndex,"comment"===e.toLowerCase()&&(i=n,i.length>1&&34===i.charCodeAt(0)&&34===i.charCodeAt(i.length-1)&&(i=i.slice(1,-1)))}let o=n.slice(r);if(!he.test(o))return new Error("Malformed RFC4716 public key");o=Buffer.from(o,"base64");const s=b(o,0,!0);if(void 0===s)return new Error("Malformed RFC4716 public key");let a=null,c=null;switch(s){case"ssh-rsa":{const e=b(o,o._pos);if(void 0===e)return new Error("Malformed RFC4716 public key");const t=b(o,o._pos);if(void 0===t)return new Error("Malformed RFC4716 public key");a=R(t,e),c=N(t,e);break}case"ssh-dss":{const e=b(o,o._pos);if(void 0===e)return new Error("Malformed RFC4716 public key");const t=b(o,o._pos);if(void 0===t)return new Error("Malformed RFC4716 public key");const n=b(o,o._pos);if(void 0===n)return new Error("Malformed RFC4716 public key");const r=b(o,o._pos);if(void 0===r)return new Error("Malformed RFC4716 public key");a=O(e,t,n,r),c=F(e,t,n,r);break}default:return new Error("Malformed RFC4716 public key")}return new Y(s,i,a,c,"sha1")}}function $(e,t,n,r){if(!X(t))return new Error(`Unsupported OpenSSH public key type: ${t}`);let i,o,s=null,a=null;switch(t){case"ssh-rsa":{const t=b(e,e._pos||0);if(void 0===t)return new Error("Malformed OpenSSH public key");const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH public key");s=R(n,t),a=N(n,t),i="sha1";break}case"ssh-dss":{const t=b(e,e._pos||0);if(void 0===t)return new Error("Malformed OpenSSH public key");const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH public key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH public key");const o=b(e,e._pos);if(void 0===o)return new Error("Malformed OpenSSH public key");s=O(t,n,r,o),a=F(t,n,r,o),i="sha1";break}case"ssh-ed25519":{const t=b(e,e._pos||0);if(void 0===t||32!==t.length)return new Error("Malformed OpenSSH public key");s=L(t),a=j(t),i=null;break}case"ecdsa-sha2-nistp256":i="sha256",o="1.2.840.10045.3.1.7";case"ecdsa-sha2-nistp384":void 0===i&&(i="sha384",o="1.3.132.0.34");case"ecdsa-sha2-nistp521":{if(void 0===i&&(i="sha512",o="1.3.132.0.35"),!Q(e,1))return new Error("Malformed OpenSSH public key");const t=b(e,e._pos||0);if(void 0===t)return new Error("Malformed OpenSSH public key");s=H(o,t),a=G(o,t);break}default:return new Error(`Unsupported OpenSSH public key type: ${t}`)}return new z(r,n,s,a,i)}function X(e){switch(e){case"ssh-rsa":case"ssh-dss":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":case"ecdsa-sha2-nistp521":return!0;case"ssh-ed25519":if(m)return!0;default:return!1}}function Z(e){return!!e&&"boolean"==typeof e[B]}function ee(e,t){if(Z(e))return e;let n,r;if(Buffer.isBuffer(e))n=e,e=e.utf8Slice(0,e.length).trim();else{if("string"!=typeof e)return new Error("Key data must be a Buffer or string");e=e.trim()}if(null!=t)if("string"==typeof t)t=Buffer.from(t);else if(!Buffer.isBuffer(t))return new Error("Passphrase must be a string or Buffer when supplied");if(null!==(r=W.parse(e,t)))return r;if(null!==(r=q.parse(e,t)))return r;if(null!==(r=V.parse(e,t)))return r;if(null!==(r=z.parse(e)))return r;if(null!==(r=Y.parse(e)))return r;if(n){T.init(n,0);const t=T.readString(!0);void 0!==t&&void 0!==(e=T.readRaw())&&(r=$(e,t,"",t),r instanceof Error&&(r=null)),T.clear()}return r||new Error("Unsupported key format")}e.exports={isParsedKey:Z,isSupportedKeyType:X,parseDERKey:(e,t)=>$(e,t,"",t),parseKey:ee}},2025:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visit=t.use=t.Type=t.someField=t.PathVisitor=t.Path=t.NodePath=t.namedTypes=t.getSupertypeNames=t.getFieldValue=t.getFieldNames=t.getBuilderName=t.finalize=t.eachField=t.defineMethod=t.builtInTypes=t.builders=t.astNodesAreEquivalent=void 0;var r=n(66846),i=r.__importDefault(n(97560)),o=r.__importDefault(n(96167)),s=r.__importDefault(n(13556)),a=r.__importDefault(n(29435)),c=r.__importDefault(n(35040)),l=r.__importDefault(n(85223)),u=r.__importDefault(n(87276)),d=r.__importDefault(n(23141)),p=r.__importDefault(n(11598)),f=r.__importDefault(n(73387)),h=r.__importDefault(n(83450)),A=n(40481);Object.defineProperty(t,"namedTypes",{enumerable:!0,get:function(){return A.namedTypes}});var m=i.default([o.default,s.default,a.default,c.default,l.default,u.default,d.default,p.default,f.default,h.default]),g=m.astNodesAreEquivalent,y=m.builders,_=m.builtInTypes,b=m.defineMethod,C=m.eachField,v=m.finalize,E=m.getBuilderName,I=m.getFieldNames,w=m.getFieldValue,S=m.getSupertypeNames,B=m.namedTypes,x=m.NodePath,T=m.Path,k=m.PathVisitor,D=m.someField,Q=m.Type,R=m.use,N=m.visit;t.astNodesAreEquivalent=g,t.builders=y,t.builtInTypes=_,t.defineMethod=b,t.eachField=C,t.finalize=v,t.getBuilderName=E,t.getFieldNames=I,t.getFieldValue=w,t.getSupertypeNames=S,t.NodePath=x,t.Path=T,t.PathVisitor=k,t.someField=D,t.Type=Q,t.use=R,t.visit=N,Object.assign(A.namedTypes,B)},2056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MongoClient=t.ServerApiVersion=void 0;const r=n(79896),i=n(28404),o=n(64629),s=n(53290),a=n(52005),c=n(23979),l=n(55537),u=n(48612),d=n(31721),p=n(33692),f=n(39502),h=n(14676),A=n(17687),m=n(26102),g=n(99103),y=n(33750),_=n(81510),b=n(22272),C=n(73226),v=n(77048),E=n(53131),I=n(76807),w=n(11885);t.ServerApiVersion=Object.freeze({v1:"1"});class MongoClient extends m.TypedEventEmitter{constructor(e,t){super(),this.on("error",w.noop),this.options=(0,u.parseOptions)(e,this,t);const n=Object.values(this.options.mongoLoggerOptions.componentSeverities).some((e=>e!==A.SeverityLevel.OFF));this.mongoLogger=n?new A.MongoLogger(this.options.mongoLoggerOptions):void 0;const r=this;this.s={url:e,bsonOptions:(0,i.resolveBSONOptions)(this.options),namespace:(0,w.ns)("admin"),hasBeenClosed:!1,sessionPool:new I.ServerSessionPool(this),activeSessions:new Set,activeCursors:new Set,authProviders:new h.MongoClientAuthProviders,get options(){return r.options},get readConcern(){return r.options.readConcern},get writeConcern(){return r.options.writeConcern},get readPreference(){return r.options.readPreference},get isMongoClient(){return!0}},this.checkForNonGenuineHosts()}async asyncDispose(){await this.close()}appendMetadata(e){this.options.additionalDriverInfo.push(e),this.options.metadata=(0,c.makeClientMetadata)(this.options),this.options.extendedMetadata=(0,c.addContainerMetadata)(this.options.metadata).then(void 0,w.squashError).then((e=>e??{}))}checkForNonGenuineHosts(){const e=this.options.hosts.filter((e=>(0,w.isHostMatch)(w.DOCUMENT_DB_CHECK,e.host))),t=(0,w.isHostMatch)(w.DOCUMENT_DB_CHECK,this.options.srvHost),n=this.options.hosts.filter((e=>(0,w.isHostMatch)(w.COSMOS_DB_CHECK,e.host))),r=(0,w.isHostMatch)(w.COSMOS_DB_CHECK,this.options.srvHost);0!==e.length||t?this.mongoLogger?.info("client",w.DOCUMENT_DB_MSG):(0!==n.length||r)&&this.mongoLogger?.info("client",w.COSMOS_DB_MSG)}get serverApi(){return this.options.serverApi&&Object.freeze({...this.options.serverApi})}get monitorCommands(){return this.options.monitorCommands}set monitorCommands(e){this.options.monitorCommands=e}get autoEncrypter(){return this.options.autoEncrypter}get readConcern(){return this.s.readConcern}get writeConcern(){return this.s.writeConcern}get readPreference(){return this.s.readPreference}get bsonOptions(){return this.s.bsonOptions}get timeoutMS(){return this.s.options.timeoutMS}async bulkWrite(e,t){if(this.autoEncrypter)throw new f.MongoInvalidArgumentError("MongoClient bulkWrite does not currently support automatic encryption.");return await new g.ClientBulkWriteExecutor(this,e,(0,w.resolveOptions)(this,t)).execute()}async connect(){if(this.connectionLock)return await this.connectionLock;try{this.connectionLock=this._connect(),await this.connectionLock}finally{this.connectionLock=void 0}return this}async _connect(){if(this.topology&&this.topology.isConnected())return this;const e=this.options;if(e.tls&&("string"==typeof e.tlsCAFile&&(e.ca??=await r.promises.readFile(e.tlsCAFile)),"string"==typeof e.tlsCRLFile&&(e.crl??=await r.promises.readFile(e.tlsCRLFile)),!("string"!=typeof e.tlsCertificateKeyFile||e.key&&e.cert))){const t=await r.promises.readFile(e.tlsCertificateKeyFile);e.key??=t,e.cert??=t}if("string"==typeof e.srvHost){const t=await(0,u.resolveSRVRecord)(e);for(const[n,r]of t.entries())e.hosts[n]=r}if(e.credentials?.mechanism===a.AuthMechanism.MONGODB_OIDC){const t=e.credentials?.mechanismProperties?.ALLOWED_HOSTS||s.DEFAULT_ALLOWED_HOSTS;if(!!!e.credentials?.mechanismProperties?.ENVIRONMENT)for(const n of e.hosts)if(!(0,w.hostMatchesWildcards)(n.toHostPort().host,t))throw new f.MongoInvalidArgumentError(`Host '${n}' is not valid for OIDC authentication with ALLOWED_HOSTS of '${t.join(",")}'`)}this.topology=new E.Topology(this,e.hosts,e),this.topology.once(E.Topology.OPEN,(()=>this.emit("open",this)));for(const e of d.MONGO_CLIENT_EVENTS)this.topology.on(e,((...t)=>this.emit(e,...t)));const t=async()=>{try{await(this.topology?.connect(e))}catch(e){throw this.topology?.close(),e}};return this.autoEncrypter?(await(this.autoEncrypter?.init()),await t(),await e.encrypter.connectInternalClient()):await t(),this}async close(e=!1){if(this.closeLock)return await this.closeLock;try{this.closeLock=this._close(),await this.closeLock}finally{this.closeLock=void 0}}async _close(){Object.defineProperty(this.s,"hasBeenClosed",{value:!0,enumerable:!0,configurable:!1,writable:!1}),this.topology?.closeCheckedOutConnections();const e=Array.from(this.s.activeCursors,(e=>e.close()));this.s.activeCursors.clear(),await Promise.all(e);const t=Array.from(this.s.activeSessions,(e=>e.endSession()));if(this.s.activeSessions.clear(),await Promise.all(t),null==this.topology)return;const n=(0,v.readPreferenceServerSelector)(b.ReadPreference.primaryPreferred),r=this.topology.description,i=Array.from(r.servers.values());if(0!==n(r,i).length){const e=Array.from(this.s.sessionPool.sessions,(({id:e})=>e));if(0!==e.length)try{class EndSessionsOperation extends _.AbstractOperation{constructor(){super(...arguments),this.ns=w.MongoDBNamespace.fromString("admin.$cmd"),this.SERVER_COMMAND_RESPONSE_TYPE=l.MongoDBResponse}buildCommand(t,n){return{endSessions:e}}buildOptions(e){return{timeoutContext:e,readPreference:b.ReadPreference.primaryPreferred,noResponse:!0}}get commandName(){return"endSessions"}}await(0,y.executeOperation)(this,new EndSessionsOperation)}catch(e){(0,w.squashError)(e)}}const o=this.topology;this.topology=void 0,o.close();const{encrypter:s}=this.options;s&&await s.close(this)}db(e,t){t=t??{},e||(e=this.s.options.dbName);const n=Object.assign({},this.options,t);return new p.Db(this,e,n)}static async connect(e,t){const n=new this(e,t);return await n.connect()}startSession(e){const t=new I.ClientSession(this,this.s.sessionPool,{explicit:!0,...e},this.options);return this.s.activeSessions.add(t),t.once("ended",(()=>{this.s.activeSessions.delete(t)})),t}async withSession(e,t){const n={owner:Symbol(),..."object"==typeof e?e:{}},r="function"==typeof e?e:t;if(null==r)throw new f.MongoInvalidArgumentError("Missing required callback parameter");const i=this.startSession(n);try{return await r(i)}finally{try{await i.endSession()}catch(e){(0,w.squashError)(e)}}}watch(e=[],t={}){return Array.isArray(e)||(t=e,e=[]),new o.ChangeStream(this,e,(0,w.resolveOptions)(this,t))}}t.MongoClient=MongoClient,(0,C.configureResourceManagement)(MongoClient.prototype)},2103:(e,t,n)=>{"use strict";n.d(t,{qs:()=>_,kN:()=>C,ey:()=>T,$z:()=>b,j7:()=>x});var r=n(94134),i=n(47624),o=n(1535),s=n(76982),a=n.n(s);const c={randomUUID:a().randomUUID},l=new Uint8Array(256);let u=l.length;function d(){return u>l.length-16&&(a().randomFillSync(l),u=0),l.slice(u,u+=16)}const p=[];for(let e=0;e<256;++e)p.push((e+256).toString(16).slice(1));function f(e,t=0){return p[e[t+0]]+p[e[t+1]]+p[e[t+2]]+p[e[t+3]]+"-"+p[e[t+4]]+p[e[t+5]]+"-"+p[e[t+6]]+p[e[t+7]]+"-"+p[e[t+8]]+p[e[t+9]]+"-"+p[e[t+10]]+p[e[t+11]]+p[e[t+12]]+p[e[t+13]]+p[e[t+14]]+p[e[t+15]]}const h=function(e,t,n){if(c.randomUUID&&!t&&!e)return c.randomUUID();const r=(e=e||{}).random||(e.rng||d)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return f(r)},A=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);var m=n(42952);const g="AWS_MAX_ATTEMPTS",y="max_attempts",_={environmentVariableSelector:e=>{const t=e[g];if(!t)return;const n=parseInt(t);if(Number.isNaN(n))throw new Error(`Environment variable ${g} mast be a number, got "${t}"`);return n},configFileSelector:e=>{const t=e[y];if(!t)return;const n=parseInt(t);if(Number.isNaN(n))throw new Error(`Shared config file entry ${y} mast be a number, got "${t}"`);return n},default:r.Gz},b=e=>{const{retryStrategy:t}=e,n=(0,m.t)(e.maxAttempts??r.Gz);return{...e,maxAttempts:n,retryStrategy:async()=>{if(t)return t;return await(0,m.t)(e.retryMode)()===r.cm.ADAPTIVE?new r.Y(n):new r.ru(n)}}},C={environmentVariableSelector:e=>e.AWS_RETRY_MODE,configFileSelector:e=>e.retry_mode,default:r.L0};var v=n(1802),E=n(2203);const I=e=>e?.body instanceof E.Readable||"undefined"!=typeof ReadableStream&&e?.body instanceof ReadableStream,w=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,S=e=>{const t={error:e,errorType:B(e)},n=k(e.$response);return n&&(t.retryAfterHint=n),t},B=e=>(0,o.Qb)(e)?"THROTTLING":(0,o.bV)(e)?"TRANSIENT":(0,o.GQ)(e)?"SERVER_ERROR":"CLIENT_ERROR",x={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},T=e=>({applyToStack:t=>{t.add((e=>(t,n)=>async o=>{let s=await e.retryStrategy();const a=await e.maxAttempts();if(!w(s))return s?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",s.mode]]),s.retry(t,o);{let e=await s.acquireInitialRetryToken(n.partition_id),c=new Error,l=0,u=0;const{request:d}=o,p=i.Kd.isInstance(d);for(p&&(d.headers[r.l5]=h());;)try{p&&(d.headers[r.ok]=`attempt=${l+1}; max=${a}`);const{response:n,output:i}=await t(o);return s.recordSuccess(e),i.$metadata.attempts=l+1,i.$metadata.totalRetryDelay=u,{response:n,output:i}}catch(t){const r=S(t);if(c=A(t),p&&I(d))throw(n.logger instanceof v.N4?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),c;try{e=await s.refreshRetryTokenForRetry(e,r)}catch(e){throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=u,c}l=e.getRetryCount();const i=e.getRetryDelay();u+=i,await new Promise((e=>setTimeout(e,i)))}}})(e),x)}}),k=e=>{if(!i.cS.isInstance(e))return;const t=Object.keys(e.headers).find((e=>"retry-after"===e.toLowerCase()));if(!t)return;const n=e.headers[t],r=Number(n);if(!Number.isNaN(r))return new Date(1e3*r);return new Date(n)}},2151:(e,t,n)=>{"use strict";const r=n(87111).fromPromise,i=n(51012);e.exports={pathExists:r((function(e){return i.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:i.existsSync}},2203:e=>{"use strict";e.exports=require("stream")},2226:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=s;var r=n(9305),i=n(82475);function o(e,t,n){if(t.experimental_preserveFormat){if("string"!=typeof e)throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(n.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};var i;r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.recordAndTupleSyntaxType=null!=(i=t.recordAndTupleSyntaxType)?i:"hash",r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve")),"auto"===r.compact&&(r.compact="string"==typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(r.compact||r.preserveFormat)&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:o,auxiliaryCommentAfter:s,shouldPrintComment:a}=r;return o&&!a(o)&&(r.auxiliaryCommentBefore=void 0),s&&!a(s)&&(r.auxiliaryCommentAfter=void 0),r}function s(e,t={},n){const s=o(n,t,e),a=t.sourceMaps?new r.default(t,n):null;return new i.default(s,a,e.tokens,"string"==typeof n?n:null).generate(e)}t.CodeGenerator=class CodeGenerator{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=o(n,t,e),this._map=t.sourceMaps?new r.default(t,n):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}};t.default=s},2285:(e,t,n)=>{"use strict";function r(){const e=n(16928);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,t.loadPartialConfig=function*(e){let t=!1;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var n=e;({showIgnoredFiles:t}=n),e=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(n,p)}const r=yield*f(e);if(!r)return null;const{options:o,babelrc:s,ignore:a,config:c,fileHandling:l,files:u}=r;if("ignored"===l&&!t)return null;return(o.plugins||[]).forEach((e=>{if(e.value instanceof i.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")})),new PartialConfig(o,s?s.filepath:void 0,a?a.filepath:void 0,c?c.filepath:void 0,l,u)};var i=n(27157),o=n(19538),s=n(88081),a=n(18664),c=n(21199),l=n(28336),u=n(95584),d=n(30791);const p=["showIgnoredFiles"];function*f(e){if(null!=e&&("object"!=typeof e||Array.isArray(e)))throw new Error("Babel options must be an object, null, or undefined");const t=e?(0,l.validate)("arguments",e):{},{envName:n=(0,c.getEnv)(),cwd:i=".",root:p=".",rootMode:f="root",caller:h,cloneInputAst:A=!0}=t,m=r().resolve(i),g=function(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return null===t?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(null!==t)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${e}".\nOne of the following config files must be in the directory tree: "${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(r().resolve(m,p),f),y="string"==typeof t.filename?r().resolve(i,t.filename):void 0,_={filename:y,cwd:m,root:g,envName:n,caller:h,showConfig:(yield*(0,u.resolveShowConfigPath)(m))===y},b=yield*(0,a.buildRootChain)(t,_);if(!b)return null;const C={assumptions:{}};b.options.forEach((e=>{(0,o.mergeOptions)(C,e)}));return{options:Object.assign({},C,{targets:(0,d.resolveTargets)(C,g),cloneInputAst:A,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:_.envName,cwd:_.cwd,root:_.root,rootMode:"root",filename:"string"==typeof _.filename?_.filename:void 0,plugins:b.plugins.map((e=>(0,s.createItemFromDescriptor)(e))),presets:b.presets.map((e=>(0,s.createItemFromDescriptor)(e)))}),context:_,fileHandling:b.fileHandling,ignore:b.ignore,babelrc:b.babelrc,config:b.config,files:b.files}}class PartialConfig{constructor(e,t,n,r,i,o){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=e,this.babelignore=n,this.babelrc=t,this.config=r,this.fileHandling=i,this.files=o,Object.freeze(this)}hasFilesystemConfig(){return void 0!==this.babelrc||void 0!==this.config}}Object.freeze(PartialConfig.prototype)},2348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregateOperation=t.DB_AGGREGATE_COLLECTION=void 0;const r=n(55537),i=n(39502),o=n(11885),s=n(16688),a=n(57718),c=n(81510);t.DB_AGGREGATE_COLLECTION=1;class AggregateOperation extends a.CommandOperation{constructor(e,n,o){if(super(void 0,{...o,dbName:e.db}),this.SERVER_COMMAND_RESPONSE_TYPE=r.CursorResponse,this.options={...o},this.target=e.collection||t.DB_AGGREGATE_COLLECTION,this.pipeline=n,this.hasWriteStage=!1,"string"==typeof o?.out)this.pipeline=this.pipeline.concat({$out:o.out}),this.hasWriteStage=!0;else if(n.length>0){const e=n[n.length-1];(e.$out||e.$merge)&&(this.hasWriteStage=!0)}if(this.hasWriteStage||delete this.options.writeConcern,this.explain&&this.writeConcern)throw new i.MongoInvalidArgumentError('Option "explain" cannot be used on an aggregate call with writeConcern');if(null!=o?.cursor&&"object"!=typeof o.cursor)throw new i.MongoInvalidArgumentError("Cursor options must be an object");this.SERVER_COMMAND_RESPONSE_TYPE=this.explain?r.ExplainedCursorResponse:r.CursorResponse}get commandName(){return"aggregate"}get canRetryRead(){return!this.hasWriteStage}addToPipeline(e){this.pipeline.push(e)}buildCommandDocument(e){const t=this.options,n=(0,o.maxWireVersion)(e),r={aggregate:this.target,pipeline:this.pipeline};return this.hasWriteStage&&n<8&&(this.readConcern=void 0),this.hasWriteStage&&this.writeConcern&&s.WriteConcern.apply(r,this.writeConcern),!0===t.bypassDocumentValidation&&(r.bypassDocumentValidation=t.bypassDocumentValidation),"boolean"==typeof t.allowDiskUse&&(r.allowDiskUse=t.allowDiskUse),t.hint&&(r.hint=t.hint),t.let&&(r.let=t.let),void 0!==t.comment&&(r.comment=t.comment),r.cursor=t.cursor||{},t.batchSize&&!this.hasWriteStage&&(r.cursor.batchSize=t.batchSize),r}handleOk(e){return e}}t.AggregateOperation=AggregateOperation,(0,c.defineAspects)(AggregateOperation,[c.Aspect.READ_OPERATION,c.Aspect.RETRYABLE,c.Aspect.EXPLAINABLE,c.Aspect.CURSOR_CREATING])},2383:(e,t,n)=>{"use strict";function r(){const e=n(71642);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConfigAPI=s,t.makePluginAPI=function(e,t){return Object.assign({},a(e,t),{assumption:t=>e.using((e=>e.assumptions[t]))})},t.makePresetAPI=a;var i=n(18941),o=n(99577);function s(e){return{version:i.version,cache:e.simple(),env:t=>e.using((e=>void 0===t?e.envName:"function"==typeof t?(0,o.assertSimpleType)(t(e.envName)):(Array.isArray(t)?t:[t]).some((t=>{if("string"!=typeof t)throw new Error("Unexpected non-string value");return t===e.envName})))),async:()=>!1,caller:t=>e.using((e=>(0,o.assertSimpleType)(t(e.caller)))),assertVersion:c}}function a(e,t){return Object.assign({},s(e),{targets:()=>JSON.parse(e.using((e=>JSON.stringify(e.targets)))),addExternalDependency:e=>{t.push(e)}})}function c(e){if("number"==typeof e){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if("string"!=typeof e)throw new Error("Expected string or integer value.");if("*"===e||r().satisfies(i.version,e))return;const t=Error.stackTraceLimit;"number"==typeof t&&t<25&&(Error.stackTraceLimit=25);const n=new Error(`Requires Babel "${e}", but was loaded with "${i.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw"number"==typeof t&&(Error.stackTraceLimit=t),Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:i.version,range:e})}},2473:function(e,t,n){"use strict";var r=this&&this.__runInitializers||function(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0},i=this&&this.__esDecorate||function(e,t,n,r,i,o){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var A in r)h[A]="access"===A?{}:r[A];for(var A in r.access)h.access[A]=r.access[A];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(e||null))};var m=(0,n[f])("accessor"===c?{get:d.get,set:d.set}:d[l],h);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(a=s(m.get))&&(d.get=a),(a=s(m.set))&&(d.set=a),(a=s(m.init))&&i.unshift(a)}else(a=s(m))&&("field"===c?i.unshift(a):d[l]=a)}u&&Object.defineProperty(u,r.name,d),p=!0},o=this&&this.__setFunctionName||function(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=n(75459),c=s(n(15159)),l=n(27919);let u=(()=>{let e,t,n,s=[a.shellApiClassDefault],u=[],d=c.default,p=[];t=class extends d{constructor(e,t,n){super(e,t._cursor),this._baseCursor=r(this,p),this._baseCursor=t,this._verbosity=n,this._explained=null}async[l.asPrintable](){return await this.finish()}async finish(){var e;return null!==(e=this._explained)&&void 0!==e||(this._explained=await this._baseCursor.explain(this._verbosity)),this._explained}};return o(t,"ExplainableCursor"),(()=>{var o;const c="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(o=d[Symbol.metadata])&&void 0!==o?o:null):void 0;n=[a.returnsPromise],i(t,null,n,{kind:"method",name:"finish",static:!1,private:!1,access:{has:e=>"finish"in e,get:e=>e.finish},metadata:c},null,p),i(null,e={value:t},s,{kind:"class",name:t.name,metadata:c},null,u),t=e.value,c&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:c}),r(t,u)})(),t})();t.default=u},2718:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeProxySecrets=t.extractProxySecrets=t.translateToElectronProxyConfig=void 0;var r=n(63938);Object.defineProperty(t,"translateToElectronProxyConfig",{enumerable:!0,get:function(){return r.translateToElectronProxyConfig}}),Object.defineProperty(t,"extractProxySecrets",{enumerable:!0,get:function(){return r.extractProxySecrets}}),Object.defineProperty(t,"mergeProxySecrets",{enumerable:!0,get:function(){return r.mergeProxySecrets}})},2722:(e,t,n)=>{"use strict";const r=n(72841),i=n(79543),o=n(24517),s=n(93806),a=n(93955),c=n(28474),l=n(92281),u=n(38868),d=n(73269),p=n(26381),f=n(31353),h=n(96082),A=n(69428),m=n(87851),g=n(87555),y=n(52132),_=n(6106),b=n(34042),C=n(93810),v=n(89761),E=n(51262),I=n(28848),w=n(28220),S=n(72386),B=n(89639),x=n(54004),T=n(56783),k=n(51565),D=n(37476),Q=n(27229),R=n(26364),N=n(55039),P=n(55357),O=n(71280),F=n(37403),M=n(58854),L=n(27226),j=n(37183),U=n(18623),H=n(76486),G=n(40583);e.exports={parse:a,valid:c,clean:l,inc:u,diff:d,major:p,minor:f,patch:h,prerelease:A,compare:m,rcompare:g,compareLoose:y,compareBuild:_,sort:b,rsort:C,gt:v,lt:E,eq:I,neq:w,gte:S,lte:B,cmp:x,coerce:T,Comparator:k,Range:D,satisfies:Q,toComparators:R,maxSatisfying:N,minSatisfying:P,minVersion:O,validRange:F,outside:M,gtr:L,ltr:j,intersects:U,simplifyRange:H,subset:G,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},2785:(e,t,n)=>{"use strict";var r=n(7285),i=n(48090),o=n(67431);e.exports={getCharset:function(e){try{return(i.parse(e).parameters.charset||"").toLowerCase()}catch{return}},normalizeOptions:function(e,t){if(!t)throw new TypeError("defaultType must be provided");var n=!1!==e?.inflate,i="number"!=typeof e?.limit?r.parse(e?.limit||"100kb"):e?.limit,s=e?.type||t,a=e?.verify||!1;if(!1!==a&&"function"!=typeof a)throw new TypeError("option verify must be function");var c="function"!=typeof s?function(e){return function(t){return Boolean(o(t,e))}}(s):s;return{inflate:n,limit:i,verify:a,shouldParse:c}}}},2895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionPool=t.PoolState=void 0;const r=n(53557),i=n(31721),o=n(39502),s=n(26102),a=n(57339),c=n(11885),l=n(27346),u=n(60058),d=n(70427),p=n(64449),f=n(53393);t.PoolState=Object.freeze({paused:"paused",ready:"ready",closed:"closed"});class ConnectionPool extends s.TypedEventEmitter{constructor(e,n){if(super(),this.on("error",c.noop),this.options=Object.freeze({connectionType:u.Connection,...n,maxPoolSize:n.maxPoolSize??100,minPoolSize:n.minPoolSize??0,maxConnecting:n.maxConnecting??2,maxIdleTimeMS:n.maxIdleTimeMS??0,waitQueueTimeoutMS:n.waitQueueTimeoutMS??0,minPoolSizeCheckFrequencyMS:n.minPoolSizeCheckFrequencyMS??100,autoEncrypter:n.autoEncrypter}),this.options.minPoolSize>this.options.maxPoolSize)throw new o.MongoInvalidArgumentError("Connection pool minimum size must not be greater than maximum pool size");this.poolState=t.PoolState.paused,this.server=e,this.connections=new c.List,this.pending=0,this.checkedOut=new Set,this.minPoolSizeTimer=void 0,this.generation=0,this.serviceGenerations=new Map,this.connectionCounter=(0,c.makeCounter)(1),this.cancellationToken=new s.CancellationToken,this.cancellationToken.setMaxListeners(1/0),this.waitQueue=new c.List,this.metrics=new f.ConnectionPoolMetrics,this.processingWaitQueue=!1,this.mongoLogger=this.server.topology.client?.mongoLogger,this.component="connection",process.nextTick((()=>{this.emitAndLog(ConnectionPool.CONNECTION_POOL_CREATED,new d.ConnectionPoolCreatedEvent(this))}))}get address(){return this.options.hostAddress.toString()}get closed(){return this.poolState===t.PoolState.closed}get totalConnectionCount(){return this.availableConnectionCount+this.pendingConnectionCount+this.currentCheckedOutCount}get availableConnectionCount(){return this.connections.length}get pendingConnectionCount(){return this.pending}get currentCheckedOutCount(){return this.checkedOut.size}get waitQueueSize(){return this.waitQueue.length}get loadBalanced(){return this.options.loadBalanced}get serverError(){return this.server.description.error}get checkedOutConnections(){return this.checkedOut}waitQueueErrorMetrics(){return this.metrics.info(this.options.maxPoolSize)}ready(){this.poolState===t.PoolState.paused&&(this.poolState=t.PoolState.ready,this.emitAndLog(ConnectionPool.CONNECTION_POOL_READY,new d.ConnectionPoolReadyEvent(this)),(0,r.clearTimeout)(this.minPoolSizeTimer),this.ensureMinPoolSize())}async checkOut(e){const t=(0,c.now)();this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_STARTED,new d.ConnectionCheckOutStartedEvent(this));const{promise:n,resolve:r,reject:i}=(0,c.promiseWithResolvers)(),s=e.timeoutContext.connectionCheckoutTimeout,l={resolve:r,reject:i,cancelled:!1,checkoutTime:t},u=(0,c.addAbortListener)(e.signal,(function(){l.cancelled=!0,i(this.reason)}));this.waitQueue.push(l),process.nextTick((()=>this.processWaitQueue()));try{return s?.throwIfExpired(),await(s?Promise.race([n,s]):n)}catch(t){if(a.TimeoutError.is(t)){s?.clear(),l.cancelled=!0,this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_FAILED,new d.ConnectionCheckOutFailedEvent(this,"timeout",l.checkoutTime));const t=new p.WaitQueueTimeoutError(this.loadBalanced?this.waitQueueErrorMetrics():"Timed out while checking out a connection from connection pool",this.address);if(e.timeoutContext.csotEnabled())throw new o.MongoOperationTimeoutError("Timed out during connection checkout",{cause:t});throw t}throw t}finally{u?.[c.kDispose](),s?.clear()}}checkIn(e){if(!this.checkedOut.has(e))return;const t=this.closed,n=this.connectionIsStale(e),r=!!(t||n||e.closed);if(r||(e.markAvailable(),this.connections.unshift(e)),this.checkedOut.delete(e),this.emitAndLog(ConnectionPool.CONNECTION_CHECKED_IN,new d.ConnectionCheckedInEvent(this,e)),r){const n=e.closed?"error":t?"poolClosed":"stale";this.destroyConnection(e,n)}process.nextTick((()=>this.processWaitQueue()))}clear(e={}){if(this.closed)return;if(this.loadBalanced){const{serviceId:t}=e;if(!t)throw new o.MongoRuntimeError("ConnectionPool.clear() called in load balanced mode with no serviceId.");const n=t.toHexString(),r=this.serviceGenerations.get(n);if(null==r)throw new o.MongoRuntimeError("Service generations are required in load balancer mode.");return this.serviceGenerations.set(n,r+1),void this.emitAndLog(ConnectionPool.CONNECTION_POOL_CLEARED,new d.ConnectionPoolClearedEvent(this,{serviceId:t}))}const n=e.interruptInUseConnections??!1,r=this.generation;this.generation+=1;const i=this.poolState===t.PoolState.paused;this.poolState=t.PoolState.paused,this.clearMinPoolSizeTimer(),i||this.emitAndLog(ConnectionPool.CONNECTION_POOL_CLEARED,new d.ConnectionPoolClearedEvent(this,{interruptInUseConnections:n})),n&&process.nextTick((()=>this.interruptInUseConnections(r))),this.processWaitQueue()}interruptInUseConnections(e){for(const t of this.checkedOut)t.generation<=e&&t.onError(new p.PoolClearedOnNetworkError(this))}closeCheckedOutConnections(){for(const e of this.checkedOut)e.onError(new o.MongoClientClosedError)}close(){if(!this.closed){this.cancellationToken.emit("cancel"),"function"==typeof this.connectionCounter.return&&this.connectionCounter.return(void 0),this.poolState=t.PoolState.closed,this.clearMinPoolSizeTimer(),this.processWaitQueue();for(const e of this.connections)this.emitAndLog(ConnectionPool.CONNECTION_CLOSED,new d.ConnectionClosedEvent(this,e,"poolClosed")),e.destroy();this.connections.clear(),this.emitAndLog(ConnectionPool.CONNECTION_POOL_CLOSED,new d.ConnectionPoolClosedEvent(this))}}async reauthenticate(e){const t=e.authContext;if(!t)throw new o.MongoRuntimeError("No auth context found on connection.");const n=t.credentials;if(!n)throw new o.MongoMissingCredentialsError("Connection is missing credentials when asked to reauthenticate");const r=n.resolveAuthMechanism(e.hello),i=this.server.topology.client.s.authProviders.getOrCreateProvider(r.mechanism,r.mechanismProperties);if(!i)throw new o.MongoMissingCredentialsError(`Reauthenticate failed due to no auth provider for ${n.mechanism}`);await i.reauth(t)}clearMinPoolSizeTimer(){const e=this.minPoolSizeTimer;e&&(0,r.clearTimeout)(e)}destroyConnection(e,t){this.emitAndLog(ConnectionPool.CONNECTION_CLOSED,new d.ConnectionClosedEvent(this,e,t)),e.destroy()}connectionIsStale(e){const t=e.serviceId;if(this.loadBalanced&&t){const n=t.toHexString(),r=this.serviceGenerations.get(n);return e.generation!==r}return e.generation!==this.generation}connectionIsIdle(e){return!!(this.options.maxIdleTimeMS&&e.idleTime>this.options.maxIdleTimeMS)}destroyConnectionIfPerished(e){const t=this.connectionIsStale(e),n=this.connectionIsIdle(e);if(!t&&!n&&!e.closed)return!1;const r=e.closed?"error":t?"stale":"idle";return this.destroyConnection(e,r),!0}createConnection(e){const n={...this.options,id:this.connectionCounter.next().value,generation:this.generation,cancellationToken:this.cancellationToken,mongoLogger:this.mongoLogger,authProviders:this.server.topology.client.s.authProviders,extendedMetadata:this.server.topology.client.options.extendedMetadata};this.pending++;const r=(0,c.now)();this.emitAndLog(ConnectionPool.CONNECTION_CREATED,new d.ConnectionCreatedEvent(this,{id:n.id})),(0,l.connect)(n).then((n=>{if(this.poolState!==t.PoolState.ready)return this.pending--,n.destroy(),void e(this.closed?new p.PoolClosedError(this):new p.PoolClearedError(this));for(const e of[...i.APM_EVENTS,u.Connection.CLUSTER_TIME_RECEIVED])n.on(e,(t=>this.emit(e,t)));if(this.loadBalanced){n.on(u.Connection.PINNED,(e=>this.metrics.markPinned(e))),n.on(u.Connection.UNPINNED,(e=>this.metrics.markUnpinned(e)));const e=n.serviceId;if(e){let t;const r=e.toHexString();(t=this.serviceGenerations.get(r))?n.generation=t:(this.serviceGenerations.set(r,0),n.generation=0)}}n.markAvailable(),this.emitAndLog(ConnectionPool.CONNECTION_READY,new d.ConnectionReadyEvent(this,n,r)),this.pending--,e(void 0,n)}),(t=>{this.pending--,this.server.handleError(t),this.emitAndLog(ConnectionPool.CONNECTION_CLOSED,new d.ConnectionClosedEvent(this,{id:n.id,serviceId:void 0},"error",t)),(t instanceof o.MongoNetworkError||t instanceof o.MongoServerError)&&(t.connectionGeneration=n.generation),e(t??new o.MongoRuntimeError("Connection creation failed without error"))}))}ensureMinPoolSize(){const e=this.options.minPoolSize;this.poolState===t.PoolState.ready&&(this.connections.prune((e=>this.destroyConnectionIfPerished(e))),this.totalConnectionCount<e&&this.pendingConnectionCount<this.options.maxConnecting?this.createConnection(((e,n)=>{!e&&n&&(this.connections.push(n),process.nextTick((()=>this.processWaitQueue()))),this.poolState===t.PoolState.ready&&((0,r.clearTimeout)(this.minPoolSizeTimer),this.minPoolSizeTimer=(0,r.setTimeout)((()=>this.ensureMinPoolSize()),this.options.minPoolSizeCheckFrequencyMS))})):((0,r.clearTimeout)(this.minPoolSizeTimer),this.minPoolSizeTimer=(0,r.setTimeout)((()=>this.ensureMinPoolSize()),this.options.minPoolSizeCheckFrequencyMS)))}processWaitQueue(){if(this.processingWaitQueue)return;for(this.processingWaitQueue=!0;this.waitQueueSize;){const e=this.waitQueue.first();if(!e){this.waitQueue.shift();continue}if(e.cancelled){this.waitQueue.shift();continue}if(this.poolState!==t.PoolState.ready){const t=this.closed?"poolClosed":"connectionError",n=this.closed?new p.PoolClosedError(this):new p.PoolClearedError(this);this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_FAILED,new d.ConnectionCheckOutFailedEvent(this,t,e.checkoutTime,n)),this.waitQueue.shift(),e.reject(n);continue}if(!this.availableConnectionCount)break;const n=this.connections.shift();if(!n)break;this.destroyConnectionIfPerished(n)||(this.checkedOut.add(n),this.emitAndLog(ConnectionPool.CONNECTION_CHECKED_OUT,new d.ConnectionCheckedOutEvent(this,n,e.checkoutTime)),this.waitQueue.shift(),e.resolve(n))}const{maxPoolSize:e,maxConnecting:n}=this.options;for(;this.waitQueueSize>0&&this.pendingConnectionCount<n&&(0===e||this.totalConnectionCount<e);){const e=this.waitQueue.shift();e&&!e.cancelled&&this.createConnection(((t,n)=>{e.cancelled?!t&&n&&this.connections.push(n):t?(this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_FAILED,new d.ConnectionCheckOutFailedEvent(this,"connectionError",e.checkoutTime,t)),e.reject(t)):n&&(this.checkedOut.add(n),this.emitAndLog(ConnectionPool.CONNECTION_CHECKED_OUT,new d.ConnectionCheckedOutEvent(this,n,e.checkoutTime)),e.resolve(n)),process.nextTick((()=>this.processWaitQueue()))}))}this.processingWaitQueue=!1}}t.ConnectionPool=ConnectionPool,ConnectionPool.CONNECTION_POOL_CREATED=i.CONNECTION_POOL_CREATED,ConnectionPool.CONNECTION_POOL_CLOSED=i.CONNECTION_POOL_CLOSED,ConnectionPool.CONNECTION_POOL_CLEARED=i.CONNECTION_POOL_CLEARED,ConnectionPool.CONNECTION_POOL_READY=i.CONNECTION_POOL_READY,ConnectionPool.CONNECTION_CREATED=i.CONNECTION_CREATED,ConnectionPool.CONNECTION_READY=i.CONNECTION_READY,ConnectionPool.CONNECTION_CLOSED=i.CONNECTION_CLOSED,ConnectionPool.CONNECTION_CHECK_OUT_STARTED=i.CONNECTION_CHECK_OUT_STARTED,ConnectionPool.CONNECTION_CHECK_OUT_FAILED=i.CONNECTION_CHECK_OUT_FAILED,ConnectionPool.CONNECTION_CHECKED_OUT=i.CONNECTION_CHECKED_OUT,ConnectionPool.CONNECTION_CHECKED_IN=i.CONNECTION_CHECKED_IN},3017:(e,t,n)=>{"use strict";function r(){const e=n(95827);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transform=void 0,t.transformAsync=function(...e){return(0,s.beginHiddenCallStack)(a.async)(...e)},t.transformSync=function(...e){return(0,s.beginHiddenCallStack)(a.sync)(...e)};var i=n(96296),o=n(49315),s=n(80056);const a=r()((function*(e,t){const n=yield*(0,i.default)(t);return null===n?null:yield*(0,o.run)(n,e)}));t.transform=function(e,t,n){let r,i;if("function"==typeof t?(i=t,r=void 0):(r=t,i=n),void 0===i)return(0,s.beginHiddenCallStack)(a.sync)(e,r);(0,s.beginHiddenCallStack)(a.errback)(e,r,i)}},3119:(e,t,n)=>{"use strict";n.d(t,{Rq:()=>r,$3:()=>i});const r=e=>{let t=async()=>{if(void 0===e.region)throw new Error("Region is missing from runtimeConfig");const t=e.region;return"string"==typeof t?t:t()};return{setRegion(e){t=e},region:()=>t}},i=e=>({region:e.region()})},3337:(e,t,n)=>{"use strict";n.d(t,{$c:()=>NodeHttpHandler,kv:()=>d});var r=n(47624),i=n(30548);var o=n(58611),s=n(65692);const a=["ECONNRESET","EPIPE","ETIMEDOUT"],c=e=>{const t={};for(const n of Object.keys(e)){const r=e[n];t[n]=Array.isArray(r)?r.join(","):r}return t};var l=n(2203);async function u(e,t,n=1e3){const r=t.headers??{},i=r.Expect||r.expect;let o=-1,s=!1;"100-continue"===i&&await Promise.race([new Promise((e=>{o=Number(setTimeout(e,Math.max(1e3,n)))})),new Promise((t=>{e.on("continue",(()=>{clearTimeout(o),t()})),e.on("error",(()=>{s=!0,clearTimeout(o),t()}))}))]),s||function(e,t){if(t instanceof l.Readable)return void t.pipe(e);if(t){if(Buffer.isBuffer(t)||"string"==typeof t)return void e.end(t);const n=t;return"object"==typeof n&&n.buffer&&"number"==typeof n.byteOffset&&"number"==typeof n.byteLength?void e.end(Buffer.from(n.buffer,n.byteOffset,n.byteLength)):void e.end(Buffer.from(t))}e.end()}(e,t.body)}class NodeHttpHandler{static create(e){return"function"==typeof e?.handle?e:new NodeHttpHandler(e)}static checkSocketUsage(e,t,n=console){const{sockets:r,requests:i,maxSockets:o}=e;if("number"!=typeof o||o===1/0)return t;if(Date.now()-15e3<t)return t;if(r&&i)for(const e in r){const t=r[e]?.length??0,s=i[e]?.length??0;if(t>=o&&s>=2*o)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${t} and ${s} additional requests are enqueued.\nSee https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html\nor increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise(((t,n)=>{"function"==typeof e?e().then((e=>{t(this.resolveDefaultConfig(e))})).catch(n):t(this.resolveDefaultConfig(e))}))}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:n,socketTimeout:r,httpAgent:i,httpsAgent:a}=e||{},c=!0;return{connectionTimeout:n,requestTimeout:t??r,httpAgent:i instanceof o.Agent||"function"==typeof i?.destroy?i:new o.Agent({keepAlive:c,maxSockets:50,...i}),httpsAgent:a instanceof s.Agent||"function"==typeof a?.destroy?a:new s.Agent({keepAlive:c,maxSockets:50,...a}),logger:console}}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t}={}){let n;return this.config||(this.config=await this.configProvider),new Promise(((l,d)=>{let p;const f=async e=>{await p,clearTimeout(n),d(e)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",void f(e)}const h="https:"===e.protocol,A=h?this.config.httpsAgent:this.config.httpAgent;n=setTimeout((()=>{this.socketWarningTimestamp=NodeHttpHandler.checkSocketUsage(A,this.socketWarningTimestamp,this.config.logger)}),this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2e3)+(this.config.connectionTimeout??1e3));const m=function(e){const t=[];for(let n of Object.keys(e).sort()){const r=e[n];if(n=(0,i.o)(n),Array.isArray(r))for(let e=0,o=r.length;e<o;e++)t.push(`${n}=${(0,i.o)(r[e])}`);else{let e=n;(r||"string"==typeof r)&&(e+=`=${(0,i.o)(r)}`),t.push(e)}}return t.join("&")}(e.query||{});let g;if(null!=e.username||null!=e.password){g=`${e.username??""}:${e.password??""}`}let y=e.path;m&&(y+=`?${m}`),e.fragment&&(y+=`#${e.fragment}`);const _={headers:e.headers,host:e.hostname,method:e.method,path:y,port:e.port,agent:A,auth:g},b=(h?s.request:o.request)(_,(e=>{(async e=>{await p,clearTimeout(n),l(e)})({response:new r.cS({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:c(e.headers),body:e})})}));if(b.on("error",(e=>{a.includes(e.code)?f(Object.assign(e,{name:"TimeoutError"})):f(e)})),((e,t,n=0)=>{if(!n)return;const r=setTimeout((()=>{e.destroy(),t(Object.assign(new Error(`Socket timed out without establishing a connection within ${n} ms`),{name:"TimeoutError"}))}),n);e.on("socket",(e=>{e.connecting?e.on("connect",(()=>{clearTimeout(r)})):clearTimeout(r)}))})(b,f,this.config.connectionTimeout),((e,t,n=0)=>{e.setTimeout(n,(()=>{e.destroy(),t(Object.assign(new Error(`Connection timed out after ${n} ms`),{name:"TimeoutError"}))}))})(b,f,this.config.requestTimeout),t){const e=()=>{b.destroy();const e=new Error("Request aborted");e.name="AbortError",f(e)};if("function"==typeof t.addEventListener){const n=t;n.addEventListener("abort",e,{once:!0}),b.once("close",(()=>n.removeEventListener("abort",e)))}else t.onabort=e}const C=_.agent;"object"==typeof C&&"keepAlive"in C&&((e,{keepAlive:t,keepAliveMsecs:n})=>{!0===t&&e.on("socket",(e=>{e.setKeepAlive(t,n||0)}))})(b,{keepAlive:C.keepAlive,keepAliveMsecs:C.keepAliveMsecs}),p=u(b,e,this.config.requestTimeout).catch((e=>(clearTimeout(n),d(e))))}))}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n=>({...n,[e]:t})))}httpHandlerConfigs(){return this.config??{}}}require("http2");Symbol.iterator;class Collector extends l.Writable{constructor(){super(...arguments),this.bufferedBytes=[]}_write(e,t,n){this.bufferedBytes.push(e),n()}}const d=e=>p(e)?async function(e){const t=[],n=e.getReader();let r=!1,i=0;for(;!r;){const{done:e,value:o}=await n.read();o&&(t.push(o),i+=o.length),r=e}const o=new Uint8Array(i);let s=0;for(const e of t)o.set(e,s),s+=e.length;return o}(e):new Promise(((t,n)=>{const r=new Collector;e.pipe(r),e.on("error",(e=>{r.end(),n(e)})),r.on("error",n),r.on("finish",(function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)}))})),p=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream},3434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAnyLogEntry=function(e){var t;try{const n=JSON.parse(e);return{id:n.id,timestamp:null===(t=n.t)||void 0===t?void 0:t.$date,severity:n.s,component:n.c,context:n.ctx,message:n.msg,attr:n.attr}}catch(t){return function(e){const t=/^(?<timestamp>\S*) *(?<severity>\S*) *(?<component>\S*) *\[(?<context>[^\]]+)\]\s*(?<message>.*)$/.exec(e.trim());if(!t)throw new Error(`Could not parse line ${JSON.stringify(e)}`);return t.groups}(e)}}},3468:e=>{"use strict";e.exports=TypeError},3522:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constructShellBson=function({bsonLibrary:e,printWarning:t,assignMetadata:n,constructHelp:o}){const s=["Binary","Code","DBRef","Decimal128","Double","Int32","Long","MaxKey","MinKey","ObjectId","Timestamp","BSONSymbol","BSONRegExp"],a={};for(const t of s){if(!(t in e))throw new r.MongoshInternalError(`${t} does not exist in provided BSON package.`);const i=o?.(t);a[t]=i,"prototype"in e[t]&&n?.(e[t].prototype,{help:i,..."BSONSymbol"===t?{deprecated:!0,maxVersion:"1.6.0"}:{}})}const c={DBRef:(0,i.assignAll)((function(t,n,r,o){return(0,i.assertArgsDefinedType)([t,n,r],["string",!0,[void 0,"string"],[void 0,"object"]],"DBRef"),new e.DBRef(t,n,r,o)}),(0,i.pickWithExactKeyMatch)(e.DBRef,["prototype"])),bsonsize:function(t){return(0,i.assertArgsDefinedType)([t],["object"],"bsonsize"),e.calculateObjectSize(t)},MaxKey:(0,i.assignAll)((function(){return new e.MaxKey}),(0,i.pickWithExactKeyMatch)(e.MaxKey,["prototype"]),{toBSON:()=>new e.MaxKey}),MinKey:(0,i.assignAll)((function(){return new e.MinKey}),(0,i.pickWithExactKeyMatch)(e.MinKey,["prototype"]),{toBSON:()=>new e.MinKey}),ObjectId:(0,i.assignAll)((function(t){return(0,i.assertArgsDefinedType)([t],[[void 0,"string","number","object"]],"ObjectId"),new e.ObjectId(t)}),(0,i.pickWithExactKeyMatch)(e.ObjectId,["prototype","cacheHexString","generate","createFromTime","createFromHexString","createFromBase64","isValid"])),Timestamp:(0,i.assignAll)((function(t,n){return(0,i.assertArgsDefinedType)([t,n],[["number","object",void 0],[void 0,"number"]],"Timestamp"),"object"==typeof t&&null!==t&&"t"in t&&"i"in t?new e.Timestamp(t):void 0!==n||"number"==typeof t?new e.Timestamp({t,i:n??0}):new e.Timestamp(t)}),(0,i.pickWithExactKeyMatch)(e.Timestamp,["prototype","fromInt","fromNumber","fromBits","fromString","MAX_VALUE"])),Code:(0,i.assignAll)((function(t="",n){return(0,i.assertArgsDefinedType)([t,n],[[void 0,"string","function"],[void 0,"object"]],"Code"),new e.Code(t,n)}),(0,i.pickWithExactKeyMatch)(e.Code,["prototype"])),NumberDecimal:(0,i.assignAll)((function(n="0"){return(0,i.assertArgsDefinedType)([n],[["string","number","bson:Long","bson:Int32","bson:Decimal128"]],"NumberDecimal"),"number"==typeof n&&t("NumberDecimal: specifying a number as argument is deprecated and may lead to loss of precision, pass a string instead"),e.Decimal128.fromString(`${n}`)}),{prototype:e.Decimal128.prototype}),NumberInt:(0,i.assignAll)((function(t="0"){return t??(t="0"),(0,i.assertArgsDefinedType)([t],[["string","number","bson:Long","bson:Int32"]],"NumberInt"),new e.Int32(parseInt(`${t}`,10))}),{prototype:e.Int32.prototype}),NumberLong:(0,i.assignAll)((function(n="0"){return n??(n="0"),(0,i.assertArgsDefinedType)([n],[["string","number","bson:Long","bson:Int32"]],"NumberLong"),"number"==typeof n?(t("NumberLong: specifying a number as argument is deprecated and may lead to loss of precision, pass a string instead"),e.Long.fromNumber(n)):e.Long.fromString(`${n}`)}),{prototype:e.Long.prototype}),ISODate:function(e){if(void 0===e)return new Date;if("string"!=typeof e)return new Date(e);const t=/^(?<Y>\d{4})-?(?<M>\d{2})-?(?<D>\d{2})([T ](?<h>\d{2})(:?(?<m>\d{2})(:?((?<s>\d{2})(\.(?<ms>\d+))?))?)?(?<tz>Z|([+-])(\d{2}):?(\d{2})?)?)?$/.exec(e);if(null!==t&&void 0!==t.groups){const{Y:e,M:n,D:r,h:i,m:o,s,ms:a,tz:c}=t.groups,l=new Date(`${e}-${n}-${r}T${i||"00"}:${o||"00"}:${s||"00"}.${a||"000"}${c||"Z"}`);if(l.getTime()>=-621672192e5&&l.getTime()<=0xe677d21fdbff)return l}throw new r.MongoshInvalidInputError(`${JSON.stringify(e)} is not a valid ISODate`,r.CommonErrors.InvalidArgument)},BinData:(0,i.assignAll)((function(t,n){(0,i.assertArgsDefinedType)([t,n],["number","string"],"BinData");const r=Buffer.from(n,"base64");return new e.Binary(r,t)}),{prototype:e.Binary.prototype}),HexData:(0,i.assignAll)((function(t,n){(0,i.assertArgsDefinedType)([t,n],["number","string"],"HexData");const r=Buffer.from(n,"hex");return new e.Binary(r,t)}),{prototype:e.Binary.prototype}),UUID:(0,i.assignAll)((function(t){void 0===t&&(t=(new e.UUID).toString()),(0,i.assertArgsDefinedType)([t],["string"],"UUID");const n=Buffer.from(t.replace(/-/g,""),"hex");return new e.Binary(n,e.Binary.SUBTYPE_UUID)}),{prototype:e.Binary.prototype}),MD5:(0,i.assignAll)((function(t){(0,i.assertArgsDefinedType)([t],["string"],"MD5");const n=Buffer.from(t,"hex");return new e.Binary(n,e.Binary.SUBTYPE_MD5)}),{prototype:e.Binary.prototype}),Decimal128:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Decimal128),(0,i.pickWithExactKeyMatch)(e.Decimal128,["prototype","fromString","fromStringWithRounding"])),BSONSymbol:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.BSONSymbol),(0,i.pickWithExactKeyMatch)(e.BSONSymbol,["prototype"])),Int32:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Int32),(0,i.pickWithExactKeyMatch)(e.Int32,["prototype","fromString"])),Long:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Long),(0,i.pickWithExactKeyMatch)(e.Long,["prototype","fromValue","isLong","fromBytesBE","fromBytesLE","fromBytes","fromString","fromStringStrict","fromBigInt","fromNumber","fromInt","fromBits","MIN_VALUE","MAX_VALUE","NEG_ONE","UONE","ONE","UZERO","ZERO","MAX_UNSIGNED_VALUE","TWO_PWR_24"])),Binary:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Binary),(0,i.pickWithExactKeyMatch)(e.Binary,["prototype","createFromBase64","createFromHexString","fromInt8Array","fromFloat32Array","fromPackedBits","fromBits","BUFFER_SIZE","SUBTYPE_DEFAULT","SUBTYPE_FUNCTION","SUBTYPE_BYTE_ARRAY","SUBTYPE_UUID_OLD","SUBTYPE_UUID","SUBTYPE_MD5","SUBTYPE_ENCRYPTED","SUBTYPE_COLUMN","SUBTYPE_SENSITIVE","SUBTYPE_VECTOR","SUBTYPE_USER_DEFINED","VECTOR_TYPE"])),Double:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Double),(0,i.pickWithExactKeyMatch)(e.Double,["prototype","fromString"])),BSONRegExp:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.BSONRegExp),(0,i.pickWithExactKeyMatch)(e.BSONRegExp,["prototype","parseOptions"])),EJSON:(0,i.pickWithExactKeyMatch)(e.EJSON,["parse","serialize","stringify","deserialize"])};for(const e of Object.keys(c)){const t=a[e]??o?.(e);t&&(c[e].help=()=>t,Object.setPrototypeOf(c[e].help,t))}return c};const r=n(89557),i=n(61668)},3582:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(50240);function i(e,t,n){return Object.freeze({minVersion:e,ast:()=>r.default.program.ast(t,{preserveComments:!0}),metadata:n})}const o=t.default={__proto__:null,OverloadYield:i("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:i("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:i("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]}}),arrayLikeToArray:i("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{}}),arrayWithHoles:i("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{}}),arrayWithoutHoles:i("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]}}),assertClassBrand:i("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{}}),assertThisInitialized:i("7.0.0-beta.0","function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}",{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{}}),asyncGeneratorDelegate:i("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]}}),asyncIterator:i("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{}}),asyncToGenerator:i("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{}}),awaitAsyncGenerator:i("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]}}),callSuper:i("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]}}),checkInRHS:i("7.20.5",'function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}',{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{}}),checkPrivateRedeclaration:i("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{}}),classCallCheck:i("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{}}),classNameTDZError:i("7.0.0-beta.0","function _classNameTDZError(e){throw new ReferenceError('Class \"'+e+'\" cannot be referenced in computed property keys.')}",{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{}}),classPrivateFieldGet2:i("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateFieldInitSpec:i("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateFieldLooseBase:i("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{}}),classPrivateFieldLooseKey:i("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{}}),classPrivateFieldSet2:i("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classPrivateGetter:i("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateMethodInitSpec:i("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateSetter:i("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classStaticPrivateMethodGet:i("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),construct:i("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]}}),createClass:i("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]}}),createForOfIteratorHelper:i("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:i("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:i("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:i("7.1.5",'function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError(\'An element descriptor\\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "\'+r+\'"\');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError(\'An element descriptor\\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "\'+i+\'"\');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError(\'A class descriptor\\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "\'+r+\'"\');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can\'t have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can\'t be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can\'t be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected \'"+r+"\' to be a function");return t}',{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]}}),defaults:i("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{}}),defineAccessor:i("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{}}),defineProperty:i("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]}}),extends:i("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{}}),get:i("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]}}),getPrototypeOf:i("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{}}),identity:i("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:i("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{}}),inherits:i("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]}}),inheritsLoose:i("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]}}),initializerDefineProperty:i("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{}}),initializerWarningHelper:i("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{}}),instanceof:i("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{}}),interopRequireDefault:i("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{}}),interopRequireWildcard:i("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),isNativeFunction:i("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{}}),isNativeReflectConstruct:i("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{}}),iterableToArray:i("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{}}),iterableToArrayLimit:i("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{}}),jsx:i("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{}}),maybeArrayLike:i("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]}}),newArrowCheck:i("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{}}),nonIterableRest:i("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{}}),nonIterableSpread:i("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{}}),nullishReceiverError:i("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{}}),objectDestructuringEmpty:i("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{}}),objectSpread2:i("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]}}),objectWithoutProperties:i("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:i("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:i("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:i("7.0.0-beta.0","function _readOnlyError(r){throw new TypeError('\"'+r+'\" is read-only')}",{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:i("7.18.0",'function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}',{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:i("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:i("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:i("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:i("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:i("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:i("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),superPropGet:i("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:i("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),taggedTemplateLiteral:i("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:i("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:i("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:i("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:i("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:i("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:i("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:i("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:i("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:i("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:i("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:i("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:i("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:i("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:i("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:i("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)(>|$)/g,(function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:i("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(o,{AwaitValue:i("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:i("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2203:i("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{}}),applyDecs2203R:i("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2301:i("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2305:i("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:i("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:i("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:i("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:i("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:i("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:i("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:i("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:i("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:i("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:i("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:i("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:i("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:i("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:i("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:i("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:i("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{}}),dispose:i("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:i("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]}}),using:i("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{}})})},3631:(e,t,n)=>{"use strict";n.d(t,{C1:()=>CredentialsProviderError,mZ:()=>ProviderError,Jh:()=>TokenProviderError,cy:()=>r,VR:()=>i,Bj:()=>o});class ProviderError extends Error{constructor(e,t=!0){let n,r=!0;"boolean"==typeof t?(n=void 0,r=t):null!=t&&"object"==typeof t&&(n=t.logger,r=t.tryNextLink??!0),super(e),this.name="ProviderError",this.tryNextLink=r,Object.setPrototypeOf(this,ProviderError.prototype),n?.debug?.(`@smithy/property-provider ${r?"->":"(!)"} ${e}`)}static from(e,t=!0){return Object.assign(new this(e.message,t),e)}}class CredentialsProviderError extends ProviderError{constructor(e,t=!0){super(e,t),this.name="CredentialsProviderError",Object.setPrototypeOf(this,CredentialsProviderError.prototype)}}class TokenProviderError extends ProviderError{constructor(e,t=!0){super(e,t),this.name="TokenProviderError",Object.setPrototypeOf(this,TokenProviderError.prototype)}}const r=(...e)=>async()=>{if(0===e.length)throw new ProviderError("No providers in chain");let t;for(const n of e)try{return await n()}catch(e){if(t=e,e?.tryNextLink)continue;throw e}throw t},i=e=>()=>Promise.resolve(e),o=(e,t,n)=>{let r,i,o,s=!1;const a=async()=>{i||(i=e());try{r=await i,o=!0,s=!1}finally{i=void 0}return r};return void 0===t?async e=>(o&&!e?.forceRefresh||(r=await a()),r):async e=>(o&&!e?.forceRefresh||(r=await a()),s?r:n&&!n(r)?(s=!0,r):t(r)?(await a(),r):r)}},3659:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListIndexesOperation=t.DropIndexOperation=t.CreateIndexesOperation=void 0;const r=n(55537),i=n(39502),o=n(11885),s=n(57718),a=n(81510),c=new Set(["background","unique","name","partialFilterExpression","sparse","hidden","expireAfterSeconds","storageEngine","collation","version","weights","default_language","language_override","textIndexVersion","2dsphereIndexVersion","bits","min","max","bucketSize","wildcardProjection"]);function l(e){const t=new Map,n=Array.isArray(e)&&(r=e,!Array.isArray(r)||2!==r.length||"number"!=typeof(i=r[1])&&"2d"!==i&&"2dsphere"!==i&&"text"!==i&&"geoHaystack"!==i)?e:[e];var r,i;for(const e of n)if("string"==typeof e)t.set(e,1);else if(Array.isArray(e))t.set(e[0],e[1]??1);else if(e instanceof Map)for(const[n,r]of e)t.set(n,r);else if((0,o.isObject)(e))for(const[n,r]of Object.entries(e))t.set(n,r);return t}class CreateIndexesOperation extends s.CommandOperation{constructor(e,t,n,i){super(e,i),this.SERVER_COMMAND_RESPONSE_TYPE=r.MongoDBResponse,this.options=i??{},this.options.collation=void 0,this.collectionName=t,this.indexes=n.map((e=>{const t=e.key instanceof Map?e.key:new Map(Object.entries(e.key)),n=e.name??Array.from(t).flat().join("_"),r=function(e){const t=Object.entries(e).filter((([e])=>c.has(e)));return Object.fromEntries(t.map((([e,t])=>"version"===e?["v",t]:[e,t])))}(e);return{...r,name:n,key:t}})),this.ns=e.s.namespace}static fromIndexDescriptionArray(e,t,n,r){return new CreateIndexesOperation(e,t,n,r)}static fromIndexSpecification(e,t,n,r={}){const i=l(n),o={...r,key:i};return new CreateIndexesOperation(e,t,[o],r)}get commandName(){return"createIndexes"}buildCommandDocument(e){const t=this.options,n=this.indexes,r=(0,o.maxWireVersion)(e),s={createIndexes:this.collectionName,indexes:n};if(null!=t.commitQuorum){if(r<9)throw new i.MongoCompatibilityError("Option `commitQuorum` for `createIndexes` not supported on servers < 4.4");s.commitQuorum=t.commitQuorum}return s}handleOk(e){return this.indexes.map((e=>e.name||""))}}t.CreateIndexesOperation=CreateIndexesOperation;class DropIndexOperation extends s.CommandOperation{constructor(e,t,n){super(e,n),this.SERVER_COMMAND_RESPONSE_TYPE=r.MongoDBResponse,this.options=n??{},this.collection=e,this.indexName=t,this.ns=e.fullNamespace}get commandName(){return"dropIndexes"}buildCommandDocument(e){return{dropIndexes:this.collection.collectionName,index:this.indexName}}}t.DropIndexOperation=DropIndexOperation;class ListIndexesOperation extends s.CommandOperation{constructor(e,t){super(e,t),this.SERVER_COMMAND_RESPONSE_TYPE=r.CursorResponse,this.options={...t},delete this.options.writeConcern,this.collectionNamespace=e.s.namespace}get commandName(){return"listIndexes"}buildCommandDocument(e){const t=(0,o.maxWireVersion)(e),n=this.options.batchSize?{batchSize:this.options.batchSize}:{},r={listIndexes:this.collectionNamespace.collection,cursor:n};return t>=9&&void 0!==this.options.comment&&(r.comment=this.options.comment),r}handleOk(e){return e}}t.ListIndexesOperation=ListIndexesOperation,(0,a.defineAspects)(ListIndexesOperation,[a.Aspect.READ_OPERATION,a.Aspect.RETRYABLE,a.Aspect.CURSOR_CREATING]),(0,a.defineAspects)(CreateIndexesOperation,[a.Aspect.WRITE_OPERATION]),(0,a.defineAspects)(DropIndexOperation,[a.Aspect.WRITE_OPERATION])},3680:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(20124):e.exports=n(85038)},3828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fromProcess:()=>c});var r=n(70619),i=n(3631),o=n(35317),s=n(39023);const a=async(e,t,n)=>{const r=t[e];if(!t[e])throw new i.C1(`Profile ${e} could not be found in shared credentials file.`,{logger:n});{const a=r.credential_process;if(void 0===a)throw new i.C1(`Profile ${e} did not contain credential_process.`,{logger:n});{const r=(0,s.promisify)(o.exec);try{const{stdout:n}=await r(a);let i;try{i=JSON.parse(n.trim())}catch{throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return((e,t,n)=>{if(1!==t.Version)throw Error(`Profile ${e} credential_process did not return Version 1.`);if(void 0===t.AccessKeyId||void 0===t.SecretAccessKey)throw Error(`Profile ${e} credential_process returned invalid credentials.`);if(t.Expiration){const n=new Date;if(new Date(t.Expiration)<n)throw Error(`Profile ${e} credential_process returned expired credentials.`)}let r=t.AccountId;return!r&&n?.[e]?.aws_account_id&&(r=n[e].aws_account_id),{accessKeyId:t.AccessKeyId,secretAccessKey:t.SecretAccessKey,...t.SessionToken&&{sessionToken:t.SessionToken},...t.Expiration&&{expiration:new Date(t.Expiration)},...t.CredentialScope&&{credentialScope:t.CredentialScope},...r&&{accountId:r}}})(e,i,t)}catch(e){throw new i.C1(e.message,{logger:n})}}}},c=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");const t=await(0,r.YU)(e);return a((0,r.Bz)(e),t,e.logger)}},3890:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(55770));t.default=new i.default},4022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WaitingForSuitableServerEvent=t.ServerSelectionSucceededEvent=t.ServerSelectionFailedEvent=t.ServerSelectionStartedEvent=t.ServerSelectionEvent=void 0;const r=n(11885),i=n(31721);class ServerSelectionEvent{constructor(e,t,n){this.selector=e,this.operation=n,this.topologyDescription=t}}t.ServerSelectionEvent=ServerSelectionEvent;t.ServerSelectionStartedEvent=class ServerSelectionStartedEvent extends ServerSelectionEvent{constructor(e,t,n){super(e,t,n),this.name=i.SERVER_SELECTION_STARTED,this.message="Server selection started"}};t.ServerSelectionFailedEvent=class ServerSelectionFailedEvent extends ServerSelectionEvent{constructor(e,t,n,r){super(e,t,r),this.name=i.SERVER_SELECTION_FAILED,this.message="Server selection failed",this.failure=n}};t.ServerSelectionSucceededEvent=class ServerSelectionSucceededEvent extends ServerSelectionEvent{constructor(e,t,n,o){super(e,t,o),this.name=i.SERVER_SELECTION_SUCCEEDED,this.message="Server selection succeeded";const{host:s,port:a}=r.HostAddress.fromString(n).toHostPort();this.serverHost=s,this.serverPort=a}};t.WaitingForSuitableServerEvent=class WaitingForSuitableServerEvent extends ServerSelectionEvent{constructor(e,t,n,r){super(e,t,r),this.name=i.WAITING_FOR_SUITABLE_SERVER,this.message="Waiting for suitable server to become available",this.remainingTimeMS=n}}},4131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:r,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:c}=n,l=function(e,t,n){const r=(t.plugins||[]).slice();!1!==n&&r.push("placeholders");t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:r});try{return(0,i.parse)(e,t)}catch(t){const n=t.loc;throw n&&(t.message+="\n"+(0,o.codeFrameColumns)(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,n.parser,c);A(l,{preserveComments:a}),e.validate(l);const u={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:r,placeholderPattern:s,syntacticPlaceholders:c};return m(l,y,u),Object.assign({ast:l},u.syntactic.placeholders.length?u.syntactic:u.legacy)};var r=n(58135),i=n(46773),o=n(56611);const{isCallExpression:s,isExpressionStatement:a,isFunction:c,isIdentifier:l,isJSXIdentifier:u,isNewExpression:d,isPlaceholder:p,isStatement:f,isStringLiteral:h,removePropertiesDeep:A,traverse:m}=r,g=/^[_$A-Z0-9]+$/;function y(e,t,n){var r;let i,o=n.syntactic.placeholders.length>0;if(p(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,o=!0}else{if(o||n.syntacticPlaceholders)return;if(l(e)||u(e))i=e.name;else{if(!h(e))return;i=e.value}}if(o&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(o||!1!==n.placeholderPattern&&(n.placeholderPattern||g).test(i)||null!=(r=n.placeholderWhitelist)&&r.has(i)))return;t=t.slice();const{node:A,key:m}=t[t.length-1];let y;h(e)||p(e,{expectedNode:"StringLiteral"})?y="string":d(A)&&"arguments"===m||s(A)&&"arguments"===m||c(A)&&"params"===m?y="param":a(A)&&!p(e)?(y="statement",t=t.slice(0,-1)):y=f(e)&&p(e)?"statement":"other";const{placeholders:_,placeholderNames:b}=o?n.syntactic:n.legacy;_.push({name:i,type:y,resolve:e=>function(e,t){let n=e;for(let e=0;e<t.length-1;e++){const{key:r,index:i}=t[e];n=void 0===i?n[r]:n[r][i]}const{key:r,index:i}=t[t.length-1];return{parent:n,key:r,index:i}}(e,t),isDuplicate:b.has(i)}),b.add(i)}},4135:(e,t,n)=>{"use strict";const r=n(87111).fromPromise,{makeDir:i,makeDirSync:o}=n(98367),s=r(i);e.exports={mkdirs:s,mkdirsSync:o,mkdirp:s,mkdirpSync:o,ensureDir:s,ensureDirSync:o}},4213:(e,t,n)=>{"use strict";n.d(t,{i:()=>STSClient});var r=n(31758),i=n(46170),o=n(96692),s=n(33202),a=n(20512),c=n(97882),l=n(51320),u=n(34546),d=n(2103),p=n(1802),f=n(71383),h=n(42952);const A=async(e,t,n)=>({operation:(0,h.u)(t).operation,region:await(0,h.t)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const m=e=>{const t=[];switch(e.operation){case"AssumeRoleWithSAML":case"AssumeRoleWithWebIdentity":t.push({schemeId:"smithy.api#noAuth"});break;default:t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e))}return t},g=e=>{const t=(n=e,{...n,stsClientCtor:STSClient});var n;return{...(0,f.h)(t)}};var y=n(39170);const _="3.621.0";var b=n(68227),C=n(59065),v=n(34054),E=n(62438),I=n(25708),w=n(75854),S=n(3337),B=n(88226),x=n(94134),T=n(42640),k=n(50563),D=n(67670),Q=n(6775),R=n(96954);const N="required",P="type",O="fn",F="argv",M="ref",L=!1,j=!0,U="booleanEquals",H="stringEquals",G="sigv4",K="us-east-1",J="endpoint",W="https://sts.{Region}.{PartitionResult#dnsSuffix}",q="tree",V="error",z="getAttr",Y={[N]:!1,[P]:"String"},$={[N]:!0,default:!1,[P]:"Boolean"},X={[M]:"Endpoint"},Z={[O]:"isSet",[F]:[{[M]:"Region"}]},ee={[M]:"Region"},te={[O]:"aws.partition",[F]:[ee],assign:"PartitionResult"},ne={[M]:"UseFIPS"},re={[M]:"UseDualStack"},ie={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:G,signingName:"sts",signingRegion:K}]},headers:{}},oe={},se={conditions:[{[O]:H,[F]:[ee,"aws-global"]}],[J]:ie,[P]:J},ae={[O]:U,[F]:[ne,!0]},ce={[O]:U,[F]:[re,!0]},le={[O]:z,[F]:[{[M]:"PartitionResult"},"supportsFIPS"]},ue={[M]:"PartitionResult"},de={[O]:U,[F]:[!0,{[O]:z,[F]:[ue,"supportsDualStack"]}]},pe=[{[O]:"isSet",[F]:[X]}],fe=[ae],he=[ce],Ae={version:"1.0",parameters:{Region:Y,UseDualStack:$,UseFIPS:$,Endpoint:Y,UseGlobalEndpoint:$},rules:[{conditions:[{[O]:U,[F]:[{[M]:"UseGlobalEndpoint"},j]},{[O]:"not",[F]:pe},Z,te,{[O]:U,[F]:[ne,L]},{[O]:U,[F]:[re,L]}],rules:[{conditions:[{[O]:H,[F]:[ee,"ap-northeast-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"ap-south-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"ap-southeast-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"ap-southeast-2"]}],endpoint:ie,[P]:J},se,{conditions:[{[O]:H,[F]:[ee,"ca-central-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-central-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-north-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-west-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-west-2"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-west-3"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"sa-east-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,K]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"us-east-2"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"us-west-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"us-west-2"]}],endpoint:ie,[P]:J},{endpoint:{url:W,properties:{authSchemes:[{name:G,signingName:"sts",signingRegion:"{Region}"}]},headers:oe},[P]:J}],[P]:q},{conditions:pe,rules:[{conditions:fe,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[P]:V},{conditions:he,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[P]:V},{endpoint:{url:X,properties:oe,headers:oe},[P]:J}],[P]:q},{conditions:[Z],rules:[{conditions:[te],rules:[{conditions:[ae,ce],rules:[{conditions:[{[O]:U,[F]:[j,le]},de],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:oe,headers:oe},[P]:J}],[P]:q},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[P]:V}],[P]:q},{conditions:fe,rules:[{conditions:[{[O]:U,[F]:[le,j]}],rules:[{conditions:[{[O]:H,[F]:[{[O]:z,[F]:[ue,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:oe,headers:oe},[P]:J},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:oe,headers:oe},[P]:J}],[P]:q},{error:"FIPS is enabled but this partition does not support FIPS",[P]:V}],[P]:q},{conditions:he,rules:[{conditions:[de],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:oe,headers:oe},[P]:J}],[P]:q},{error:"DualStack is enabled but this partition does not support DualStack",[P]:V}],[P]:q},se,{endpoint:{url:W,properties:oe,headers:oe},[P]:J}],[P]:q}],[P]:q},{error:"Invalid Configuration: Missing Region",[P]:V}]},me=(e,t={})=>(0,R.sO)(Ae,{endpointParams:e,logger:t.logger});R.mw.aws=Q.UF;var ge=n(12165);const ye=e=>{(0,p.I9)(process.version);const t=(0,ge.I)(e),n=()=>t().then(p.lT),r=(e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??k.E,base64Encoder:e?.base64Encoder??k.n,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??me,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??m,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new C.f},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new c.mR}],logger:e?.logger??new p.N4,serviceId:e?.serviceId??"STS",urlParser:e?.urlParser??T.D,utf8Decoder:e?.utf8Decoder??D.ar,utf8Encoder:e?.utf8Encoder??D.Pq}))(e);return(0,b.I)(process.version),{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??B.n,credentialDefaultProvider:e?.credentialDefaultProvider??v.v6,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,E.mJ)({serviceId:r.serviceId,clientVersion:_}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4")||(async e=>await(0,v.v6)(e?.__config||{})()),signer:new C.f},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new c.mR}],maxAttempts:e?.maxAttempts??(0,w.Z)(d.qs),region:e?.region??(0,w.Z)(a.GG,a.zH),requestHandler:S.$c.create(e?.requestHandler??n),retryMode:e?.retryMode??(0,w.Z)({...d.kN,default:async()=>(await n()).retryMode||x.L0}),sha256:e?.sha256??I.V.bind(null,"sha256"),streamCollector:e?.streamCollector??S.kv,useDualstackEndpoint:e?.useDualstackEndpoint??(0,w.Z)(a.e$),useFipsEndpoint:e?.useFipsEndpoint??(0,w.Z)(a.Ko)}};var be=n(3119),Ce=n(47624);const ve=e=>{const t=e.httpAuthSchemes;let n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){const n=t.findIndex((t=>t.schemeId===e.schemeId));-1===n?t.push(e):t.splice(n,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider:()=>n,setCredentials(e){r=e},credentials:()=>r}};class STSClient extends p.Kj{constructor(...[e]){const t=ye(e||{}),n=(0,y.v)(t),f=(0,a.TD)(n),h=(0,u.Co)(f),A=(0,r.OV)(h),m=(0,s.Dc)(A),_=(0,d.$z)(m),b=((e,t)=>{const n={...(0,be.Rq)(e),...(0,p.xA)(e),...(0,Ce.eS)(e),...ve(e)};return t.forEach((e=>e.configure(n))),{...e,...(0,be.$3)(n),...(0,p.uv)(n),...(0,Ce.jt)(n),...(r=n,{httpAuthSchemes:r.httpAuthSchemes(),httpAuthSchemeProvider:r.httpAuthSchemeProvider(),credentials:r.credentials()})};var r})(g(_),e?.extensions||[]);super(b),this.config=b,this.middlewareStack.use((0,r.TC)(this.config)),this.middlewareStack.use((0,i.Y7)(this.config)),this.middlewareStack.use((0,o.n4)(this.config)),this.middlewareStack.use((0,s.sM)(this.config)),this.middlewareStack.use((0,d.ey)(this.config)),this.middlewareStack.use((0,l.vK)(this.config)),this.middlewareStack.use((0,c.wB)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()})),this.middlewareStack.use((0,c.lW)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return A}getIdentityProviderConfigProvider(){return async e=>new c.h$({"aws.auth#sigv4":e.credentials})}}},4249:(e,t,n)=>{"use strict";const r=n(51012),i=n(16928),{copy:o}=n(31254),{remove:s}=n(60003),{mkdirp:a}=n(4135),{pathExists:c}=n(2151),l=n(85853);e.exports=async function(e,t,n={}){const u=n.overwrite||n.clobber||!1,{srcStat:d,isChangingCase:p=!1}=await l.checkPaths(e,t,"move",n);await l.checkParentPaths(e,d,t,"move");const f=i.dirname(t);return i.parse(f).root!==f&&await a(f),async function(e,t,n,i){if(!i)if(n)await s(t);else if(await c(t))throw new Error("dest already exists.");try{await r.rename(e,t)}catch(r){if("EXDEV"!==r.code)throw r;await async function(e,t,n){const r={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return await o(e,t,r),s(e)}(e,t,n)}}(e,t,u,p)}},4396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=String(e).match(/\./g);let n=0;return t&&(n=t.length),n}},4558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allowAbort=t.ALLOW_ABORT_INTERVAL_COUNT=void 0,t.ALLOW_ABORT_INTERVAL_COUNT=1e3,t.allowAbort=async function(e){return new Promise(((t,n)=>setTimeout((()=>{if(null==e?void 0:e.aborted)return n((null==e?void 0:e.reason)||new Error("Operation aborted"));t()}))))}},4573:e=>{"use strict";e.exports=require("node:buffer")},4704:(e,t)=>{!function e(t){"use strict";var n,r,i,o,s,a;function c(e){var t,n,r={};for(t in e)e.hasOwnProperty(t)&&(n=e[t],r[t]="object"==typeof n&&null!==n?c(n):n);return r}function l(e,t){this.parent=e,this.key=t}function u(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function d(){}function p(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function f(e,t){return(e===n.ObjectExpression||e===n.ObjectPattern)&&"properties"===t}function h(e,t){for(var n=e.length-1;n>=0;--n)if(e[n].node===t)return!0;return!1}function A(e,t){return(new d).traverse(e,t)}function m(e,t){var n;return n=function(e,t){var n,r,i,o;for(r=e.length,i=0;r;)t(e[o=i+(n=r>>>1)])?r=n:(i=o+1,r-=n+1);return i}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},r={Break:o={},Skip:s={},Remove:a={}},l.prototype.replace=function(e){this.parent[this.key]=e},l.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},d.prototype.path=function(){var e,t,n,r,i;function o(e,t){if(Array.isArray(t))for(n=0,r=t.length;n<r;++n)e.push(t[n]);else e.push(t)}if(!this.__current.path)return null;for(i=[],e=2,t=this.__leavelist.length;e<t;++e)o(i,this.__leavelist[e].path);return o(i,this.__current.path),i},d.prototype.type=function(){return this.current().type||this.__current.wrap},d.prototype.parents=function(){var e,t,n;for(n=[],e=1,t=this.__leavelist.length;e<t;++e)n.push(this.__leavelist[e].node);return n},d.prototype.current=function(){return this.__current.node},d.prototype.__execute=function(e,t){var n,r;return r=void 0,n=this.__current,this.__current=t,this.__state=null,e&&(r=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=n,r},d.prototype.notify=function(e){this.__state=e},d.prototype.skip=function(){this.notify(s)},d.prototype.break=function(){this.notify(o)},d.prototype.remove=function(){this.notify(a)},d.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===t.fallback?this.__fallback=Object.keys:"function"==typeof t.fallback&&(this.__fallback=t.fallback),this.__keys=i,t.keys&&(this.__keys=Object.assign(Object.create(this.__keys),t.keys))},d.prototype.traverse=function(e,t){var n,r,i,a,c,l,d,A,m,g,y,_;for(this.__initialize(e,t),_={},n=this.__worklist,r=this.__leavelist,n.push(new u(e,null,null,null)),r.push(new u(null,null,null,null));n.length;)if((i=n.pop())!==_){if(i.node){if(l=this.__execute(t.enter,i),this.__state===o||l===o)return;if(n.push(_),r.push(i),this.__state===s||l===s)continue;if(c=(a=i.node).type||i.wrap,!(g=this.__keys[c])){if(!this.__fallback)throw new Error("Unknown node type "+c+".");g=this.__fallback(a)}for(A=g.length;(A-=1)>=0;)if(y=a[d=g[A]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]&&!h(r,y[m])){if(f(c,g[A]))i=new u(y[m],[d,m],"Property",null);else{if(!p(y[m]))continue;i=new u(y[m],[d,m],null,null)}n.push(i)}}else if(p(y)){if(h(r,y))continue;n.push(new u(y,d,null,null))}}}else if(i=r.pop(),l=this.__execute(t.leave,i),this.__state===o||l===o)return},d.prototype.replace=function(e,t){var n,r,i,c,d,h,A,m,g,y,_,b,C;function v(e){var t,r,i,o;if(e.ref.remove())for(r=e.ref.key,o=e.ref.parent,t=n.length;t--;)if((i=n[t]).ref&&i.ref.parent===o){if(i.ref.key<r)break;--i.ref.key}}for(this.__initialize(e,t),_={},n=this.__worklist,r=this.__leavelist,h=new u(e,null,null,new l(b={root:e},"root")),n.push(h),r.push(h);n.length;)if((h=n.pop())!==_){if(void 0!==(d=this.__execute(t.enter,h))&&d!==o&&d!==s&&d!==a&&(h.ref.replace(d),h.node=d),this.__state!==a&&d!==a||(v(h),h.node=null),this.__state===o||d===o)return b.root;if((i=h.node)&&(n.push(_),r.push(h),this.__state!==s&&d!==s)){if(c=i.type||h.wrap,!(g=this.__keys[c])){if(!this.__fallback)throw new Error("Unknown node type "+c+".");g=this.__fallback(i)}for(A=g.length;(A-=1)>=0;)if(y=i[C=g[A]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]){if(f(c,g[A]))h=new u(y[m],[C,m],"Property",new l(y,m));else{if(!p(y[m]))continue;h=new u(y[m],[C,m],null,new l(y,m))}n.push(h)}}else p(y)&&n.push(new u(y,C,null,new l(i,C)))}}else if(h=r.pop(),void 0!==(d=this.__execute(t.leave,h))&&d!==o&&d!==s&&d!==a&&h.ref.replace(d),this.__state!==a&&d!==a||v(h),this.__state===o||d===o)return b.root;return b.root},t.Syntax=n,t.traverse=A,t.replace=function(e,t){return(new d).replace(e,t)},t.attachComments=function(e,t,n){var i,o,s,a,l=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(s=0,o=t.length;s<o;s+=1)(i=c(t[s])).extendedRange=[0,e.range[0]],l.push(i);e.leadingComments=l}return e}for(s=0,o=t.length;s<o;s+=1)l.push(m(c(t[s]),n));return a=0,A(e,{enter:function(e){for(var t;a<l.length&&!((t=l[a]).extendedRange[1]>e.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),l.splice(a,1)):a+=1;return a===l.length?r.Break:l[a].extendedRange[0]>e.range[1]?r.Skip:void 0}}),a=0,A(e,{leave:function(e){for(var t;a<l.length&&(t=l[a],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||(e.trailingComments=[]),e.trailingComments.push(t),l.splice(a,1)):a+=1;return a===l.length?r.Break:l[a].extendedRange[0]>e.range[1]?r.Skip:void 0}}),e},t.VisitorKeys=i,t.VisitorOption=r,t.Controller=d,t.cloneEnvironment=function(){return e({})},t}(t)},4887:(e,t)=>{"use strict";const n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const r=Symbol("wrapper"),i=Symbol("impl"),o=Symbol("SameObject caches"),s=Symbol.for("[webidl2js] constructor registry"),a=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function c(e){if(n(e,s))return e[s];const t=Object.create(null);t["%Object.prototype%"]=e.Object.prototype,t["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new e.Array)[Symbol.iterator]()));try{t["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(e.eval("(async function* () {})").prototype))}catch{t["%AsyncIteratorPrototype%"]=a}return e[s]=t,t}function l(e){return e?e[r]:null}function u(e){return e?e[i]:null}const d=Symbol("internal");const p=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const f=Symbol("supports property index"),h=Symbol("supported property indices"),A=Symbol("supports property name"),m=Symbol("supported property names"),g=Symbol("indexed property get"),y=Symbol("indexed property set new"),_=Symbol("indexed property set existing"),b=Symbol("named property get"),C=Symbol("named property set new"),v=Symbol("named property set existing"),E=Symbol("named property delete"),I=Symbol("async iterator get the next iteration result"),w=Symbol("async iterator return steps"),S=Symbol("async iterator initialization steps"),B=Symbol("async iterator end of iteration");e.exports={isObject:function(e){return"object"==typeof e&&null!==e||"function"==typeof e},hasOwn:n,define:function(e,t){for(const n of Reflect.ownKeys(t)){const r=Reflect.getOwnPropertyDescriptor(t,n);if(r&&!Reflect.defineProperty(e,n,r))throw new TypeError(`Cannot redefine property: ${String(n)}`)}},newObjectInRealm:function(e,t){const n=c(e);return Object.defineProperties(Object.create(n["%Object.prototype%"]),Object.getOwnPropertyDescriptors(t))},wrapperSymbol:r,implSymbol:i,getSameObject:function(e,t,n){return e[o]||(e[o]=Object.create(null)),t in e[o]||(e[o][t]=n()),e[o][t]},ctorRegistrySymbol:s,initCtorRegistry:c,wrapperForImpl:l,implForWrapper:u,tryWrapperForImpl:function(e){const t=l(e);return t||e},tryImplForWrapper:function(e){const t=u(e);return t||e},iterInternalSymbol:d,isArrayBuffer:function(e){try{return p.call(e),!0}catch(e){return!1}},isArrayIndexPropName:function(e){if("string"!=typeof e)return!1;const t=e>>>0;return t!==2**32-1&&e===`${t}`},supportsPropertyIndex:f,supportedPropertyIndices:h,supportsPropertyName:A,supportedPropertyNames:m,indexedGet:g,indexedSetNew:y,indexedSetExisting:_,namedGet:b,namedSetNew:C,namedSetExisting:v,namedDelete:E,asyncIteratorNext:I,asyncIteratorReturn:w,asyncIteratorInit:S,asyncIteratorEOI:B,iteratorResult:function([e,t],n){let r;switch(n){case"key":r=e;break;case"value":r=t;break;case"key+value":r=[e,t]}return{value:r,done:!1}}}},4998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},5092:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(46742);class SmartBuffer{constructor(e){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,SmartBuffer.isSmartBufferOptions(e))if(e.encoding&&(r.checkEncoding(e.encoding),this._encoding=e.encoding),e.size){if(!(r.isFiniteInteger(e.size)&&e.size>0))throw new Error(r.ERRORS.INVALID_SMARTBUFFER_SIZE);this._buff=Buffer.allocUnsafe(e.size)}else if(e.buff){if(!Buffer.isBuffer(e.buff))throw new Error(r.ERRORS.INVALID_SMARTBUFFER_BUFFER);this._buff=e.buff,this.length=e.buff.length}else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==e)throw new Error(r.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(e,t){return new this({size:e,encoding:t})}static fromBuffer(e,t){return new this({buff:e,encoding:t})}static fromOptions(e){return new this(e)}static isSmartBufferOptions(e){const t=e;return t&&(void 0!==t.encoding||void 0!==t.size||void 0!==t.buff)}readInt8(e){return this._readNumberValue(Buffer.prototype.readInt8,1,e)}readInt16BE(e){return this._readNumberValue(Buffer.prototype.readInt16BE,2,e)}readInt16LE(e){return this._readNumberValue(Buffer.prototype.readInt16LE,2,e)}readInt32BE(e){return this._readNumberValue(Buffer.prototype.readInt32BE,4,e)}readInt32LE(e){return this._readNumberValue(Buffer.prototype.readInt32LE,4,e)}readBigInt64BE(e){return r.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,e)}readBigInt64LE(e){return r.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,e)}writeInt8(e,t){return this._writeNumberValue(Buffer.prototype.writeInt8,1,e,t),this}insertInt8(e,t){return this._insertNumberValue(Buffer.prototype.writeInt8,1,e,t)}writeInt16BE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,e,t)}insertInt16BE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,e,t)}writeInt16LE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,e,t)}insertInt16LE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,e,t)}writeInt32BE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,e,t)}insertInt32BE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,e,t)}writeInt32LE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,e,t)}insertInt32LE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,e,t)}writeBigInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,e,t)}insertBigInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,e,t)}writeBigInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,e,t)}insertBigInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,e,t)}readUInt8(e){return this._readNumberValue(Buffer.prototype.readUInt8,1,e)}readUInt16BE(e){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,e)}readUInt16LE(e){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,e)}readUInt32BE(e){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,e)}readUInt32LE(e){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,e)}readBigUInt64BE(e){return r.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,e)}readBigUInt64LE(e){return r.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,e)}writeUInt8(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,e,t)}insertUInt8(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,e,t)}writeUInt16BE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,e,t)}insertUInt16BE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,e,t)}writeUInt16LE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,e,t)}insertUInt16LE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,e,t)}writeUInt32BE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,e,t)}insertUInt32BE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,e,t)}writeUInt32LE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,e,t)}insertUInt32LE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,e,t)}writeBigUInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,e,t)}insertBigUInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,e,t)}writeBigUInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,e,t)}insertBigUInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,e,t)}readFloatBE(e){return this._readNumberValue(Buffer.prototype.readFloatBE,4,e)}readFloatLE(e){return this._readNumberValue(Buffer.prototype.readFloatLE,4,e)}writeFloatBE(e,t){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,e,t)}insertFloatBE(e,t){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,e,t)}writeFloatLE(e,t){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,e,t)}insertFloatLE(e,t){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,e,t)}readDoubleBE(e){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,e)}readDoubleLE(e){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,e)}writeDoubleBE(e,t){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,e,t)}insertDoubleBE(e,t){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,e,t)}writeDoubleLE(e,t){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,e,t)}insertDoubleLE(e,t){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,e,t)}readString(e,t){let n;"number"==typeof e?(r.checkLengthValue(e),n=Math.min(e,this.length-this._readOffset)):(t=e,n=this.length-this._readOffset),void 0!==t&&r.checkEncoding(t);const i=this._buff.slice(this._readOffset,this._readOffset+n).toString(t||this._encoding);return this._readOffset+=n,i}insertString(e,t,n){return r.checkOffsetValue(t),this._handleString(e,!0,t,n)}writeString(e,t,n){return this._handleString(e,!1,t,n)}readStringNT(e){void 0!==e&&r.checkEncoding(e);let t=this.length;for(let e=this._readOffset;e<this.length;e++)if(0===this._buff[e]){t=e;break}const n=this._buff.slice(this._readOffset,t);return this._readOffset=t+1,n.toString(e||this._encoding)}insertStringNT(e,t,n){return r.checkOffsetValue(t),this.insertString(e,t,n),this.insertUInt8(0,t+e.length),this}writeStringNT(e,t,n){return this.writeString(e,t,n),this.writeUInt8(0,"number"==typeof t?t+e.length:this.writeOffset),this}readBuffer(e){void 0!==e&&r.checkLengthValue(e);const t="number"==typeof e?e:this.length,n=Math.min(this.length,this._readOffset+t),i=this._buff.slice(this._readOffset,n);return this._readOffset=n,i}insertBuffer(e,t){return r.checkOffsetValue(t),this._handleBuffer(e,!0,t)}writeBuffer(e,t){return this._handleBuffer(e,!1,t)}readBufferNT(){let e=this.length;for(let t=this._readOffset;t<this.length;t++)if(0===this._buff[t]){e=t;break}const t=this._buff.slice(this._readOffset,e);return this._readOffset=e+1,t}insertBufferNT(e,t){return r.checkOffsetValue(t),this.insertBuffer(e,t),this.insertUInt8(0,t+e.length),this}writeBufferNT(e,t){return void 0!==t&&r.checkOffsetValue(t),this.writeBuffer(e,t),this.writeUInt8(0,"number"==typeof t?t+e.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(e){r.checkOffsetValue(e),r.checkTargetOffset(e,this),this._readOffset=e}get writeOffset(){return this._writeOffset}set writeOffset(e){r.checkOffsetValue(e),r.checkTargetOffset(e,this),this._writeOffset=e}get encoding(){return this._encoding}set encoding(e){r.checkEncoding(e),this._encoding=e}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(e){const t="string"==typeof e?e:this._encoding;return r.checkEncoding(t),this._buff.toString(t,0,this.length)}destroy(){return this.clear(),this}_handleString(e,t,n,i){let o=this._writeOffset,s=this._encoding;"number"==typeof n?o=n:"string"==typeof n&&(r.checkEncoding(n),s=n),"string"==typeof i&&(r.checkEncoding(i),s=i);const a=Buffer.byteLength(e,s);return t?this.ensureInsertable(a,o):this._ensureWriteable(a,o),this._buff.write(e,o,a,s),t?this._writeOffset+=a:"number"==typeof n?this._writeOffset=Math.max(this._writeOffset,o+a):this._writeOffset+=a,this}_handleBuffer(e,t,n){const r="number"==typeof n?n:this._writeOffset;return t?this.ensureInsertable(e.length,r):this._ensureWriteable(e.length,r),e.copy(this._buff,r),t?this._writeOffset+=e.length:"number"==typeof n?this._writeOffset=Math.max(this._writeOffset,r+e.length):this._writeOffset+=e.length,this}ensureReadable(e,t){let n=this._readOffset;if(void 0!==t&&(r.checkOffsetValue(t),n=t),n<0||n+e>this.length)throw new Error(r.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(e,t){r.checkOffsetValue(t),this._ensureCapacity(this.length+e),t<this.length&&this._buff.copy(this._buff,t+e,t,this._buff.length),t+e>this.length?this.length=t+e:this.length+=e}_ensureWriteable(e,t){const n="number"==typeof t?t:this._writeOffset;this._ensureCapacity(n+e),n+e>this.length&&(this.length=n+e)}_ensureCapacity(e){const t=this._buff.length;if(e>t){let n=this._buff,r=3*t/2+1;r<e&&(r=e),this._buff=Buffer.allocUnsafe(r),n.copy(this._buff,0,0,t)}}_readNumberValue(e,t,n){this.ensureReadable(t,n);const r=e.call(this._buff,"number"==typeof n?n:this._readOffset);return void 0===n&&(this._readOffset+=t),r}_insertNumberValue(e,t,n,i){return r.checkOffsetValue(i),this.ensureInsertable(t,i),e.call(this._buff,n,i),this._writeOffset+=t,this}_writeNumberValue(e,t,n,i){if("number"==typeof i){if(i<0)throw new Error(r.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);r.checkOffsetValue(i)}const o="number"==typeof i?i:this._writeOffset;return this._ensureWriteable(t,o),e.call(this._buff,n,o),"number"==typeof i?this._writeOffset=Math.max(this._writeOffset,o+t):this._writeOffset+=t,this}}t.SmartBuffer=SmartBuffer},5139:(e,t,n)=>{"use strict";const r=n(41209),i=n(85381),o=n(23233),s=n(78262);function a(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const r=t[n];this.lastEntities[r]={regex:new RegExp("&"+r+";","g"),val:e[r]}}}function c(e,t,n,r,i,o,s){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){s||(e=this.replaceEntitiesValue(e));const r=this.options.tagValueProcessor(t,e,n,i,o);if(null==r)return e;if(typeof r!=typeof e||r!==e)return r;if(this.options.trimValues)return b(e,this.options.parseTagValue,this.options.numberParseOptions);return e.trim()===e?b(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function l(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const u=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(e,t,n){if(!this.options.ignoreAttributes&&"string"==typeof e){const n=r.getAllMatches(e,u),i=n.length,o={};for(let e=0;e<i;e++){const r=this.resolveNameSpace(n[e][1]);let i=n[e][4],s=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(s=this.options.transformAttributeName(s)),"__proto__"===s&&(s="#__proto__"),void 0!==i){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);const e=this.options.attributeValueProcessor(r,i,t);o[s]=null==e?i:typeof e!=typeof i||e!==i?e:b(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[s]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=o,e}return o}}const p=function(e){e=e.replace(/\r\n?/g,"\n");const t=new i("!xml");let n=t,r="",s="";for(let a=0;a<e.length;a++){if("<"===e[a])if("/"===e[a+1]){const t=g(e,">",a,"Closing Tag is not closed.");let i=e.substring(a+2,t).trim();if(this.options.removeNSPrefix){const e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),n&&(r=this.saveTextToParentTag(r,n,s));const o=s.substring(s.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw new Error(`Unpaired tag can not be used as closing tag: </${i}>`);let c=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(c=s.lastIndexOf(".",s.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=s.lastIndexOf("."),s=s.substring(0,c),n=this.tagsNodeStack.pop(),r="",a=t}else if("?"===e[a+1]){let t=y(e,a,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,s),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,s,t.tagName)),this.addChild(n,e,s)}a=t.closeIndex+1}else if("!--"===e.substr(a+1,3)){const t=g(e,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const i=e.substring(a+4,t-2);r=this.saveTextToParentTag(r,n,s),n.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}a=t}else if("!D"===e.substr(a+1,2)){const t=o(e,a);this.docTypeEntities=t.entities,a=t.i}else if("!["===e.substr(a+1,2)){const t=g(e,"]]>",a,"CDATA is not closed.")-2,i=e.substring(a+9,t);r=this.saveTextToParentTag(r,n,s);let o=this.parseTextData(i,n.tagname,s,!0,!1,!0,!0);null==o&&(o=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]):n.add(this.options.textNodeName,o),a=t+2}else{let o=y(e,a,this.options.removeNSPrefix),c=o.tagName;const l=o.rawTagName;let u=o.tagExp,d=o.attrExpPresent,p=o.closeIndex;this.options.transformTagName&&(c=this.options.transformTagName(c)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,s,!1));const f=n;if(f&&-1!==this.options.unpairedTags.indexOf(f.tagname)&&(n=this.tagsNodeStack.pop(),s=s.substring(0,s.lastIndexOf("."))),c!==t.tagname&&(s+=s?"."+c:c),this.isItStopNode(this.options.stopNodes,s,c)){let t="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)"/"===c[c.length-1]?(c=c.substr(0,c.length-1),s=s.substr(0,s.length-1),u=c):u=u.substr(0,u.length-1),a=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(c))a=o.closeIndex;else{const n=this.readStopNodeData(e,l,p+1);if(!n)throw new Error(`Unexpected end of ${l}`);a=n.i,t=n.tagContent}const r=new i(c);c!==u&&d&&(r[":@"]=this.buildAttributesMap(u,s,c)),t&&(t=this.parseTextData(t,c,s,!0,d,!0,!0)),s=s.substr(0,s.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,s)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===c[c.length-1]?(c=c.substr(0,c.length-1),s=s.substr(0,s.length-1),u=c):u=u.substr(0,u.length-1),this.options.transformTagName&&(c=this.options.transformTagName(c));const e=new i(c);c!==u&&d&&(e[":@"]=this.buildAttributesMap(u,s,c)),this.addChild(n,e,s),s=s.substr(0,s.lastIndexOf("."))}else{const e=new i(c);this.tagsNodeStack.push(n),c!==u&&d&&(e[":@"]=this.buildAttributesMap(u,s,c)),this.addChild(n,e,s),n=e}r="",a=p}}else r+=e[a]}return t.child};function f(e,t,n){const r=this.options.updateTag(t.tagname,n,t[":@"]);!1===r||("string"==typeof r?(t.tagname=r,e.addChild(t)):e.addChild(t))}const h=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function A(e,t,n,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function m(e,t,n){const r="*."+n;for(const n in e){const i=e[n];if(r===i||t===i)return!0}return!1}function g(e,t,n,r){const i=e.indexOf(t,n);if(-1===i)throw new Error(r);return i+t.length-1}function y(e,t,n,r=">"){const i=function(e,t,n=">"){let r,i="";for(let o=t;o<e.length;o++){let t=e[o];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===n[0]){if(!n[1])return{data:i,index:o};if(e[o+1]===n[1])return{data:i,index:o}}else"\t"===t&&(t=" ");i+=t}}(e,t+1,r);if(!i)return;let o=i.data;const s=i.index,a=o.search(/\s/);let c=o,l=!0;-1!==a&&(c=o.substring(0,a),o=o.substring(a+1).trimStart());const u=c;if(n){const e=c.indexOf(":");-1!==e&&(c=c.substr(e+1),l=c!==i.data.substr(e+1))}return{tagName:c,tagExp:o,closeIndex:s,attrExpPresent:l,rawTagName:u}}function _(e,t,n){const r=n;let i=1;for(;n<e.length;n++)if("<"===e[n])if("/"===e[n+1]){const o=g(e,">",n,`${t} is not closed`);if(e.substring(n+2,o).trim()===t&&(i--,0===i))return{tagContent:e.substring(r,n),i:o};n=o}else if("?"===e[n+1]){n=g(e,"?>",n+1,"StopNode is not closed.")}else if("!--"===e.substr(n+1,3)){n=g(e,"--\x3e",n+3,"StopNode is not closed.")}else if("!["===e.substr(n+1,2)){n=g(e,"]]>",n,"StopNode is not closed.")-2}else{const r=y(e,n,">");if(r){(r&&r.tagName)===t&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex}}}function b(e,t,n){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&s(e,n)}return r.isExist(e)?e:""}e.exports=class OrderedObjParser{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"\u20ac"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"\u20b9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=a,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=l,this.buildAttributesMap=d,this.isItStopNode=m,this.replaceEntitiesValue=h,this.readStopNodeData=_,this.saveTextToParentTag=A,this.addChild=f}}},5220:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ftp=void 0;const i=n(54876),o=n(2203),s=n(16928),a=r(n(3680)),c=r(n(37187)),l=r(n(77140)),u=(0,a.default)("get-uri:ftp");t.ftp=async(e,t={})=>{const{cache:n}=t,r=decodeURIComponent(e.pathname);let a;if(!r)throw new TypeError('No "pathname"!');const d=new i.Client;try{const i=e.hostname||e.host||"localhost",p=parseInt(e.port||"0",10)||21,f=e.username?decodeURIComponent(e.username):void 0,h=e.password?decodeURIComponent(e.password):void 0;await d.access({host:i,port:p,user:f,password:h,...t});try{a=await d.lastMod(r)}catch(e){if(550===e.code)throw new c.default}if(!a){const e=await d.list((0,s.dirname)(r)),t=(0,s.basename)(r),n=e.find((e=>e.name===t));n&&(a=n.modifiedAt)}if(!a)throw new c.default;if(function(){if(n?.lastModified&&a)return+n.lastModified==+a;return!1}())throw new l.default;const A=new o.PassThrough,m=A;return d.downloadTo(A,r).then((e=>{u(e.message),d.close()})),m.lastModified=a,m}catch(e){throw d.close(),e}}},5468:e=>{"use strict";e.exports=i,e.exports.preferredCharsets=i;var t=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function n(e,n){var r=t.exec(e);if(!r)return null;var i=r[1],o=1;if(r[2])for(var s=r[2].split(";"),a=0;a<s.length;a++){var c=s[a].trim().split("=");if("q"===c[0]){o=parseFloat(c[1]);break}}return{charset:i,q:o,i:n}}function r(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if("*"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function i(e,t){var i=function(e){for(var t=e.split(","),r=0,i=0;r<t.length;r++){var o=n(t[r].trim(),r);o&&(t[i++]=o)}return t.length=i,t}(void 0===e?"*":e||"");if(!t)return i.filter(a).sort(o).map(s);var c=t.map((function(e,t){return function(e,t,n){for(var i={o:-1,q:0,s:0},o=0;o<t.length;o++){var s=r(e,t[o],n);s&&(i.s-s.s||i.q-s.q||i.o-s.o)<0&&(i=s)}return i}(e,i,t)}));return c.filter(a).sort(o).map((function(e){return t[c.indexOf(e)]}))}function o(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function s(e){return e.charset}function a(e){return e.q>0}},5474:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CachingAutocompletionContext=void 0;const i=r(n(62733));class CachingAutocompletionContext{constructor(e,t){this.delegate=e,this.cache=t,this.cacheOptions={databaseCollectionsTTL:180,collectionSchemaTTL:180,aggregationSchemaTTL:180,...e.cacheOptions}}static caching(e){return new CachingAutocompletionContext(e,new i.default)}currentDatabaseAndConnection(){return this.delegate.currentDatabaseAndConnection()}async databasesForConnection(e){const t=`databasesForConnection::${e}`;if(this.cache.has(t))return this.cache.get(t);const n=await this.delegate.databasesForConnection(e);return this.cache.set(t,n,this.cacheOptions.databaseCollectionsTTL),n}async collectionsForDatabase(e,t){const n=`collectionsForDatabase::${e}::${t}`;if(this.cache.has(n))return this.cache.get(n);const r=await this.delegate.collectionsForDatabase(e,t);return this.cache.set(n,r,this.cacheOptions.databaseCollectionsTTL),r}async schemaInformationForCollection(e,t,n){const r=`schemaInformationForNamespace::${e}::${t}.${n}`;if(this.cache.has(r))return this.cache.get(r);const i=await this.delegate.schemaInformationForCollection(e,t,n);return this.cache.set(r,i,this.cacheOptions.collectionSchemaTTL),i}}t.CachingAutocompletionContext=CachingAutocompletionContext},5519:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildScopeIIFE=function(e,t){const n=[],i=[];for(const t of e)n.push(r.types.identifier(t)),i.push(r.types.identifier(t));return r.types.returnStatement(r.types.callExpression(r.types.arrowFunctionExpression(i,t),n))},t.collectShadowedParamsNames=function(e,t,n){for(const i of Object.keys(e.getBindingIdentifiers())){var r;const e=null==(r=t.bindings[i])?void 0:r.constantViolations;if(e)for(const t of e){const e=t.node;switch(e.type){case"VariableDeclarator":if(null===e.init){const e=t.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){t.remove();break}}n.add(i);break;case"FunctionDeclaration":n.add(i)}}}},t.iifeVisitor=void 0;var r=n(18941);t.iifeVisitor={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:n,node:r}=e,{name:i}=r;("eval"===i||n.getBinding(i)===t.scope.parent.getBinding(i)&&t.scope.hasOwnBinding(i))&&(t.needsOuterBinding=!0,e.stop())},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()}},5731:e=>{"use strict";e.exports=SyntaxError},5982:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callback=void 0;const r=n(91943),i="AZURE_FEDERATED_TOKEN_FILE",o="AWS_WEB_IDENTITY_TOKEN_FILE";t.callback=async()=>{let e;e=process.env[i]?process.env[i]:process.env[o]?process.env[o]:"/var/run/secrets/kubernetes.io/serviceaccount/token";return{accessToken:await(0,r.readFile)(e,"utf8")}}},6095:e=>{"use strict";e.exports=Function.prototype.apply},6106:(e,t,n)=>{"use strict";const r=n(24517);e.exports=(e,t,n)=>{const i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},6192:(e,t,n)=>{"use strict";var r=n(40471),i=n(41673),o=n(74494),s=n(16928).resolve,a=n(32354),c=n(87016);e.exports=function(e,t){if(!e)throw new TypeError("root path required");if("string"!=typeof e)throw new TypeError("root path must be a string");var n=Object.create(t||null),l=!1!==n.fallthrough,u=!1!==n.redirect,d=n.setHeaders;if(d&&"function"!=typeof d)throw new TypeError("option setHeaders must be function");n.maxage=n.maxage||n.maxAge||0,n.root=s(e);var p=u?function(e){if(this.hasTrailingSlash())this.error(404);else{var t=o.original(this.req);t.path=null,t.pathname=function(e){for(var t=0;t<e.length&&47===e.charCodeAt(t);t++);return t>1?"/"+e.substr(t):e}(t.pathname+"/");var n,s,a=r(c.format(t)),l=(n="Redirecting",s="Redirecting to "+i(a),'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+n+"</title>\n</head>\n<body>\n<pre>"+s+"</pre>\n</body>\n</html>\n");e.statusCode=301,e.setHeader("Content-Type","text/html; charset=UTF-8"),e.setHeader("Content-Length",Buffer.byteLength(l)),e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Location",a),e.end(l)}}:function(){this.error(404)};return function(e,t,r){if("GET"!==e.method&&"HEAD"!==e.method)return l?r():(t.statusCode=405,t.setHeader("Allow","GET, HEAD"),t.setHeader("Content-Length","0"),void t.end());var i=!l,s=o.original(e),c=o(e).pathname;"/"===c&&"/"!==s.pathname.substr(-1)&&(c="");var u=a(e,c,n);u.on("directory",p),d&&u.on("headers",d),l&&u.on("file",(function(){i=!0})),u.on("error",(function(e){!i&&e.statusCode<500?r():r(e)})),u.pipe(t)}}},6225:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.evalOptionsToFlags=t.DefaultIntrinsics=void 0;const r=n(8471);Symbol("Unstable");t.DefaultIntrinsics=Symbol("DefaultIntrinsics"),t.evalOptionsToFlags=function(e){if("number"==typeof e)return e;if(void 0===e)return 0;const{type:t,strict:n,strip:i,compileOnly:o,backtraceBarrier:s}=e;let a=0;return"global"===t&&(a|=r.EvalFlags.JS_EVAL_TYPE_GLOBAL),"module"===t&&(a|=r.EvalFlags.JS_EVAL_TYPE_MODULE),n&&(a|=r.EvalFlags.JS_EVAL_FLAG_STRICT),i&&(a|=r.EvalFlags.JS_EVAL_FLAG_STRIP),o&&(a|=r.EvalFlags.JS_EVAL_FLAG_COMPILE_ONLY),s&&(a|=r.EvalFlags.JS_EVAL_FLAG_BACKTRACE_BARRIER),a},t.concat=function(...e){let t=[];for(const n of e)void 0!==n&&(t=t.concat(n));return t}},6226:(e,t,n)=>{const{buildOptions:r}=n(67063),i=n(5139),{prettify:o}=n(70896),s=n(70919);e.exports=class XMLParser{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"==typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const n=s.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new i(this.options);n.addExternalEntities(this.externalEntities);const r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:o(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}},6360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInclusionReasons=function(e,t,n){const s=n[e]||{};return Object.keys(t).reduce(((e,n)=>{const a=(0,o.getLowestImplementedVersion)(s,n),c=t[n];if(a){const t=(0,o.isUnreleasedVersion)(a,n);(0,o.isUnreleasedVersion)(c,n)||!t&&!r.lt(c.toString(),(0,o.semverify)(a))||(e[n]=(0,i.prettifyVersion)(c))}else e[n]=(0,i.prettifyVersion)(c);return e}),{})};var r=n(50648),i=n(36387),o=n(49906)},6385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator);this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||l(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation));this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument))},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space());this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&a(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;s(e.property)&&"number"==typeof e.property.value&&(t=!0);if(t){const t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline();this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!o(t,{callee:e})&&!a(t)&&!c(t))return;this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?.");if(0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")"))return;this.tokenChar(40);const n=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),n(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?.");this.print(e.typeArguments),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:r}=e;if(this.print(e.object),!t&&a(r))throw new TypeError("Got a MemberExpression for MemberExpression property");s(r)&&"number"==typeof r.value&&(t=!0);n&&this.token("?.");t?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r))},t.ParenthesizedExpression=function(e){this.tokenChar(40);const t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t);this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument&&(this.space(),this.printTerminatorless(e.argument))},t._shouldPrintDecoratorsBeforeExport=function(e){if("boolean"==typeof this.format.decoratorsBeforeExport)return this.format.decoratorsBeforeExport;return"number"==typeof e.start&&e.start===e.declaration.start};var r=n(58135),i=n(21956);const{isCallExpression:o,isLiteral:s,isMemberExpression:a,isNewExpression:c,isPattern:l}=r},6560:(e,t,n)=>{"use strict";t.A=void 0;var r=n(32482),i=n(18941);t.A=(0,r.declare)((e=>(e.assertVersion(7),{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:t}=e;if("method"===t.kind){const n=i.types.functionExpression(null,t.params,t.body,t.generator,t.async);n.returnType=t.returnType;const r=i.types.toComputedKey(t);i.types.isStringLiteral(r,{value:"__proto__"})?e.replaceWith(i.types.objectProperty(r,n,!0)):e.replaceWith(i.types.objectProperty(t.key,n,t.computed))}},ObjectProperty(e){const{node:t}=e;if(t.shorthand){const n=i.types.toComputedKey(t);i.types.isStringLiteral(n,{value:"__proto__"})?e.replaceWith(i.types.objectProperty(n,t.value,!0)):t.shorthand=!1}}}})))},6565:(e,t,n)=>{"use strict";var r=n(57172),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},c=1024;e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],s=i.obj[i.prop],a=Object.keys(s),c=0;c<a.length;++c){var l=a[c],u=s[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:s,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<a.length;u+=c){for(var d=a.length>=c?a.slice(u,u+c):a,p=[],f=0;f<d.length;++f){var h=d.charCodeAt(f);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||o===r.RFC1738&&(40===h||41===h)?p[p.length]=d.charAt(f):h<128?p[p.length]=s[h]:h<2048?p[p.length]=s[192|h>>6]+s[128|63&h]:h<55296||h>=57344?p[p.length]=s[224|h>>12]+s[128|h>>6&63]+s[128|63&h]:(f+=1,h=65536+((1023&h)<<10|1023&d.charCodeAt(f)),p[p.length]=s[240|h>>18]+s[128|h>>12&63]+s[128|h>>6&63]+s[128|63&h])}l+=p.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var s=t[o];s&&"object"==typeof s&&n&&"object"==typeof n?t[o]=e(s,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var s=n[o];return i.call(t,o)?t[o]=e(t[o],s,r):t[o]=s,t}),s)}}},6571:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ip=void 0;const i=r(n(70857));function o(e){return 4===e?"ipv4":6===e?"ipv6":e?e.toLowerCase():"ipv4"}t.ip={address(){const e=i.default.networkInterfaces(),n=o(),r=Object.values(e).map(((e=[])=>{const r=e.filter((e=>o(e.family)===n&&!t.ip.isLoopback(e.address)));return r.length?r[0].address:void 0})).filter(Boolean);return r.length?r[0]:t.ip.loopback(n)},isLoopback:e=>/^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/.test(e)||/^fe80::1$/.test(e)||/^::1$/.test(e)||/^::$/.test(e),loopback(e){if("ipv4"!==(e=o(e))&&"ipv6"!==e)throw new Error("family must be ipv4 or ipv6");return"ipv4"===e?"127.0.0.1":"fe80::1"}}},6711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientBulkWriteResultsMerger=void 0;const r=n(57380),i=n(39502),o={acknowledged:!1,insertedCount:0,upsertedCount:0,matchedCount:0,modifiedCount:0,deletedCount:0,insertResults:void 0,updateResults:void 0,deleteResults:void 0};t.ClientBulkWriteResultsMerger=class ClientBulkWriteResultsMerger{static unacknowledged(){return o}constructor(e){this.options=e,this.currentBatchOffset=0,this.writeConcernErrors=[],this.writeErrors=new Map,this.result={acknowledged:!0,insertedCount:0,upsertedCount:0,matchedCount:0,modifiedCount:0,deletedCount:0,insertResults:void 0,updateResults:void 0,deleteResults:void 0},e.verboseResults&&(this.result.insertResults=new Map,this.result.updateResults=new Map,this.result.deleteResults=new Map)}get bulkWriteResult(){return{acknowledged:this.result.acknowledged,insertedCount:this.result.insertedCount,upsertedCount:this.result.upsertedCount,matchedCount:this.result.matchedCount,modifiedCount:this.result.modifiedCount,deletedCount:this.result.deletedCount,insertResults:this.result.insertResults,updateResults:this.result.updateResults,deleteResults:this.result.deleteResults}}async merge(e){let t;try{for await(const t of e)if(1===t.ok)this.options.verboseResults&&this.processDocument(e,t);else{if(this.options.ordered){const e=new i.MongoClientBulkWriteError({message:"Mongo client ordered bulk write encountered a write error."});throw e.writeErrors.set(t.idx+this.currentBatchOffset,{code:t.code,message:t.errmsg}),e.partialResult=this.result,e}this.writeErrors.set(t.idx+this.currentBatchOffset,{code:t.code,message:t.errmsg})}}catch(n){if(!(n instanceof r.MongoWriteConcernError))throw n;{const r=n.result;if(t={insertedCount:r.nInserted,upsertedCount:r.nUpserted,matchedCount:r.nMatched,modifiedCount:r.nModified,deletedCount:r.nDeleted,writeConcernError:r.writeConcernError},this.options.verboseResults&&r.cursor.firstBatch)for(const t of r.cursor.firstBatch)1===t.ok&&this.processDocument(e,t)}}finally{if(e.response){const t=e.response;this.incrementCounts(t)}this.currentBatchOffset+=e.operations.length}if(t){const e=t.writeConcernError;this.incrementCounts(t),this.writeConcernErrors.push({code:e.code,message:e.errmsg})}return this.result}processDocument(e,t){const n=e.operations[t.idx];if("insert"in n&&this.result.insertResults?.set(t.idx+this.currentBatchOffset,{insertedId:n.document._id}),"update"in n){const e={matchedCount:t.n,modifiedCount:t.nModified??0,didUpsert:null!=t.upserted};t.upserted&&(e.upsertedId=t.upserted._id),this.result.updateResults?.set(t.idx+this.currentBatchOffset,e)}"delete"in n&&this.result.deleteResults?.set(t.idx+this.currentBatchOffset,{deletedCount:t.n})}incrementCounts(e){this.result.insertedCount+=e.insertedCount,this.result.upsertedCount+=e.upsertedCount,this.result.matchedCount+=e.matchedCount,this.result.modifiedCount+=e.modifiedCount,this.result.deletedCount+=e.deletedCount}}},6775:(e,t,n)=>{"use strict";n.d(t,{UF:()=>c,vL:()=>a});var r=n(96954);const i=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!i(t))return!1;return!0}return!!(0,r.X8)(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!(0,r.oX)(e)))};let o=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}'),s="";const a=()=>s,c={isVirtualHostableS3Bucket:i,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[n,r,i,o,s,...a]=t;return"arn"!==n||""===r||""===i||""===a[0]?null:{partition:r,service:i,region:o,accountId:s,resourceId:a[0].includes("/")?a[0].split("/"):a}},partition:e=>{const{partitions:t}=o;for(const n of t){const{regions:t,outputs:r}=n;for(const[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(const n of t){const{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}const n=t.find((e=>"aws"===e.id));if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};r.mw.aws=c},6938:(e,t,n)=>{"use strict";var r=n(20534),i=n(109),o=n(69795).customRandom;e.exports=function(e){for(var t,n=0,s="";!t;)s+=o(r.get(),1,i)(),t=e<Math.pow(16,n+1),n++;return s}},6944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const n=t.preserveComments?i:o;for(const t of n)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const r=Object.getOwnPropertySymbols(e);for(const t of r)e[t]=null};var r=n(79897);const i=["tokens","start","end","loc","raw","rawValue"],o=[...r.COMMENT_KEYS,"comments",...i]},7010:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(20418):e.exports=n(62136)},7077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPORTED_CONST_ENUMS_IN_NAMESPACE=void 0,t.default=function(e,t){const{name:n}=e.node.id,o=e.parentPath.isExportNamedDeclaration();let s=o;!s&&t.isProgram(e.parent)&&(s=e.parent.body.some((e=>t.isExportNamedDeclaration(e)&&"type"!==e.exportKind&&!e.source&&e.specifiers.some((e=>t.isExportSpecifier(e)&&"type"!==e.exportKind&&e.local.name===n)))));const{enumValues:a}=(0,r.translateEnumValues)(e,t);if(s||i.has(e.node)){const r=t.objectExpression(a.map((([e,n])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),n))));return void(e.scope.hasOwnBinding(n)?(o?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,r]))):(e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,r)])),e.scope.registerDeclaration(e)))}const c=new Map(a);e.scope.path.traverse({Scope(e){e.scope.hasOwnBinding(n)&&e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:n}))return;let r;if(e.node.computed){if(!t.isStringLiteral(e.node.property))return;r=e.node.property.value}else{if(!t.isIdentifier(e.node.property))return;r=e.node.property.name}c.has(r)&&e.replaceWith(t.cloneNode(c.get(r)))}}),e.remove()};var r=n(31231);const i=t.EXPORTED_CONST_ENUMS_IN_NAMESPACE=new WeakSet},7141:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){const u=e.get("params");if(u.every((e=>e.isIdentifier())))return!1;const{node:d,scope:p}=e,f=[],h=new Set;for(const e of u)(0,i.collectShadowedParamsNames)(e,p,h);const A={needsOuterBinding:!1,scope:p};if(0===h.size)for(const e of u)if(e.isIdentifier()||e.traverse(i.iifeVisitor,A),A.needsOuterBinding)break;let m=null;for(let i=0;i<u.length;i++){const h=u[i];if(n&&!n(i))continue;const A=[];l&&l(e,h,A);const g=h.isAssignmentPattern();if(g&&(t||r.types.isMethod(d,{kind:"set"}))){const e=h.get("left"),t=h.get("right"),n=p.buildUndefinedNode();if(e.isIdentifier())f.push(s({ASSIGNMENT_IDENTIFIER:r.types.cloneNode(e.node),DEFAULT_VALUE:t.node,UNDEFINED:n})),h.replaceWith(e.node);else if(e.isObjectPattern()||e.isArrayPattern()){const i=p.generateUidIdentifier();f.push(a({ASSIGNMENT_IDENTIFIER:e.node,DEFAULT_VALUE:t.node,PARAMETER_NAME:r.types.cloneNode(i),UNDEFINED:n})),h.replaceWith(i)}}else if(g){null===m&&(m=i);const e=h.get("left"),t=h.get("right"),n=o({VARIABLE_NAME:e.node,DEFAULT_VALUE:t.node,ARGUMENT_KEY:r.types.numericLiteral(i)});f.push(n)}else if(null!==m){const e=c([h.node,r.types.numericLiteral(i)]);f.push(e)}else if(h.isObjectPattern()||h.isArrayPattern()){const t=e.scope.generateUidIdentifier("ref");t.typeAnnotation=h.node.typeAnnotation;const n=r.types.variableDeclaration("let",[r.types.variableDeclarator(h.node,t)]);f.push(n),h.replaceWith(r.types.cloneNode(t))}if(A)for(const e of A)f.push(e)}null!==m&&(d.params=d.params.slice(0,m));e.ensureBlock();const g=e,{async:y,generator:_}=d;if(_||A.needsOuterBinding||h.size>0){f.push((0,i.buildScopeIIFE)(h,g.node.body)),e.set("body",r.types.blockStatement(f));const t=g.get("body.body"),n=t[t.length-1].get("argument.callee");n.arrowFunctionToExpression(),n.node.generator=_,n.node.async=y,d.generator=!1,d.async=!1,y&&(g.node.body=r.template.statement.ast`{
4
+ `),t.replaceWith(t.get("parameter")),s.registerBinding("param",t)}}(0,o.injectInitialization)(t,e,i)}};return{name:"transform-typescript",inherits:i.default,visitor:{Pattern:I,Identifier:I,RestElement:I,Program:{enter(e,t){const{file:n}=t;let r=null,i=null;const o=e.scope;if(c.GLOBAL_TYPES.has(o)||c.GLOBAL_TYPES.set(o,new Set),n.ast.comments)for(const e of n.ast.comments){const t=A.exec(e.value);t&&(t[1]?i=t[2]:r=t[2])}let s=r||g;s&&([s]=s.split("."));let a=i||y;a&&([a]=a.split("."));for(let n of e.get("body"))if(n.isImportDeclaration()){if(d.has(t.file.ast.program)||d.set(t.file.ast.program,!0),"type"===n.node.importKind){for(const e of n.node.specifiers)(0,c.registerGlobalType)(o,e.local.name);n.remove();continue}const r=new Set,i=n.node.specifiers.length,l=()=>i>0&&i===r.size;for(const e of n.node.specifiers)if("ImportSpecifier"===e.type&&"type"===e.importKind){(0,c.registerGlobalType)(o,e.local.name);const t=n.scope.getBinding(e.local.name);t&&r.add(t.path)}if(_)d.set(e.node,!1);else{if(0===n.node.specifiers.length){d.set(e.node,!1);continue}for(const t of n.node.specifiers){const i=n.scope.getBinding(t.local.name);i&&!r.has(i.path)&&(w({binding:i,programPath:e,pragmaImportName:s,pragmaFragImportName:a})?r.add(i.path):d.set(e.node,!1))}}if(l()&&!_)n.remove();else for(const e of r)e.remove()}else{if(!_&&n.isTSImportEqualsDeclaration()){const{id:t}=n.node,r=n.scope.getBinding(t.name);if(r&&!n.node.isExport&&w({binding:r,programPath:e,pragmaImportName:s,pragmaFragImportName:a})){n.remove();continue}}if(n.isExportDeclaration()&&(n=n.get("declaration")),n.isVariableDeclaration({declare:!0}))for(const e of Object.keys(n.getBindingIdentifiers()))(0,c.registerGlobalType)(o,e);else(n.isTSTypeAliasDeclaration()||n.isTSDeclareFunction()&&n.get("id").isIdentifier()||n.isTSInterfaceDeclaration()||n.isClassDeclaration({declare:!0})||n.isTSEnumDeclaration({declare:!0})||n.isTSModuleDeclaration({declare:!0})&&n.get("id").isIdentifier())&&(0,c.registerGlobalType)(o,n.node.id.name)}},exit(e){"module"===e.node.sourceType&&d.get(e.node)&&e.pushContainer("body",n.exportNamedDeclaration())}},ExportNamedDeclaration(e,t){if(d.has(t.file.ast.program)||d.set(t.file.ast.program,!0),"type"!==e.node.exportKind)if(e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((e=>"ExportSpecifier"===e.type&&"type"===e.exportKind)))e.remove();else if(!e.node.source&&e.node.specifiers.length>0&&e.node.specifiers.every((t=>n.isExportSpecifier(t)&&(0,c.isGlobalType)(e,t.local.name))))e.remove();else{if(n.isTSModuleDeclaration(e.node.declaration)){const t=e.node.declaration;if(!n.isStringLiteral(t.id)){const r=(0,l.getFirstIdentifier)(t.id);if(e.scope.hasOwnBinding(r.name))e.replaceWith(t);else{const[i]=e.replaceWithMultiple([n.exportNamedDeclaration(n.variableDeclaration("let",[n.variableDeclarator(n.cloneNode(r))])),t]);e.scope.registerDeclaration(i)}}}d.set(t.file.ast.program,!1)}else e.remove()},ExportAllDeclaration(e){"type"===e.node.exportKind&&e.remove()},ExportSpecifier(e){(!e.parent.source&&(0,c.isGlobalType)(e,e.node.local.name)||"type"===e.node.exportKind)&&e.remove()},ExportDefaultDeclaration(e,t){d.has(t.file.ast.program)||d.set(t.file.ast.program,!0),n.isIdentifier(e.node.declaration)&&(0,c.isGlobalType)(e,e.node.declaration.name)?e.remove():d.set(t.file.ast.program,!1)},TSDeclareFunction(e){f(e)},TSDeclareMethod(e){f(e)},VariableDeclaration(e){e.node.declare&&f(e)},VariableDeclarator({node:e}){e.definite&&(e.definite=null)},TSIndexSignature(e){e.remove()},ClassDeclaration(e){const{node:t}=e;t.declare&&f(e)},Class(e){const{node:t}=e;t.typeParameters&&(t.typeParameters=null),t.superTypeParameters&&(t.superTypeParameters=null),t.implements&&(t.implements=null),t.abstract&&(t.abstract=null),e.get("body.body").forEach((t=>{t.isClassMethod()||t.isClassPrivateMethod()?"constructor"===t.node.kind?v.constructor(t,e):v.method(t):(t.isClassProperty()||t.isClassPrivateProperty()||t.isClassAccessorProperty())&&v.field(t)}))},Function(e){const{node:t}=e;t.typeParameters&&(t.typeParameters=null),t.returnType&&(t.returnType=null);const r=t.params;r.length>0&&n.isIdentifier(r[0],{name:"this"})&&r.shift()},TSModuleDeclaration(e){(0,l.default)(e,m)},TSInterfaceDeclaration(e){e.remove()},TSTypeAliasDeclaration(e){e.remove()},TSEnumDeclaration(e){b&&e.node.const?(0,s.default)(e,n):(0,a.default)(e,n)},TSImportEqualsDeclaration(e,t){const{id:r,moduleReference:i}=e.node;let o,s;n.isTSExternalModuleReference(i)?(h(e,t,`import ${r.name} = require(...);`,`import ${r.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),o=n.callExpression(n.identifier("require"),[i.expression]),s="const"):(o=E(i),s="var");const a=n.variableDeclaration(s,[n.variableDeclarator(r,o)]);e.replaceWith(e.node.isExport?n.exportNamedDeclaration(a):a),e.scope.registerDeclaration(e)},TSExportAssignment(e,t){h(e,t,"export = <value>;","export default <value>;"),e.replaceWith(r.statement.ast`module.exports = ${e.node.expression}`)},TSTypeAssertion(e){e.replaceWith(e.node.expression)},["TSAsExpression"+(n.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](e){let{node:t}=e;do{t=t.expression}while(n.isTSAsExpression(t)||null!=n.isTSSatisfiesExpression&&n.isTSSatisfiesExpression(t));e.replaceWith(t)},[e.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](e){e.replaceWith(e.node.expression)},CallExpression(e){e.node.typeParameters=null},OptionalCallExpression(e){e.node.typeParameters=null},NewExpression(e){e.node.typeParameters=null},JSXOpeningElement(e){e.node.typeParameters=null},TaggedTemplateExpression(e){e.node.typeParameters=null}}};function E(e){return n.isTSQualifiedName(e)?n.memberExpression(E(e.left),e.right):e}function I({node:e}){e.typeAnnotation&&(e.typeAnnotation=null),n.isIdentifier(e)&&e.optional&&(e.optional=null)}function w({binding:e,programPath:t,pragmaImportName:n,pragmaFragImportName:r}){for(const t of e.referencePaths)if(!u(t))return!1;if(e.identifier.name!==n&&e.identifier.name!==r)return!0;let i=!1;return t.traverse({"JSXElement|JSXFragment"(e){i=!0,e.stop()}}),!i}}))},1319:e=>{"use strict";e.exports=Math.round},1433:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetSystemCACache=function(e={}){s=void 0,a(e).catch((()=>{}))},t.mergeCA=l,t.systemCA=async function(e={}){let t,n,r;e.tlsCAFile&&(t=i.promises.readFile(e.tlsCAFile,"utf8"),t.catch((()=>{})));let s=[];try{if(!e.excludeSystemCerts){const e=await a();r=e.asyncFallbackError,s=e.certs}}catch(e){n=e}return{ca:l(s,o.rootCertificates,e.ca,await t),asyncFallbackError:r,systemCertsError:n,systemCACount:s.length+o.rootCertificates.length,messages:[]}};const r=n(72786),i=n(79896),o=n(64756);let s;function a(e={}){return s||(s=(async()=>({certs:await(0,r.systemCertsAsync)(e),asyncFallbackError:e.asyncFallbackError}))(),s.catch((()=>{})),s)}function c(e){return"string"==typeof e?e:Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}function l(...e){const t=new Set;for(const n of e){if(!n)continue;const e=Array.isArray(n)?n:[n];for(const n of e)t.add(c(n))}return[...t].join("\n")}},1535:(e,t,n)=>{"use strict";n.d(t,{h5:()=>l,S0:()=>c,GQ:()=>p,Qb:()=>u,bV:()=>d});const r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],i=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],o=["TimeoutError","RequestTimeout","RequestTimeoutException"],s=[500,502,503,504],a=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],c=e=>void 0!==e.$retryable,l=e=>r.includes(e.name),u=e=>429===e.$metadata?.httpStatusCode||i.includes(e.name)||1==e.$retryable?.throttling,d=e=>(e=>e.$metadata?.clockSkewCorrected)(e)||o.includes(e.name)||a.includes(e?.code||"")||s.includes(e.$metadata?.httpStatusCode||0),p=e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!d(e)}return!1}},1699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSuggestion=function(e,t){const r=t.map((t=>function(e,t){let r,i,o=[],s=[];const a=e.length,c=t.length;if(!a)return c;if(!c)return a;for(i=0;i<=c;i++)o[i]=i;for(r=1;r<=a;r++){for(s=[r],i=1;i<=c;i++)s[i]=e[r-1]===t[i-1]?o[i-1]:n(o[i-1],o[i],s[i-1])+1;o=s}return s[c]}(t,e)));return t[r.indexOf(n(...r))]};const{min:n}=Math},1701:(e,t,n)=>{if(!globalThis.ReadableStream)try{const e=n(1708),{emitWarning:t}=e;try{e.emitWarning=()=>{},Object.assign(globalThis,n(37830)),e.emitWarning=t}catch(n){throw e.emitWarning=t,n}}catch(e){Object.assign(globalThis,n(21171))}try{const{Blob:e}=n(20181);e&&!e.prototype.stream&&(e.prototype.stream=function(e){let t=0;const n=this;return new ReadableStream({type:"bytes",async pull(e){const r=n.slice(t,Math.min(n.size,t+65536)),i=await r.arrayBuffer();t+=i.byteLength,e.enqueue(new Uint8Array(i)),t===n.size&&e.close()}})})}catch(e){}},1708:e=>{"use strict";e.exports=require("node:process")},1715:(e,t,n)=>{"use strict";function r(){const e=n(22388);return r=function(){return e},e}function i(){const e=n(2235);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{opts:n,ast:s,code:a,inputMap:c}=t,{generatorOpts:l}=n;l.inputSourceMap=null==c?void 0:c.toObject();const u=[];for(const t of e)for(const e of t){const{generatorOverride:t}=e;if(t){const e=t(s,l,a,i().default);void 0!==e&&u.push(e)}}let d;if(0===u.length)d=(0,i().default)(s,l,a);else{if(1!==u.length)throw new Error("More than one plugin attempted to override codegen.");if(d=u[0],"function"==typeof d.then)throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:p,decodedMap:f=d.map}=d;d.__mergedMap?f=Object.assign({},d.map):f&&(f=c?(0,o.default)(c.toObject(),f,l.sourceFileName):d.map);"inline"!==n.sourceMaps&&"both"!==n.sourceMaps||(p+="\n"+r().fromObject(f).toComment());"inline"===n.sourceMaps&&(f=null);return{outputCode:p,outputMap:f}};var o=n(45573)},1742:(e,t,n)=>{"use strict";const r=new Array(256);[n(28147).HANDLERS,n(74958)].forEach((e=>{for(let[t,n]of Object.entries(e))t=+t,isFinite(t)&&t>=0&&t<r.length&&(r[t]=n)})),e.exports=r},1754:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&i(t,e,n[s]);return o(t,e),t}),a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MATCH_COMPLETIONS=t.BASE_COMPLETIONS=void 0,t.completer=async function(e,n){var r,i,o;const s=c.signatures.ShellApi.attributes,a=c.signatures.Collection.attributes,l=c.signatures.Database.attributes,u=c.signatures.AggregationCursor.attributes,d=c.signatures.Cursor.attributes,f=c.signatures.ReplicaSet.attributes,h=c.signatures.ShellConfig.attributes,A=c.signatures.Shard.attributes,_=c.signatures.Streams.attributes,b=c.signatures.StreamProcessor.attributes,C=n.split(/(?<!\S)(?=\S)/),v=C[0].trim();if(null===(r=s[v])||void 0===r?void 0:r.isDirectShellCommand){const t=s[v].shellCommandCompleter;if(t){1===C.length&&(C[0].trimEnd()===C[0]&&(C[0]+=" "),C.push(""));return[(await t(e,C.map((e=>e.trim())))||[]).map((e=>[...C.slice(0,-1),e].join(""))),n,"exclusive"]}return[[n],n,"exclusive"]}const E=n.split("."),I=E[0],w=E[E.length-1];if(E.length<=1){const t=y(e,s,w);return[t.length?t:[],n]}if(/\bdb\b/.exec(I)&&2===E.length){if(/aggregate\s*\(\s*\[\s*\{\s*/.exec(w)){const r=n.split("{"),o=(null===(i=r.pop())||void 0===i?void 0:i.trim())||"",s=o?n.split(o).shift():n,a=g(e,r.length<=2?p:[...t.BASE_COMPLETIONS,...m(e,w)],o,s);return[a.length?a:[],n]}const r=y(e,l,w,E),o=await e.getCollectionCompletionsForCurrentDb(w.trim());return r.push(...o.map((e=>`${E[0]}.${e}`))),[r.length?r:[],n]}if(/\bdb\b/.exec(I)&&E.length>2){if(!/^\s*\w+\s*$/.exec(E[1])&&!/\bgetCollection\b/.exec(E[1]))return[[],n];if(E.length>3){if(/\baggregate\b/.exec(E[2])){const t=y(e,u,w,E);return[t.length?t:[],n]}if(/\bfind\b/.exec(E[2])){const t=y(e,d,w,E);return[t.length?t:[],n]}return[[],n]}if(E[2].includes("([")||E[2].includes("({")){let r;r=/\baggregate\b/.exec(E[2])?[...t.BASE_COMPLETIONS,...m(e,w)]:t.MATCH_COMPLETIONS;const i=null===(o=n.split("{").pop())||void 0===o?void 0:o.trim(),s=g(e,r,i||"",i?n.split(i).shift():n);return[s.length?s:[],n]}const r=y(e,a,w,E);return[r.length?r:[],n]}if(/\bsh\b/.exec(I)&&2===E.length){const t=y(e,A,w,E);return[t.length?t:[],n]}if(/\brs\b/.exec(I)&&2===E.length){const t=y(e,f,w,E);return[t.length?t:[],n]}if(/\bconfig\b/.exec(I)&&2===E.length){const t=y(e,h,w,E);return[t.length?t:[],n]}if(/\bsp\b/.exec(I)){let t;2===E.length?t=_:3===E.length&&(t=b);const r=t&&y(e,t,w,E);return[(null==r?void 0:r.length)?r:[],n]}return[[],n]},t.initNewAutocompleter=async function(e){const{MongoDBAutocompleter:t}=await Promise.resolve().then((()=>s(n(77785)))),r=e.getAutocompletionContext(),i=new t({context:r});return async e=>{const t=await(0,d.directCommandCompleter)(r,e);if(t.length)return[t,e,"exclusive"];const n=function(e,t){return[t.map((e=>e.result)),e]}(e,await i.autocomplete(e));return n}};const c=n(73801),l=a(n(2722)),u=n(28546),d=n(55799);t.BASE_COMPLETIONS=[].concat(u.EXPRESSION_OPERATORS,u.CONVERSION_OPERATORS,u.BSON_TYPES,u.STAGE_OPERATORS),t.MATCH_COMPLETIONS=[].concat(u.QUERY_OPERATORS,u.BSON_TYPES);const p=u.STAGE_OPERATORS.filter((({namespaces:e})=>1===e.length&&e[0]===u.DATABASE)),f="$project",h="$group";function A(e,t,n){const r=e.connectionInfo(),i=e.apiVersionInfo();let o;o=(null==i?void 0:i.strict)&&t.apiVersions?t.apiVersions.includes(+i.version):!t[n]||!(null==r?void 0:r.server_version)||function(e,t){const n=/^\d+?\.\d+?\.\d+?$/.test(t);return l.default.satisfies(e,n?`>=${t}`:t,{includePrerelease:!0})}(r.server_version,t[n]);const s=!t.env||!r||(r.is_data_federation?t.env.includes(u.ADL):r.is_atlas||r.is_local_atlas?t.env.includes(u.ATLAS):t.env.includes(u.ON_PREM));return o&&s}function m(e,t){return t.includes(f)?u.ACCUMULATORS.filter((t=>A(e,t,"projectVersion"))):t.includes(h)?u.ACCUMULATORS:[]}function g(e,t,n,r){return t.filter((t=>t.name&&t.name.startsWith(n)&&A(e,t,"version"))).map((e=>`${r}${e.name}`))}function y(e,t,n,r){const i=Object.keys(t).filter((r=>{var i;if(!r.toLowerCase().startsWith(n.toLowerCase()))return!1;if(t[r].deprecated)return!1;const o=e.apiVersionInfo();let s,a;if((null==o?void 0:o.strict)&&(a=t[r].apiVersions))s=+o.version>=a[0]&&+o.version<=a[1];else{const n=null===(i=e.connectionInfo())||void 0===i?void 0:i.server_version,o=t[r].serverVersions;s=!o||!n||l.default.gte(n,o[0])&&l.default.lte(n,o[1])}const c=t[r].topologies,u=e.topology(),d=!c||!u||c.includes(u);return s&&d}));return r?i.map((e=>`${r.slice(0,-1).join(".")}.${e}`)):i}},1802:(e,t,n)=>{"use strict";n.d(t,{Kj:()=>Client,uB:()=>Command,N4:()=>NoOpLogger,$H:()=>d,TJ:()=>ServiceException,Ss:()=>fe,Px:()=>l,Mw:()=>J,I9:()=>Y,ET:()=>m,Y0:()=>C,r$:()=>p,Xk:()=>v,lK:()=>E,$6:()=>re,xA:()=>te,rm:()=>ie,lT:()=>V,Tj:()=>se,l3:()=>O,EI:()=>R,t_:()=>P,uv:()=>ne,un:()=>pe,xW:()=>B,s:()=>ae,jr:()=>W});class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}const r=(e,t)=>{const n=[];if(e&&n.push(e),t)for(const e of t)n.push(e);return n},i=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,o=()=>{let e=[],t=[],n=!1;const c=new Set,l=n=>(e.forEach((e=>{n.add(e.middleware,{...e})})),t.forEach((e=>{n.addRelativeTo(e.middleware,{...e})})),n.identifyOnResolve?.(p.identifyOnResolve()),n),u=e=>{const t=[];return e.before.forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...u(e))})),t.push(e),e.after.reverse().forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...u(e))})),t},d=(n=!1)=>{const o=[],c=[],l={};e.forEach((e=>{const t={...e,before:[],after:[]};for(const e of r(t.name,t.aliases))l[e]=t;o.push(t)})),t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of r(t.name,t.aliases))l[e]=t;c.push(t)})),c.forEach((e=>{if(e.toMiddleware){const t=l[e.toMiddleware];if(void 0===t){if(n)return;throw new Error(`${e.toMiddleware} is not found when adding ${i(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}));var d;return(d=o,d.sort(((e,t)=>s[t.step]-s[e.step]||a[t.priority||"normal"]-a[e.priority||"normal"]))).map(u).reduce(((e,t)=>(e.push(...t),e)),[])},p={add:(t,n={})=>{const{name:o,override:s,aliases:a}=n,l={step:"initialize",priority:"normal",middleware:t,...n},u=r(o,a);if(u.length>0){if(u.some((e=>c.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${i(o,a)}'`);for(const t of u){const n=e.findIndex((e=>e.name===t||e.aliases?.some((e=>e===t))));if(-1===n)continue;const r=e[n];if(r.step!==l.step||l.priority!==r.priority)throw new Error(`"${i(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${i(o,a)}" middleware with ${l.priority} priority in ${l.step} step.`);e.splice(n,1)}}for(const e of u)c.add(e)}e.push(l)},addRelativeTo:(e,n)=>{const{name:o,override:s,aliases:a}=n,l={middleware:e,...n},u=r(o,a);if(u.length>0){if(u.some((e=>c.has(e)))){if(!s)throw new Error(`Duplicate middleware name '${i(o,a)}'`);for(const e of u){const n=t.findIndex((t=>t.name===e||t.aliases?.some((t=>t===e))));if(-1===n)continue;const r=t[n];if(r.toMiddleware!==l.toMiddleware||r.relation!==l.relation)throw new Error(`"${i(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${i(o,a)}" middleware ${l.relation} "${l.toMiddleware}" middleware.`);t.splice(n,1)}}for(const e of u)c.add(e)}t.push(l)},clone:()=>l(o()),use:e=>{e.applyToStack(p)},remove:n=>"string"==typeof n?(n=>{let i=!1;const o=e=>{const t=r(e.name,e.aliases);if(t.includes(n)){i=!0;for(const e of t)c.delete(e);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n):(n=>{let i=!1;const o=e=>{if(e.middleware===n){i=!0;for(const t of r(e.name,e.aliases))c.delete(t);return!1}return!0};return e=e.filter(o),t=t.filter(o),i})(n),removeByTag:n=>{let i=!1;const o=e=>{const{tags:t,name:o,aliases:s}=e;if(t&&t.includes(n)){const e=r(o,s);for(const t of e)c.delete(t);return i=!0,!1}return!0};return e=e.filter(o),t=t.filter(o),i},concat:e=>{const t=l(o());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:l,identify:()=>d(!0).map((e=>{const t=e.step??e.relation+" "+e.toMiddleware;return i(e.name,e.aliases)+" - "+t})),identifyOnResolve:e=>("boolean"==typeof e&&(n=e),n),resolve:(e,t)=>{for(const n of d().map((e=>e.middleware)).reverse())e=n(e,t);return n&&console.log(p.identify()),e}};return p},s={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},a={high:3,normal:2,low:1};class Client{constructor(e){this.middlewareStack=o(),this.config=e}send(e,t,n){const r="function"!=typeof t?t:void 0,i="function"==typeof t?t:n,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!i)return o(e).then((e=>e.output));o(e).then((e=>i(null,e.output)),(e=>i(e))).catch((()=>{}))}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}var c=n(99334);const l=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return c.Mu.mutate(e);if(!e)return c.Mu.mutate(new Uint8Array);const n=t.streamCollector(e);return c.Mu.mutate(await n)};var u=n(31932);class Command{constructor(){this.middlewareStack=o()}static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:l,CommandCtor:d}){for(const i of r.bind(this)(d,e,t,n))this.middlewareStack.use(i);const p=e.concat(this.middlewareStack),{logger:f}=t,h={logger:f,clientName:i,commandName:o,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[u.Vf]:{...c},...l},{requestHandler:A}=t;return p.resolve((e=>A.handle(e.request,n||{})),h)}}class ClassBuilder{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){const e=this;let t;return t=class extends Command{static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=t??{},e._init(this)}resolveMiddleware(n,r,i){return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}const d="***SensitiveInformation***",p=e=>{if(null!=e){if("string"==typeof e){const t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&k.warn(T(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw new TypeError(`Expected number, got ${typeof e}: ${e}`)}},f=Math.ceil(2**127*(2-2**-23)),h=e=>{const t=p(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>f)throw new TypeError(`Expected 32-bit float, got ${e}`);return t},A=e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}},m=e=>_(e,32),g=e=>_(e,16),y=e=>_(e,8),_=(e,t)=>{const n=A(e);if(void 0!==n&&b(n,t)!==n)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return n},b=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},C=(e,t)=>{if(null==e){if(t)throw new TypeError(`Expected a non-null value for ${t}`);throw new TypeError("Expected a non-null value")}return e},v=e=>{if(null==e)return;if("object"==typeof e&&!Array.isArray(e))return e;const t=Array.isArray(e)?"array":typeof e;throw new TypeError(`Expected object, got ${t}: ${e}`)},E=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return k.warn(T(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},I=e=>p("string"==typeof e?S(e):e),w=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,S=e=>{const t=e.match(w);if(null===t||t[0].length!==e.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(e)},B=e=>m("string"==typeof e?S(e):e),x=e=>g("string"==typeof e?S(e):e),T=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n"),k={warn:console.warn},D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const Q=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),R=e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=Q.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[n,r,i,o,s,a,c,l]=t,u=x(K(r)),d=U(i,"month",1,12),p=U(o,"day",1,31);return F(u,d,p,{hours:s,minutes:a,seconds:c,fractionalMilliseconds:l})},N=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),P=e=>{if(null==e)return;if("string"!=typeof e)throw new TypeError("RFC-3339 date-times must be expressed as strings");const t=N.exec(e);if(!t)throw new TypeError("Invalid RFC-3339 date-time value");const[n,r,i,o,s,a,c,l,u]=t,d=x(K(r)),p=U(i,"month",1,12),f=U(o,"day",1,31),h=F(d,p,f,{hours:s,minutes:a,seconds:c,fractionalMilliseconds:l});return"Z"!=u.toUpperCase()&&h.setTime(h.getTime()-G(u)),h},O=e=>{if(null==e)return;let t;if("number"==typeof e)t=e;else{if("string"!=typeof e)throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");t=I(e)}if(Number.isNaN(t)||t===1/0||t===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*t))},F=(e,t,n,r)=>{const i=t-1;return L(e,i,n),new Date(Date.UTC(e,i,n,U(r.hours,"hour",0,23),U(r.minutes,"minute",0,59),U(r.seconds,"seconds",0,60),H(r.fractionalMilliseconds)))},M=[31,28,31,30,31,30,31,31,30,31,30,31],L=(e,t,n)=>{let r=M[t];if(1===t&&j(e)&&(r=29),n>r)throw new TypeError(`Invalid day for ${D[t]} in ${e}: ${n}`)},j=e=>e%4==0&&(e%100!=0||e%400==0),U=(e,t,n,r)=>{const i=(e=>y("string"==typeof e?S(e):e))(K(e));if(i<n||i>r)throw new TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},H=e=>null==e?0:1e3*(e=>h("string"==typeof e?S(e):e))("0."+e),G=e=>{const t=e[0];let n=1;if("+"==t)n=1;else{if("-"!=t)throw new TypeError(`Offset direction, ${t}, must be "+" or "-"`);n=-1}return n*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*60*1e3},K=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)};class ServiceException extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,ServiceException.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}const J=(e,t={})=>{Object.entries(t).filter((([,e])=>void 0!==e)).forEach((([t,n])=>{null!=e[t]&&""!==e[t]||(e[t]=n)}));const n=e.message||e.Message||"UnknownError";return e.message=n,delete e.Message,e},W=e=>({output:t,parsedBody:n,errorCode:r})=>{(({output:e,parsedBody:t,exceptionCtor:n,errorCode:r})=>{const i=q(e),o=i.httpStatusCode?i.httpStatusCode+"":void 0,s=new n({name:t?.code||t?.Code||r||o||"UnknownError",$fault:"client",$metadata:i});throw J(s,t)})({output:t,parsedBody:n,exceptionCtor:e,errorCode:r})},q=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),V=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}};let z=!1;const Y=e=>{e&&!z&&parseInt(e.substring(1,e.indexOf(".")))<16&&(z=!0)},$=e=>{const t=[];for(const n in u.dB){const r=u.dB[n];void 0!==e[r]&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}},X=e=>{const t={};return e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()})),t},Z=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},ee=e=>{const t={};return t.retryStrategy=e.retryStrategy(),t},te=e=>({...$(e),...Z(e)}),ne=e=>({...X(e),...ee(e)});function re(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}const ie=e=>{const t="#text";for(const n in e)e.hasOwnProperty(n)&&void 0!==e[n][t]?e[n]=e[n][t]:"object"==typeof e[n]&&null!==e[n]&&(e[n]=ie(e[n]));return e},oe=function(){const e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(t,e.prototype),t};oe.prototype=Object.create(String.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(oe,String);function se(e,t,n){let r,i,o;if(void 0===t&&void 0===n)r={},o=e;else{if(r=e,"function"==typeof t)return i=t,o=n,ce(r,i,o);o=t}for(const e of Object.keys(o))Array.isArray(o[e])?le(r,null,o,e):r[e]=o[e];return r}const ae=(e,t)=>{const n={};for(const r in t)le(n,e,t,r);return n},ce=(e,t,n)=>se(e,Object.entries(n).reduce(((e,[n,r])=>(Array.isArray(r)?e[n]=r:e[n]="function"==typeof r?[t,r()]:[t,r],e)),{})),le=(e,t,n,r)=>{if(null!==t){let i=n[r];"function"==typeof i&&(i=[,i]);const[o=ue,s=de,a=r]=i;return void(("function"==typeof o&&o(t[a])||"function"!=typeof o&&o)&&(e[r]=s(t[a])))}let[i,o]=n[r];if("function"==typeof o){let t;const n=void 0===i&&null!=(t=o()),s="function"==typeof i&&!!i(void 0)||"function"!=typeof i&&!!i;n?e[r]=t:s&&(e[r]=o())}else{const t=void 0===i&&null!=o,n="function"==typeof i&&!!i(o)||"function"!=typeof i&&!!i;(t||n)&&(e[r]=o)}},ue=e=>null!=e,de=e=>e,pe=(e,t,n,r,i,o)=>{if(null==t||void 0===t[n])throw new Error("No value provided for input HTTP label: "+n+".");{const t=r();if(t.length<=0)throw new Error("Empty value provided for input HTTP label: "+n+".");e=e.replace(i,o?t.split("/").map((e=>re(e))).join("/"):re(t))}return e},fe=e=>{if(null==e)return{};if(Array.isArray(e))return e.filter((e=>null!=e)).map(fe);if("object"==typeof e){const t={};for(const n of Object.keys(e))null!=e[n]&&(t[n]=fe(e[n]));return t}return e}},1889:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&i(t,e,n[s]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.createFetch=function(e){const t=(0,a.useOrCreateAgent)(e);let n;return Object.assign((async(e,r)=>{const[i]=await Promise.all([l??=c(),n??=t?.initialize?.()]);return await i(e,{agent:t,...r})}),{agent:t})};const a=n(78988);async function c(){let e;try{e=await Promise.resolve().then((()=>s(n(54759))))}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_REQUIRE_ESM"!==e.code||void 0!==n)throw e}return"function"==typeof e?e:e.default}let l},1940:(e,t,n)=>{"use strict";var r=n(82926).lowlevel.crypto_hash,i=0,o=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])],this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function s(e,t,n){return(e[0][t[n+3]]+e[1][t[n+2]]^e[2][t[n+1]])+e[3][t[n]]}function a(e,t){var n,r=0;for(n=0;n<4;n++,i++)i>=t&&(i=0),r=r<<8|e[i];return r}o.prototype.encipher=function(e,t){void 0===t&&(t=new Uint8Array(e.buffer),0!==e.byteOffset&&(t=t.subarray(e.byteOffset))),e[0]^=this.P[0];for(var n=1;n<16;n+=2)e[1]^=s(this.S,t,0)^this.P[n],e[0]^=s(this.S,t,4)^this.P[n+1];var r=e[0];e[0]=e[1]^this.P[17],e[1]=r},o.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);0!==e.byteOffset&&(t=t.subarray(e.byteOffset)),e[0]^=this.P[17];for(var n=16;n>0;n-=2)e[1]^=s(this.S,t,0)^this.P[n],e[0]^=s(this.S,t,4)^this.P[n-1];var r=e[0];e[0]=e[1]^this.P[0],e[1]=r},o.prototype.expand0state=function(e,t){var n,r,o=new Uint32Array(2),s=new Uint8Array(o.buffer);for(n=0,i=0;n<18;n++)this.P[n]^=a(e,t);for(i=0,n=0;n<18;n+=2)this.encipher(o,s),this.P[n]=o[0],this.P[n+1]=o[1];for(n=0;n<4;n++)for(r=0;r<256;r+=2)this.encipher(o,s),this.S[n][r]=o[0],this.S[n][r+1]=o[1]},o.prototype.expandstate=function(e,t,n,r){var o,s,c=new Uint32Array(2);for(o=0,i=0;o<18;o++)this.P[o]^=a(n,r);for(o=0,i=0;o<18;o+=2)c[0]^=a(e,t),c[1]^=a(e,t),this.encipher(c),this.P[o]=c[0],this.P[o+1]=c[1];for(o=0;o<4;o++)for(s=0;s<256;s+=2)c[0]^=a(e,t),c[1]^=a(e,t),this.encipher(c),this.S[o][s]=c[0],this.S[o][s+1]=c[1];i=0},o.prototype.enc=function(e,t){for(var n=0;n<t;n++)this.encipher(e.subarray(2*n))},o.prototype.dec=function(e,t){for(var n=0;n<t;n++)this.decipher(e.subarray(2*n))};var c=8;function l(e,t,n){var r,i=new o,s=new Uint32Array(c),l=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);for(i.expandstate(t,64,e,64),r=0;r<64;r++)i.expand0state(t,64),i.expand0state(e,64);for(r=0;r<c;r++)s[r]=a(l,l.byteLength);for(r=0;r<64;r++)i.enc(s,s.byteLength/8);for(r=0;r<c;r++)n[4*r+3]=s[r]>>>24,n[4*r+2]=s[r]>>>16,n[4*r+1]=s[r]>>>8,n[4*r+0]=s[r]}e.exports={BLOCKS:c,HASHSIZE:32,hash:l,pbkdf:function(e,t,n,i,o,s,a){var c,u,d,p,f,h,A=new Uint8Array(64),m=new Uint8Array(64),g=new Uint8Array(32),y=new Uint8Array(32),_=new Uint8Array(i+4),b=s;if(a<1)return-1;if(0===t||0===i||0===s||s>g.byteLength*g.byteLength||i>1<<20)return-1;for(p=Math.floor((s+g.byteLength-1)/g.byteLength),d=Math.floor((s+p-1)/p),c=0;c<i;c++)_[c]=n[c];for(r(A,e,t),h=1;s>0;h++){for(_[i+0]=h>>>24,_[i+1]=h>>>16,_[i+2]=h>>>8,_[i+3]=h,r(m,_,i+4),l(A,m,y),c=g.byteLength;c--;)g[c]=y[c];for(c=1;c<a;c++)for(r(m,y,y.byteLength),l(A,m,y),u=0;u<g.byteLength;u++)g[u]^=y[u];for(d=Math.min(d,s),c=0;c<d&&!((f=c*p+(h-1))>=b);c++)o[f]=g[c];s-=c}return 0}}},2023:(e,t,n)=>{"use strict";const{createDecipheriv:r,createECDH:i,createHash:o,createHmac:s,createSign:a,createVerify:c,getCiphers:l,sign:u,verify:d}=n(76982),p=l(),{Ber:f}=n(82331),h=n(1940).pbkdf,{CIPHER_INFO:A}=n(54554),{eddsaSupported:m,SUPPORTED_CIPHER:g}=n(99670),{bufferSlice:y,makeBufferParser:_,readString:b,readUInt32BE:C,writeUInt32BE:v}=n(28846),E=Symbol("Hash Algorithm"),I=Symbol("Private key PEM"),w=Symbol("Public key PEM"),S=Symbol("Public key SSH"),B=Symbol("Decrypted Key"),x=Object.create(null);{const te=Object.keys(A);for(let ne=0;ne<te.length;++ne){const re=A[te[ne]].sslName;re&&!x[re]&&(x[re]=A[te[ne]])}}const T=_();function k(e,t){let n=(t=t.base64Slice(0,t.length)).replace(/.{64}/g,"$&\n");return 63&t.length&&(n+="\n"),`-----BEGIN ${e} KEY-----\n${n}-----END ${e} KEY-----`}function D(e,t){const n=Buffer.allocUnsafe(e.length+t.length);return n.set(e,0),n.set(t,e.length),n}function Q(e,t){const n=e.length;let r=e._pos||0;for(let i=0;i<t;++i){const t=n-r;if(r>=n||t<4)return!1;const i=C(e,r);if(t<4+i)return!1;r+=4+i}return e._pos=r,!0}function R(e,t){const n=new f.Writer;return n.startSequence(),n.startSequence(),n.writeOID("1.2.840.113549.1.1.1"),n.writeNull(),n.endSequence(),n.startSequence(f.BitString),n.writeByte(0),n.startSequence(),n.writeBuffer(e,f.Integer),n.writeBuffer(t,f.Integer),n.endSequence(),n.endSequence(),n.endSequence(),k("PUBLIC",n.buffer)}function N(e,t){const n=Buffer.allocUnsafe(15+t.length+4+e.length);v(n,7,0),n.utf8Write("ssh-rsa",4,7);let r=11;return v(n,t.length,r),n.set(t,r+=4),v(n,e.length,r+=t.length),n.set(e,r+4),n}const P=(()=>{function e(e){return BigInt(`0x${e.hexSlice(0,e.length)}`)}function t(e){let t=e.toString(16);if(1&t.length)t=`0${t}`;else{const e=t.charCodeAt(0);(56===e||57===e||e>=97&&e<=102)&&(t=`00${t}`)}return Buffer.from(t,"hex")}return function(n,r,i,o,s,a){const c=e(i);return k("RSA PRIVATE",function(e,t,n,r,i,o,s,a){const c=new f.Writer;return c.startSequence(),c.writeInt(0,f.Integer),c.writeBuffer(e,f.Integer),c.writeBuffer(t,f.Integer),c.writeBuffer(n,f.Integer),c.writeBuffer(r,f.Integer),c.writeBuffer(i,f.Integer),c.writeBuffer(o,f.Integer),c.writeBuffer(s,f.Integer),c.writeBuffer(a,f.Integer),c.endSequence(),c.buffer}(n,r,i,s,a,t(c%(e(s)-1n)),t(c%(e(a)-1n)),o))}})();function O(e,t,n,r){const i=new f.Writer;return i.startSequence(),i.startSequence(),i.writeOID("1.2.840.10040.4.1"),i.startSequence(),i.writeBuffer(e,f.Integer),i.writeBuffer(t,f.Integer),i.writeBuffer(n,f.Integer),i.endSequence(),i.endSequence(),i.startSequence(f.BitString),i.writeByte(0),i.writeBuffer(r,f.Integer),i.endSequence(),i.endSequence(),k("PUBLIC",i.buffer)}function F(e,t,n,r){const i=Buffer.allocUnsafe(15+e.length+4+t.length+4+n.length+4+r.length);v(i,7,0),i.utf8Write("ssh-dss",4,7);let o=11;return v(i,e.length,o),i.set(e,o+=4),v(i,t.length,o+=e.length),i.set(t,o+=4),v(i,n.length,o+=t.length),i.set(n,o+=4),v(i,r.length,o+=n.length),i.set(r,o+4),i}function M(e,t,n,r,i){const o=new f.Writer;return o.startSequence(),o.writeInt(0,f.Integer),o.writeBuffer(e,f.Integer),o.writeBuffer(t,f.Integer),o.writeBuffer(n,f.Integer),o.writeBuffer(r,f.Integer),o.writeBuffer(i,f.Integer),o.endSequence(),k("DSA PRIVATE",o.buffer)}function L(e){const t=new f.Writer;return t.startSequence(),t.startSequence(),t.writeOID("1.3.101.112"),t.endSequence(),t.startSequence(f.BitString),t.writeByte(0),t._ensure(e.length),t._buf.set(e,t._offset),t._offset+=e.length,t.endSequence(),t.endSequence(),k("PUBLIC",t.buffer)}function j(e){const t=Buffer.allocUnsafe(19+e.length);return v(t,11,0),t.utf8Write("ssh-ed25519",4,11),v(t,e.length,15),t.set(e,19),t}function U(e){const t=new f.Writer;return t.startSequence(),t.writeInt(0,f.Integer),t.startSequence(),t.writeOID("1.3.101.112"),t.endSequence(),t.startSequence(f.OctetString),t.writeBuffer(e,f.OctetString),t.endSequence(),t.endSequence(),k("PRIVATE",t.buffer)}function H(e,t){const n=new f.Writer;return n.startSequence(),n.startSequence(),n.writeOID("1.2.840.10045.2.1"),n.writeOID(e),n.endSequence(),n.startSequence(f.BitString),n.writeByte(0),n._ensure(t.length),n._buf.set(t,n._offset),n._offset+=t.length,n.endSequence(),n.endSequence(),k("PUBLIC",n.buffer)}function G(e,t){let n;switch(e){case"1.2.840.10045.3.1.7":n="nistp256";break;case"1.3.132.0.34":n="nistp384";break;case"1.3.132.0.35":n="nistp521";break;default:return}const r=Buffer.allocUnsafe(39+t.length);return v(r,19,0),r.utf8Write(`ecdsa-sha2-${n}`,4,19),v(r,8,23),r.utf8Write(n,27,8),v(r,t.length,35),r.set(t,39),r}function K(e,t,n){const r=new f.Writer;return r.startSequence(),r.writeInt(1,f.Integer),r.writeBuffer(n,f.OctetString),r.startSequence(160),r.writeOID(e),r.endSequence(),r.startSequence(161),r.startSequence(f.BitString),r.writeByte(0),r._ensure(t.length),r._buf.set(t,r._offset),r._offset+=t.length,r.endSequence(),r.endSequence(),r.endSequence(),k("EC PRIVATE",r.buffer)}const J={sign:"function"==typeof u?function(e,t){const n=this[I];if(null===n)return new Error("No private key available");t&&"string"==typeof t||(t=this[E]);try{return u(t,e,n)}catch(e){return e}}:function(e,t){const n=this[I];if(null===n)return new Error("No private key available");t&&"string"==typeof t||(t=this[E]);const r=a(t);r.update(e);try{return r.sign(n)}catch(e){return e}},verify:"function"==typeof d?function(e,t,n){const r=this[w];if(null===r)return new Error("No public key available");n&&"string"==typeof n||(n=this[E]);try{return d(n,e,r,t)}catch(e){return e}}:function(e,t,n){const r=this[w];if(null===r)return new Error("No public key available");n&&"string"==typeof n||(n=this[E]);const i=c(n);i.update(e);try{return i.verify(r,t)}catch(e){return e}},isPrivateKey:function(){return null!==this[I]},getPrivatePEM:function(){return this[I]},getPublicPEM:function(){return this[w]},getPublicSSH:function(){return this[S]},equals:function(e){const t=ee(e);return!(t instanceof Error)&&(this.type===t.type&&this[I]===t[I]&&this[w]===t[w]&&this[S]===t[S])}};function W(e,t,n,r,i,o,s){this.type=e,this.comment=t,this[I]=n,this[w]=r,this[S]=i,this[E]=o,this[B]=s}W.prototype=J;{const ie=/^-----BEGIN OPENSSH PRIVATE KEY-----(?:\r\n|\n)([\s\S]+)(?:\r\n|\n)-----END OPENSSH PRIVATE KEY-----$/;function oe(e,t,n){const r=[];if(e.length<8)return new Error("Malformed OpenSSH private key");if(C(e,0)!==C(e,4))return n?new Error("OpenSSH key integrity check failed -- bad passphrase?"):new Error("OpenSSH key integrity check failed");let i,o;for(e._pos=8,i=0;i<t;++i){let t,i,s,a;const c=b(e,e._pos,!0);if(void 0===c)return new Error("Malformed OpenSSH private key");switch(c){case"ssh-rsa":{const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH private key");const o=b(e,e._pos);if(void 0===o)return new Error("Malformed OpenSSH private key");const c=b(e,e._pos);if(void 0===c)return new Error("Malformed OpenSSH private key");const l=b(e,e._pos);if(void 0===l)return new Error("Malformed OpenSSH private key");const u=b(e,e._pos);if(void 0===u)return new Error("Malformed OpenSSH private key");s=R(n,r),a=N(n,r),i=P(n,r,o,c,l,u),t="sha1";break}case"ssh-dss":{const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH private key");const o=b(e,e._pos);if(void 0===o)return new Error("Malformed OpenSSH private key");const c=b(e,e._pos);if(void 0===c)return new Error("Malformed OpenSSH private key");const l=b(e,e._pos);if(void 0===l)return new Error("Malformed OpenSSH private key");s=O(n,r,o,c),a=F(n,r,o,c),i=M(n,r,o,c,l),t="sha1";break}case"ssh-ed25519":{if(!m)return new Error(`Unsupported OpenSSH private key type: ${c}`);const n=b(e,e._pos);if(void 0===n||32!==n.length)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r||64!==r.length)return new Error("Malformed OpenSSH private key");s=L(n),a=j(n),i=U(y(r,0,32)),t=null;break}case"ecdsa-sha2-nistp256":t="sha256",o="1.2.840.10045.3.1.7";case"ecdsa-sha2-nistp384":void 0===t&&(t="sha384",o="1.3.132.0.34");case"ecdsa-sha2-nistp521":{if(void 0===t&&(t="sha512",o="1.3.132.0.35"),!Q(e,1))return new Error("Malformed OpenSSH private key");const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH private key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH private key");s=H(o,n),a=G(o,n),i=K(o,n,r);break}default:return new Error(`Unsupported OpenSSH private key type: ${c}`)}const l=b(e,e._pos,!0);if(void 0===l)return new Error("Malformed OpenSSH private key");r.push(new W(c,l,i,s,a,t,n))}let s=0;for(i=e._pos;i<e.length;++i)if(e[i]!==++s%255)return new Error("Malformed OpenSSH private key");return r}W.parse=(e,t)=>{const n=ie.exec(e);if(null===n)return null;let i;const o=Buffer.from(n[1],"base64");if(o.length<31)return new Error("Malformed OpenSSH private key");const s=o.utf8Slice(0,15);if("openssh-key-v1\0"!==s)return new Error(`Unsupported OpenSSH key magic: ${s}`);const a=b(o,15,!0);if(void 0===a)return new Error("Malformed OpenSSH private key");if("none"!==a&&-1===g.indexOf(a))return new Error(`Unsupported cipher for OpenSSH key: ${a}`);const c=b(o,o._pos,!0);if(void 0===c)return new Error("Malformed OpenSSH private key");if("none"!==c){if("none"===a)return new Error("Malformed OpenSSH private key");if("bcrypt"!==c)return new Error(`Unsupported kdf name for OpenSSH key: ${c}`);if(!t)return new Error("Encrypted private OpenSSH key detected, but no passphrase given")}else if("none"!==a)return new Error("Malformed OpenSSH private key");let l,u,d;"none"!==a&&(l=A[a]);const p=b(o,o._pos);if(void 0===p)return new Error("Malformed OpenSSH private key");if(p.length)switch(c){case"none":return new Error("Malformed OpenSSH private key");case"bcrypt":{const e=b(p,0);if(void 0===e||p._pos+4>p.length)return new Error("Malformed OpenSSH private key");const n=C(p,p._pos),r=Buffer.allocUnsafe(l.keyLen+l.ivLen);if(0!==h(t,t.length,e,e.length,r,r.length,n))return new Error("Failed to generate information to decrypt key");u=y(r,0,l.keyLen),d=y(r,l.keyLen,r.length);break}}else if("none"!==c)return new Error("Malformed OpenSSH private key");if(o._pos+3>=o.length)return new Error("Malformed OpenSSH private key");const f=C(o,o._pos);if(o._pos+=4,f>0){for(let e=0;e<f;++e){const e=b(o,o._pos);if(void 0===e)return new Error("Malformed OpenSSH private key");if(void 0===b(e,0,!0))return new Error("Malformed OpenSSH private key")}let e=b(o,o._pos);if(void 0===e)return new Error("Malformed OpenSSH private key");if(void 0!==u){if(e.length<l.blockLen||e.length%l.blockLen!=0)return new Error("Malformed OpenSSH private key");try{const t={authTagLength:l.authLen},n=r(l.sslName,u,d,t);if(n.setAutoPadding(!1),l.authLen>0){if(o.length-o._pos<l.authLen)return new Error("Malformed OpenSSH private key");n.setAuthTag(y(o,o._pos,o._pos+=l.authLen))}e=D(n.update(e),n.final())}catch(e){return e}}if(o._pos!==o.length)return new Error("Malformed OpenSSH private key");i=oe(e,f,void 0!==u)}else i=[];return i instanceof Error?i:i[0]}}function q(e,t,n,r,i,o,s){this.type=e,this.comment=t,this[I]=n,this[w]=r,this[S]=i,this[E]=o,this[B]=s}q.prototype=J;{const se=/^-----BEGIN (RSA|DSA|EC) PRIVATE KEY-----(?:\r\n|\n)((?:[^:]+:\s*[\S].*(?:\r\n|\n))*)([\s\S]+)(?:\r\n|\n)-----END (RSA|DSA|EC) PRIVATE KEY-----$/;q.parse=(e,t)=>{const n=se.exec(e);if(null===n)return null;let s,a,c,l,u,d,h=Buffer.from(n[3],"base64"),A=n[2],m=!1;if(void 0!==A){A=A.split(/\r\n|\n/g);for(let e=0;e<A.length;++e){const n=A[e];let i=n.indexOf(":");if("DEK-Info"===n.slice(0,i)){const e=n.slice(i+2);if(i=e.indexOf(","),-1===i)continue;const s=e.slice(0,i).toLowerCase();if(-1===p.indexOf(s))return new Error(`Cipher (${s}) not supported for encrypted OpenSSH private key`);const a=x[s];if(!a)return new Error(`Cipher (${s}) not supported for encrypted OpenSSH private key`);const c=Buffer.from(e.slice(i+1),"hex");if(c.length!==a.ivLen)return new Error("Malformed encrypted OpenSSH private key");if(!t)return new Error("Encrypted OpenSSH private key detected, but no passphrase given");const l=y(c,0,8);let u=o("md5").update(t).update(l).digest();for(;u.length<a.keyLen;)u=D(u,o("md5").update(u).update(t).update(l).digest());u.length>a.keyLen&&(u=y(u,0,a.keyLen));try{const e=r(s,u,c);e.setAutoPadding(!1),h=D(e.update(h),e.final()),m=!0}catch(e){return e}}}}let g="Malformed OpenSSH private key";switch(m&&(g+=". Bad passphrase?"),n[1]){case"RSA":s="ssh-rsa",a=k("RSA PRIVATE",h);try{d=new f.Reader(h),d.readSequence(),d.readInt();const e=d.readString(f.Integer,!0);if(null===e)return new Error(g);const t=d.readString(f.Integer,!0);if(null===t)return new Error(g);c=R(e,t),l=N(e,t)}catch{return new Error(g)}u="sha1";break;case"DSA":s="ssh-dss",a=k("DSA PRIVATE",h);try{d=new f.Reader(h),d.readSequence(),d.readInt();const e=d.readString(f.Integer,!0);if(null===e)return new Error(g);const t=d.readString(f.Integer,!0);if(null===t)return new Error(g);const n=d.readString(f.Integer,!0);if(null===n)return new Error(g);const r=d.readString(f.Integer,!0);if(null===r)return new Error(g);c=O(e,t,n,r),l=F(e,t,n,r)}catch{return new Error(g)}u="sha1";break;case"EC":{let e,t,n;try{d=new f.Reader(h),d.readSequence(),d.readInt(),t=d.readString(f.OctetString,!0),d.readByte();const r=d.readLength();if(null===r)return new Error(g);if(d._offset=r,n=d.readOID(),null===n)return new Error(g);switch(n){case"1.2.840.10045.3.1.7":e="prime256v1",s="ecdsa-sha2-nistp256",u="sha256";break;case"1.3.132.0.34":e="secp384r1",s="ecdsa-sha2-nistp384",u="sha384";break;case"1.3.132.0.35":e="secp521r1",s="ecdsa-sha2-nistp521",u="sha512";break;default:return new Error(`Unsupported private key EC OID: ${n}`)}}catch{return new Error(g)}a=k("EC PRIVATE",h);const r=function(e,t){const n=i(e);return n.setPrivateKey(t),n.getPublicKey()}(e,t);c=H(n,r),l=G(n,r);break}}return new q(s,"",a,c,l,u,m)}}function V(e,t,n,r,i,o,s){this.type=e,this.comment=t,this[I]=n,this[w]=r,this[S]=i,this[E]=o,this[B]=s}V.prototype=J;{const ae=Buffer.alloc(0),ce=Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),le=Buffer.from([0,0,0,0]),ue=Buffer.from([0,0,0,1]),de=/^PuTTY-User-Key-File-2: (ssh-(?:rsa|dss))\r?\nEncryption: (aes256-cbc|none)\r?\nComment: ([^\r\n]*)\r?\nPublic-Lines: \d+\r?\n([\s\S]+?)\r?\nPrivate-Lines: \d+\r?\n([\s\S]+?)\r?\nPrivate-MAC: ([^\r\n]+)/;V.parse=(e,t)=>{const n=de.exec(e);if(null===n)return null;const i=n[2],a="none"!==i;if(a&&!t)return new Error("Encrypted PPK private key detected, but no passphrase given");let c=Buffer.from(n[5],"base64");if(a){const e=A[i];let n=D(o("sha1").update(le).update(t).digest(),o("sha1").update(ue).update(t).digest());n.length>e.keyLen&&(n=y(n,0,e.keyLen));try{const t=r(e.sslName,n,ce);t.setAutoPadding(!1),c=D(t.update(c),t.final())}catch(e){return e}}const l=n[1],u=n[3],d=Buffer.from(n[4],"base64"),p=n[6],f=l.length,h=i.length,m=Buffer.byteLength(u),g=d.length,_=c.length,C=Buffer.allocUnsafe(4+f+4+h+4+m+4+g+4+_);let E=0;v(C,f,E),C.utf8Write(l,E+=4,f),v(C,h,E+=f),C.utf8Write(i,E+=4,h),v(C,m,E+=h),C.utf8Write(u,E+=4,m),v(C,g,E+=m),C.set(d,E+=4),v(C,_,E+=g),C.set(c,E+4),t||(t=ae);if(s("sha1",o("sha1").update("putty-private-key-file-mac-key").update(t).digest()).update(C).digest("hex")!==p)return a?new Error("PPK private key integrity check failed -- bad passphrase?"):new Error("PPK private key integrity check failed");let I,w,S;switch(d._pos=0,Q(d,1),l){case"ssh-rsa":{const e=b(d,d._pos);if(void 0===e)return new Error("Malformed PPK public key");const t=b(d,d._pos);if(void 0===t)return new Error("Malformed PPK public key");const n=b(c,0);if(void 0===n)return new Error("Malformed PPK private key");const r=b(c,c._pos);if(void 0===r)return new Error("Malformed PPK private key");const i=b(c,c._pos);if(void 0===i)return new Error("Malformed PPK private key");const o=b(c,c._pos);if(void 0===o)return new Error("Malformed PPK private key");I=R(t,e),w=N(t,e),S=P(t,e,n,o,r,i);break}case"ssh-dss":{const e=b(d,d._pos);if(void 0===e)return new Error("Malformed PPK public key");const t=b(d,d._pos);if(void 0===t)return new Error("Malformed PPK public key");const n=b(d,d._pos);if(void 0===n)return new Error("Malformed PPK public key");const r=b(d,d._pos);if(void 0===r)return new Error("Malformed PPK public key");const i=b(c,0);if(void 0===i)return new Error("Malformed PPK private key");I=O(e,t,n,r),w=F(e,t,n,r),S=M(e,t,n,r,i);break}}return new V(l,u,S,I,w,"sha1",a)}}function z(e,t,n,r,i){this.type=e,this.comment=t,this[I]=null,this[w]=n,this[S]=r,this[E]=i,this[B]=!1}z.prototype=J;{let pe;pe=m?/^(((?:ssh-(?:rsa|dss|ed25519))|ecdsa-sha2-nistp(?:256|384|521))(?:-cert-v0[01]@openssh.com)?) ([A-Z0-9a-z/+=]+)(?:$|\s+([\S].*)?)$/:/^(((?:ssh-(?:rsa|dss))|ecdsa-sha2-nistp(?:256|384|521))(?:-cert-v0[01]@openssh.com)?) ([A-Z0-9a-z/+=]+)(?:$|\s+([\S].*)?)$/,z.parse=e=>{const t=pe.exec(e);if(null===t)return null;const n=t[1],r=t[2],i=Buffer.from(t[3],"base64"),o=t[4]||"",s=b(i,i._pos,!0);return void 0===s||0!==s.indexOf(r)?new Error("Malformed OpenSSH public key"):$(i,r,o,n)}}function Y(e,t,n,r,i){this.type=e,this.comment=t,this[I]=null,this[w]=n,this[S]=r,this[E]=i,this[B]=!1}Y.prototype=J;{const fe=/^---- BEGIN SSH2 PUBLIC KEY ----(?:\r?\n)((?:.{0,72}\r?\n)+)---- END SSH2 PUBLIC KEY ----$/,he=/^[A-Z0-9a-z/+=\r\n]+$/,Ae=/^([\x21-\x39\x3B-\x7E]{1,64}): ((?:[^\\]*\\\r?\n)*[^\r\n]+)\r?\n/gm,me=/\\\r?\n/g;Y.parse=e=>{let t=fe.exec(e);if(null===t)return null;const n=t[1];let r=0,i="";for(;t=Ae.exec(n);){const e=t[1],n=t[2].replace(me,"");if(n.length>1024)return Ae.lastIndex=0,new Error("Malformed RFC4716 public key");r=Ae.lastIndex,"comment"===e.toLowerCase()&&(i=n,i.length>1&&34===i.charCodeAt(0)&&34===i.charCodeAt(i.length-1)&&(i=i.slice(1,-1)))}let o=n.slice(r);if(!he.test(o))return new Error("Malformed RFC4716 public key");o=Buffer.from(o,"base64");const s=b(o,0,!0);if(void 0===s)return new Error("Malformed RFC4716 public key");let a=null,c=null;switch(s){case"ssh-rsa":{const e=b(o,o._pos);if(void 0===e)return new Error("Malformed RFC4716 public key");const t=b(o,o._pos);if(void 0===t)return new Error("Malformed RFC4716 public key");a=R(t,e),c=N(t,e);break}case"ssh-dss":{const e=b(o,o._pos);if(void 0===e)return new Error("Malformed RFC4716 public key");const t=b(o,o._pos);if(void 0===t)return new Error("Malformed RFC4716 public key");const n=b(o,o._pos);if(void 0===n)return new Error("Malformed RFC4716 public key");const r=b(o,o._pos);if(void 0===r)return new Error("Malformed RFC4716 public key");a=O(e,t,n,r),c=F(e,t,n,r);break}default:return new Error("Malformed RFC4716 public key")}return new Y(s,i,a,c,"sha1")}}function $(e,t,n,r){if(!X(t))return new Error(`Unsupported OpenSSH public key type: ${t}`);let i,o,s=null,a=null;switch(t){case"ssh-rsa":{const t=b(e,e._pos||0);if(void 0===t)return new Error("Malformed OpenSSH public key");const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH public key");s=R(n,t),a=N(n,t),i="sha1";break}case"ssh-dss":{const t=b(e,e._pos||0);if(void 0===t)return new Error("Malformed OpenSSH public key");const n=b(e,e._pos);if(void 0===n)return new Error("Malformed OpenSSH public key");const r=b(e,e._pos);if(void 0===r)return new Error("Malformed OpenSSH public key");const o=b(e,e._pos);if(void 0===o)return new Error("Malformed OpenSSH public key");s=O(t,n,r,o),a=F(t,n,r,o),i="sha1";break}case"ssh-ed25519":{const t=b(e,e._pos||0);if(void 0===t||32!==t.length)return new Error("Malformed OpenSSH public key");s=L(t),a=j(t),i=null;break}case"ecdsa-sha2-nistp256":i="sha256",o="1.2.840.10045.3.1.7";case"ecdsa-sha2-nistp384":void 0===i&&(i="sha384",o="1.3.132.0.34");case"ecdsa-sha2-nistp521":{if(void 0===i&&(i="sha512",o="1.3.132.0.35"),!Q(e,1))return new Error("Malformed OpenSSH public key");const t=b(e,e._pos||0);if(void 0===t)return new Error("Malformed OpenSSH public key");s=H(o,t),a=G(o,t);break}default:return new Error(`Unsupported OpenSSH public key type: ${t}`)}return new z(r,n,s,a,i)}function X(e){switch(e){case"ssh-rsa":case"ssh-dss":case"ecdsa-sha2-nistp256":case"ecdsa-sha2-nistp384":case"ecdsa-sha2-nistp521":return!0;case"ssh-ed25519":if(m)return!0;default:return!1}}function Z(e){return!!e&&"boolean"==typeof e[B]}function ee(e,t){if(Z(e))return e;let n,r;if(Buffer.isBuffer(e))n=e,e=e.utf8Slice(0,e.length).trim();else{if("string"!=typeof e)return new Error("Key data must be a Buffer or string");e=e.trim()}if(null!=t)if("string"==typeof t)t=Buffer.from(t);else if(!Buffer.isBuffer(t))return new Error("Passphrase must be a string or Buffer when supplied");if(null!==(r=W.parse(e,t)))return r;if(null!==(r=q.parse(e,t)))return r;if(null!==(r=V.parse(e,t)))return r;if(null!==(r=z.parse(e)))return r;if(null!==(r=Y.parse(e)))return r;if(n){T.init(n,0);const t=T.readString(!0);void 0!==t&&void 0!==(e=T.readRaw())&&(r=$(e,t,"",t),r instanceof Error&&(r=null)),T.clear()}return r||new Error("Unsupported key format")}e.exports={isParsedKey:Z,isSupportedKeyType:X,parseDERKey:(e,t)=>$(e,t,"",t),parseKey:ee}},2025:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visit=t.use=t.Type=t.someField=t.PathVisitor=t.Path=t.NodePath=t.namedTypes=t.getSupertypeNames=t.getFieldValue=t.getFieldNames=t.getBuilderName=t.finalize=t.eachField=t.defineMethod=t.builtInTypes=t.builders=t.astNodesAreEquivalent=void 0;var r=n(66846),i=r.__importDefault(n(97560)),o=r.__importDefault(n(96167)),s=r.__importDefault(n(13556)),a=r.__importDefault(n(29435)),c=r.__importDefault(n(35040)),l=r.__importDefault(n(85223)),u=r.__importDefault(n(87276)),d=r.__importDefault(n(23141)),p=r.__importDefault(n(11598)),f=r.__importDefault(n(73387)),h=r.__importDefault(n(83450)),A=n(40481);Object.defineProperty(t,"namedTypes",{enumerable:!0,get:function(){return A.namedTypes}});var m=i.default([o.default,s.default,a.default,c.default,l.default,u.default,d.default,p.default,f.default,h.default]),g=m.astNodesAreEquivalent,y=m.builders,_=m.builtInTypes,b=m.defineMethod,C=m.eachField,v=m.finalize,E=m.getBuilderName,I=m.getFieldNames,w=m.getFieldValue,S=m.getSupertypeNames,B=m.namedTypes,x=m.NodePath,T=m.Path,k=m.PathVisitor,D=m.someField,Q=m.Type,R=m.use,N=m.visit;t.astNodesAreEquivalent=g,t.builders=y,t.builtInTypes=_,t.defineMethod=b,t.eachField=C,t.finalize=v,t.getBuilderName=E,t.getFieldNames=I,t.getFieldValue=w,t.getSupertypeNames=S,t.NodePath=x,t.Path=T,t.PathVisitor=k,t.someField=D,t.Type=Q,t.use=R,t.visit=N,Object.assign(A.namedTypes,B)},2056:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MongoClient=t.ServerApiVersion=void 0;const r=n(79896),i=n(28404),o=n(64629),s=n(53290),a=n(52005),c=n(23979),l=n(55537),u=n(48612),d=n(31721),p=n(33692),f=n(39502),h=n(14676),A=n(17687),m=n(26102),g=n(99103),y=n(33750),_=n(81510),b=n(22272),C=n(73226),v=n(77048),E=n(53131),I=n(76807),w=n(11885);t.ServerApiVersion=Object.freeze({v1:"1"});class MongoClient extends m.TypedEventEmitter{constructor(e,t){super(),this.on("error",w.noop),this.options=(0,u.parseOptions)(e,this,t);const n=Object.values(this.options.mongoLoggerOptions.componentSeverities).some((e=>e!==A.SeverityLevel.OFF));this.mongoLogger=n?new A.MongoLogger(this.options.mongoLoggerOptions):void 0;const r=this;this.s={url:e,bsonOptions:(0,i.resolveBSONOptions)(this.options),namespace:(0,w.ns)("admin"),hasBeenClosed:!1,sessionPool:new I.ServerSessionPool(this),activeSessions:new Set,activeCursors:new Set,authProviders:new h.MongoClientAuthProviders,get options(){return r.options},get readConcern(){return r.options.readConcern},get writeConcern(){return r.options.writeConcern},get readPreference(){return r.options.readPreference},get isMongoClient(){return!0}},this.checkForNonGenuineHosts()}async asyncDispose(){await this.close()}appendMetadata(e){this.options.additionalDriverInfo.push(e),this.options.metadata=(0,c.makeClientMetadata)(this.options),this.options.extendedMetadata=(0,c.addContainerMetadata)(this.options.metadata).then(void 0,w.squashError).then((e=>e??{}))}checkForNonGenuineHosts(){const e=this.options.hosts.filter((e=>(0,w.isHostMatch)(w.DOCUMENT_DB_CHECK,e.host))),t=(0,w.isHostMatch)(w.DOCUMENT_DB_CHECK,this.options.srvHost),n=this.options.hosts.filter((e=>(0,w.isHostMatch)(w.COSMOS_DB_CHECK,e.host))),r=(0,w.isHostMatch)(w.COSMOS_DB_CHECK,this.options.srvHost);0!==e.length||t?this.mongoLogger?.info("client",w.DOCUMENT_DB_MSG):(0!==n.length||r)&&this.mongoLogger?.info("client",w.COSMOS_DB_MSG)}get serverApi(){return this.options.serverApi&&Object.freeze({...this.options.serverApi})}get monitorCommands(){return this.options.monitorCommands}set monitorCommands(e){this.options.monitorCommands=e}get autoEncrypter(){return this.options.autoEncrypter}get readConcern(){return this.s.readConcern}get writeConcern(){return this.s.writeConcern}get readPreference(){return this.s.readPreference}get bsonOptions(){return this.s.bsonOptions}get timeoutMS(){return this.s.options.timeoutMS}async bulkWrite(e,t){if(this.autoEncrypter)throw new f.MongoInvalidArgumentError("MongoClient bulkWrite does not currently support automatic encryption.");return await new g.ClientBulkWriteExecutor(this,e,(0,w.resolveOptions)(this,t)).execute()}async connect(){if(this.connectionLock)return await this.connectionLock;try{this.connectionLock=this._connect(),await this.connectionLock}finally{this.connectionLock=void 0}return this}async _connect(){if(this.topology&&this.topology.isConnected())return this;const e=this.options;if(e.tls&&("string"==typeof e.tlsCAFile&&(e.ca??=await r.promises.readFile(e.tlsCAFile)),"string"==typeof e.tlsCRLFile&&(e.crl??=await r.promises.readFile(e.tlsCRLFile)),!("string"!=typeof e.tlsCertificateKeyFile||e.key&&e.cert))){const t=await r.promises.readFile(e.tlsCertificateKeyFile);e.key??=t,e.cert??=t}if("string"==typeof e.srvHost){const t=await(0,u.resolveSRVRecord)(e);for(const[n,r]of t.entries())e.hosts[n]=r}if(e.credentials?.mechanism===a.AuthMechanism.MONGODB_OIDC){const t=e.credentials?.mechanismProperties?.ALLOWED_HOSTS||s.DEFAULT_ALLOWED_HOSTS;if(!!!e.credentials?.mechanismProperties?.ENVIRONMENT)for(const n of e.hosts)if(!(0,w.hostMatchesWildcards)(n.toHostPort().host,t))throw new f.MongoInvalidArgumentError(`Host '${n}' is not valid for OIDC authentication with ALLOWED_HOSTS of '${t.join(",")}'`)}this.topology=new E.Topology(this,e.hosts,e),this.topology.once(E.Topology.OPEN,(()=>this.emit("open",this)));for(const e of d.MONGO_CLIENT_EVENTS)this.topology.on(e,((...t)=>this.emit(e,...t)));const t=async()=>{try{await(this.topology?.connect(e))}catch(e){throw this.topology?.close(),e}};return this.autoEncrypter?(await(this.autoEncrypter?.init()),await t(),await e.encrypter.connectInternalClient()):await t(),this}async close(e=!1){if(this.closeLock)return await this.closeLock;try{this.closeLock=this._close(),await this.closeLock}finally{this.closeLock=void 0}}async _close(){Object.defineProperty(this.s,"hasBeenClosed",{value:!0,enumerable:!0,configurable:!1,writable:!1}),this.topology?.closeCheckedOutConnections();const e=Array.from(this.s.activeCursors,(e=>e.close()));this.s.activeCursors.clear(),await Promise.all(e);const t=Array.from(this.s.activeSessions,(e=>e.endSession()));if(this.s.activeSessions.clear(),await Promise.all(t),null==this.topology)return;const n=(0,v.readPreferenceServerSelector)(b.ReadPreference.primaryPreferred),r=this.topology.description,i=Array.from(r.servers.values());if(0!==n(r,i).length){const e=Array.from(this.s.sessionPool.sessions,(({id:e})=>e));if(0!==e.length)try{class EndSessionsOperation extends _.AbstractOperation{constructor(){super(...arguments),this.ns=w.MongoDBNamespace.fromString("admin.$cmd"),this.SERVER_COMMAND_RESPONSE_TYPE=l.MongoDBResponse}buildCommand(t,n){return{endSessions:e}}buildOptions(e){return{timeoutContext:e,readPreference:b.ReadPreference.primaryPreferred,noResponse:!0}}get commandName(){return"endSessions"}}await(0,y.executeOperation)(this,new EndSessionsOperation)}catch(e){(0,w.squashError)(e)}}const o=this.topology;this.topology=void 0,o.close();const{encrypter:s}=this.options;s&&await s.close(this)}db(e,t){t=t??{},e||(e=this.s.options.dbName);const n=Object.assign({},this.options,t);return new p.Db(this,e,n)}static async connect(e,t){const n=new this(e,t);return await n.connect()}startSession(e){const t=new I.ClientSession(this,this.s.sessionPool,{explicit:!0,...e},this.options);return this.s.activeSessions.add(t),t.once("ended",(()=>{this.s.activeSessions.delete(t)})),t}async withSession(e,t){const n={owner:Symbol(),..."object"==typeof e?e:{}},r="function"==typeof e?e:t;if(null==r)throw new f.MongoInvalidArgumentError("Missing required callback parameter");const i=this.startSession(n);try{return await r(i)}finally{try{await i.endSession()}catch(e){(0,w.squashError)(e)}}}watch(e=[],t={}){return Array.isArray(e)||(t=e,e=[]),new o.ChangeStream(this,e,(0,w.resolveOptions)(this,t))}}t.MongoClient=MongoClient,(0,C.configureResourceManagement)(MongoClient.prototype)},2103:(e,t,n)=>{"use strict";n.d(t,{qs:()=>_,kN:()=>C,ey:()=>T,$z:()=>b,j7:()=>x});var r=n(94134),i=n(47624),o=n(1535),s=n(76982),a=n.n(s);const c={randomUUID:a().randomUUID},l=new Uint8Array(256);let u=l.length;function d(){return u>l.length-16&&(a().randomFillSync(l),u=0),l.slice(u,u+=16)}const p=[];for(let e=0;e<256;++e)p.push((e+256).toString(16).slice(1));function f(e,t=0){return p[e[t+0]]+p[e[t+1]]+p[e[t+2]]+p[e[t+3]]+"-"+p[e[t+4]]+p[e[t+5]]+"-"+p[e[t+6]]+p[e[t+7]]+"-"+p[e[t+8]]+p[e[t+9]]+"-"+p[e[t+10]]+p[e[t+11]]+p[e[t+12]]+p[e[t+13]]+p[e[t+14]]+p[e[t+15]]}const h=function(e,t,n){if(c.randomUUID&&!t&&!e)return c.randomUUID();const r=(e=e||{}).random||(e.rng||d)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return f(r)},A=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);var m=n(42952);const g="AWS_MAX_ATTEMPTS",y="max_attempts",_={environmentVariableSelector:e=>{const t=e[g];if(!t)return;const n=parseInt(t);if(Number.isNaN(n))throw new Error(`Environment variable ${g} mast be a number, got "${t}"`);return n},configFileSelector:e=>{const t=e[y];if(!t)return;const n=parseInt(t);if(Number.isNaN(n))throw new Error(`Shared config file entry ${y} mast be a number, got "${t}"`);return n},default:r.Gz},b=e=>{const{retryStrategy:t}=e,n=(0,m.t)(e.maxAttempts??r.Gz);return{...e,maxAttempts:n,retryStrategy:async()=>{if(t)return t;return await(0,m.t)(e.retryMode)()===r.cm.ADAPTIVE?new r.Y(n):new r.ru(n)}}},C={environmentVariableSelector:e=>e.AWS_RETRY_MODE,configFileSelector:e=>e.retry_mode,default:r.L0};var v=n(1802),E=n(2203);const I=e=>e?.body instanceof E.Readable||"undefined"!=typeof ReadableStream&&e?.body instanceof ReadableStream,w=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,S=e=>{const t={error:e,errorType:B(e)},n=k(e.$response);return n&&(t.retryAfterHint=n),t},B=e=>(0,o.Qb)(e)?"THROTTLING":(0,o.bV)(e)?"TRANSIENT":(0,o.GQ)(e)?"SERVER_ERROR":"CLIENT_ERROR",x={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},T=e=>({applyToStack:t=>{t.add((e=>(t,n)=>async o=>{let s=await e.retryStrategy();const a=await e.maxAttempts();if(!w(s))return s?.mode&&(n.userAgent=[...n.userAgent||[],["cfg/retry-mode",s.mode]]),s.retry(t,o);{let e=await s.acquireInitialRetryToken(n.partition_id),c=new Error,l=0,u=0;const{request:d}=o,p=i.Kd.isInstance(d);for(p&&(d.headers[r.l5]=h());;)try{p&&(d.headers[r.ok]=`attempt=${l+1}; max=${a}`);const{response:n,output:i}=await t(o);return s.recordSuccess(e),i.$metadata.attempts=l+1,i.$metadata.totalRetryDelay=u,{response:n,output:i}}catch(t){const r=S(t);if(c=A(t),p&&I(d))throw(n.logger instanceof v.N4?console:n.logger)?.warn("An error was encountered in a non-retryable streaming request."),c;try{e=await s.refreshRetryTokenForRetry(e,r)}catch(e){throw c.$metadata||(c.$metadata={}),c.$metadata.attempts=l+1,c.$metadata.totalRetryDelay=u,c}l=e.getRetryCount();const i=e.getRetryDelay();u+=i,await new Promise((e=>setTimeout(e,i)))}}})(e),x)}}),k=e=>{if(!i.cS.isInstance(e))return;const t=Object.keys(e.headers).find((e=>"retry-after"===e.toLowerCase()));if(!t)return;const n=e.headers[t],r=Number(n);if(!Number.isNaN(r))return new Date(1e3*r);return new Date(n)}},2151:(e,t,n)=>{"use strict";const r=n(87111).fromPromise,i=n(51012);e.exports={pathExists:r((function(e){return i.access(e).then((()=>!0)).catch((()=>!1))})),pathExistsSync:i.existsSync}},2203:e=>{"use strict";e.exports=require("stream")},2226:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.generate=s;var r=n(9305),i=n(82475);function o(e,t,n){if(t.experimental_preserveFormat){if("string"!=typeof e)throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!t.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(t.compact&&"auto"!==t.compact)throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(t.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(t.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(n.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,preserveFormat:t.experimental_preserveFormat,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),topicToken:t.topicToken,importAttributesKeyword:t.importAttributesKeyword};var i;r.decoratorsBeforeExport=t.decoratorsBeforeExport,r.jsescOption.json=t.jsonCompatibleStrings,r.recordAndTupleSyntaxType=null!=(i=t.recordAndTupleSyntaxType)?i:"hash",r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.includes("@license")||e.includes("@preserve")),"auto"===r.compact&&(r.compact="string"==typeof e&&e.length>5e5,r.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${t.filename} as it exceeds the max of 500KB.`)),(r.compact||r.preserveFormat)&&(r.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:o,auxiliaryCommentAfter:s,shouldPrintComment:a}=r;return o&&!a(o)&&(r.auxiliaryCommentBefore=void 0),s&&!a(s)&&(r.auxiliaryCommentAfter=void 0),r}function s(e,t={},n){const s=o(n,t,e),a=t.sourceMaps?new r.default(t,n):null;return new i.default(s,a,e.tokens,"string"==typeof n?n:null).generate(e)}t.CodeGenerator=class CodeGenerator{constructor(e,t={},n){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=o(n,t,e),this._map=t.sourceMaps?new r.default(t,n):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}};t.default=s},2285:(e,t,n)=>{"use strict";function r(){const e=n(16928);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=f,t.loadPartialConfig=function*(e){let t=!1;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var n=e;({showIgnoredFiles:t}=n),e=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(n,p)}const r=yield*f(e);if(!r)return null;const{options:o,babelrc:s,ignore:a,config:c,fileHandling:l,files:u}=r;if("ignored"===l&&!t)return null;return(o.plugins||[]).forEach((e=>{if(e.value instanceof i.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")})),new PartialConfig(o,s?s.filepath:void 0,a?a.filepath:void 0,c?c.filepath:void 0,l,u)};var i=n(27157),o=n(19538),s=n(88081),a=n(18664),c=n(21199),l=n(28336),u=n(95584),d=n(30791);const p=["showIgnoredFiles"];function*f(e){if(null!=e&&("object"!=typeof e||Array.isArray(e)))throw new Error("Babel options must be an object, null, or undefined");const t=e?(0,l.validate)("arguments",e):{},{envName:n=(0,c.getEnv)(),cwd:i=".",root:p=".",rootMode:f="root",caller:h,cloneInputAst:A=!0}=t,m=r().resolve(i),g=function(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,u.findConfigUpwards)(e);return null===t?e:t}case"upward":{const t=(0,u.findConfigUpwards)(e);if(null!==t)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${e}".\nOne of the following config files must be in the directory tree: "${u.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(r().resolve(m,p),f),y="string"==typeof t.filename?r().resolve(i,t.filename):void 0,_={filename:y,cwd:m,root:g,envName:n,caller:h,showConfig:(yield*(0,u.resolveShowConfigPath)(m))===y},b=yield*(0,a.buildRootChain)(t,_);if(!b)return null;const C={assumptions:{}};b.options.forEach((e=>{(0,o.mergeOptions)(C,e)}));return{options:Object.assign({},C,{targets:(0,d.resolveTargets)(C,g),cloneInputAst:A,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:_.envName,cwd:_.cwd,root:_.root,rootMode:"root",filename:"string"==typeof _.filename?_.filename:void 0,plugins:b.plugins.map((e=>(0,s.createItemFromDescriptor)(e))),presets:b.presets.map((e=>(0,s.createItemFromDescriptor)(e)))}),context:_,fileHandling:b.fileHandling,ignore:b.ignore,babelrc:b.babelrc,config:b.config,files:b.files}}class PartialConfig{constructor(e,t,n,r,i,o){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=e,this.babelignore=n,this.babelrc=t,this.config=r,this.fileHandling=i,this.files=o,Object.freeze(this)}hasFilesystemConfig(){return void 0!==this.babelrc||void 0!==this.config}}Object.freeze(PartialConfig.prototype)},2348:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AggregateOperation=t.DB_AGGREGATE_COLLECTION=void 0;const r=n(55537),i=n(39502),o=n(11885),s=n(16688),a=n(57718),c=n(81510);t.DB_AGGREGATE_COLLECTION=1;class AggregateOperation extends a.CommandOperation{constructor(e,n,o){if(super(void 0,{...o,dbName:e.db}),this.SERVER_COMMAND_RESPONSE_TYPE=r.CursorResponse,this.options={...o},this.target=e.collection||t.DB_AGGREGATE_COLLECTION,this.pipeline=n,this.hasWriteStage=!1,"string"==typeof o?.out)this.pipeline=this.pipeline.concat({$out:o.out}),this.hasWriteStage=!0;else if(n.length>0){const e=n[n.length-1];(e.$out||e.$merge)&&(this.hasWriteStage=!0)}if(this.hasWriteStage||delete this.options.writeConcern,this.explain&&this.writeConcern)throw new i.MongoInvalidArgumentError('Option "explain" cannot be used on an aggregate call with writeConcern');if(null!=o?.cursor&&"object"!=typeof o.cursor)throw new i.MongoInvalidArgumentError("Cursor options must be an object");this.SERVER_COMMAND_RESPONSE_TYPE=this.explain?r.ExplainedCursorResponse:r.CursorResponse}get commandName(){return"aggregate"}get canRetryRead(){return!this.hasWriteStage}addToPipeline(e){this.pipeline.push(e)}buildCommandDocument(e){const t=this.options,n=(0,o.maxWireVersion)(e),r={aggregate:this.target,pipeline:this.pipeline};return this.hasWriteStage&&n<8&&(this.readConcern=void 0),this.hasWriteStage&&this.writeConcern&&s.WriteConcern.apply(r,this.writeConcern),!0===t.bypassDocumentValidation&&(r.bypassDocumentValidation=t.bypassDocumentValidation),"boolean"==typeof t.allowDiskUse&&(r.allowDiskUse=t.allowDiskUse),t.hint&&(r.hint=t.hint),t.let&&(r.let=t.let),void 0!==t.comment&&(r.comment=t.comment),r.cursor=t.cursor||{},t.batchSize&&!this.hasWriteStage&&(r.cursor.batchSize=t.batchSize),r}handleOk(e){return e}}t.AggregateOperation=AggregateOperation,(0,c.defineAspects)(AggregateOperation,[c.Aspect.READ_OPERATION,c.Aspect.RETRYABLE,c.Aspect.EXPLAINABLE,c.Aspect.CURSOR_CREATING])},2383:(e,t,n)=>{"use strict";function r(){const e=n(71642);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConfigAPI=s,t.makePluginAPI=function(e,t){return Object.assign({},a(e,t),{assumption:t=>e.using((e=>e.assumptions[t]))})},t.makePresetAPI=a;var i=n(18941),o=n(99577);function s(e){return{version:i.version,cache:e.simple(),env:t=>e.using((e=>void 0===t?e.envName:"function"==typeof t?(0,o.assertSimpleType)(t(e.envName)):(Array.isArray(t)?t:[t]).some((t=>{if("string"!=typeof t)throw new Error("Unexpected non-string value");return t===e.envName})))),async:()=>!1,caller:t=>e.using((e=>(0,o.assertSimpleType)(t(e.caller)))),assertVersion:c}}function a(e,t){return Object.assign({},s(e),{targets:()=>JSON.parse(e.using((e=>JSON.stringify(e.targets)))),addExternalDependency:e=>{t.push(e)}})}function c(e){if("number"==typeof e){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if("string"!=typeof e)throw new Error("Expected string or integer value.");if("*"===e||r().satisfies(i.version,e))return;const t=Error.stackTraceLimit;"number"==typeof t&&t<25&&(Error.stackTraceLimit=25);const n=new Error(`Requires Babel "${e}", but was loaded with "${i.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw"number"==typeof t&&(Error.stackTraceLimit=t),Object.assign(n,{code:"BABEL_VERSION_UNSUPPORTED",version:i.version,range:e})}},2473:function(e,t,n){"use strict";var r=this&&this.__runInitializers||function(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0},i=this&&this.__esDecorate||function(e,t,n,r,i,o){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?r.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,r.name):{}),p=!1,f=n.length-1;f>=0;f--){var h={};for(var A in r)h[A]="access"===A?{}:r[A];for(var A in r.access)h.access[A]=r.access[A];h.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(e||null))};var m=(0,n[f])("accessor"===c?{get:d.get,set:d.set}:d[l],h);if("accessor"===c){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw new TypeError("Object expected");(a=s(m.get))&&(d.get=a),(a=s(m.set))&&(d.set=a),(a=s(m.init))&&i.unshift(a)}else(a=s(m))&&("field"===c?i.unshift(a):d[l]=a)}u&&Object.defineProperty(u,r.name,d),p=!0},o=this&&this.__setFunctionName||function(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=n(75459),c=s(n(15159)),l=n(27919);let u=(()=>{let e,t,n,s=[a.shellApiClassDefault],u=[],d=c.default,p=[];t=class extends d{constructor(e,t,n){super(e,t._cursor),this._baseCursor=r(this,p),this._baseCursor=t,this._verbosity=n,this._explained=null}async[l.asPrintable](){return await this.finish()}async finish(){var e;return null!==(e=this._explained)&&void 0!==e||(this._explained=await this._baseCursor.explain(this._verbosity)),this._explained}};return o(t,"ExplainableCursor"),(()=>{var o;const c="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(o=d[Symbol.metadata])&&void 0!==o?o:null):void 0;n=[a.returnsPromise],i(t,null,n,{kind:"method",name:"finish",static:!1,private:!1,access:{has:e=>"finish"in e,get:e=>e.finish},metadata:c},null,p),i(null,e={value:t},s,{kind:"class",name:t.name,metadata:c},null,u),t=e.value,c&&Object.defineProperty(t,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:c}),r(t,u)})(),t})();t.default=u},2718:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeProxySecrets=t.extractProxySecrets=t.translateToElectronProxyConfig=void 0;var r=n(63938);Object.defineProperty(t,"translateToElectronProxyConfig",{enumerable:!0,get:function(){return r.translateToElectronProxyConfig}}),Object.defineProperty(t,"extractProxySecrets",{enumerable:!0,get:function(){return r.extractProxySecrets}}),Object.defineProperty(t,"mergeProxySecrets",{enumerable:!0,get:function(){return r.mergeProxySecrets}})},2722:(e,t,n)=>{"use strict";const r=n(72841),i=n(79543),o=n(24517),s=n(93806),a=n(93955),c=n(28474),l=n(92281),u=n(38868),d=n(73269),p=n(26381),f=n(31353),h=n(96082),A=n(69428),m=n(87851),g=n(87555),y=n(52132),_=n(6106),b=n(34042),C=n(93810),v=n(89761),E=n(51262),I=n(28848),w=n(28220),S=n(72386),B=n(89639),x=n(54004),T=n(56783),k=n(51565),D=n(37476),Q=n(27229),R=n(26364),N=n(55039),P=n(55357),O=n(71280),F=n(37403),M=n(58854),L=n(27226),j=n(37183),U=n(18623),H=n(76486),G=n(40583);e.exports={parse:a,valid:c,clean:l,inc:u,diff:d,major:p,minor:f,patch:h,prerelease:A,compare:m,rcompare:g,compareLoose:y,compareBuild:_,sort:b,rsort:C,gt:v,lt:E,eq:I,neq:w,gte:S,lte:B,cmp:x,coerce:T,Comparator:k,Range:D,satisfies:Q,toComparators:R,maxSatisfying:N,minSatisfying:P,minVersion:O,validRange:F,outside:M,gtr:L,ltr:j,intersects:U,simplifyRange:H,subset:G,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},2785:(e,t,n)=>{"use strict";var r=n(7285),i=n(48090),o=n(67431);e.exports={getCharset:function(e){try{return(i.parse(e).parameters.charset||"").toLowerCase()}catch{return}},normalizeOptions:function(e,t){if(!t)throw new TypeError("defaultType must be provided");var n=!1!==e?.inflate,i="number"!=typeof e?.limit?r.parse(e?.limit||"100kb"):e?.limit,s=e?.type||t,a=e?.verify||!1;if(!1!==a&&"function"!=typeof a)throw new TypeError("option verify must be function");var c="function"!=typeof s?function(e){return function(t){return Boolean(o(t,e))}}(s):s;return{inflate:n,limit:i,verify:a,shouldParse:c}}}},2895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionPool=t.PoolState=void 0;const r=n(53557),i=n(31721),o=n(39502),s=n(26102),a=n(57339),c=n(11885),l=n(27346),u=n(60058),d=n(70427),p=n(64449),f=n(53393);t.PoolState=Object.freeze({paused:"paused",ready:"ready",closed:"closed"});class ConnectionPool extends s.TypedEventEmitter{constructor(e,n){if(super(),this.on("error",c.noop),this.options=Object.freeze({connectionType:u.Connection,...n,maxPoolSize:n.maxPoolSize??100,minPoolSize:n.minPoolSize??0,maxConnecting:n.maxConnecting??2,maxIdleTimeMS:n.maxIdleTimeMS??0,waitQueueTimeoutMS:n.waitQueueTimeoutMS??0,minPoolSizeCheckFrequencyMS:n.minPoolSizeCheckFrequencyMS??100,autoEncrypter:n.autoEncrypter}),this.options.minPoolSize>this.options.maxPoolSize)throw new o.MongoInvalidArgumentError("Connection pool minimum size must not be greater than maximum pool size");this.poolState=t.PoolState.paused,this.server=e,this.connections=new c.List,this.pending=0,this.checkedOut=new Set,this.minPoolSizeTimer=void 0,this.generation=0,this.serviceGenerations=new Map,this.connectionCounter=(0,c.makeCounter)(1),this.cancellationToken=new s.CancellationToken,this.cancellationToken.setMaxListeners(1/0),this.waitQueue=new c.List,this.metrics=new f.ConnectionPoolMetrics,this.processingWaitQueue=!1,this.mongoLogger=this.server.topology.client?.mongoLogger,this.component="connection",process.nextTick((()=>{this.emitAndLog(ConnectionPool.CONNECTION_POOL_CREATED,new d.ConnectionPoolCreatedEvent(this))}))}get address(){return this.options.hostAddress.toString()}get closed(){return this.poolState===t.PoolState.closed}get totalConnectionCount(){return this.availableConnectionCount+this.pendingConnectionCount+this.currentCheckedOutCount}get availableConnectionCount(){return this.connections.length}get pendingConnectionCount(){return this.pending}get currentCheckedOutCount(){return this.checkedOut.size}get waitQueueSize(){return this.waitQueue.length}get loadBalanced(){return this.options.loadBalanced}get serverError(){return this.server.description.error}get checkedOutConnections(){return this.checkedOut}waitQueueErrorMetrics(){return this.metrics.info(this.options.maxPoolSize)}ready(){this.poolState===t.PoolState.paused&&(this.poolState=t.PoolState.ready,this.emitAndLog(ConnectionPool.CONNECTION_POOL_READY,new d.ConnectionPoolReadyEvent(this)),(0,r.clearTimeout)(this.minPoolSizeTimer),this.ensureMinPoolSize())}async checkOut(e){const t=(0,c.now)();this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_STARTED,new d.ConnectionCheckOutStartedEvent(this));const{promise:n,resolve:r,reject:i}=(0,c.promiseWithResolvers)(),s=e.timeoutContext.connectionCheckoutTimeout,l={resolve:r,reject:i,cancelled:!1,checkoutTime:t},u=(0,c.addAbortListener)(e.signal,(function(){l.cancelled=!0,i(this.reason)}));this.waitQueue.push(l),process.nextTick((()=>this.processWaitQueue()));try{return s?.throwIfExpired(),await(s?Promise.race([n,s]):n)}catch(t){if(a.TimeoutError.is(t)){s?.clear(),l.cancelled=!0,this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_FAILED,new d.ConnectionCheckOutFailedEvent(this,"timeout",l.checkoutTime));const t=new p.WaitQueueTimeoutError(this.loadBalanced?this.waitQueueErrorMetrics():"Timed out while checking out a connection from connection pool",this.address);if(e.timeoutContext.csotEnabled())throw new o.MongoOperationTimeoutError("Timed out during connection checkout",{cause:t});throw t}throw t}finally{u?.[c.kDispose](),s?.clear()}}checkIn(e){if(!this.checkedOut.has(e))return;const t=this.closed,n=this.connectionIsStale(e),r=!!(t||n||e.closed);if(r||(e.markAvailable(),this.connections.unshift(e)),this.checkedOut.delete(e),this.emitAndLog(ConnectionPool.CONNECTION_CHECKED_IN,new d.ConnectionCheckedInEvent(this,e)),r){const n=e.closed?"error":t?"poolClosed":"stale";this.destroyConnection(e,n)}process.nextTick((()=>this.processWaitQueue()))}clear(e={}){if(this.closed)return;if(this.loadBalanced){const{serviceId:t}=e;if(!t)throw new o.MongoRuntimeError("ConnectionPool.clear() called in load balanced mode with no serviceId.");const n=t.toHexString(),r=this.serviceGenerations.get(n);if(null==r)throw new o.MongoRuntimeError("Service generations are required in load balancer mode.");return this.serviceGenerations.set(n,r+1),void this.emitAndLog(ConnectionPool.CONNECTION_POOL_CLEARED,new d.ConnectionPoolClearedEvent(this,{serviceId:t}))}const n=e.interruptInUseConnections??!1,r=this.generation;this.generation+=1;const i=this.poolState===t.PoolState.paused;this.poolState=t.PoolState.paused,this.clearMinPoolSizeTimer(),i||this.emitAndLog(ConnectionPool.CONNECTION_POOL_CLEARED,new d.ConnectionPoolClearedEvent(this,{interruptInUseConnections:n})),n&&process.nextTick((()=>this.interruptInUseConnections(r))),this.processWaitQueue()}interruptInUseConnections(e){for(const t of this.checkedOut)t.generation<=e&&t.onError(new p.PoolClearedOnNetworkError(this))}closeCheckedOutConnections(){for(const e of this.checkedOut)e.onError(new o.MongoClientClosedError)}close(){if(!this.closed){this.cancellationToken.emit("cancel"),"function"==typeof this.connectionCounter.return&&this.connectionCounter.return(void 0),this.poolState=t.PoolState.closed,this.clearMinPoolSizeTimer(),this.processWaitQueue();for(const e of this.connections)this.emitAndLog(ConnectionPool.CONNECTION_CLOSED,new d.ConnectionClosedEvent(this,e,"poolClosed")),e.destroy();this.connections.clear(),this.emitAndLog(ConnectionPool.CONNECTION_POOL_CLOSED,new d.ConnectionPoolClosedEvent(this))}}async reauthenticate(e){const t=e.authContext;if(!t)throw new o.MongoRuntimeError("No auth context found on connection.");const n=t.credentials;if(!n)throw new o.MongoMissingCredentialsError("Connection is missing credentials when asked to reauthenticate");const r=n.resolveAuthMechanism(e.hello),i=this.server.topology.client.s.authProviders.getOrCreateProvider(r.mechanism,r.mechanismProperties);if(!i)throw new o.MongoMissingCredentialsError(`Reauthenticate failed due to no auth provider for ${n.mechanism}`);await i.reauth(t)}clearMinPoolSizeTimer(){const e=this.minPoolSizeTimer;e&&(0,r.clearTimeout)(e)}destroyConnection(e,t){this.emitAndLog(ConnectionPool.CONNECTION_CLOSED,new d.ConnectionClosedEvent(this,e,t)),e.destroy()}connectionIsStale(e){const t=e.serviceId;if(this.loadBalanced&&t){const n=t.toHexString(),r=this.serviceGenerations.get(n);return e.generation!==r}return e.generation!==this.generation}connectionIsIdle(e){return!!(this.options.maxIdleTimeMS&&e.idleTime>this.options.maxIdleTimeMS)}destroyConnectionIfPerished(e){const t=this.connectionIsStale(e),n=this.connectionIsIdle(e);if(!t&&!n&&!e.closed)return!1;const r=e.closed?"error":t?"stale":"idle";return this.destroyConnection(e,r),!0}createConnection(e){const n={...this.options,id:this.connectionCounter.next().value,generation:this.generation,cancellationToken:this.cancellationToken,mongoLogger:this.mongoLogger,authProviders:this.server.topology.client.s.authProviders,extendedMetadata:this.server.topology.client.options.extendedMetadata};this.pending++;const r=(0,c.now)();this.emitAndLog(ConnectionPool.CONNECTION_CREATED,new d.ConnectionCreatedEvent(this,{id:n.id})),(0,l.connect)(n).then((n=>{if(this.poolState!==t.PoolState.ready)return this.pending--,n.destroy(),void e(this.closed?new p.PoolClosedError(this):new p.PoolClearedError(this));for(const e of[...i.APM_EVENTS,u.Connection.CLUSTER_TIME_RECEIVED])n.on(e,(t=>this.emit(e,t)));if(this.loadBalanced){n.on(u.Connection.PINNED,(e=>this.metrics.markPinned(e))),n.on(u.Connection.UNPINNED,(e=>this.metrics.markUnpinned(e)));const e=n.serviceId;if(e){let t;const r=e.toHexString();(t=this.serviceGenerations.get(r))?n.generation=t:(this.serviceGenerations.set(r,0),n.generation=0)}}n.markAvailable(),this.emitAndLog(ConnectionPool.CONNECTION_READY,new d.ConnectionReadyEvent(this,n,r)),this.pending--,e(void 0,n)}),(t=>{this.pending--,this.server.handleError(t),this.emitAndLog(ConnectionPool.CONNECTION_CLOSED,new d.ConnectionClosedEvent(this,{id:n.id,serviceId:void 0},"error",t)),(t instanceof o.MongoNetworkError||t instanceof o.MongoServerError)&&(t.connectionGeneration=n.generation),e(t??new o.MongoRuntimeError("Connection creation failed without error"))}))}ensureMinPoolSize(){const e=this.options.minPoolSize;this.poolState===t.PoolState.ready&&(this.connections.prune((e=>this.destroyConnectionIfPerished(e))),this.totalConnectionCount<e&&this.pendingConnectionCount<this.options.maxConnecting?this.createConnection(((e,n)=>{!e&&n&&(this.connections.push(n),process.nextTick((()=>this.processWaitQueue()))),this.poolState===t.PoolState.ready&&((0,r.clearTimeout)(this.minPoolSizeTimer),this.minPoolSizeTimer=(0,r.setTimeout)((()=>this.ensureMinPoolSize()),this.options.minPoolSizeCheckFrequencyMS))})):((0,r.clearTimeout)(this.minPoolSizeTimer),this.minPoolSizeTimer=(0,r.setTimeout)((()=>this.ensureMinPoolSize()),this.options.minPoolSizeCheckFrequencyMS)))}processWaitQueue(){if(this.processingWaitQueue)return;for(this.processingWaitQueue=!0;this.waitQueueSize;){const e=this.waitQueue.first();if(!e){this.waitQueue.shift();continue}if(e.cancelled){this.waitQueue.shift();continue}if(this.poolState!==t.PoolState.ready){const t=this.closed?"poolClosed":"connectionError",n=this.closed?new p.PoolClosedError(this):new p.PoolClearedError(this);this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_FAILED,new d.ConnectionCheckOutFailedEvent(this,t,e.checkoutTime,n)),this.waitQueue.shift(),e.reject(n);continue}if(!this.availableConnectionCount)break;const n=this.connections.shift();if(!n)break;this.destroyConnectionIfPerished(n)||(this.checkedOut.add(n),this.emitAndLog(ConnectionPool.CONNECTION_CHECKED_OUT,new d.ConnectionCheckedOutEvent(this,n,e.checkoutTime)),this.waitQueue.shift(),e.resolve(n))}const{maxPoolSize:e,maxConnecting:n}=this.options;for(;this.waitQueueSize>0&&this.pendingConnectionCount<n&&(0===e||this.totalConnectionCount<e);){const e=this.waitQueue.shift();e&&!e.cancelled&&this.createConnection(((t,n)=>{e.cancelled?!t&&n&&this.connections.push(n):t?(this.emitAndLog(ConnectionPool.CONNECTION_CHECK_OUT_FAILED,new d.ConnectionCheckOutFailedEvent(this,"connectionError",e.checkoutTime,t)),e.reject(t)):n&&(this.checkedOut.add(n),this.emitAndLog(ConnectionPool.CONNECTION_CHECKED_OUT,new d.ConnectionCheckedOutEvent(this,n,e.checkoutTime)),e.resolve(n)),process.nextTick((()=>this.processWaitQueue()))}))}this.processingWaitQueue=!1}}t.ConnectionPool=ConnectionPool,ConnectionPool.CONNECTION_POOL_CREATED=i.CONNECTION_POOL_CREATED,ConnectionPool.CONNECTION_POOL_CLOSED=i.CONNECTION_POOL_CLOSED,ConnectionPool.CONNECTION_POOL_CLEARED=i.CONNECTION_POOL_CLEARED,ConnectionPool.CONNECTION_POOL_READY=i.CONNECTION_POOL_READY,ConnectionPool.CONNECTION_CREATED=i.CONNECTION_CREATED,ConnectionPool.CONNECTION_READY=i.CONNECTION_READY,ConnectionPool.CONNECTION_CLOSED=i.CONNECTION_CLOSED,ConnectionPool.CONNECTION_CHECK_OUT_STARTED=i.CONNECTION_CHECK_OUT_STARTED,ConnectionPool.CONNECTION_CHECK_OUT_FAILED=i.CONNECTION_CHECK_OUT_FAILED,ConnectionPool.CONNECTION_CHECKED_OUT=i.CONNECTION_CHECKED_OUT,ConnectionPool.CONNECTION_CHECKED_IN=i.CONNECTION_CHECKED_IN},3017:(e,t,n)=>{"use strict";function r(){const e=n(95827);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transform=void 0,t.transformAsync=function(...e){return(0,s.beginHiddenCallStack)(a.async)(...e)},t.transformSync=function(...e){return(0,s.beginHiddenCallStack)(a.sync)(...e)};var i=n(96296),o=n(49315),s=n(80056);const a=r()((function*(e,t){const n=yield*(0,i.default)(t);return null===n?null:yield*(0,o.run)(n,e)}));t.transform=function(e,t,n){let r,i;if("function"==typeof t?(i=t,r=void 0):(r=t,i=n),void 0===i)return(0,s.beginHiddenCallStack)(a.sync)(e,r);(0,s.beginHiddenCallStack)(a.errback)(e,r,i)}},3119:(e,t,n)=>{"use strict";n.d(t,{Rq:()=>r,$3:()=>i});const r=e=>{let t=async()=>{if(void 0===e.region)throw new Error("Region is missing from runtimeConfig");const t=e.region;return"string"==typeof t?t:t()};return{setRegion(e){t=e},region:()=>t}},i=e=>({region:e.region()})},3337:(e,t,n)=>{"use strict";n.d(t,{$c:()=>NodeHttpHandler,kv:()=>d});var r=n(47624),i=n(30548);var o=n(58611),s=n(65692);const a=["ECONNRESET","EPIPE","ETIMEDOUT"],c=e=>{const t={};for(const n of Object.keys(e)){const r=e[n];t[n]=Array.isArray(r)?r.join(","):r}return t};var l=n(2203);async function u(e,t,n=1e3){const r=t.headers??{},i=r.Expect||r.expect;let o=-1,s=!1;"100-continue"===i&&await Promise.race([new Promise((e=>{o=Number(setTimeout(e,Math.max(1e3,n)))})),new Promise((t=>{e.on("continue",(()=>{clearTimeout(o),t()})),e.on("error",(()=>{s=!0,clearTimeout(o),t()}))}))]),s||function(e,t){if(t instanceof l.Readable)return void t.pipe(e);if(t){if(Buffer.isBuffer(t)||"string"==typeof t)return void e.end(t);const n=t;return"object"==typeof n&&n.buffer&&"number"==typeof n.byteOffset&&"number"==typeof n.byteLength?void e.end(Buffer.from(n.buffer,n.byteOffset,n.byteLength)):void e.end(Buffer.from(t))}e.end()}(e,t.body)}class NodeHttpHandler{static create(e){return"function"==typeof e?.handle?e:new NodeHttpHandler(e)}static checkSocketUsage(e,t,n=console){const{sockets:r,requests:i,maxSockets:o}=e;if("number"!=typeof o||o===1/0)return t;if(Date.now()-15e3<t)return t;if(r&&i)for(const e in r){const t=r[e]?.length??0,s=i[e]?.length??0;if(t>=o&&s>=2*o)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${t} and ${s} additional requests are enqueued.\nSee https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html\nor increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise(((t,n)=>{"function"==typeof e?e().then((e=>{t(this.resolveDefaultConfig(e))})).catch(n):t(this.resolveDefaultConfig(e))}))}resolveDefaultConfig(e){const{requestTimeout:t,connectionTimeout:n,socketTimeout:r,httpAgent:i,httpsAgent:a}=e||{},c=!0;return{connectionTimeout:n,requestTimeout:t??r,httpAgent:i instanceof o.Agent||"function"==typeof i?.destroy?i:new o.Agent({keepAlive:c,maxSockets:50,...i}),httpsAgent:a instanceof s.Agent||"function"==typeof a?.destroy?a:new s.Agent({keepAlive:c,maxSockets:50,...a}),logger:console}}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t}={}){let n;return this.config||(this.config=await this.configProvider),new Promise(((l,d)=>{let p;const f=async e=>{await p,clearTimeout(n),d(e)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",void f(e)}const h="https:"===e.protocol,A=h?this.config.httpsAgent:this.config.httpAgent;n=setTimeout((()=>{this.socketWarningTimestamp=NodeHttpHandler.checkSocketUsage(A,this.socketWarningTimestamp,this.config.logger)}),this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2e3)+(this.config.connectionTimeout??1e3));const m=function(e){const t=[];for(let n of Object.keys(e).sort()){const r=e[n];if(n=(0,i.o)(n),Array.isArray(r))for(let e=0,o=r.length;e<o;e++)t.push(`${n}=${(0,i.o)(r[e])}`);else{let e=n;(r||"string"==typeof r)&&(e+=`=${(0,i.o)(r)}`),t.push(e)}}return t.join("&")}(e.query||{});let g;if(null!=e.username||null!=e.password){g=`${e.username??""}:${e.password??""}`}let y=e.path;m&&(y+=`?${m}`),e.fragment&&(y+=`#${e.fragment}`);const _={headers:e.headers,host:e.hostname,method:e.method,path:y,port:e.port,agent:A,auth:g},b=(h?s.request:o.request)(_,(e=>{(async e=>{await p,clearTimeout(n),l(e)})({response:new r.cS({statusCode:e.statusCode||-1,reason:e.statusMessage,headers:c(e.headers),body:e})})}));if(b.on("error",(e=>{a.includes(e.code)?f(Object.assign(e,{name:"TimeoutError"})):f(e)})),((e,t,n=0)=>{if(!n)return;const r=setTimeout((()=>{e.destroy(),t(Object.assign(new Error(`Socket timed out without establishing a connection within ${n} ms`),{name:"TimeoutError"}))}),n);e.on("socket",(e=>{e.connecting?e.on("connect",(()=>{clearTimeout(r)})):clearTimeout(r)}))})(b,f,this.config.connectionTimeout),((e,t,n=0)=>{e.setTimeout(n,(()=>{e.destroy(),t(Object.assign(new Error(`Connection timed out after ${n} ms`),{name:"TimeoutError"}))}))})(b,f,this.config.requestTimeout),t){const e=()=>{b.destroy();const e=new Error("Request aborted");e.name="AbortError",f(e)};if("function"==typeof t.addEventListener){const n=t;n.addEventListener("abort",e,{once:!0}),b.once("close",(()=>n.removeEventListener("abort",e)))}else t.onabort=e}const C=_.agent;"object"==typeof C&&"keepAlive"in C&&((e,{keepAlive:t,keepAliveMsecs:n})=>{!0===t&&e.on("socket",(e=>{e.setKeepAlive(t,n||0)}))})(b,{keepAlive:C.keepAlive,keepAliveMsecs:C.keepAliveMsecs}),p=u(b,e,this.config.requestTimeout).catch((e=>(clearTimeout(n),d(e))))}))}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n=>({...n,[e]:t})))}httpHandlerConfigs(){return this.config??{}}}require("http2");Symbol.iterator;class Collector extends l.Writable{constructor(){super(...arguments),this.bufferedBytes=[]}_write(e,t,n){this.bufferedBytes.push(e),n()}}const d=e=>p(e)?async function(e){const t=[],n=e.getReader();let r=!1,i=0;for(;!r;){const{done:e,value:o}=await n.read();o&&(t.push(o),i+=o.length),r=e}const o=new Uint8Array(i);let s=0;for(const e of t)o.set(e,s),s+=e.length;return o}(e):new Promise(((t,n)=>{const r=new Collector;e.pipe(r),e.on("error",(e=>{r.end(),n(e)})),r.on("error",n),r.on("finish",(function(){const e=new Uint8Array(Buffer.concat(this.bufferedBytes));t(e)}))})),p=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream},3434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseAnyLogEntry=function(e){var t;try{const n=JSON.parse(e);return{id:n.id,timestamp:null===(t=n.t)||void 0===t?void 0:t.$date,severity:n.s,component:n.c,context:n.ctx,message:n.msg,attr:n.attr}}catch(t){return function(e){const t=/^(?<timestamp>\S*) *(?<severity>\S*) *(?<component>\S*) *\[(?<context>[^\]]+)\]\s*(?<message>.*)$/.exec(e.trim());if(!t)throw new Error(`Could not parse line ${JSON.stringify(e)}`);return t.groups}(e)}}},3468:e=>{"use strict";e.exports=TypeError},3522:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constructShellBson=function({bsonLibrary:e,printWarning:t,assignMetadata:n,constructHelp:o}){const s=["Binary","Code","DBRef","Decimal128","Double","Int32","Long","MaxKey","MinKey","ObjectId","Timestamp","BSONSymbol","BSONRegExp"],a={};for(const t of s){if(!(t in e))throw new r.MongoshInternalError(`${t} does not exist in provided BSON package.`);const i=o?.(t);a[t]=i,"prototype"in e[t]&&n?.(e[t].prototype,{help:i,..."BSONSymbol"===t?{deprecated:!0,maxVersion:"1.6.0"}:{}})}const c={DBRef:(0,i.assignAll)((function(t,n,r,o){return(0,i.assertArgsDefinedType)([t,n,r],["string",!0,[void 0,"string"],[void 0,"object"]],"DBRef"),new e.DBRef(t,n,r,o)}),(0,i.pickWithExactKeyMatch)(e.DBRef,["prototype"])),bsonsize:function(t){return(0,i.assertArgsDefinedType)([t],["object"],"bsonsize"),e.calculateObjectSize(t)},MaxKey:(0,i.assignAll)((function(){return new e.MaxKey}),(0,i.pickWithExactKeyMatch)(e.MaxKey,["prototype"]),{toBSON:()=>new e.MaxKey}),MinKey:(0,i.assignAll)((function(){return new e.MinKey}),(0,i.pickWithExactKeyMatch)(e.MinKey,["prototype"]),{toBSON:()=>new e.MinKey}),ObjectId:(0,i.assignAll)((function(t){return(0,i.assertArgsDefinedType)([t],[[void 0,"string","number","object"]],"ObjectId"),"number"==typeof t?e.ObjectId.createFromTime(t):new e.ObjectId(t)}),(0,i.pickWithExactKeyMatch)(e.ObjectId,["prototype","cacheHexString","generate","createFromTime","createFromHexString","createFromBase64","isValid"])),Timestamp:(0,i.assignAll)((function(t,n){return(0,i.assertArgsDefinedType)([t,n],[["number","object",void 0],[void 0,"number"]],"Timestamp"),"object"==typeof t&&null!==t&&"t"in t&&"i"in t?new e.Timestamp(t):void 0!==n||"number"==typeof t?new e.Timestamp({t,i:n??0}):new e.Timestamp(t)}),(0,i.pickWithExactKeyMatch)(e.Timestamp,["prototype","fromInt","fromNumber","fromBits","fromString","MAX_VALUE"])),Code:(0,i.assignAll)((function(t="",n){return(0,i.assertArgsDefinedType)([t,n],[[void 0,"string","function"],[void 0,"object"]],"Code"),new e.Code(t,n)}),(0,i.pickWithExactKeyMatch)(e.Code,["prototype"])),NumberDecimal:(0,i.assignAll)((function(n="0"){return(0,i.assertArgsDefinedType)([n],[["string","number","bson:Long","bson:Int32","bson:Decimal128"]],"NumberDecimal"),"number"==typeof n&&t("NumberDecimal: specifying a number as argument is deprecated and may lead to loss of precision, pass a string instead"),e.Decimal128.fromString(`${n}`)}),{prototype:e.Decimal128.prototype}),NumberInt:(0,i.assignAll)((function(t="0"){return t??(t="0"),(0,i.assertArgsDefinedType)([t],[["string","number","bson:Long","bson:Int32"]],"NumberInt"),new e.Int32(parseInt(`${t}`,10))}),{prototype:e.Int32.prototype}),NumberLong:(0,i.assignAll)((function(n="0"){return n??(n="0"),(0,i.assertArgsDefinedType)([n],[["string","number","bson:Long","bson:Int32"]],"NumberLong"),"number"==typeof n?(t("NumberLong: specifying a number as argument is deprecated and may lead to loss of precision, pass a string instead"),e.Long.fromNumber(n)):e.Long.fromString(`${n}`)}),{prototype:e.Long.prototype}),ISODate:function(e){if(void 0===e)return new Date;if("string"!=typeof e)return new Date(e);const t=/^(?<Y>\d{4})-?(?<M>\d{2})-?(?<D>\d{2})([T ](?<h>\d{2})(:?(?<m>\d{2})(:?((?<s>\d{2})(\.(?<ms>\d+))?))?)?(?<tz>Z|([+-])(\d{2}):?(\d{2})?)?)?$/.exec(e);if(null!==t&&void 0!==t.groups){const{Y:e,M:n,D:r,h:i,m:o,s,ms:a,tz:c}=t.groups,l=new Date(`${e}-${n}-${r}T${i||"00"}:${o||"00"}:${s||"00"}.${a||"000"}${c||"Z"}`);if(l.getTime()>=-621672192e5&&l.getTime()<=0xe677d21fdbff)return l}throw new r.MongoshInvalidInputError(`${JSON.stringify(e)} is not a valid ISODate`,r.CommonErrors.InvalidArgument)},BinData:(0,i.assignAll)((function(t,n){(0,i.assertArgsDefinedType)([t,n],["number","string"],"BinData");const r=Buffer.from(n,"base64");return new e.Binary(r,t)}),{prototype:e.Binary.prototype}),HexData:(0,i.assignAll)((function(t,n){(0,i.assertArgsDefinedType)([t,n],["number","string"],"HexData");const r=Buffer.from(n,"hex");return new e.Binary(r,t)}),{prototype:e.Binary.prototype}),UUID:(0,i.assignAll)((function(t){void 0===t&&(t=(new e.UUID).toString()),(0,i.assertArgsDefinedType)([t],["string"],"UUID");const n=Buffer.from(t.replace(/-/g,""),"hex");return new e.Binary(n,e.Binary.SUBTYPE_UUID)}),{prototype:e.Binary.prototype}),MD5:(0,i.assignAll)((function(t){(0,i.assertArgsDefinedType)([t],["string"],"MD5");const n=Buffer.from(t,"hex");return new e.Binary(n,e.Binary.SUBTYPE_MD5)}),{prototype:e.Binary.prototype}),Decimal128:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Decimal128),(0,i.pickWithExactKeyMatch)(e.Decimal128,["prototype","fromString","fromStringWithRounding"])),BSONSymbol:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.BSONSymbol),(0,i.pickWithExactKeyMatch)(e.BSONSymbol,["prototype"])),Int32:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Int32),(0,i.pickWithExactKeyMatch)(e.Int32,["prototype","fromString"])),Long:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Long),(0,i.pickWithExactKeyMatch)(e.Long,["prototype","fromValue","isLong","fromBytesBE","fromBytesLE","fromBytes","fromString","fromStringStrict","fromBigInt","fromNumber","fromInt","fromBits","MIN_VALUE","MAX_VALUE","NEG_ONE","UONE","ONE","UZERO","ZERO","MAX_UNSIGNED_VALUE","TWO_PWR_24"])),Binary:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Binary),(0,i.pickWithExactKeyMatch)(e.Binary,["prototype","createFromBase64","createFromHexString","fromInt8Array","fromFloat32Array","fromPackedBits","fromBits","BUFFER_SIZE","SUBTYPE_DEFAULT","SUBTYPE_FUNCTION","SUBTYPE_BYTE_ARRAY","SUBTYPE_UUID_OLD","SUBTYPE_UUID","SUBTYPE_MD5","SUBTYPE_ENCRYPTED","SUBTYPE_COLUMN","SUBTYPE_SENSITIVE","SUBTYPE_VECTOR","SUBTYPE_USER_DEFINED","VECTOR_TYPE"])),Double:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.Double),(0,i.pickWithExactKeyMatch)(e.Double,["prototype","fromString"])),BSONRegExp:(0,i.assignAll)((0,i.functionCtorWithoutProps)(e.BSONRegExp),(0,i.pickWithExactKeyMatch)(e.BSONRegExp,["prototype","parseOptions"])),EJSON:(0,i.pickWithExactKeyMatch)(e.EJSON,["parse","serialize","stringify","deserialize"])};for(const e of Object.keys(c)){const t=a[e]??o?.(e);t&&(c[e].help=()=>t,Object.setPrototypeOf(c[e].help,t))}return c};const r=n(89557),i=n(61668)},3582:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(50240);function i(e,t,n){return Object.freeze({minVersion:e,ast:()=>r.default.program.ast(t,{preserveComments:!0}),metadata:n})}const o=t.default={__proto__:null,OverloadYield:i("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:i("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:i("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]}}),arrayLikeToArray:i("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{}}),arrayWithHoles:i("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{}}),arrayWithoutHoles:i("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]}}),assertClassBrand:i("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{}}),assertThisInitialized:i("7.0.0-beta.0","function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}",{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{}}),asyncGeneratorDelegate:i("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]}}),asyncIterator:i("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{}}),asyncToGenerator:i("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{}}),awaitAsyncGenerator:i("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]}}),callSuper:i("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]}}),checkInRHS:i("7.20.5",'function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}',{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{}}),checkPrivateRedeclaration:i("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{}}),classCallCheck:i("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{}}),classNameTDZError:i("7.0.0-beta.0","function _classNameTDZError(e){throw new ReferenceError('Class \"'+e+'\" cannot be referenced in computed property keys.')}",{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{}}),classPrivateFieldGet2:i("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateFieldInitSpec:i("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateFieldLooseBase:i("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{}}),classPrivateFieldLooseKey:i("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{}}),classPrivateFieldSet2:i("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classPrivateGetter:i("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateMethodInitSpec:i("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateSetter:i("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classStaticPrivateMethodGet:i("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),construct:i("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]}}),createClass:i("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]}}),createForOfIteratorHelper:i("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:i("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:i("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:i("7.1.5",'function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError(\'An element descriptor\\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "\'+r+\'"\');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError(\'An element descriptor\\\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "\'+i+\'"\');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError(\'A class descriptor\\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "\'+r+\'"\');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can\'t have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can\'t be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can\'t be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected \'"+r+"\' to be a function");return t}',{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]}}),defaults:i("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{}}),defineAccessor:i("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{}}),defineProperty:i("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]}}),extends:i("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{}}),get:i("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]}}),getPrototypeOf:i("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{}}),identity:i("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:i("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{}}),inherits:i("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]}}),inheritsLoose:i("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]}}),initializerDefineProperty:i("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{}}),initializerWarningHelper:i("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{}}),instanceof:i("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{}}),interopRequireDefault:i("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{}}),interopRequireWildcard:i("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),isNativeFunction:i("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{}}),isNativeReflectConstruct:i("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{}}),iterableToArray:i("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{}}),iterableToArrayLimit:i("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{}}),jsx:i("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{}}),maybeArrayLike:i("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]}}),newArrowCheck:i("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{}}),nonIterableRest:i("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{}}),nonIterableSpread:i("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{}}),nullishReceiverError:i("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{}}),objectDestructuringEmpty:i("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{}}),objectSpread2:i("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach((function(r){defineProperty(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]}}),objectWithoutProperties:i("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:i("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:i("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:i("7.0.0-beta.0","function _readOnlyError(r){throw new TypeError('\"'+r+'\" is read-only')}",{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:i("7.18.0",'function _regeneratorRuntime(){"use strict";\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a \'"+n+"\' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},e.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,(function(){return this})),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,(function(){return this})),define(g,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next}return next.done=!0,next}},e.values=values,Context.prototype={constructor:Context,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}',{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:i("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:i("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:i("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:i("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:i("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:i("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),superPropGet:i("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:i("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),taggedTemplateLiteral:i("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:i("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:i("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:i("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:i("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:i("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:i("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:i("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:i("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:i("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:i("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:i("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:i("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:i("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then((function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?"return":"normal",t)}),(function(e){resume("throw",e)}))}catch(e){settle("throw",e)}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise((function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:i("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:i("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce((function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)(>|$)/g,(function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""})))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)}))}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:i("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(o,{AwaitValue:i("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:i("7.17.8",'function old_createMetadataMethodsForProperty(e,t,a,r){return{getMetadata:function(o){old_assertNotFinished(r,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var n=i.public;if(void 0!==n)return n[a]}else if(2===t){var l=i.private;if(void 0!==l)return l.get(a)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(r,"setMetadata"),old_assertMetadataKey(o);var n=e[o];if(void 0===n&&(n=e[o]={}),1===t){var l=n.public;void 0===l&&(l=n.public={}),l[a]=i}else if(2===t){var s=n.priv;void 0===s&&(s=n.private=new Map),s.set(a,i)}else n.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var a=e[Symbol.metadata||Symbol.for("Symbol.metadata")],r=Object.getOwnPropertySymbols(t);if(0!==r.length){for(var o=0;o<r.length;o++){var i=r[o],n=t[i],l=a?a[i]:null,s=n.public,c=l?l.public:null;s&&c&&Object.setPrototypeOf(s,c);var d=n.private;if(d){var u=Array.from(d.values()),f=l?l.private:null;f&&(u=u.concat(f)),n.private=u}l&&Object.setPrototypeOf(n,l)}a&&Object.setPrototypeOf(t,a),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function old_createAddInitializerMethod(e,t){return function(a){old_assertNotFinished(t,"addInitializer"),old_assertCallable(a,"An initializer"),e.push(a)}}function old_memberDec(e,t,a,r,o,i,n,l,s){var c;switch(i){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var d,u,f={kind:c,name:l?"#"+t:toPropertyKey(t),isStatic:n,isPrivate:l},p={v:!1};if(0!==i&&(f.addInitializer=old_createAddInitializerMethod(o,p)),l){d=2,u=Symbol(t);var v={};0===i?(v.get=a.get,v.set=a.set):2===i?v.get=function(){return a.value}:(1!==i&&3!==i||(v.get=function(){return a.get.call(this)}),1!==i&&4!==i||(v.set=function(e){a.set.call(this,e)})),f.access=v}else d=1,u=t;try{return e(s,Object.assign(f,old_createMetadataMethodsForProperty(r,d,u,p)))}finally{p.v=!0}}function old_assertNotFinished(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function old_assertMetadataKey(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function old_assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function old_assertValidReturnValue(e,t){var a=typeof t;if(1===e){if("object"!==a||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&old_assertCallable(t.get,"accessor.get"),void 0!==t.set&&old_assertCallable(t.set,"accessor.set"),void 0!==t.init&&old_assertCallable(t.init,"accessor.init"),void 0!==t.initializer&&old_assertCallable(t.initializer,"accessor.initializer")}else if("function"!==a)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function old_applyMemberDec(e,t,a,r,o,i,n,l,s){var c,d,u,f,p,v,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,void 0!==b&&(void 0===d?d=b:"function"==typeof d?d=[d,b]:d.push(b)))}if(0===o||1===o){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var g=d;d=function(e,t){for(var a=t,r=0;r<g.length;r++)a=g[r].call(e,a);return a}}else{var _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,r,c))}function old_applyMemberDecs(e,t,a,r,o){for(var i,n,l=new Map,s=new Map,c=0;c<o.length;c++){var d=o[c];if(Array.isArray(d)){var u,f,p,v=d[1],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,f,p)}}old_pushInitializers(e,i),old_pushInitializers(e,n)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var a=0;a<t.length;a++)t[a].call(e);return e}))}function old_applyClassDecs(e,t,a,r){if(r.length>0){for(var o=[],i=t,n=t.name,l=r.length-1;l>=0;l--){var s={v:!1};try{var c=Object.assign({kind:"class",name:n,addInitializer:old_createAddInitializerMethod(o,s)},old_createMetadataMethodsForProperty(a,0,n,s)),d=r[l](i,c)}finally{s.v=!0}void 0!==d&&(old_assertValidReturnValue(10,d),i=d)}e.push(i,(function(){for(var e=0;e<o.length;e++)o[e].call(i)}))}}function applyDecs(e,t,a){var r=[],o={},i={};return old_applyMemberDecs(r,e,i,o,t),old_convertMetadataMapToFinal(e.prototype,i),old_applyClassDecs(r,e,o,a),old_convertMetadataMapToFinal(e,o),r}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2203:i("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g)))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{}}),applyDecs2203R:i("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(s,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!=(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2301:i("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:toPropertyKey(t),static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,y,v,p,g)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2305:i("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:i("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:i("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:i("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:i("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:i("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:i("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:i("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:i("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:i("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:i("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:i("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:i("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:i("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:i("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:i("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:i("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{}}),dispose:i("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:i("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]}}),using:i("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{}})})},3631:(e,t,n)=>{"use strict";n.d(t,{C1:()=>CredentialsProviderError,mZ:()=>ProviderError,Jh:()=>TokenProviderError,cy:()=>r,VR:()=>i,Bj:()=>o});class ProviderError extends Error{constructor(e,t=!0){let n,r=!0;"boolean"==typeof t?(n=void 0,r=t):null!=t&&"object"==typeof t&&(n=t.logger,r=t.tryNextLink??!0),super(e),this.name="ProviderError",this.tryNextLink=r,Object.setPrototypeOf(this,ProviderError.prototype),n?.debug?.(`@smithy/property-provider ${r?"->":"(!)"} ${e}`)}static from(e,t=!0){return Object.assign(new this(e.message,t),e)}}class CredentialsProviderError extends ProviderError{constructor(e,t=!0){super(e,t),this.name="CredentialsProviderError",Object.setPrototypeOf(this,CredentialsProviderError.prototype)}}class TokenProviderError extends ProviderError{constructor(e,t=!0){super(e,t),this.name="TokenProviderError",Object.setPrototypeOf(this,TokenProviderError.prototype)}}const r=(...e)=>async()=>{if(0===e.length)throw new ProviderError("No providers in chain");let t;for(const n of e)try{return await n()}catch(e){if(t=e,e?.tryNextLink)continue;throw e}throw t},i=e=>()=>Promise.resolve(e),o=(e,t,n)=>{let r,i,o,s=!1;const a=async()=>{i||(i=e());try{r=await i,o=!0,s=!1}finally{i=void 0}return r};return void 0===t?async e=>(o&&!e?.forceRefresh||(r=await a()),r):async e=>(o&&!e?.forceRefresh||(r=await a()),s?r:n&&!n(r)?(s=!0,r):t(r)?(await a(),r):r)}},3659:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListIndexesOperation=t.DropIndexOperation=t.CreateIndexesOperation=void 0;const r=n(55537),i=n(39502),o=n(11885),s=n(57718),a=n(81510),c=new Set(["background","unique","name","partialFilterExpression","sparse","hidden","expireAfterSeconds","storageEngine","collation","version","weights","default_language","language_override","textIndexVersion","2dsphereIndexVersion","bits","min","max","bucketSize","wildcardProjection"]);function l(e){const t=new Map,n=Array.isArray(e)&&(r=e,!Array.isArray(r)||2!==r.length||"number"!=typeof(i=r[1])&&"2d"!==i&&"2dsphere"!==i&&"text"!==i&&"geoHaystack"!==i)?e:[e];var r,i;for(const e of n)if("string"==typeof e)t.set(e,1);else if(Array.isArray(e))t.set(e[0],e[1]??1);else if(e instanceof Map)for(const[n,r]of e)t.set(n,r);else if((0,o.isObject)(e))for(const[n,r]of Object.entries(e))t.set(n,r);return t}class CreateIndexesOperation extends s.CommandOperation{constructor(e,t,n,i){super(e,i),this.SERVER_COMMAND_RESPONSE_TYPE=r.MongoDBResponse,this.options=i??{},this.options.collation=void 0,this.collectionName=t,this.indexes=n.map((e=>{const t=e.key instanceof Map?e.key:new Map(Object.entries(e.key)),n=e.name??Array.from(t).flat().join("_"),r=function(e){const t=Object.entries(e).filter((([e])=>c.has(e)));return Object.fromEntries(t.map((([e,t])=>"version"===e?["v",t]:[e,t])))}(e);return{...r,name:n,key:t}})),this.ns=e.s.namespace}static fromIndexDescriptionArray(e,t,n,r){return new CreateIndexesOperation(e,t,n,r)}static fromIndexSpecification(e,t,n,r={}){const i=l(n),o={...r,key:i};return new CreateIndexesOperation(e,t,[o],r)}get commandName(){return"createIndexes"}buildCommandDocument(e){const t=this.options,n=this.indexes,r=(0,o.maxWireVersion)(e),s={createIndexes:this.collectionName,indexes:n};if(null!=t.commitQuorum){if(r<9)throw new i.MongoCompatibilityError("Option `commitQuorum` for `createIndexes` not supported on servers < 4.4");s.commitQuorum=t.commitQuorum}return s}handleOk(e){return this.indexes.map((e=>e.name||""))}}t.CreateIndexesOperation=CreateIndexesOperation;class DropIndexOperation extends s.CommandOperation{constructor(e,t,n){super(e,n),this.SERVER_COMMAND_RESPONSE_TYPE=r.MongoDBResponse,this.options=n??{},this.collection=e,this.indexName=t,this.ns=e.fullNamespace}get commandName(){return"dropIndexes"}buildCommandDocument(e){return{dropIndexes:this.collection.collectionName,index:this.indexName}}}t.DropIndexOperation=DropIndexOperation;class ListIndexesOperation extends s.CommandOperation{constructor(e,t){super(e,t),this.SERVER_COMMAND_RESPONSE_TYPE=r.CursorResponse,this.options={...t},delete this.options.writeConcern,this.collectionNamespace=e.s.namespace}get commandName(){return"listIndexes"}buildCommandDocument(e){const t=(0,o.maxWireVersion)(e),n=this.options.batchSize?{batchSize:this.options.batchSize}:{},r={listIndexes:this.collectionNamespace.collection,cursor:n};return t>=9&&void 0!==this.options.comment&&(r.comment=this.options.comment),r}handleOk(e){return e}}t.ListIndexesOperation=ListIndexesOperation,(0,a.defineAspects)(ListIndexesOperation,[a.Aspect.READ_OPERATION,a.Aspect.RETRYABLE,a.Aspect.CURSOR_CREATING]),(0,a.defineAspects)(CreateIndexesOperation,[a.Aspect.WRITE_OPERATION]),(0,a.defineAspects)(DropIndexOperation,[a.Aspect.WRITE_OPERATION])},3680:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(20124):e.exports=n(85038)},3828:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fromProcess:()=>c});var r=n(70619),i=n(3631),o=n(35317),s=n(39023);const a=async(e,t,n)=>{const r=t[e];if(!t[e])throw new i.C1(`Profile ${e} could not be found in shared credentials file.`,{logger:n});{const a=r.credential_process;if(void 0===a)throw new i.C1(`Profile ${e} did not contain credential_process.`,{logger:n});{const r=(0,s.promisify)(o.exec);try{const{stdout:n}=await r(a);let i;try{i=JSON.parse(n.trim())}catch{throw Error(`Profile ${e} credential_process returned invalid JSON.`)}return((e,t,n)=>{if(1!==t.Version)throw Error(`Profile ${e} credential_process did not return Version 1.`);if(void 0===t.AccessKeyId||void 0===t.SecretAccessKey)throw Error(`Profile ${e} credential_process returned invalid credentials.`);if(t.Expiration){const n=new Date;if(new Date(t.Expiration)<n)throw Error(`Profile ${e} credential_process returned expired credentials.`)}let r=t.AccountId;return!r&&n?.[e]?.aws_account_id&&(r=n[e].aws_account_id),{accessKeyId:t.AccessKeyId,secretAccessKey:t.SecretAccessKey,...t.SessionToken&&{sessionToken:t.SessionToken},...t.Expiration&&{expiration:new Date(t.Expiration)},...t.CredentialScope&&{credentialScope:t.CredentialScope},...r&&{accountId:r}}})(e,i,t)}catch(e){throw new i.C1(e.message,{logger:n})}}}},c=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");const t=await(0,r.YU)(e);return a((0,r.Bz)(e),t,e.logger)}},3890:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(55770));t.default=new i.default},4022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WaitingForSuitableServerEvent=t.ServerSelectionSucceededEvent=t.ServerSelectionFailedEvent=t.ServerSelectionStartedEvent=t.ServerSelectionEvent=void 0;const r=n(11885),i=n(31721);class ServerSelectionEvent{constructor(e,t,n){this.selector=e,this.operation=n,this.topologyDescription=t}}t.ServerSelectionEvent=ServerSelectionEvent;t.ServerSelectionStartedEvent=class ServerSelectionStartedEvent extends ServerSelectionEvent{constructor(e,t,n){super(e,t,n),this.name=i.SERVER_SELECTION_STARTED,this.message="Server selection started"}};t.ServerSelectionFailedEvent=class ServerSelectionFailedEvent extends ServerSelectionEvent{constructor(e,t,n,r){super(e,t,r),this.name=i.SERVER_SELECTION_FAILED,this.message="Server selection failed",this.failure=n}};t.ServerSelectionSucceededEvent=class ServerSelectionSucceededEvent extends ServerSelectionEvent{constructor(e,t,n,o){super(e,t,o),this.name=i.SERVER_SELECTION_SUCCEEDED,this.message="Server selection succeeded";const{host:s,port:a}=r.HostAddress.fromString(n).toHostPort();this.serverHost=s,this.serverPort=a}};t.WaitingForSuitableServerEvent=class WaitingForSuitableServerEvent extends ServerSelectionEvent{constructor(e,t,n,r){super(e,t,r),this.name=i.WAITING_FOR_SUITABLE_SERVER,this.message="Waiting for suitable server to become available",this.remainingTimeMS=n}}},4131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const{placeholderWhitelist:r,placeholderPattern:s,preserveComments:a,syntacticPlaceholders:c}=n,l=function(e,t,n){const r=(t.plugins||[]).slice();!1!==n&&r.push("placeholders");t=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},t,{plugins:r});try{return(0,i.parse)(e,t)}catch(t){const n=t.loc;throw n&&(t.message+="\n"+(0,o.codeFrameColumns)(e,{start:n}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,n.parser,c);A(l,{preserveComments:a}),e.validate(l);const u={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:r,placeholderPattern:s,syntacticPlaceholders:c};return m(l,y,u),Object.assign({ast:l},u.syntactic.placeholders.length?u.syntactic:u.legacy)};var r=n(58135),i=n(46773),o=n(56611);const{isCallExpression:s,isExpressionStatement:a,isFunction:c,isIdentifier:l,isJSXIdentifier:u,isNewExpression:d,isPlaceholder:p,isStatement:f,isStringLiteral:h,removePropertiesDeep:A,traverse:m}=r,g=/^[_$A-Z0-9]+$/;function y(e,t,n){var r;let i,o=n.syntactic.placeholders.length>0;if(p(e)){if(!1===n.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,o=!0}else{if(o||n.syntacticPlaceholders)return;if(l(e)||u(e))i=e.name;else{if(!h(e))return;i=e.value}}if(o&&(null!=n.placeholderPattern||null!=n.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(o||!1!==n.placeholderPattern&&(n.placeholderPattern||g).test(i)||null!=(r=n.placeholderWhitelist)&&r.has(i)))return;t=t.slice();const{node:A,key:m}=t[t.length-1];let y;h(e)||p(e,{expectedNode:"StringLiteral"})?y="string":d(A)&&"arguments"===m||s(A)&&"arguments"===m||c(A)&&"params"===m?y="param":a(A)&&!p(e)?(y="statement",t=t.slice(0,-1)):y=f(e)&&p(e)?"statement":"other";const{placeholders:_,placeholderNames:b}=o?n.syntactic:n.legacy;_.push({name:i,type:y,resolve:e=>function(e,t){let n=e;for(let e=0;e<t.length-1;e++){const{key:r,index:i}=t[e];n=void 0===i?n[r]:n[r][i]}const{key:r,index:i}=t[t.length-1];return{parent:n,key:r,index:i}}(e,t),isDuplicate:b.has(i)}),b.add(i)}},4135:(e,t,n)=>{"use strict";const r=n(87111).fromPromise,{makeDir:i,makeDirSync:o}=n(98367),s=r(i);e.exports={mkdirs:s,mkdirsSync:o,mkdirp:s,mkdirpSync:o,ensureDir:s,ensureDirSync:o}},4213:(e,t,n)=>{"use strict";n.d(t,{i:()=>STSClient});var r=n(31758),i=n(46170),o=n(96692),s=n(33202),a=n(20512),c=n(97882),l=n(51320),u=n(34546),d=n(2103),p=n(1802),f=n(71383),h=n(42952);const A=async(e,t,n)=>({operation:(0,h.u)(t).operation,region:await(0,h.t)(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const m=e=>{const t=[];switch(e.operation){case"AssumeRoleWithSAML":case"AssumeRoleWithWebIdentity":t.push({schemeId:"smithy.api#noAuth"});break;default:t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e))}return t},g=e=>{const t=(n=e,{...n,stsClientCtor:STSClient});var n;return{...(0,f.h)(t)}};var y=n(39170);const _="3.621.0";var b=n(68227),C=n(59065),v=n(34054),E=n(62438),I=n(25708),w=n(75854),S=n(3337),B=n(88226),x=n(94134),T=n(42640),k=n(50563),D=n(67670),Q=n(6775),R=n(96954);const N="required",P="type",O="fn",F="argv",M="ref",L=!1,j=!0,U="booleanEquals",H="stringEquals",G="sigv4",K="us-east-1",J="endpoint",W="https://sts.{Region}.{PartitionResult#dnsSuffix}",q="tree",V="error",z="getAttr",Y={[N]:!1,[P]:"String"},$={[N]:!0,default:!1,[P]:"Boolean"},X={[M]:"Endpoint"},Z={[O]:"isSet",[F]:[{[M]:"Region"}]},ee={[M]:"Region"},te={[O]:"aws.partition",[F]:[ee],assign:"PartitionResult"},ne={[M]:"UseFIPS"},re={[M]:"UseDualStack"},ie={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:G,signingName:"sts",signingRegion:K}]},headers:{}},oe={},se={conditions:[{[O]:H,[F]:[ee,"aws-global"]}],[J]:ie,[P]:J},ae={[O]:U,[F]:[ne,!0]},ce={[O]:U,[F]:[re,!0]},le={[O]:z,[F]:[{[M]:"PartitionResult"},"supportsFIPS"]},ue={[M]:"PartitionResult"},de={[O]:U,[F]:[!0,{[O]:z,[F]:[ue,"supportsDualStack"]}]},pe=[{[O]:"isSet",[F]:[X]}],fe=[ae],he=[ce],Ae={version:"1.0",parameters:{Region:Y,UseDualStack:$,UseFIPS:$,Endpoint:Y,UseGlobalEndpoint:$},rules:[{conditions:[{[O]:U,[F]:[{[M]:"UseGlobalEndpoint"},j]},{[O]:"not",[F]:pe},Z,te,{[O]:U,[F]:[ne,L]},{[O]:U,[F]:[re,L]}],rules:[{conditions:[{[O]:H,[F]:[ee,"ap-northeast-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"ap-south-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"ap-southeast-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"ap-southeast-2"]}],endpoint:ie,[P]:J},se,{conditions:[{[O]:H,[F]:[ee,"ca-central-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-central-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-north-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-west-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-west-2"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"eu-west-3"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"sa-east-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,K]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"us-east-2"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"us-west-1"]}],endpoint:ie,[P]:J},{conditions:[{[O]:H,[F]:[ee,"us-west-2"]}],endpoint:ie,[P]:J},{endpoint:{url:W,properties:{authSchemes:[{name:G,signingName:"sts",signingRegion:"{Region}"}]},headers:oe},[P]:J}],[P]:q},{conditions:pe,rules:[{conditions:fe,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[P]:V},{conditions:he,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[P]:V},{endpoint:{url:X,properties:oe,headers:oe},[P]:J}],[P]:q},{conditions:[Z],rules:[{conditions:[te],rules:[{conditions:[ae,ce],rules:[{conditions:[{[O]:U,[F]:[j,le]},de],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:oe,headers:oe},[P]:J}],[P]:q},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[P]:V}],[P]:q},{conditions:fe,rules:[{conditions:[{[O]:U,[F]:[le,j]}],rules:[{conditions:[{[O]:H,[F]:[{[O]:z,[F]:[ue,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:oe,headers:oe},[P]:J},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:oe,headers:oe},[P]:J}],[P]:q},{error:"FIPS is enabled but this partition does not support FIPS",[P]:V}],[P]:q},{conditions:he,rules:[{conditions:[de],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:oe,headers:oe},[P]:J}],[P]:q},{error:"DualStack is enabled but this partition does not support DualStack",[P]:V}],[P]:q},se,{endpoint:{url:W,properties:oe,headers:oe},[P]:J}],[P]:q}],[P]:q},{error:"Invalid Configuration: Missing Region",[P]:V}]},me=(e,t={})=>(0,R.sO)(Ae,{endpointParams:e,logger:t.logger});R.mw.aws=Q.UF;var ge=n(12165);const ye=e=>{(0,p.I9)(process.version);const t=(0,ge.I)(e),n=()=>t().then(p.lT),r=(e=>({apiVersion:"2011-06-15",base64Decoder:e?.base64Decoder??k.E,base64Encoder:e?.base64Encoder??k.n,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??me,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??m,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new C.f},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new c.mR}],logger:e?.logger??new p.N4,serviceId:e?.serviceId??"STS",urlParser:e?.urlParser??T.D,utf8Decoder:e?.utf8Decoder??D.ar,utf8Encoder:e?.utf8Encoder??D.Pq}))(e);return(0,b.I)(process.version),{...r,...e,runtime:"node",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??B.n,credentialDefaultProvider:e?.credentialDefaultProvider??v.v6,defaultUserAgentProvider:e?.defaultUserAgentProvider??(0,E.mJ)({serviceId:r.serviceId,clientVersion:_}),httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4")||(async e=>await(0,v.v6)(e?.__config||{})()),signer:new C.f},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new c.mR}],maxAttempts:e?.maxAttempts??(0,w.Z)(d.qs),region:e?.region??(0,w.Z)(a.GG,a.zH),requestHandler:S.$c.create(e?.requestHandler??n),retryMode:e?.retryMode??(0,w.Z)({...d.kN,default:async()=>(await n()).retryMode||x.L0}),sha256:e?.sha256??I.V.bind(null,"sha256"),streamCollector:e?.streamCollector??S.kv,useDualstackEndpoint:e?.useDualstackEndpoint??(0,w.Z)(a.e$),useFipsEndpoint:e?.useFipsEndpoint??(0,w.Z)(a.Ko)}};var be=n(3119),Ce=n(47624);const ve=e=>{const t=e.httpAuthSchemes;let n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){const n=t.findIndex((t=>t.schemeId===e.schemeId));-1===n?t.push(e):t.splice(n,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider:()=>n,setCredentials(e){r=e},credentials:()=>r}};class STSClient extends p.Kj{constructor(...[e]){const t=ye(e||{}),n=(0,y.v)(t),f=(0,a.TD)(n),h=(0,u.Co)(f),A=(0,r.OV)(h),m=(0,s.Dc)(A),_=(0,d.$z)(m),b=((e,t)=>{const n={...(0,be.Rq)(e),...(0,p.xA)(e),...(0,Ce.eS)(e),...ve(e)};return t.forEach((e=>e.configure(n))),{...e,...(0,be.$3)(n),...(0,p.uv)(n),...(0,Ce.jt)(n),...(r=n,{httpAuthSchemes:r.httpAuthSchemes(),httpAuthSchemeProvider:r.httpAuthSchemeProvider(),credentials:r.credentials()})};var r})(g(_),e?.extensions||[]);super(b),this.config=b,this.middlewareStack.use((0,r.TC)(this.config)),this.middlewareStack.use((0,i.Y7)(this.config)),this.middlewareStack.use((0,o.n4)(this.config)),this.middlewareStack.use((0,s.sM)(this.config)),this.middlewareStack.use((0,d.ey)(this.config)),this.middlewareStack.use((0,l.vK)(this.config)),this.middlewareStack.use((0,c.wB)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()})),this.middlewareStack.use((0,c.lW)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return A}getIdentityProviderConfigProvider(){return async e=>new c.h$({"aws.auth#sigv4":e.credentials})}}},4249:(e,t,n)=>{"use strict";const r=n(51012),i=n(16928),{copy:o}=n(31254),{remove:s}=n(60003),{mkdirp:a}=n(4135),{pathExists:c}=n(2151),l=n(85853);e.exports=async function(e,t,n={}){const u=n.overwrite||n.clobber||!1,{srcStat:d,isChangingCase:p=!1}=await l.checkPaths(e,t,"move",n);await l.checkParentPaths(e,d,t,"move");const f=i.dirname(t);return i.parse(f).root!==f&&await a(f),async function(e,t,n,i){if(!i)if(n)await s(t);else if(await c(t))throw new Error("dest already exists.");try{await r.rename(e,t)}catch(r){if("EXDEV"!==r.code)throw r;await async function(e,t,n){const r={overwrite:n,errorOnExist:!0,preserveTimestamps:!0};return await o(e,t,r),s(e)}(e,t,n)}}(e,t,u,p)}},4396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=String(e).match(/\./g);let n=0;return t&&(n=t.length),n}},4558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allowAbort=t.ALLOW_ABORT_INTERVAL_COUNT=void 0,t.ALLOW_ABORT_INTERVAL_COUNT=1e3,t.allowAbort=async function(e){return new Promise(((t,n)=>setTimeout((()=>{if(null==e?void 0:e.aborted)return n((null==e?void 0:e.reason)||new Error("Operation aborted"));t()}))))}},4573:e=>{"use strict";e.exports=require("node:buffer")},4704:(e,t)=>{!function e(t){"use strict";var n,r,i,o,s,a;function c(e){var t,n,r={};for(t in e)e.hasOwnProperty(t)&&(n=e[t],r[t]="object"==typeof n&&null!==n?c(n):n);return r}function l(e,t){this.parent=e,this.key=t}function u(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function d(){}function p(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function f(e,t){return(e===n.ObjectExpression||e===n.ObjectPattern)&&"properties"===t}function h(e,t){for(var n=e.length-1;n>=0;--n)if(e[n].node===t)return!0;return!1}function A(e,t){return(new d).traverse(e,t)}function m(e,t){var n;return n=function(e,t){var n,r,i,o;for(r=e.length,i=0;r;)t(e[o=i+(n=r>>>1)])?r=n:(i=o+1,r-=n+1);return i}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},r={Break:o={},Skip:s={},Remove:a={}},l.prototype.replace=function(e){this.parent[this.key]=e},l.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},d.prototype.path=function(){var e,t,n,r,i;function o(e,t){if(Array.isArray(t))for(n=0,r=t.length;n<r;++n)e.push(t[n]);else e.push(t)}if(!this.__current.path)return null;for(i=[],e=2,t=this.__leavelist.length;e<t;++e)o(i,this.__leavelist[e].path);return o(i,this.__current.path),i},d.prototype.type=function(){return this.current().type||this.__current.wrap},d.prototype.parents=function(){var e,t,n;for(n=[],e=1,t=this.__leavelist.length;e<t;++e)n.push(this.__leavelist[e].node);return n},d.prototype.current=function(){return this.__current.node},d.prototype.__execute=function(e,t){var n,r;return r=void 0,n=this.__current,this.__current=t,this.__state=null,e&&(r=e.call(this,t.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=n,r},d.prototype.notify=function(e){this.__state=e},d.prototype.skip=function(){this.notify(s)},d.prototype.break=function(){this.notify(o)},d.prototype.remove=function(){this.notify(a)},d.prototype.__initialize=function(e,t){this.visitor=t,this.root=e,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,"iteration"===t.fallback?this.__fallback=Object.keys:"function"==typeof t.fallback&&(this.__fallback=t.fallback),this.__keys=i,t.keys&&(this.__keys=Object.assign(Object.create(this.__keys),t.keys))},d.prototype.traverse=function(e,t){var n,r,i,a,c,l,d,A,m,g,y,_;for(this.__initialize(e,t),_={},n=this.__worklist,r=this.__leavelist,n.push(new u(e,null,null,null)),r.push(new u(null,null,null,null));n.length;)if((i=n.pop())!==_){if(i.node){if(l=this.__execute(t.enter,i),this.__state===o||l===o)return;if(n.push(_),r.push(i),this.__state===s||l===s)continue;if(c=(a=i.node).type||i.wrap,!(g=this.__keys[c])){if(!this.__fallback)throw new Error("Unknown node type "+c+".");g=this.__fallback(a)}for(A=g.length;(A-=1)>=0;)if(y=a[d=g[A]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]&&!h(r,y[m])){if(f(c,g[A]))i=new u(y[m],[d,m],"Property",null);else{if(!p(y[m]))continue;i=new u(y[m],[d,m],null,null)}n.push(i)}}else if(p(y)){if(h(r,y))continue;n.push(new u(y,d,null,null))}}}else if(i=r.pop(),l=this.__execute(t.leave,i),this.__state===o||l===o)return},d.prototype.replace=function(e,t){var n,r,i,c,d,h,A,m,g,y,_,b,C;function v(e){var t,r,i,o;if(e.ref.remove())for(r=e.ref.key,o=e.ref.parent,t=n.length;t--;)if((i=n[t]).ref&&i.ref.parent===o){if(i.ref.key<r)break;--i.ref.key}}for(this.__initialize(e,t),_={},n=this.__worklist,r=this.__leavelist,h=new u(e,null,null,new l(b={root:e},"root")),n.push(h),r.push(h);n.length;)if((h=n.pop())!==_){if(void 0!==(d=this.__execute(t.enter,h))&&d!==o&&d!==s&&d!==a&&(h.ref.replace(d),h.node=d),this.__state!==a&&d!==a||(v(h),h.node=null),this.__state===o||d===o)return b.root;if((i=h.node)&&(n.push(_),r.push(h),this.__state!==s&&d!==s)){if(c=i.type||h.wrap,!(g=this.__keys[c])){if(!this.__fallback)throw new Error("Unknown node type "+c+".");g=this.__fallback(i)}for(A=g.length;(A-=1)>=0;)if(y=i[C=g[A]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]){if(f(c,g[A]))h=new u(y[m],[C,m],"Property",new l(y,m));else{if(!p(y[m]))continue;h=new u(y[m],[C,m],null,new l(y,m))}n.push(h)}}else p(y)&&n.push(new u(y,C,null,new l(i,C)))}}else if(h=r.pop(),void 0!==(d=this.__execute(t.leave,h))&&d!==o&&d!==s&&d!==a&&h.ref.replace(d),this.__state!==a&&d!==a||v(h),this.__state===o||d===o)return b.root;return b.root},t.Syntax=n,t.traverse=A,t.replace=function(e,t){return(new d).replace(e,t)},t.attachComments=function(e,t,n){var i,o,s,a,l=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(s=0,o=t.length;s<o;s+=1)(i=c(t[s])).extendedRange=[0,e.range[0]],l.push(i);e.leadingComments=l}return e}for(s=0,o=t.length;s<o;s+=1)l.push(m(c(t[s]),n));return a=0,A(e,{enter:function(e){for(var t;a<l.length&&!((t=l[a]).extendedRange[1]>e.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),l.splice(a,1)):a+=1;return a===l.length?r.Break:l[a].extendedRange[0]>e.range[1]?r.Skip:void 0}}),a=0,A(e,{leave:function(e){for(var t;a<l.length&&(t=l[a],!(e.range[1]<t.extendedRange[0]));)e.range[1]===t.extendedRange[0]?(e.trailingComments||(e.trailingComments=[]),e.trailingComments.push(t),l.splice(a,1)):a+=1;return a===l.length?r.Break:l[a].extendedRange[0]>e.range[1]?r.Skip:void 0}}),e},t.VisitorKeys=i,t.VisitorOption=r,t.Controller=d,t.cloneEnvironment=function(){return e({})},t}(t)},4887:(e,t)=>{"use strict";const n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const r=Symbol("wrapper"),i=Symbol("impl"),o=Symbol("SameObject caches"),s=Symbol.for("[webidl2js] constructor registry"),a=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function c(e){if(n(e,s))return e[s];const t=Object.create(null);t["%Object.prototype%"]=e.Object.prototype,t["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new e.Array)[Symbol.iterator]()));try{t["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(e.eval("(async function* () {})").prototype))}catch{t["%AsyncIteratorPrototype%"]=a}return e[s]=t,t}function l(e){return e?e[r]:null}function u(e){return e?e[i]:null}const d=Symbol("internal");const p=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const f=Symbol("supports property index"),h=Symbol("supported property indices"),A=Symbol("supports property name"),m=Symbol("supported property names"),g=Symbol("indexed property get"),y=Symbol("indexed property set new"),_=Symbol("indexed property set existing"),b=Symbol("named property get"),C=Symbol("named property set new"),v=Symbol("named property set existing"),E=Symbol("named property delete"),I=Symbol("async iterator get the next iteration result"),w=Symbol("async iterator return steps"),S=Symbol("async iterator initialization steps"),B=Symbol("async iterator end of iteration");e.exports={isObject:function(e){return"object"==typeof e&&null!==e||"function"==typeof e},hasOwn:n,define:function(e,t){for(const n of Reflect.ownKeys(t)){const r=Reflect.getOwnPropertyDescriptor(t,n);if(r&&!Reflect.defineProperty(e,n,r))throw new TypeError(`Cannot redefine property: ${String(n)}`)}},newObjectInRealm:function(e,t){const n=c(e);return Object.defineProperties(Object.create(n["%Object.prototype%"]),Object.getOwnPropertyDescriptors(t))},wrapperSymbol:r,implSymbol:i,getSameObject:function(e,t,n){return e[o]||(e[o]=Object.create(null)),t in e[o]||(e[o][t]=n()),e[o][t]},ctorRegistrySymbol:s,initCtorRegistry:c,wrapperForImpl:l,implForWrapper:u,tryWrapperForImpl:function(e){const t=l(e);return t||e},tryImplForWrapper:function(e){const t=u(e);return t||e},iterInternalSymbol:d,isArrayBuffer:function(e){try{return p.call(e),!0}catch(e){return!1}},isArrayIndexPropName:function(e){if("string"!=typeof e)return!1;const t=e>>>0;return t!==2**32-1&&e===`${t}`},supportsPropertyIndex:f,supportedPropertyIndices:h,supportsPropertyName:A,supportedPropertyNames:m,indexedGet:g,indexedSetNew:y,indexedSetExisting:_,namedGet:b,namedSetNew:C,namedSetExisting:v,namedDelete:E,asyncIteratorNext:I,asyncIteratorReturn:w,asyncIteratorInit:S,asyncIteratorEOI:B,iteratorResult:function([e,t],n){let r;switch(n){case"key":r=e;break;case"value":r=t;break;case"key+value":r=[e,t]}return{value:r,done:!1}}}},4998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},5092:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(46742);class SmartBuffer{constructor(e){if(this.length=0,this._encoding="utf8",this._writeOffset=0,this._readOffset=0,SmartBuffer.isSmartBufferOptions(e))if(e.encoding&&(r.checkEncoding(e.encoding),this._encoding=e.encoding),e.size){if(!(r.isFiniteInteger(e.size)&&e.size>0))throw new Error(r.ERRORS.INVALID_SMARTBUFFER_SIZE);this._buff=Buffer.allocUnsafe(e.size)}else if(e.buff){if(!Buffer.isBuffer(e.buff))throw new Error(r.ERRORS.INVALID_SMARTBUFFER_BUFFER);this._buff=e.buff,this.length=e.buff.length}else this._buff=Buffer.allocUnsafe(4096);else{if(void 0!==e)throw new Error(r.ERRORS.INVALID_SMARTBUFFER_OBJECT);this._buff=Buffer.allocUnsafe(4096)}}static fromSize(e,t){return new this({size:e,encoding:t})}static fromBuffer(e,t){return new this({buff:e,encoding:t})}static fromOptions(e){return new this(e)}static isSmartBufferOptions(e){const t=e;return t&&(void 0!==t.encoding||void 0!==t.size||void 0!==t.buff)}readInt8(e){return this._readNumberValue(Buffer.prototype.readInt8,1,e)}readInt16BE(e){return this._readNumberValue(Buffer.prototype.readInt16BE,2,e)}readInt16LE(e){return this._readNumberValue(Buffer.prototype.readInt16LE,2,e)}readInt32BE(e){return this._readNumberValue(Buffer.prototype.readInt32BE,4,e)}readInt32LE(e){return this._readNumberValue(Buffer.prototype.readInt32LE,4,e)}readBigInt64BE(e){return r.bigIntAndBufferInt64Check("readBigInt64BE"),this._readNumberValue(Buffer.prototype.readBigInt64BE,8,e)}readBigInt64LE(e){return r.bigIntAndBufferInt64Check("readBigInt64LE"),this._readNumberValue(Buffer.prototype.readBigInt64LE,8,e)}writeInt8(e,t){return this._writeNumberValue(Buffer.prototype.writeInt8,1,e,t),this}insertInt8(e,t){return this._insertNumberValue(Buffer.prototype.writeInt8,1,e,t)}writeInt16BE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,e,t)}insertInt16BE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,e,t)}writeInt16LE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,e,t)}insertInt16LE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,e,t)}writeInt32BE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,e,t)}insertInt32BE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,e,t)}writeInt32LE(e,t){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,e,t)}insertInt32LE(e,t){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,e,t)}writeBigInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,e,t)}insertBigInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,e,t)}writeBigInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,e,t)}insertBigInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,e,t)}readUInt8(e){return this._readNumberValue(Buffer.prototype.readUInt8,1,e)}readUInt16BE(e){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,e)}readUInt16LE(e){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,e)}readUInt32BE(e){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,e)}readUInt32LE(e){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,e)}readBigUInt64BE(e){return r.bigIntAndBufferInt64Check("readBigUInt64BE"),this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,e)}readBigUInt64LE(e){return r.bigIntAndBufferInt64Check("readBigUInt64LE"),this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,e)}writeUInt8(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,e,t)}insertUInt8(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,e,t)}writeUInt16BE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,e,t)}insertUInt16BE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,e,t)}writeUInt16LE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,e,t)}insertUInt16LE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,e,t)}writeUInt32BE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,e,t)}insertUInt32BE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,e,t)}writeUInt32LE(e,t){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,e,t)}insertUInt32LE(e,t){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,e,t)}writeBigUInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,e,t)}insertBigUInt64BE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64BE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,e,t)}writeBigUInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,e,t)}insertBigUInt64LE(e,t){return r.bigIntAndBufferInt64Check("writeBigUInt64LE"),this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,e,t)}readFloatBE(e){return this._readNumberValue(Buffer.prototype.readFloatBE,4,e)}readFloatLE(e){return this._readNumberValue(Buffer.prototype.readFloatLE,4,e)}writeFloatBE(e,t){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,e,t)}insertFloatBE(e,t){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,e,t)}writeFloatLE(e,t){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,e,t)}insertFloatLE(e,t){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,e,t)}readDoubleBE(e){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,e)}readDoubleLE(e){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,e)}writeDoubleBE(e,t){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,e,t)}insertDoubleBE(e,t){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,e,t)}writeDoubleLE(e,t){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,e,t)}insertDoubleLE(e,t){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,e,t)}readString(e,t){let n;"number"==typeof e?(r.checkLengthValue(e),n=Math.min(e,this.length-this._readOffset)):(t=e,n=this.length-this._readOffset),void 0!==t&&r.checkEncoding(t);const i=this._buff.slice(this._readOffset,this._readOffset+n).toString(t||this._encoding);return this._readOffset+=n,i}insertString(e,t,n){return r.checkOffsetValue(t),this._handleString(e,!0,t,n)}writeString(e,t,n){return this._handleString(e,!1,t,n)}readStringNT(e){void 0!==e&&r.checkEncoding(e);let t=this.length;for(let e=this._readOffset;e<this.length;e++)if(0===this._buff[e]){t=e;break}const n=this._buff.slice(this._readOffset,t);return this._readOffset=t+1,n.toString(e||this._encoding)}insertStringNT(e,t,n){return r.checkOffsetValue(t),this.insertString(e,t,n),this.insertUInt8(0,t+e.length),this}writeStringNT(e,t,n){return this.writeString(e,t,n),this.writeUInt8(0,"number"==typeof t?t+e.length:this.writeOffset),this}readBuffer(e){void 0!==e&&r.checkLengthValue(e);const t="number"==typeof e?e:this.length,n=Math.min(this.length,this._readOffset+t),i=this._buff.slice(this._readOffset,n);return this._readOffset=n,i}insertBuffer(e,t){return r.checkOffsetValue(t),this._handleBuffer(e,!0,t)}writeBuffer(e,t){return this._handleBuffer(e,!1,t)}readBufferNT(){let e=this.length;for(let t=this._readOffset;t<this.length;t++)if(0===this._buff[t]){e=t;break}const t=this._buff.slice(this._readOffset,e);return this._readOffset=e+1,t}insertBufferNT(e,t){return r.checkOffsetValue(t),this.insertBuffer(e,t),this.insertUInt8(0,t+e.length),this}writeBufferNT(e,t){return void 0!==t&&r.checkOffsetValue(t),this.writeBuffer(e,t),this.writeUInt8(0,"number"==typeof t?t+e.length:this._writeOffset),this}clear(){return this._writeOffset=0,this._readOffset=0,this.length=0,this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(e){r.checkOffsetValue(e),r.checkTargetOffset(e,this),this._readOffset=e}get writeOffset(){return this._writeOffset}set writeOffset(e){r.checkOffsetValue(e),r.checkTargetOffset(e,this),this._writeOffset=e}get encoding(){return this._encoding}set encoding(e){r.checkEncoding(e),this._encoding=e}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(e){const t="string"==typeof e?e:this._encoding;return r.checkEncoding(t),this._buff.toString(t,0,this.length)}destroy(){return this.clear(),this}_handleString(e,t,n,i){let o=this._writeOffset,s=this._encoding;"number"==typeof n?o=n:"string"==typeof n&&(r.checkEncoding(n),s=n),"string"==typeof i&&(r.checkEncoding(i),s=i);const a=Buffer.byteLength(e,s);return t?this.ensureInsertable(a,o):this._ensureWriteable(a,o),this._buff.write(e,o,a,s),t?this._writeOffset+=a:"number"==typeof n?this._writeOffset=Math.max(this._writeOffset,o+a):this._writeOffset+=a,this}_handleBuffer(e,t,n){const r="number"==typeof n?n:this._writeOffset;return t?this.ensureInsertable(e.length,r):this._ensureWriteable(e.length,r),e.copy(this._buff,r),t?this._writeOffset+=e.length:"number"==typeof n?this._writeOffset=Math.max(this._writeOffset,r+e.length):this._writeOffset+=e.length,this}ensureReadable(e,t){let n=this._readOffset;if(void 0!==t&&(r.checkOffsetValue(t),n=t),n<0||n+e>this.length)throw new Error(r.ERRORS.INVALID_READ_BEYOND_BOUNDS)}ensureInsertable(e,t){r.checkOffsetValue(t),this._ensureCapacity(this.length+e),t<this.length&&this._buff.copy(this._buff,t+e,t,this._buff.length),t+e>this.length?this.length=t+e:this.length+=e}_ensureWriteable(e,t){const n="number"==typeof t?t:this._writeOffset;this._ensureCapacity(n+e),n+e>this.length&&(this.length=n+e)}_ensureCapacity(e){const t=this._buff.length;if(e>t){let n=this._buff,r=3*t/2+1;r<e&&(r=e),this._buff=Buffer.allocUnsafe(r),n.copy(this._buff,0,0,t)}}_readNumberValue(e,t,n){this.ensureReadable(t,n);const r=e.call(this._buff,"number"==typeof n?n:this._readOffset);return void 0===n&&(this._readOffset+=t),r}_insertNumberValue(e,t,n,i){return r.checkOffsetValue(i),this.ensureInsertable(t,i),e.call(this._buff,n,i),this._writeOffset+=t,this}_writeNumberValue(e,t,n,i){if("number"==typeof i){if(i<0)throw new Error(r.ERRORS.INVALID_WRITE_BEYOND_BOUNDS);r.checkOffsetValue(i)}const o="number"==typeof i?i:this._writeOffset;return this._ensureWriteable(t,o),e.call(this._buff,n,o),"number"==typeof i?this._writeOffset=Math.max(this._writeOffset,o+t):this._writeOffset+=t,this}}t.SmartBuffer=SmartBuffer},5139:(e,t,n)=>{"use strict";const r=n(41209),i=n(85381),o=n(23233),s=n(78262);function a(e){const t=Object.keys(e);for(let n=0;n<t.length;n++){const r=t[n];this.lastEntities[r]={regex:new RegExp("&"+r+";","g"),val:e[r]}}}function c(e,t,n,r,i,o,s){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){s||(e=this.replaceEntitiesValue(e));const r=this.options.tagValueProcessor(t,e,n,i,o);if(null==r)return e;if(typeof r!=typeof e||r!==e)return r;if(this.options.trimValues)return b(e,this.options.parseTagValue,this.options.numberParseOptions);return e.trim()===e?b(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function l(e){if(this.options.removeNSPrefix){const t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}const u=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(e,t,n){if(!this.options.ignoreAttributes&&"string"==typeof e){const n=r.getAllMatches(e,u),i=n.length,o={};for(let e=0;e<i;e++){const r=this.resolveNameSpace(n[e][1]);let i=n[e][4],s=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(s=this.options.transformAttributeName(s)),"__proto__"===s&&(s="#__proto__"),void 0!==i){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);const e=this.options.attributeValueProcessor(r,i,t);o[s]=null==e?i:typeof e!=typeof i||e!==i?e:b(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[s]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=o,e}return o}}const p=function(e){e=e.replace(/\r\n?/g,"\n");const t=new i("!xml");let n=t,r="",s="";for(let a=0;a<e.length;a++){if("<"===e[a])if("/"===e[a+1]){const t=g(e,">",a,"Closing Tag is not closed.");let i=e.substring(a+2,t).trim();if(this.options.removeNSPrefix){const e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),n&&(r=this.saveTextToParentTag(r,n,s));const o=s.substring(s.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw new Error(`Unpaired tag can not be used as closing tag: </${i}>`);let c=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(c=s.lastIndexOf(".",s.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=s.lastIndexOf("."),s=s.substring(0,c),n=this.tagsNodeStack.pop(),r="",a=t}else if("?"===e[a+1]){let t=y(e,a,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,s),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,s,t.tagName)),this.addChild(n,e,s)}a=t.closeIndex+1}else if("!--"===e.substr(a+1,3)){const t=g(e,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const i=e.substring(a+4,t-2);r=this.saveTextToParentTag(r,n,s),n.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}a=t}else if("!D"===e.substr(a+1,2)){const t=o(e,a);this.docTypeEntities=t.entities,a=t.i}else if("!["===e.substr(a+1,2)){const t=g(e,"]]>",a,"CDATA is not closed.")-2,i=e.substring(a+9,t);r=this.saveTextToParentTag(r,n,s);let o=this.parseTextData(i,n.tagname,s,!0,!1,!0,!0);null==o&&(o=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]):n.add(this.options.textNodeName,o),a=t+2}else{let o=y(e,a,this.options.removeNSPrefix),c=o.tagName;const l=o.rawTagName;let u=o.tagExp,d=o.attrExpPresent,p=o.closeIndex;this.options.transformTagName&&(c=this.options.transformTagName(c)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,s,!1));const f=n;if(f&&-1!==this.options.unpairedTags.indexOf(f.tagname)&&(n=this.tagsNodeStack.pop(),s=s.substring(0,s.lastIndexOf("."))),c!==t.tagname&&(s+=s?"."+c:c),this.isItStopNode(this.options.stopNodes,s,c)){let t="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)"/"===c[c.length-1]?(c=c.substr(0,c.length-1),s=s.substr(0,s.length-1),u=c):u=u.substr(0,u.length-1),a=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(c))a=o.closeIndex;else{const n=this.readStopNodeData(e,l,p+1);if(!n)throw new Error(`Unexpected end of ${l}`);a=n.i,t=n.tagContent}const r=new i(c);c!==u&&d&&(r[":@"]=this.buildAttributesMap(u,s,c)),t&&(t=this.parseTextData(t,c,s,!0,d,!0,!0)),s=s.substr(0,s.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,s)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===c[c.length-1]?(c=c.substr(0,c.length-1),s=s.substr(0,s.length-1),u=c):u=u.substr(0,u.length-1),this.options.transformTagName&&(c=this.options.transformTagName(c));const e=new i(c);c!==u&&d&&(e[":@"]=this.buildAttributesMap(u,s,c)),this.addChild(n,e,s),s=s.substr(0,s.lastIndexOf("."))}else{const e=new i(c);this.tagsNodeStack.push(n),c!==u&&d&&(e[":@"]=this.buildAttributesMap(u,s,c)),this.addChild(n,e,s),n=e}r="",a=p}}else r+=e[a]}return t.child};function f(e,t,n){const r=this.options.updateTag(t.tagname,n,t[":@"]);!1===r||("string"==typeof r?(t.tagname=r,e.addChild(t)):e.addChild(t))}const h=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function A(e,t,n,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function m(e,t,n){const r="*."+n;for(const n in e){const i=e[n];if(r===i||t===i)return!0}return!1}function g(e,t,n,r){const i=e.indexOf(t,n);if(-1===i)throw new Error(r);return i+t.length-1}function y(e,t,n,r=">"){const i=function(e,t,n=">"){let r,i="";for(let o=t;o<e.length;o++){let t=e[o];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===n[0]){if(!n[1])return{data:i,index:o};if(e[o+1]===n[1])return{data:i,index:o}}else"\t"===t&&(t=" ");i+=t}}(e,t+1,r);if(!i)return;let o=i.data;const s=i.index,a=o.search(/\s/);let c=o,l=!0;-1!==a&&(c=o.substring(0,a),o=o.substring(a+1).trimStart());const u=c;if(n){const e=c.indexOf(":");-1!==e&&(c=c.substr(e+1),l=c!==i.data.substr(e+1))}return{tagName:c,tagExp:o,closeIndex:s,attrExpPresent:l,rawTagName:u}}function _(e,t,n){const r=n;let i=1;for(;n<e.length;n++)if("<"===e[n])if("/"===e[n+1]){const o=g(e,">",n,`${t} is not closed`);if(e.substring(n+2,o).trim()===t&&(i--,0===i))return{tagContent:e.substring(r,n),i:o};n=o}else if("?"===e[n+1]){n=g(e,"?>",n+1,"StopNode is not closed.")}else if("!--"===e.substr(n+1,3)){n=g(e,"--\x3e",n+3,"StopNode is not closed.")}else if("!["===e.substr(n+1,2)){n=g(e,"]]>",n,"StopNode is not closed.")-2}else{const r=y(e,n,">");if(r){(r&&r.tagName)===t&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex}}}function b(e,t,n){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&s(e,n)}return r.isExist(e)?e:""}e.exports=class OrderedObjParser{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"\u20ac"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"\u20b9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=a,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=l,this.buildAttributesMap=d,this.isItStopNode=m,this.replaceEntitiesValue=h,this.readStopNodeData=_,this.saveTextToParentTag=A,this.addChild=f}}},5220:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ftp=void 0;const i=n(54876),o=n(2203),s=n(16928),a=r(n(3680)),c=r(n(37187)),l=r(n(77140)),u=(0,a.default)("get-uri:ftp");t.ftp=async(e,t={})=>{const{cache:n}=t,r=decodeURIComponent(e.pathname);let a;if(!r)throw new TypeError('No "pathname"!');const d=new i.Client;try{const i=e.hostname||e.host||"localhost",p=parseInt(e.port||"0",10)||21,f=e.username?decodeURIComponent(e.username):void 0,h=e.password?decodeURIComponent(e.password):void 0;await d.access({host:i,port:p,user:f,password:h,...t});try{a=await d.lastMod(r)}catch(e){if(550===e.code)throw new c.default}if(!a){const e=await d.list((0,s.dirname)(r)),t=(0,s.basename)(r),n=e.find((e=>e.name===t));n&&(a=n.modifiedAt)}if(!a)throw new c.default;if(function(){if(n?.lastModified&&a)return+n.lastModified==+a;return!1}())throw new l.default;const A=new o.PassThrough,m=A;return d.downloadTo(A,r).then((e=>{u(e.message),d.close()})),m.lastModified=a,m}catch(e){throw d.close(),e}}},5468:e=>{"use strict";e.exports=i,e.exports.preferredCharsets=i;var t=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function n(e,n){var r=t.exec(e);if(!r)return null;var i=r[1],o=1;if(r[2])for(var s=r[2].split(";"),a=0;a<s.length;a++){var c=s[a].trim().split("=");if("q"===c[0]){o=parseFloat(c[1]);break}}return{charset:i,q:o,i:n}}function r(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if("*"!==t.charset)return null;return{i:n,o:t.i,q:t.q,s:r}}function i(e,t){var i=function(e){for(var t=e.split(","),r=0,i=0;r<t.length;r++){var o=n(t[r].trim(),r);o&&(t[i++]=o)}return t.length=i,t}(void 0===e?"*":e||"");if(!t)return i.filter(a).sort(o).map(s);var c=t.map((function(e,t){return function(e,t,n){for(var i={o:-1,q:0,s:0},o=0;o<t.length;o++){var s=r(e,t[o],n);s&&(i.s-s.s||i.q-s.q||i.o-s.o)<0&&(i=s)}return i}(e,i,t)}));return c.filter(a).sort(o).map((function(e){return t[c.indexOf(e)]}))}function o(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function s(e){return e.charset}function a(e){return e.q>0}},5474:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CachingAutocompletionContext=void 0;const i=r(n(62733));class CachingAutocompletionContext{constructor(e,t){this.delegate=e,this.cache=t,this.cacheOptions={databaseCollectionsTTL:180,collectionSchemaTTL:180,aggregationSchemaTTL:180,...e.cacheOptions}}static caching(e){return new CachingAutocompletionContext(e,new i.default)}currentDatabaseAndConnection(){return this.delegate.currentDatabaseAndConnection()}async databasesForConnection(e){const t=`databasesForConnection::${e}`;if(this.cache.has(t))return this.cache.get(t);const n=await this.delegate.databasesForConnection(e);return this.cache.set(t,n,this.cacheOptions.databaseCollectionsTTL),n}async collectionsForDatabase(e,t){const n=`collectionsForDatabase::${e}::${t}`;if(this.cache.has(n))return this.cache.get(n);const r=await this.delegate.collectionsForDatabase(e,t);return this.cache.set(n,r,this.cacheOptions.databaseCollectionsTTL),r}async schemaInformationForCollection(e,t,n){const r=`schemaInformationForNamespace::${e}::${t}.${n}`;if(this.cache.has(r))return this.cache.get(r);const i=await this.delegate.schemaInformationForCollection(e,t,n);return this.cache.set(r,i,this.cacheOptions.collectionSchemaTTL),i}}t.CachingAutocompletionContext=CachingAutocompletionContext},5519:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildScopeIIFE=function(e,t){const n=[],i=[];for(const t of e)n.push(r.types.identifier(t)),i.push(r.types.identifier(t));return r.types.returnStatement(r.types.callExpression(r.types.arrowFunctionExpression(i,t),n))},t.collectShadowedParamsNames=function(e,t,n){for(const i of Object.keys(e.getBindingIdentifiers())){var r;const e=null==(r=t.bindings[i])?void 0:r.constantViolations;if(e)for(const t of e){const e=t.node;switch(e.type){case"VariableDeclarator":if(null===e.init){const e=t.parentPath;if(!e.parentPath.isFor()||e.parentPath.get("body")===e){t.remove();break}}n.add(i);break;case"FunctionDeclaration":n.add(i)}}}},t.iifeVisitor=void 0;var r=n(18941);t.iifeVisitor={"ReferencedIdentifier|BindingIdentifier"(e,t){const{scope:n,node:r}=e,{name:i}=r;("eval"===i||n.getBinding(i)===t.scope.parent.getBinding(i)&&t.scope.hasOwnBinding(i))&&(t.needsOuterBinding=!0,e.stop())},"TypeAnnotation|TSTypeAnnotation|TypeParameterDeclaration|TSTypeParameterDeclaration":e=>e.skip()}},5731:e=>{"use strict";e.exports=SyntaxError},5982:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callback=void 0;const r=n(91943),i="AZURE_FEDERATED_TOKEN_FILE",o="AWS_WEB_IDENTITY_TOKEN_FILE";t.callback=async()=>{let e;e=process.env[i]?process.env[i]:process.env[o]?process.env[o]:"/var/run/secrets/kubernetes.io/serviceaccount/token";return{accessToken:await(0,r.readFile)(e,"utf8")}}},6095:e=>{"use strict";e.exports=Function.prototype.apply},6106:(e,t,n)=>{"use strict";const r=n(24517);e.exports=(e,t,n)=>{const i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},6192:(e,t,n)=>{"use strict";var r=n(40471),i=n(41673),o=n(74494),s=n(16928).resolve,a=n(32354),c=n(87016);e.exports=function(e,t){if(!e)throw new TypeError("root path required");if("string"!=typeof e)throw new TypeError("root path must be a string");var n=Object.create(t||null),l=!1!==n.fallthrough,u=!1!==n.redirect,d=n.setHeaders;if(d&&"function"!=typeof d)throw new TypeError("option setHeaders must be function");n.maxage=n.maxage||n.maxAge||0,n.root=s(e);var p=u?function(e){if(this.hasTrailingSlash())this.error(404);else{var t=o.original(this.req);t.path=null,t.pathname=function(e){for(var t=0;t<e.length&&47===e.charCodeAt(t);t++);return t>1?"/"+e.substr(t):e}(t.pathname+"/");var n,s,a=r(c.format(t)),l=(n="Redirecting",s="Redirecting to "+i(a),'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+n+"</title>\n</head>\n<body>\n<pre>"+s+"</pre>\n</body>\n</html>\n");e.statusCode=301,e.setHeader("Content-Type","text/html; charset=UTF-8"),e.setHeader("Content-Length",Buffer.byteLength(l)),e.setHeader("Content-Security-Policy","default-src 'none'"),e.setHeader("X-Content-Type-Options","nosniff"),e.setHeader("Location",a),e.end(l)}}:function(){this.error(404)};return function(e,t,r){if("GET"!==e.method&&"HEAD"!==e.method)return l?r():(t.statusCode=405,t.setHeader("Allow","GET, HEAD"),t.setHeader("Content-Length","0"),void t.end());var i=!l,s=o.original(e),c=o(e).pathname;"/"===c&&"/"!==s.pathname.substr(-1)&&(c="");var u=a(e,c,n);u.on("directory",p),d&&u.on("headers",d),l&&u.on("file",(function(){i=!0})),u.on("error",(function(e){!i&&e.statusCode<500?r():r(e)})),u.pipe(t)}}},6225:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.evalOptionsToFlags=t.DefaultIntrinsics=void 0;const r=n(8471);Symbol("Unstable");t.DefaultIntrinsics=Symbol("DefaultIntrinsics"),t.evalOptionsToFlags=function(e){if("number"==typeof e)return e;if(void 0===e)return 0;const{type:t,strict:n,strip:i,compileOnly:o,backtraceBarrier:s}=e;let a=0;return"global"===t&&(a|=r.EvalFlags.JS_EVAL_TYPE_GLOBAL),"module"===t&&(a|=r.EvalFlags.JS_EVAL_TYPE_MODULE),n&&(a|=r.EvalFlags.JS_EVAL_FLAG_STRICT),i&&(a|=r.EvalFlags.JS_EVAL_FLAG_STRIP),o&&(a|=r.EvalFlags.JS_EVAL_FLAG_COMPILE_ONLY),s&&(a|=r.EvalFlags.JS_EVAL_FLAG_BACKTRACE_BARRIER),a},t.concat=function(...e){let t=[];for(const n of e)void 0!==n&&(t=t.concat(n));return t}},6226:(e,t,n)=>{const{buildOptions:r}=n(67063),i=n(5139),{prettify:o}=n(70896),s=n(70919);e.exports=class XMLParser{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"==typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const n=s.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new i(this.options);n.addExternalEntities(this.externalEntities);const r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:o(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}},6360:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInclusionReasons=function(e,t,n){const s=n[e]||{};return Object.keys(t).reduce(((e,n)=>{const a=(0,o.getLowestImplementedVersion)(s,n),c=t[n];if(a){const t=(0,o.isUnreleasedVersion)(a,n);(0,o.isUnreleasedVersion)(c,n)||!t&&!r.lt(c.toString(),(0,o.semverify)(a))||(e[n]=(0,i.prettifyVersion)(c))}else e[n]=(0,i.prettifyVersion)(c);return e}),{})};var r=n(50648),i=n(36387),o=n(49906)},6385:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e){this.print(e.left),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):(this.token(e.operator),this._endsWithDiv="/"===e.operator);this.space(),this.print(e.right)},t.AssignmentPattern=function(e){this.print(e.left),("Identifier"===e.left.type||l(e.left))&&(e.left.optional&&this.tokenChar(63),this.print(e.left.typeAnnotation));this.space(),this.tokenChar(61),this.space(),this.print(e.right)},t.AwaitExpression=function(e){this.word("await"),e.argument&&(this.space(),this.printTerminatorless(e.argument))},t.BindExpression=function(e){this.print(e.object),this.token("::"),this.print(e.callee)},t.CallExpression=function(e){this.print(e.callee),this.print(e.typeArguments),this.print(e.typeParameters),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),t(),this.rightParens(e)},t.ConditionalExpression=function(e){this.print(e.test),this.space(),this.tokenChar(63),this.space(),this.print(e.consequent),this.space(),this.tokenChar(58),this.space(),this.print(e.alternate)},t.Decorator=function(e){this.tokenChar(64),this.print(e.expression),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async",!0),this.space());this.word("do"),this.space(),this.print(e.body)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.tokenContext|=i.TokenContext.expressionStatement,this.print(e.expression),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object),!e.computed&&a(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;s(e.property)&&"number"==typeof e.property.value&&(t=!0);if(t){const t=this.enterDelimited();this.tokenChar(91),this.print(e.property),this.tokenChar(93),t()}else this.tokenChar(46),this.print(e.property)},t.MetaProperty=function(e){this.print(e.meta),this.tokenChar(46),this.print(e.property)},t.ModuleExpression=function(e){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:t}=e;(t.body.length||t.directives.length)&&this.newline();this.print(t),this.dedent(),this.rightBrace(e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee),this.format.minified&&0===e.arguments.length&&!e.optional&&!o(t,{callee:e})&&!a(t)&&!c(t))return;this.print(e.typeArguments),this.print(e.typeParameters),e.optional&&this.token("?.");if(0===e.arguments.length&&this.tokenMap&&!this.tokenMap.endMatches(e,")"))return;this.tokenChar(40);const n=this.enterDelimited();this.printList(e.arguments,this.shouldPrintTrailingComma(")")),n(),this.rightParens(e)},t.OptionalCallExpression=function(e){this.print(e.callee),this.print(e.typeParameters),e.optional&&this.token("?.");this.print(e.typeArguments),this.tokenChar(40);const t=this.enterDelimited();this.printList(e.arguments),t(),this.rightParens(e)},t.OptionalMemberExpression=function(e){let{computed:t}=e;const{optional:n,property:r}=e;if(this.print(e.object),!t&&a(r))throw new TypeError("Got a MemberExpression for MemberExpression property");s(r)&&"number"==typeof r.value&&(t=!0);n&&this.token("?.");t?(this.tokenChar(91),this.print(r),this.tokenChar(93)):(n||this.tokenChar(46),this.print(r))},t.ParenthesizedExpression=function(e){this.tokenChar(40);const t=this.enterDelimited();this.print(e.expression),t(),this.rightParens(e)},t.PrivateName=function(e){this.tokenChar(35),this.print(e.id)},t.SequenceExpression=function(e){this.printList(e.expressions)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},t.UnaryExpression=function(e){const{operator:t}=e;"void"===t||"delete"===t||"typeof"===t||"throw"===t?(this.word(t),this.space()):this.token(t);this.print(e.argument)},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument)):(this.print(e.argument,!0),this.token(e.operator))},t.V8IntrinsicIdentifier=function(e){this.tokenChar(37),this.word(e.name)},t.YieldExpression=function(e){this.word("yield",!0),e.delegate?(this.tokenChar(42),e.argument&&(this.space(),this.print(e.argument))):e.argument&&(this.space(),this.printTerminatorless(e.argument))},t._shouldPrintDecoratorsBeforeExport=function(e){if("boolean"==typeof this.format.decoratorsBeforeExport)return this.format.decoratorsBeforeExport;return"number"==typeof e.start&&e.start===e.declaration.start};var r=n(58135),i=n(21956);const{isCallExpression:o,isLiteral:s,isMemberExpression:a,isNewExpression:c,isPattern:l}=r},6560:(e,t,n)=>{"use strict";t.A=void 0;var r=n(32482),i=n(18941);t.A=(0,r.declare)((e=>(e.assertVersion(7),{name:"transform-shorthand-properties",visitor:{ObjectMethod(e){const{node:t}=e;if("method"===t.kind){const n=i.types.functionExpression(null,t.params,t.body,t.generator,t.async);n.returnType=t.returnType;const r=i.types.toComputedKey(t);i.types.isStringLiteral(r,{value:"__proto__"})?e.replaceWith(i.types.objectProperty(r,n,!0)):e.replaceWith(i.types.objectProperty(t.key,n,t.computed))}},ObjectProperty(e){const{node:t}=e;if(t.shorthand){const n=i.types.toComputedKey(t);i.types.isStringLiteral(n,{value:"__proto__"})?e.replaceWith(i.types.objectProperty(n,t.value,!0)):t.shorthand=!1}}}})))},6565:(e,t,n)=>{"use strict";var r=n(57172),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},c=1024;e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],s=i.obj[i.prop],a=Object.keys(s),c=0;c<a.length;++c){var l=a[c],u=s[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:s,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<a.length;u+=c){for(var d=a.length>=c?a.slice(u,u+c):a,p=[],f=0;f<d.length;++f){var h=d.charCodeAt(f);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||o===r.RFC1738&&(40===h||41===h)?p[p.length]=d.charAt(f):h<128?p[p.length]=s[h]:h<2048?p[p.length]=s[192|h>>6]+s[128|63&h]:h<55296||h>=57344?p[p.length]=s[224|h>>12]+s[128|h>>6&63]+s[128|63&h]:(f+=1,h=65536+((1023&h)<<10|1023&d.charCodeAt(f)),p[p.length]=s[240|h>>18]+s[128|h>>12&63]+s[128|h>>6&63]+s[128|63&h])}l+=p.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var s=t[o];s&&"object"==typeof s&&n&&"object"==typeof n?t[o]=e(s,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var s=n[o];return i.call(t,o)?t[o]=e(t[o],s,r):t[o]=s,t}),s)}}},6571:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ip=void 0;const i=r(n(70857));function o(e){return 4===e?"ipv4":6===e?"ipv6":e?e.toLowerCase():"ipv4"}t.ip={address(){const e=i.default.networkInterfaces(),n=o(),r=Object.values(e).map(((e=[])=>{const r=e.filter((e=>o(e.family)===n&&!t.ip.isLoopback(e.address)));return r.length?r[0].address:void 0})).filter(Boolean);return r.length?r[0]:t.ip.loopback(n)},isLoopback:e=>/^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/.test(e)||/^fe80::1$/.test(e)||/^::1$/.test(e)||/^::$/.test(e),loopback(e){if("ipv4"!==(e=o(e))&&"ipv6"!==e)throw new Error("family must be ipv4 or ipv6");return"ipv4"===e?"127.0.0.1":"fe80::1"}}},6711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClientBulkWriteResultsMerger=void 0;const r=n(57380),i=n(39502),o={acknowledged:!1,insertedCount:0,upsertedCount:0,matchedCount:0,modifiedCount:0,deletedCount:0,insertResults:void 0,updateResults:void 0,deleteResults:void 0};t.ClientBulkWriteResultsMerger=class ClientBulkWriteResultsMerger{static unacknowledged(){return o}constructor(e){this.options=e,this.currentBatchOffset=0,this.writeConcernErrors=[],this.writeErrors=new Map,this.result={acknowledged:!0,insertedCount:0,upsertedCount:0,matchedCount:0,modifiedCount:0,deletedCount:0,insertResults:void 0,updateResults:void 0,deleteResults:void 0},e.verboseResults&&(this.result.insertResults=new Map,this.result.updateResults=new Map,this.result.deleteResults=new Map)}get bulkWriteResult(){return{acknowledged:this.result.acknowledged,insertedCount:this.result.insertedCount,upsertedCount:this.result.upsertedCount,matchedCount:this.result.matchedCount,modifiedCount:this.result.modifiedCount,deletedCount:this.result.deletedCount,insertResults:this.result.insertResults,updateResults:this.result.updateResults,deleteResults:this.result.deleteResults}}async merge(e){let t;try{for await(const t of e)if(1===t.ok)this.options.verboseResults&&this.processDocument(e,t);else{if(this.options.ordered){const e=new i.MongoClientBulkWriteError({message:"Mongo client ordered bulk write encountered a write error."});throw e.writeErrors.set(t.idx+this.currentBatchOffset,{code:t.code,message:t.errmsg}),e.partialResult=this.result,e}this.writeErrors.set(t.idx+this.currentBatchOffset,{code:t.code,message:t.errmsg})}}catch(n){if(!(n instanceof r.MongoWriteConcernError))throw n;{const r=n.result;if(t={insertedCount:r.nInserted,upsertedCount:r.nUpserted,matchedCount:r.nMatched,modifiedCount:r.nModified,deletedCount:r.nDeleted,writeConcernError:r.writeConcernError},this.options.verboseResults&&r.cursor.firstBatch)for(const t of r.cursor.firstBatch)1===t.ok&&this.processDocument(e,t)}}finally{if(e.response){const t=e.response;this.incrementCounts(t)}this.currentBatchOffset+=e.operations.length}if(t){const e=t.writeConcernError;this.incrementCounts(t),this.writeConcernErrors.push({code:e.code,message:e.errmsg})}return this.result}processDocument(e,t){const n=e.operations[t.idx];if("insert"in n&&this.result.insertResults?.set(t.idx+this.currentBatchOffset,{insertedId:n.document._id}),"update"in n){const e={matchedCount:t.n,modifiedCount:t.nModified??0,didUpsert:null!=t.upserted};t.upserted&&(e.upsertedId=t.upserted._id),this.result.updateResults?.set(t.idx+this.currentBatchOffset,e)}"delete"in n&&this.result.deleteResults?.set(t.idx+this.currentBatchOffset,{deletedCount:t.n})}incrementCounts(e){this.result.insertedCount+=e.insertedCount,this.result.upsertedCount+=e.upsertedCount,this.result.matchedCount+=e.matchedCount,this.result.modifiedCount+=e.modifiedCount,this.result.deletedCount+=e.deletedCount}}},6775:(e,t,n)=>{"use strict";n.d(t,{UF:()=>c,vL:()=>a});var r=n(96954);const i=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!i(t))return!1;return!0}return!!(0,r.X8)(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!(0,r.oX)(e)))};let o=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}'),s="";const a=()=>s,c={isVirtualHostableS3Bucket:i,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[n,r,i,o,s,...a]=t;return"arn"!==n||""===r||""===i||""===a[0]?null:{partition:r,service:i,region:o,accountId:s,resourceId:a[0].includes("/")?a[0].split("/"):a}},partition:e=>{const{partitions:t}=o;for(const n of t){const{regions:t,outputs:r}=n;for(const[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(const n of t){const{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}const n=t.find((e=>"aws"===e.id));if(!n)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...n.outputs}}};r.mw.aws=c},6938:(e,t,n)=>{"use strict";var r=n(20534),i=n(109),o=n(69795).customRandom;e.exports=function(e){for(var t,n=0,s="";!t;)s+=o(r.get(),1,i)(),t=e<Math.pow(16,n+1),n++;return s}},6944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const n=t.preserveComments?i:o;for(const t of n)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const r=Object.getOwnPropertySymbols(e);for(const t of r)e[t]=null};var r=n(79897);const i=["tokens","start","end","loc","raw","rawValue"],o=[...r.COMMENT_KEYS,"comments",...i]},7010:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(20418):e.exports=n(62136)},7077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPORTED_CONST_ENUMS_IN_NAMESPACE=void 0,t.default=function(e,t){const{name:n}=e.node.id,o=e.parentPath.isExportNamedDeclaration();let s=o;!s&&t.isProgram(e.parent)&&(s=e.parent.body.some((e=>t.isExportNamedDeclaration(e)&&"type"!==e.exportKind&&!e.source&&e.specifiers.some((e=>t.isExportSpecifier(e)&&"type"!==e.exportKind&&e.local.name===n)))));const{enumValues:a}=(0,r.translateEnumValues)(e,t);if(s||i.has(e.node)){const r=t.objectExpression(a.map((([e,n])=>t.objectProperty(t.isValidIdentifier(e)?t.identifier(e):t.stringLiteral(e),n))));return void(e.scope.hasOwnBinding(n)?(o?e.parentPath:e).replaceWith(t.expressionStatement(t.callExpression(t.memberExpression(t.identifier("Object"),t.identifier("assign")),[e.node.id,r]))):(e.replaceWith(t.variableDeclaration("var",[t.variableDeclarator(e.node.id,r)])),e.scope.registerDeclaration(e)))}const c=new Map(a);e.scope.path.traverse({Scope(e){e.scope.hasOwnBinding(n)&&e.skip()},MemberExpression(e){if(!t.isIdentifier(e.node.object,{name:n}))return;let r;if(e.node.computed){if(!t.isStringLiteral(e.node.property))return;r=e.node.property.value}else{if(!t.isIdentifier(e.node.property))return;r=e.node.property.name}c.has(r)&&e.replaceWith(t.cloneNode(c.get(r)))}}),e.remove()};var r=n(31231);const i=t.EXPORTED_CONST_ENUMS_IN_NAMESPACE=new WeakSet},7141:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,l){const u=e.get("params");if(u.every((e=>e.isIdentifier())))return!1;const{node:d,scope:p}=e,f=[],h=new Set;for(const e of u)(0,i.collectShadowedParamsNames)(e,p,h);const A={needsOuterBinding:!1,scope:p};if(0===h.size)for(const e of u)if(e.isIdentifier()||e.traverse(i.iifeVisitor,A),A.needsOuterBinding)break;let m=null;for(let i=0;i<u.length;i++){const h=u[i];if(n&&!n(i))continue;const A=[];l&&l(e,h,A);const g=h.isAssignmentPattern();if(g&&(t||r.types.isMethod(d,{kind:"set"}))){const e=h.get("left"),t=h.get("right"),n=p.buildUndefinedNode();if(e.isIdentifier())f.push(s({ASSIGNMENT_IDENTIFIER:r.types.cloneNode(e.node),DEFAULT_VALUE:t.node,UNDEFINED:n})),h.replaceWith(e.node);else if(e.isObjectPattern()||e.isArrayPattern()){const i=p.generateUidIdentifier();f.push(a({ASSIGNMENT_IDENTIFIER:e.node,DEFAULT_VALUE:t.node,PARAMETER_NAME:r.types.cloneNode(i),UNDEFINED:n})),h.replaceWith(i)}}else if(g){null===m&&(m=i);const e=h.get("left"),t=h.get("right"),n=o({VARIABLE_NAME:e.node,DEFAULT_VALUE:t.node,ARGUMENT_KEY:r.types.numericLiteral(i)});f.push(n)}else if(null!==m){const e=c([h.node,r.types.numericLiteral(i)]);f.push(e)}else if(h.isObjectPattern()||h.isArrayPattern()){const t=e.scope.generateUidIdentifier("ref");t.typeAnnotation=h.node.typeAnnotation;const n=r.types.variableDeclaration("let",[r.types.variableDeclarator(h.node,t)]);f.push(n),h.replaceWith(r.types.cloneNode(t))}if(A)for(const e of A)f.push(e)}null!==m&&(d.params=d.params.slice(0,m));e.ensureBlock();const g=e,{async:y,generator:_}=d;if(_||A.needsOuterBinding||h.size>0){f.push((0,i.buildScopeIIFE)(h,g.node.body)),e.set("body",r.types.blockStatement(f));const t=g.get("body.body"),n=t[t.length-1].get("argument.callee");n.arrowFunctionToExpression(),n.node.generator=_,n.node.async=y,d.generator=!1,d.async=!1,y&&(g.node.body=r.template.statement.ast`{
5
5
  try {
6
6
  ${g.node.body.body}
7
7
  } catch (e) {