cloudstudio
Version:
Run VS Code on a remote server.
3 lines • 7.51 MB
JavaScript
(()=>{var __webpack_modules__={64063:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(a=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;0!=i--;){var o=a[i];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},49461:e=>{"use strict";var m=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),function e(t,r,n,i,a,o,s,u,c,l){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var p in r(i,a,o,s,u,c,l),i){var f=i[p];if(Array.isArray(f)){if(p in m.arrayKeywords)for(var d=0;d<f.length;d++)e(t,r,n,f[d],a+"/"+p+"/"+d,o,a,p,i,d)}else if(p in m.propsKeywords){if(f&&"object"==typeof f)for(var h in f)e(t,r,n,f[h],a+"/"+p+"/"+g(h),o,a,p,i,h)}else(p in m.keywords||t.allKeys&&!(p in m.skipKeywords))&&e(t,r,n,f,a+"/"+p,o,a,p,i)}n(i,a,o,s,u,c,l)}}(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function g(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}m.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},m.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},m.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},m.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},60516:(e,t,r)=>{"use strict";function C(a,e=!1){const i=a.length;let o=0,s="",u=0,c=16,l=0,p=0,f=0,d=0,h=0;function m(){let e="",t=o;for(;;){if(o>=i){e+=a.substring(t,o),h=2;break}var r=a.charCodeAt(o);if(34===r){e+=a.substring(t,o),o++;break}if(92===r){if(e+=a.substring(t,o),++o>=i){h=2;break}switch(a.charCodeAt(o++)){case 34:e+='"';break;case 92:e+="\\";break;case 47:e+="/";break;case 98:e+="\b";break;case 102:e+="\f";break;case 110:e+="\n";break;case 114:e+="\r";break;case 116:e+="\t";break;case 117:var n=function(e,t){let r=0,n=0;for(;r<e||!t;){var i=a.charCodeAt(o);if(48<=i&&i<=57)n=16*n+i-48;else if(65<=i&&i<=70)n=16*n+i-65+10;else{if(!(97<=i&&i<=102))break;n=16*n+i-97+10}o++,r++}return n=r<e?-1:n}(4,!0);0<=n?e+=String.fromCharCode(n):h=4;break;default:h=5}t=o}else{if(0<=r&&r<=31){if(_(r)){e+=a.substring(t,o),h=2;break}h=6}o++}}return e}function t(){if(s="",h=0,u=o,p=l,d=f,o>=i)return u=i,c=17;let e=a.charCodeAt(o);if(g(e)){for(;o++,s+=String.fromCharCode(e),g(e=a.charCodeAt(o)););return c=15}if(_(e))return o++,s+=String.fromCharCode(e),13===e&&10===a.charCodeAt(o)&&(o++,s+="\n"),l++,f=o,c=14;switch(e){case 123:return o++,c=1;case 125:return o++,c=2;case 91:return o++,c=3;case 93:return o++,c=4;case 58:return o++,c=6;case 44:return o++,c=5;case 34:return o++,s=m(),c=10;case 47:var t=o-1;if(47===a.charCodeAt(o+1)){for(o+=2;o<i&&!_(a.charCodeAt(o));)o++;return s=a.substring(t,o),c=12}if(42!==a.charCodeAt(o+1))return s+=String.fromCharCode(e),o++,c=16;{o+=2;var r=i-1;let e=!1;for(;o<r;){var n=a.charCodeAt(o);if(42===n&&47===a.charCodeAt(o+1)){o+=2,e=!0;break}o++,_(n)&&(13===n&&10===a.charCodeAt(o)&&o++,l++,f=o)}return e||(o++,h=1),s=a.substring(t,o),c=13}case 45:if(s+=String.fromCharCode(e),++o===i||!y(a.charCodeAt(o)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=function(){var e=o;if(48===a.charCodeAt(o))o++;else for(o++;o<a.length&&y(a.charCodeAt(o));)o++;if(o<a.length&&46===a.charCodeAt(o)){if(!(++o<a.length&&y(a.charCodeAt(o))))return h=3,a.substring(e,o);for(o++;o<a.length&&y(a.charCodeAt(o));)o++}let t=o;if(o<a.length&&(69===a.charCodeAt(o)||101===a.charCodeAt(o)))if((++o<a.length&&43===a.charCodeAt(o)||45===a.charCodeAt(o))&&o++,o<a.length&&y(a.charCodeAt(o))){for(o++;o<a.length&&y(a.charCodeAt(o));)o++;t=o}else h=3;return a.substring(e,t)}(),c=11;default:for(;o<i&&function(e){if(g(e)||_(e))return;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return}return 1}(e);)o++,e=a.charCodeAt(o);if(u===o)return s+=String.fromCharCode(e),o++,c=16;switch(s=a.substring(u,o)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}}return{setPosition:function(e){o=e,s="",u=0,c=16,h=0},getPosition:()=>o,scan:e?function(){let e;for(;12<=(e=t())&&e<=15;);return e}:t,getToken:()=>c,getTokenValue:()=>s,getTokenOffset:()=>u,getTokenLength:()=>o-u,getTokenStartLine:()=>p,getTokenStartCharacter:()=>u-d,getTokenError:()=>h}}function g(e){return 32===e||9===e}function _(e){return 10===e||13===e}function y(e){return 48<=e&&e<=57}var T;function n(n,i,a){let t,r,o,s,u;if(i){for(s=i.offset,u=s+i.length,o=s;0<o&&!x(n,o-1);)o--;let e=u;for(;e<n.length&&!x(n,e);)e++;r=n.substring(o,e),t=function(e,t){let r=0,n=0;var i=t.tabSize||4;for(;r<e.length;){var a=e.charAt(r);if(" "===a)n++;else{if("\t"!==a)break;n+=i}r++}return Math.floor(n/i)}(r,a)}else r=n,t=0,o=0,s=0,u=n.length;const c=function(e,t){for(let e=0;e<t.length;e++){var r=t.charAt(e);if("\r"===r)return e+1<t.length&&"\n"===t.charAt(e+1)?"\r\n":"\r";if("\n"===r)return"\n"}return e&&e.eol||"\n"}(a,n);let l=0,p=0,e,f=(e=a.insertSpaces?E(" ",a.tabSize||4):"\t",C(r,!1)),d=!1;function h(){return 1<l?E(c,l)+E(e,t+p):c+E(e,t+p)}function m(){let e=f.scan();for(l=0;15===e||14===e;)14===e&&a.keepLines?l+=1:14===e&&(l=1),e=f.scan();return d=16===e||0!==f.getTokenError(),e}const g=[];function _(e,t,r){d||i&&!(t<u&&r>s)||n.substring(t,r)===e||g.push({offset:t,length:r-t,content:e})}let y=m();var v;for(a.keepLines&&0<l&&_(E(c,l),0,0),17!==y&&(v=f.getTokenOffset()+o,_(E(e,t),o,v));17!==y;){let e=f.getTokenOffset()+f.getTokenLength()+o,t=m(),r="",n=!1;for(;0===l&&(12===t||13===t);){var D=f.getTokenOffset()+o;_(" ",e,D),e=f.getTokenOffset()+f.getTokenLength()+o,n=12===t,r=n?h():"",t=m()}if(2===t)1!==y&&p--,a.keepLines&&0<l||!a.keepLines&&1!==y?r=h():a.keepLines&&(r=" ");else if(4===t)3!==y&&p--,a.keepLines&&0<l||!a.keepLines&&3!==y?r=h():a.keepLines&&(r=" ");else{switch(y){case 3:case 1:p++,r=a.keepLines&&0<l||!a.keepLines?h():" ";break;case 5:r=a.keepLines&&0<l||!a.keepLines?h():" ";break;case 12:r=h();break;case 13:0<l?r=h():n||(r=" ");break;case 6:a.keepLines&&0<l?r=h():n||(r=" ");break;case 10:a.keepLines&&0<l?r=h():6!==t||n||(r="");break;case 7:case 8:case 9:case 11:case 2:case 4:a.keepLines&&0<l?r=h():12!==t&&13!==t||n?5!==t&&17!==t&&(d=!0):r=" ";break;case 16:d=!0}0<l&&(12===t||13===t)&&(r=h())}17===t&&(r=a.keepLines&&0<l?h():a.insertFinalNewline?c:"");var b=f.getTokenOffset()+o;_(r,e,b),y=t}return g}function E(t,r){let n="";for(let e=0;e<r;e++)n+=t;return n}function x(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function s(e,t,r=T.DEFAULT){const n=C(e,!1),i=[];function a(e){return e?()=>e(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function o(e){return e?()=>e(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice()):()=>!0}function s(t){return t?e=>t(e,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function u(t){return t?e=>t(e,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice()):()=>!0}const c=o(t.onObjectBegin),l=u(t.onObjectProperty),p=a(t.onObjectEnd),f=o(t.onArrayBegin),d=a(t.onArrayEnd),h=u(t.onLiteralValue),m=s(t.onSeparator),g=a(t.onComment),_=s(t.onError),y=r&&r.disallowComments,v=r&&r.allowTrailingComma;function D(){for(;;){var e=n.scan();switch(n.getTokenError()){case 4:b(14);break;case 5:b(15);break;case 3:b(13);break;case 1:y||b(11);break;case 2:b(12);break;case 6:b(16)}switch(e){case 12:case 13:y?b(10):g();break;case 16:b(1);break;case 15:case 14:break;default:return e}}}function b(e,t=[],r=[]){if(_(e),0<t.length+r.length){let e=n.getToken();for(;17!==e;){if(-1!==t.indexOf(e)){D();break}if(-1!==r.indexOf(e))break;e=D()}}}function E(e){var t=n.getTokenValue();return e?h(t):(l(t),i.push(t)),D(),!0}function x(){c(),D();let e=!1;for(;2!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(e||b(4,[],[]),m(","),D(),2===n.getToken()&&v)break}else e&&b(6,[],[]);!function(){if(10===n.getToken())return E(!1),6===n.getToken()?(m(":"),D(),S()||b(4,[],[2,5])):b(5,[],[2,5]),i.pop(),1;b(3,[],[2,5])}()&&b(4,[],[2,5]),e=!0}return p(),2!==n.getToken()?b(7,[2],[]):D(),!0}function S(){switch(n.getToken()){case 3:{f(),D();let e=!0,t=!1;for(;4!==n.getToken()&&17!==n.getToken();){if(5===n.getToken()){if(t||b(4,[],[]),m(","),D(),4===n.getToken()&&v)break}else t&&b(6,[],[]);e?(i.push(0),e=!1):i[i.length-1]++,S()||b(4,[],[4,5]),t=!0}return d(),e||i.pop(),4!==n.getToken()?b(8,[4],[]):D(),1;return}case 1:return x();case 10:return E(!0);default:switch(n.getToken()){case 11:var t=n.getTokenValue();let e=Number(t);isNaN(e)&&(b(2),e=0),h(e);break;case 7:h(null);break;case 8:h(!0);break;case 9:h(!1);break;default:return}return D(),1}}return D(),17===n.getToken()?!!r.allowEmptyContent||(b(4,[],[]),!1):S()?(17!==n.getToken()&&b(9,[],[]),!0):(b(4,[],[]),!1)}r.d(t,{tU:()=>i,Hk:()=>o,WU:()=>n,F6:()=>u,zA:()=>c,Qc:()=>a}),(T=T||{}).DEFAULT={allowTrailingComma:!1};const i=C;const a=function(e,n=[],t=T.DEFAULT){let r=null,i=[];const a=[];function o(e){Array.isArray(i)?i.push(e):null!==r&&(i[r]=e)}return s(e,{onObjectBegin:()=>{var e={};o(e),a.push(i),i=e,r=null},onObjectProperty:e=>{r=e},onObjectEnd:()=>{i=a.pop()},onArrayBegin:()=>{var e=[];o(e),a.push(i),i=e,r=null},onArrayEnd:()=>{i=a.pop()},onLiteralValue:o,onError:(e,t,r)=>{n.push({error:e,offset:t,length:r})}},t),i[0]};const o=function t(e,r,n=!1){if([o,s,u=!1]=[e,r,n],s>=o.offset&&s<o.offset+o.length||u&&s===o.offset+o.length){var i=e.children;if(Array.isArray(i))for(let e=0;e<i.length&&i[e].offset<=r;e++){var a=t(i[e],r,n);if(a)return a}return e}var o,s,u},u=function e(t){if(!t.parent||!t.parent.children)return[];const r=e(t.parent);var n;return"property"===t.parent.type?(n=t.parent.children[0].value,r.push(n)):"array"===t.parent.type&&-1!==(n=t.parent.children.indexOf(t))&&r.push(n),r},c=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":const i=Object.create(null);for(var r of t.children){var n=r.children[1];n&&(i[r.children[0].value]=e(n))}return i;case"null":case"string":case"number":case"boolean":return t.value;default:return}}},42775:(e,t,r)=>{var n,i={46:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(a,o,{signal:s}={}){return new Promise((t,r)=>{function n(){null!=s&&s.removeEventListener("abort",n),a.removeListener(o,e),a.removeListener("error",i)}function e(...e){n(),t(e)}function i(e){n(),r(e)}null!=s&&s.addEventListener("abort",n),a.on(o,e),a.on("error",i)})}},54:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=r(361),a=n(r(374)),c=n(r(304)),l=a.default("agent-base");function p(){const e=(new Error)["stack"];return"string"==typeof e&&e.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}function o(e,t){return new o.Agent(e,t)}{n=o=o||{};class s extends i.EventEmitter{constructor(e,t){super();let r=t;"function"==typeof e?this.callback=e:e&&(r=e),this.timeout=null,r&&"number"==typeof r.timeout&&(this.timeout=r.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:p()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:p()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,r){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(r,e){const n=Object.assign({},e);"boolean"!=typeof n.secureEndpoint&&(n.secureEndpoint=p()),null==n.host&&(n.host="localhost"),null==n.port&&(n.port=n.secureEndpoint?443:80),null==n.protocol&&(n.protocol=n.secureEndpoint?"https:":"http:"),n.host&&n.path&&delete n.path,delete n.agent,delete n.hostname,delete n._defaultAgent,delete n.defaultPort,delete n.createConnection,r._last=!0;let i=r.shouldKeepAlive=!1,a=null;const t=n.timeout||this.timeout,o=e=>{r._hadError||(r.emit("error",e),r._hadError=!0)},s=e=>{i||(null!==a&&(clearTimeout(a),a=null),o(e))},u=e=>{if(!i){if(null!=a&&(clearTimeout(a),a=null),t=e,Boolean(t)&&"function"==typeof t.addRequest)return l("Callback returned another Agent instance %o",e.constructor.name),void e.addRequest(r,n);if(e)return e.once("free",()=>{this.freeSocket(e,n)}),void r.onSocket(e);var t=new Error(`no Duplex stream was returned to agent-base for \`${r.method} ${r.path}\``);o(t)}};if("function"==typeof this.callback){this.promisifiedCallback||(3<=this.callback.length?(l("Converting legacy callback function to promise"),this.promisifiedCallback=c.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof t&&0<t&&(a=setTimeout(()=>{a=null,i=!0;const e=new Error(`A "socket" was not created for HTTP request before ${t}ms`);e.code="ETIMEOUT",o(e)},t)),"port"in n&&"number"!=typeof n.port&&(n.port=Number(n.port));try{l("Resolving socket for %o request: %o",n.protocol,r.method+" "+r.path),Promise.resolve(this.promisifiedCallback(r,n)).then(u,s)}catch(r){Promise.reject(r).catch(s)}}else o(new Error("`callback` is not defined"))}freeSocket(e,t){l("Freeing socket %o %o",e.constructor.name,t),e.destroy()}destroy(){l("Destroying agent %o",this.constructor.name)}}n.Agent=s,n.prototype=n.Agent.prototype}e.exports=o},304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(i){return function(e,t){return new Promise((r,n)=>{i.call(this,e,t,(e,t)=>{e?n(e):r(t)})})}}},370:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,o,s,u){return new(s=s||Promise)(function(r,t){function n(e){try{a(u.next(e))}catch(e){t(e)}}function i(e){try{a(u.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,i)}a((u=u.apply(e,o||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=i(r(808)),s=i(r(404)),u=i(r(310)),a=i(r(374)),c=i(r(46)),l=r(54),p=(0,a.default)("http-proxy-agent");class f extends l.Agent{constructor(e){var e="string"==typeof e?u.default.parse(e):e;if(!e)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");p("Creating new HttpProxyAgent instance: %o",e),super(e);const t=Object.assign({},e);this.secureProxy=e.secureProxy||"string"==typeof(e=t.protocol)&&/^https:?$/i.test(e),t.host=t.hostname||t.host,"string"==typeof t.port&&(t.port=parseInt(t.port,10)),!t.port&&t.host&&(t.port=this.secureProxy?443:80),t.host&&t.path&&(delete t.path,delete t.pathname),this.proxy=t}callback(i,a){return n(this,void 0,void 0,function*(){const{proxy:e,secureProxy:t}=this,r=u.default.parse(i.path);let n;if(r.protocol||(r.protocol="http:"),r.hostname||(r.hostname=a.hostname||a.host||null),null==r.port&&(a.port,1)&&(r.port=String(a.port)),"80"===r.port&&(r.port=""),i.path=u.default.format(r),e.auth&&i.setHeader("Proxy-Authorization","Basic "+Buffer.from(e.auth).toString("base64")),n=t?(p("Creating `tls.Socket`: %o",e),s.default.connect(e)):(p("Creating `net.Socket`: %o",e),o.default.connect(e)),i._header){let e,t;p("Regenerating stored HTTP header string for request"),i._header=null,i._implicitHeader(),i.output&&0<i.output.length?(p("Patching connection write() output buffer with updated header"),e=i.output[0],t=e.indexOf("\r\n\r\n")+4,i.output[0]=i._header+e.substring(t),p("Output buffer: %o",i.output)):i.outputData&&0<i.outputData.length&&(p("Patching connection write() output buffer with updated header"),e=i.outputData[0].data,t=e.indexOf("\r\n\r\n")+4,i.outputData[0].data=i._header+e.substring(t),p("Output buffer: %o",i.outputData[0].data))}return yield(0,c.default)(n,"connect"),n})}}t.default=f},201:function(e,t,r){"use strict";const n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(370));function i(e){return new n.default(e)}(r=i=i||{}).HttpProxyAgent=n.default,r.prototype=n.default.prototype,e.exports=i},146:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,o,s,u){return new(s=s||Promise)(function(r,t){function n(e){try{a(u.next(e))}catch(e){t(e)}}function i(e){try{a(u.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,i)}a((u=u.apply(e,o||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const d=i(r(808)),h=i(r(404)),a=i(r(310)),m=i(r(491)),o=i(r(374)),s=r(54),g=i(r(829)),_=o.default("https-proxy-agent:agent");class u extends s.Agent{constructor(e){var e="string"==typeof e?a.default.parse(e):e;if(!e)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");_("creating new HttpsProxyAgent instance: %o",e),super(e);const t=Object.assign({},e);this.secureProxy=e.secureProxy||"string"==typeof(e=t.protocol)&&/^https:?$/i.test(e),t.host=t.hostname||t.host,"string"==typeof t.port&&(t.port=parseInt(t.port,10)),!t.port&&t.host&&(t.port=this.secureProxy?443:80),!this.secureProxy||"ALPNProtocols"in t||(t.ALPNProtocols=["http 1.1"]),t.host&&t.path&&(delete t.path,delete t.pathname),this.proxy=t}callback(p,f){return n(this,void 0,void 0,function*(){var{proxy:e,secureProxy:t}=this;let r;r=t?(_("Creating `tls.Socket`: %o",e),h.default.connect(e)):(_("Creating `net.Socket`: %o",e),d.default.connect(e));const n=Object.assign({},e.headers);let i=`CONNECT ${f.host}:${f.port} HTTP/1.1\r
`,{host:a,port:o,secureEndpoint:s}=(e.auth&&(n["Proxy-Authorization"]="Basic "+Buffer.from(e.auth).toString("base64")),f);t=o,Boolean(!s&&80===t||s&&443===t)||(a+=":"+o),n.Host=a,n.Connection="close";for(const p of Object.keys(n))i+=`${p}: ${n[p]}\r\n`;e=g.default(r);r.write(i+`\r
`);const{statusCode:u,buffered:c}=yield e;if(200===u){if(p.once("socket",y),f.secureEndpoint){const p=f.servername||f.host;if(p)return _("Upgrading socket connection to TLS"),h.default.connect(Object.assign(Object.assign({},function(e,t){const r={};let n;for(n in e)t.includes(n)||(r[n]=e[n]);return r}(f,["host","hostname","path","port"])),{socket:r,servername:p}));throw new Error('Could not determine "servername"')}return r}r.destroy();const l=new d.default.Socket;return l.readable=!0,p.once("socket",e=>{_("replaying proxy buffer for failed request"),m.default(0<e.listenerCount("data")),e.push(c),e.push(null)}),l})}}function y(e){e.resume()}t.default=u},18:function(e,t,r){"use strict";const n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(146));function i(e){return new n.default(e)}(r=i=i||{}).HttpsProxyAgent=n.default,r.prototype=n.default.prototype,e.exports=i},829:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=n(r(374)).default("https-proxy-agent:parse-proxy-response");t.default=function(c){return new Promise((i,r)=>{let a=0;const o=[];function s(){var e=c.read();if(e){o.push(e),a+=e.length;const t=Buffer.concat(o,a);if(-1===t.indexOf("\r\n\r\n"))return void(l("have not received end of HTTP headers yet..."),s());const r=t.toString("ascii",0,t.indexOf("\r\n")),n=+r.split(" ")[1];l("got proxy server response: %o",r),i({statusCode:n,buffered:t})}else c.once("readable",s)}function n(e){l("onclose had error %o",e)}function u(){l("onend")}c.on("error",function e(t){c.removeListener("end",u),c.removeListener("error",e),c.removeListener("close",n),c.removeListener("readable",s),l("onerror %o",t),r(t)}),c.on("close",n),c.on("end",u),s()})}},539:function(e,p,t){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},f=(Object.defineProperty(p,"__esModule",{value:!0}),p.getErrorStatusDescription=p.xhr=p.configure=void 0,t(310)),s=t(687),u=t(685),d=t(796),n=t(472),i=t(18),a=t(201),h=(process.env.VSCODE_NLS_CONFIG&&(t=process.env.VSCODE_NLS_CONFIG,n.config(JSON.parse(t))),n.loadMessageBundle()),o=void 0,c=!0;function m(a){var o;return new Promise(function(r,e){function t(e){var t;300<=e.statusCode&&e.statusCode<400&&a.followRedirects&&0<a.followRedirects&&e.headers.location?((t=e.headers.location).startsWith("/")&&(t=(0,f.format)({protocol:n.protocol,hostname:n.hostname,port:n.port,pathname:t})),r(m(function(r){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.forEach(function(t){return Object.keys(t).forEach(function(e){return r[e]=t[e]})}),r}({},a,{url:t,followRedirects:a.followRedirects-1})))):r({req:o,res:e})}var n=(0,f.parse)(a.url),i={hostname:n.hostname,agent:!!a.agent&&a.agent,port:n.port?parseInt(n.port):"https:"===n.protocol?443:80,path:n.path,method:a.type||"GET",headers:a.headers,rejectUnauthorized:"boolean"!=typeof a.strictSSL||a.strictSSL};a.user&&a.password&&(i.auth=a.user+":"+a.password);(o=("https:"===n.protocol?s:u).request(i,t)).on("error",e),a.timeout&&o.setTimeout(a.timeout),a.data&&o.write(a.data),o.end()})}p.configure=function(e,t){o=e,c=t},p.xhr=function(l){return"boolean"!=typeof(l=r({},l)).strictSSL&&(l.strictSSL=c),l.agent||(l.agent=function(e,t){void 0===t&&(t={});var e=(0,f.parse)(e),r=t.proxyUrl||("http:"===e.protocol?process.env.HTTP_PROXY||process.env.http_proxy||null:"https:"===e.protocol&&(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy)||null);if(!r)return null;r=(0,f.parse)(r);if(!/^https?:$/.test(r.protocol))return null;t={host:r.hostname,port:Number(r.port),auth:r.auth,rejectUnauthorized:"boolean"!=typeof t.strictSSL||t.strictSSL,protocol:r.protocol};return("http:"===e.protocol?a:i)(t)}(l.url,{proxyUrl:o,strictSSL:c})),"number"!=typeof l.followRedirects&&(l.followRedirects=5),m(l).then(function(c){return new Promise(function(r,n){var e,t,i=c.res,a=i,o=!1,s=i.headers&&i.headers["content-encoding"],u=(!s||(e=l.type,t=c.res.statusCode,"HEAD"===e||100<=t&&t<200||204===t||304===t)||(e={flush:d.constants.Z_SYNC_FLUSH,finishFlush:d.constants.Z_SYNC_FLUSH},"gzip"===s?(t=d.createGunzip(e),i.pipe(t),a=t):"deflate"===s&&(t=d.createInflate(e),i.pipe(t),a=t)),[]);a.on("data",function(e){return u.push(e)}),a.on("end",function(){if(!o){if(o=!0,0<l.followRedirects&&(300<=i.statusCode&&i.statusCode<=303||307===i.statusCode)){var e=i.headers.location;if(e.startsWith("/")&&(t=(0,f.parse)(l.url),e=(0,f.format)({protocol:t.protocol,hostname:t.hostname,port:t.port,pathname:e})),e)return t={type:l.type,url:e,user:l.user,password:l.password,headers:l.headers,timeout:l.timeout,followRedirects:l.followRedirects-1,data:l.data},void(0,p.xhr)(t).then(r,n)}var e=Buffer.concat(u),t={responseText:e.toString(),body:e,status:i.statusCode,headers:i.headers||{}};(200<=i.statusCode&&i.statusCode<300||1223===i.statusCode?r:n)(t)}}),a.on("error",function(e){e={responseText:h("error","Unable to access {0}. Error: {1}",l.url,e.message),body:Buffer.concat(u),status:500,headers:{}};o=!0,n(e)})})},function(e){e=l.agent?h("error.cannot.connect.proxy","Unable to connect to {0} through a proxy. Error: {1}",l.url,e.message):h("error.cannot.connect","Unable to connect to {0}. Error: {1}",l.url,e.message);return Promise.reject({responseText:e,body:Buffer.concat([]),status:404,headers:{}})})},p.getErrorStatusDescription=function(e){if(!(e<400))switch(e){case 400:return h("status.400","Bad request. The request cannot be fulfilled due to bad syntax.");case 401:return h("status.401","Unauthorized. The server is refusing to respond.");case 403:return h("status.403","Forbidden. The server is refusing to respond.");case 404:return h("status.404","Not Found. The requested location could not be found.");case 405:return h("status.405","Method not allowed. A request was made using a request method not supported by that location.");case 406:return h("status.406","Not Acceptable. The server can only generate a response that is not accepted by the client.");case 407:return h("status.407","Proxy Authentication Required. The client must first authenticate itself with the proxy.");case 408:return h("status.408","Request Timeout. The server timed out waiting for the request.");case 409:return h("status.409","Conflict. The request could not be completed because of a conflict in the request.");case 410:return h("status.410","Gone. The requested page is no longer available.");case 411:return h("status.411",'Length Required. The "Content-Length" is not defined.');case 412:return h("status.412","Precondition Failed. The precondition given in the request evaluated to false by the server.");case 413:return h("status.413","Request Entity Too Large. The server will not accept the request, because the request entity is too large.");case 414:return h("status.414","Request-URI Too Long. The server will not accept the request, because the URL is too long.");case 415:return h("status.415","Unsupported Media Type. The server will not accept the request, because the media type is not supported.");case 500:return h("status.500","Internal Server Error.");case 501:return h("status.501","Not Implemented. The server either does not recognize the request method, or it lacks the ability to fulfill the request.");case 503:return h("status.503","Service Unavailable. The server is currently unavailable (overloaded or down).");default:return h("status.416","HTTP status code {0}",e)}}},800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.loadMessageBundle=t.localize=t.format=t.setPseudo=t.isPseudo=t.isDefined=t.BundleFormat=t.MessageFormat=void 0;var n,i=r(926);function a(e){return void 0!==e}function o(e,r){return t.isPseudo&&(e="["+e.replace(/[aouei]/g,"$&$&")+"]"),0===r.length?e:e.replace(/\{(\d+)\}/g,function(e,t){t=t[0],t=r[t];return"string"==typeof t?e=t:"number"!=typeof t&&"boolean"!=typeof t&&null!=t||(e=String(t)),e})}(r=t.MessageFormat||(t.MessageFormat={})).file="file",r.bundle="bundle",r.both="both",(r=t.BundleFormat||(t.BundleFormat={})).standalone="standalone",r.languagePack="languagePack",(n||{}).is=function(e){return e&&a(e.key)&&a(e.comment)},t.isDefined=a,t.isPseudo=!1,t.setPseudo=function(e){t.isPseudo=e},t.format=o,t.localize=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return o(t,r)},t.loadMessageBundle=function(e){return i.default().loadMessageBundle(e)},t.config=function(e){return i.default().config(e)}},926:(e,t)=>{"use strict";var r;function n(){if(void 0===r)throw new Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),(n||(n={})).install=function(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");r=e},t.default=n},472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.loadMessageBundle=void 0;var f=r(17),u=r(147),n=r(926),s=r(800),i=r(800);Object.defineProperty(t,"MessageFormat",{enumerable:!0,get:function(){return i.MessageFormat}}),Object.defineProperty(t,"BundleFormat",{enumerable:!0,get:function(){return i.BundleFormat}});var c,d,a,o=Object.prototype.toString;function h(e){return"[object String]"===o.call(e)}function m(e){return JSON.parse(u.readFileSync(e,"utf8"))}function l(a){return function(e,t){for(var r,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return r=e,"[object Number]"===o.call(r)?e>=a.length?void console.error("Broken localize call found. Index out of bounds. Stacktrace is\n: "+new Error("").stack):s.format(a[e],n):h(t)?(console.warn("Message "+t+" didn't get externalized correctly."),s.format(t,n)):void console.error("Broken localize call found. Stacktrace is\n: "+new Error("").stack)}}function p(e,t){return c[e]=t}function g(e){try{var t,r=m(f.join(e,"nls.metadata.json")),n=Object.create(null);for(t in r){var i=r[t];n[t]=i.messages}return n}catch(e){return void console.log("Generating default bundle from meta data failed.",e)}}function _(e){if(!e)return s.localize;var t=f.extname(e);if(t&&(e=e.substr(0,e.length-t.length)),d.messageFormat===s.MessageFormat.both||d.messageFormat===s.MessageFormat.bundle){t=function(e){for(var t,r=f.dirname(e);t=f.join(r,"nls.metadata.header.json"),!u.existsSync(t);){var n=f.dirname(r);if(n===r){t=void 0;break}r=n}return t}(e);if(t){var r=f.dirname(t);if(void 0===(a=c[r]))try{var n=JSON.parse(u.readFileSync(t,"utf8"));try{var i=function(e,t){var r;if(!0===d.languagePackSupport&&void 0!==d.cacheRoot&&void 0!==d.languagePackId&&void 0!==d.translationsConfigFile&&void 0!==d.translationsConfig)try{r=function(e,t){var r,n,i,a=f.join(d.cacheRoot,e.id+"-"+e.hash+".json"),o=!1,s=!1;try{return r=JSON.parse(u.readFileSync(a,{encoding:"utf8",flag:"r"})),n=a,i=new Date,u.utimes(n,i,i,function(){}),r}catch(e){if("ENOENT"===e.code)s=!0;else{if(!(e instanceof SyntaxError))throw e;console.log("Syntax error parsing message bundle: "+e.message+"."),u.unlink(a,function(e){e&&console.error("Deleting corrupted bundle "+a+" failed.")}),o=!0}}if(!(r=function(e,t){var r=d.translationsConfig[e.id];if(r){var n,i=m(r).contents,a=m(f.join(t,"nls.metadata.json")),o=Object.create(null);for(n in a){var s=a[n],u=i[e.outDir+"/"+n];if(u){for(var c=[],l=0;l<s.keys.length;l++){var p=s.keys[l],p=u[h(p)?p:p.key];void 0===p&&(p=s.messages[l]),c.push(p)}o[n]=c}else o[n]=s.messages}return o}}(e,t))||o)return r;if(s)try{u.writeFileSync(a,JSON.stringify(r),{encoding:"utf8",flag:"wx"})}catch(e){if("EEXIST"===e.code)return r;throw e}return r}(e,t)}catch(e){console.log("Load or create bundle failed ",e)}if(!r){if(d.languagePackSupport)return g(t);var n=function(e){for(var t=d.language;t;){var r=f.join(e,"nls.bundle."+t+".json");if(u.existsSync(r))return r;var n=t.lastIndexOf("-"),t=0<n?t.substring(0,n):void 0}if(void 0===t&&(r=f.join(e,"nls.bundle.json"),u.existsSync(r)))return r}(t);if(n)try{return m(n)}catch(e){console.log("Loading in the box message bundle failed.",e)}r=g(t)}return r}(n,r),a=p(r,i?{header:n,nlsBundle:i}:null)}catch(e){console.error("Failed to load nls bundle",e),a=p(r,null)}}catch(e){console.error("Failed to read header file",e),a=p(r,null)}if(a)return t=e.substr(r.length+1).replace(/\\/g,"/"),void 0===(n=a.nlsBundle[t])?(console.error("Messages for file "+e+" not found. See console for details."),function(){return"Messages not found."}):l(n)}}if(d.messageFormat===s.MessageFormat.both||d.messageFormat===s.MessageFormat.file)try{var o=m(function(e){var t;if(!d.cacheLanguageResolution||!t){if(s.isPseudo||!d.language)t=".nls.json";else for(var r=d.language;r;){var n=".nls."+r+".json";if(u.existsSync(e+n)){t=n;break}n=r.lastIndexOf("-"),r=0<n?r.substring(0,n):(t=".nls.json",null)}d.cacheLanguageResolution}return e+t}(e));return Array.isArray(o)?l(o):s.isDefined(o.messages)&&s.isDefined(o.keys)?l(o.messages):(console.error("String bundle '"+e+"' uses an unsupported format."),function(){return"File bundle has unsupported format. See console for details"})}catch(e){"ENOENT"!==e.code&&console.error("Failed to load single file bundle",e)}return console.error("Failed to load message bundle for file "+e),function(){return"Failed to load message bundle. See console for details."}}function y(e){return e&&(h(e.locale)&&(d.locale=e.locale.toLowerCase(),d.language=d.locale,c=Object.create(null)),void 0!==e.messageFormat&&(d.messageFormat=e.messageFormat),e.bundleFormat===s.BundleFormat.standalone&&!0===d.languagePackSupport&&(d.languagePackSupport=!1)),s.setPseudo("pseudo"===d.locale),_}if(d={locale:void 0,language:void 0,languagePackSupport:!1,cacheLanguageResolution:!0,messageFormat:s.MessageFormat.bundle},h(process.env.VSCODE_NLS_CONFIG))try{var v,D,b=JSON.parse(process.env.VSCODE_NLS_CONFIG),E=void 0;if(!b.availableLanguages||h(v=b.availableLanguages["*"])&&(E=v),h(b.locale)&&(d.locale=b.locale.toLowerCase()),void 0===E?d.language=d.locale:"en"!==E&&(d.language=E),!0!==(a=b._languagePackSupport)&&!1!==a||(d.languagePackSupport=b._languagePackSupport),h(b._cacheRoot)&&(d.cacheRoot=b._cacheRoot),h(b._languagePackId)&&(d.languagePackId=b._languagePackId),h(b._translationsConfigFile)){d.translationsConfigFile=b._translationsConfigFile;try{d.translationsConfig=m(d.translationsConfigFile)}catch(E){b._corruptedFile&&(D=f.dirname(b._corruptedFile),u.exists(D,function(e){e&&u.writeFile(b._corruptedFile,"corrupted","utf8",function(e){console.error(e)})}))}}}catch(b){}s.setPseudo("pseudo"===d.locale),c=Object.create(null),t.loadMessageBundle=_,t.config=y,n.default.install(Object.freeze({loadMessageBundle:_,config:y}))},374:(e,t)=>{function r(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return r}},491:e=>{"use strict";e.exports=r(39491)},361:e=>{"use strict";e.exports=r(82361)},147:e=>{"use strict";e.exports=r(57147)},685:e=>{"use strict";e.exports=r(13685)},687:e=>{"use strict";e.exports=r(95687)},808:e=>{"use strict";e.exports=r(41808)},17:e=>{"use strict";e.exports=r(71017)},404:e=>{"use strict";e.exports=r(24404)},310:e=>{"use strict";e.exports=r(57310)},796:e=>{"use strict";e.exports=r(59796)}},a={},o=function e(t){var r=a[t];if(void 0!==r)return r.exports;r=a[t]={exports:{}};return i[t].call(r.exports,r,r.exports,e),r.exports}(539),s=t;for(n in o)s[n]=o[n];o.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})},78213:(e,t,r)=>{var a=r(32728),o=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;function u(){this._array=[],this._set=s?new Map:Object.create(null)}u.fromArray=function(e,t){for(var r=new u,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},u.prototype.size=function(){return s?this._set.size:Object.getOwnPropertyNames(this._set).length},u.prototype.add=function(e,t){var r=s?e:a.toSetString(e),n=s?this.has(e):o.call(this._set,r),i=this._array.length;n&&!t||this._array.push(e),n||(s?this._set.set(e,i):this._set[r]=i)},u.prototype.has=function(e){return s?this._set.has(e):(e=a.toSetString(e),o.call(this._set,e))},u.prototype.indexOf=function(e){if(s){var t=this._set.get(e);if(0<=t)return t}else{t=a.toSetString(e);if(o.call(this._set,t))return this._set[t]}throw new Error('"'+e+'" is not in the set.')},u.prototype.at=function(e){if(0<=e&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},u.prototype.toArray=function(){return this._array.slice()},t.I=u},16400:(e,t,r)=>{var c=r(67923);t.encode=function(e){for(var t,r="",n=(e=e)<0?1+(-e<<1):e<<1;t=31&n,0<(n>>>=5)&&(t|=32),r+=c.encode(t),0<n;);return r},t.decode=function(e,t,r){var n,i,a,o=e.length,s=0,u=0;do{if(o<=t)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=c.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1))}while(n=!!(32&i),s+=(i&=31)<<u,u+=5,n);r.value=(a=s>>1,1==(1&s)?-a:a),r.rest=t}},67923:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},9216:(e,c)=>{c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.search=function(e,t,r,n){if(0===t.length)return-1;var i=function e(t,r,n,i,a,o){var s=Math.floor((r-t)/2)+t,u=a(n,i[s],!0);return 0===u?s:0<u?1<r-s?e(s,r,n,i,a,o):o==c.LEAST_UPPER_BOUND?r<i.length?r:-1:s:1<s-t?e(t,s,n,i,a,o):o==c.LEAST_UPPER_BOUND?s:t<0?-1:t}(-1,t.length,e,t,r,n||c.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;0<=i-1&&0===r(t[i],t[i-1],!0);)--i;return i}},21188:(e,t,r)=>{var s=r(32728);function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){var t,r,n,i,a,o;t=this._last,r=e,n=t.generatedLine,i=r.generatedLine,a=t.generatedColumn,o=r.generatedColumn,n<i||i==n&&a<=o||s.compareByGeneratedPositionsInflated(t,r)<=0?this._last=e:this._sorted=!1,this._array.push(e)},n.prototype.toArray=function(){return this._sorted||(this._array.sort(s.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=n},22826:(e,t)=>{function c(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function l(e,t,r,n){if(r<n){u=n;for(var i=(s=r)-1,a=(c(e,Math.round(s+Math.random()*(u-s)),n),e[n]),o=r;o<n;o++)t(e[o],a)<=0&&c(e,i+=1,o);c(e,i+1,o);u=i+1;l(e,t,r,u-1),l(e,t,u+1,n)}var s,u}t.U=function(e,t){l(e,t,0,e.length-1)}},76771:(e,t,r)=>{var y=r(32728),u=r(9216),f=r(78213).I,v=r(16400),D=r(22826).U;function o(e,t){var r=e;return new(null!=(r="string"==typeof e?y.parseSourceMapInput(e):r).sections?n:d)(r,t)}function d(e,t){var r=e,e=("string"==typeof e&&(r=y.parseSourceMapInput(e)),y.getArg(r,"version")),n=y.getArg(r,"sources"),i=y.getArg(r,"names",[]),a=y.getArg(r,"sourceRoot",null),o=y.getArg(r,"sourcesContent",null),s=y.getArg(r,"mappings"),r=y.getArg(r,"file",null);if(e!=this._version)throw new Error("Unsupported version: "+e);a=a&&y.normalize(a),n=n.map(String).map(y.normalize).map(function(e){return a&&y.isAbsolute(a)&&y.isAbsolute(e)?y.relative(a,e):e}),this._names=f.fromArray(i.map(String),!0),this._sources=f.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(e){return y.computeSourceURL(a,e,t)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=s,this._sourceMapURL=t,this.file=r}function b(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function n(e,i){var t=e,e=("string"==typeof e&&(t=y.parseSourceMapInput(e)),y.getArg(t,"version")),t=y.getArg(t,"sections");if(e!=this._version)throw new Error("Unsupported version: "+e);this._sources=new f,this._names=new f;var a={line:-1,column:0};this._sections=t.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=y.getArg(e,"offset"),r=y.getArg(t,"line"),n=y.getArg(t,"column");if(r<a.line||r===a.line&&n<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=t,{generatedOffset:{generatedLine:r+1,generatedColumn:n+1},consumer:new o(y.getArg(e,"map"),i)}})}o.fromSourceMap=function(e,t){return d.fromSourceMap(e,t)},o.prototype._version=3,o.prototype.__generatedMappings=null,Object.defineProperty(o.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),o.prototype.__originalMappings=null,Object.defineProperty(o.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),o.prototype._charIsMappingSeparator=function(e,t){e=e.charAt(t);return";"===e||","===e},o.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},o.GENERATED_ORDER=1,o.ORIGINAL_ORDER=2,o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2,o.prototype.eachMapping=function(e,t,r){var n,t=t||null;switch(r||o.GENERATED_ORDER){case o.GENERATED_ORDER:n=this._generatedMappings;break;case o.ORIGINAL_ORDER:n=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;n.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:y.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,t)},o.prototype.allGeneratedPositionsFor=function(e){var t=y.getArg(e,"line"),r={source:y.getArg(e,"source"),originalLine:t,originalColumn:y.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var n=[],i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",y.compareByOriginalPositions,u.LEAST_UPPER_BOUND);if(0<=i){var a=this._originalMappings[i];if(void 0===e.column)for(var o=a.originalLine;a&&a.originalLine===o;)n.push({line:y.getArg(a,"generatedLine",null),column:y.getArg(a,"generatedColumn",null),lastColumn:y.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var s=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==s;)n.push({line:y.getArg(a,"generatedLine",null),column:y.getArg(a,"generatedColumn",null),lastColumn:y.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return n},t.SourceMapConsumer=o,(d.prototype=Object.create(o.prototype)).consumer=o,d.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=y.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},d.fromSourceMap=function(e,t){for(var r=Object.create(d.prototype),n=r._names=f.fromArray(e._names.toArray(),!0),i=r._sources=f.fromArray(e._sources.toArray(),!0),a=(r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(e){return y.computeSourceURL(r.sourceRoot,e,t)}),e._mappings.toArray().slice()),o=r.__generatedMappings=[],s=r.__originalMappings=[],u=0,c=a.length;u<c;u++){var l=a[u],p=new b;p.generatedLine=l.generatedLine,p.generatedColumn=l.generatedColumn,l.source&&(p.source=i.indexOf(l.source),p.originalLine=l.originalLine,p.originalColumn=l.originalColumn,l.name&&(p.name=n.indexOf(l.name)),s.push(p)),o.push(p)}return D(r.__originalMappings,y.compareByOriginalPositions),r},d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),d.prototype._parseMappings=function(e,t){for(var r,n,i,a,o=1,s=0,u=0,c=0,l=0,p=0,f=e.length,d=0,h={},m={},g=[],_=[];d<f;)if(";"===e.charAt(d))o++,d++,s=0;else if(","===e.charAt(d))d++;else{for((r=new b).generatedLine=o,a=d;a<f&&!this._charIsMappingSeparator(e,a);a++);if(i=h[n=e.slice(d,a)])d+=n.length;else{for(i=[];d<a;)v.decode(e,d,m),d=m.rest,i.push(m.value);if(2===i.length)throw new Error("Found a source, but no line and column");if(3===i.length)throw new Error("Found a source and line, but no column");h[n]=i}r.generatedColumn=s+i[0],s=r.generatedColumn,1<i.length&&(r.source=l+i[1],l+=i[1],r.originalLine=u+i[2],u=r.originalLine,r.originalLine+=1,r.originalColumn=c+i[3],c=r.originalColumn,4<i.length&&(r.name=p+i[4],p+=i[4])),_.push(r),"number"==typeof r.originalLine&&g.push(r)}D(_,y.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,D(g,y.compareByOriginalPositions),this.__originalMappings=g},d.prototype._findMapping=function(e,t,r,n,i,a){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return u.search(e,t,i,a)},d.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},d.prototype.originalPositionFor=function(e){var t={generatedLine:y.getArg(e,"line"),generatedColumn:y.getArg(e,"column")},e=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",y.compareByGeneratedPositionsDeflated,y.getArg(e,"bias",o.GREATEST_LOWER_BOUND));if(0<=e){var r,e=this._generatedMappings[e];if(e.generatedLine===t.generatedLine)return null!==(t=y.getArg(e,"source",null))&&(t=this._sources.at(t),t=y.computeSourceURL(this.sourceRoot,t,this._sourceMapURL)),null!==(r=y.getArg(e,"name",null))&&(r=this._names.at(r)),{source:t,line:y.getArg(e,"originalLine",null),column:y.getArg(e,"originalColumn",null),name:r}}return{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},d.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(0<=r)return this.sourcesContent[r];var n,r=e;if(null!=this.sourceRoot&&(r=y.relative(this.sourceRoot,r)),null!=this.sourceRoot&&(n=y.urlParse(this.sourceRoot))){e=r.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];if((!n.path||"/"==n.path)&&this._sources.has("/"+r))return this.sourcesContent[this._sources.indexOf("/"+r)]}if(t)return null;throw new Error('"'+r+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){var t=y.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};t={source:t,originalLine:y.getArg(e,"line"),originalColumn:y.getArg(e,"column")},e=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",y.compareByOriginalPositions,y.getArg(e,"bias",o.GREATEST_LOWER_BOUND));if(0<=e){e=this._originalMappings[e];if(e.source===t.source)return{line:y.getArg(e,"generatedLine",null),column:y.getArg(e,"generatedColumn",null),lastColumn:y.getArg(e,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},(n.prototype=Object.create(o.prototype)).constructor=o,n.prototype._version=3,Object.defineProperty(n.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),n.prototype.originalPositionFor=function(e){var t={generatedLine:y.getArg(e,"line"),generatedColumn:y.getArg(e,"column")},r=u.search(t,this._sections,function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[r];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},n.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},n.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},n.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(y.getArg(e,"source"))){var n=r.consumer.generatedPositionFor(e);if(n)return{line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},n.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var n=this._sections[r],i=n.consumer._generatedMappings,a=0;a<i.length;a++){var o=i[a],s=n.consumer._sources.at(o.source),s=y.computeSourceURL(n.consumer.sourceRoot,s,this._sourceMapURL),u=(this._sources.add(s),s=this._sources.indexOf(s),null),s=(o.name&&(u=n.consumer._names.at(o.name),this._names.add(u),u=this._names.indexOf(u)),{source:s,generatedLine:o.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(n.generatedOffset.generatedLine===o.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:u});this.__generatedMappings.push(s),"number"==typeof s.originalLine&&this.__originalMappings.push(s)}D(this.__generatedMappings,y.compareByGeneratedPositionsDeflated),D(this.__originalMappings,y.compareByOriginalPositions)}},34433:(e,t,r)=>{var d=r(16400),h=r(32728),u=r(78213).I,n=r(21188).H;function a(e){this._file=h.getArg(e=e||{},"file",null),this._sourceRoot=h.getArg(e,"sourceRoot",null),this._skipValidation=h.getArg(e,"skipValidation",!1),this._sources=new u,this._names=new u,this._mappings=new n,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(r){var n=r.sourceRoot,i=new a({file:r.file,sourceRoot:n});return r.eachMapping(function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(t.source=e.source,null!=n&&(t.source=h.relative(n,t.source)),t.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(t.name=e.name)),i.addMapping(t)}),r.sources.forEach(function(e){var t=e,t=(null!==n&&(t=h.relative(n,e)),i._sources.has(t)||i._sources.add(t),r.sourceContentFor(e));null!=t&&i.setSourceContent(e,t)}),i},a.prototype.addMapping=function(e){var t=h.getArg(e,"generated"),r=h.getArg(e,"original",null),n=h.getArg(e,"source",null),e=h.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,e),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=e&&(e=String(e),this._names.has(e)||this._names.add(e)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:e})},a.prototype.setSourceContent=function(e,t){null!=this._sourceRoot&&(e=h.relative(this.