@sourcegraph/code-host-integration 0.0.63 → 0.0.67
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,2 +1,2 @@
|
|
|
1
|
-
(()=>{var e={9913:()=>{},2366:()=>{},8703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkupKind={PlainText:"plaintext",Markdown:"markdown"},t.NotificationType={Error:1,Warning:2,Info:3,Log:4,Success:5},t.DocumentHighlightKind={Text:"text",Read:"read",Write:"write"}},8337:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.illegalArgument=function(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}},8838:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(1350)),n(r(4554)),n(r(3353)),n(r(1483)),n(r(8703))},1350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),o=r(3353),i=r(4776);class s{constructor(e,t){if(this.uri=e,t)if(t instanceof o.Range)this.range=t;else{if(!(t instanceof n.Position))throw new Error("Illegal argument");this.range=new o.Range(t,t)}else;}static isLocation(e){return e instanceof s||!!e&&(o.Range.isRange(e.range)&&i.isURL(e.uri))}toJSON(){return{uri:this.uri,range:this.range}}}t.Location=s},4554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337);class o{static min(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isBefore(t)&&(t=r);return t}}static max(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isAfter(t)&&(t=r);return t}}static isPosition(e){if(!e)return!1;if(e instanceof o)return!0;const{line:t,character:r}=e;return"number"==typeof t&&"number"==typeof r}get line(){return this._line}get character(){return this._character}constructor(e,t){if(e<0)throw n.illegalArgument("line must be non-negative");if(t<0)throw n.illegalArgument("character must be non-negative");this._line=e,this._character=t}isBefore(e){return this._line<e.line||!(e.line<this._line)&&this._character<e.character}isBeforeOrEqual(e){return this._line<e.line||!(e.line<this._line)&&this._character<=e.character}isAfter(e){return!this.isBeforeOrEqual(e)}isAfterOrEqual(e){return!this.isBefore(e)}isEqual(e){return this._line===e.line&&this._character===e.character}compareTo(e){return this._line<e.line?-1:this._line>e.line?1:this._character<e.character?-1:this._character>e.character?1:0}translate(e,t=0){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=0:"number"==typeof e?r=e:(r="number"==typeof e.lineDelta?e.lineDelta:0,t="number"==typeof e.characterDelta?e.characterDelta:0),0===r&&0===t?this:new o(this.line+r,this.character+t)}with(e,t=this.character){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=this.line:"number"==typeof e?r=e:(r="number"==typeof e.line?e.line:this.line,t="number"==typeof e.character?e.character:this.character),r===this.line&&t===this.character?this:new o(r,t)}toJSON(){return{line:this.line,character:this.character}}}t.Position=o},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337),o=r(4554);class i{static isRange(e){return e instanceof i||!!e&&(o.Position.isPosition(e.start)&&o.Position.isPosition(e.end))}get start(){return this._start}get end(){return this._end}constructor(e,t,r,n){let i,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n?(i=new o.Position(e,t),s=new o.Position(r,n)):e instanceof o.Position&&t instanceof o.Position&&(i=e,s=t),!i||!s)throw new Error("Invalid arguments");i.isBefore(s)?(this._start=i,this._end=s):(this._start=s,this._end=i)}contains(e){return e instanceof i?this.contains(e._start)&&this.contains(e._end):e instanceof o.Position&&(!e.isBefore(this._start)&&!this._end.isBefore(e))}isEqual(e){return this._start.isEqual(e.start)&&this._end.isEqual(e.end)}intersection(e){const t=o.Position.max(e.start,this._start),r=o.Position.min(e.end,this._end);if(!t.isAfter(r))return new i(t,r)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=o.Position.min(e.start,this._start),r=o.Position.max(e.end,this.end);return new i(t,r)}get isEmpty(){return this._start.isEqual(this._end)}get isSingleLine(){return this._start.line===this._end.line}with(e,t=this.end){if(null===e||null===t)throw n.illegalArgument();let r;return e?o.Position.isPosition(e)?r=e:(r=e.start||this.start,t=e.end||this.end):r=this.start,r.isEqual(this._start)&&t.isEqual(this.end)?this:new i(r,t)}toJSON(){return{start:this._start.toJSON(),end:this._end.toJSON()}}toPlain(){return{start:{line:this._start.line,character:this._start.character},end:{line:this._end.line,character:this._end.character}}}static fromPlain(e){return new i(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Range=i},1483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),o=r(3353);class i extends o.Range{static isSelection(e){return e instanceof i||!!e&&(o.Range.isRange(e)&&n.Position.isPosition(e.anchor)&&n.Position.isPosition(e.active)&&"boolean"==typeof e.isReversed)}get anchor(){return this._anchor}get active(){return this._active}constructor(e,t,r,o){let i,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof o?(i=new n.Position(e,t),s=new n.Position(r,o)):e instanceof n.Position&&t instanceof n.Position&&(i=e,s=t),!i||!s)throw new Error("Invalid arguments");super(i,s),this._anchor=i,this._active=s}get isReversed(){return this._anchor===this._end}toJSON(){return{start:this.start,end:this.end,active:this.active,anchor:this.anchor}}toPlain(){return Object.assign({},super.toPlain(),{anchor:this.anchor.toJSON(),active:this.active.toJSON(),isReversed:this.isReversed})}static fromPlain(e){return e.isReversed?new i(e.end.line,e.end.character,e.start.line,e.start.character):new i(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Selection=i},4776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},1635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5031),o=r(9764);function i(e,t,r,o,i){for(var a,c=n.parseTree(e,[]),u=void 0,l=void 0;t.length>0&&(l=t.pop(),void 0===(u=n.findNodeAtLocation(c,t))&&void 0!==r);)"string"==typeof l?((a={})[l]=r,r=a):r=[r];if(u){if("object"===u.type&&"string"==typeof l&&Array.isArray(u.children)){var f=n.findNodeAtLocation(u,[l]);if(void 0!==f){if(void 0===r){if(!f.parent)throw new Error("Malformed AST");var p=u.children.indexOf(f.parent),h=void 0,d=f.parent.offset+f.parent.length;if(p>0)h=(x=u.children[p-1]).offset+x.length;else if(h=u.offset+1,u.children.length>1)d=u.children[1].offset;return s(e,{offset:h,length:d-h,content:""},o)}return s(e,{offset:f.offset,length:f.length,content:JSON.stringify(r)},o)}if(void 0===r)return[];var v=JSON.stringify(l)+": "+JSON.stringify(r),g=i?i(u.children.map((function(e){return e.children[0].value}))):u.children.length,y=void 0;return s(e,y=g>0?{offset:(x=u.children[g-1]).offset+x.length,length:0,content:","+v}:0===u.children.length?{offset:u.offset+1,length:0,content:v}:{offset:u.offset+1,length:0,content:v+","},o)}if("array"===u.type&&"number"==typeof l&&Array.isArray(u.children)){if(-1===l){v=""+JSON.stringify(r),y=void 0;if(0===u.children.length)y={offset:u.offset+1,length:0,content:v};else y={offset:(x=u.children[u.children.length-1]).offset+x.length,length:0,content:","+v};return s(e,y,o)}if(void 0===r&&u.children.length>=0){var b=l,m=u.children[b];y=void 0;if(1===u.children.length)y={offset:u.offset+1,length:u.length-2,content:""};else if(u.children.length-1===b){var x,w=(x=u.children[b-1]).offset+x.length;y={offset:w,length:u.offset+u.length-2-w,content:""}}else y={offset:m.offset,length:u.children[b+1].offset-m.offset,content:""};return s(e,y,o)}throw new Error("Array modification not supported yet")}throw new Error("Can not add "+("number"!=typeof l?"index":"property")+" to parent of type "+u.type)}if(void 0===r)throw new Error("Can not delete in empty document");return s(e,{offset:c?c.offset:0,length:c?c.length:0,content:JSON.stringify(r)},o)}function s(e,t,r){var n=a(e,t),i=t.offset,s=t.offset+t.content.length;if(0===t.length||0===t.content.length){for(;i>0&&!o.isEOL(n,i-1);)i--;for(;s<n.length&&!o.isEOL(n,s);)s++}for(var c=o.format(n,{offset:i,length:s-i},r),u=c.length-1;u>=0;u--){var l=c[u];n=a(n,l),i=Math.min(i,l.offset),s=Math.max(s,l.offset+l.length),s+=l.content.length-l.length}return[{offset:i,length:e.length-(n.length-s)-i,content:n.substring(i,s)}]}function a(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}t.removeProperty=function(e,t,r){return i(e,t,void 0,r)},t.setProperty=i,t.applyEdit=a,t.isWS=function(e,t){return-1!=="\r\n \t".indexOf(e.charAt(t))}},9764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5031);function o(e,t){for(var r="",n=0;n<t;n++)r+=e;return r}function i(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}t.format=function(e,t,r){var s,a,c,u,l;if(t){for(u=t.offset,l=u+t.length,c=u;c>0&&!i(e,c-1);)c--;for(var f=l;f<e.length&&!i(e,f);)f++;a=e.substring(c,f),s=function(e,t,r){var n=0,o=0,i=r.tabSize||4;for(;n<e.length;){var s=e.charAt(n);if(" "===s)o++;else{if("\t"!==s)break;o+=i}n++}return Math.floor(o/i)}(a,0,r)}else a=e,s=0,c=0,u=0,l=e.length;var p,h=function(e,t){for(var r=0;r<t.length;r++){var n=t.charAt(r);if("\r"===n)return r+1<t.length&&"\n"===t.charAt(r+1)?"\r\n":"\r";if("\n"===n)return"\n"}return e&&e.eol||"\n"}(r,e),d=!1,v=0;p=r.insertSpaces?o(" ",r.tabSize):"\t";var g=n.createScanner(a,!1),y=!1;function b(){return h+o(p,s+v)}function m(){var e=g.scan();for(d=!1;e===n.SyntaxKind.Trivia||e===n.SyntaxKind.LineBreakTrivia;)d=d||e===n.SyntaxKind.LineBreakTrivia,e=g.scan();return y=e===n.SyntaxKind.Unknown||g.getTokenError()!==n.ScanError.None,e}var x=[];function w(t,r,n){!y&&r<l&&n>u&&e.substring(r,n)!==t&&x.push({offset:r,length:n-r,content:t})}var S=m();if(S!==n.SyntaxKind.EOF){var E=g.getTokenOffset()+c;w(o(p,s),c,E)}for(;S!==n.SyntaxKind.EOF;){for(var T=g.getTokenOffset()+g.getTokenLength()+c,C=m(),_="";!d&&(C===n.SyntaxKind.LineCommentTrivia||C===n.SyntaxKind.BlockCommentTrivia);){w(" ",T,g.getTokenOffset()+c),T=g.getTokenOffset()+g.getTokenLength()+c,_=C===n.SyntaxKind.LineCommentTrivia?b():"",C=m()}if(C===n.SyntaxKind.CloseBraceToken)S!==n.SyntaxKind.OpenBraceToken&&(v--,_=b());else if(C===n.SyntaxKind.CloseBracketToken)S!==n.SyntaxKind.OpenBracketToken&&(v--,_=b());else{switch(S){case n.SyntaxKind.OpenBracketToken:case n.SyntaxKind.OpenBraceToken:v++,_=b();break;case n.SyntaxKind.CommaToken:case n.SyntaxKind.LineCommentTrivia:_=b();break;case n.SyntaxKind.BlockCommentTrivia:_=d?b():" ";break;case n.SyntaxKind.ColonToken:_=" ";break;case n.SyntaxKind.StringLiteral:if(C===n.SyntaxKind.ColonToken){_="";break}case n.SyntaxKind.NullKeyword:case n.SyntaxKind.TrueKeyword:case n.SyntaxKind.FalseKeyword:case n.SyntaxKind.NumericLiteral:case n.SyntaxKind.CloseBraceToken:case n.SyntaxKind.CloseBracketToken:C===n.SyntaxKind.LineCommentTrivia||C===n.SyntaxKind.BlockCommentTrivia?_=" ":C!==n.SyntaxKind.CommaToken&&C!==n.SyntaxKind.EOF&&(y=!0);break;case n.SyntaxKind.Unknown:y=!0}!d||C!==n.SyntaxKind.LineCommentTrivia&&C!==n.SyntaxKind.BlockCommentTrivia||(_=b())}w(_,T,g.getTokenOffset()+c),S=C}return x},t.isEOL=i},5031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o,i,s=r(9764),a=r(1635);function c(e,t){void 0===t&&(t=!1);var r=0,i=e.length,s="",a=0,c=o.Unknown,p=n.None;function h(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function d(){if(s="",p=n.None,a=r,r>=i)return a=i,c=o.EOF;var t=e.charCodeAt(r);if(u(t)){do{r++,s+=String.fromCharCode(t),t=e.charCodeAt(r)}while(u(t));return c=o.Trivia}if(l(t))return r++,s+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,s+="\n"),c=o.LineBreakTrivia;switch(t){case 123:return r++,c=o.OpenBraceToken;case 125:return r++,c=o.CloseBraceToken;case 91:return r++,c=o.OpenBracketToken;case 93:return r++,c=o.CloseBracketToken;case 58:return r++,c=o.ColonToken;case 44:return r++,c=o.CommaToken;case 34:return r++,s=function(){for(var t="",o=r;;){if(r>=i){t+=e.substring(o,r),p=n.UnexpectedEndOfString;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(o,r),r++;break}if(92!==s){if(s>=0&&s<=31){if(l(s)){t+=e.substring(o,r),p=n.UnexpectedEndOfString;break}p=n.InvalidCharacter}r++}else{if(t+=e.substring(o,r),++r>=i){p=n.UnexpectedEndOfString;break}switch(s=e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=h(4,!0);a>=0?t+=String.fromCharCode(a):p=n.InvalidUnicode;break;default:p=n.InvalidEscapeCharacter}o=r}}return t}(),c=o.StringLiteral;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<i&&!l(e.charCodeAt(r));)r++;return s=e.substring(d,r),c=o.LineCommentTrivia}if(42===e.charCodeAt(r+1)){r+=2;for(var g=i-1,y=!1;r<g;){if(42===e.charCodeAt(r)&&47===e.charCodeAt(r+1)){r+=2,y=!0;break}r++}return y||(r++,p=n.UnexpectedEndOfComment),s=e.substring(d,r),c=o.BlockCommentTrivia}return s+=String.fromCharCode(t),r++,c=o.Unknown;case 45:if(s+=String.fromCharCode(t),++r===i||!f(e.charCodeAt(r)))return c=o.Unknown;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&f(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&f(e.charCodeAt(r))))return p=n.UnexpectedEndOfNumber,e.substring(t,r);for(r++;r<e.length&&f(e.charCodeAt(r));)r++}var o=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&f(e.charCodeAt(r))){for(r++;r<e.length&&f(e.charCodeAt(r));)r++;o=r}else p=n.UnexpectedEndOfNumber;return e.substring(t,o)}(),c=o.NumericLiteral;default:for(;r<i&&v(t);)r++,t=e.charCodeAt(r);if(a!==r){switch(s=e.substring(a,r)){case"true":return c=o.TrueKeyword;case"false":return c=o.FalseKeyword;case"null":return c=o.NullKeyword}return c=o.Unknown}return s+=String.fromCharCode(t),r++,c=o.Unknown}}function v(e){if(u(e)||l(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:return!1}return!0}return{setPosition:function(e){r=e,s="",a=0,c=o.Unknown,p=n.None},getPosition:function(){return r},scan:t?function(){var e;do{e=d()}while(e>=o.LineCommentTrivia&&e<=o.Trivia);return e}:d,getToken:function(){return c},getTokenValue:function(){return s},getTokenOffset:function(){return a},getTokenLength:function(){return r-a},getTokenError:function(){return p}}}function u(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function l(e){return 10===e||13===e||8232===e||8233===e}function f(e){return e>=48&&e<=57}function p(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}function h(e,t,r){var n=c(e,!1);function s(e){return e?function(){return e(n.getTokenOffset(),n.getTokenLength())}:function(){return!0}}function a(e){return e?function(t){return e(t,n.getTokenOffset(),n.getTokenLength())}:function(){return!0}}var u=s(t.onObjectBegin),l=a(t.onObjectProperty),f=s(t.onObjectEnd),p=s(t.onArrayBegin),h=s(t.onArrayEnd),d=a(t.onLiteralValue),v=a(t.onSeparator),g=a(t.onError),y=r&&r.disallowComments,b=r&&r.allowTrailingComma;function m(){for(;;){var e=n.scan();switch(e){case o.LineCommentTrivia:case o.BlockCommentTrivia:y&&x(i.InvalidSymbol);break;case o.Unknown:x(i.InvalidSymbol);break;case o.Trivia:case o.LineBreakTrivia:break;default:return e}}}function x(e,t,r){if(void 0===t&&(t=[]),void 0===r&&(r=[]),g(e),t.length+r.length>0)for(var i=n.getToken();i!==o.EOF;){if(-1!==t.indexOf(i)){m();break}if(-1!==r.indexOf(i))break;i=m()}}function w(e){var t=n.getTokenValue();return e?d(t):l(t),m(),!0}function S(){switch(n.getToken()){case o.OpenBracketToken:return function(){p(),m();for(var e=!1;n.getToken()!==o.CloseBracketToken&&n.getToken()!==o.EOF;){if(n.getToken()===o.CommaToken){if(e||x(i.ValueExpected,[],[]),v(","),m(),n.getToken()===o.CloseBracketToken&&b)break}else e&&x(i.CommaExpected,[],[]);S()||x(i.ValueExpected,[],[o.CloseBracketToken,o.CommaToken]),e=!0}return h(),n.getToken()!==o.CloseBracketToken?x(i.CloseBracketExpected,[o.CloseBracketToken],[]):m(),!0}();case o.OpenBraceToken:return function(){u(),m();for(var e=!1;n.getToken()!==o.CloseBraceToken&&n.getToken()!==o.EOF;){if(n.getToken()===o.CommaToken){if(e||x(i.ValueExpected,[],[]),v(","),m(),n.getToken()===o.CloseBraceToken&&b)break}else e&&x(i.CommaExpected,[],[]);(n.getToken()!==o.StringLiteral?(x(i.PropertyNameExpected,[],[o.CloseBraceToken,o.CommaToken]),0):(w(!1),n.getToken()===o.ColonToken?(v(":"),m(),S()||x(i.ValueExpected,[],[o.CloseBraceToken,o.CommaToken])):x(i.ColonExpected,[],[o.CloseBraceToken,o.CommaToken]),1))||x(i.ValueExpected,[],[o.CloseBraceToken,o.CommaToken]),e=!0}return f(),n.getToken()!==o.CloseBraceToken?x(i.CloseBraceExpected,[o.CloseBraceToken],[]):m(),!0}();case o.StringLiteral:return w(!0);default:return function(){switch(n.getToken()){case o.NumericLiteral:var e=0;try{"number"!=typeof(e=JSON.parse(n.getTokenValue()))&&(x(i.InvalidNumberFormat),e=0)}catch(e){x(i.InvalidNumberFormat)}d(e);break;case o.NullKeyword:d(null);break;case o.TrueKeyword:d(!0);break;case o.FalseKeyword:d(!1);break;default:return!1}return m(),!0}()}}return m(),n.getToken()===o.EOF||(S()?(n.getToken()!==o.EOF&&x(i.EndOfFileExpected,[],[]),!0):(x(i.ValueExpected,[],[]),!1))}!function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"}(n=t.ScanError||(t.ScanError={})),function(e){e[e.Unknown=0]="Unknown",e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.EOF=16]="EOF"}(o=t.SyntaxKind||(t.SyntaxKind={})),t.createScanner=c,t.stripComments=function(e,t){var r,n,i=c(e),s=[],a=0;do{switch(n=i.getPosition(),r=i.scan()){case o.LineCommentTrivia:case o.BlockCommentTrivia:case o.EOF:a!==n&&s.push(e.substring(a,n)),void 0!==t&&s.push(i.getTokenValue().replace(/[^\r\n]/g,t)),a=i.getPosition()}}while(r!==o.EOF);return s.join("")},function(e){e[e.InvalidSymbol=0]="InvalidSymbol",e[e.InvalidNumberFormat=1]="InvalidNumberFormat",e[e.PropertyNameExpected=2]="PropertyNameExpected",e[e.ValueExpected=3]="ValueExpected",e[e.ColonExpected=4]="ColonExpected",e[e.CommaExpected=5]="CommaExpected",e[e.CloseBraceExpected=6]="CloseBraceExpected",e[e.CloseBracketExpected=7]="CloseBracketExpected",e[e.EndOfFileExpected=8]="EndOfFileExpected"}(i=t.ParseErrorCode||(t.ParseErrorCode={})),t.getLocation=function(e,t){var r=[],n=new Object,o=void 0,i={value:{},offset:0,length:0,type:"object"},s=!1;function a(e,t,r,n){i.value=e,i.offset=t,i.length=r,i.type=n,i.columnOffset=void 0,o=i}try{h(e,{onObjectBegin:function(e,i){if(t<=e)throw n;o=void 0,s=t>e,r.push("")},onObjectProperty:function(e,o,i){if(t<o)throw n;if(a(e,o,i,"property"),r[r.length-1]=e,t<=o+i)throw n},onObjectEnd:function(e,i){if(t<=e)throw n;o=void 0,r.pop()},onArrayBegin:function(e,i){if(t<=e)throw n;o=void 0,r.push(0)},onArrayEnd:function(e,i){if(t<=e)throw n;o=void 0,r.pop()},onLiteralValue:function(e,r,o){if(t<r)throw n;if(a(e,r,o,p(e)),t<=r+o)throw n},onSeparator:function(e,i,a){if(t<=i)throw n;if(":"===e&&o&&"property"===o.type)o.columnOffset=i,s=!1,o=void 0;else if(","===e){var c=r[r.length-1];"number"==typeof c?r[r.length-1]=c+1:(s=!0,r[r.length-1]=""),o=void 0}}})}catch(e){if(e!==n)throw e}return{path:r,previousNode:o,isAtPropertyKey:s,matches:function(e){for(var t=0,n=0;t<e.length&&n<r.length;n++)if(e[t]===r[n]||"*"===e[t])t++;else if("**"!==e[t])return!1;return t===e.length}}},t.parse=function(e,t,r){void 0===t&&(t=[]);var n=null,o=[],i=[];function s(e){Array.isArray(o)?o.push(e):n&&(o[n]=e)}return h(e,{onObjectBegin:function(){var e={};s(e),i.push(o),o=e,n=null},onObjectProperty:function(e){n=e},onObjectEnd:function(){o=i.pop()},onArrayBegin:function(){var e=[];s(e),i.push(o),o=e,n=null},onArrayEnd:function(){o=i.pop()},onLiteralValue:s,onError:function(e,r,n){t.push({error:e,offset:r,length:n})}},r),o[0]},t.parseTree=function(e,t,r){void 0===t&&(t=[]);var n={type:"array",offset:-1,length:-1,children:[]};function o(e){"property"===n.type&&(n.length=e-n.offset,n=n.parent)}function i(e){return n.children.push(e),e}h(e,{onObjectBegin:function(e){n=i({type:"object",offset:e,length:-1,parent:n,children:[]})},onObjectProperty:function(e,t,r){(n=i({type:"property",offset:t,length:-1,parent:n,children:[]})).children.push({type:"string",value:e,offset:t,length:r,parent:n})},onObjectEnd:function(e,t){n.length=e+t-n.offset,n=n.parent,o(e+t)},onArrayBegin:function(e,t){n=i({type:"array",offset:e,length:-1,parent:n,children:[]})},onArrayEnd:function(e,t){n.length=e+t-n.offset,n=n.parent,o(e+t)},onLiteralValue:function(e,t,r){i({type:p(e),offset:t,length:r,parent:n,value:e}),o(t+r)},onSeparator:function(e,t,r){"property"===n.type&&(":"===e?n.columnOffset=t:","===e&&o(t))},onError:function(e,r,n){t.push({error:e,offset:r,length:n})}},r);var s=n.children[0];return s&&delete s.parent,s},t.findNodeAtLocation=function(e,t){if(e){for(var r=e,n=0,o=t;n<o.length;n++){var i=o[n];if("string"==typeof i){if("object"!==r.type||!Array.isArray(r.children))return;for(var s=!1,a=0,c=r.children;a<c.length;a++){var u=c[a];if(Array.isArray(u.children)&&u.children[0].value===i){r=u.children[1],s=!0;break}}if(!s)return}else{var l=i;if("array"!==r.type||l<0||!Array.isArray(r.children)||l>=r.children.length)return;r=r.children[l]}}return r}},t.getNodeValue=function e(t){if("array"===t.type)return t.children.map(e);if("object"===t.type){for(var r=Object.create(null),n=0,o=t.children;n<o.length;n++){var i=o[n];r[i.children[0].value]=e(i.children[1])}return r}return t.value},t.visit=h,t.format=function(e,t,r){return s.format(e,t,r)},t.modify=function(e,t,r,n){return a.setProperty(e,t,r,n.formattingOptions,n.getInsertionIndex)},t.applyEdits=function(e,t){for(var r=t.length-1;r>=0;r--)e=a.applyEdit(e,t[r]);return e}},3535:e=>{"use strict";function t(e,t,o){e instanceof RegExp&&(e=r(e,o)),t instanceof RegExp&&(t=r(t,o));var i=n(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,o,i,s,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],i=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((o=n.pop())<i&&(i=o,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[i,s])}return a}e.exports=t,t.range=n},70:(e,t,r)=>{var n=r(7489),o=r(3535);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return y(function(e){return e.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}(e),!0).map(f)};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function f(e){return e.split(i).join("\\").split(s).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function p(e){if(!e)return[""];var t=[],r=o("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=p(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),t.push.apply(t,a),t}function h(e){return"{"+e+"}"}function d(e){return/^-?0\d/.test(e)}function v(e,t){return e<=t}function g(e,t){return e>=t}function y(e,t){var r=[],i=o("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),f=c||u,b=i.body.indexOf(",")>=0;if(!f&&!b)return i.post.match(/,.*\}/)?y(e=i.pre+"{"+i.body+a+i.post):[e];if(f)s=i.body.split(/\.\./);else if(1===(s=p(i.body)).length&&1===(s=y(s[0],!1).map(h)).length)return(w=i.post.length?y(i.post,!1):[""]).map((function(e){return i.pre+s[0]+e}));var m,x=i.pre,w=i.post.length?y(i.post,!1):[""];if(f){var S=l(s[0]),E=l(s[1]),T=Math.max(s[0].length,s[1].length),C=3==s.length?Math.abs(l(s[2])):1,_=v;E<S&&(C*=-1,_=g);var O=s.some(d);m=[];for(var A=S;_(A,E);A+=C){var P;if(u)"\\"===(P=String.fromCharCode(A))&&(P="");else if(P=String(A),O){var k=T-P.length;if(k>0){var L=new Array(k+1).join("0");P=A<0?"-"+L+P.slice(1):L+P}}m.push(P)}}else m=n(s,(function(e){return y(e,!1)}));for(var I=0;I<m.length;I++)for(var R=0;R<w.length;R++){var N=x+m[I]+w[R];(!t||f||N)&&r.push(N)}return r}},7489:e=>{e.exports=function(e,r){for(var n=[],o=0;o<e.length;o++){var i=r(e[o],o);t(i)?n.push.apply(n,i):n.push(i)}return n};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},942:(e,t,r)=>{var n=r(9090),o=r(8283),i=r(8046),s=r(3414),a=i.data,c=i.normalize,u="USE_FUNCTION_CONSTRUCTOR",l="AsyncIteratorPrototype",f=function(e,t){if(o(e))for(var r=0;r<e.length;r++)a[c(e[r])]=t};e.exports=function(e){"object"==typeof e&&(f(e.useNative,i.NATIVE),f(e.usePolyfill,i.POLYFILL),f(e.useFeatureDetection,null),n(e,u)&&(s.USE_FUNCTION_CONSTRUCTOR=!!e.USE_FUNCTION_CONSTRUCTOR),n(e,l)&&(s.USE_FUNCTION_CONSTRUCTOR=e.AsyncIteratorPrototype))}},6555:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},5517:(e,t,r)=>{var n=r(1043);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},4634:(e,t,r)=>{var n=r(26),o=r(9692),i=r(6973),s=n("unscopables"),a=Array.prototype;null==a[s]&&i.f(a,s,{configurable:!0,value:o(null)}),e.exports=function(e){a[s][e]=!0}},6345:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},5511:(e,t,r)=>{var n=r(1043);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},2353:(e,t,r)=>{"use strict";var n=r(6365),o=r(6640),i=r(7655),s=r(3658),a=r(3310),c=r(3500),u=r(3706);e.exports=function(e){var t,r,l,f,p,h,d=o(e),v="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,b=void 0!==y,m=u(d),x=0;if(b&&(y=n(y,g>2?arguments[2]:void 0,2)),null==m||v==Array&&s(m))for(r=new v(t=a(d.length));t>x;x++)h=b?y(d[x],x):d[x],c(r,x,h);else for(p=(f=m.call(d)).next,r=new v;!(l=p.call(f)).done;x++)h=b?i(f,y,[l.value,x],!0):l.value,c(r,x,h);return r.length=x,r}},7830:(e,t,r)=>{var n=r(6603),o=r(3310),i=r(9211),s=function(e){return function(t,r,s){var a,c=n(t),u=o(c.length),l=i(s,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},7655:(e,t,r)=>{var n=r(5511),o=r(5772);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw o(e),t}}},4518:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},2796:(e,t,r)=>{var n=r(3026),o=r(4518),i=r(26)("toStringTag"),s="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:s?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},4327:(e,t,r)=>{var n=r(9090),o=r(8872),i=r(3276),s=r(6973);e.exports=function(e,t){for(var r=o(t),a=s.f,c=i.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||a(e,l,c(t,l))}}},6760:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},980:(e,t,r)=>{"use strict";var n=r(5592).IteratorPrototype,o=r(9692),i=r(5398),s=r(4198),a=r(2536),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),s(e,u,!1,!0),a[u]=c,e}},9382:(e,t,r)=>{var n=r(909),o=r(6973),i=r(5398);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5398:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3500:(e,t,r)=>{"use strict";var n=r(1736),o=r(6973),i=r(5398);e.exports=function(e,t,r){var s=n(t);s in e?o.f(e,s,i(0,r)):e[s]=r}},2315:(e,t,r)=>{"use strict";var n=r(8646),o=r(980),i=r(1052),s=r(6907),a=r(4198),c=r(9382),u=r(4824),l=r(26),f=r(781),p=r(2536),h=r(5592),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y="keys",b="values",m="entries",x=function(){return this};e.exports=function(e,t,r,l,h,w,S){o(r,t,l);var E,T,C,_=function(e){if(e===h&&L)return L;if(!v&&e in P)return P[e];switch(e){case y:case b:case m:return function(){return new r(this,e)}}return function(){return new r(this)}},O=t+" Iterator",A=!1,P=e.prototype,k=P[g]||P["@@iterator"]||h&&P[h],L=!v&&k||_(h),I="Array"==t&&P.entries||k;if(I&&(E=i(I.call(new e)),d!==Object.prototype&&E.next&&(f||i(E)===d||(s?s(E,d):"function"!=typeof E[g]&&c(E,g,x)),a(E,O,!0,!0),f&&(p[O]=x))),h==b&&k&&k.name!==b&&(A=!0,L=function(){return k.call(this)}),f&&!S||P[g]===L||c(P,g,L),p[t]=L,h)if(T={values:_(b),keys:w?L:_(y),entries:_(m)},S)for(C in T)(v||A||!(C in P))&&u(P,C,T[C]);else n({target:t,proto:!0,forced:v||A},T);return T}},6637:(e,t,r)=>{var n=r(4871),o=r(9090),i=r(5223),s=r(6973).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||s(t,e,{value:i.f(e)})}},909:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4764:(e,t,r)=>{var n=r(800),o=r(1043),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},9364:(e,t,r)=>{var n=r(7670);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},9040:(e,t,r)=>{var n=r(4518),o=r(800);e.exports="process"==n(o.process)},7670:(e,t,r)=>{var n=r(4817);e.exports=n("navigator","userAgent")||""},7903:(e,t,r)=>{var n,o,i=r(800),s=r(7670),a=i.process,c=a&&a.versions,u=c&&c.v8;u?o=(n=u.split("."))[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},1836:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8646:(e,t,r)=>{var n=r(800),o=r(3276).f,i=r(9382),s=r(4824),a=r(8697),c=r(4327),u=r(8046);e.exports=function(e,t){var r,l,f,p,h,d=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(h=o(r,l))&&h.value:r[l],!u(v?l:d+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),s(r,l,p,e)}}},8898:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6365:(e,t,r)=>{var n=r(6555);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},4817:(e,t,r)=>{var n=r(4871),o=r(800),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},3706:(e,t,r)=>{var n=r(2796),o=r(2536),i=r(26)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},8816:(e,t,r)=>{var n=r(5511),o=r(3706);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},800:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},9090:e=>{var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},555:e=>{e.exports={}},7876:(e,t,r)=>{var n=r(4817);e.exports=n("document","documentElement")},5393:(e,t,r)=>{var n=r(909),o=r(8898),i=r(4764);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4783:(e,t,r)=>{var n=r(8898),o=r(4518),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},735:(e,t,r)=>{var n=r(3414),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},4495:(e,t,r)=>{var n,o,i,s=r(7519),a=r(800),c=r(1043),u=r(9382),l=r(9090),f=r(3414),p=r(1544),h=r(555),d=a.WeakMap;if(s){var v=f.state||(f.state=new d),g=v.get,y=v.has,b=v.set;n=function(e,t){return t.facade=e,b.call(v,e,t),t},o=function(e){return g.call(v,e)||{}},i=function(e){return y.call(v,e)}}else{var m=p("state");h[m]=!0,n=function(e,t){return t.facade=e,u(e,m,t),t},o=function(e){return l(e,m)?e[m]:{}},i=function(e){return l(e,m)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},3658:(e,t,r)=>{var n=r(26),o=r(2536),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},8283:(e,t,r)=>{var n=r(4518);e.exports=Array.isArray||function(e){return"Array"==n(e)}},8046:(e,t,r)=>{var n=r(8898),o=/#|\.prototype\./,i=function(e,t){var r=a[s(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},1043:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},781:e=>{e.exports=!1},5772:(e,t,r)=>{var n=r(5511);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},5592:(e,t,r)=>{"use strict";var n,o,i,s=r(8898),a=r(1052),c=r(9382),u=r(9090),l=r(26),f=r(781),p=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):h=!0);var d=null==n||s((function(){var e={};return n[p].call(e)!==e}));d&&(n={}),f&&!d||u(n,p)||c(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},2536:e=>{e.exports={}},8654:(e,t,r)=>{var n=r(9040),o=r(7903),i=r(8898);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},9824:(e,t,r)=>{var n=r(8898),o=r(26),i=r(781),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},7519:(e,t,r)=>{var n=r(800),o=r(735),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},7738:(e,t,r)=>{"use strict";var n=r(909),o=r(8898),i=r(3555),s=r(2610),a=r(8858),c=r(6640),u=r(4783),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||i(l({},t)).join("")!=o}))?function(e,t){for(var r=c(e),o=arguments.length,l=1,f=s.f,p=a.f;o>l;)for(var h,d=u(arguments[l++]),v=f?i(d).concat(f(d)):i(d),g=v.length,y=0;g>y;)h=v[y++],n&&!p.call(d,h)||(r[h]=d[h]);return r}:l},9692:(e,t,r)=>{var n,o=r(5511),i=r(3110),s=r(1836),a=r(555),c=r(7876),u=r(4764),l=r(1544),f=l("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"</"+"script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var r=s.length;r--;)delete d.prototype[s[r]];return d()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=o(e),r=new p,p.prototype=null,r[f]=e):r=d(),void 0===t?r:i(r,t)}},3110:(e,t,r)=>{var n=r(909),o=r(6973),i=r(5511),s=r(3555);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=s(t),a=n.length,c=0;a>c;)o.f(e,r=n[c++],t[r]);return e}},6973:(e,t,r)=>{var n=r(909),o=r(5393),i=r(5511),s=r(1736),a=Object.defineProperty;t.f=n?a:function(e,t,r){if(i(e),t=s(t,!0),i(r),o)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},3276:(e,t,r)=>{var n=r(909),o=r(8858),i=r(5398),s=r(6603),a=r(1736),c=r(9090),u=r(5393),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=s(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},2107:(e,t,r)=>{var n=r(7967),o=r(1836).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},2610:(e,t)=>{t.f=Object.getOwnPropertySymbols},1052:(e,t,r)=>{var n=r(9090),o=r(6640),i=r(1544),s=r(6760),a=i("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},7967:(e,t,r)=>{var n=r(9090),o=r(6603),i=r(7830).indexOf,s=r(555);e.exports=function(e,t){var r,a=o(e),c=0,u=[];for(r in a)!n(s,r)&&n(a,r)&&u.push(r);for(;t.length>c;)n(a,r=t[c++])&&(~i(u,r)||u.push(r));return u}},3555:(e,t,r)=>{var n=r(7967),o=r(1836);e.exports=Object.keys||function(e){return n(e,o)}},8858:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},6907:(e,t,r)=>{var n=r(5511),o=r(5517);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},8872:(e,t,r)=>{var n=r(4817),o=r(2107),i=r(2610),s=r(5511);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=i.f;return r?t.concat(r(e)):t}},4871:(e,t,r)=>{var n=r(800);e.exports=n},4372:(e,t,r)=>{var n=r(4824);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},4824:(e,t,r)=>{var n=r(800),o=r(9382),i=r(9090),s=r(8697),a=r(735),c=r(4495),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,r,a){var c,u=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),(c=l(r)).source||(c.source=f.join("string"==typeof t?t:""))),e!==n?(u?!h&&e[t]&&(p=!0):delete e[t],p?e[t]=r:o(e,t,r)):p?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},8401:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},8697:(e,t,r)=>{var n=r(800),o=r(9382);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},4198:(e,t,r)=>{var n=r(6973).f,o=r(9090),i=r(26)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},1544:(e,t,r)=>{var n=r(9829),o=r(9386),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},3414:(e,t,r)=>{var n=r(800),o=r(8697),i="__core-js_shared__",s=n[i]||o(i,{});e.exports=s},9829:(e,t,r)=>{var n=r(781),o=r(3414);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.0",mode:n?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},8214:(e,t,r)=>{var n=r(8605),o=r(8401),i=function(e){return function(t,r){var i,s,a=String(o(t)),c=n(r),u=a.length;return c<0||c>=u?e?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):i:e?a.slice(c,c+2):s-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},629:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,s=String.fromCharCode,a=function(e){return e+22+75*(e<26)},c=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},u=function(e){var r,n,u=[],l=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}(e)).length,f=128,p=0,h=72;for(r=0;r<e.length;r++)(n=e[r])<128&&u.push(s(n));var d=u.length,v=d;for(d&&u.push("-");v<l;){var g=t;for(r=0;r<e.length;r++)(n=e[r])>=f&&n<g&&(g=n);var y=v+1;if(g-f>i((t-p)/y))throw RangeError(o);for(p+=(g-f)*y,f=g,r=0;r<e.length;r++){if((n=e[r])<f&&++p>t)throw RangeError(o);if(n==f){for(var b=p,m=36;;m+=36){var x=m<=h?1:m>=h+26?26:m-h;if(b<x)break;var w=b-x,S=36-x;u.push(s(a(x+w%S))),b=i(w/S)}u.push(s(a(b))),h=c(p,y,v==d),p=0,++v}}++p,++f}return u.join("")};e.exports=function(e){var t,o,i=[],s=e.toLowerCase().replace(n,".").split(".");for(t=0;t<s.length;t++)o=s[t],i.push(r.test(o)?"xn--"+u(o):o);return i.join(".")}},5767:(e,t,r)=>{var n,o,i,s=r(800),a=r(8898),c=r(6365),u=r(7876),l=r(4764),f=r(9364),p=r(9040),h=s.location,d=s.setImmediate,v=s.clearImmediate,g=s.process,y=s.MessageChannel,b=s.Dispatch,m=0,x={},w="onreadystatechange",S=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},E=function(e){return function(){S(e)}},T=function(e){S(e.data)},C=function(e){s.postMessage(e+"",h.protocol+"//"+h.host)};d&&v||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return x[++m]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(m),m},v=function(e){delete x[e]},p?n=function(e){g.nextTick(E(e))}:b&&b.now?n=function(e){b.now(E(e))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=T,n=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&h&&"file:"!==h.protocol&&!a(C)?(n=C,s.addEventListener("message",T,!1)):n=w in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:d,clear:v}},9211:(e,t,r)=>{var n=r(8605),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},6603:(e,t,r)=>{var n=r(4783),o=r(8401);e.exports=function(e){return n(o(e))}},8605:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},3310:(e,t,r)=>{var n=r(8605),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},6640:(e,t,r)=>{var n=r(8401);e.exports=function(e){return Object(n(e))}},1736:(e,t,r)=>{var n=r(1043);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},3026:(e,t,r)=>{var n={};n[r(26)("toStringTag")]="z",e.exports="[object z]"===String(n)},9386:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},2674:(e,t,r)=>{var n=r(8654);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5223:(e,t,r)=>{var n=r(26);t.f=n},26:(e,t,r)=>{var n=r(800),o=r(9829),i=r(9090),s=r(9386),a=r(8654),c=r(2674),u=o("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)&&(a||"string"==typeof u[e])||(a&&i(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},2357:(e,t,r)=>{"use strict";var n=r(6603),o=r(4634),i=r(2536),s=r(4495),a=r(2315),c="Array Iterator",u=s.set,l=s.getterFor(c);e.exports=a(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1794:(e,t,r)=>{"use strict";var n=r(8214).charAt,o=r(4495),i=r(2315),s="String Iterator",a=o.set,c=o.getterFor(s);i(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},2588:(e,t,r)=>{r(6637)("observable")},5287:(e,t,r)=>{var n=r(8646),o=r(800),i=r(5767);n({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},8328:(e,t,r)=>{"use strict";r(2357);var n=r(8646),o=r(4817),i=r(9824),s=r(4824),a=r(4372),c=r(4198),u=r(980),l=r(4495),f=r(6345),p=r(9090),h=r(6365),d=r(2796),v=r(5511),g=r(1043),y=r(9692),b=r(5398),m=r(8816),x=r(3706),w=r(26),S=o("fetch"),E=o("Headers"),T=w("iterator"),C="URLSearchParams",_="URLSearchParamsIterator",O=l.set,A=l.getterFor(C),P=l.getterFor(_),k=/\+/g,L=Array(4),I=function(e){return L[e-1]||(L[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},R=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(k," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(I(r--),R);return t}},j=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return M[e]},U=function(e){return encodeURIComponent(e).replace(j,D)},F=function(e,t){if(t)for(var r,n,o=t.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),e.push({key:N(n.shift()),value:N(n.join("="))}))},B=function(e){this.entries.length=0,F(this.entries,e)},V=function(e,t){if(e<t)throw TypeError("Not enough arguments")},G=u((function(e,t){O(this,{type:_,iterator:m(A(e).entries),kind:t})}),"Iterator",(function(){var e=P(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){f(this,H,C);var e,t,r,n,o,i,s,a,c,u=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(O(l,{type:C,entries:h,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(g(u))if("function"==typeof(e=x(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((s=(i=(o=m(v(n.value))).next).call(o)).done||(a=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");h.push({key:s.value+"",value:a.value+""})}else for(c in u)p(u,c)&&h.push({key:c,value:u[c]+""});else F(h,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;a($,{append:function(e,t){V(arguments.length,2);var r=A(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){V(arguments.length,1);for(var t=A(this),r=t.entries,n=e+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;t.updateURL()},get:function(e){V(arguments.length,1);for(var t=A(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){V(arguments.length,1);for(var t=A(this).entries,r=e+"",n=[],o=0;o<t.length;o++)t[o].key===r&&n.push(t[o].value);return n},has:function(e){V(arguments.length,1);for(var t=A(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){V(arguments.length,1);for(var r,n=A(this),o=n.entries,i=!1,s=e+"",a=t+"",c=0;c<o.length;c++)(r=o[c]).key===s&&(i?o.splice(c--,1):(i=!0,r.value=a));i||o.push({key:s,value:a}),n.updateURL()},sort:function(){var e,t,r,n=A(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===r&&o.push(e)}n.updateURL()},forEach:function(e){for(var t,r=A(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new G(this,"keys")},values:function(){return new G(this,"values")},entries:function(){return new G(this,"entries")}},{enumerable:!0}),s($,T,$.entries),s($,"toString",(function(){for(var e,t=A(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(U(e.key)+"="+U(e.value));return r.join("&")}),{enumerable:!0}),c(H,C),n({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof S||"function"!=typeof E||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,d(r)===C&&((n=t.headers?new E(t.headers):new E).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:b(0,String(r)),headers:b(0,n)}))),o.push(t)),S.apply(this,o)}}),e.exports={URLSearchParams:H,getState:A}},9227:(e,t,r)=>{"use strict";r(1794);var n,o=r(8646),i=r(909),s=r(9824),a=r(800),c=r(3110),u=r(4824),l=r(6345),f=r(9090),p=r(7738),h=r(2353),d=r(8214).codeAt,v=r(629),g=r(4198),y=r(8328),b=r(4495),m=a.URL,x=y.URLSearchParams,w=y.getState,S=b.set,E=b.getterFor("URL"),T=Math.floor,C=Math.pow,_="Invalid scheme",O="Invalid host",A="Invalid port",P=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,L=/\d/,I=/^(0x|0X)/,R=/^[0-7]+$/,N=/^\d+$/,j=/^[\dA-Fa-f]+$/,M=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,D=/[\u0000\t\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\t\u000A\u000D]/g,B=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return O;if(!(r=G(t.slice(1,-1))))return O;e.host=r}else if(Y(e)){if(t=v(t),M.test(t))return O;if(null===(r=V(t)))return O;e.host=r}else{if(D.test(t))return O;for(r="",n=h(t),o=0;o<n.length;o++)r+=z(n[o],$);e.host=r}},V=function(e){var t,r,n,o,i,s,a,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=c[n]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=I.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)s=0;else{if(!(10==i?N:8==i?R:j).test(o))return e;s=parseInt(o,i)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=C(256,5-t))return null}else if(s>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*C(256,3-n);return a},G=function(e){var t,r,n,o,i,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=r=0;r<4&&j.test(p());)t=16*t+parseInt(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,u>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;f++}if(!L.test(p()))return;for(;L.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[u]=256*c[u]+o,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(s=u-l,u=7;0!=u&&s>0;)a=c[u],c[u--]=c[l+s-1],c[l+--s]=a;else if(8!=u)return;return c},H=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=T(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},K=p({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),W=p({},K,{"#":1,"?":1,"{":1,"}":1}),J=p({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),z=function(e,t){var r=d(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(q,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var r;return 2==e.length&&P.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Z(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},oe={},ie={},se={},ae={},ce={},ue={},le={},fe={},pe={},he={},de={},ve={},ge={},ye={},be={},me={},xe={},we={},Se={},Ee={},Te=function(e,t,r,o){var i,s,a,c,u,l=r||ne,p=0,d="",v=!1,g=!1,y=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(F,""),i=h(t);p<=i.length;){switch(s=i[p],l){case ne:if(!s||!P.test(s)){if(r)return _;l=ie;continue}d+=s.toLowerCase(),l=oe;break;case oe:if(s&&(k.test(s)||"+"==s||"-"==s||"."==s))d+=s.toLowerCase();else{if(":"!=s){if(r)return _;d="",l=ie,p=0;continue}if(r&&(Y(e)!=f(q,d)||"file"==d&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,r)return void(Y(e)&&q[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?l=ge:Y(e)&&o&&o.scheme==e.scheme?l=se:Y(e)?l=le:"/"==i[p+1]?(l=ae,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=s)return _;if(o.cannotBeABaseURL&&"#"==s){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=Ee;break}l="file"==o.scheme?ge:ce;continue;case se:if("/"!=s||"/"!=i[p+1]){l=ce;continue}l=fe,p++;break;case ae:if("/"==s){l=pe;break}l=xe;continue;case ce:if(e.scheme=o.scheme,s==n)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==s||"\\"==s&&Y(e))l=ue;else if("?"==s)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=Se;else{if("#"!=s){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=xe;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=Ee}break;case ue:if(!Y(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=xe;continue}l=pe}else l=fe;break;case le:if(l=fe,"/"!=s||"/"!=d.charAt(p+1))continue;p++;break;case fe:if("/"!=s&&"\\"!=s){l=pe;continue}break;case pe:if("@"==s){v&&(d="%40"+d),v=!0,a=h(d);for(var b=0;b<a.length;b++){var m=a[b];if(":"!=m||y){var x=z(m,J);y?e.password+=x:e.username+=x}else y=!0}d=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&Y(e)){if(v&&""==d)return"Invalid authority";p-=h(d).length+1,d="",l=he}else d+=s;break;case he:case de:if(r&&"file"==e.scheme){l=be;continue}if(":"!=s||g){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&Y(e)){if(Y(e)&&""==d)return O;if(r&&""==d&&(Q(e)||null!==e.port))return;if(c=B(e,d))return c;if(d="",l=me,r)return;continue}"["==s?g=!0:"]"==s&&(g=!1),d+=s}else{if(""==d)return O;if(c=B(e,d))return c;if(d="",l=ve,r==de)return}break;case ve:if(!L.test(s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&Y(e)||r){if(""!=d){var w=parseInt(d,10);if(w>65535)return A;e.port=Y(e)&&w===q[e.scheme]?null:w,d=""}if(r)return;l=me;continue}return A}d+=s;break;case ge:if(e.scheme="file","/"==s||"\\"==s)l=ye;else{if(!o||"file"!=o.scheme){l=xe;continue}if(s==n)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==s)e.host=o.host,e.path=o.path.slice(),e.query="",l=Se;else{if("#"!=s){ee(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),l=xe;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=Ee}}break;case ye:if("/"==s||"\\"==s){l=be;break}o&&"file"==o.scheme&&!ee(i.slice(p).join(""))&&(Z(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=xe;continue;case be:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!r&&Z(d))l=xe;else if(""==d){if(e.host="",r)return;l=me}else{if(c=B(e,d))return c;if("localhost"==e.host&&(e.host=""),r)return;d="",l=me}continue}d+=s;break;case me:if(Y(e)){if(l=xe,"/"!=s&&"\\"!=s)continue}else if(r||"?"!=s)if(r||"#"!=s){if(s!=n&&(l=xe,"/"!=s))continue}else e.fragment="",l=Ee;else e.query="",l=Se;break;case xe:if(s==n||"/"==s||"\\"==s&&Y(e)||!r&&("?"==s||"#"==s)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==s||"\\"==s&&Y(e)||e.path.push("")):re(d)?"/"==s||"\\"==s&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(s==n||"?"==s||"#"==s))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==s?(e.query="",l=Se):"#"==s&&(e.fragment="",l=Ee)}else d+=z(s,W);break;case we:"?"==s?(e.query="",l=Se):"#"==s?(e.fragment="",l=Ee):s!=n&&(e.path[0]+=z(s,$));break;case Se:r||"#"!=s?s!=n&&("'"==s&&Y(e)?e.query+="%27":e.query+="#"==s?"%23":z(s,$)):(e.fragment="",l=Ee);break;case Ee:s!=n&&(e.fragment+=z(s,K))}p++}},Ce=function(e){var t,r,n=l(this,Ce,"URL"),o=arguments.length>1?arguments[1]:void 0,s=String(e),a=S(n,{type:"URL"});if(void 0!==o)if(o instanceof Ce)t=E(o);else if(r=Te(t={},String(o)))throw TypeError(r);if(r=Te(a,s,null,t))throw TypeError(r);var c=a.searchParams=new x,u=w(c);u.updateSearchParams(a.query),u.updateURL=function(){a.query=String(c)||null},i||(n.href=Oe.call(n),n.origin=Ae.call(n),n.protocol=Pe.call(n),n.username=ke.call(n),n.password=Le.call(n),n.host=Ie.call(n),n.hostname=Re.call(n),n.port=Ne.call(n),n.pathname=je.call(n),n.search=Me.call(n),n.searchParams=De.call(n),n.hash=Ue.call(n))},_e=Ce.prototype,Oe=function(){var e=E(this),t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==o?(u+="//",Q(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},Ae=function(){var e=E(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Pe=function(){return E(this).scheme+":"},ke=function(){return E(this).username},Le=function(){return E(this).password},Ie=function(){var e=E(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},Re=function(){var e=E(this).host;return null===e?"":H(e)},Ne=function(){var e=E(this).port;return null===e?"":String(e)},je=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},Ue=function(){var e=E(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(_e,{href:Fe(Oe,(function(e){var t=E(this),r=String(e),n=Te(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Fe(Ae),protocol:Fe(Pe,(function(e){var t=E(this);Te(t,String(e)+":",ne)})),username:Fe(ke,(function(e){var t=E(this),r=h(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=z(r[n],J)}})),password:Fe(Le,(function(e){var t=E(this),r=h(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=z(r[n],J)}})),host:Fe(Ie,(function(e){var t=E(this);t.cannotBeABaseURL||Te(t,String(e),he)})),hostname:Fe(Re,(function(e){var t=E(this);t.cannotBeABaseURL||Te(t,String(e),de)})),port:Fe(Ne,(function(e){var t=E(this);X(t)||(""==(e=String(e))?t.port=null:Te(t,e,ve))})),pathname:Fe(je,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Te(t,e+"",me))})),search:Fe(Me,(function(e){var t=E(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Te(t,e,Se)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Fe(De),hash:Fe(Ue,(function(e){var t=E(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Te(t,e,Ee)):t.fragment=null}))}),u(_e,"toJSON",(function(){return Oe.call(this)}),{enumerable:!0}),u(_e,"toString",(function(){return Oe.call(this)}),{enumerable:!0}),m){var Be=m.createObjectURL,Ve=m.revokeObjectURL;Be&&u(Ce,"createObjectURL",(function(e){return Be.apply(m,arguments)})),Ve&&u(Ce,"revokeObjectURL",(function(e){return Ve.apply(m,arguments)}))}g(Ce,"URL"),o({global:!0,forced:!s,sham:!i},{URL:Ce})},8981:(e,t,r)=>{var n=r(7791)(r(3478),"DataView");e.exports=n},8031:(e,t,r)=>{var n=r(5264),o=r(6778),i=r(8861),s=r(1867),a=r(9796);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},8289:(e,t,r)=>{var n=r(5249),o=r(4553),i=r(5104),s=r(17),a=r(5117);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},1063:(e,t,r)=>{var n=r(7791)(r(3478),"Map");e.exports=n},6484:(e,t,r)=>{var n=r(1409),o=r(6231),i=r(1963),s=r(8810),a=r(4960);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},3366:(e,t,r)=>{var n=r(7791)(r(3478),"Promise");e.exports=n},1538:(e,t,r)=>{var n=r(7791)(r(3478),"Set");e.exports=n},8261:(e,t,r)=>{var n=r(6484),o=r(7538),i=r(5377);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,e.exports=s},5325:(e,t,r)=>{var n=r(8289),o=r(1849),i=r(9712),s=r(3077),a=r(2930),c=r(5518);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,e.exports=u},1658:(e,t,r)=>{var n=r(3478).Symbol;e.exports=n},3467:(e,t,r)=>{var n=r(3478).Uint8Array;e.exports=n},4428:(e,t,r)=>{var n=r(7791)(r(3478),"WeakMap");e.exports=n},6797:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},7615:e=>{e.exports=function(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(n,s,r(s),e)}return n}},1321:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},6493:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}},7079:(e,t,r)=>{var n=r(7748);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},8616:e=>{e.exports=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}},2932:(e,t,r)=>{var n=r(4079),o=r(7632),i=r(2615),s=r(28),a=r(5661),c=r(1653),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&o(e),f=!r&&!l&&s(e),p=!r&&!l&&!f&&c(e),h=r||l||f||p,d=h?n(e.length,String):[],v=d.length;for(var g in e)!t&&!u.call(e,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,v))||d.push(g);return d}},7309:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},9676:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},4938:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},3780:(e,t,r)=>{var n=r(508),o=r(4865),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];i.call(e,t)&&o(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},2784:(e,t,r)=>{var n=r(4865);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8835:(e,t,r)=>{var n=r(9668);e.exports=function(e,t,r,o){return n(e,(function(e,n,i){t(o,e,r(e),i)})),o}},3585:(e,t,r)=>{var n=r(2654),o=r(2749);e.exports=function(e,t){return e&&n(t,o(t),e)}},4683:(e,t,r)=>{var n=r(2654),o=r(8530);e.exports=function(e,t){return e&&n(t,o(t),e)}},508:(e,t,r)=>{var n=r(6569);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},7864:(e,t,r)=>{var n=r(5325),o=r(1321),i=r(3780),s=r(3585),a=r(4683),c=r(1855),u=r(1176),l=r(9270),f=r(1751),p=r(294),h=r(671),d=r(6968),v=r(1381),g=r(8582),y=r(2375),b=r(2615),m=r(28),x=r(8866),w=r(8603),S=r(6159),E=r(2749),T=r(8530),C="[object Arguments]",_="[object Function]",O="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[O]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[_]=A["[object WeakMap]"]=!1,e.exports=function e(t,r,P,k,L,I){var R,N=1&r,j=2&r,M=4&r;if(P&&(R=L?P(t,k,L,I):P(t)),void 0!==R)return R;if(!w(t))return t;var D=b(t);if(D){if(R=v(t),!N)return u(t,R)}else{var U=d(t),F=U==_||"[object GeneratorFunction]"==U;if(m(t))return c(t,N);if(U==O||U==C||F&&!L){if(R=j||F?{}:y(t),!N)return j?f(t,a(R,t)):l(t,s(R,t))}else{if(!A[U])return L?t:{};R=g(t,U,N)}}I||(I=new n);var B=I.get(t);if(B)return B;I.set(t,R),S(t)?t.forEach((function(n){R.add(e(n,r,P,n,t,I))})):x(t)&&t.forEach((function(n,o){R.set(o,e(n,r,P,o,t,I))}));var V=D?void 0:(M?j?h:p:j?T:E)(t);return o(V||t,(function(n,o){V&&(n=t[o=n]),i(R,o,e(n,r,P,o,t,I))})),R}},7508:(e,t,r)=>{var n=r(8603),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},9668:(e,t,r)=>{var n=r(4330),o=r(4029)(n);e.exports=o},8969:e=>{e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},745:(e,t,r)=>{var n=r(9676),o=r(5143);e.exports=function e(t,r,i,s,a){var c=-1,u=t.length;for(i||(i=o),a||(a=[]);++c<u;){var l=t[c];r>0&&i(l)?r>1?e(l,r-1,i,s,a):n(a,l):s||(a[a.length]=l)}return a}},9387:(e,t,r)=>{var n=r(7889)();e.exports=n},4330:(e,t,r)=>{var n=r(9387),o=r(2749);e.exports=function(e,t){return e&&n(e,t,o)}},7614:(e,t,r)=>{var n=r(4853),o=r(9535);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},1714:(e,t,r)=>{var n=r(9676),o=r(2615);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},2085:(e,t,r)=>{var n=r(1658),o=r(1693),i=r(9191),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},9843:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7748:(e,t,r)=>{var n=r(8969),o=r(9136),i=r(6930);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},9618:(e,t,r)=>{var n=r(2085),o=r(9363);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},2706:(e,t,r)=>{var n=r(4978),o=r(9363);e.exports=function e(t,r,i,s,a){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,s,e,a))}},4978:(e,t,r)=>{var n=r(5325),o=r(6910),i=r(7163),s=r(1689),a=r(6968),c=r(2615),u=r(28),l=r(1653),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,g,y){var b=c(e),m=c(t),x=b?p:a(e),w=m?p:a(t),S=(x=x==f?h:x)==h,E=(w=w==f?h:w)==h,T=x==w;if(T&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(T&&!S)return y||(y=new n),b||l(e)?o(e,t,r,v,g,y):i(e,t,x,r,v,g,y);if(!(1&r)){var C=S&&d.call(e,"__wrapped__"),_=E&&d.call(t,"__wrapped__");if(C||_){var O=C?e.value():e,A=_?t.value():t;return y||(y=new n),g(O,A,r,v,y)}}return!!T&&(y||(y=new n),s(e,t,r,v,g,y))}},7533:(e,t,r)=>{var n=r(6968),o=r(9363);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},8116:(e,t,r)=>{var n=r(5325),o=r(2706);e.exports=function(e,t,r,i){var s=r.length,a=s,c=!i;if(null==e)return!a;for(e=Object(e);s--;){var u=r[s];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var l=(u=r[s])[0],f=e[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in e))return!1}else{var h=new n;if(i)var d=i(f,p,l,e,t,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},9136:e=>{e.exports=function(e){return e!=e}},697:(e,t,r)=>{var n=r(8911),o=r(6481),i=r(8603),s=r(8143),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:a).test(s(e))}},6941:(e,t,r)=>{var n=r(6968),o=r(9363);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},3677:(e,t,r)=>{var n=r(2085),o=r(2413),i=r(9363),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!s[n(e)]}},544:(e,t,r)=>{var n=r(5346),o=r(6572),i=r(672),s=r(2615),a=r(4272);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?o(e[0],e[1]):n(e):a(e)}},8819:(e,t,r)=>{var n=r(1105),o=r(7762),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2809:(e,t,r)=>{var n=r(8603),o=r(1105),i=r(6383),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}},3671:(e,t,r)=>{var n=r(9668),o=r(9174);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}},5346:(e,t,r)=>{var n=r(8116),o=r(8676),i=r(7187);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},6572:(e,t,r)=>{var n=r(2706),o=r(5472),i=r(4170),s=r(6955),a=r(219),c=r(7187),u=r(9535);e.exports=function(e,t){return s(e)&&a(t)?c(u(e),t):function(r){var s=o(r,e);return void 0===s&&s===t?i(r,e):n(t,s,3)}}},840:(e,t,r)=>{var n=r(7309),o=r(7614),i=r(544),s=r(3671),a=r(7648),c=r(7888),u=r(4292),l=r(672),f=r(2615);e.exports=function(e,t,r){t=t.length?n(t,(function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[l];var p=-1;t=n(t,c(i));var h=s(e,(function(e,r,o){return{criteria:n(t,(function(t){return t(e)})),index:++p,value:e}}));return a(h,(function(e,t){return u(e,t,r)}))}},5898:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9916:(e,t,r)=>{var n=r(7614);e.exports=function(e){return function(t){return n(t,e)}}},1494:(e,t,r)=>{var n=r(672),o=r(5112),i=r(6618);e.exports=function(e,t){return i(o(e,t,n),e+"")}},3389:(e,t,r)=>{var n=r(7578),o=r(6569),i=r(672),s=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=s},7648:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},4079:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},9134:(e,t,r)=>{var n=r(1658),o=r(7309),i=r(2615),s=r(1365),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},7888:e=>{e.exports=function(e){return function(t){return e(t)}}},2744:(e,t,r)=>{var n=r(8261),o=r(7079),i=r(8616),s=r(9161),a=r(4438),c=r(1956);e.exports=function(e,t,r){var u=-1,l=o,f=e.length,p=!0,h=[],d=h;if(r)p=!1,l=i;else if(f>=200){var v=t?null:a(e);if(v)return c(v);p=!1,l=s,d=new n}else d=t?[]:h;e:for(;++u<f;){var g=e[u],y=t?t(g):g;if(g=r||0!==g?g:0,p&&y==y){for(var b=d.length;b--;)if(d[b]===y)continue e;t&&d.push(y),h.push(g)}else l(d,y,r)||(d!==h&&d.push(y),h.push(g))}return h}},9161:e=>{e.exports=function(e,t){return e.has(t)}},4853:(e,t,r)=>{var n=r(2615),o=r(6955),i=r(1229),s=r(7115);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(s(e))}},9474:(e,t,r)=>{var n=r(3467);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},1855:(e,t,r)=>{e=r.nmd(e);var n=r(3478),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}},6341:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},2564:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},5676:(e,t,r)=>{var n=r(1658),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},5464:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},3702:(e,t,r)=>{var n=r(1365);e.exports=function(e,t){if(e!==t){var r=void 0!==e,o=null===e,i=e==e,s=n(e),a=void 0!==t,c=null===t,u=t==t,l=n(t);if(!c&&!l&&!s&&e>t||s&&a&&u&&!c&&!l||o&&a&&u||!r&&u||!i)return 1;if(!o&&!s&&!l&&e<t||l&&r&&i&&!o&&!s||c&&r&&i||!a&&i||!u)return-1}return 0}},4292:(e,t,r)=>{var n=r(3702);e.exports=function(e,t,r){for(var o=-1,i=e.criteria,s=t.criteria,a=i.length,c=r.length;++o<a;){var u=n(i[o],s[o]);if(u)return o>=c?u:u*("desc"==r[o]?-1:1)}return e.index-t.index}},1176:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},2654:(e,t,r)=>{var n=r(3780),o=r(508);e.exports=function(e,t,r,i){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=i?i(r[u],e[u],u,r,e):void 0;void 0===l&&(l=e[u]),s?o(r,u,l):n(r,u,l)}return r}},9270:(e,t,r)=>{var n=r(2654),o=r(4868);e.exports=function(e,t){return n(e,o(e),t)}},1751:(e,t,r)=>{var n=r(2654),o=r(905);e.exports=function(e,t){return n(e,o(e),t)}},7037:(e,t,r)=>{var n=r(3478)["__core-js_shared__"];e.exports=n},3027:(e,t,r)=>{var n=r(7615),o=r(8835),i=r(544),s=r(2615);e.exports=function(e,t){return function(r,a){var c=s(r)?n:o,u=t?t():{};return c(r,e,i(a,2),u)}}},4029:(e,t,r)=>{var n=r(9174);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,s=t?i:-1,a=Object(r);(t?s--:++s<i)&&!1!==o(a[s],s,a););return r}}},7889:e=>{e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===r(i[c],c,i))break}return t}}},4438:(e,t,r)=>{var n=r(1538),o=r(7021),i=r(1956),s=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=s},6569:(e,t,r)=>{var n=r(7791),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},6910:(e,t,r)=>{var n=r(8261),o=r(4938),i=r(9161);e.exports=function(e,t,r,s,a,c){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var d=-1,v=!0,g=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],b=t[d];if(s)var m=u?s(b,y,d,t,e,c):s(y,b,d,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(y===e||a(y,e,r,s,c)))return g.push(t)}))){v=!1;break}}else if(y!==b&&!a(y,b,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7163:(e,t,r)=>{var n=r(1658),o=r(3467),i=r(4865),s=r(6910),a=r(5695),c=r(1956),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var d=1&n;if(h||(h=c),e.size!=t.size&&!d)return!1;var v=p.get(e);if(v)return v==t;n|=2,p.set(e,t);var g=s(h(e),h(t),n,u,f,p);return p.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1689:(e,t,r)=>{var n=r(294),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,s,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:o.call(t,p)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var v=!0;a.set(e,t),a.set(t,e);for(var g=c;++f<l;){var y=e[p=u[f]],b=t[p];if(i)var m=c?i(b,y,p,t,e,a):i(y,b,p,e,t,a);if(!(void 0===m?y===b||s(y,b,r,i,a):m)){v=!1;break}g||(g="constructor"==p)}if(v&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(v=!1)}return a.delete(e),a.delete(t),v}},521:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},294:(e,t,r)=>{var n=r(1714),o=r(4868),i=r(2749);e.exports=function(e){return n(e,i,o)}},671:(e,t,r)=>{var n=r(1714),o=r(905),i=r(8530);e.exports=function(e){return n(e,i,o)}},9768:(e,t,r)=>{var n=r(5348);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8676:(e,t,r)=>{var n=r(219),o=r(2749);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],s=e[i];t[r]=[i,s,n(s)]}return t}},7791:(e,t,r)=>{var n=r(697),o=r(1430);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},6180:(e,t,r)=>{var n=r(7318)(Object.getPrototypeOf,Object);e.exports=n},1693:(e,t,r)=>{var n=r(1658),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var o=s.call(e);return n&&(t?e[a]=r:delete e[a]),o}},4868:(e,t,r)=>{var n=r(6493),o=r(7918),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return i.call(e,t)})))}:o;e.exports=a},905:(e,t,r)=>{var n=r(9676),o=r(6180),i=r(4868),s=r(7918),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:s;e.exports=a},6968:(e,t,r)=>{var n=r(8981),o=r(1063),i=r(3366),s=r(1538),a=r(4428),c=r(2085),u=r(8143),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),g=u(o),y=u(i),b=u(s),m=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=d||o&&x(new o)!=l||i&&x(i.resolve())!=f||s&&x(new s)!=p||a&&x(new a)!=h)&&(x=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case v:return d;case g:return l;case y:return f;case b:return p;case m:return h}return t}),e.exports=x},1430:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3587:(e,t,r)=>{var n=r(4853),o=r(7632),i=r(2615),s=r(5661),a=r(2413),c=r(9535);e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,f=!1;++u<l;){var p=c(t[u]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&a(l)&&s(p,l)&&(i(e)||o(e))}},5264:(e,t,r)=>{var n=r(8179);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6778:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8861:(e,t,r)=>{var n=r(8179),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},1867:(e,t,r)=>{var n=r(8179),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},9796:(e,t,r)=>{var n=r(8179);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1381:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},8582:(e,t,r)=>{var n=r(9474),o=r(6341),i=r(2564),s=r(5676),a=r(5464);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Set]":return new c;case"[object Symbol]":return s(e)}}},2375:(e,t,r)=>{var n=r(7508),o=r(6180),i=r(1105);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},5143:(e,t,r)=>{var n=r(1658),o=r(7632),i=r(2615),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(s&&e&&e[s])}},5661:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},659:(e,t,r)=>{var n=r(4865),o=r(9174),i=r(5661),s=r(8603);e.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?o(r)&&i(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},6955:(e,t,r)=>{var n=r(2615),o=r(1365),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},5348:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},6481:(e,t,r)=>{var n,o=r(7037),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},1105:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},219:(e,t,r)=>{var n=r(8603);e.exports=function(e){return e==e&&!n(e)}},5249:e=>{e.exports=function(){this.__data__=[],this.size=0}},4553:(e,t,r)=>{var n=r(2784),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},5104:(e,t,r)=>{var n=r(2784);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},17:(e,t,r)=>{var n=r(2784);e.exports=function(e){return n(this.__data__,e)>-1}},5117:(e,t,r)=>{var n=r(2784);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},1409:(e,t,r)=>{var n=r(8031),o=r(8289),i=r(1063);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},6231:(e,t,r)=>{var n=r(9768);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},1963:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).get(e)}},8810:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).has(e)}},4960:(e,t,r)=>{var n=r(9768);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},5695:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},7187:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},7657:(e,t,r)=>{var n=r(5167);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},8179:(e,t,r)=>{var n=r(7791)(Object,"create");e.exports=n},7762:(e,t,r)=>{var n=r(7318)(Object.keys,Object);e.exports=n},6383:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6282:(e,t,r)=>{e=r.nmd(e);var n=r(521),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},9191:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7318:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},5112:(e,t,r)=>{var n=r(6797),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=o(i.length-t,0),c=Array(a);++s<a;)c[s]=i[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=i[s];return u[t]=r(c),n(e,this,u)}}},3478:(e,t,r)=>{var n=r(521),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},7538:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5377:e=>{e.exports=function(e){return this.__data__.has(e)}},1956:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},6618:(e,t,r)=>{var n=r(3389),o=r(7910)(n);e.exports=o},7910:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},1849:(e,t,r)=>{var n=r(8289);e.exports=function(){this.__data__=new n,this.size=0}},9712:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},3077:e=>{e.exports=function(e){return this.__data__.get(e)}},2930:e=>{e.exports=function(e){return this.__data__.has(e)}},5518:(e,t,r)=>{var n=r(8289),o=r(1063),i=r(6484);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(e,t),this.size=r.size,this}},6930:e=>{e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},1229:(e,t,r)=>{var n=r(7657),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=s},9535:(e,t,r)=>{var n=r(1365);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},8143:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},8202:(e,t,r)=>{var n=r(2615);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}},4207:(e,t,r)=>{var n=r(7864);e.exports=function(e){return n(e,5)}},7578:e=>{e.exports=function(e){return function(){return e}}},4865:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5472:(e,t,r)=>{var n=r(7614);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},2497:(e,t,r)=>{var n=r(508),o=r(3027),i=Object.prototype.hasOwnProperty,s=o((function(e,t,r){i.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=s},4170:(e,t,r)=>{var n=r(9843),o=r(3587);e.exports=function(e,t){return null!=e&&o(e,t,n)}},672:e=>{e.exports=function(e){return e}},7632:(e,t,r)=>{var n=r(9618),o=r(9363),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},2615:e=>{var t=Array.isArray;e.exports=t},9174:(e,t,r)=>{var n=r(8911),o=r(2413);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},28:(e,t,r)=>{e=r.nmd(e);var n=r(3478),o=r(8338),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;e.exports=c},2164:(e,t,r)=>{var n=r(2706);e.exports=function(e,t){return n(e,t)}},8911:(e,t,r)=>{var n=r(2085),o=r(8603);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},2413:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8866:(e,t,r)=>{var n=r(7533),o=r(7888),i=r(6282),s=i&&i.isMap,a=s?o(s):n;e.exports=a},2452:(e,t,r)=>{var n=r(8116),o=r(8676);e.exports=function(e,t){return e===t||n(e,t,o(t))}},8603:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9363:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8523:(e,t,r)=>{var n=r(2085),o=r(6180),i=r(9363),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},6159:(e,t,r)=>{var n=r(6941),o=r(7888),i=r(6282),s=i&&i.isSet,a=s?o(s):n;e.exports=a},1365:(e,t,r)=>{var n=r(2085),o=r(9363);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},1653:(e,t,r)=>{var n=r(3677),o=r(7888),i=r(6282),s=i&&i.isTypedArray,a=s?o(s):n;e.exports=a},2749:(e,t,r)=>{var n=r(2932),o=r(8819),i=r(9174);e.exports=function(e){return i(e)?n(e):o(e)}},8530:(e,t,r)=>{var n=r(2932),o=r(2809),i=r(9174);e.exports=function(e){return i(e)?n(e,!0):o(e)}},7831:(e,t,r)=>{var n=r(508),o=r(4330),i=r(544);e.exports=function(e,t){var r={};return t=i(t,3),o(e,(function(e,o,i){n(r,o,t(e,o,i))})),r}},5167:(e,t,r)=>{var n=r(6484);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},7021:e=>{e.exports=function(){}},4272:(e,t,r)=>{var n=r(5898),o=r(9916),i=r(6955),s=r(9535);e.exports=function(e){return i(e)?n(s(e)):o(e)}},3234:(e,t,r)=>{var n=r(745),o=r(840),i=r(1494),s=r(659),a=i((function(e,t){if(null==e)return[];var r=t.length;return r>1&&s(e,t[0],t[1])?t=[]:r>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),o(e,n(t,1),[])}));e.exports=a},7918:e=>{e.exports=function(){return[]}},8338:e=>{e.exports=function(){return!1}},7115:(e,t,r)=>{var n=r(9134);e.exports=function(e){return null==e?"":n(e)}},6705:(e,t,r)=>{var n=r(2744);e.exports=function(e){return e&&e.length?n(e):[]}},9588:(e,t,r)=>{var n=r(7115),o=0;e.exports=function(e){var t=++o;return n(e)+t}},1781:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n={sep:"/"};try{n=r(4245)}catch(e){}var o=p.GLOBSTAR=h.GLOBSTAR={},i=r(70),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c="[^/]*?",u="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var l=/\/+/;function f(e,t){e=e||{},t=t||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function p(e,t,r){if("string"!=typeof t)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new h(t,r).match(e))}function h(e,t){if(!(this instanceof h))return new h(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==n.sep&&(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function d(e,t){if(t||(t=this instanceof h?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:i(e)}p.filter=function(e,t){return t=t||{},function(r,n,o){return p(r,e,t)}},p.defaults=function(e){if(!e||!Object.keys(e).length)return p;var t=p,r=function(r,n,o){return t.minimatch(r,n,f(e,o))};return r.Minimatch=function(r,n){return new t.Minimatch(r,f(e,n))},r},h.defaults=function(e){return e&&Object.keys(e).length?p.defaults(e).Minimatch:h},h.prototype.debug=function(){},h.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(l)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},h.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var o=0,i=e.length;o<i&&"!"===e.charAt(o);o++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return d(e,t)},h.prototype.braceExpand=d,h.prototype.parse=function(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===e)return o;if(""===e)return"";var n,i="",l=!!r.nocase,f=!1,p=[],h=[],d=!1,g=-1,y=-1,b="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function x(){if(n){switch(n){case"*":i+=c,l=!0;break;case"?":i+=a,l=!0;break;default:i+="\\"+n}m.debug("clearStateChar %j %j",n,i),n=!1}}for(var w,S=0,E=e.length;S<E&&(w=e.charAt(S));S++)if(this.debug("%s\t%s %s %j",e,S,i,w),f&&u[w])i+="\\"+w,f=!1;else switch(w){case"/":return!1;case"\\":x(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,S,i,w),d){this.debug(" in class"),"!"===w&&S===y+1&&(w="^"),i+=w;continue}m.debug("call clearStateChar %j",n),x(),n=w,r.noext&&x();continue;case"(":if(d){i+="(";continue}if(!n){i+="\\(";continue}p.push({type:n,start:S-1,reStart:i.length,open:s[n].open,close:s[n].close}),i+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,i),n=!1;continue;case")":if(d||!p.length){i+="\\)";continue}x(),l=!0;var T=p.pop();i+=T.close,"!"===T.type&&h.push(T),T.reEnd=i.length;continue;case"|":if(d||!p.length||f){i+="\\|",f=!1;continue}x(),i+="|";continue;case"[":if(x(),d){i+="\\"+w;continue}d=!0,y=S,g=i.length,i+=w;continue;case"]":if(S===y+1||!d){i+="\\"+w,f=!1;continue}if(d){var C=e.substring(y+1,S);try{RegExp("["+C+"]")}catch(e){var _=this.parse(C,v);i=i.substr(0,g)+"\\["+_[0]+"\\]",l=l||_[1],d=!1;continue}}l=!0,d=!1,i+=w;continue;default:x(),f?f=!1:!u[w]||"^"===w&&d||(i+="\\"),i+=w}d&&(C=e.substr(y+1),_=this.parse(C,v),i=i.substr(0,g)+"\\["+_[0],l=l||_[1]);for(T=p.pop();T;T=p.pop()){var O=i.slice(T.reStart+T.open.length);this.debug("setting tail",i,T),O=O.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",O,O,T,i);var A="*"===T.type?c:"?"===T.type?a:"\\"+T.type;l=!0,i=i.slice(0,T.reStart)+A+"\\("+O}x(),f&&(i+="\\\\");var P=!1;switch(i.charAt(0)){case".":case"[":case"(":P=!0}for(var k=h.length-1;k>-1;k--){var L=h[k],I=i.slice(0,L.reStart),R=i.slice(L.reStart,L.reEnd-8),N=i.slice(L.reEnd-8,L.reEnd),j=i.slice(L.reEnd);N+=j;var M=I.split("(").length-1,D=j;for(S=0;S<M;S++)D=D.replace(/\)[+*?]?/,"");var U="";""===(j=D)&&t!==v&&(U="$"),i=I+R+j+U+N}""!==i&&l&&(i="(?=.)"+i);P&&(i=b+i);if(t===v)return[i,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var F=r.nocase?"i":"";try{var B=new RegExp("^"+i+"$",F)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=i,B};var v={};p.makeRe=function(e,t){return new h(e,t||{}).makeRe()},h.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",i=e.map((function(e){return e.map((function(e){return e===o?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new h(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},h.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/"));e=e.split(l),this.debug(this.pattern,"split",e);var o,i,s=this.set;for(this.debug(this.pattern,"set",s),i=e.length-1;i>=0&&!(o=e[i]);i--);for(i=0;i<s.length;i++){var a=s[i],c=e;if(r.matchBase&&1===a.length&&(c=[o]),this.matchOne(c,a,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},h.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,s=0,a=e.length,c=t.length;i<a&&s<c;i++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[i];if(this.debug(t,l,f),!1===l)return!1;if(l===o){this.debug("GLOBSTAR",[t,l,f]);var p=i,h=s+1;if(h===c){for(this.debug("** at the end");i<a;i++)if("."===e[i]||".."===e[i]||!n.dot&&"."===e[i].charAt(0))return!1;return!0}for(;p<a;){var d=e[p];if(this.debug("\nglobstar while",e,p,t,h,d),this.matchOne(e.slice(p),t.slice(h),r))return this.debug("globstar found match!",p,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,p,t,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,h),p!==a))}if("string"==typeof l?(u=n.nocase?f.toLowerCase()===l.toLowerCase():f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(i===a&&s===c)return!0;if(i===a)return r;if(s===c)return i===a-1&&""===e[i];throw new Error("wtf?")}},4245:(e,t,r)=>{"use strict";var n=r(6591);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var r,n="",o=0,i=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(i===a-1||1===s);else if(i!==a-1&&2===s){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",o=0):o=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),i=a,s=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),o=a-i-1;i=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var s={resolve:function(){for(var e,t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var a;s>=0?a=arguments[s]:(void 0===e&&(e=n.cwd()),a=e),o(a),0!==a.length&&(t=a+"/"+t,r=47===a.charCodeAt(0))}return t=i(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];o(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=s.resolve(e))===(t=s.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,i=n-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,u=i<c?i:c,l=-1,f=0;f<=u;++f){if(f===u){if(c>u){if(47===t.charCodeAt(a+f))return t.slice(a+f+1);if(0===f)return t.slice(a+f)}else i>u&&(47===e.charCodeAt(r+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(r+f);if(p!==t.charCodeAt(a+f))break;47===p&&(l=f)}var h="";for(f=r+l+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(a+l):(a+=l,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!i){n=s;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var r,n=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!s){n=r+1;break}}else-1===c&&(s=!1,c=r+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(i=r):(a=-1,i=c))}return n===i?i=c:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else-1===i&&(s=!1,i=r+1);return-1===i?"":e.slice(n,i)},extname:function(e){o(e);for(var t=-1,r=0,n=-1,i=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===n&&(i=!1,n=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),i=47===n;i?(t.root="/",r=1):r=0;for(var s=-1,a=0,c=-1,u=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===s?s=l:1!==f&&(f=1):-1!==s&&(f=-1);else if(!u){a=l+1;break}return-1===s||-1===c||0===f||1===f&&s===c-1&&s===a+1?-1!==c&&(t.base=t.name=0===a&&i?e.slice(1,c):e.slice(a,c)):(0===a&&i?(t.name=e.slice(1,s),t.base=e.slice(1,c)):(t.name=e.slice(a,s),t.base=e.slice(a,c)),t.ext=e.slice(s,c)),a>0?t.dir=e.slice(0,a-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,e.exports=s},6591:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},518:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t,r,n){var o=e.call(this)||this;return o.parent=t,o.outerValue=r,o.outerIndex=n,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(5146).Subscriber);t.InnerSubscriber=i},3621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8445),o=r(7859),i=r(8516),s=r(6581),a=r(1279),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,i=o.toSubscriber(e,t,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),n.canReportError(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=u(t))((function(t,n){var o;o=r.subscribe((function(t){try{e(t)}catch(e){n(e),o&&o.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:s.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=u(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function u(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=c},1804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1279),o=r(6137);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;o.hostReportError(e)},complete:function(){}}},6451:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(5146).Subscriber);t.OuterSubscriber=i},5146:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(7261),s=r(1804),a=r(1786),c=r(2372),u=r(1279),l=r(6137),f=function(e){function t(r,n,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=s.empty;break;case 1:if(!r){i.destination=s.empty;break}if("object"==typeof r){r instanceof t?(i.syncErrorThrowable=r.syncErrorThrowable,i.destination=r,r.add(i)):(i.syncErrorThrowable=!0,i.destination=new p(i,r));break}default:i.syncErrorThrowable=!0,i.destination=new p(i,r,n,o)}return i}return o(t,e),t.prototype[c.rxSubscriber]=function(){return this},t.create=function(e,r,n){var o=new t(e,r,n);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.Subscription);t.Subscriber=f;var p=function(e){function t(t,r,n,o){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return i.isFunction(r)?a=r:r&&(a=r.next,n=r.error,o=r.complete,r!==s.empty&&(u=Object.create(r),i.isFunction(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=o,c}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):l.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;l.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw e;l.hostReportError(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return u.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(l.hostReportError(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(f);t.SafeSubscriber=p},1786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9235),o=r(2030),i=r(7261),s=r(2618),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,a=r._parentOrParents,u=r._ctorUnsubscribe,l=r._unsubscribe,f=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof e)a.remove(this);else if(null!==a)for(var p=0;p<a.length;++p){a[p].remove(this)}if(i.isFunction(l)){u&&(this._unsubscribe=void 0);try{l.call(this)}catch(e){t=e instanceof s.UnsubscriptionError?c(e.errors):[e]}}if(n.isArray(f)){p=-1;for(var h=f.length;++p<h;){var d=f[p];if(o.isObject(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof s.UnsubscriptionError?t=t.concat(c(e.errors)):t.push(e)}}}if(t)throw new s.UnsubscriptionError(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof e){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){return e.reduce((function(e,t){return e.concat(t instanceof s.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=a},1279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},8186:(e,t)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIterator=r,t.iterator=r(),t.$$iterator=t.iterator},8516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},2618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();t.UnsubscriptionError=r},8445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146);t.canReportError=function(e){for(;e;){var t=e,r=t.closed,o=t.destination,i=t.isStopped;if(r||i)return!1;e=o&&o instanceof n.Subscriber?o:null}return!0}},6137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},5082:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},9235:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},8975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},2030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},4328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},6581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5082);function o(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)},t.pipeFromArray=o},9346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2723),o=r(6386),i=r(5983),s=r(6588),a=r(8975),c=r(4328),u=r(2030),l=r(8186),f=r(8516);t.subscribeTo=function(e){if(e&&"function"==typeof e[f.observable])return s.subscribeToObservable(e);if(a.isArrayLike(e))return n.subscribeToArray(e);if(c.isPromise(e))return o.subscribeToPromise(e);if(e&&"function"==typeof e[l.iterator])return i.subscribeToIterable(e);var t=u.isObject(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},2723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToArray=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}}},5983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8186);t.subscribeToIterable=function(e){return function(t){for(var r=e[n.iterator]();;){var o=void 0;try{o=r.next()}catch(e){return t.error(e),t}if(o.done){t.complete();break}if(t.next(o.value),t.closed)break}return"function"==typeof r.return&&t.add((function(){r.return&&r.return()})),t}}},6588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8516);t.subscribeToObservable=function(e){return function(t){var r=e[n.observable]();if("function"!=typeof r.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(t)}}},6386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6137);t.subscribeToPromise=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,n.hostReportError),t}}},5478:(e,t,r)=>{"use strict";var n=r(518),o=r(9346),i=r(3621);t.D=function(e,t,r,s,a){if(void 0===a&&(a=new n.InnerSubscriber(e,r,s)),!a.closed)return t instanceof i.Observable?t.subscribe(a):o.subscribeTo(t)(a)}},7859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146),o=r(2372),i=r(1804);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[o.rxSubscriber])return e[o.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(i.empty)}},9997:(e,t)=>{"use strict";(function(e){e.Unidentified="Unidentified",e.Alt="Alt",e.AltGraph="AltGraph",e.CapsLock="CapsLock",e.Control="Control",e.Fn="Fn",e.FnLock="FnLock",e.Hyper="Hyper",e.Meta="Meta",e.NumLock="NumLock",e.ScrollLock="ScrollLock",e.Shift="Shift",e.Super="Super",e.Symbol="Symbol",e.SymbolLock="SymbolLock",e.Enter="Enter",e.Tab="Tab",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.ArrowUp="ArrowUp",e.End="End",e.Home="Home",e.PageDown="PageDown",e.PageUp="PageUp",e.Backspace="Backspace",e.Clear="Clear",e.Copy="Copy",e.CrSel="CrSel",e.Cut="Cut",e.Delete="Delete",e.EraseEof="EraseEof",e.ExSel="ExSel",e.Insert="Insert",e.Paste="Paste",e.Redo="Redo",e.Undo="Undo",e.Accept="Accept",e.Again="Again",e.Attn="Attn",e.Cancel="Cancel",e.ContextMenu="ContextMenu",e.Escape="Escape",e.Execute="Execute",e.Find="Find",e.Finish="Finish",e.Help="Help",e.Pause="Pause",e.Play="Play",e.Props="Props",e.Select="Select",e.ZoomIn="ZoomIn",e.ZoomOut="ZoomOut",e.BrightnessDown="BrightnessDown",e.BrightnessUp="BrightnessUp",e.Eject="Eject",e.LogOff="LogOff",e.Power="Power",e.PowerOff="PowerOff",e.PrintScreen="PrintScreen",e.Hibernate="Hibernate",e.Standby="Standby",e.WakeUp="WakeUp",e.AllCandidates="AllCandidates",e.Alphanumeric="Alphanumeric",e.CodeInput="CodeInput",e.Compose="Compose",e.Convert="Convert",e.Dead="Dead",e.FinalMode="FinalMode",e.GroupFirst="GroupFirst",e.GroupLast="GroupLast",e.GroupNext="GroupNext",e.GroupPrevious="GroupPrevious",e.ModeChange="ModeChange",e.NextCandidate="NextCandidate",e.NonConvert="NonConvert",e.PreviousCandidate="PreviousCandidate",e.Process="Process",e.SingleCandidate="SingleCandidate",e.HangulMode="HangulMode",e.HanjaMode="HanjaMode",e.JunjaMode="JunjaMode",e.Eisu="Eisu",e.Hankaku="Hankaku",e.Hiragana="Hiragana",e.HiraganaKatakana="HiraganaKatakana",e.KanaMode="KanaMode",e.KanjiMode="KanjiMode",e.Katakana="Katakana",e.Romaji="Romaji",e.Zenkaku="Zenkaku",e.ZenkakuHanaku="ZenkakuHanaku",e.F1="F1",e.F2="F2",e.F3="F3",e.F4="F4",e.F5="F5",e.F6="F6",e.F7="F7",e.F8="F8",e.F9="F9",e.F10="F10",e.F11="F11",e.F12="F12",e.F13="F13",e.F14="F14",e.F15="F15",e.F16="F16",e.F17="F17",e.F18="F18",e.F19="F19",e.F20="F20",e.Soft1="Soft1",e.Soft2="Soft2",e.Soft3="Soft3",e.Soft4="Soft4",e.AppSwitch="AppSwitch",e.Call="Call",e.Camera="Camera",e.CameraFocus="CameraFocus",e.EndCall="EndCall",e.GoBack="GoBack",e.GoHome="GoHome",e.HeadsetHook="HeadsetHook",e.LastNumberRedial="LastNumberRedial",e.Notification="Notification",e.MannerMode="MannerMode",e.VoiceDial="VoiceDial",e.ChannelDown="ChannelDown",e.ChannelUp="ChannelUp",e.MediaFastForward="MediaFastForward",e.MediaPause="MediaPause",e.MediaPlay="MediaPlay",e.MediaPlayPause="MediaPlayPause",e.MediaRecord="MediaRecord",e.MediaRewind="MediaRewind",e.MediaStop="MediaStop",e.MediaTrackNext="MediaTrackNext",e.MediaTrackPrevious="MediaTrackPrevious",e.AudioBalanceLeft="AudioBalanceLeft",e.AudioBalanceRight="AudioBalanceRight",e.AudioBassDown="AudioBassDown",e.AudioBassBoostDown="AudioBassBoostDown",e.AudioBassBoostToggle="AudioBassBoostToggle",e.AudioBassBoostUp="AudioBassBoostUp",e.AudioBassUp="AudioBassUp",e.AudioFaderFront="AudioFaderFront",e.AudioFaderRear="AudioFaderRear",e.AudioSurroundModeNext="AudioSurroundModeNext",e.AudioTrebleDown="AudioTrebleDown",e.AudioTrebleUp="AudioTrebleUp",e.AudioVolumeDown="AudioVolumeDown",e.AudioVolumeMute="AudioVolumeMute",e.AudioVolumeUp="AudioVolumeUp",e.MicrophoneToggle="MicrophoneToggle",e.MicrophoneVolumeDown="MicrophoneVolumeDown",e.MicrophoneVolumeMute="MicrophoneVolumeMute",e.MicrophoneVolumeUp="MicrophoneVolumeUp",e.TV="TV",e.TV3DMode="TV3DMode",e.TVAntennaCable="TVAntennaCable",e.TVAudioDescription="TVAudioDescription",e.TVAudioDescriptionMixDown="TVAudioDescriptionMixDown",e.TVAudioDescriptionMixUp="TVAudioDescriptionMixUp",e.TVContentsMenu="TVContentsMenu",e.TVDataService="TVDataService",e.TVInput="TVInput",e.TVInputComponent1="TVInputComponent1",e.TVInputComponent2="TVInputComponent2",e.TVInputComposite1="TVInputComposite1",e.TVInputComposite2="TVInputComposite2",e.TVInputHDMI1="TVInputHDMI1",e.TVInputHDMI2="TVInputHDMI2",e.TVInputHDMI3="TVInputHDMI3",e.TVInputHDMI4="TVInputHDMI4",e.TVInputVGA1="TVInputVGA1",e.TVMediaContext="TVMediaContext",e.TVNetwork="TVNetwork",e.TVNumberEntry="TVNumberEntry",e.TVPower="TVPower",e.TVRadioService="TVRadioService",e.TVSatellite="TVSatellite",e.TVSatelliteBS="TVSatelliteBS",e.TVSatelliteCS="TVSatelliteCS",e.TVSatelliteToggle="TVSatelliteToggle",e.TVTerrestrialAnalog="TVTerrestrialAnalog",e.TVTerrestrialDigital="TVTerrestrialDigital",e.TVTimer="TVTimer",e.AVRInput="AVRInput",e.AVRPower="AVRPower",e.ColorF0Red="ColorF0Red",e.ColorF1Green="ColorF1Green",e.ColorF2Yellow="ColorF2Yellow",e.ColorF3Blue="ColorF3Blue",e.ColorF4Grey="ColorF4Grey",e.ColorF5Brown="ColorF5Brown",e.ClosedCaptionToggle="ClosedCaptionToggle",e.Dimmer="Dimmer",e.DisplaySwap="DisplaySwap",e.DVR="DVR",e.Exit="Exit",e.FavoriteClear0="FavoriteClear0",e.FavoriteClear1="FavoriteClear1",e.FavoriteClear2="FavoriteClear2",e.FavoriteClear3="FavoriteClear3",e.FavoriteRecall0="FavoriteRecall0",e.FavoriteRecall1="FavoriteRecall1",e.FavoriteRecall2="FavoriteRecall2",e.FavoriteRecall3="FavoriteRecall3",e.FavoriteStore0="FavoriteStore0",e.FavoriteStore1="FavoriteStore1",e.FavoriteStore2="FavoriteStore2",e.FavoriteStore3="FavoriteStore3",e.Guide="Guide",e.GuideNextDay="GuideNextDay",e.GuidePreviousDay="GuidePreviousDay",e.Info="Info",e.InstantReplay="InstantReplay",e.Link="Link",e.ListProgram="ListProgram",e.LiveContent="LiveContent",e.Lock="Lock",e.MediaApps="MediaApps",e.MediaAudioTrack="MediaAudioTrack",e.MediaLast="MediaLast",e.MediaSkipBackward="MediaSkipBackward",e.MediaSkipForward="MediaSkipForward",e.MediaStepBackward="MediaStepBackward",e.MediaStepForward="MediaStepForward",e.MediaTopMenu="MediaTopMenu",e.NavigateIn="NavigateIn",e.NavigateNext="NavigateNext",e.NavigateOut="NavigateOut",e.NavigatePrevious="NavigatePrevious",e.NextFavoriteChannel="NextFavoriteChannel",e.NextUserProfile="NextUserProfile",e.OnDemand="OnDemand",e.Pairing="Pairing",e.PinPDown="PinPDown",e.PinPMove="PinPMove",e.PinPToggle="PinPToggle",e.PinPUp="PinPUp",e.PlaySpeedDown="PlaySpeedDown",e.PlaySpeedReset="PlaySpeedReset",e.PlaySpeedUp="PlaySpeedUp",e.RandomToggle="RandomToggle",e.RcLowBattery="RcLowBattery",e.RecordSpeedNext="RecordSpeedNext",e.RfBypass="RfBypass",e.ScanChannelsToggle="ScanChannelsToggle",e.ScreenModeNext="ScreenModeNext",e.Settings="Settings",e.SplitScreenToggle="SplitScreenToggle",e.STBInput="STBInput",e.STBPower="STBPower",e.Subtitle="Subtitle",e.Teletext="Teletext",e.VideoModeNext="VideoModeNext",e.Wink="Wink",e.ZoomToggle="ZoomToggle",e.SpeechCorrectionList="SpeechCorrectionList",e.SpeechInputToggle="SpeechInputToggle",e.Close="Close",e.New="New",e.Open="Open",e.Print="Print",e.Save="Save",e.SpellCheck="SpellCheck",e.MailForward="MailForward",e.MailReply="MailReply",e.MailSend="MailSend",e.LaunchCalculator="LaunchCalculator",e.LaunchCalendar="LaunchCalendar",e.LaunchContacts="LaunchContacts",e.LaunchMail="LaunchMail",e.LaunchMediaPlayer="LaunchMediaPlayer",e.LaunchMusicPlayer="LaunchMusicPlayer",e.LaunchMyComputer="LaunchMyComputer",e.LaunchPhone="LaunchPhone",e.LaunchScreenSaver="LaunchScreenSaver",e.LaunchSpreadsheet="LaunchSpreadsheet",e.LaunchWebBrowser="LaunchWebBrowser",e.LaunchWebCam="LaunchWebCam",e.LaunchWordProcessor="LaunchWordProcessor",e.LaunchApplication1="LaunchApplication1",e.LaunchApplication2="LaunchApplication2",e.LaunchApplication3="LaunchApplication3",e.LaunchApplication4="LaunchApplication4",e.LaunchApplication5="LaunchApplication5",e.LaunchApplication6="LaunchApplication6",e.LaunchApplication7="LaunchApplication7",e.LaunchApplication8="LaunchApplication8",e.LaunchApplication9="LaunchApplication9",e.LaunchApplication10="LaunchApplication10",e.LaunchApplication11="LaunchApplication11",e.LaunchApplication12="LaunchApplication12",e.LaunchApplication13="LaunchApplication13",e.LaunchApplication14="LaunchApplication14",e.LaunchApplication15="LaunchApplication15",e.LaunchApplication16="LaunchApplication16",e.BrowserBack="BrowserBack",e.BrowserFavorites="BrowserFavorites",e.BrowserForward="BrowserForward",e.BrowserHome="BrowserHome",e.BrowserRefresh="BrowserRefresh",e.BrowserSearch="BrowserSearch",e.BrowserStop="BrowserStop",e.Decimal="Decimal",e.Key11="Key11",e.Key12="Key12",e.Multiply="Multiply",e.Add="Add",e.Divide="Divide",e.Subtract="Subtract",e.Separator="Separator"})(t.s||(t.s={}))}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=r(942);r.n(e)()({usePolyfill:["URL","URLSearchParams"]});r(5287),r(9227),r(8328),r(2588);var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,r)};function n(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function o(e){return"function"==typeof e}var i=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout((function(){throw e}),0)}var c={closed:!0,next:function(e){},error:function(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},u=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function l(e){return null!==e&&"object"==typeof e}var f=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),p=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,s=r._unsubscribe,a=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c){n[c].remove(this)}if(o(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(e){t=e instanceof f?h(e.errors):[e]}}if(u(a)){c=-1;for(var p=a.length;++c<p;){var d=a[c];if(l(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof f?t=t.concat(h(e.errors)):t.push(e)}}}if(t)throw new f(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof e){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function h(e){return e.reduce((function(e,t){return e.concat(t instanceof f?t.errors:t)}),[])}var d=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(e){function t(r,n,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=c;break;case 1:if(!r){i.destination=c;break}if("object"==typeof r){r instanceof t?(i.syncErrorThrowable=r.syncErrorThrowable,i.destination=r,r.add(i)):(i.syncErrorThrowable=!0,i.destination=new g(i,r));break}default:i.syncErrorThrowable=!0,i.destination=new g(i,r,n,o)}return i}return n(t,e),t.prototype[d]=function(){return this},t.create=function(e,r,n){var o=new t(e,r,n);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(p),g=function(e){function t(t,r,n,i){var s,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return o(r)?s=r:r&&(s=r.next,n=r.error,i=r.complete,r!==c&&(o((u=Object.create(r)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=s,a._error=n,a._complete=i,a}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=s.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;a(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw e;a(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(a(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(v);var y=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function b(e){return e}function m(e){return 0===e.length?b:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var x=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,o=function(e,t,r){if(e){if(e instanceof v)return e;if(e[d])return e[d]()}return e||t||r?new v(e,t,r):new v(c)}(e,t,r);if(n?o.add(n.call(o,this.source)):o.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,r=t.closed,n=t.destination,o=t.isStopped;if(r||o)return!1;e=n&&n instanceof v?n:null}return!0}(e)?console.warn(t):e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=w(t))((function(t,n){var o;o=r.subscribe((function(t){try{e(t)}catch(e){n(e),o&&o.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[y]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:m(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=w(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function w(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function S(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new E(e,t))}}var E=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new T(e,this.project,this.thisArg))},e}(),T=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.project=r,o.count=0,o.thisArg=n||o,o}return n(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v);function C(e,t,r,n){return o(r)&&(n=r,r=void 0),n?C(e,t,r).pipe(S((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new x((function(n){_(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function _(e,t,r,n,o){var i;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,o),i=function(){return s.removeEventListener(t,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),i=function(){return a.off(t,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var c=e;e.addListener(t,r),i=function(){return c.removeListener(t,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,l=e.length;u<l;u++)_(e[u],t,r,n,o)}n.add(i)}var O=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),A=new x((function(e){return e.complete()}));function P(e){return e?function(e){return new x((function(t){return e.schedule((function(){return t.complete()}))}))}(e):A}var k=function(){function e(e){if(this.total=e,this.total<0)throw new O}return e.prototype.call=function(e,t){return t.subscribe(new L(e,this.total))},e}(),L=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(v),I=r(8603),R=r.n(I);const N=e=>null!=e,j=e=>t=>t===e,M=e=>t=>!e(t),D=e=>t=>e in t,U=(e,t)=>r=>t(r[e]);function F(...e){return t=>e.every((e=>e(t)))}const B=e=>R()(e)&&D("addEventListener")(e)&&D("removeEventListener")(e)&&D("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var V=r(2452),G=r.n(V);const H=Symbol("Comlink.proxy"),$=Symbol("Comlink.endpoint"),K=Symbol("Comlink.releaseProxy"),W=Symbol("Comlink.thrown"),J=e=>"object"==typeof e&&null!==e||"function"==typeof e,z=new Map([["proxy",{canHandle:e=>J(e)&&e[H],serialize(e){const{port1:t,port2:r}=new MessageChannel;return q(e,t),[r,[r]]},deserialize:e=>(e.start(),Q(e))}],["throw",{canHandle:e=>J(e)&&W in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function q(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:o,type:i,path:s}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(oe);let c;try{const t=s.slice(0,-1).reduce(((e,t)=>e[t]),e),r=s.reduce(((e,t)=>e[t]),e);switch(i){case 0:c=r;break;case 1:t[s.slice(-1)[0]]=oe(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=re(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;q(e,r),c=function(e,t){return te.set(e,t),e}(t,[t])}break;case 5:c=void 0}}catch(e){c={value:e,[W]:0}}Promise.resolve(c).catch((e=>({value:e,[W]:0}))).then((e=>{const[n,s]=ne(e);t.postMessage(Object.assign(Object.assign({},n),{id:o}),s),5===i&&(t.removeEventListener("message",r),Y(t))}))})),t.start&&t.start()}function Y(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function Q(e,t){return Z(e,[],t)}function X(e){if(e)throw new Error("Proxy has been released and is not useable")}function Z(e,t=[],r=function(){}){let n=!1;const o=new Proxy(r,{get(r,i){if(X(n),i===K)return()=>ie(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{Y(e),n=!0}));if("then"===i){if(0===t.length)return{then:()=>o};const r=ie(e,{type:0,path:t.map((e=>e.toString()))}).then(oe);return r.then.bind(r)}return Z(e,[...t,i])},set(r,o,i){X(n);const[s,a]=ne(i);return ie(e,{type:1,path:[...t,o].map((e=>e.toString())),value:s},a).then(oe)},apply(r,o,i){X(n);const s=t[t.length-1];if(s===$)return ie(e,{type:4}).then(oe);if("bind"===s)return Z(e,t.slice(0,-1));const[a,c]=ee(i);return ie(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(oe)},construct(r,o){X(n);const[i,s]=ee(o);return ie(e,{type:3,path:t.map((e=>e.toString())),argumentList:i},s).then(oe)}});return o}function ee(e){const t=e.map(ne);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const te=new WeakMap;function re(e){return Object.assign(e,{[H]:!0})}function ne(e){for(const[t,r]of z)if(r.canHandle(e)){const[n,o]=r.serialize(e);return[{type:3,name:t,value:n},o]}return[{type:0,value:e},te.get(e)||[]]}function oe(e){switch(e.type){case 3:return z.get(e.name).deserialize(e.value);case 0:return e.value}}function ie(e,t,r){return new Promise((n=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===o&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),r)}))}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ae=e=>"object"==typeof e&&null!==e&&D("href")(e)&&D("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const ce=e=>new p((async()=>{const t=await e;await t.unsubscribe(),t[K]()})),ue=e=>"object"==typeof e&&null!==e&&D("then")(e)&&"function"==typeof e.then;class le extends Error{constructor(...e){super(...e),se(this,"name","AbortError"),se(this,"message","Aborted")}}var fe=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),pe=function(e){function t(t,r){var n=e.call(this)||this;return n.subject=t,n.subscriber=r,n.closed=!1,n}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(p),he=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),de=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n(t,e),t.prototype[d]=function(){return new he(this)},t.prototype.lift=function(e){var t=new ve(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new fe;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),o=0;o<r;o++)n[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new fe;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),o=0;o<r;o++)n[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new fe;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new fe;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new fe;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new pe(this,e))},t.prototype.asObservable=function(){var e=new x;return e.source=this,e},t.create=function(e,t){return new ve(e,t)},t}(x),ve=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):p.EMPTY},t}(de),ge=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new fe;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(de);function ye(e){return e&&"function"==typeof e.schedule}var be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(v),me=function(e){function t(t,r,n){var o=e.call(this)||this;return o.parent=t,o.outerValue=r,o.outerIndex=n,o.index=0,o}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(v),xe=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function we(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Se=we(),Ee=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Te(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Ce=function(e){if(e&&"function"==typeof e[y])return n=e,function(e){var t=n[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Ee(e))return xe(e);if(Te(e))return r=e,function(e){return r.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[Se])return t=e,function(e){for(var r=t[Se]();;){var n=void 0;try{n=r.next()}catch(t){return e.error(t),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof r.return&&e.add((function(){r.return&&r.return()})),e};var t,r,n,o=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+o+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function _e(e,t,r,n,o){if(void 0===o&&(o=new me(e,r,n)),!o.closed)return t instanceof x?t.subscribe(o):Ce(t)(o)}function Oe(e,t){return new x((function(r){var n=new p,o=0;return n.add(t.schedule((function(){o!==e.length?(r.next(e[o++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function Ae(e,t){return t?Oe(e,t):new x(xe(e))}var Pe={};function ke(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return ye(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&u(e[0])&&(e=e[0]),Ae(e,n).lift(new Le(r))}var Le=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ie(e,this.resultSelector))},e}(),Ie=function(e){function t(t,r){var n=e.call(this,t)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n(t,e),t.prototype._next=function(e){this.values.push(Pe),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(_e(this,n,void 0,r))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r){var n=this.values,o=n[r],i=this.toRespond?o===Pe?--this.toRespond:this.toRespond:0;n[r]=t,0===i&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(be);function Re(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new x((function(r){var n=new p;return n.add(t.schedule((function(){var o=e[y]();n.add(o.subscribe({next:function(e){n.add(t.schedule((function(){return r.next(e)})))},error:function(e){n.add(t.schedule((function(){return r.error(e)})))},complete:function(){n.add(t.schedule((function(){return r.complete()})))}}))}))),n}))}(e,t);if(Te(e))return function(e,t){return new x((function(r){var n=new p;return n.add(t.schedule((function(){return e.then((function(e){n.add(t.schedule((function(){r.next(e),n.add(t.schedule((function(){return r.complete()})))})))}),(function(e){n.add(t.schedule((function(){return r.error(e)})))}))}))),n}))}(e,t);if(Ee(e))return Oe(e,t);if(function(e){return e&&"function"==typeof e[Se]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new x((function(r){var n,o=new p;return o.add((function(){n&&"function"==typeof n.return&&n.return()})),o.add(t.schedule((function(){n=e[Se](),o.add(t.schedule((function(){if(!r.closed){var e,t;try{var o=n.next();e=o.value,t=o.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),o}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Ne(e,t){return t?Re(e,t):e instanceof x?e:new x(Ce(e))}function je(){}function Me(e,t,r){return function(n){return n.lift(new De(e,t,r))}}var De=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new Ue(e,this.nextOrObserver,this.error,this.complete))},e}(),Ue=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s._tapNext=je,s._tapError=je,s._tapComplete=je,s._tapError=n||je,s._tapComplete=i||je,o(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||je,s._tapError=r.error||je,s._tapComplete=r.complete||je),s}return n(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(v);function Fe(e,t){return function(r){return r.lift(new Be(e,t))}}var Be=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Ve(e,this.compare,this.keySelector))},e}(),Ve=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.keySelector=n,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return n(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},t}(v),Ge=function(e){function t(t){var r=e.call(this)||this;return r.parent=t,r}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(v),He=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(v);function $e(e,t){if(!t.closed)return e instanceof x?e.subscribe(t):Ce(e)(t)}function Ke(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(Ke((function(r,n){return Ne(e(r,n)).pipe(S((function(e,o){return t(r,e,n,o)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new We(e,r))})}var We=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new Je(e,this.project,this.concurrent))},e}(),Je=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=r,o.concurrent=n,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return n(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new Ge(this),r=this.destination;r.add(t);var n=$e(e,t);n!==t&&r.add(n)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(He);function ze(e){return function(t){var r=new qe(e),n=t.lift(r);return r.caught=n}}var qe=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ye(e,this.selector,this.caught))},e}(),Ye=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.selector=r,o.caught=n,o}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new Ge(this);this.add(n);var o=$e(r,n);o!==n&&this.add(o)}},t}(He);const Qe=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e),Xe=e=>e instanceof Error?e:Qe(e)?Object.assign(new Error(e.message),e):new Error(String(e));r(8523);new Set(["blue","yellow","orange","pink","red","purple","green","grey"]);r(5031);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Ze(e,t){if(!Qe(e.subjects)&&e.subjects){const n=e.subjects.find((e=>e.subject.__typename===t));var r;if(n&&!Qe(n.settings))return null===(r=n.settings)||void 0===r?void 0:r.extensions}}var et,tt=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,r){return e.call(this)||this}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(p)),rt=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(tt),nt=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=function(){return Date.now()},e}(),ot=function(e){function t(r,n){void 0===n&&(n=nt.now);var o=e.call(this,r,(function(){return t.delegate&&t.delegate!==o?t.delegate.now():n()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return n(t,e),t.prototype.schedule=function(r,n,o){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,o):e.prototype.schedule.call(this,r,n,o)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(nt),it=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(ot))(rt);function st(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ye(r)?(e.pop(),Oe(e,r)):Ae(e)}function at(e,t){return new x(t?function(r){return t.schedule(ct,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function ct(e){var t=e.error;e.subscriber.error(t)}et||(et={});var ut=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){switch(this.kind){case"N":return st(this.value);case"E":return at(this.error);case"C":return P()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var lt=function(e){function t(t,r,n){void 0===n&&(n=0);var o=e.call(this,t)||this;return o.scheduler=r,o.delay=n,o}return n(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new ft(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(ut.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(ut.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(ut.createComplete()),this.unsubscribe()},t}(v),ft=function(){return function(e,t){this.notification=e,this.destination=t}}(),pt=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this)||this;return o.scheduler=n,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=t<1?1:t,o._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return n(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var r=this._events;r.push(t),r.length>this._bufferSize&&r.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new ht(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=n.length;if(this.closed)throw new fe;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new pe(this,e)),o&&e.add(e=new lt(e,o)),r)for(var s=0;s<i&&!e.closed;s++)e.next(n[s]);else for(s=0;s<i&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||it).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,o=n.length,i=0;i<o&&!(e-n[i].time<r);)i++;return o>t&&(i=Math.max(i,o-t)),i>0&&n.splice(0,i),n},t}(de),ht=function(){return function(e,t){this.time=e,this.value=t}}();function dt(){return function(e){return e.lift(new vt(e))}}var vt=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new gt(e,r),o=t.subscribe(n);return n.closed||(n.connection=r.connect()),o},e}(),gt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(v),yt=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new p).add(this.source.subscribe(new mt(this.getSubject(),this))),e.closed&&(this._connection=null,e=p.EMPTY)),e},t.prototype.refCount=function(){return dt()(this)},t}(x),bt=function(){var e=yt.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),mt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(he);var xt=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),o=r(n).subscribe(e);return o.add(t.subscribe(n)),o},e}();function wt(e,t,r,n){r&&"function"!=typeof r&&(n=r);var o="function"==typeof r?r:void 0,i=new pt(e,t,n);return function(e){return function(e,t){return function(r){var n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new xt(n,t));var o=Object.create(r,bt);return o.source=r,o.subjectFactory=n,o}}((function(){return i}),o)(e)}}let St=0;var Et=r(7021),Tt=r.n(Et);class Ct extends p{constructor(e){super((()=>{e[K]()}))}}const _t=(e,t)=>{const r=new p;t&&t.add(r);const n=Ne(ue(e)?e:Promise.resolve(e)).pipe(Ke((e=>(r.add(new Ct(e)),{[y](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[H]:!0,next:t[0]||Tt(),error:t[1]?e=>t[1](Xe(e)):Tt(),complete:t[2]||Tt()};else{const e=t[0]||{};r={[H]:!0,next:e.next?t=>e.next(t):Tt(),error:e.error?t=>e.error(Xe(t)):Tt(),complete:e.complete?()=>e.complete():Tt()}}return ce(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Ot=r(7831),At=r.n(Ot);function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let kt;!function(e){e[e.Operator=0]="Operator",e[e.Identifier=1]="Identifier",e[e.String=2]="String",e[e.TemplateHead=3]="TemplateHead",e[e.TemplateMiddle=4]="TemplateMiddle",e[e.TemplateTail=5]="TemplateTail",e[e.NoSubstitutionTemplate=6]="NoSubstitutionTemplate",e[e.Number=7]="Number"}(kt||(kt={}));const Lt={"&":{"&":!0},"|":{"|":!0},"=":{"\0":!0,"=":{"\0":!0,"=":!0}},"!":{"\0":!0,"=":{"\0":!0,"=":!0}},"<":{"\0":!0,"=":!0},">":{"\0":!0,"=":!0},"^":!0,"}":!0,"(":!0,")":!0,",":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0};function It(e){return"\t"===e||" "===e||"\xa0"===e}function Rt(e){return e>="0"&&e<="9"}function Nt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function jt(e){return Nt(e)||Rt(e)||"."===e}class Mt{constructor(){Pt(this,"expression",""),Pt(this,"length",0),Pt(this,"_index",0),Pt(this,"marker",0),Pt(this,"curlyStack",0)}get index(){return this._index}reset(e){this.expression=e,this.length=e.length,this._index=0,this.curlyStack=0}next(){if(this.skipSpaces(),this._index>=this.length)return;this.marker=this._index;const e=this.scanNext();if(void 0!==e)return e;throw new SyntaxError(`Unexpected character ${JSON.stringify(this.peekNextChar())} (at ${this.index})`)}peek(){const e=this._index,t=this.curlyStack;let r;try{r=this.next()}catch{r=void 0}if(this._index=e,this.curlyStack=t,r)return{type:r.type,value:r.value}}scanNext(){let e=this.scanString();return void 0!==e?e:(e=this.scanTemplate(),void 0!==e?e:(e=this.scanNumber(),void 0!==e?e:(e=this.scanOperator(),void 0!==e?e:(e=this.scanIdentifier(),void 0!==e?e:void 0))))}peekNextChar(e=0){const t=this._index+e;return t<this.length?this.expression.charAt(t):"\0"}getNextChar(){let e="\0";const t=this._index;return t<this.length&&(e=this.expression.charAt(t),this._index+=1),e}createToken(e,t){return{type:e,value:t,start:this.marker,end:this._index}}skipSpaces(){for(;this._index<this.length;){if(!It(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=Lt,t="";for(;e&&!0!==e;){const r=this.peekNextChar();e=e[r],e&&(t+=r,this.getNextChar())}if("}"===t&&this.curlyStack--,""!==t)return this.createToken(kt.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Nt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),jt(e);)t+=this.getNextChar();return this.createToken(kt.Identifier,t)}scanString(){const e=this.peekNextChar();if("'"!==e&&'"'!==e)return;this.getNextChar();let t=!1,r="";for(;this._index<this.length;){const n=this.getNextChar();if(n===e){t=!0;break}r+="\\"===n?Ut(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(kt.String,r)}scanTemplate(){const e=this.peekNextChar();if(!("`"===e||"}"===e&&this.curlyStack>0))return;this.getNextChar();const t="`"===e;return this.doScanTemplate(t)}backtick(){return!0}doScanTemplate(e){let t,r=!1,n=!1,o=!1,i="";for(;this._index<this.length;){const e=this.getNextChar();if("`"===e&&this.backtick()){r=!0,n=!0;break}if("\\"===e)i+=Ut(this.getNextChar());else{if("$"===e){if("{"===this.peekNextChar()){this.curlyStack++,this.getNextChar(),n=!0,o=!0;break}}i+=e}}if(e||this.curlyStack--,this.backtick()){if(!n)throw new Error(`Unterminated template literal (at ${this.index})`)}else this._index===this.length&&(r=!0);return t=e&&n&&!o?kt.NoSubstitutionTemplate:e?kt.TemplateHead:r?kt.TemplateTail:kt.TemplateMiddle,this.createToken(t,i)}scanNumber(){let e=this.peekNextChar();if(!Rt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),Rt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),Rt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!Rt(e))throw e=`character ${JSON.stringify(e)}`,this._index>=this.length&&(e="<end>"),new SyntaxError(`Unexpected ${e} after the exponent sign (at ${this.index})`);for(t+=this.getNextChar();e=this.peekNextChar(),Rt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(kt.Number,t)}}class Dt extends Mt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Ut(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Ft{parse(e){this.lexer||(this.lexer=new Mt),this.lexer.reset(e);const t=this.parseExpression(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}parseArgumentList(){const e=[];for(;;){const t=this.parseExpression();if(void 0===t)throw new Error(`Parse error on token in arguments list: ${JSON.stringify(this.lexer.peek())} (at ${this.lexer.index})`);e.push(t);if(!Vt(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!Vt(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=Vt(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!Vt(t,")"))throw new SyntaxError(`Expected ")" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);return{FunctionCall:{name:e,args:r}}}parseTemplateParts(){const e=[];for(;;){const t=this.lexer.peek();if(!t)break;if(t.type===kt.TemplateTail){t.value&&e.push({Literal:{type:kt.String,value:t.value}}),this.lexer.next();break}Vt(t,"}")?this.lexer.next():t.type===kt.TemplateMiddle?(t.value&&e.push({Literal:{type:kt.String,value:t.value}}),this.lexer.next()):e.push(this.parseExpression())}return e}parseTemplate(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression at beginning of template (at ${this.lexer.index})`);if(e.type===kt.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:kt.String,value:e.value}};if(e.type===kt.TemplateHead||e.type===kt.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:kt.String,value:e.value}}),{Template:{parts:t}}}throw new SyntaxError(`Unexpected token at beginning of template: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parsePrimary(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression (at ${this.lexer.index})`);if(e.type===kt.Identifier)return this.lexer.next(),Vt(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===kt.String||e.type===kt.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===kt.NoSubstitutionTemplate||e.type===kt.TemplateHead||e.type===kt.TemplateMiddle)return this.parseTemplate();if(Vt(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!Vt(this.lexer.next(),")"))throw new SyntaxError(`Expected ")" (at ${this.lexer.index})`);return e}throw new SyntaxError(`Parse error on token: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parseUnary(){const e=this.lexer.peek();if(void 0!==e&&(Vt(e,"-")||Vt(e,"+")||Vt(e,"!"))){this.lexer.next();const t=this.parseUnary();return{Unary:{operator:e.value,expression:t}}}return this.parsePrimary()}parseMultiplicative(){let e=this.parseUnary(),t=this.lexer.peek();for(;void 0!==t&&(Vt(t,"*")||Vt(t,"/")||Vt(t,"%"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseUnary()}},t=this.lexer.peek();return e}parseAdditive(){let e=this.parseMultiplicative(),t=this.lexer.peek();for(;void 0!==t&&(Vt(t,"+")||Vt(t,"-")||Vt(t,"==")||Vt(t,"!=")||Vt(t,"===")||Vt(t,"!==")||Vt(t,"<")||Vt(t,">")||Vt(t,"<=")||Vt(t,">=")||Vt(t,"&&")||Vt(t,"||"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseMultiplicative()}},t=this.lexer.peek();return e}parseExpression(){return this.parseAdditive()}}class Bt extends Ft{parse(e){this.lexer||(this.lexer=new Dt),this.lexer.reset(e);const t=this.parseTemplate(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of template input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}}function Vt(e,t){return void 0!==e&&e.type===kt.Operator&&e.value===t}class Gt{constructor(e){this.root=e}exec(e){return Jt(this.root,e)}}class Ht extends Gt{}function $t(e){return new Gt((new Ft).parse(e))}function Kt(e){return new Ht((new Bt).parse(e))}const Wt={get:(e,t)=>{var r;return null!==(r=null==e?void 0:e[t])&&void 0!==r?r:void 0},json:e=>JSON.stringify(e)};function Jt(e,t){if("Literal"in e)switch(e.Literal.type){case kt.String:return e.Literal.value;case kt.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${kt[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(Jt(n,t));return r.join("")}if("Binary"in e){const r=Jt(e.Binary.left,t),n=()=>Jt(e.Binary.right,t);switch(e.Binary.operator){case"&&":return r&&n();case"||":return r||n();case"==":return r==n();case"!=":return r!=n();case"===":return r===n();case"!==":return r!==n();case"<":return r<n();case">":return r>n();case"<=":return r<=n();case">=":return r>=n();case"+":return r+n();case"-":return r-n();case"*":return r*n();case"/":return r/n();case"^":return r^n();case"%":return r%n();default:throw new SyntaxError(`Invalid operator: ${e.Binary.operator}`)}}if("Unary"in e){const r=Jt(e.Unary.expression,t);switch(e.Unary.operator){case"!":return!r;case"+":return r;case"-":return-r;default:throw new SyntaxError(`Invalid operator: ${e.Unary.operator}`)}}if("Identifier"in e){switch(e.Identifier){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"context":return t}return t[e.Identifier]}if("FunctionCall"in e){const r=e.FunctionCall,n=Wt[r.name];if("function"==typeof n){return n(...r.args.map((e=>Jt(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function zt(e){if(0===e.length)return{};if(1===e.length)return e[0];const t={};for(const r of e){if(r.actions)try{t.actions?t.actions=[...t.actions,...r.actions]:t.actions=[...r.actions]}catch{}if(r.menus)try{if(t.menus)for(const[e,n]of Object.entries(r.menus)){const r=t.menus[e];try{t.menus[e]=r?[...r,...n]:[...n]}catch{}}else t.menus={...r.menus}}catch{}if(r.views)try{t.views?t.views=[...t.views,...r.views]:t.views=[...r.views]}catch{}if(r.searchFilters)try{t.searchFilters?t.searchFilters=[...t.searchFilters,...r.searchFilters]:t.searchFilters=[...r.searchFilters]}catch{}}return t}function qt(e,t){return null==t?void 0:t.map((t=>{var r,n,o,i,s,a,c,u,l,f;return{...t,title:null===(r=t.title)||void 0===r?void 0:r.exec(e),category:null===(n=t.category)||void 0===n?void 0:n.exec(e),description:null===(o=t.description)||void 0===o?void 0:o.exec(e),iconURL:null===(i=t.iconURL)||void 0===i?void 0:i.exec(e),actionItem:t.actionItem&&{...t.actionItem,label:null===(s=t.actionItem.label)||void 0===s?void 0:s.exec(e),description:null===(a=t.actionItem.description)||void 0===a?void 0:a.exec(e),iconURL:null===(c=t.actionItem.iconURL)||void 0===c?void 0:c.exec(e),iconDescription:null===(u=t.actionItem.iconDescription)||void 0===u?void 0:u.exec(e),pressed:null===(l=t.actionItem.pressed)||void 0===l?void 0:l.exec(e)},commandArguments:null===(f=t.commandArguments)||void 0===f?void 0:f.map((t=>t instanceof Gt?t.exec(e):t))}}))}function Yt(e){return{...e,menus:e.menus&&At()(e.menus,(e=>null==e?void 0:e.map((e=>({...e,when:"string"==typeof e.when?$t(e.when):void 0}))))),actions:e&&(t=e.actions,null==t?void 0:t.map((e=>{var t;return{...e,title:Qt(e.title,Kt),category:Qt(e.category,Kt),description:Qt(e.description,Kt),iconURL:Qt(e.iconURL,Kt),actionItem:e.actionItem&&{...e.actionItem,label:Qt(e.actionItem.label,Kt),description:Qt(e.actionItem.description,Kt),iconURL:Qt(e.actionItem.iconURL,Kt),iconDescription:Qt(e.actionItem.iconDescription,Kt),pressed:Qt(e.actionItem.pressed,(e=>$t(e)))},commandArguments:null===(t=e.commandArguments)||void 0===t?void 0:t.map((e=>"string"==typeof e?Kt(e):e))}})))};var t}const Qt=(e,t)=>void 0===e?void 0:t(e);function Xt(e){const t=new ge(new Set),r=_t(e.getEnabledExtensions()),n=new Set;return{activeLanguages:t,activeExtensions:ke([t,r]).pipe(Me((([e,t])=>{const r=function(e,t){const r=new Set([...t].map((e=>`onLanguage:${e}`)));return e.filter((e=>{try{if(!e.manifest){const t=/^sourcegraph\/lang-(.*)$/.exec(e.id);return t?console.warn(`Extension ${e.id} has been renamed to sourcegraph/${t[1]}. It's safe to remove ${e.id} from your settings.`):console.warn(`Extension ${e.id} was not found. Remove it from settings to suppress this warning.`),!1}return Qe(e.manifest)?(console.warn(e.manifest),!1):e.manifest.activationEvents?e.manifest.activationEvents.some((e=>"*"===e||r.has(e))):(console.warn(`Extension ${e.id} has no activation events, so it will never be activated.`),!1)}catch(e){console.error(e)}return!1}))}(t,e);for(const e of r)n.has(e.id)||n.add(e.id)})),S((([,e])=>e?e.filter((e=>n.has(e.id))):[])),Fe(((e,t)=>function(e,t){const r=new Set(e.map((({id:e})=>e))),n=new Set(t.map((({id:e})=>e)));for(const e of r)if(!n.has(e))return!1;for(const e of n)if(!r.has(e))return!1;return!0}(e,t))))}}const Zt=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function er(e,t,r,n=rr,o=nr){const i=function(e,t){const r=new Map;let n=St;return(o,i=!1)=>{n<St&&(r.clear(),n=St);const s=t(o),a=r.get(s);if(!i&&a)return a;const c=e(o).pipe(wt(),dt(),Me({error:()=>{r.delete(s)}}));return r.set(s,c),c}}((()=>Ne(t.getScriptURLForExtension()).pipe(S((e=>function(t){return e?e(t):Promise.resolve(t)})))),(()=>"getScriptURL")),s=new Set,a=new Map,c=new Map;var u,l;return ke([e.activeExtensions,i(null)]).pipe((u=([i,u])=>{const l=new Set,f=new Map,p=new Set;for(const e of i)Zt.has(e.id)||(p.add(e.id),s.has(e.id)||f.set(e.id,e));for(const e of s)p.has(e)||l.add(e);return Ne(u([...f.values()].map((e=>"scriptURL"in e?e.scriptURL:function(e){if(!e.manifest)throw new Error(`extension ${JSON.stringify(e.id)}: no manifest found`);if(Qe(e.manifest))throw new Error(`extension ${JSON.stringify(e.id)}: invalid manifest: ${e.manifest.message}`);if(!e.manifest.url)throw new Error(`extension ${JSON.stringify(e.id)}: no "url" property in manifest`);return e.manifest.url}(e)))).then((e=>({toActivate:[...f.values()].map(((t,r)=>({id:t.id,manifest:t.manifest,scriptURL:e[r]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:l})))).pipe(Me((({toActivate:e})=>{for(const t of e)if(t.manifest&&!Qe(t.manifest)&&t.manifest.contributes){const e=Yt(t.manifest.contributes);a.set(t.id,e),c.set(t.id,e)}})),S((({toActivate:i,toDeactivate:s})=>{const a=Ze(e.settings.value,"DefaultSettings")||{};return Ne(Promise.all([i.map((async({id:e,scriptURL:o})=>{if(console.log(`Activating Sourcegraph extension: ${e}`),!a[e]){const r=function(e){var t,r;const n=e.split("/");return 3===n.length?{host:n[0],publisher:n[1],name:n[2]}:{publisher:null!==(t=n[0])&&void 0!==t?t:"",name:null!==(r=n[1])&&void 0!==r?r:"",isSourcegraphExtension:"sourcegraph"===n[0]}}(e).host?await async function(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t),n=[...new Uint8Array(r)];return btoa(String.fromCharCode(...n))}(e):e;t.logEvent("ExtensionActivation",{extension_id:r}).catch((()=>{}))}return n(e,o,r).catch((t=>console.error(`Error activating extension ${e}:`,Xe(t))))})),[...s].map((e=>o(e).catch((t=>console.error(`Error deactivating extension ${e}:`,Xe(t))))))]))})),S((()=>({activated:f,deactivated:l}))),ze((e=>(console.error("Uncaught error during extension activation",e),[]))))},Ke(u,l,1))).subscribe((({activated:t,deactivated:r})=>{const n=[...r].map((e=>a.get(e))).filter(Boolean);for(const e of r)s.delete(e),a.delete(e);for(const[e]of t)s.add(e);c.size>0&&(e.contributions.next([...e.contributions.value,...c.values()]),c.clear()),n.length>0&&e.contributions.next(e.contributions.value.filter((e=>!n.includes(e)))),!1===e.haveInitialExtensionsLoaded.value&&e.haveInitialExtensionsLoaded.next(!0)}))}const tr=new Map;async function rr(e,t,r){try{or(r(e));const n={};self.exports=n,self.module={exports:n},self.importScripts(t)}catch(r){throw new Error(`error thrown while executing extension ${JSON.stringify(e)} bundle (in importScripts of ${t}): ${String(r)}`)}const n=self.module.exports;if(delete self.exports,delete self.module,!("activate"in n))throw new Error(`extension bundle for ${JSON.stringify(e)} has no exported activate function (in ${t})`);const o=new p,i="function"==typeof n.deactivate?n.deactivate:null;tr.set(e,(async()=>{try{i&&await Promise.resolve(i())}finally{o.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:o}))).catch((t=>{throw t=Xe(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function nr(e){const t=tr.get(e);t&&(tr.delete(e),await Promise.resolve(t()))}function or(e){let t=!1;globalThis.require=r=>{if("sourcegraph"===r){if(!t)return t=!0,e;throw new Error("require: Sourcegraph extension API can only be imported once")}throw new Error(`require: module not found: ${r}`)}}function ir(e){return e.settings.pipe(S((e=>function(e){if(!e||!e["extensions.activeLoggers"])return new Set;const t=e["extensions.activeLoggers"];if(!Array.isArray(t))return new Set;return new Set(t)}(e.final)))).subscribe((t=>e.activeLoggers=t))}var sr=r(3234),ar=r.n(sr);function cr(e){return function(t){return t.lift(new ur(e))}}var ur=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new lr(e,this.value))},e}(),lr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return n(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(v),fr=new ot(tt);function pr(e,t){return void 0===t&&(t=fr),function(r){return r.lift(new hr(e,t))}}var hr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new dr(e,this.dueTime,this.scheduler))},e}(),dr=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.dueTime=r,o.scheduler=n,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return n(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(vr,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(v);function vr(e){e.debouncedNext()}var gr=r(8838),yr=r(9588),br=r.n(yr),mr=r(2164),xr=r.n(mr);const wr=()=>({key:br()("TextDocumentDecorationType")});function Sr(e){const t="object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"string"==typeof e.after.contentText,r="object"==typeof e&&null!==e&&D("meter")(e)&&e.meter&&"object"==typeof e.meter&&D("value")(e.meter)&&"number"==typeof e.meter.value;if(!t&&!r)return!1;return!("object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"object"==typeof e.after.contentText)}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tr=()=>({key:br()("StatusBarItemType")}),Cr=wr();class _r{constructor(e,t){Er(this,H,!0),Er(this,"selectionsChanges",new ge([])),Er(this,"type","CodeEditor"),Er(this,"_decorationsByType",new Map),Er(this,"_mergedDecorations",new ge([])),Er(this,"_statusBarItemsByType",new Map),Er(this,"_mergedStatusBarItems",new ge([])),this.document=t,this.resource=e.resource,this.viewerId=e.viewerId,this.isActive=e.isActive,this.update(e)}get selection(){return this.selectionsChanges.value.length>0?this.selectionsChanges.value[0]:null}get selections(){return this.selectionsChanges.value}get mergedDecorations(){return this._mergedDecorations}setDecorations(e,t){e=e||Cr,this._decorationsByType.set(e,t.map(kr)),this._mergedDecorations.next([...this._decorationsByType.values()].flat().filter((e=>!Ar(e))))}get mergedStatusBarItems(){return this._mergedStatusBarItems}setStatusBarItem(e,t){this._statusBarItemsByType.set(e,{...t,...e}),this._mergedStatusBarItems.next([...this._statusBarItemsByType.values()].flat().filter((e=>Pr(e))))}update(e){const t=e.selections.map((e=>gr.Selection.fromPlain(e)));xr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}const Or=e=>Array.isArray(e)?e.every(Or):"object"==typeof e&&null!==e?Object.values(e).every(Or):!e,Ar=({range:e,isWholeLine:t,...r})=>Or(r),Pr=({key:e,text:t})=>!!e&&!!t;function kr(e){return{...e,range:e.range.toJSON()}}var Lr=r(672),Ir=r.n(Lr);const Rr=e=>({[H]:!0,subscribe:t=>re(e.subscribe({next:e=>{t.next(e)},error:e=>{t.error(e&&{message:e.message,name:e.name,stack:e.stack})},complete:()=>{t.complete()}}))});function Nr(e,t=Ir()){let r;var n,o,i;return r=e&&(ue(e)||(i=e)&&(i instanceof x||"function"==typeof i.lift&&"function"==typeof i.subscribe)||"object"==typeof(o=e)&&null!==o&&D("subscribe")(o)&&"function"==typeof o.subscribe)?Ne(e).pipe(S(t)):(e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator])(e)?(n=e,new x((e=>{const t=n[Symbol.asyncIterator]();let r=!1,o=!1;return function n(){t.next().then((t=>{if(!r)return t.done?(o=!0,void e.complete()):(e.next(t.value),n())}),(t=>{e.error(t)}))}(),()=>{r=!0,!o&&t.throw&&t.throw(new le).catch((()=>{}))}}))).pipe(S(t)):st(t(e)),r}const jr={Text:"text",Read:"read",Write:"write"};var Mr=r(2497),Dr=r.n(Mr),Ur=r(8202),Fr=r.n(Ur);function Br(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),Ke(b,e);var e}function Vr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Br()(st.apply(void 0,e))}function Gr(e,t){return"function"==typeof t?function(r){return r.pipe(Gr((function(r,n){return Ne(e(r,n)).pipe(S((function(e,o){return t(r,e,n,o)})))})))}:function(t){return t.lift(new Hr(e))}}var Hr=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new $r(e,this.project))},e}(),$r=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.index=0,n}return n(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t)},t.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var r=new Ge(this),n=this.destination;n.add(r),this.innerSubscription=$e(e,r),this.innerSubscription!==r&&n.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=void 0},t.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e){this.destination.next(e)},t}(He);function Kr(e){return void 0===e&&(e=null),function(t){return t.lift(new Wr(e))}}var Wr=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Jr(e,this.defaultValue))},e}(),Jr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.defaultValue=r,n.isEmpty=!0,n}return n(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(v);r(9997);const zr="loading";var qr;!function(e){e[e.CodeViewToActual=0]="CodeViewToActual",e[e.ActualToCodeView=1]="ActualToCodeView"}(qr||(qr={}));var Yr=r(4245);function Qr(e){const t=(0,Yr.basename)(e),r=function(e){const t=e.split(".");if(1===t.length)return"";if(2===t.length&&""===t[0])return"";return t[t.length-1].toLowerCase()}(e);return function(e){switch(e.toLowerCase()){case"dockerfile":return"dockerfile";default:return}}(t)||function(e){switch(e.toLowerCase()){case"adb":case"ada":case"ads":return"ada";case"cls":case"apex":case"trigger":return"apex";case"as":return"actionscript";case"apacheconf":return"apache";case"applescript":case"scpt":return"applescript";case"sh":case"bash":case"zsh":return"shell";case"clj":case"cljs":case"cljx":return"clojure";case"css":return"css";case"cmake":case"cmake.in":case"in":return"cmake";case"coffee":case"cake":case"cson":case"cjsx":case"iced":return"coffescript";case"cs":case"csx":return"csharp";case"c":case"cc":case"cpp":case"cxx":case"c++":case"h++":case"hh":case"h":case"hpp":case"pc":case"pcc":return"cpp";case"cu":case"cuh":return"cuda";case"dart":return"dart";case"diff":case"patch":return"diff";case"jinja":return"django";case"bat":case"cmd":return"dos";case"ex":case"exs":return"elixir";case"elm":return"elm";case"erl":return"erlang";case"f":case"for":case"frt":case"fr":case"forth":case"4th":case"fth":return"fortran";case"fs":return"fsharp";case"go":return"go";case"graphql":return"graphql";case"groovy":return"groovy";case"haml":return"haml";case"hbs":case"handlebars":return"handlebars";case"hs":case"hsc":return"haskell";case"htm":case"html":case"xhtml":return"html";case"ini":case"cfg":case"prefs":case"pro":case"properties":return"ini";case"java":return"java";case"js":case"jsx":case"es":case"es6":case"jss":case"jsm":return"javascript";case"json":case"sublime_metrics":case"sublime_session":case"sublime-keymap":case"sublime-mousemap":case"sublime-project":case"sublime-settings":case"sublime-workspace":return"json";case"jsonnet":case"libsonnet":return"jsonnet";case"jl":return"julia";case"kt":case"ktm":case"kts":return"kotlin";case"less":return"less";case"lisp":case"asd":case"cl":case"lsp":case"l":case"ny":case"podsl":case"sexp":case"el":return"lisp";case"lua":case"fcgi":case"nse":case"pd_lua":case"rbxs":case"wlua":return"lua";case"mk":case"mak":return"makefile";case"md":case"mkdown":case"mkd":return"markdown";case"nginxconf":return"nginx";case"m":case"mm":return"objectivec";case"ml":case"eliom":case"eliomi":case"ml4":case"mli":case"mll":case"mly":case"re":return"ocaml";case"p":case"pas":case"pp":return"pascal";case"pl":case"al":case"cgi":case"perl":case"ph":case"plx":case"pm":case"pod":case"psgi":case"t":return"perl";case"php":case"phtml":case"php3":case"php4":case"php5":case"php6":case"php7":case"phps":return"php";case"ps1":case"psd1":case"psm1":return"powershell";case"proto":return"protobuf";case"py":case"pyc":case"pyd":case"pyo":case"pyw":case"pyz":return"python";case"r":case"rd":case"rsx":return"r";case"rb":case"builder":case"eye":case"gemspec":case"god":case"jbuilder":case"mspec":case"pluginspec":case"podspec":case"rabl":case"rake":case"rbuild":case"rbw":case"rbx":case"ru":case"ruby":case"spec":case"thor":case"watchr":return"ruby";case"rs":case"rs.in":return"rust";case"sass":case"scss":return"scss";case"sbt":case"sc":case"scala":return"scala";case"scm":case"sch":case"sls":case"sps":case"ss":return"scheme";case"st":return"smalltalk";case"sql":return"sql";case"styl":return"stylus";case"swift":return"swift";case"thrift":return"thrift";case"ts":case"tsx":return"typescript";case"twig":return"twig";case"vb":return"vbnet";case"vbs":return"vbscrip";case"v":case"veo":case"sv":case"svh":case"svi":return"verilog";case"vhd":case"vhdl":return"vhdl";case"vim":return"vim";case"xml":case"adml":case"admx":case"ant":case"axml":case"builds":case"ccxml":case"clixml":case"cproject":case"csl":case"csproj":case"ct":case"dita":case"ditamap":case"ditaval":case"dll.config":case"dotsettings":case"filters":case"fsproj":case"fxml":case"glade":case"gml":case"grxml":case"iml":case"ivy":case"jelly":case"jsproj":case"kml":case"launch":case"mdpolicy":case"mjml":case"mod":case"mxml":case"nproj":case"nuspec":case"odd":case"osm":case"pkgproj":case"plist":case"props":case"ps1xml":case"psc1":case"pt":case"rdf":case"resx":case"rss":case"scxml":case"sfproj":case"srdf":case"storyboard":case"stTheme":case"sublime-snippet":case"targets":case"tmCommand":case"tml":case"tmLanguage":case"tmPreferences":case"tmSnippet":case"tmTheme":case"ui":case"urdf":case"ux":case"vbproj":case"vcxproj":case"vsixmanifest":case"vssettings":case"vstemplate":case"vxml":case"wixproj":case"wsdl":case"wsf":case"wxi":case"wxl":case"wxs":case"x3d":case"xacro":case"xaml":case"xib":case"xlf":case"xliff":case"xmi":case"xml.dist":case"xproj":case"xsd":case"xspec":case"xul":case"zcml":return"xml";case"yml":case"yaml":return"yaml";default:return}}(r)||"plaintext"}var Xr=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Zr(e,this.resultSelector))},e}(),Zr=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var o=e.call(this,t)||this;return o.resultSelector=r,o.iterators=[],o.active=0,o.resultSelector="function"==typeof r?r:void 0,o}return n(t,e),t.prototype._next=function(e){var t=this.iterators;u(e)?t.push(new tn(e)):"function"==typeof e[Se]?t.push(new en(e[Se]())):t.push(new rn(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe());else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(s=e[n]).hasValue&&!s.hasValue())return}var o=!1,i=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),o&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v),en=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return Boolean(e&&e.done)},e}(),tn=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[Se]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),rn=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.parent=r,o.observable=n,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return n(t,e),t.prototype[Se]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return $e(this.observable,new Ge(this))},t}(He),nn=1,on=function(){return Promise.resolve()}(),sn={};function an(e){return e in sn&&(delete sn[e],!0)}var cn=function(e){var t=nn++;return sn[t]=!0,on.then((function(){return an(t)&&e()})),t},un=function(e){an(e)},ln=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=cn(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(un(r),t.scheduled=void 0)},t}(tt),fn=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,o=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<o&&(e=r.shift()));if(this.active=!1,t){for(;++n<o&&(e=r.shift());)e.unsubscribe();throw t}},t}(ot))(ln),pn=r(3621),hn=r(6451),dn=r(2723),vn=r(5478);function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yn(e,t){switch(e.length){case 0:return st([]);case 1:return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),Ae(e,void 0).lift(new Xr(r))}(...e);default:return new pn.Observable((0,dn.subscribeToArray)(e)).lift(new bn(t))}}class bn{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new mn(e,this.defaultValue))}}class mn extends hn.OuterSubscriber{constructor(e,t){super(e),gn(this,"activeObservables",0),gn(this,"values",[]),gn(this,"observables",[]),gn(this,"scheduled",!1),this.defaultValue=t}_next(e){void 0!==this.defaultValue&&this.values.push(this.defaultValue),this.observables.push(e)}_complete(){this.activeObservables=this.observables.length;for(let e=0;e<this.observables.length;e++)this.add((0,vn.D)(this,this.observables[e],this.observables[e],e))}notifyComplete(){this.activeObservables--,0===this.activeObservables&&this.destination.complete&&this.destination.complete()}notifyNext(e,t,r){this.values[r]=t,1!==this.activeObservables?this.scheduled||(this.scheduled=!0,fn.schedule((()=>{this.scheduled&&this.destination.next&&this.destination.next(this.values.slice()),this.scheduled=!1}))):this.destination.next&&this.destination.next(this.values.slice())}}var xn=r(6705);const wn=["Assembly","Bash","C","C++","C#","CSS","Dart","Elixir","Erlang","Go","GraphQL","Groovy","Haskell","HTML","Java","JavaScript","Kotlin","JSON","Julia","Lua","Markdown","Objective-C","OCaml","PHP","PowerShell","Python","R","Ruby","Rust","Sass","Scala","SQL","Swift","Terraform","TypeScript","VBA","XML","YAML","Zig"],Sn=r.n(xn)()(wn.concat(["1C Enterprise","4D","ABAP","ABNF","ActionScript","Ada","Adobe Font Metrics","Agda","AGS Script","AL","Alloy","Alpine Abuild","Altium Designer","AMPL","AngelScript","Ant Build System","ANTLR","ApacheConf","Apex","API Blueprint","APL","Apollo Guidance Computer","AppleScript","Arc","AsciiDoc","ASL","ASN.1","AspectJ","ASP.NET","Assembly","Asymptote","ATS","Augeas","AutoHotkey","AutoIt","Avro IDL","Awk","Ballerina","Batchfile","Befunge","BibTeX","Bison","BitBake","Blade","BlitzBasic","BlitzMax","Bluespec","Boo","Brainfuck","Brightscript","C","C#","C++","C2hs Haskell","Cabal Config","Cap'n Proto","CartoCSS","Ceylon","Chapel","Charity","ChucK","Cirru","Clarion","Classic ASP","Clean","Click","CLIPS","Clojure","Closure Templates","Cloud Firestore Security Rules","CMake","C-ObjDump","COBOL","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","COLLADA","Common Lisp","Common Workflow Language","Component Pascal","CoNLL-U","Cool","Coq","Cpp-ObjDump","Creole","Crystal","CSON","Csound","Csound Document","Csound Score","CSS","CSV","Cuda","cURL Config","CWeb","Cycript","Cython","D","Dafny","Darcs Patch","Dart","DataWeave","desktop","Dhall","Diff","DIGITAL Command Language","dircolors","DirectX 3D File","DM","DNS Zone","D-ObjDump","Dockerfile","Dogescript","DTrace","Dylan","E","Eagle","Easybuild","EBNF","eC","Ecere Projects","ECL","ECLiPSe","EditorConfig","Edje Data Collection","edn","Eiffel","EJS","Elixir","Elm","Emacs Lisp","EmberScript","EML","EQ","Erlang","F#","F*","Factor","Fancy","Fantom","Faust","FIGlet Font","Filebench WML","Filterscript","fish","FLUX","Formatted","Forth","Fortran","Fortran Free Form","FreeMarker","Frege","Futhark","Game Maker Language","GAML","GAMS","GAP","GCC Machine Description","G-code","GDB","GDScript","GEDCOM","Genie","Genshi","Gentoo Ebuild","Gentoo Eclass","Gerber Image","Gettext Catalog","Gherkin","Git Attributes","Git Config","GLSL","Glyph","Glyph Bitmap Distribution Format","GN","Gnuplot","Go","Golo","Gosu","Grace","Gradle","Grammatical Framework","Graph Modeling Language","GraphQL","Graphviz (DOT)","Groovy","Groovy Server Pages","Hack","Haml","Handlebars","HAProxy","Harbour","Haskell","Haxe","HCL","HiveQL","HLSL","HolyC","HTML","HTML+Django","HTML+ECR","HTML+EEX","HTML+ERB","HTML+PHP","HTML+Razor","HTTP","HXML","Hy","HyPhy","IDL","Idris","Ignore List","IGOR Pro","Inform 7","INI","Inno Setup","Io","Ioke","IRC log","Isabelle","Isabelle ROOT","J","Jasmin","Java","Java Properties","JavaScript","JavaScript+ERB","Java Server Pages","JFlex","Jison","Jison Lex","Jolie","JSON","JSON5","JSONiq","JSONLD","Jsonnet","JSON with Comments","JSX","Julia","Jupyter Notebook","Kaitai Struct","KiCad Layout","KiCad Legacy Layout","KiCad Schematic","Kit","Kotlin","KRL","LabVIEW","Lark","Lasso","Latte","Lean","Less","Lex","LFE","LilyPond","Limbo","Linker Script","Linux Kernel Module","Liquid","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveScript","LLVM","Logos","Logtalk","LOLCODE","LookML","LoomScript","LSL","LTspice Symbol","Lua","M","M4","M4Sugar","Macaulay2","Makefile","Mako","Markdown","Marko","Mask","Mathematica","MATLAB","Maven POM","Max","MAXScript","mcfunction","MediaWiki","Mercury","Meson","Metal","Microsoft Developer Studio Project","MiniD","Mirah","mIRC Script","MLIR","Modelica","Modula-2","Modula-3","Module Management System","Monkey","Moocode","MoonScript","Motorola 68K Assembly","MQL4","MQL5","MTML","MUF","mupad","Muse","Mustache","Myghty","nanorc","NASL","NCL","Nearley","Nemerle","NEON","nesC","NetLinx","NetLinx+ERB","NetLogo","NewLisp","Nextflow","Nginx","Nim","Ninja","Nit","Nix","NL","NPM Config","NSIS","Nu","NumPy","NWScript","ObjDump","Object Data Instance Notation","Objective-C","Objective-C++","Objective-J","ObjectScript","OCaml","Odin","Omgrofl","ooc","Opa","Opal","OpenCL","OpenEdge ABL","Open Policy Agent","OpenQASM","OpenRC runscript","OpenSCAD","OpenStep Property List","OpenType Feature File","Org","Ox","Oxygene","Oz","P4","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","Pep8","Perl","PHP","Pic","Pickle","PicoLisp","PigLatin","Pike","PlantUML","PLpgSQL","PLSQL","Pod","Pod 6","PogoScript","Pony","PostCSS","PostScript","POV-Ray SDL","PowerBuilder","PowerShell","Prisma","Processing","Proguard","Prolog","Propeller Spin","Protocol Buffer","Public Key","Pug","Puppet","PureBasic","Pure Data","PureScript","Python","Python console","Python traceback","q","Q#","QMake","QML","Qt Script","Quake","R","Racket","Ragel","Raku","RAML","Rascal","Raw token data","RDoc","Readline Config","REALbasic","Reason","Rebol","Red","Redcode","Regular Expression","RenderScript","Ren'Py","ReScript","reStructuredText","REXX","Rich Text Format","Ring","Riot","RMarkdown","RobotFramework","Roff","Roff Manpage","Rouge","RPC","RPM Spec","Ruby","RUNOFF","Rust","Sage","SaltStack","SAS","Sass","Scala","Scaml","Scheme","Scilab","SCSS","sed","Self","ShaderLab","Shell","ShellSession","Shen","Sieve","Slash","Slice","Slim","Smali","Smalltalk","Smarty","SmPL","SMT","Solidity","SourcePawn","SPARQL","Spline Font Database","SQF","SQL","SQLPL","Squirrel","SRecode Template","SSH Config","Stan","Standard ML","Starlark","Stata","STON","Stylus","SubRip Text","SugarSS","SuperCollider","Svelte","SVG","Swift","SWIG","SystemVerilog","Tcl","Tcsh","Tea","Terra","TeX","Texinfo","Text","Textile","Thrift","TI Program","TLA","TOML","TSQL","TSV","TSX","Turing","Turtle","Twig","TXL","Type Language","TypeScript","Unified Parallel C","Unity3D Asset","Unix Assembly","Uno","UnrealScript","UrWeb","V","Vala","VBA","VBScript","VCL","Verilog","VHDL","Vim Help File","Vim script","Vim Snippet","Visual Basic .NET","Volt","Vue","Wavefront Material","Wavefront Object","wdl","WebAssembly","WebIDL","Web Ontology Language","WebVTT","Wget Config","Windows Registry Entries","wisp","Wollok","World of Warcraft Addon Data","X10","xBase","X BitMap","XC","XCompose","X Font Directory Index","XML","XML Property List","Xojo","XPages","X PixMap","XProc","XQuery","XS","XSLT","Xtend","Yacc","YAML","YANG","YARA","YASnippet","ZAP","Zeek","ZenScript","Zephir","Zig","ZIL","Zimpl"])),En=[{name:"repo"},{name:"file",fields:[{name:"directory"},{name:"path"}]},{name:"content"},{name:"symbol",fields:[{name:"file"},{name:"module"},{name:"namespace"},{name:"package"},{name:"class"},{name:"method"},{name:"property"},{name:"field"},{name:"constructor"},{name:"enum"},{name:"interface"},{name:"function"},{name:"variable"},{name:"constant"},{name:"string"},{name:"number"},{name:"boolean"},{name:"array"},{name:"object"},{name:"key"},{name:"null"},{name:"enum-member"},{name:"struct"},{name:"event"},{name:"operator"},{name:"type-parameter"}]},{name:"commit",fields:[{name:"diff",fields:[{name:"added"},{name:"removed"}]}]}],Tn=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...Tn(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let Cn,_n;!function(e){e.after="after",e.archived="archived",e.author="author",e.before="before",e.case="case",e.committer="committer",e.content="content",e.context="context",e.count="count",e.file="file",e.fork="fork",e.lang="lang",e.message="message",e.patterntype="patterntype",e.repo="repo",e.repogroup="repogroup",e.repohascommitafter="repohascommitafter",e.repohasfile="repohasfile",e.rev="rev",e.select="select",e.timeout="timeout",e.type="type",e.visibility="visibility"}(Cn||(Cn={})),function(e){e.f="file",e.g="repogroup",e.l="lang",e.language="lang",e.m="message",e.msg="message",e.r="repo",e.revision="rev",e.since="after",e.until="before"}(_n||(_n={}));const On=[...Object.keys(Cn),...Object.keys(_n)];let An;!function(e){e.author="-author",e.committer="-committer",e.content="-content",e.f="-f",e.file="-file",e.l="-l",e.lang="-lang",e.message="-message",e.r="-r",e.repo="-repo",e.repohasfile="-repohasfile"}(An||(An={}));Object.values(An),Cn.author,Cn.committer,Cn.content,Cn.file,Cn.file,Cn.lang,Cn.lang,Cn.message,Cn.repo,Cn.repo,Cn.repohasfile;const Pn=[{label:"Search a GitHub organization",insertText:"^github\\.com/${1:ORGANIZATION}/.*",asSnippet:!0},{label:"Search a single GitHub repository",insertText:"^github\\.com/${1:ORGANIZATION}/${2:REPO-NAME}$",asSnippet:!0},{label:"Search for repositories with fuzzy string search",insertText:"${1:STRING}",asSnippet:!0}];Cn.after,Cn.archived,Cn.author,Cn.before,Cn.case,Cn.committer,Cn.content,Cn.context,Cn.count,Cn.file,Cn.fork,Cn.lang,Cn.message,Cn.patterntype,Cn.repo,Cn.repogroup,Cn.repohascommitafter,Cn.repohasfile,Cn.rev,Cn.select,Cn.timeout,Cn.type,Cn.visibility;function kn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let Ln,In,Rn,Nn,jn,Mn,Dn,Un,Fn,Bn,Vn,Gn,Hn,$n,Kn,Wn,Jn,zn,qn,Yn,Qn,Xn,Zn,eo,to,ro,no,oo,io,so,ao,co,uo,lo,fo,po,ho,vo,go;!function(e){e.READ="READ"}(Ln||(Ln={})),function(e){e.OPEN="OPEN",e.CLOSED="CLOSED"}(In||(In={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.PUBLISHED="PUBLISHED"}(Rn||(Rn={})),function(e){e.SCHEDULED="SCHEDULED",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Nn||(Nn={})),function(e){e.DRAFT="DRAFT",e.OPEN="OPEN",e.CLOSED="CLOSED",e.MERGED="MERGED",e.DELETED="DELETED"}(jn||(jn={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.PENDING="PENDING",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED"}(Mn||(Mn={})),function(e){e.PENDING="PENDING",e.PASSED="PASSED",e.FAILED="FAILED"}(Dn||(Dn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.FAILED="FAILED",e.RETRYING="RETRYING",e.SCHEDULED="SCHEDULED",e.PROCESSING="PROCESSING",e.OPEN="OPEN",e.DRAFT="DRAFT",e.CLOSED="CLOSED",e.MERGED="MERGED",e.DELETED="DELETED"}(Un||(Un={})),function(e){e.PUSH="PUSH",e.UPDATE="UPDATE",e.UNDRAFT="UNDRAFT",e.PUBLISH="PUBLISH",e.PUBLISH_DRAFT="PUBLISH_DRAFT",e.SYNC="SYNC",e.IMPORT="IMPORT",e.CLOSE="CLOSE",e.REOPEN="REOPEN",e.SLEEP="SLEEP",e.DETACH="DETACH",e.ARCHIVE="ARCHIVE"}(Fn||(Fn={})),function(e){e.EXISTING="EXISTING",e.BRANCH="BRANCH"}(Bn||(Bn={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Vn||(Vn={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(Gn||(Gn={})),function(e){e.PENDING="PENDING",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Hn||(Hn={})),function(e){e.OPEN="OPEN",e.CLOSED="CLOSED"}($n||($n={})),function(e){e.COMMENT="COMMENT",e.DETACH="DETACH",e.REENQUEUE="REENQUEUE",e.MERGE="MERGE",e.CLOSE="CLOSE",e.PUBLISH="PUBLISH"}(Kn||(Kn={})),function(e){e.PROCESSING="PROCESSING",e.COMPLETED="COMPLETED",e.FAILED="FAILED"}(Wn||(Wn={})),function(e){e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Jn||(Jn={})),function(e){e.NORMAL="NORMAL",e.CRITICAL="CRITICAL"}(zn||(zn={})),function(e){e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.ERROR="ERROR"}(qn||(qn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING",e.DELETING="DELETING"}(Yn||(Yn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED"}(Qn||(Qn={})),function(e){e.WEB="WEB",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.BACKEND="BACKEND"}(Xn||(Xn={})),function(e){e.V1="V1",e.V2="V2"}(Zn||(Zn={})),function(e){e.literal="literal",e.regexp="regexp",e.structural="structural"}(eo||(eo={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",e.BITBUCKETCLOUD="BITBUCKETCLOUD",e.BITBUCKETSERVER="BITBUCKETSERVER",e.GITHUB="GITHUB",e.GITLAB="GITLAB",e.GITOLITE="GITOLITE",e.JVMPACKAGES="JVMPACKAGES",e.PERFORCE="PERFORCE",e.PHABRICATOR="PHABRICATOR",e.OTHER="OTHER"}(to||(to={})),function(e){e.ADDED="ADDED",e.UNCHANGED="UNCHANGED",e.DELETED="DELETED"}(ro||(ro={})),function(e){e.ERROR="ERROR",e.WARNING="WARNING",e.INFORMATION="INFORMATION",e.HINT="HINT"}(no||(no={})),function(e){e.UNKNOWN="UNKNOWN",e.FILE="FILE",e.MODULE="MODULE",e.NAMESPACE="NAMESPACE",e.PACKAGE="PACKAGE",e.CLASS="CLASS",e.METHOD="METHOD",e.PROPERTY="PROPERTY",e.FIELD="FIELD",e.CONSTRUCTOR="CONSTRUCTOR",e.ENUM="ENUM",e.INTERFACE="INTERFACE",e.FUNCTION="FUNCTION",e.VARIABLE="VARIABLE",e.CONSTANT="CONSTANT",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.KEY="KEY",e.NULL="NULL",e.ENUMMEMBER="ENUMMEMBER",e.STRUCT="STRUCT",e.EVENT="EVENT",e.OPERATOR="OPERATOR",e.TYPEPARAMETER="TYPEPARAMETER"}(oo||(oo={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_TAG="GIT_TAG",e.GIT_REF_OTHER="GIT_REF_OTHER"}(io||(io={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(so||(so={})),function(e){e.GIT_COMMIT="GIT_COMMIT",e.GIT_TAG="GIT_TAG",e.GIT_TREE="GIT_TREE",e.GIT_BLOB="GIT_BLOB",e.GIT_UNKNOWN="GIT_UNKNOWN"}(ao||(ao={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(co||(co={})),function(e){e.REPOSITORY_NAME="REPOSITORY_NAME",e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT"}(uo||(uo={})),function(e){e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR"}(lo||(lo={})),function(e){e.PAGEVIEW="PAGEVIEW",e.SEARCHQUERY="SEARCHQUERY",e.CODEINTEL="CODEINTEL",e.CODEINTELREFS="CODEINTELREFS",e.CODEINTELINTEGRATION="CODEINTELINTEGRATION",e.CODEINTELINTEGRATIONREFS="CODEINTELINTEGRATIONREFS",e.STAGEMANAGE="STAGEMANAGE",e.STAGEPLAN="STAGEPLAN",e.STAGECODE="STAGECODE",e.STAGEREVIEW="STAGEREVIEW",e.STAGEVERIFY="STAGEVERIFY",e.STAGEPACKAGE="STAGEPACKAGE",e.STAGEDEPLOY="STAGEDEPLOY",e.STAGECONFIGURE="STAGECONFIGURE",e.STAGEMONITOR="STAGEMONITOR",e.STAGESECURE="STAGESECURE",e.STAGEAUTOMATE="STAGEAUTOMATE"}(fo||(fo={})),function(e){e.TODAY="TODAY",e.THIS_WEEK="THIS_WEEK",e.THIS_MONTH="THIS_MONTH",e.ALL_TIME="ALL_TIME"}(po||(po={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(ho||(ho={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(vo||(vo={})),function(e){e.Or="or",e.And="and",e.Not="not"}(go||(go={}));const yo=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),bo=(...e)=>(t,r)=>{const n=[];for(const o of e){const e=o(t,r);if("success"===e.type)return e;n.push(e.expected)}return{type:"error",expected:`One of: ${n.join(", ")}`,at:r}},mo=e=>(t,r)=>{if(t[r]!==e)return{type:"error",expected:e,at:r};let n=r+1;for(;t[n]&&(t[n]!==e||"\\"===t[n-1]);)n+=1;return t[n]?{type:"success",term:yo(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},xo=(e,t,r)=>(e.source.startsWith("^")||(e=new RegExp(`^${e.source}`,e.flags)),(n,o)=>{const i=n.slice(Math.max(0,o));if(!i)return{type:"error",expected:r||`/${e.source}/`,at:o};const s=i.match(e);if(!s)return{type:"error",expected:r||`/${e.source}/`,at:o};const a={start:o,end:o+s[0].length};return{type:"success",term:t?"function"==typeof t?t(s[0],a):t:{type:"literal",value:s[0],range:a}}}),wo=(e,t)=>{let r=t,n=0,o="";const i=[],s=()=>{o=e[r],r+=1};if(!Io(e,t))return{type:"error",expected:"no recognized filter or keyword",at:t};for(;void 0!==e[r];){if(s(),o.match(/\s/)&&0===n){r-=1;break}if("("===o){if(!Io(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};n+=1,i.push(o)}else if(")"===o){if(n-=1,n<0&&r>1){r-=1,n=0;break}i.push(o)}else if(" "===o){if(!Io(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};i.push(o)}else if("\\"===o){if(void 0!==e[r]){s(),i.push("\\",o);continue}i.push(o)}else i.push(o)}return 0!==n?{type:"error",expected:"no unbalanced parentheses",at:r}:{type:"success",term:yo(i.join(""),{start:t,end:r})}},So=xo(/\s+/,((e,t)=>({type:"whitespace",range:t}))),Eo=xo(/[^\s)]+/),To=xo(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:go.Not}))),Co=xo(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:go.And}))),_o=xo(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:go.Or}))),Oo=bo(Co,_o,To),Ao=(xo(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),xo(new RegExp(`-?(${On.join("|")})+(?=:)`,"i"))),Po=(bo(mo('"'),mo("'"),wo,Eo),xo(/\(/,((e,t)=>({type:"openingParen",range:t}))),xo(/\)/,((e,t)=>({type:"closingParen",range:t})))),ko=(e,t)=>(r,n)=>{const o=e(r,n);if("error"===o.type)return o;let i;const s=[];if(Array.isArray(o.term))for(const e of o.term)s.push(e),i=e.range.end;else s.push(o.term),i=o.term.range.end;if(i&&void 0!==r[i]){const e=t(r,i);if("error"===e.type)return e;s.push(e.term),i=e.term.range.end}return{type:"success",term:s}},Lo=bo(Ao,ko(Oo,So)),Io=(e,t)=>"success"!==Lo(e,t).type;bo(So,Po);let Ro;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(Ro||(Ro={}));const No=e=>{const t=e.split(",");if(1===t.length)return{line:parseInt(e,10),character:0};if(2===t.length)return{line:parseInt(t[0],10),character:parseInt(t[1],10)};throw new Error("unexpected position: "+e)};function jo(e){const t=new URL(e),r=t.hostname+decodeURIComponent(t.pathname),n=decodeURIComponent(t.search.slice("?".length))||void 0;let o;null!=n&&n.match(/[\dA-f]{40}/)&&(o=n);const i=t.hash.slice("#".length).split(":").map(decodeURIComponent);let s,a,c;if(1===i.length&&(s=i[0]),2===i.length){s=i[0];const e=i[1],t=e.split("-");if(1===t.length&&(a=No(t[0])),2===t.length&&(c={start:No(t[0]),end:No(t[1])}),t.length>2)throw new Error("unexpected range or position: "+e)}if(i.length>2)throw new Error("unexpected fragment: "+t.hash);return{repoName:r,revision:n,commitID:o,filePath:s||void 0,position:a,range:c}}var Mo=r(1781),Do=r.n(Mo);function Uo(e,t){for(const n of(r=e,Array.isArray(r)&&(0===r.length||function(e){return"string"==typeof e||function(e){const t=e;return"string"==typeof t.language||"string"==typeof t.scheme||"string"==typeof t.pattern}(e)}(r[0]))?[e]:e))if(Fo(n,t))return!0;var r;return!1}function Fo(e,t){return 0!==function(e,t,r){let n=0;for(const o of e){const e=Bo(o,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function Bo(e,t,r){if("string"==typeof e)return"*"===e?5:e===r?10:0;const{language:n,scheme:o,pattern:i,baseUri:s}=e;if(!n&&!o&&!i)return 5;let a=0;if(o)if(t.protocol===o+":")a=10;else{if("*"!==o)return 0;a=5}if(s){if(!t.href.startsWith(s.toString()))return 0;a=5}if(n)if(n===r)a=10;else{if("*"!==n)return 0;a=Math.max(a,5)}if(i){const e=decodeURIComponent("git:"===t.protocol?t.hash.slice(1):t.pathname.replace(/^\//,""));if(e.endsWith(i)||Do()(e,i))a=10;else{if(!e||!Do()(e,i,{dot:!0,matchBase:!0}))return 0;a=5}}return a}let Vo;!function(e){e.CommandPalette="commandPalette",e.GlobalNav="global/nav",e.EditorTitle="editor/title",e.DirectoryPage="directory/page",e.Hover="hover",e.PanelToolbar="panel/toolbar",e.SearchResultsToolbar="search/results/toolbar",e.Help="help"}(Vo||(Vo={}));r(9913),r(2366),r(8911),r(4207);function Go(e,t,r,n){const o={...r};if(null!==(i=t).subjects&&!i.subjects.some((e=>Qe(e.settings)))&&null!==i.final&&!Qe(i.final))for(const[e,r]of Object.entries(t.final))o[`config.${e}`]=r;var i;const s=n||e||null;return s&&(o.component=!0),"CodeEditor"===(null==s?void 0:s.type)&&(o.resource=!0,o["resource.uri"]=s.resource,o["resource.basename"]=(0,Yr.basename)(s.resource),o["resource.dirname"]=(0,Yr.dirname)(s.resource),o["resource.extname"]=(0,Yr.extname)(s.resource),o["resource.language"]=s.model.languageId,o["resource.type"]="textDocument",o["component.type"]="CodeEditor",o["component.selections"]=s.selections,s.selections.length>0&&(o["component.selection"]=s.selections[0]||null,o["component.selection.start"]=s.selections[0]?s.selections[0].start:null,o["component.selection.end"]=s.selections[0]?s.selections[0].end:null,o["component.selection.start.line"]=s.selections[0]?s.selections[0].start.line:null,o["component.selection.start.character"]=s.selections[0]?s.selections[0].start.character:null,o["component.selection.end.line"]=s.selections[0]?s.selections[0].end.line:null,o["component.selection.end.character"]=s.selections[0]?s.selections[0].end.character:null)),"panelView"===(null==s?void 0:s.type)&&(o["panel.activeView.id"]=s.id,o["panel.activeView.hasLocations"]=s.hasLocations),o}class Ho{constructor(e){var t,r,n;n="DirectoryViewer",(r="type")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.isActive=e.isActive,this.viewerId=e.viewerId,this.resource=e.resource,this.directory={uri:new URL(e.resource)}}}var $o=function(){function e(e,t,r){void 0===r&&(r=!1),this.accumulator=e,this.seed=t,this.hasSeed=r}return e.prototype.call=function(e,t){return t.subscribe(new Ko(e,this.accumulator,this.seed,this.hasSeed))},e}(),Ko=function(e){function t(t,r,n,o){var i=e.call(this,t)||this;return i.accumulator=r,i._seed=n,i.hasSeed=o,i.index=0,i}return n(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.accumulator(this.seed,e,r)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(v);const Wo="ColdCallViewProviderStart";function Jo(e,t,r=2){return t.pipe(Gr((t=>Ne(t).pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ye(r)?(e.pop(),function(t){return Vr(e,t,r)}):function(t){return Vr(e,t)}}(Wo),Ke(((t,r)=>t!==Wo?Nr(t.viewProvider.provideView(e)).pipe(Kr(null),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Xe(e);return[{message:t,name:r,stack:n}]})),S((e=>({id:t.id,view:e,index:r})))):st(Wo)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new $o(e,t,r))}}(((e,t)=>{if(t===Wo)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),S((e=>e.filter(F(N,U("view",M(j(null))))))))}class zo{constructor(e,t){this.index=e,this.remainder=t}}class qo{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}getCount(){return this.values.length}insertValues(e,t){e=Qo(e);const r=this.values,n=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(r.length+o),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Qo(e),t=Qo(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Qo(e),t=Qo(t);const r=this.values,n=this.prefixSum;if(e>=r.length)return!1;const o=r.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Qo(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,r=this.values.length-1,n=0,o=0,i=0;for(;t<=r;)if(n=t+(r-t)/2|0,o=this.prefixSum[n],i=o-this.values[n],e<i)r=n-1;else{if(!(e>=o))break;t=n+1}return new zo(n,e-i)}}const Yo=4294967295;function Qo(e){return e<0?0:e>Yo?Yo:0|e}const Xo=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class Zo{constructor(e){var t,r,n;n=null,(r="_lineStarts")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.model=e,this._eol=ei(e.text||""),this._lines=void 0!==e.text?e.text.split(this._eol):[],this.uri=this.model.uri,this.languageId=this.model.languageId,this.text=this.model.text}update({text:e}){this.model={...this.model,text:e},this._eol=ei(e||""),this._lines=void 0!==e?e.split(this._eol):[],this.text=e}offsetAt(e){return this.throwIfNoModelText(),e=this.validatePosition(e),this.lineStarts.getAccumulatedValue(e.line-1)+e.character}positionAt(e){this.throwIfNoModelText(),e=Math.floor(e),e=Math.max(0,e);const t=this.lineStarts.getIndexOf(e),r=this._lines[t.index].length,n=Math.min(t.remainder,r);return new gr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof gr.Position))throw new TypeError("invalid argument");let{line:t,character:r}=e,n=!1;if(t<0)t=0,r=0,n=!0;else if(t>=this._lines.length)t=this._lines.length-1,r=this._lines[t].length,n=!0;else{const e=this._lines[t].length;r<0?(r=0,n=!0):r>e&&(r=e,n=!0)}return n?new gr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof gr.Range))throw new TypeError("invalid argument");const t=this.validatePosition(e.start),r=this.validatePosition(e.end);return t===e.start&&r===e.end?e:new gr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(Xo.lastIndex=0,!Xo.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(Xo.lastIndex=r;;){const r=Xo.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&Xo.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:Xo.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new gr.Range(e.line,t.startColumn,e.line,t.endColumn)}getText(e){if(this.throwIfNoModelText(),!(e=e?this.validateRange(e):void 0))return this.text;const{start:t,end:r}=e;if(t.line===r.line)return this._lines[t.line].slice(t.character,r.character);let n="";for(let e=t.line;e<=r.line;e++)e===t.line?n+=this._lines[e].slice(t.character):e===r.line?n+=this._lines[e].slice(0,r.character):n+=this._lines[e];return n}get lineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let n=0;n<t;n++)r[n]=this._lines[n].length+e;this._lineStarts=new qo(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function ei(e){for(let t=0;t<e.length;t++){const r=e.charAt(t);if("\r"===r)return t+1<e.length&&"\n"===e.charAt(t+1)?"\r\n":"\r";if("\n"===r)return"\n"}return"\n"}function ti(e){return new gr.Position(e.line,e.character)}function ri(e){return{uri:e.uri.href,range:ni(e.range),aggregableBadges:e.aggregableBadges}}function ni(e){if(e)return e instanceof gr.Range?e.toJSON():e}class oi{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function ii(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function si(e){const t=t=>{const r=e.textDocuments.get(t);if(!r)throw new Error(`Text document does not exist with URI ${t}`);return r},r=t=>{const r=e.viewComponents.get(t);if(!r)throw new li(t);return r};return{haveInitialExtensionsLoaded:()=>Rr(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>Rr(e.roots.pipe(S((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new oi(t)])),e.rootChanges.next()},removeWorkspaceRoot:t=>{e.roots.next(Object.freeze(e.roots.value.filter((e=>e.uri.href!==t)))),e.rootChanges.next()},setVersionContext:t=>{e.versionContext=t,e.versionContextChanges.next(t)},setSearchContext:t=>{e.searchContext=t,e.searchContextChanges.next(t)},transformSearchQuery:t=>Rr(e.queryTransformers.pipe(Gr((e=>e.reduce(((e,t)=>e.pipe(Ke((e=>{const r=t.transformQuery(e);return r instanceof Promise?Ne(r):st(r)})))),st(t)))))),getHover:r=>{const n=t(r.textDocument.uri),o=ti(r.position);return Rr(ci(e.hoverProviders,(e=>ai(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,o)),(e=>function(e){const t=[],r=[],n=new Map;let o;for(const s of e)if(s){var i;null!==(i=s.contents)&&void 0!==i&&i.value&&t.push({value:s.contents.value,kind:s.contents.kind||gr.MarkupKind.PlainText}),s.alerts&&r.push(...s.alerts);for(const e of s.aggregableBadges||[])n.set(e.text,e);s.range&&!o&&(o=s.range instanceof gr.Range?s.range.toPlain():s.range)}return 0===t.length?null:{contents:t,alerts:r,...o?{range:o}:{},aggregatedBadges:[...n.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(ui(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),o=ti(r.position);return Rr(ci(e.documentHighlightProviders,(e=>ai(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,o)),ui).pipe(S((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),o=ti(r.position);return Rr(ci(e.definitionProviders,(e=>ai(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,o)),(e=>ui(e).map(ri))))},getReferences:(r,n)=>{const o=t(r.textDocument.uri),i=ti(r.position);return Rr(ci(e.referenceProviders,(e=>ai(o,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(o,i,n)),(e=>ui(e).map(ri))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return Rr(e.referenceProviders.pipe(S((e=>0!==ai(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const o=t(n.textDocument.uri),i=ti(n.position);return Rr(ci(e.locationProviders,(e=>ai(o,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(o,i)),(e=>ui(e).map(ri))))},getFileDecorations:t=>Rr(0===t.files.length?A:ci(e.fileDecorationProviders,Ir(),(e=>e.provideFileDecorations(t)),ui).pipe(S((({result:e})=>Dr()(e.filter(Sr),(({uri:e})=>jo(e).filePath||e)))))),addViewerIfNotExists:r=>{const n="viewer#"+e.lastViewerId++;let o;switch("CodeEditor"===r.type&&e.modelReferences.increment(r.resource),r.type){case"CodeEditor":{const e=t(r.resource);o=new _r({...r,viewerId:n},e);break}case"DirectoryViewer":o=new Ho({...r,viewerId:n})}return e.viewComponents.set(n,o),r.isActive&&e.activeViewComponentChanges.next(o),e.viewerUpdates.next({viewerId:n,action:"addition",type:r.type}),{viewerId:n}},removeViewer:({viewerId:n})=>{var o;const i=r(n);e.viewComponents.delete(n),(null===(o=e.activeViewComponentChanges.value)||void 0===o?void 0:o.viewerId)===n&&e.activeViewComponentChanges.next(void 0),e.viewerUpdates.next({viewerId:n,action:"removal",type:i.type}),"CodeEditor"===i.type&&e.modelReferences.decrement(i.resource)&&(r=>{const n=t(r);e.textDocuments.delete(r),e.languageReferences.decrement(n.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))})(i.resource)},viewerUpdates:()=>Rr(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);fi(n,"CodeEditor"),n.update({selections:t})},getTextDecorations:({viewerId:e})=>{const t=r(e);return fi(t,"CodeEditor"),Rr(t.mergedDecorations)},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new Zo(t);e.textDocuments.set(t.uri,r),e.openedTextDocuments.next(r),e.languageReferences.increment(t.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))},getActiveCodeEditorPosition:()=>Rr(e.activeViewComponentChanges.pipe(Gr((e=>"CodeEditor"!==(null==e?void 0:e.type)?st(null):e.selectionsChanges.pipe(S((t=>{const r=t[0];if(!r)return null;return r.start.line===r.end.line&&r.start.character===r.end.character&&-1===r.start.character?null:{textDocument:{uri:e.resource},position:{line:r.start.line,character:r.start.character}}}))))))),updateContext:t=>yi(t,e),registerContributions:t=>{const r=Yt(t);return re(ii(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:o}={})=>Rr(ke([e.contributions,e.activeViewComponentChanges.pipe(S((e=>{if(e)switch(e.type){case"CodeEditor":{const{languageId:r}=t(e.resource);return Object.assign(e,{model:{languageId:r}})}case"DirectoryViewer":return e}}))),e.settings,e.context]).pipe(S((([e,t,i,s])=>{n&&(s={...s,...n});const a=Go(t,i,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&At()(t.menus,(t=>null==t?void 0:t.map((t=>({...t,when:t.when&&!!t.when.exec(e)}))))),actions:qt(e,t.actions)}}(a,e);return o?t:function(e){return e.menus?{...e,menus:At()(e.menus,(e=>null==e?void 0:e.filter((e=>!1!==e.when))))}:e}(t)}catch(t){return console.log("Discarding contributions: evaluating expressions or templates failed.",{contributions:e,error:t}),{}}}))})),S(zt),Fe(xr()))),getPlainNotifications:()=>Rr(e.plainNotifications.asObservable()),getProgressNotifications:()=>Rr(e.progressNotifications.asObservable()),getPanelViews:()=>Rr(e.panelViews.pipe(Gr((e=>ke([...e]))),pr(0))),getInsightViewById:(t,r)=>Rr(e.insightsPageViewProviders.pipe(Gr((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?Nr(n.viewProvider.provideView(r)):at(new Error(`Couldn't find view with id ${t}`))})),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Xe(e);return st({message:t,name:r,stack:n})})),S((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),o=t.pipe(S((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),pr(0));return Rr(Jo(e,o))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>Rr(pi(t,e.homepageViewProviders)),getDirectoryViews:t=>Rr(pi({viewer:{...t.viewer,directory:{...t.viewer.directory,uri:new URL(t.viewer.directory.uri)}},workspace:{uri:new URL(t.workspace.uri)}},e.directoryViewProviders)),getGlobalPageViews:t=>Rr(pi(t,e.globalPageViewProviders)),getStatusBarItems:({viewerId:e})=>{const t=r(e);return"CodeEditor"!==t.type?Rr(A):Rr(t.mergedStatusBarItems.pipe(pr(0),S((e=>e.sort(((e,t)=>e.text[0].toLowerCase().charCodeAt(0)-t.text[0].toLowerCase().charCodeAt(0)))))))},getLinkPreviews:t=>Rr(ci(e.linkPreviewProviders,(e=>e.filter((e=>t.startsWith(e.urlMatchPattern)))),(({provider:e})=>e.provideLinkPreview(new URL(t))),(e=>function(e){const t=e.filter(N).filter((e=>"loading"!==e)),r=t.filter(U("content",N)),n=t.filter(U("hover",N));if(0===n.length&&0===r.length)return null;return{content:r.map((({content:e})=>e)),hover:n.map((({hover:e})=>e))}}(e))).pipe(S((e=>e.isLoading?null:e.result)))),getActiveExtensions:()=>Rr(e.activeExtensions)}}function ai(e,t,r){return t.filter((t=>Uo(r(t),{uri:e.uri,languageId:Qr(jo(e.uri).filePath||"")})))}function ci(e,t,r,n,o=!0){const i=(...e)=>{o&&console.error("Provider errored:",...e)};return e.pipe(S((e=>t(e))),Gr((e=>yn(e.map((e=>Vr([zr],Nr((e=>{try{return r(e)}catch(e){return i(e),null}})(e)).pipe(Kr(null),ze((e=>(i(e),[null]))))))))))).pipe(Kr([]),S((e=>({isLoading:e.some((e=>e===zr)),result:n(e)}))),Fe(((e,t)=>xr()(e,t))))}function ui(e){return e.filter(M(j(zr))).flatMap(Fr()).filter(N)}class li extends Error{constructor(e){var t,r,n;super(`Viewer not found: ${e}`),n="ViewerNotFoundError",(r="name")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}}function fi(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}function pi(e,t){return t.pipe(pr(0),Gr((t=>ke([st(null),...t.map((({viewProvider:t,id:r})=>Vr([void 0],Nr(t.provideView(e)).pipe(Kr(null),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Xe(e);return[{message:t,name:r,stack:n}]})))).pipe(S((e=>({id:r,view:e}))))))]))),S((e=>e.filter(F(N,U("view",M(j(null))))))))}const hi={Error:1,Warning:2,Info:3,Log:4,Success:5};function di(e,t,r){const n=Object.assign(e.settings.pipe(cr(void 0)),{get:()=>{const r=e.settings.value.final;return{value:r,get:e=>r[e],update:(e,r)=>t.applySettingsEdit({path:[e],value:r}),toJSON:()=>r}}}),o={get textDocuments(){return[...e.textDocuments.values()]},get roots(){return e.roots.value},get versionContext(){return e.versionContext},get searchContext(){return e.searchContext},onDidOpenTextDocument:e.openedTextDocuments.asObservable(),openedTextDocuments:e.openedTextDocuments.asObservable(),onDidChangeRoots:e.roots.pipe(cr(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:e.versionContextChanges.asObservable(),searchContextChanges:e.searchContextChanges.asObservable()},i=async t=>{const r=new pt(1);return e.progressNotifications.next(re({baseNotification:{message:t.title,type:hi.Log},progress:Rr(r.asObservable())})),{next:e=>{r.next(e)},error:e=>{const t=Xe(e);r.error({message:t.message,name:t.name,stack:t.stack})},complete:()=>{r.complete()}}},s={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return ar()(t,0).map((([,e])=>e))},get activeViewComponent(){return e.activeViewComponentChanges.value},activeViewComponentChanges:e.activeViewComponentChanges.asObservable(),showNotification:(t,r)=>{e.plainNotifications.next({message:t,type:r})},withProgress:async(e,t)=>{const r=await i(e);try{const e=t(r);return r.complete(),await e}catch(e){throw r.error(e),e}},showProgress:e=>i(e),showMessage:e=>t.showMessage(e),showInputBox:e=>t.showInputBox(e)},a={get activeWindow(){return s},activeWindowChanges:new ge(s).asObservable(),get windows(){return[s]},registerFileDecorationProvider:t=>ii(e.fileDecorationProviders,t),createPanelView:t=>{const r=new ge({id:t,title:"",content:"",component:null,priority:0}),n={get title(){return r.value.title},set title(e){r.next({...r.value,title:e})},get content(){return r.value.content},set content(e){r.next({...r.value,content:e})},get component(){return r.value.component},set component(e){r.next({...r.value,component:e})},get priority(){return r.value.priority},set priority(e){r.next({...r.value,priority:e})},unsubscribe:()=>{o.unsubscribe()}},o=ii(e.panelViews,r.pipe(pr(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return ii(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return ii(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return ii(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return ii(e.homepageViewProviders,{id:t,viewProvider:r})}},createDecorationType:wr,createStatusBarItemType:Tr,log:Tt()},c={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>ce(t.registerCommand(e,re(r)))},u={registerQueryTransformer:t=>ii(e.queryTransformers,t)},l={registerHoverProvider:(t,r)=>ii(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>ii(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>ii(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>ii(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>ii(e.locationProviders,{selector:r,provider:{id:t,provider:n}}),registerTypeDefinitionProvider:()=>(console.warn("sourcegraph.languages.registerTypeDefinitionProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerImplementationProvider:()=>(console.warn("sourcegraph.languages.registerImplementationProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerCompletionItemProvider:()=>(console.warn("sourcegraph.languages.registerCompletionItemProvider was removed."),{unsubscribe:()=>{}})},f={execute:(e,r)=>t.requestGraphQL(e,r)},p={registerLinkPreviewProvider:(t,r)=>ii(e.linkPreviewProviders,{urlMatchPattern:t,provider:r})};return function(i){return{URI:URL,Position:gr.Position,Range:gr.Range,Selection:gr.Selection,Location:gr.Location,MarkupKind:gr.MarkupKind,NotificationType:hi,DocumentHighlightKind:jr,app:{...a,log:(...r)=>{e.activeLoggers.has(i)&&t.logExtensionMessage(`\u{1f9e9} %c${i}`,"background-color: lightgrey;",...r).catch((e=>{console.error("Error sending extension message to main thread:",e)}))}},workspace:o,configuration:n,languages:l,search:u,commands:c,graphQL:f,content:p,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>yi(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}class vi{constructor(){var e,t,r;e=this,t="refCount",r=new Map,t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}increment(e){const t=this.refCount.get(e);return void 0===t?(this.refCount.set(e,1),!0):(this.refCount.set(e,t+1),!1)}decrement(e){const t=this.refCount.get(e);if(void 0===t)throw new Error(`No refCount for key: ${String(e)}`);return 1===t?(this.refCount.delete(e),!0):(this.refCount.set(e,t-1),!1)}keys(){return this.refCount.keys()}delete(e){return this.refCount.delete(e)}}function gi(e){const t=new p;let r=!1;return{unsubscribe:()=>t.unsubscribe(),extensionAPI:new Promise((n=>{q((o=>{if(r)throw new Error("extension host is already initialized");r=!0;const{subscription:i,extensionAPI:s,extensionHostAPI:a}=function(e,t){const r=new p,{extensionAPI:n,extensionHostAPI:o,subscription:i}=function(e,t){const r=new p;!function(){const e={canHandle:ae,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};z.set("URL",e)}();const n=Q(t.proxy),o=function(e,t){const{activeLanguages:r,activeExtensions:n}=Xt(t);return{haveInitialExtensionsLoaded:new ge(!1),roots:new ge([]),rootChanges:new de,versionContextChanges:new de,versionContext:void 0,searchContextChanges:new de,searchContext:void 0,settings:new ge(e.initialSettings),queryTransformers:new ge([]),hoverProviders:new ge([]),documentHighlightProviders:new ge([]),definitionProviders:new ge([]),referenceProviders:new ge([]),locationProviders:new ge([]),fileDecorationProviders:new ge([]),context:new ge({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new ge([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new de,viewComponents:new Map,activeLanguages:r,languageReferences:new vi,modelReferences:new vi,activeViewComponentChanges:new ge(void 0),viewerUpdates:new de,plainNotifications:new pt(3),progressNotifications:new pt(3),panelViews:new ge([]),insightsPageViewProviders:new ge([]),homepageViewProviders:new ge([]),globalPageViewProviders:new ge([]),directoryViewProviders:new ge([]),linkPreviewProviders:new ge([]),activeExtensions:n,activeLoggers:new Set}}(e,n),i=si(o),s=di(o,n,e);r.add(er(o,n,s)),r.add(ir(o));const a={[H]:!0,ping:()=>"pong",...i},c=s("DEFAULT");return{extensionHostAPI:a,extensionAPI:c,subscription:r}}(t,e);return r.add(i),or(n),r.add((()=>{globalThis.require=()=>{throw new Error("require: Sourcegraph extension API was unsubscribed")}})),{subscription:r,extensionAPI:n,extensionHostAPI:o}}(e,o);return t.add(i),n(s),a}),e.expose)}))}}function yi(e,t){if(G()(t.context.value,e))return;const r={};for(const[n,o]of Object.entries(t.context.value))null!==e[n]&&(r[n]=o);for(const[t,n]of Object.entries(e))null!==n&&(r[t]=n);t.context.next(r)}const bi=e=>"object"==typeof e&&null!==e&&D("endpoints")(e)&&(e=>R()(e)&&D("proxy")(e)&&D("expose")(e)&&B(e.proxy)&&B(e.expose))(e.endpoints);!async function(){try{const e=await C(self,"message").pipe(function(e){return function(t){return 0===e?P():t.lift(new k(e))}}(1)).toPromise();if(!bi(e.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:t}=e.data,r=gi(t);self.addEventListener("unload",(()=>r.unsubscribe()))}catch(e){console.error("Error starting the extension host:",e),self.close()}}()})()})();
|
|
1
|
+
(()=>{var e={9913:()=>{},2366:()=>{},8703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarkupKind={PlainText:"plaintext",Markdown:"markdown"},t.NotificationType={Error:1,Warning:2,Info:3,Log:4,Success:5},t.DocumentHighlightKind={Text:"text",Read:"read",Write:"write"}},8337:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.illegalArgument=function(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}},8838:(e,t,r)=>{"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),n(r(1350)),n(r(4554)),n(r(3353)),n(r(1483)),n(r(8703))},1350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),o=r(3353),i=r(4776);class s{constructor(e,t){if(this.uri=e,t)if(t instanceof o.Range)this.range=t;else{if(!(t instanceof n.Position))throw new Error("Illegal argument");this.range=new o.Range(t,t)}else;}static isLocation(e){return e instanceof s||!!e&&(o.Range.isRange(e.range)&&i.isURL(e.uri))}toJSON(){return{uri:this.uri,range:this.range}}}t.Location=s},4554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337);class o{static min(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isBefore(t)&&(t=r);return t}}static max(...e){let t=e.pop();if(void 0!==t){for(const r of e)r.isAfter(t)&&(t=r);return t}}static isPosition(e){if(!e)return!1;if(e instanceof o)return!0;const{line:t,character:r}=e;return"number"==typeof t&&"number"==typeof r}get line(){return this._line}get character(){return this._character}constructor(e,t){if(e<0)throw n.illegalArgument("line must be non-negative");if(t<0)throw n.illegalArgument("character must be non-negative");this._line=e,this._character=t}isBefore(e){return this._line<e.line||!(e.line<this._line)&&this._character<e.character}isBeforeOrEqual(e){return this._line<e.line||!(e.line<this._line)&&this._character<=e.character}isAfter(e){return!this.isBeforeOrEqual(e)}isAfterOrEqual(e){return!this.isBefore(e)}isEqual(e){return this._line===e.line&&this._character===e.character}compareTo(e){return this._line<e.line?-1:this._line>e.line?1:this._character<e.character?-1:this._character>e.character?1:0}translate(e,t=0){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=0:"number"==typeof e?r=e:(r="number"==typeof e.lineDelta?e.lineDelta:0,t="number"==typeof e.characterDelta?e.characterDelta:0),0===r&&0===t?this:new o(this.line+r,this.character+t)}with(e,t=this.character){if(null===e||null===t)throw n.illegalArgument();let r;return void 0===e?r=this.line:"number"==typeof e?r=e:(r="number"==typeof e.line?e.line:this.line,t="number"==typeof e.character?e.character:this.character),r===this.line&&t===this.character?this:new o(r,t)}toJSON(){return{line:this.line,character:this.character}}}t.Position=o},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337),o=r(4554);class i{static isRange(e){return e instanceof i||!!e&&(o.Position.isPosition(e.start)&&o.Position.isPosition(e.end))}get start(){return this._start}get end(){return this._end}constructor(e,t,r,n){let i,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n?(i=new o.Position(e,t),s=new o.Position(r,n)):e instanceof o.Position&&t instanceof o.Position&&(i=e,s=t),!i||!s)throw new Error("Invalid arguments");i.isBefore(s)?(this._start=i,this._end=s):(this._start=s,this._end=i)}contains(e){return e instanceof i?this.contains(e._start)&&this.contains(e._end):e instanceof o.Position&&(!e.isBefore(this._start)&&!this._end.isBefore(e))}isEqual(e){return this._start.isEqual(e.start)&&this._end.isEqual(e.end)}intersection(e){const t=o.Position.max(e.start,this._start),r=o.Position.min(e.end,this._end);if(!t.isAfter(r))return new i(t,r)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=o.Position.min(e.start,this._start),r=o.Position.max(e.end,this.end);return new i(t,r)}get isEmpty(){return this._start.isEqual(this._end)}get isSingleLine(){return this._start.line===this._end.line}with(e,t=this.end){if(null===e||null===t)throw n.illegalArgument();let r;return e?o.Position.isPosition(e)?r=e:(r=e.start||this.start,t=e.end||this.end):r=this.start,r.isEqual(this._start)&&t.isEqual(this.end)?this:new i(r,t)}toJSON(){return{start:this._start.toJSON(),end:this._end.toJSON()}}toPlain(){return{start:{line:this._start.line,character:this._start.character},end:{line:this._end.line,character:this._end.character}}}static fromPlain(e){return new i(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Range=i},1483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),o=r(3353);class i extends o.Range{static isSelection(e){return e instanceof i||!!e&&(o.Range.isRange(e)&&n.Position.isPosition(e.anchor)&&n.Position.isPosition(e.active)&&"boolean"==typeof e.isReversed)}get anchor(){return this._anchor}get active(){return this._active}constructor(e,t,r,o){let i,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof o?(i=new n.Position(e,t),s=new n.Position(r,o)):e instanceof n.Position&&t instanceof n.Position&&(i=e,s=t),!i||!s)throw new Error("Invalid arguments");super(i,s),this._anchor=i,this._active=s}get isReversed(){return this._anchor===this._end}toJSON(){return{start:this.start,end:this.end,active:this.active,anchor:this.anchor}}toPlain(){return Object.assign({},super.toPlain(),{anchor:this.anchor.toJSON(),active:this.active.toJSON(),isReversed:this.isReversed})}static fromPlain(e){return e.isReversed?new i(e.end.line,e.end.character,e.start.line,e.start.character):new i(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Selection=i},4776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},1635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5031),o=r(9764);function i(e,t,r,o,i){for(var a,c=n.parseTree(e,[]),u=void 0,l=void 0;t.length>0&&(l=t.pop(),void 0===(u=n.findNodeAtLocation(c,t))&&void 0!==r);)"string"==typeof l?((a={})[l]=r,r=a):r=[r];if(u){if("object"===u.type&&"string"==typeof l&&Array.isArray(u.children)){var f=n.findNodeAtLocation(u,[l]);if(void 0!==f){if(void 0===r){if(!f.parent)throw new Error("Malformed AST");var p=u.children.indexOf(f.parent),h=void 0,d=f.parent.offset+f.parent.length;if(p>0)h=(x=u.children[p-1]).offset+x.length;else if(h=u.offset+1,u.children.length>1)d=u.children[1].offset;return s(e,{offset:h,length:d-h,content:""},o)}return s(e,{offset:f.offset,length:f.length,content:JSON.stringify(r)},o)}if(void 0===r)return[];var v=JSON.stringify(l)+": "+JSON.stringify(r),g=i?i(u.children.map((function(e){return e.children[0].value}))):u.children.length,y=void 0;return s(e,y=g>0?{offset:(x=u.children[g-1]).offset+x.length,length:0,content:","+v}:0===u.children.length?{offset:u.offset+1,length:0,content:v}:{offset:u.offset+1,length:0,content:v+","},o)}if("array"===u.type&&"number"==typeof l&&Array.isArray(u.children)){if(-1===l){v=""+JSON.stringify(r),y=void 0;if(0===u.children.length)y={offset:u.offset+1,length:0,content:v};else y={offset:(x=u.children[u.children.length-1]).offset+x.length,length:0,content:","+v};return s(e,y,o)}if(void 0===r&&u.children.length>=0){var b=l,m=u.children[b];y=void 0;if(1===u.children.length)y={offset:u.offset+1,length:u.length-2,content:""};else if(u.children.length-1===b){var x,w=(x=u.children[b-1]).offset+x.length;y={offset:w,length:u.offset+u.length-2-w,content:""}}else y={offset:m.offset,length:u.children[b+1].offset-m.offset,content:""};return s(e,y,o)}throw new Error("Array modification not supported yet")}throw new Error("Can not add "+("number"!=typeof l?"index":"property")+" to parent of type "+u.type)}if(void 0===r)throw new Error("Can not delete in empty document");return s(e,{offset:c?c.offset:0,length:c?c.length:0,content:JSON.stringify(r)},o)}function s(e,t,r){var n=a(e,t),i=t.offset,s=t.offset+t.content.length;if(0===t.length||0===t.content.length){for(;i>0&&!o.isEOL(n,i-1);)i--;for(;s<n.length&&!o.isEOL(n,s);)s++}for(var c=o.format(n,{offset:i,length:s-i},r),u=c.length-1;u>=0;u--){var l=c[u];n=a(n,l),i=Math.min(i,l.offset),s=Math.max(s,l.offset+l.length),s+=l.content.length-l.length}return[{offset:i,length:e.length-(n.length-s)-i,content:n.substring(i,s)}]}function a(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}t.removeProperty=function(e,t,r){return i(e,t,void 0,r)},t.setProperty=i,t.applyEdit=a,t.isWS=function(e,t){return-1!=="\r\n \t".indexOf(e.charAt(t))}},9764:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5031);function o(e,t){for(var r="",n=0;n<t;n++)r+=e;return r}function i(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}t.format=function(e,t,r){var s,a,c,u,l;if(t){for(u=t.offset,l=u+t.length,c=u;c>0&&!i(e,c-1);)c--;for(var f=l;f<e.length&&!i(e,f);)f++;a=e.substring(c,f),s=function(e,t,r){var n=0,o=0,i=r.tabSize||4;for(;n<e.length;){var s=e.charAt(n);if(" "===s)o++;else{if("\t"!==s)break;o+=i}n++}return Math.floor(o/i)}(a,0,r)}else a=e,s=0,c=0,u=0,l=e.length;var p,h=function(e,t){for(var r=0;r<t.length;r++){var n=t.charAt(r);if("\r"===n)return r+1<t.length&&"\n"===t.charAt(r+1)?"\r\n":"\r";if("\n"===n)return"\n"}return e&&e.eol||"\n"}(r,e),d=!1,v=0;p=r.insertSpaces?o(" ",r.tabSize):"\t";var g=n.createScanner(a,!1),y=!1;function b(){return h+o(p,s+v)}function m(){var e=g.scan();for(d=!1;e===n.SyntaxKind.Trivia||e===n.SyntaxKind.LineBreakTrivia;)d=d||e===n.SyntaxKind.LineBreakTrivia,e=g.scan();return y=e===n.SyntaxKind.Unknown||g.getTokenError()!==n.ScanError.None,e}var x=[];function w(t,r,n){!y&&r<l&&n>u&&e.substring(r,n)!==t&&x.push({offset:r,length:n-r,content:t})}var S=m();if(S!==n.SyntaxKind.EOF){var E=g.getTokenOffset()+c;w(o(p,s),c,E)}for(;S!==n.SyntaxKind.EOF;){for(var T=g.getTokenOffset()+g.getTokenLength()+c,C=m(),_="";!d&&(C===n.SyntaxKind.LineCommentTrivia||C===n.SyntaxKind.BlockCommentTrivia);){w(" ",T,g.getTokenOffset()+c),T=g.getTokenOffset()+g.getTokenLength()+c,_=C===n.SyntaxKind.LineCommentTrivia?b():"",C=m()}if(C===n.SyntaxKind.CloseBraceToken)S!==n.SyntaxKind.OpenBraceToken&&(v--,_=b());else if(C===n.SyntaxKind.CloseBracketToken)S!==n.SyntaxKind.OpenBracketToken&&(v--,_=b());else{switch(S){case n.SyntaxKind.OpenBracketToken:case n.SyntaxKind.OpenBraceToken:v++,_=b();break;case n.SyntaxKind.CommaToken:case n.SyntaxKind.LineCommentTrivia:_=b();break;case n.SyntaxKind.BlockCommentTrivia:_=d?b():" ";break;case n.SyntaxKind.ColonToken:_=" ";break;case n.SyntaxKind.StringLiteral:if(C===n.SyntaxKind.ColonToken){_="";break}case n.SyntaxKind.NullKeyword:case n.SyntaxKind.TrueKeyword:case n.SyntaxKind.FalseKeyword:case n.SyntaxKind.NumericLiteral:case n.SyntaxKind.CloseBraceToken:case n.SyntaxKind.CloseBracketToken:C===n.SyntaxKind.LineCommentTrivia||C===n.SyntaxKind.BlockCommentTrivia?_=" ":C!==n.SyntaxKind.CommaToken&&C!==n.SyntaxKind.EOF&&(y=!0);break;case n.SyntaxKind.Unknown:y=!0}!d||C!==n.SyntaxKind.LineCommentTrivia&&C!==n.SyntaxKind.BlockCommentTrivia||(_=b())}w(_,T,g.getTokenOffset()+c),S=C}return x},t.isEOL=i},5031:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o,i,s=r(9764),a=r(1635);function c(e,t){void 0===t&&(t=!1);var r=0,i=e.length,s="",a=0,c=o.Unknown,p=n.None;function h(t,n){for(var o=0,i=0;o<t||!n;){var s=e.charCodeAt(r);if(s>=48&&s<=57)i=16*i+s-48;else if(s>=65&&s<=70)i=16*i+s-65+10;else{if(!(s>=97&&s<=102))break;i=16*i+s-97+10}r++,o++}return o<t&&(i=-1),i}function d(){if(s="",p=n.None,a=r,r>=i)return a=i,c=o.EOF;var t=e.charCodeAt(r);if(u(t)){do{r++,s+=String.fromCharCode(t),t=e.charCodeAt(r)}while(u(t));return c=o.Trivia}if(l(t))return r++,s+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,s+="\n"),c=o.LineBreakTrivia;switch(t){case 123:return r++,c=o.OpenBraceToken;case 125:return r++,c=o.CloseBraceToken;case 91:return r++,c=o.OpenBracketToken;case 93:return r++,c=o.CloseBracketToken;case 58:return r++,c=o.ColonToken;case 44:return r++,c=o.CommaToken;case 34:return r++,s=function(){for(var t="",o=r;;){if(r>=i){t+=e.substring(o,r),p=n.UnexpectedEndOfString;break}var s=e.charCodeAt(r);if(34===s){t+=e.substring(o,r),r++;break}if(92!==s){if(s>=0&&s<=31){if(l(s)){t+=e.substring(o,r),p=n.UnexpectedEndOfString;break}p=n.InvalidCharacter}r++}else{if(t+=e.substring(o,r),++r>=i){p=n.UnexpectedEndOfString;break}switch(s=e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=h(4,!0);a>=0?t+=String.fromCharCode(a):p=n.InvalidUnicode;break;default:p=n.InvalidEscapeCharacter}o=r}}return t}(),c=o.StringLiteral;case 47:var d=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<i&&!l(e.charCodeAt(r));)r++;return s=e.substring(d,r),c=o.LineCommentTrivia}if(42===e.charCodeAt(r+1)){r+=2;for(var g=i-1,y=!1;r<g;){if(42===e.charCodeAt(r)&&47===e.charCodeAt(r+1)){r+=2,y=!0;break}r++}return y||(r++,p=n.UnexpectedEndOfComment),s=e.substring(d,r),c=o.BlockCommentTrivia}return s+=String.fromCharCode(t),r++,c=o.Unknown;case 45:if(s+=String.fromCharCode(t),++r===i||!f(e.charCodeAt(r)))return c=o.Unknown;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=function(){var t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&f(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&f(e.charCodeAt(r))))return p=n.UnexpectedEndOfNumber,e.substring(t,r);for(r++;r<e.length&&f(e.charCodeAt(r));)r++}var o=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&f(e.charCodeAt(r))){for(r++;r<e.length&&f(e.charCodeAt(r));)r++;o=r}else p=n.UnexpectedEndOfNumber;return e.substring(t,o)}(),c=o.NumericLiteral;default:for(;r<i&&v(t);)r++,t=e.charCodeAt(r);if(a!==r){switch(s=e.substring(a,r)){case"true":return c=o.TrueKeyword;case"false":return c=o.FalseKeyword;case"null":return c=o.NullKeyword}return c=o.Unknown}return s+=String.fromCharCode(t),r++,c=o.Unknown}}function v(e){if(u(e)||l(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:return!1}return!0}return{setPosition:function(e){r=e,s="",a=0,c=o.Unknown,p=n.None},getPosition:function(){return r},scan:t?function(){var e;do{e=d()}while(e>=o.LineCommentTrivia&&e<=o.Trivia);return e}:d,getToken:function(){return c},getTokenValue:function(){return s},getTokenOffset:function(){return a},getTokenLength:function(){return r-a},getTokenError:function(){return p}}}function u(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function l(e){return 10===e||13===e||8232===e||8233===e}function f(e){return e>=48&&e<=57}function p(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}function h(e,t,r){var n=c(e,!1);function s(e){return e?function(){return e(n.getTokenOffset(),n.getTokenLength())}:function(){return!0}}function a(e){return e?function(t){return e(t,n.getTokenOffset(),n.getTokenLength())}:function(){return!0}}var u=s(t.onObjectBegin),l=a(t.onObjectProperty),f=s(t.onObjectEnd),p=s(t.onArrayBegin),h=s(t.onArrayEnd),d=a(t.onLiteralValue),v=a(t.onSeparator),g=a(t.onError),y=r&&r.disallowComments,b=r&&r.allowTrailingComma;function m(){for(;;){var e=n.scan();switch(e){case o.LineCommentTrivia:case o.BlockCommentTrivia:y&&x(i.InvalidSymbol);break;case o.Unknown:x(i.InvalidSymbol);break;case o.Trivia:case o.LineBreakTrivia:break;default:return e}}}function x(e,t,r){if(void 0===t&&(t=[]),void 0===r&&(r=[]),g(e),t.length+r.length>0)for(var i=n.getToken();i!==o.EOF;){if(-1!==t.indexOf(i)){m();break}if(-1!==r.indexOf(i))break;i=m()}}function w(e){var t=n.getTokenValue();return e?d(t):l(t),m(),!0}function S(){switch(n.getToken()){case o.OpenBracketToken:return function(){p(),m();for(var e=!1;n.getToken()!==o.CloseBracketToken&&n.getToken()!==o.EOF;){if(n.getToken()===o.CommaToken){if(e||x(i.ValueExpected,[],[]),v(","),m(),n.getToken()===o.CloseBracketToken&&b)break}else e&&x(i.CommaExpected,[],[]);S()||x(i.ValueExpected,[],[o.CloseBracketToken,o.CommaToken]),e=!0}return h(),n.getToken()!==o.CloseBracketToken?x(i.CloseBracketExpected,[o.CloseBracketToken],[]):m(),!0}();case o.OpenBraceToken:return function(){u(),m();for(var e=!1;n.getToken()!==o.CloseBraceToken&&n.getToken()!==o.EOF;){if(n.getToken()===o.CommaToken){if(e||x(i.ValueExpected,[],[]),v(","),m(),n.getToken()===o.CloseBraceToken&&b)break}else e&&x(i.CommaExpected,[],[]);(n.getToken()!==o.StringLiteral?(x(i.PropertyNameExpected,[],[o.CloseBraceToken,o.CommaToken]),0):(w(!1),n.getToken()===o.ColonToken?(v(":"),m(),S()||x(i.ValueExpected,[],[o.CloseBraceToken,o.CommaToken])):x(i.ColonExpected,[],[o.CloseBraceToken,o.CommaToken]),1))||x(i.ValueExpected,[],[o.CloseBraceToken,o.CommaToken]),e=!0}return f(),n.getToken()!==o.CloseBraceToken?x(i.CloseBraceExpected,[o.CloseBraceToken],[]):m(),!0}();case o.StringLiteral:return w(!0);default:return function(){switch(n.getToken()){case o.NumericLiteral:var e=0;try{"number"!=typeof(e=JSON.parse(n.getTokenValue()))&&(x(i.InvalidNumberFormat),e=0)}catch(e){x(i.InvalidNumberFormat)}d(e);break;case o.NullKeyword:d(null);break;case o.TrueKeyword:d(!0);break;case o.FalseKeyword:d(!1);break;default:return!1}return m(),!0}()}}return m(),n.getToken()===o.EOF||(S()?(n.getToken()!==o.EOF&&x(i.EndOfFileExpected,[],[]),!0):(x(i.ValueExpected,[],[]),!1))}!function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"}(n=t.ScanError||(t.ScanError={})),function(e){e[e.Unknown=0]="Unknown",e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.EOF=16]="EOF"}(o=t.SyntaxKind||(t.SyntaxKind={})),t.createScanner=c,t.stripComments=function(e,t){var r,n,i=c(e),s=[],a=0;do{switch(n=i.getPosition(),r=i.scan()){case o.LineCommentTrivia:case o.BlockCommentTrivia:case o.EOF:a!==n&&s.push(e.substring(a,n)),void 0!==t&&s.push(i.getTokenValue().replace(/[^\r\n]/g,t)),a=i.getPosition()}}while(r!==o.EOF);return s.join("")},function(e){e[e.InvalidSymbol=0]="InvalidSymbol",e[e.InvalidNumberFormat=1]="InvalidNumberFormat",e[e.PropertyNameExpected=2]="PropertyNameExpected",e[e.ValueExpected=3]="ValueExpected",e[e.ColonExpected=4]="ColonExpected",e[e.CommaExpected=5]="CommaExpected",e[e.CloseBraceExpected=6]="CloseBraceExpected",e[e.CloseBracketExpected=7]="CloseBracketExpected",e[e.EndOfFileExpected=8]="EndOfFileExpected"}(i=t.ParseErrorCode||(t.ParseErrorCode={})),t.getLocation=function(e,t){var r=[],n=new Object,o=void 0,i={value:{},offset:0,length:0,type:"object"},s=!1;function a(e,t,r,n){i.value=e,i.offset=t,i.length=r,i.type=n,i.columnOffset=void 0,o=i}try{h(e,{onObjectBegin:function(e,i){if(t<=e)throw n;o=void 0,s=t>e,r.push("")},onObjectProperty:function(e,o,i){if(t<o)throw n;if(a(e,o,i,"property"),r[r.length-1]=e,t<=o+i)throw n},onObjectEnd:function(e,i){if(t<=e)throw n;o=void 0,r.pop()},onArrayBegin:function(e,i){if(t<=e)throw n;o=void 0,r.push(0)},onArrayEnd:function(e,i){if(t<=e)throw n;o=void 0,r.pop()},onLiteralValue:function(e,r,o){if(t<r)throw n;if(a(e,r,o,p(e)),t<=r+o)throw n},onSeparator:function(e,i,a){if(t<=i)throw n;if(":"===e&&o&&"property"===o.type)o.columnOffset=i,s=!1,o=void 0;else if(","===e){var c=r[r.length-1];"number"==typeof c?r[r.length-1]=c+1:(s=!0,r[r.length-1]=""),o=void 0}}})}catch(e){if(e!==n)throw e}return{path:r,previousNode:o,isAtPropertyKey:s,matches:function(e){for(var t=0,n=0;t<e.length&&n<r.length;n++)if(e[t]===r[n]||"*"===e[t])t++;else if("**"!==e[t])return!1;return t===e.length}}},t.parse=function(e,t,r){void 0===t&&(t=[]);var n=null,o=[],i=[];function s(e){Array.isArray(o)?o.push(e):n&&(o[n]=e)}return h(e,{onObjectBegin:function(){var e={};s(e),i.push(o),o=e,n=null},onObjectProperty:function(e){n=e},onObjectEnd:function(){o=i.pop()},onArrayBegin:function(){var e=[];s(e),i.push(o),o=e,n=null},onArrayEnd:function(){o=i.pop()},onLiteralValue:s,onError:function(e,r,n){t.push({error:e,offset:r,length:n})}},r),o[0]},t.parseTree=function(e,t,r){void 0===t&&(t=[]);var n={type:"array",offset:-1,length:-1,children:[]};function o(e){"property"===n.type&&(n.length=e-n.offset,n=n.parent)}function i(e){return n.children.push(e),e}h(e,{onObjectBegin:function(e){n=i({type:"object",offset:e,length:-1,parent:n,children:[]})},onObjectProperty:function(e,t,r){(n=i({type:"property",offset:t,length:-1,parent:n,children:[]})).children.push({type:"string",value:e,offset:t,length:r,parent:n})},onObjectEnd:function(e,t){n.length=e+t-n.offset,n=n.parent,o(e+t)},onArrayBegin:function(e,t){n=i({type:"array",offset:e,length:-1,parent:n,children:[]})},onArrayEnd:function(e,t){n.length=e+t-n.offset,n=n.parent,o(e+t)},onLiteralValue:function(e,t,r){i({type:p(e),offset:t,length:r,parent:n,value:e}),o(t+r)},onSeparator:function(e,t,r){"property"===n.type&&(":"===e?n.columnOffset=t:","===e&&o(t))},onError:function(e,r,n){t.push({error:e,offset:r,length:n})}},r);var s=n.children[0];return s&&delete s.parent,s},t.findNodeAtLocation=function(e,t){if(e){for(var r=e,n=0,o=t;n<o.length;n++){var i=o[n];if("string"==typeof i){if("object"!==r.type||!Array.isArray(r.children))return;for(var s=!1,a=0,c=r.children;a<c.length;a++){var u=c[a];if(Array.isArray(u.children)&&u.children[0].value===i){r=u.children[1],s=!0;break}}if(!s)return}else{var l=i;if("array"!==r.type||l<0||!Array.isArray(r.children)||l>=r.children.length)return;r=r.children[l]}}return r}},t.getNodeValue=function e(t){if("array"===t.type)return t.children.map(e);if("object"===t.type){for(var r=Object.create(null),n=0,o=t.children;n<o.length;n++){var i=o[n];r[i.children[0].value]=e(i.children[1])}return r}return t.value},t.visit=h,t.format=function(e,t,r){return s.format(e,t,r)},t.modify=function(e,t,r,n){return a.setProperty(e,t,r,n.formattingOptions,n.getInsertionIndex)},t.applyEdits=function(e,t){for(var r=t.length-1;r>=0;r--)e=a.applyEdit(e,t[r]);return e}},3535:e=>{"use strict";function t(e,t,o){e instanceof RegExp&&(e=r(e,o)),t instanceof RegExp&&(t=r(t,o));var i=n(e,t,o);return i&&{start:i[0],end:i[1],pre:o.slice(0,i[0]),body:o.slice(i[0]+e.length,i[1]),post:o.slice(i[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,o,i,s,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],i=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((o=n.pop())<i&&(i=o,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[i,s])}return a}e.exports=t,t.range=n},70:(e,t,r)=>{var n=r(7489),o=r(3535);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return y(function(e){return e.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}(e),!0).map(f)};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function f(e){return e.split(i).join("\\").split(s).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function p(e){if(!e)return[""];var t=[],r=o("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=p(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),t.push.apply(t,a),t}function h(e){return"{"+e+"}"}function d(e){return/^-?0\d/.test(e)}function v(e,t){return e<=t}function g(e,t){return e>=t}function y(e,t){var r=[],i=o("{","}",e);if(!i||/\$$/.test(i.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),f=c||u,b=i.body.indexOf(",")>=0;if(!f&&!b)return i.post.match(/,.*\}/)?y(e=i.pre+"{"+i.body+a+i.post):[e];if(f)s=i.body.split(/\.\./);else if(1===(s=p(i.body)).length&&1===(s=y(s[0],!1).map(h)).length)return(w=i.post.length?y(i.post,!1):[""]).map((function(e){return i.pre+s[0]+e}));var m,x=i.pre,w=i.post.length?y(i.post,!1):[""];if(f){var S=l(s[0]),E=l(s[1]),T=Math.max(s[0].length,s[1].length),C=3==s.length?Math.abs(l(s[2])):1,_=v;E<S&&(C*=-1,_=g);var A=s.some(d);m=[];for(var O=S;_(O,E);O+=C){var P;if(u)"\\"===(P=String.fromCharCode(O))&&(P="");else if(P=String(O),A){var k=T-P.length;if(k>0){var L=new Array(k+1).join("0");P=O<0?"-"+L+P.slice(1):L+P}}m.push(P)}}else m=n(s,(function(e){return y(e,!1)}));for(var I=0;I<m.length;I++)for(var R=0;R<w.length;R++){var N=x+m[I]+w[R];(!t||f||N)&&r.push(N)}return r}},7489:e=>{e.exports=function(e,r){for(var n=[],o=0;o<e.length;o++){var i=r(e[o],o);t(i)?n.push.apply(n,i):n.push(i)}return n};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},942:(e,t,r)=>{var n=r(9090),o=r(8283),i=r(8046),s=r(3414),a=i.data,c=i.normalize,u="USE_FUNCTION_CONSTRUCTOR",l="AsyncIteratorPrototype",f=function(e,t){if(o(e))for(var r=0;r<e.length;r++)a[c(e[r])]=t};e.exports=function(e){"object"==typeof e&&(f(e.useNative,i.NATIVE),f(e.usePolyfill,i.POLYFILL),f(e.useFeatureDetection,null),n(e,u)&&(s.USE_FUNCTION_CONSTRUCTOR=!!e.USE_FUNCTION_CONSTRUCTOR),n(e,l)&&(s.USE_FUNCTION_CONSTRUCTOR=e.AsyncIteratorPrototype))}},6555:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},5517:(e,t,r)=>{var n=r(1043);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},4634:(e,t,r)=>{var n=r(26),o=r(9692),i=r(6973),s=n("unscopables"),a=Array.prototype;null==a[s]&&i.f(a,s,{configurable:!0,value:o(null)}),e.exports=function(e){a[s][e]=!0}},6345:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},5511:(e,t,r)=>{var n=r(1043);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},2353:(e,t,r)=>{"use strict";var n=r(6365),o=r(6640),i=r(7655),s=r(3658),a=r(3310),c=r(3500),u=r(3706);e.exports=function(e){var t,r,l,f,p,h,d=o(e),v="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,b=void 0!==y,m=u(d),x=0;if(b&&(y=n(y,g>2?arguments[2]:void 0,2)),null==m||v==Array&&s(m))for(r=new v(t=a(d.length));t>x;x++)h=b?y(d[x],x):d[x],c(r,x,h);else for(p=(f=m.call(d)).next,r=new v;!(l=p.call(f)).done;x++)h=b?i(f,y,[l.value,x],!0):l.value,c(r,x,h);return r.length=x,r}},7830:(e,t,r)=>{var n=r(6603),o=r(3310),i=r(9211),s=function(e){return function(t,r,s){var a,c=n(t),u=o(c.length),l=i(s,u);if(e&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},7655:(e,t,r)=>{var n=r(5511),o=r(5772);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw o(e),t}}},4518:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},2796:(e,t,r)=>{var n=r(3026),o=r(4518),i=r(26)("toStringTag"),s="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:s?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},4327:(e,t,r)=>{var n=r(9090),o=r(8872),i=r(3276),s=r(6973);e.exports=function(e,t){for(var r=o(t),a=s.f,c=i.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||a(e,l,c(t,l))}}},6760:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},980:(e,t,r)=>{"use strict";var n=r(5592).IteratorPrototype,o=r(9692),i=r(5398),s=r(4198),a=r(2536),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),s(e,u,!1,!0),a[u]=c,e}},9382:(e,t,r)=>{var n=r(909),o=r(6973),i=r(5398);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5398:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},3500:(e,t,r)=>{"use strict";var n=r(1736),o=r(6973),i=r(5398);e.exports=function(e,t,r){var s=n(t);s in e?o.f(e,s,i(0,r)):e[s]=r}},2315:(e,t,r)=>{"use strict";var n=r(8646),o=r(980),i=r(1052),s=r(6907),a=r(4198),c=r(9382),u=r(4824),l=r(26),f=r(781),p=r(2536),h=r(5592),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y="keys",b="values",m="entries",x=function(){return this};e.exports=function(e,t,r,l,h,w,S){o(r,t,l);var E,T,C,_=function(e){if(e===h&&L)return L;if(!v&&e in P)return P[e];switch(e){case y:case b:case m:return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",O=!1,P=e.prototype,k=P[g]||P["@@iterator"]||h&&P[h],L=!v&&k||_(h),I="Array"==t&&P.entries||k;if(I&&(E=i(I.call(new e)),d!==Object.prototype&&E.next&&(f||i(E)===d||(s?s(E,d):"function"!=typeof E[g]&&c(E,g,x)),a(E,A,!0,!0),f&&(p[A]=x))),h==b&&k&&k.name!==b&&(O=!0,L=function(){return k.call(this)}),f&&!S||P[g]===L||c(P,g,L),p[t]=L,h)if(T={values:_(b),keys:w?L:_(y),entries:_(m)},S)for(C in T)(v||O||!(C in P))&&u(P,C,T[C]);else n({target:t,proto:!0,forced:v||O},T);return T}},6637:(e,t,r)=>{var n=r(4871),o=r(9090),i=r(5223),s=r(6973).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||s(t,e,{value:i.f(e)})}},909:(e,t,r)=>{var n=r(8898);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4764:(e,t,r)=>{var n=r(800),o=r(1043),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},9364:(e,t,r)=>{var n=r(7670);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},9040:(e,t,r)=>{var n=r(4518),o=r(800);e.exports="process"==n(o.process)},7670:(e,t,r)=>{var n=r(4817);e.exports=n("navigator","userAgent")||""},7903:(e,t,r)=>{var n,o,i=r(800),s=r(7670),a=i.process,c=a&&a.versions,u=c&&c.v8;u?o=(n=u.split("."))[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},1836:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8646:(e,t,r)=>{var n=r(800),o=r(3276).f,i=r(9382),s=r(4824),a=r(8697),c=r(4327),u=r(8046);e.exports=function(e,t){var r,l,f,p,h,d=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(h=o(r,l))&&h.value:r[l],!u(v?l:d+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),s(r,l,p,e)}}},8898:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6365:(e,t,r)=>{var n=r(6555);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},4817:(e,t,r)=>{var n=r(4871),o=r(800),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},3706:(e,t,r)=>{var n=r(2796),o=r(2536),i=r(26)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},8816:(e,t,r)=>{var n=r(5511),o=r(3706);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},800:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},9090:e=>{var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},555:e=>{e.exports={}},7876:(e,t,r)=>{var n=r(4817);e.exports=n("document","documentElement")},5393:(e,t,r)=>{var n=r(909),o=r(8898),i=r(4764);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4783:(e,t,r)=>{var n=r(8898),o=r(4518),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},735:(e,t,r)=>{var n=r(3414),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},4495:(e,t,r)=>{var n,o,i,s=r(7519),a=r(800),c=r(1043),u=r(9382),l=r(9090),f=r(3414),p=r(1544),h=r(555),d=a.WeakMap;if(s){var v=f.state||(f.state=new d),g=v.get,y=v.has,b=v.set;n=function(e,t){return t.facade=e,b.call(v,e,t),t},o=function(e){return g.call(v,e)||{}},i=function(e){return y.call(v,e)}}else{var m=p("state");h[m]=!0,n=function(e,t){return t.facade=e,u(e,m,t),t},o=function(e){return l(e,m)?e[m]:{}},i=function(e){return l(e,m)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},3658:(e,t,r)=>{var n=r(26),o=r(2536),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},8283:(e,t,r)=>{var n=r(4518);e.exports=Array.isArray||function(e){return"Array"==n(e)}},8046:(e,t,r)=>{var n=r(8898),o=/#|\.prototype\./,i=function(e,t){var r=a[s(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},1043:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},781:e=>{e.exports=!1},5772:(e,t,r)=>{var n=r(5511);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},5592:(e,t,r)=>{"use strict";var n,o,i,s=r(8898),a=r(1052),c=r(9382),u=r(9090),l=r(26),f=r(781),p=l("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):h=!0);var d=null==n||s((function(){var e={};return n[p].call(e)!==e}));d&&(n={}),f&&!d||u(n,p)||c(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},2536:e=>{e.exports={}},8654:(e,t,r)=>{var n=r(9040),o=r(7903),i=r(8898);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},9824:(e,t,r)=>{var n=r(8898),o=r(26),i=r(781),s=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},7519:(e,t,r)=>{var n=r(800),o=r(735),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},7738:(e,t,r)=>{"use strict";var n=r(909),o=r(8898),i=r(3555),s=r(2610),a=r(8858),c=r(6640),u=r(4783),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||i(l({},t)).join("")!=o}))?function(e,t){for(var r=c(e),o=arguments.length,l=1,f=s.f,p=a.f;o>l;)for(var h,d=u(arguments[l++]),v=f?i(d).concat(f(d)):i(d),g=v.length,y=0;g>y;)h=v[y++],n&&!p.call(d,h)||(r[h]=d[h]);return r}:l},9692:(e,t,r)=>{var n,o=r(5511),i=r(3110),s=r(1836),a=r(555),c=r(7876),u=r(4764),l=r(1544),f=l("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"</"+"script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var r=s.length;r--;)delete d.prototype[s[r]];return d()};a[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=o(e),r=new p,p.prototype=null,r[f]=e):r=d(),void 0===t?r:i(r,t)}},3110:(e,t,r)=>{var n=r(909),o=r(6973),i=r(5511),s=r(3555);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=s(t),a=n.length,c=0;a>c;)o.f(e,r=n[c++],t[r]);return e}},6973:(e,t,r)=>{var n=r(909),o=r(5393),i=r(5511),s=r(1736),a=Object.defineProperty;t.f=n?a:function(e,t,r){if(i(e),t=s(t,!0),i(r),o)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},3276:(e,t,r)=>{var n=r(909),o=r(8858),i=r(5398),s=r(6603),a=r(1736),c=r(9090),u=r(5393),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=s(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},2107:(e,t,r)=>{var n=r(7967),o=r(1836).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},2610:(e,t)=>{t.f=Object.getOwnPropertySymbols},1052:(e,t,r)=>{var n=r(9090),o=r(6640),i=r(1544),s=r(6760),a=i("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},7967:(e,t,r)=>{var n=r(9090),o=r(6603),i=r(7830).indexOf,s=r(555);e.exports=function(e,t){var r,a=o(e),c=0,u=[];for(r in a)!n(s,r)&&n(a,r)&&u.push(r);for(;t.length>c;)n(a,r=t[c++])&&(~i(u,r)||u.push(r));return u}},3555:(e,t,r)=>{var n=r(7967),o=r(1836);e.exports=Object.keys||function(e){return n(e,o)}},8858:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},6907:(e,t,r)=>{var n=r(5511),o=r(5517);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},8872:(e,t,r)=>{var n=r(4817),o=r(2107),i=r(2610),s=r(5511);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(s(e)),r=i.f;return r?t.concat(r(e)):t}},4871:(e,t,r)=>{var n=r(800);e.exports=n},4372:(e,t,r)=>{var n=r(4824);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},4824:(e,t,r)=>{var n=r(800),o=r(9382),i=r(9090),s=r(8697),a=r(735),c=r(4495),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,r,a){var c,u=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),(c=l(r)).source||(c.source=f.join("string"==typeof t?t:""))),e!==n?(u?!h&&e[t]&&(p=!0):delete e[t],p?e[t]=r:o(e,t,r)):p?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||a(this)}))},8401:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},8697:(e,t,r)=>{var n=r(800),o=r(9382);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},4198:(e,t,r)=>{var n=r(6973).f,o=r(9090),i=r(26)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},1544:(e,t,r)=>{var n=r(9829),o=r(9386),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},3414:(e,t,r)=>{var n=r(800),o=r(8697),i="__core-js_shared__",s=n[i]||o(i,{});e.exports=s},9829:(e,t,r)=>{var n=r(781),o=r(3414);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.0",mode:n?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},8214:(e,t,r)=>{var n=r(8605),o=r(8401),i=function(e){return function(t,r){var i,s,a=String(o(t)),c=n(r),u=a.length;return c<0||c>=u?e?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):i:e?a.slice(c,c+2):s-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},629:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,s=String.fromCharCode,a=function(e){return e+22+75*(e<26)},c=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},u=function(e){var r,n,u=[],l=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}(e)).length,f=128,p=0,h=72;for(r=0;r<e.length;r++)(n=e[r])<128&&u.push(s(n));var d=u.length,v=d;for(d&&u.push("-");v<l;){var g=t;for(r=0;r<e.length;r++)(n=e[r])>=f&&n<g&&(g=n);var y=v+1;if(g-f>i((t-p)/y))throw RangeError(o);for(p+=(g-f)*y,f=g,r=0;r<e.length;r++){if((n=e[r])<f&&++p>t)throw RangeError(o);if(n==f){for(var b=p,m=36;;m+=36){var x=m<=h?1:m>=h+26?26:m-h;if(b<x)break;var w=b-x,S=36-x;u.push(s(a(x+w%S))),b=i(w/S)}u.push(s(a(b))),h=c(p,y,v==d),p=0,++v}}++p,++f}return u.join("")};e.exports=function(e){var t,o,i=[],s=e.toLowerCase().replace(n,".").split(".");for(t=0;t<s.length;t++)o=s[t],i.push(r.test(o)?"xn--"+u(o):o);return i.join(".")}},5767:(e,t,r)=>{var n,o,i,s=r(800),a=r(8898),c=r(6365),u=r(7876),l=r(4764),f=r(9364),p=r(9040),h=s.location,d=s.setImmediate,v=s.clearImmediate,g=s.process,y=s.MessageChannel,b=s.Dispatch,m=0,x={},w="onreadystatechange",S=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},E=function(e){return function(){S(e)}},T=function(e){S(e.data)},C=function(e){s.postMessage(e+"",h.protocol+"//"+h.host)};d&&v||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return x[++m]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(m),m},v=function(e){delete x[e]},p?n=function(e){g.nextTick(E(e))}:b&&b.now?n=function(e){b.now(E(e))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=T,n=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&h&&"file:"!==h.protocol&&!a(C)?(n=C,s.addEventListener("message",T,!1)):n=w in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:d,clear:v}},9211:(e,t,r)=>{var n=r(8605),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},6603:(e,t,r)=>{var n=r(4783),o=r(8401);e.exports=function(e){return n(o(e))}},8605:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},3310:(e,t,r)=>{var n=r(8605),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},6640:(e,t,r)=>{var n=r(8401);e.exports=function(e){return Object(n(e))}},1736:(e,t,r)=>{var n=r(1043);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},3026:(e,t,r)=>{var n={};n[r(26)("toStringTag")]="z",e.exports="[object z]"===String(n)},9386:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},2674:(e,t,r)=>{var n=r(8654);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5223:(e,t,r)=>{var n=r(26);t.f=n},26:(e,t,r)=>{var n=r(800),o=r(9829),i=r(9090),s=r(9386),a=r(8654),c=r(2674),u=o("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)&&(a||"string"==typeof u[e])||(a&&i(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},2357:(e,t,r)=>{"use strict";var n=r(6603),o=r(4634),i=r(2536),s=r(4495),a=r(2315),c="Array Iterator",u=s.set,l=s.getterFor(c);e.exports=a(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1794:(e,t,r)=>{"use strict";var n=r(8214).charAt,o=r(4495),i=r(2315),s="String Iterator",a=o.set,c=o.getterFor(s);i(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},2588:(e,t,r)=>{r(6637)("observable")},5287:(e,t,r)=>{var n=r(8646),o=r(800),i=r(5767);n({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},8328:(e,t,r)=>{"use strict";r(2357);var n=r(8646),o=r(4817),i=r(9824),s=r(4824),a=r(4372),c=r(4198),u=r(980),l=r(4495),f=r(6345),p=r(9090),h=r(6365),d=r(2796),v=r(5511),g=r(1043),y=r(9692),b=r(5398),m=r(8816),x=r(3706),w=r(26),S=o("fetch"),E=o("Headers"),T=w("iterator"),C="URLSearchParams",_="URLSearchParamsIterator",A=l.set,O=l.getterFor(C),P=l.getterFor(_),k=/\+/g,L=Array(4),I=function(e){return L[e-1]||(L[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},R=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(k," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(I(r--),R);return t}},j=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return M[e]},U=function(e){return encodeURIComponent(e).replace(j,D)},F=function(e,t){if(t)for(var r,n,o=t.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),e.push({key:N(n.shift()),value:N(n.join("="))}))},B=function(e){this.entries.length=0,F(this.entries,e)},V=function(e,t){if(e<t)throw TypeError("Not enough arguments")},G=u((function(e,t){A(this,{type:_,iterator:m(O(e).entries),kind:t})}),"Iterator",(function(){var e=P(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){f(this,H,C);var e,t,r,n,o,i,s,a,c,u=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(A(l,{type:C,entries:h,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(g(u))if("function"==typeof(e=x(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((s=(i=(o=m(v(n.value))).next).call(o)).done||(a=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");h.push({key:s.value+"",value:a.value+""})}else for(c in u)p(u,c)&&h.push({key:c,value:u[c]+""});else F(h,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;a($,{append:function(e,t){V(arguments.length,2);var r=O(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){V(arguments.length,1);for(var t=O(this),r=t.entries,n=e+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;t.updateURL()},get:function(e){V(arguments.length,1);for(var t=O(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){V(arguments.length,1);for(var t=O(this).entries,r=e+"",n=[],o=0;o<t.length;o++)t[o].key===r&&n.push(t[o].value);return n},has:function(e){V(arguments.length,1);for(var t=O(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){V(arguments.length,1);for(var r,n=O(this),o=n.entries,i=!1,s=e+"",a=t+"",c=0;c<o.length;c++)(r=o[c]).key===s&&(i?o.splice(c--,1):(i=!0,r.value=a));i||o.push({key:s,value:a}),n.updateURL()},sort:function(){var e,t,r,n=O(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===r&&o.push(e)}n.updateURL()},forEach:function(e){for(var t,r=O(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new G(this,"keys")},values:function(){return new G(this,"values")},entries:function(){return new G(this,"entries")}},{enumerable:!0}),s($,T,$.entries),s($,"toString",(function(){for(var e,t=O(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(U(e.key)+"="+U(e.value));return r.join("&")}),{enumerable:!0}),c(H,C),n({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof S||"function"!=typeof E||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,d(r)===C&&((n=t.headers?new E(t.headers):new E).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:b(0,String(r)),headers:b(0,n)}))),o.push(t)),S.apply(this,o)}}),e.exports={URLSearchParams:H,getState:O}},9227:(e,t,r)=>{"use strict";r(1794);var n,o=r(8646),i=r(909),s=r(9824),a=r(800),c=r(3110),u=r(4824),l=r(6345),f=r(9090),p=r(7738),h=r(2353),d=r(8214).codeAt,v=r(629),g=r(4198),y=r(8328),b=r(4495),m=a.URL,x=y.URLSearchParams,w=y.getState,S=b.set,E=b.getterFor("URL"),T=Math.floor,C=Math.pow,_="Invalid scheme",A="Invalid host",O="Invalid port",P=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,L=/\d/,I=/^(0x|0X)/,R=/^[0-7]+$/,N=/^\d+$/,j=/^[\dA-Fa-f]+$/,M=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,D=/[\u0000\t\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\t\u000A\u000D]/g,B=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return A;if(!(r=G(t.slice(1,-1))))return A;e.host=r}else if(Y(e)){if(t=v(t),M.test(t))return A;if(null===(r=V(t)))return A;e.host=r}else{if(D.test(t))return A;for(r="",n=h(t),o=0;o<n.length;o++)r+=z(n[o],$);e.host=r}},V=function(e){var t,r,n,o,i,s,a,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=c[n]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=I.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)s=0;else{if(!(10==i?N:8==i?R:j).test(o))return e;s=parseInt(o,i)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=C(256,5-t))return null}else if(s>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*C(256,3-n);return a},G=function(e){var t,r,n,o,i,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=r=0;r<4&&j.test(p());)t=16*t+parseInt(p(),16),f++,r++;if("."==p()){if(0==r)return;if(f-=r,u>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;f++}if(!L.test(p()))return;for(;L.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[u]=256*c[u]+o,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(s=u-l,u=7;0!=u&&s>0;)a=c[u],c[u--]=c[l+s-1],c[l+--s]=a;else if(8!=u)return;return c},H=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=T(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},K=p({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),W=p({},K,{"#":1,"?":1,"{":1,"}":1}),J=p({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),z=function(e,t){var r=d(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(q,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var r;return 2==e.length&&P.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Z(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},oe={},ie={},se={},ae={},ce={},ue={},le={},fe={},pe={},he={},de={},ve={},ge={},ye={},be={},me={},xe={},we={},Se={},Ee={},Te=function(e,t,r,o){var i,s,a,c,u,l=r||ne,p=0,d="",v=!1,g=!1,y=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(F,""),i=h(t);p<=i.length;){switch(s=i[p],l){case ne:if(!s||!P.test(s)){if(r)return _;l=ie;continue}d+=s.toLowerCase(),l=oe;break;case oe:if(s&&(k.test(s)||"+"==s||"-"==s||"."==s))d+=s.toLowerCase();else{if(":"!=s){if(r)return _;d="",l=ie,p=0;continue}if(r&&(Y(e)!=f(q,d)||"file"==d&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,r)return void(Y(e)&&q[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?l=ge:Y(e)&&o&&o.scheme==e.scheme?l=se:Y(e)?l=le:"/"==i[p+1]?(l=ae,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=s)return _;if(o.cannotBeABaseURL&&"#"==s){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=Ee;break}l="file"==o.scheme?ge:ce;continue;case se:if("/"!=s||"/"!=i[p+1]){l=ce;continue}l=fe,p++;break;case ae:if("/"==s){l=pe;break}l=xe;continue;case ce:if(e.scheme=o.scheme,s==n)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==s||"\\"==s&&Y(e))l=ue;else if("?"==s)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=Se;else{if("#"!=s){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=xe;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=Ee}break;case ue:if(!Y(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=xe;continue}l=pe}else l=fe;break;case le:if(l=fe,"/"!=s||"/"!=d.charAt(p+1))continue;p++;break;case fe:if("/"!=s&&"\\"!=s){l=pe;continue}break;case pe:if("@"==s){v&&(d="%40"+d),v=!0,a=h(d);for(var b=0;b<a.length;b++){var m=a[b];if(":"!=m||y){var x=z(m,J);y?e.password+=x:e.username+=x}else y=!0}d=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&Y(e)){if(v&&""==d)return"Invalid authority";p-=h(d).length+1,d="",l=he}else d+=s;break;case he:case de:if(r&&"file"==e.scheme){l=be;continue}if(":"!=s||g){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&Y(e)){if(Y(e)&&""==d)return A;if(r&&""==d&&(Q(e)||null!==e.port))return;if(c=B(e,d))return c;if(d="",l=me,r)return;continue}"["==s?g=!0:"]"==s&&(g=!1),d+=s}else{if(""==d)return A;if(c=B(e,d))return c;if(d="",l=ve,r==de)return}break;case ve:if(!L.test(s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&Y(e)||r){if(""!=d){var w=parseInt(d,10);if(w>65535)return O;e.port=Y(e)&&w===q[e.scheme]?null:w,d=""}if(r)return;l=me;continue}return O}d+=s;break;case ge:if(e.scheme="file","/"==s||"\\"==s)l=ye;else{if(!o||"file"!=o.scheme){l=xe;continue}if(s==n)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==s)e.host=o.host,e.path=o.path.slice(),e.query="",l=Se;else{if("#"!=s){ee(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),l=xe;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=Ee}}break;case ye:if("/"==s||"\\"==s){l=be;break}o&&"file"==o.scheme&&!ee(i.slice(p).join(""))&&(Z(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=xe;continue;case be:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!r&&Z(d))l=xe;else if(""==d){if(e.host="",r)return;l=me}else{if(c=B(e,d))return c;if("localhost"==e.host&&(e.host=""),r)return;d="",l=me}continue}d+=s;break;case me:if(Y(e)){if(l=xe,"/"!=s&&"\\"!=s)continue}else if(r||"?"!=s)if(r||"#"!=s){if(s!=n&&(l=xe,"/"!=s))continue}else e.fragment="",l=Ee;else e.query="",l=Se;break;case xe:if(s==n||"/"==s||"\\"==s&&Y(e)||!r&&("?"==s||"#"==s)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==s||"\\"==s&&Y(e)||e.path.push("")):re(d)?"/"==s||"\\"==s&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(s==n||"?"==s||"#"==s))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==s?(e.query="",l=Se):"#"==s&&(e.fragment="",l=Ee)}else d+=z(s,W);break;case we:"?"==s?(e.query="",l=Se):"#"==s?(e.fragment="",l=Ee):s!=n&&(e.path[0]+=z(s,$));break;case Se:r||"#"!=s?s!=n&&("'"==s&&Y(e)?e.query+="%27":e.query+="#"==s?"%23":z(s,$)):(e.fragment="",l=Ee);break;case Ee:s!=n&&(e.fragment+=z(s,K))}p++}},Ce=function(e){var t,r,n=l(this,Ce,"URL"),o=arguments.length>1?arguments[1]:void 0,s=String(e),a=S(n,{type:"URL"});if(void 0!==o)if(o instanceof Ce)t=E(o);else if(r=Te(t={},String(o)))throw TypeError(r);if(r=Te(a,s,null,t))throw TypeError(r);var c=a.searchParams=new x,u=w(c);u.updateSearchParams(a.query),u.updateURL=function(){a.query=String(c)||null},i||(n.href=Ae.call(n),n.origin=Oe.call(n),n.protocol=Pe.call(n),n.username=ke.call(n),n.password=Le.call(n),n.host=Ie.call(n),n.hostname=Re.call(n),n.port=Ne.call(n),n.pathname=je.call(n),n.search=Me.call(n),n.searchParams=De.call(n),n.hash=Ue.call(n))},_e=Ce.prototype,Ae=function(){var e=E(this),t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==o?(u+="//",Q(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},Oe=function(){var e=E(this),t=e.scheme,r=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Pe=function(){return E(this).scheme+":"},ke=function(){return E(this).username},Le=function(){return E(this).password},Ie=function(){var e=E(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},Re=function(){var e=E(this).host;return null===e?"":H(e)},Ne=function(){var e=E(this).port;return null===e?"":String(e)},je=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},Ue=function(){var e=E(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(_e,{href:Fe(Ae,(function(e){var t=E(this),r=String(e),n=Te(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Fe(Oe),protocol:Fe(Pe,(function(e){var t=E(this);Te(t,String(e)+":",ne)})),username:Fe(ke,(function(e){var t=E(this),r=h(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=z(r[n],J)}})),password:Fe(Le,(function(e){var t=E(this),r=h(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=z(r[n],J)}})),host:Fe(Ie,(function(e){var t=E(this);t.cannotBeABaseURL||Te(t,String(e),he)})),hostname:Fe(Re,(function(e){var t=E(this);t.cannotBeABaseURL||Te(t,String(e),de)})),port:Fe(Ne,(function(e){var t=E(this);X(t)||(""==(e=String(e))?t.port=null:Te(t,e,ve))})),pathname:Fe(je,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Te(t,e+"",me))})),search:Fe(Me,(function(e){var t=E(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Te(t,e,Se)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Fe(De),hash:Fe(Ue,(function(e){var t=E(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Te(t,e,Ee)):t.fragment=null}))}),u(_e,"toJSON",(function(){return Ae.call(this)}),{enumerable:!0}),u(_e,"toString",(function(){return Ae.call(this)}),{enumerable:!0}),m){var Be=m.createObjectURL,Ve=m.revokeObjectURL;Be&&u(Ce,"createObjectURL",(function(e){return Be.apply(m,arguments)})),Ve&&u(Ce,"revokeObjectURL",(function(e){return Ve.apply(m,arguments)}))}g(Ce,"URL"),o({global:!0,forced:!s,sham:!i},{URL:Ce})},8981:(e,t,r)=>{var n=r(7791)(r(3478),"DataView");e.exports=n},8031:(e,t,r)=>{var n=r(5264),o=r(6778),i=r(8861),s=r(1867),a=r(9796);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},8289:(e,t,r)=>{var n=r(5249),o=r(4553),i=r(5104),s=r(17),a=r(5117);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},1063:(e,t,r)=>{var n=r(7791)(r(3478),"Map");e.exports=n},6484:(e,t,r)=>{var n=r(1409),o=r(6231),i=r(1963),s=r(8810),a=r(4960);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=s,c.prototype.set=a,e.exports=c},3366:(e,t,r)=>{var n=r(7791)(r(3478),"Promise");e.exports=n},1538:(e,t,r)=>{var n=r(7791)(r(3478),"Set");e.exports=n},8261:(e,t,r)=>{var n=r(6484),o=r(7538),i=r(5377);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,e.exports=s},5325:(e,t,r)=>{var n=r(8289),o=r(1849),i=r(9712),s=r(3077),a=r(2930),c=r(5518);function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=s,u.prototype.has=a,u.prototype.set=c,e.exports=u},1658:(e,t,r)=>{var n=r(3478).Symbol;e.exports=n},3467:(e,t,r)=>{var n=r(3478).Uint8Array;e.exports=n},4428:(e,t,r)=>{var n=r(7791)(r(3478),"WeakMap");e.exports=n},6797:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},7615:e=>{e.exports=function(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(n,s,r(s),e)}return n}},1321:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},6493:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var s=e[r];t(s,r,e)&&(i[o++]=s)}return i}},7079:(e,t,r)=>{var n=r(7748);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},8616:e=>{e.exports=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}},2932:(e,t,r)=>{var n=r(4079),o=r(7632),i=r(2615),s=r(28),a=r(5661),c=r(1653),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),l=!r&&o(e),f=!r&&!l&&s(e),p=!r&&!l&&!f&&c(e),h=r||l||f||p,d=h?n(e.length,String):[],v=d.length;for(var g in e)!t&&!u.call(e,g)||h&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,v))||d.push(g);return d}},7309:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},9676:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},4938:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},3780:(e,t,r)=>{var n=r(508),o=r(4865),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];i.call(e,t)&&o(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},2784:(e,t,r)=>{var n=r(4865);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8835:(e,t,r)=>{var n=r(9668);e.exports=function(e,t,r,o){return n(e,(function(e,n,i){t(o,e,r(e),i)})),o}},3585:(e,t,r)=>{var n=r(2654),o=r(2749);e.exports=function(e,t){return e&&n(t,o(t),e)}},4683:(e,t,r)=>{var n=r(2654),o=r(8530);e.exports=function(e,t){return e&&n(t,o(t),e)}},508:(e,t,r)=>{var n=r(6569);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},7864:(e,t,r)=>{var n=r(5325),o=r(1321),i=r(3780),s=r(3585),a=r(4683),c=r(1855),u=r(1176),l=r(9270),f=r(1751),p=r(294),h=r(671),d=r(6968),v=r(1381),g=r(8582),y=r(2375),b=r(2615),m=r(28),x=r(8866),w=r(8603),S=r(6159),E=r(2749),T=r(8530),C="[object Arguments]",_="[object Function]",A="[object Object]",O={};O[C]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[A]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[_]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,P,k,L,I){var R,N=1&r,j=2&r,M=4&r;if(P&&(R=L?P(t,k,L,I):P(t)),void 0!==R)return R;if(!w(t))return t;var D=b(t);if(D){if(R=v(t),!N)return u(t,R)}else{var U=d(t),F=U==_||"[object GeneratorFunction]"==U;if(m(t))return c(t,N);if(U==A||U==C||F&&!L){if(R=j||F?{}:y(t),!N)return j?f(t,a(R,t)):l(t,s(R,t))}else{if(!O[U])return L?t:{};R=g(t,U,N)}}I||(I=new n);var B=I.get(t);if(B)return B;I.set(t,R),S(t)?t.forEach((function(n){R.add(e(n,r,P,n,t,I))})):x(t)&&t.forEach((function(n,o){R.set(o,e(n,r,P,o,t,I))}));var V=D?void 0:(M?j?h:p:j?T:E)(t);return o(V||t,(function(n,o){V&&(n=t[o=n]),i(R,o,e(n,r,P,o,t,I))})),R}},7508:(e,t,r)=>{var n=r(8603),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},9668:(e,t,r)=>{var n=r(4330),o=r(4029)(n);e.exports=o},8969:e=>{e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},745:(e,t,r)=>{var n=r(9676),o=r(5143);e.exports=function e(t,r,i,s,a){var c=-1,u=t.length;for(i||(i=o),a||(a=[]);++c<u;){var l=t[c];r>0&&i(l)?r>1?e(l,r-1,i,s,a):n(a,l):s||(a[a.length]=l)}return a}},9387:(e,t,r)=>{var n=r(7889)();e.exports=n},4330:(e,t,r)=>{var n=r(9387),o=r(2749);e.exports=function(e,t){return e&&n(e,t,o)}},7614:(e,t,r)=>{var n=r(4853),o=r(9535);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},1714:(e,t,r)=>{var n=r(9676),o=r(2615);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},2085:(e,t,r)=>{var n=r(1658),o=r(1693),i=r(9191),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},9843:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7748:(e,t,r)=>{var n=r(8969),o=r(9136),i=r(6930);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},9618:(e,t,r)=>{var n=r(2085),o=r(9363);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},2706:(e,t,r)=>{var n=r(4978),o=r(9363);e.exports=function e(t,r,i,s,a){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,s,e,a))}},4978:(e,t,r)=>{var n=r(5325),o=r(6910),i=r(7163),s=r(1689),a=r(6968),c=r(2615),u=r(28),l=r(1653),f="[object Arguments]",p="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,g,y){var b=c(e),m=c(t),x=b?p:a(e),w=m?p:a(t),S=(x=x==f?h:x)==h,E=(w=w==f?h:w)==h,T=x==w;if(T&&u(e)){if(!u(t))return!1;b=!0,S=!1}if(T&&!S)return y||(y=new n),b||l(e)?o(e,t,r,v,g,y):i(e,t,x,r,v,g,y);if(!(1&r)){var C=S&&d.call(e,"__wrapped__"),_=E&&d.call(t,"__wrapped__");if(C||_){var A=C?e.value():e,O=_?t.value():t;return y||(y=new n),g(A,O,r,v,y)}}return!!T&&(y||(y=new n),s(e,t,r,v,g,y))}},7533:(e,t,r)=>{var n=r(6968),o=r(9363);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},8116:(e,t,r)=>{var n=r(5325),o=r(2706);e.exports=function(e,t,r,i){var s=r.length,a=s,c=!i;if(null==e)return!a;for(e=Object(e);s--;){var u=r[s];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++s<a;){var l=(u=r[s])[0],f=e[l],p=u[1];if(c&&u[2]){if(void 0===f&&!(l in e))return!1}else{var h=new n;if(i)var d=i(f,p,l,e,t,h);if(!(void 0===d?o(p,f,3,i,h):d))return!1}}return!0}},9136:e=>{e.exports=function(e){return e!=e}},697:(e,t,r)=>{var n=r(8911),o=r(6481),i=r(8603),s=r(8143),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:a).test(s(e))}},6941:(e,t,r)=>{var n=r(6968),o=r(9363);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},3677:(e,t,r)=>{var n=r(2085),o=r(2413),i=r(9363),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!s[n(e)]}},544:(e,t,r)=>{var n=r(5346),o=r(6572),i=r(672),s=r(2615),a=r(4272);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?o(e[0],e[1]):n(e):a(e)}},8819:(e,t,r)=>{var n=r(1105),o=r(7762),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2809:(e,t,r)=>{var n=r(8603),o=r(1105),i=r(6383),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&r.push(a);return r}},3671:(e,t,r)=>{var n=r(9668),o=r(9174);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}},5346:(e,t,r)=>{var n=r(8116),o=r(8676),i=r(7187);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},6572:(e,t,r)=>{var n=r(2706),o=r(5472),i=r(4170),s=r(6955),a=r(219),c=r(7187),u=r(9535);e.exports=function(e,t){return s(e)&&a(t)?c(u(e),t):function(r){var s=o(r,e);return void 0===s&&s===t?i(r,e):n(t,s,3)}}},840:(e,t,r)=>{var n=r(7309),o=r(7614),i=r(544),s=r(3671),a=r(7648),c=r(7888),u=r(4292),l=r(672),f=r(2615);e.exports=function(e,t,r){t=t.length?n(t,(function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[l];var p=-1;t=n(t,c(i));var h=s(e,(function(e,r,o){return{criteria:n(t,(function(t){return t(e)})),index:++p,value:e}}));return a(h,(function(e,t){return u(e,t,r)}))}},5898:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9916:(e,t,r)=>{var n=r(7614);e.exports=function(e){return function(t){return n(t,e)}}},1494:(e,t,r)=>{var n=r(672),o=r(5112),i=r(6618);e.exports=function(e,t){return i(o(e,t,n),e+"")}},3389:(e,t,r)=>{var n=r(7578),o=r(6569),i=r(672),s=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=s},7648:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},4079:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},9134:(e,t,r)=>{var n=r(1658),o=r(7309),i=r(2615),s=r(1365),a=n?n.prototype:void 0,c=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},7888:e=>{e.exports=function(e){return function(t){return e(t)}}},2744:(e,t,r)=>{var n=r(8261),o=r(7079),i=r(8616),s=r(9161),a=r(4438),c=r(1956);e.exports=function(e,t,r){var u=-1,l=o,f=e.length,p=!0,h=[],d=h;if(r)p=!1,l=i;else if(f>=200){var v=t?null:a(e);if(v)return c(v);p=!1,l=s,d=new n}else d=t?[]:h;e:for(;++u<f;){var g=e[u],y=t?t(g):g;if(g=r||0!==g?g:0,p&&y==y){for(var b=d.length;b--;)if(d[b]===y)continue e;t&&d.push(y),h.push(g)}else l(d,y,r)||(d!==h&&d.push(y),h.push(g))}return h}},9161:e=>{e.exports=function(e,t){return e.has(t)}},4853:(e,t,r)=>{var n=r(2615),o=r(6955),i=r(1229),s=r(7115);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(s(e))}},9474:(e,t,r)=>{var n=r(3467);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},1855:(e,t,r)=>{e=r.nmd(e);var n=r(3478),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}},6341:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},2564:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},5676:(e,t,r)=>{var n=r(1658),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},5464:(e,t,r)=>{var n=r(9474);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},3702:(e,t,r)=>{var n=r(1365);e.exports=function(e,t){if(e!==t){var r=void 0!==e,o=null===e,i=e==e,s=n(e),a=void 0!==t,c=null===t,u=t==t,l=n(t);if(!c&&!l&&!s&&e>t||s&&a&&u&&!c&&!l||o&&a&&u||!r&&u||!i)return 1;if(!o&&!s&&!l&&e<t||l&&r&&i&&!o&&!s||c&&r&&i||!a&&i||!u)return-1}return 0}},4292:(e,t,r)=>{var n=r(3702);e.exports=function(e,t,r){for(var o=-1,i=e.criteria,s=t.criteria,a=i.length,c=r.length;++o<a;){var u=n(i[o],s[o]);if(u)return o>=c?u:u*("desc"==r[o]?-1:1)}return e.index-t.index}},1176:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},2654:(e,t,r)=>{var n=r(3780),o=r(508);e.exports=function(e,t,r,i){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=i?i(r[u],e[u],u,r,e):void 0;void 0===l&&(l=e[u]),s?o(r,u,l):n(r,u,l)}return r}},9270:(e,t,r)=>{var n=r(2654),o=r(4868);e.exports=function(e,t){return n(e,o(e),t)}},1751:(e,t,r)=>{var n=r(2654),o=r(905);e.exports=function(e,t){return n(e,o(e),t)}},7037:(e,t,r)=>{var n=r(3478)["__core-js_shared__"];e.exports=n},3027:(e,t,r)=>{var n=r(7615),o=r(8835),i=r(544),s=r(2615);e.exports=function(e,t){return function(r,a){var c=s(r)?n:o,u=t?t():{};return c(r,e,i(a,2),u)}}},4029:(e,t,r)=>{var n=r(9174);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,s=t?i:-1,a=Object(r);(t?s--:++s<i)&&!1!==o(a[s],s,a););return r}}},7889:e=>{e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++o];if(!1===r(i[c],c,i))break}return t}}},4438:(e,t,r)=>{var n=r(1538),o=r(7021),i=r(1956),s=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=s},6569:(e,t,r)=>{var n=r(7791),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},6910:(e,t,r)=>{var n=r(8261),o=r(4938),i=r(9161);e.exports=function(e,t,r,s,a,c){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var d=-1,v=!0,g=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],b=t[d];if(s)var m=u?s(b,y,d,t,e,c):s(y,b,d,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(y===e||a(y,e,r,s,c)))return g.push(t)}))){v=!1;break}}else if(y!==b&&!a(y,b,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7163:(e,t,r)=>{var n=r(1658),o=r(3467),i=r(4865),s=r(6910),a=r(5695),c=r(1956),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var d=1&n;if(h||(h=c),e.size!=t.size&&!d)return!1;var v=p.get(e);if(v)return v==t;n|=2,p.set(e,t);var g=s(h(e),h(t),n,u,f,p);return p.delete(e),g;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1689:(e,t,r)=>{var n=r(294),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,s,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var f=l;f--;){var p=u[f];if(!(c?p in t:o.call(t,p)))return!1}var h=a.get(e),d=a.get(t);if(h&&d)return h==t&&d==e;var v=!0;a.set(e,t),a.set(t,e);for(var g=c;++f<l;){var y=e[p=u[f]],b=t[p];if(i)var m=c?i(b,y,p,t,e,a):i(y,b,p,e,t,a);if(!(void 0===m?y===b||s(y,b,r,i,a):m)){v=!1;break}g||(g="constructor"==p)}if(v&&!g){var x=e.constructor,w=t.constructor;x==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(v=!1)}return a.delete(e),a.delete(t),v}},521:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},294:(e,t,r)=>{var n=r(1714),o=r(4868),i=r(2749);e.exports=function(e){return n(e,i,o)}},671:(e,t,r)=>{var n=r(1714),o=r(905),i=r(8530);e.exports=function(e){return n(e,i,o)}},9768:(e,t,r)=>{var n=r(5348);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},8676:(e,t,r)=>{var n=r(219),o=r(2749);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],s=e[i];t[r]=[i,s,n(s)]}return t}},7791:(e,t,r)=>{var n=r(697),o=r(1430);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},6180:(e,t,r)=>{var n=r(7318)(Object.getPrototypeOf,Object);e.exports=n},1693:(e,t,r)=>{var n=r(1658),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var o=s.call(e);return n&&(t?e[a]=r:delete e[a]),o}},4868:(e,t,r)=>{var n=r(6493),o=r(7918),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return i.call(e,t)})))}:o;e.exports=a},905:(e,t,r)=>{var n=r(9676),o=r(6180),i=r(4868),s=r(7918),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:s;e.exports=a},6968:(e,t,r)=>{var n=r(8981),o=r(1063),i=r(3366),s=r(1538),a=r(4428),c=r(2085),u=r(8143),l="[object Map]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),g=u(o),y=u(i),b=u(s),m=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=d||o&&x(new o)!=l||i&&x(i.resolve())!=f||s&&x(new s)!=p||a&&x(new a)!=h)&&(x=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case v:return d;case g:return l;case y:return f;case b:return p;case m:return h}return t}),e.exports=x},1430:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},3587:(e,t,r)=>{var n=r(4853),o=r(7632),i=r(2615),s=r(5661),a=r(2413),c=r(9535);e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,f=!1;++u<l;){var p=c(t[u]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&a(l)&&s(p,l)&&(i(e)||o(e))}},5264:(e,t,r)=>{var n=r(8179);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},6778:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},8861:(e,t,r)=>{var n=r(8179),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},1867:(e,t,r)=>{var n=r(8179),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},9796:(e,t,r)=>{var n=r(8179);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},1381:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},8582:(e,t,r)=>{var n=r(9474),o=r(6341),i=r(2564),s=r(5676),a=r(5464);e.exports=function(e,t,r){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return i(e);case"[object Set]":return new c;case"[object Symbol]":return s(e)}}},2375:(e,t,r)=>{var n=r(7508),o=r(6180),i=r(1105);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},5143:(e,t,r)=>{var n=r(1658),o=r(7632),i=r(2615),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(s&&e&&e[s])}},5661:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},659:(e,t,r)=>{var n=r(4865),o=r(9174),i=r(5661),s=r(8603);e.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?o(r)&&i(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},6955:(e,t,r)=>{var n=r(2615),o=r(1365),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},5348:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},6481:(e,t,r)=>{var n,o=r(7037),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},1105:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},219:(e,t,r)=>{var n=r(8603);e.exports=function(e){return e==e&&!n(e)}},5249:e=>{e.exports=function(){this.__data__=[],this.size=0}},4553:(e,t,r)=>{var n=r(2784),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},5104:(e,t,r)=>{var n=r(2784);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},17:(e,t,r)=>{var n=r(2784);e.exports=function(e){return n(this.__data__,e)>-1}},5117:(e,t,r)=>{var n=r(2784);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},1409:(e,t,r)=>{var n=r(8031),o=r(8289),i=r(1063);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},6231:(e,t,r)=>{var n=r(9768);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},1963:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).get(e)}},8810:(e,t,r)=>{var n=r(9768);e.exports=function(e){return n(this,e).has(e)}},4960:(e,t,r)=>{var n=r(9768);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},5695:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},7187:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},7657:(e,t,r)=>{var n=r(5167);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},8179:(e,t,r)=>{var n=r(7791)(Object,"create");e.exports=n},7762:(e,t,r)=>{var n=r(7318)(Object.keys,Object);e.exports=n},6383:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6282:(e,t,r)=>{e=r.nmd(e);var n=r(521),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,s=i&&i.exports===o&&n.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},9191:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7318:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},5112:(e,t,r)=>{var n=r(6797),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=o(i.length-t,0),c=Array(a);++s<a;)c[s]=i[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=i[s];return u[t]=r(c),n(e,this,u)}}},3478:(e,t,r)=>{var n=r(521),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},7538:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},5377:e=>{e.exports=function(e){return this.__data__.has(e)}},1956:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},6618:(e,t,r)=>{var n=r(3389),o=r(7910)(n);e.exports=o},7910:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},1849:(e,t,r)=>{var n=r(8289);e.exports=function(){this.__data__=new n,this.size=0}},9712:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},3077:e=>{e.exports=function(e){return this.__data__.get(e)}},2930:e=>{e.exports=function(e){return this.__data__.has(e)}},5518:(e,t,r)=>{var n=r(8289),o=r(1063),i=r(6484);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(s)}return r.set(e,t),this.size=r.size,this}},6930:e=>{e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},1229:(e,t,r)=>{var n=r(7657),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=s},9535:(e,t,r)=>{var n=r(1365);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},8143:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},8202:(e,t,r)=>{var n=r(2615);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return n(e)?e:[e]}},4207:(e,t,r)=>{var n=r(7864);e.exports=function(e){return n(e,5)}},7578:e=>{e.exports=function(e){return function(){return e}}},4865:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5472:(e,t,r)=>{var n=r(7614);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},2497:(e,t,r)=>{var n=r(508),o=r(3027),i=Object.prototype.hasOwnProperty,s=o((function(e,t,r){i.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=s},4170:(e,t,r)=>{var n=r(9843),o=r(3587);e.exports=function(e,t){return null!=e&&o(e,t,n)}},672:e=>{e.exports=function(e){return e}},7632:(e,t,r)=>{var n=r(9618),o=r(9363),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=c},2615:e=>{var t=Array.isArray;e.exports=t},9174:(e,t,r)=>{var n=r(8911),o=r(2413);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},28:(e,t,r)=>{e=r.nmd(e);var n=r(3478),o=r(8338),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;e.exports=c},2164:(e,t,r)=>{var n=r(2706);e.exports=function(e,t){return n(e,t)}},8911:(e,t,r)=>{var n=r(2085),o=r(8603);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},2413:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8866:(e,t,r)=>{var n=r(7533),o=r(7888),i=r(6282),s=i&&i.isMap,a=s?o(s):n;e.exports=a},2452:(e,t,r)=>{var n=r(8116),o=r(8676);e.exports=function(e,t){return e===t||n(e,t,o(t))}},8603:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9363:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},8523:(e,t,r)=>{var n=r(2085),o=r(6180),i=r(9363),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},6159:(e,t,r)=>{var n=r(6941),o=r(7888),i=r(6282),s=i&&i.isSet,a=s?o(s):n;e.exports=a},1365:(e,t,r)=>{var n=r(2085),o=r(9363);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},1653:(e,t,r)=>{var n=r(3677),o=r(7888),i=r(6282),s=i&&i.isTypedArray,a=s?o(s):n;e.exports=a},2749:(e,t,r)=>{var n=r(2932),o=r(8819),i=r(9174);e.exports=function(e){return i(e)?n(e):o(e)}},8530:(e,t,r)=>{var n=r(2932),o=r(2809),i=r(9174);e.exports=function(e){return i(e)?n(e,!0):o(e)}},7831:(e,t,r)=>{var n=r(508),o=r(4330),i=r(544);e.exports=function(e,t){var r={};return t=i(t,3),o(e,(function(e,o,i){n(r,o,t(e,o,i))})),r}},5167:(e,t,r)=>{var n=r(6484);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},7021:e=>{e.exports=function(){}},4272:(e,t,r)=>{var n=r(5898),o=r(9916),i=r(6955),s=r(9535);e.exports=function(e){return i(e)?n(s(e)):o(e)}},3234:(e,t,r)=>{var n=r(745),o=r(840),i=r(1494),s=r(659),a=i((function(e,t){if(null==e)return[];var r=t.length;return r>1&&s(e,t[0],t[1])?t=[]:r>2&&s(t[0],t[1],t[2])&&(t=[t[0]]),o(e,n(t,1),[])}));e.exports=a},7918:e=>{e.exports=function(){return[]}},8338:e=>{e.exports=function(){return!1}},7115:(e,t,r)=>{var n=r(9134);e.exports=function(e){return null==e?"":n(e)}},6705:(e,t,r)=>{var n=r(2744);e.exports=function(e){return e&&e.length?n(e):[]}},9588:(e,t,r)=>{var n=r(7115),o=0;e.exports=function(e){var t=++o;return n(e)+t}},1781:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n={sep:"/"};try{n=r(4245)}catch(e){}var o=p.GLOBSTAR=h.GLOBSTAR={},i=r(70),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",c="[^/]*?",u="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var l=/\/+/;function f(e,t){e=e||{},t=t||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function p(e,t,r){if("string"!=typeof t)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new h(t,r).match(e))}function h(e,t){if(!(this instanceof h))return new h(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==n.sep&&(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function d(e,t){if(t||(t=this instanceof h?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:i(e)}p.filter=function(e,t){return t=t||{},function(r,n,o){return p(r,e,t)}},p.defaults=function(e){if(!e||!Object.keys(e).length)return p;var t=p,r=function(r,n,o){return t.minimatch(r,n,f(e,o))};return r.Minimatch=function(r,n){return new t.Minimatch(r,f(e,n))},r},h.defaults=function(e){return e&&Object.keys(e).length?p.defaults(e).Minimatch:h},h.prototype.debug=function(){},h.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(l)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},h.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var o=0,i=e.length;o<i&&"!"===e.charAt(o);o++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return d(e,t)},h.prototype.braceExpand=d,h.prototype.parse=function(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===e)return o;if(""===e)return"";var n,i="",l=!!r.nocase,f=!1,p=[],h=[],d=!1,g=-1,y=-1,b="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function x(){if(n){switch(n){case"*":i+=c,l=!0;break;case"?":i+=a,l=!0;break;default:i+="\\"+n}m.debug("clearStateChar %j %j",n,i),n=!1}}for(var w,S=0,E=e.length;S<E&&(w=e.charAt(S));S++)if(this.debug("%s\t%s %s %j",e,S,i,w),f&&u[w])i+="\\"+w,f=!1;else switch(w){case"/":return!1;case"\\":x(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,S,i,w),d){this.debug(" in class"),"!"===w&&S===y+1&&(w="^"),i+=w;continue}m.debug("call clearStateChar %j",n),x(),n=w,r.noext&&x();continue;case"(":if(d){i+="(";continue}if(!n){i+="\\(";continue}p.push({type:n,start:S-1,reStart:i.length,open:s[n].open,close:s[n].close}),i+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,i),n=!1;continue;case")":if(d||!p.length){i+="\\)";continue}x(),l=!0;var T=p.pop();i+=T.close,"!"===T.type&&h.push(T),T.reEnd=i.length;continue;case"|":if(d||!p.length||f){i+="\\|",f=!1;continue}x(),i+="|";continue;case"[":if(x(),d){i+="\\"+w;continue}d=!0,y=S,g=i.length,i+=w;continue;case"]":if(S===y+1||!d){i+="\\"+w,f=!1;continue}if(d){var C=e.substring(y+1,S);try{RegExp("["+C+"]")}catch(e){var _=this.parse(C,v);i=i.substr(0,g)+"\\["+_[0]+"\\]",l=l||_[1],d=!1;continue}}l=!0,d=!1,i+=w;continue;default:x(),f?f=!1:!u[w]||"^"===w&&d||(i+="\\"),i+=w}d&&(C=e.substr(y+1),_=this.parse(C,v),i=i.substr(0,g)+"\\["+_[0],l=l||_[1]);for(T=p.pop();T;T=p.pop()){var A=i.slice(T.reStart+T.open.length);this.debug("setting tail",i,T),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",A,A,T,i);var O="*"===T.type?c:"?"===T.type?a:"\\"+T.type;l=!0,i=i.slice(0,T.reStart)+O+"\\("+A}x(),f&&(i+="\\\\");var P=!1;switch(i.charAt(0)){case".":case"[":case"(":P=!0}for(var k=h.length-1;k>-1;k--){var L=h[k],I=i.slice(0,L.reStart),R=i.slice(L.reStart,L.reEnd-8),N=i.slice(L.reEnd-8,L.reEnd),j=i.slice(L.reEnd);N+=j;var M=I.split("(").length-1,D=j;for(S=0;S<M;S++)D=D.replace(/\)[+*?]?/,"");var U="";""===(j=D)&&t!==v&&(U="$"),i=I+R+j+U+N}""!==i&&l&&(i="(?=.)"+i);P&&(i=b+i);if(t===v)return[i,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var F=r.nocase?"i":"";try{var B=new RegExp("^"+i+"$",F)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=i,B};var v={};p.makeRe=function(e,t){return new h(e,t||{}).makeRe()},h.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",i=e.map((function(e){return e.map((function(e){return e===o?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new h(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},h.prototype.match=function(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/"));e=e.split(l),this.debug(this.pattern,"split",e);var o,i,s=this.set;for(this.debug(this.pattern,"set",s),i=e.length-1;i>=0&&!(o=e[i]);i--);for(i=0;i<s.length;i++){var a=s[i],c=e;if(r.matchBase&&1===a.length&&(c=[o]),this.matchOne(c,a,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},h.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,s=0,a=e.length,c=t.length;i<a&&s<c;i++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[i];if(this.debug(t,l,f),!1===l)return!1;if(l===o){this.debug("GLOBSTAR",[t,l,f]);var p=i,h=s+1;if(h===c){for(this.debug("** at the end");i<a;i++)if("."===e[i]||".."===e[i]||!n.dot&&"."===e[i].charAt(0))return!1;return!0}for(;p<a;){var d=e[p];if(this.debug("\nglobstar while",e,p,t,h,d),this.matchOne(e.slice(p),t.slice(h),r))return this.debug("globstar found match!",p,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,p,t,h);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,h),p!==a))}if("string"==typeof l?(u=n.nocase?f.toLowerCase()===l.toLowerCase():f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(i===a&&s===c)return!0;if(i===a)return r;if(s===c)return i===a-1&&""===e[i];throw new Error("wtf?")}},4245:(e,t,r)=>{"use strict";var n=r(6591);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function i(e,t){for(var r,n="",o=0,i=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)r=e.charCodeAt(a);else{if(47===r)break;r=47}if(47===r){if(i===a-1||1===s);else if(i!==a-1&&2===s){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",o=0):o=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),i=a,s=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),o=a-i-1;i=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var s={resolve:function(){for(var e,t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var a;s>=0?a=arguments[s]:(void 0===e&&(e=n.cwd()),a=e),o(a),0!==a.length&&(t=a+"/"+t,r=47===a.charCodeAt(0))}return t=i(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=i(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];o(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=s.resolve(e))===(t=s.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,i=n-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,u=i<c?i:c,l=-1,f=0;f<=u;++f){if(f===u){if(c>u){if(47===t.charCodeAt(a+f))return t.slice(a+f+1);if(0===f)return t.slice(a+f)}else i>u&&(47===e.charCodeAt(r+f)?l=f:0===f&&(l=0));break}var p=e.charCodeAt(r+f);if(p!==t.charCodeAt(a+f))break;47===p&&(l=f)}var h="";for(f=r+l+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(a+l):(a+=l,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!i){n=s;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var r,n=0,i=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,c=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!s){n=r+1;break}}else-1===c&&(s=!1,c=r+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(i=r):(a=-1,i=c))}return n===i?i=c:-1===i&&(i=e.length),e.slice(n,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else-1===i&&(s=!1,i=r+1);return-1===i?"":e.slice(n,i)},extname:function(e){o(e);for(var t=-1,r=0,n=-1,i=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===n&&(i=!1,n=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),i=47===n;i?(t.root="/",r=1):r=0;for(var s=-1,a=0,c=-1,u=!0,l=e.length-1,f=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===s?s=l:1!==f&&(f=1):-1!==s&&(f=-1);else if(!u){a=l+1;break}return-1===s||-1===c||0===f||1===f&&s===c-1&&s===a+1?-1!==c&&(t.base=t.name=0===a&&i?e.slice(1,c):e.slice(a,c)):(0===a&&i?(t.name=e.slice(1,s),t.base=e.slice(1,c)):(t.name=e.slice(a,s),t.base=e.slice(a,c)),t.ext=e.slice(s,c)),a>0?t.dir=e.slice(0,a-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,e.exports=s},6591:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(a=c,c=[];++l<t;)a&&a[l].run();l=-1,t=c.length}a=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},518:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t,r,n){var o=e.call(this)||this;return o.parent=t,o.outerValue=r,o.outerIndex=n,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(5146).Subscriber);t.InnerSubscriber=i},3621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8445),o=r(7859),i=r(8516),s=r(6581),a=r(1279),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,i=o.toSubscriber(e,t,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.config.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),n.canReportError(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=u(t))((function(t,n){var o;o=r.subscribe((function(t){try{e(t)}catch(e){n(e),o&&o.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[i.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:s.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=u(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function u(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}t.Observable=c},1804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1279),o=r(6137);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;o.hostReportError(e)},complete:function(){}}},6451:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(5146).Subscriber);t.OuterSubscriber=i},5146:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(7261),s=r(1804),a=r(1786),c=r(2372),u=r(1279),l=r(6137),f=function(e){function t(r,n,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=s.empty;break;case 1:if(!r){i.destination=s.empty;break}if("object"==typeof r){r instanceof t?(i.syncErrorThrowable=r.syncErrorThrowable,i.destination=r,r.add(i)):(i.syncErrorThrowable=!0,i.destination=new p(i,r));break}default:i.syncErrorThrowable=!0,i.destination=new p(i,r,n,o)}return i}return o(t,e),t.prototype[c.rxSubscriber]=function(){return this},t.create=function(e,r,n){var o=new t(e,r,n);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.Subscription);t.Subscriber=f;var p=function(e){function t(t,r,n,o){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return i.isFunction(r)?a=r:r&&(a=r.next,n=r.error,o=r.complete,r!==s.empty&&(u=Object.create(r),i.isFunction(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=o,c}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):l.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;l.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw e;l.hostReportError(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return u.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(l.hostReportError(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(f);t.SafeSubscriber=p},1786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9235),o=r(2030),i=r(7261),s=r(2618),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,a=r._parentOrParents,u=r._ctorUnsubscribe,l=r._unsubscribe,f=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof e)a.remove(this);else if(null!==a)for(var p=0;p<a.length;++p){a[p].remove(this)}if(i.isFunction(l)){u&&(this._unsubscribe=void 0);try{l.call(this)}catch(e){t=e instanceof s.UnsubscriptionError?c(e.errors):[e]}}if(n.isArray(f)){p=-1;for(var h=f.length;++p<h;){var d=f[p];if(o.isObject(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof s.UnsubscriptionError?t=t.concat(c(e.errors)):t.push(e)}}}if(t)throw new s.UnsubscriptionError(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof e){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){return e.reduce((function(e,t){return e.concat(t instanceof s.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=a},1279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},8186:(e,t)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolIterator=r,t.iterator=r(),t.$$iterator=t.iterator},8516:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),t.$$rxSubscriber=t.rxSubscriber},2618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}();t.UnsubscriptionError=r},8445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146);t.canReportError=function(e){for(;e;){var t=e,r=t.closed,o=t.destination,i=t.isStopped;if(r||i)return!1;e=o&&o instanceof n.Subscriber?o:null}return!0}},6137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},5082:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=function(e){return e}},9235:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},8975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=function(e){return"function"==typeof e}},2030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=function(e){return null!==e&&"object"==typeof e}},4328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}},6581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5082);function o(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)},t.pipeFromArray=o},9346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2723),o=r(6386),i=r(5983),s=r(6588),a=r(8975),c=r(4328),u=r(2030),l=r(8186),f=r(8516);t.subscribeTo=function(e){if(e&&"function"==typeof e[f.observable])return s.subscribeToObservable(e);if(a.isArrayLike(e))return n.subscribeToArray(e);if(c.isPromise(e))return o.subscribeToPromise(e);if(e&&"function"==typeof e[l.iterator])return i.subscribeToIterable(e);var t=u.isObject(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},2723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeToArray=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}}},5983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8186);t.subscribeToIterable=function(e){return function(t){for(var r=e[n.iterator]();;){var o=void 0;try{o=r.next()}catch(e){return t.error(e),t}if(o.done){t.complete();break}if(t.next(o.value),t.closed)break}return"function"==typeof r.return&&t.add((function(){r.return&&r.return()})),t}}},6588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8516);t.subscribeToObservable=function(e){return function(t){var r=e[n.observable]();if("function"!=typeof r.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(t)}}},6386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6137);t.subscribeToPromise=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,n.hostReportError),t}}},5478:(e,t,r)=>{"use strict";var n=r(518),o=r(9346),i=r(3621);t.D=function(e,t,r,s,a){if(void 0===a&&(a=new n.InnerSubscriber(e,r,s)),!a.closed)return t instanceof i.Observable?t.subscribe(a):o.subscribeTo(t)(a)}},7859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146),o=r(2372),i=r(1804);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[o.rxSubscriber])return e[o.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(i.empty)}},9997:(e,t)=>{"use strict";(function(e){e.Unidentified="Unidentified",e.Alt="Alt",e.AltGraph="AltGraph",e.CapsLock="CapsLock",e.Control="Control",e.Fn="Fn",e.FnLock="FnLock",e.Hyper="Hyper",e.Meta="Meta",e.NumLock="NumLock",e.ScrollLock="ScrollLock",e.Shift="Shift",e.Super="Super",e.Symbol="Symbol",e.SymbolLock="SymbolLock",e.Enter="Enter",e.Tab="Tab",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.ArrowUp="ArrowUp",e.End="End",e.Home="Home",e.PageDown="PageDown",e.PageUp="PageUp",e.Backspace="Backspace",e.Clear="Clear",e.Copy="Copy",e.CrSel="CrSel",e.Cut="Cut",e.Delete="Delete",e.EraseEof="EraseEof",e.ExSel="ExSel",e.Insert="Insert",e.Paste="Paste",e.Redo="Redo",e.Undo="Undo",e.Accept="Accept",e.Again="Again",e.Attn="Attn",e.Cancel="Cancel",e.ContextMenu="ContextMenu",e.Escape="Escape",e.Execute="Execute",e.Find="Find",e.Finish="Finish",e.Help="Help",e.Pause="Pause",e.Play="Play",e.Props="Props",e.Select="Select",e.ZoomIn="ZoomIn",e.ZoomOut="ZoomOut",e.BrightnessDown="BrightnessDown",e.BrightnessUp="BrightnessUp",e.Eject="Eject",e.LogOff="LogOff",e.Power="Power",e.PowerOff="PowerOff",e.PrintScreen="PrintScreen",e.Hibernate="Hibernate",e.Standby="Standby",e.WakeUp="WakeUp",e.AllCandidates="AllCandidates",e.Alphanumeric="Alphanumeric",e.CodeInput="CodeInput",e.Compose="Compose",e.Convert="Convert",e.Dead="Dead",e.FinalMode="FinalMode",e.GroupFirst="GroupFirst",e.GroupLast="GroupLast",e.GroupNext="GroupNext",e.GroupPrevious="GroupPrevious",e.ModeChange="ModeChange",e.NextCandidate="NextCandidate",e.NonConvert="NonConvert",e.PreviousCandidate="PreviousCandidate",e.Process="Process",e.SingleCandidate="SingleCandidate",e.HangulMode="HangulMode",e.HanjaMode="HanjaMode",e.JunjaMode="JunjaMode",e.Eisu="Eisu",e.Hankaku="Hankaku",e.Hiragana="Hiragana",e.HiraganaKatakana="HiraganaKatakana",e.KanaMode="KanaMode",e.KanjiMode="KanjiMode",e.Katakana="Katakana",e.Romaji="Romaji",e.Zenkaku="Zenkaku",e.ZenkakuHanaku="ZenkakuHanaku",e.F1="F1",e.F2="F2",e.F3="F3",e.F4="F4",e.F5="F5",e.F6="F6",e.F7="F7",e.F8="F8",e.F9="F9",e.F10="F10",e.F11="F11",e.F12="F12",e.F13="F13",e.F14="F14",e.F15="F15",e.F16="F16",e.F17="F17",e.F18="F18",e.F19="F19",e.F20="F20",e.Soft1="Soft1",e.Soft2="Soft2",e.Soft3="Soft3",e.Soft4="Soft4",e.AppSwitch="AppSwitch",e.Call="Call",e.Camera="Camera",e.CameraFocus="CameraFocus",e.EndCall="EndCall",e.GoBack="GoBack",e.GoHome="GoHome",e.HeadsetHook="HeadsetHook",e.LastNumberRedial="LastNumberRedial",e.Notification="Notification",e.MannerMode="MannerMode",e.VoiceDial="VoiceDial",e.ChannelDown="ChannelDown",e.ChannelUp="ChannelUp",e.MediaFastForward="MediaFastForward",e.MediaPause="MediaPause",e.MediaPlay="MediaPlay",e.MediaPlayPause="MediaPlayPause",e.MediaRecord="MediaRecord",e.MediaRewind="MediaRewind",e.MediaStop="MediaStop",e.MediaTrackNext="MediaTrackNext",e.MediaTrackPrevious="MediaTrackPrevious",e.AudioBalanceLeft="AudioBalanceLeft",e.AudioBalanceRight="AudioBalanceRight",e.AudioBassDown="AudioBassDown",e.AudioBassBoostDown="AudioBassBoostDown",e.AudioBassBoostToggle="AudioBassBoostToggle",e.AudioBassBoostUp="AudioBassBoostUp",e.AudioBassUp="AudioBassUp",e.AudioFaderFront="AudioFaderFront",e.AudioFaderRear="AudioFaderRear",e.AudioSurroundModeNext="AudioSurroundModeNext",e.AudioTrebleDown="AudioTrebleDown",e.AudioTrebleUp="AudioTrebleUp",e.AudioVolumeDown="AudioVolumeDown",e.AudioVolumeMute="AudioVolumeMute",e.AudioVolumeUp="AudioVolumeUp",e.MicrophoneToggle="MicrophoneToggle",e.MicrophoneVolumeDown="MicrophoneVolumeDown",e.MicrophoneVolumeMute="MicrophoneVolumeMute",e.MicrophoneVolumeUp="MicrophoneVolumeUp",e.TV="TV",e.TV3DMode="TV3DMode",e.TVAntennaCable="TVAntennaCable",e.TVAudioDescription="TVAudioDescription",e.TVAudioDescriptionMixDown="TVAudioDescriptionMixDown",e.TVAudioDescriptionMixUp="TVAudioDescriptionMixUp",e.TVContentsMenu="TVContentsMenu",e.TVDataService="TVDataService",e.TVInput="TVInput",e.TVInputComponent1="TVInputComponent1",e.TVInputComponent2="TVInputComponent2",e.TVInputComposite1="TVInputComposite1",e.TVInputComposite2="TVInputComposite2",e.TVInputHDMI1="TVInputHDMI1",e.TVInputHDMI2="TVInputHDMI2",e.TVInputHDMI3="TVInputHDMI3",e.TVInputHDMI4="TVInputHDMI4",e.TVInputVGA1="TVInputVGA1",e.TVMediaContext="TVMediaContext",e.TVNetwork="TVNetwork",e.TVNumberEntry="TVNumberEntry",e.TVPower="TVPower",e.TVRadioService="TVRadioService",e.TVSatellite="TVSatellite",e.TVSatelliteBS="TVSatelliteBS",e.TVSatelliteCS="TVSatelliteCS",e.TVSatelliteToggle="TVSatelliteToggle",e.TVTerrestrialAnalog="TVTerrestrialAnalog",e.TVTerrestrialDigital="TVTerrestrialDigital",e.TVTimer="TVTimer",e.AVRInput="AVRInput",e.AVRPower="AVRPower",e.ColorF0Red="ColorF0Red",e.ColorF1Green="ColorF1Green",e.ColorF2Yellow="ColorF2Yellow",e.ColorF3Blue="ColorF3Blue",e.ColorF4Grey="ColorF4Grey",e.ColorF5Brown="ColorF5Brown",e.ClosedCaptionToggle="ClosedCaptionToggle",e.Dimmer="Dimmer",e.DisplaySwap="DisplaySwap",e.DVR="DVR",e.Exit="Exit",e.FavoriteClear0="FavoriteClear0",e.FavoriteClear1="FavoriteClear1",e.FavoriteClear2="FavoriteClear2",e.FavoriteClear3="FavoriteClear3",e.FavoriteRecall0="FavoriteRecall0",e.FavoriteRecall1="FavoriteRecall1",e.FavoriteRecall2="FavoriteRecall2",e.FavoriteRecall3="FavoriteRecall3",e.FavoriteStore0="FavoriteStore0",e.FavoriteStore1="FavoriteStore1",e.FavoriteStore2="FavoriteStore2",e.FavoriteStore3="FavoriteStore3",e.Guide="Guide",e.GuideNextDay="GuideNextDay",e.GuidePreviousDay="GuidePreviousDay",e.Info="Info",e.InstantReplay="InstantReplay",e.Link="Link",e.ListProgram="ListProgram",e.LiveContent="LiveContent",e.Lock="Lock",e.MediaApps="MediaApps",e.MediaAudioTrack="MediaAudioTrack",e.MediaLast="MediaLast",e.MediaSkipBackward="MediaSkipBackward",e.MediaSkipForward="MediaSkipForward",e.MediaStepBackward="MediaStepBackward",e.MediaStepForward="MediaStepForward",e.MediaTopMenu="MediaTopMenu",e.NavigateIn="NavigateIn",e.NavigateNext="NavigateNext",e.NavigateOut="NavigateOut",e.NavigatePrevious="NavigatePrevious",e.NextFavoriteChannel="NextFavoriteChannel",e.NextUserProfile="NextUserProfile",e.OnDemand="OnDemand",e.Pairing="Pairing",e.PinPDown="PinPDown",e.PinPMove="PinPMove",e.PinPToggle="PinPToggle",e.PinPUp="PinPUp",e.PlaySpeedDown="PlaySpeedDown",e.PlaySpeedReset="PlaySpeedReset",e.PlaySpeedUp="PlaySpeedUp",e.RandomToggle="RandomToggle",e.RcLowBattery="RcLowBattery",e.RecordSpeedNext="RecordSpeedNext",e.RfBypass="RfBypass",e.ScanChannelsToggle="ScanChannelsToggle",e.ScreenModeNext="ScreenModeNext",e.Settings="Settings",e.SplitScreenToggle="SplitScreenToggle",e.STBInput="STBInput",e.STBPower="STBPower",e.Subtitle="Subtitle",e.Teletext="Teletext",e.VideoModeNext="VideoModeNext",e.Wink="Wink",e.ZoomToggle="ZoomToggle",e.SpeechCorrectionList="SpeechCorrectionList",e.SpeechInputToggle="SpeechInputToggle",e.Close="Close",e.New="New",e.Open="Open",e.Print="Print",e.Save="Save",e.SpellCheck="SpellCheck",e.MailForward="MailForward",e.MailReply="MailReply",e.MailSend="MailSend",e.LaunchCalculator="LaunchCalculator",e.LaunchCalendar="LaunchCalendar",e.LaunchContacts="LaunchContacts",e.LaunchMail="LaunchMail",e.LaunchMediaPlayer="LaunchMediaPlayer",e.LaunchMusicPlayer="LaunchMusicPlayer",e.LaunchMyComputer="LaunchMyComputer",e.LaunchPhone="LaunchPhone",e.LaunchScreenSaver="LaunchScreenSaver",e.LaunchSpreadsheet="LaunchSpreadsheet",e.LaunchWebBrowser="LaunchWebBrowser",e.LaunchWebCam="LaunchWebCam",e.LaunchWordProcessor="LaunchWordProcessor",e.LaunchApplication1="LaunchApplication1",e.LaunchApplication2="LaunchApplication2",e.LaunchApplication3="LaunchApplication3",e.LaunchApplication4="LaunchApplication4",e.LaunchApplication5="LaunchApplication5",e.LaunchApplication6="LaunchApplication6",e.LaunchApplication7="LaunchApplication7",e.LaunchApplication8="LaunchApplication8",e.LaunchApplication9="LaunchApplication9",e.LaunchApplication10="LaunchApplication10",e.LaunchApplication11="LaunchApplication11",e.LaunchApplication12="LaunchApplication12",e.LaunchApplication13="LaunchApplication13",e.LaunchApplication14="LaunchApplication14",e.LaunchApplication15="LaunchApplication15",e.LaunchApplication16="LaunchApplication16",e.BrowserBack="BrowserBack",e.BrowserFavorites="BrowserFavorites",e.BrowserForward="BrowserForward",e.BrowserHome="BrowserHome",e.BrowserRefresh="BrowserRefresh",e.BrowserSearch="BrowserSearch",e.BrowserStop="BrowserStop",e.Decimal="Decimal",e.Key11="Key11",e.Key12="Key12",e.Multiply="Multiply",e.Add="Add",e.Divide="Divide",e.Subtract="Subtract",e.Separator="Separator"})(t.s||(t.s={}))}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=r(942);r.n(e)()({usePolyfill:["URL","URLSearchParams"]});r(5287),r(9227),r(8328),r(2588);var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,r)};function n(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function o(e){return"function"==typeof e}var i=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout((function(){throw e}),0)}var c={closed:!0,next:function(e){},error:function(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},u=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function l(e){return null!==e&&"object"==typeof e}var f=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),p=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,s=r._unsubscribe,a=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c){n[c].remove(this)}if(o(s)){i&&(this._unsubscribe=void 0);try{s.call(this)}catch(e){t=e instanceof f?h(e.errors):[e]}}if(u(a)){c=-1;for(var p=a.length;++c<p;){var d=a[c];if(l(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof f?t=t.concat(h(e.errors)):t.push(e)}}}if(t)throw new f(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=r._parentOrParents;if(null===o)r._parentOrParents=this;else if(o instanceof e){if(o===this)return r;r._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return r;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[r]:i.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();function h(e){return e.reduce((function(e,t){return e.concat(t instanceof f?t.errors:t)}),[])}var d=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(e){function t(r,n,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=c;break;case 1:if(!r){i.destination=c;break}if("object"==typeof r){r instanceof t?(i.syncErrorThrowable=r.syncErrorThrowable,i.destination=r,r.add(i)):(i.syncErrorThrowable=!0,i.destination=new g(i,r));break}default:i.syncErrorThrowable=!0,i.destination=new g(i,r,n,o)}return i}return n(t,e),t.prototype[d]=function(){return this},t.create=function(e,r,n){var o=new t(e,r,n);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(p),g=function(e){function t(t,r,n,i){var s,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return o(r)?s=r:r&&(s=r.next,n=r.error,i=r.complete,r!==c&&(o((u=Object.create(r)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=s,a._error=n,a._complete=i,a}return n(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=s.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;a(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw e;a(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(a(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(v);var y=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function b(e){return e}function m(e){return 0===e.length?b:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var x=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,o=function(e,t,r){if(e){if(e instanceof v)return e;if(e[d])return e[d]()}return e||t||r?new v(e,t,r):new v(c)}(e,t,r);if(n?o.add(n.call(o,this.source)):o.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,r=t.closed,n=t.destination,o=t.isStopped;if(r||o)return!1;e=n&&n instanceof v?n:null}return!0}(e)?console.warn(t):e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=w(t))((function(t,n){var o;o=r.subscribe((function(t){try{e(t)}catch(e){n(e),o&&o.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[y]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:m(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=w(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function w(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function S(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new E(e,t))}}var E=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new T(e,this.project,this.thisArg))},e}(),T=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.project=r,o.count=0,o.thisArg=n||o,o}return n(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v);function C(e,t,r,n){return o(r)&&(n=r,r=void 0),n?C(e,t,r).pipe(S((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new x((function(n){_(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function _(e,t,r,n,o){var i;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,o),i=function(){return s.removeEventListener(t,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),i=function(){return a.off(t,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var c=e;e.addListener(t,r),i=function(){return c.removeListener(t,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,l=e.length;u<l;u++)_(e[u],t,r,n,o)}n.add(i)}var A=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),O=new x((function(e){return e.complete()}));function P(e){return e?function(e){return new x((function(t){return e.schedule((function(){return t.complete()}))}))}(e):O}var k=function(){function e(e){if(this.total=e,this.total<0)throw new A}return e.prototype.call=function(e,t){return t.subscribe(new L(e,this.total))},e}(),L=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(v),I=r(8603),R=r.n(I);const N=e=>null!=e,j=e=>t=>t===e,M=e=>t=>!e(t),D=e=>t=>e in t,U=(e,t)=>r=>t(r[e]);function F(...e){return t=>e.every((e=>e(t)))}const B=e=>R()(e)&&D("addEventListener")(e)&&D("removeEventListener")(e)&&D("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var V=r(2452),G=r.n(V);const H=Symbol("Comlink.proxy"),$=Symbol("Comlink.endpoint"),K=Symbol("Comlink.releaseProxy"),W=Symbol("Comlink.thrown"),J=e=>"object"==typeof e&&null!==e||"function"==typeof e,z=new Map([["proxy",{canHandle:e=>J(e)&&e[H],serialize(e){const{port1:t,port2:r}=new MessageChannel;return q(e,t),[r,[r]]},deserialize:e=>(e.start(),Q(e))}],["throw",{canHandle:e=>J(e)&&W in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function q(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:o,type:i,path:s}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(oe);let c;try{const t=s.slice(0,-1).reduce(((e,t)=>e[t]),e),r=s.reduce(((e,t)=>e[t]),e);switch(i){case 0:c=r;break;case 1:t[s.slice(-1)[0]]=oe(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=re(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;q(e,r),c=function(e,t){return te.set(e,t),e}(t,[t])}break;case 5:c=void 0}}catch(e){c={value:e,[W]:0}}Promise.resolve(c).catch((e=>({value:e,[W]:0}))).then((e=>{const[n,s]=ne(e);t.postMessage(Object.assign(Object.assign({},n),{id:o}),s),5===i&&(t.removeEventListener("message",r),Y(t))}))})),t.start&&t.start()}function Y(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function Q(e,t){return Z(e,[],t)}function X(e){if(e)throw new Error("Proxy has been released and is not useable")}function Z(e,t=[],r=function(){}){let n=!1;const o=new Proxy(r,{get(r,i){if(X(n),i===K)return()=>ie(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{Y(e),n=!0}));if("then"===i){if(0===t.length)return{then:()=>o};const r=ie(e,{type:0,path:t.map((e=>e.toString()))}).then(oe);return r.then.bind(r)}return Z(e,[...t,i])},set(r,o,i){X(n);const[s,a]=ne(i);return ie(e,{type:1,path:[...t,o].map((e=>e.toString())),value:s},a).then(oe)},apply(r,o,i){X(n);const s=t[t.length-1];if(s===$)return ie(e,{type:4}).then(oe);if("bind"===s)return Z(e,t.slice(0,-1));const[a,c]=ee(i);return ie(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(oe)},construct(r,o){X(n);const[i,s]=ee(o);return ie(e,{type:3,path:t.map((e=>e.toString())),argumentList:i},s).then(oe)}});return o}function ee(e){const t=e.map(ne);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const te=new WeakMap;function re(e){return Object.assign(e,{[H]:!0})}function ne(e){for(const[t,r]of z)if(r.canHandle(e)){const[n,o]=r.serialize(e);return[{type:3,name:t,value:n},o]}return[{type:0,value:e},te.get(e)||[]]}function oe(e){switch(e.type){case 3:return z.get(e.name).deserialize(e.value);case 0:return e.value}}function ie(e,t,r){return new Promise((n=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===o&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),r)}))}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ae=e=>"object"==typeof e&&null!==e&&D("href")(e)&&D("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const ce=e=>new p((async()=>{const t=await e;await t.unsubscribe(),t[K]()})),ue=e=>"object"==typeof e&&null!==e&&D("then")(e)&&"function"==typeof e.then;class le extends Error{constructor(...e){super(...e),se(this,"name","AbortError"),se(this,"message","Aborted")}}var fe=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),pe=function(e){function t(t,r){var n=e.call(this)||this;return n.subject=t,n.subscriber=r,n.closed=!1,n}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(p),he=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),de=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n(t,e),t.prototype[d]=function(){return new he(this)},t.prototype.lift=function(e){var t=new ve(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new fe;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),o=0;o<r;o++)n[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new fe;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),o=0;o<r;o++)n[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new fe;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new fe;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new fe;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new pe(this,e))},t.prototype.asObservable=function(){var e=new x;return e.source=this,e},t.create=function(e,t){return new ve(e,t)},t}(x),ve=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):p.EMPTY},t}(de),ge=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return n(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new fe;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(de);function ye(e){return e&&"function"==typeof e.schedule}var be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(v),me=function(e){function t(t,r,n){var o=e.call(this)||this;return o.parent=t,o.outerValue=r,o.outerIndex=n,o.index=0,o}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(v),xe=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function we(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Se=we(),Ee=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Te(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Ce=function(e){if(e&&"function"==typeof e[y])return n=e,function(e){var t=n[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Ee(e))return xe(e);if(Te(e))return r=e,function(e){return r.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[Se])return t=e,function(e){for(var r=t[Se]();;){var n=void 0;try{n=r.next()}catch(t){return e.error(t),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof r.return&&e.add((function(){r.return&&r.return()})),e};var t,r,n,o=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+o+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function _e(e,t,r,n,o){if(void 0===o&&(o=new me(e,r,n)),!o.closed)return t instanceof x?t.subscribe(o):Ce(t)(o)}function Ae(e,t){return new x((function(r){var n=new p,o=0;return n.add(t.schedule((function(){o!==e.length?(r.next(e[o++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function Oe(e,t){return t?Ae(e,t):new x(xe(e))}var Pe={};function ke(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return ye(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&u(e[0])&&(e=e[0]),Oe(e,n).lift(new Le(r))}var Le=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ie(e,this.resultSelector))},e}(),Ie=function(e){function t(t,r){var n=e.call(this,t)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n(t,e),t.prototype._next=function(e){this.values.push(Pe),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(_e(this,n,void 0,r))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r){var n=this.values,o=n[r],i=this.toRespond?o===Pe?--this.toRespond:this.toRespond:0;n[r]=t,0===i&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(be);function Re(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new x((function(r){var n=new p;return n.add(t.schedule((function(){var o=e[y]();n.add(o.subscribe({next:function(e){n.add(t.schedule((function(){return r.next(e)})))},error:function(e){n.add(t.schedule((function(){return r.error(e)})))},complete:function(){n.add(t.schedule((function(){return r.complete()})))}}))}))),n}))}(e,t);if(Te(e))return function(e,t){return new x((function(r){var n=new p;return n.add(t.schedule((function(){return e.then((function(e){n.add(t.schedule((function(){r.next(e),n.add(t.schedule((function(){return r.complete()})))})))}),(function(e){n.add(t.schedule((function(){return r.error(e)})))}))}))),n}))}(e,t);if(Ee(e))return Ae(e,t);if(function(e){return e&&"function"==typeof e[Se]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new x((function(r){var n,o=new p;return o.add((function(){n&&"function"==typeof n.return&&n.return()})),o.add(t.schedule((function(){n=e[Se](),o.add(t.schedule((function(){if(!r.closed){var e,t;try{var o=n.next();e=o.value,t=o.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),o}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Ne(e,t){return t?Re(e,t):e instanceof x?e:new x(Ce(e))}function je(){}function Me(e,t,r){return function(n){return n.lift(new De(e,t,r))}}var De=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new Ue(e,this.nextOrObserver,this.error,this.complete))},e}(),Ue=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s._tapNext=je,s._tapError=je,s._tapComplete=je,s._tapError=n||je,s._tapComplete=i||je,o(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||je,s._tapError=r.error||je,s._tapComplete=r.complete||je),s}return n(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(v);function Fe(e,t){return function(r){return r.lift(new Be(e,t))}}var Be=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Ve(e,this.compare,this.keySelector))},e}(),Ve=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.keySelector=n,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return n(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},t}(v),Ge=function(e){function t(t){var r=e.call(this)||this;return r.parent=t,r}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(v),He=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(v);function $e(e,t){if(!t.closed)return e instanceof x?e.subscribe(t):Ce(e)(t)}function Ke(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(Ke((function(r,n){return Ne(e(r,n)).pipe(S((function(e,o){return t(r,e,n,o)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new We(e,r))})}var We=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new Je(e,this.project,this.concurrent))},e}(),Je=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=r,o.concurrent=n,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return n(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new Ge(this),r=this.destination;r.add(t);var n=$e(e,t);n!==t&&r.add(n)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(He);function ze(e){return function(t){var r=new qe(e),n=t.lift(r);return r.caught=n}}var qe=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ye(e,this.selector,this.caught))},e}(),Ye=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.selector=r,o.caught=n,o}return n(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new Ge(this);this.add(n);var o=$e(r,n);o!==n&&this.add(o)}},t}(He);const Qe=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e),Xe=e=>e instanceof Error?e:Qe(e)?Object.assign(new Error(e.message),e):new Error(String(e));r(8523);new Set(["blue","yellow","orange","pink","red","purple","green","grey"]);r(5031);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Ze(e,t){if(!Qe(e.subjects)&&e.subjects){const n=e.subjects.find((e=>e.subject.__typename===t));var r;if(n&&!Qe(n.settings))return null===(r=n.settings)||void 0===r?void 0:r.extensions}}var et,tt=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,r){return e.call(this)||this}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(p)),rt=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(tt),nt=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=function(){return Date.now()},e}(),ot=function(e){function t(r,n){void 0===n&&(n=nt.now);var o=e.call(this,r,(function(){return t.delegate&&t.delegate!==o?t.delegate.now():n()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return n(t,e),t.prototype.schedule=function(r,n,o){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,o):e.prototype.schedule.call(this,r,n,o)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(nt),it=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(ot))(rt);function st(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ye(r)?(e.pop(),Ae(e,r)):Oe(e)}function at(e,t){return new x(t?function(r){return t.schedule(ct,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function ct(e){var t=e.error;e.subscriber.error(t)}et||(et={});var ut=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){switch(this.kind){case"N":return st(this.value);case"E":return at(this.error);case"C":return P()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var lt=function(e){function t(t,r,n){void 0===n&&(n=0);var o=e.call(this,t)||this;return o.scheduler=r,o.delay=n,o}return n(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new ft(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(ut.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(ut.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(ut.createComplete()),this.unsubscribe()},t}(v),ft=function(){return function(e,t){this.notification=e,this.destination=t}}(),pt=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this)||this;return o.scheduler=n,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=t<1?1:t,o._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return n(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var r=this._events;r.push(t),r.length>this._bufferSize&&r.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new ht(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=n.length;if(this.closed)throw new fe;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new pe(this,e)),o&&e.add(e=new lt(e,o)),r)for(var s=0;s<i&&!e.closed;s++)e.next(n[s]);else for(s=0;s<i&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||it).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,o=n.length,i=0;i<o&&!(e-n[i].time<r);)i++;return o>t&&(i=Math.max(i,o-t)),i>0&&n.splice(0,i),n},t}(de),ht=function(){return function(e,t){this.time=e,this.value=t}}();function dt(){return function(e){return e.lift(new vt(e))}}var vt=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new gt(e,r),o=t.subscribe(n);return n.closed||(n.connection=r.connect()),o},e}(),gt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(v),yt=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new p).add(this.source.subscribe(new mt(this.getSubject(),this))),e.closed&&(this._connection=null,e=p.EMPTY)),e},t.prototype.refCount=function(){return dt()(this)},t}(x),bt=function(){var e=yt.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),mt=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(he);var xt=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),o=r(n).subscribe(e);return o.add(t.subscribe(n)),o},e}();function wt(e,t,r,n){r&&"function"!=typeof r&&(n=r);var o="function"==typeof r?r:void 0,i=new pt(e,t,n);return function(e){return function(e,t){return function(r){var n;if(n="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new xt(n,t));var o=Object.create(r,bt);return o.source=r,o.subjectFactory=n,o}}((function(){return i}),o)(e)}}let St=0;var Et=r(7021),Tt=r.n(Et);class Ct extends p{constructor(e){super((()=>{e[K]()}))}}const _t=(e,t)=>{const r=new p;t&&t.add(r);const n=Ne(ue(e)?e:Promise.resolve(e)).pipe(Ke((e=>(r.add(new Ct(e)),{[y](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[H]:!0,next:t[0]||Tt(),error:t[1]?e=>t[1](Xe(e)):Tt(),complete:t[2]||Tt()};else{const e=t[0]||{};r={[H]:!0,next:e.next?t=>e.next(t):Tt(),error:e.error?t=>e.error(Xe(t)):Tt(),complete:e.complete?()=>e.complete():Tt()}}return ce(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var At=r(7831),Ot=r.n(At);function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let kt;!function(e){e[e.Operator=0]="Operator",e[e.Identifier=1]="Identifier",e[e.String=2]="String",e[e.TemplateHead=3]="TemplateHead",e[e.TemplateMiddle=4]="TemplateMiddle",e[e.TemplateTail=5]="TemplateTail",e[e.NoSubstitutionTemplate=6]="NoSubstitutionTemplate",e[e.Number=7]="Number"}(kt||(kt={}));const Lt={"&":{"&":!0},"|":{"|":!0},"=":{"\0":!0,"=":{"\0":!0,"=":!0}},"!":{"\0":!0,"=":{"\0":!0,"=":!0}},"<":{"\0":!0,"=":!0},">":{"\0":!0,"=":!0},"^":!0,"}":!0,"(":!0,")":!0,",":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0};function It(e){return"\t"===e||" "===e||"\xa0"===e}function Rt(e){return e>="0"&&e<="9"}function Nt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function jt(e){return Nt(e)||Rt(e)||"."===e}class Mt{constructor(){Pt(this,"expression",""),Pt(this,"length",0),Pt(this,"_index",0),Pt(this,"marker",0),Pt(this,"curlyStack",0)}get index(){return this._index}reset(e){this.expression=e,this.length=e.length,this._index=0,this.curlyStack=0}next(){if(this.skipSpaces(),this._index>=this.length)return;this.marker=this._index;const e=this.scanNext();if(void 0!==e)return e;throw new SyntaxError(`Unexpected character ${JSON.stringify(this.peekNextChar())} (at ${this.index})`)}peek(){const e=this._index,t=this.curlyStack;let r;try{r=this.next()}catch{r=void 0}if(this._index=e,this.curlyStack=t,r)return{type:r.type,value:r.value}}scanNext(){let e=this.scanString();return void 0!==e?e:(e=this.scanTemplate(),void 0!==e?e:(e=this.scanNumber(),void 0!==e?e:(e=this.scanOperator(),void 0!==e?e:(e=this.scanIdentifier(),void 0!==e?e:void 0))))}peekNextChar(e=0){const t=this._index+e;return t<this.length?this.expression.charAt(t):"\0"}getNextChar(){let e="\0";const t=this._index;return t<this.length&&(e=this.expression.charAt(t),this._index+=1),e}createToken(e,t){return{type:e,value:t,start:this.marker,end:this._index}}skipSpaces(){for(;this._index<this.length;){if(!It(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=Lt,t="";for(;e&&!0!==e;){const r=this.peekNextChar();e=e[r],e&&(t+=r,this.getNextChar())}if("}"===t&&this.curlyStack--,""!==t)return this.createToken(kt.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Nt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),jt(e);)t+=this.getNextChar();return this.createToken(kt.Identifier,t)}scanString(){const e=this.peekNextChar();if("'"!==e&&'"'!==e)return;this.getNextChar();let t=!1,r="";for(;this._index<this.length;){const n=this.getNextChar();if(n===e){t=!0;break}r+="\\"===n?Ut(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(kt.String,r)}scanTemplate(){const e=this.peekNextChar();if(!("`"===e||"}"===e&&this.curlyStack>0))return;this.getNextChar();const t="`"===e;return this.doScanTemplate(t)}backtick(){return!0}doScanTemplate(e){let t,r=!1,n=!1,o=!1,i="";for(;this._index<this.length;){const e=this.getNextChar();if("`"===e&&this.backtick()){r=!0,n=!0;break}if("\\"===e)i+=Ut(this.getNextChar());else{if("$"===e){if("{"===this.peekNextChar()){this.curlyStack++,this.getNextChar(),n=!0,o=!0;break}}i+=e}}if(e||this.curlyStack--,this.backtick()){if(!n)throw new Error(`Unterminated template literal (at ${this.index})`)}else this._index===this.length&&(r=!0);return t=e&&n&&!o?kt.NoSubstitutionTemplate:e?kt.TemplateHead:r?kt.TemplateTail:kt.TemplateMiddle,this.createToken(t,i)}scanNumber(){let e=this.peekNextChar();if(!Rt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),Rt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),Rt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!Rt(e))throw e=`character ${JSON.stringify(e)}`,this._index>=this.length&&(e="<end>"),new SyntaxError(`Unexpected ${e} after the exponent sign (at ${this.index})`);for(t+=this.getNextChar();e=this.peekNextChar(),Rt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(kt.Number,t)}}class Dt extends Mt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Ut(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Ft{parse(e){this.lexer||(this.lexer=new Mt),this.lexer.reset(e);const t=this.parseExpression(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}parseArgumentList(){const e=[];for(;;){const t=this.parseExpression();if(void 0===t)throw new Error(`Parse error on token in arguments list: ${JSON.stringify(this.lexer.peek())} (at ${this.lexer.index})`);e.push(t);if(!Vt(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!Vt(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=Vt(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!Vt(t,")"))throw new SyntaxError(`Expected ")" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);return{FunctionCall:{name:e,args:r}}}parseTemplateParts(){const e=[];for(;;){const t=this.lexer.peek();if(!t)break;if(t.type===kt.TemplateTail){t.value&&e.push({Literal:{type:kt.String,value:t.value}}),this.lexer.next();break}Vt(t,"}")?this.lexer.next():t.type===kt.TemplateMiddle?(t.value&&e.push({Literal:{type:kt.String,value:t.value}}),this.lexer.next()):e.push(this.parseExpression())}return e}parseTemplate(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression at beginning of template (at ${this.lexer.index})`);if(e.type===kt.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:kt.String,value:e.value}};if(e.type===kt.TemplateHead||e.type===kt.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:kt.String,value:e.value}}),{Template:{parts:t}}}throw new SyntaxError(`Unexpected token at beginning of template: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parsePrimary(){const e=this.lexer.peek();if(void 0===e)throw new SyntaxError(`Unexpected termination of expression (at ${this.lexer.index})`);if(e.type===kt.Identifier)return this.lexer.next(),Vt(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===kt.String||e.type===kt.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===kt.NoSubstitutionTemplate||e.type===kt.TemplateHead||e.type===kt.TemplateMiddle)return this.parseTemplate();if(Vt(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!Vt(this.lexer.next(),")"))throw new SyntaxError(`Expected ")" (at ${this.lexer.index})`);return e}throw new SyntaxError(`Parse error on token: ${JSON.stringify(e.value)} (at ${this.lexer.index})`)}parseUnary(){const e=this.lexer.peek();if(void 0!==e&&(Vt(e,"-")||Vt(e,"+")||Vt(e,"!"))){this.lexer.next();const t=this.parseUnary();return{Unary:{operator:e.value,expression:t}}}return this.parsePrimary()}parseMultiplicative(){let e=this.parseUnary(),t=this.lexer.peek();for(;void 0!==t&&(Vt(t,"*")||Vt(t,"/")||Vt(t,"%"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseUnary()}},t=this.lexer.peek();return e}parseAdditive(){let e=this.parseMultiplicative(),t=this.lexer.peek();for(;void 0!==t&&(Vt(t,"+")||Vt(t,"-")||Vt(t,"==")||Vt(t,"!=")||Vt(t,"===")||Vt(t,"!==")||Vt(t,"<")||Vt(t,">")||Vt(t,"<=")||Vt(t,">=")||Vt(t,"&&")||Vt(t,"||"));)this.lexer.next(),e={Binary:{operator:t.value,left:e,right:this.parseMultiplicative()}},t=this.lexer.peek();return e}parseExpression(){return this.parseAdditive()}}class Bt extends Ft{parse(e){this.lexer||(this.lexer=new Dt),this.lexer.reset(e);const t=this.parseTemplate(),r=this.lexer.next();if(void 0!==r)throw new SyntaxError(`Unexpected token at end of template input: ${JSON.stringify(r.value)} (at ${this.lexer.index})`);return t}}function Vt(e,t){return void 0!==e&&e.type===kt.Operator&&e.value===t}class Gt{constructor(e){this.root=e}exec(e){return Jt(this.root,e)}}class Ht extends Gt{}function $t(e){return new Gt((new Ft).parse(e))}function Kt(e){return new Ht((new Bt).parse(e))}const Wt={get:(e,t)=>{var r;return null!==(r=null==e?void 0:e[t])&&void 0!==r?r:void 0},json:e=>JSON.stringify(e)};function Jt(e,t){if("Literal"in e)switch(e.Literal.type){case kt.String:return e.Literal.value;case kt.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${kt[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(Jt(n,t));return r.join("")}if("Binary"in e){const r=Jt(e.Binary.left,t),n=()=>Jt(e.Binary.right,t);switch(e.Binary.operator){case"&&":return r&&n();case"||":return r||n();case"==":return r==n();case"!=":return r!=n();case"===":return r===n();case"!==":return r!==n();case"<":return r<n();case">":return r>n();case"<=":return r<=n();case">=":return r>=n();case"+":return r+n();case"-":return r-n();case"*":return r*n();case"/":return r/n();case"^":return r^n();case"%":return r%n();default:throw new SyntaxError(`Invalid operator: ${e.Binary.operator}`)}}if("Unary"in e){const r=Jt(e.Unary.expression,t);switch(e.Unary.operator){case"!":return!r;case"+":return r;case"-":return-r;default:throw new SyntaxError(`Invalid operator: ${e.Unary.operator}`)}}if("Identifier"in e){switch(e.Identifier){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"context":return t}return t[e.Identifier]}if("FunctionCall"in e){const r=e.FunctionCall,n=Wt[r.name];if("function"==typeof n){return n(...r.args.map((e=>Jt(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function zt(e){if(0===e.length)return{};if(1===e.length)return e[0];const t={};for(const r of e){if(r.actions)try{t.actions?t.actions=[...t.actions,...r.actions]:t.actions=[...r.actions]}catch{}if(r.menus)try{if(t.menus)for(const[e,n]of Object.entries(r.menus)){const r=t.menus[e];try{t.menus[e]=r?[...r,...n]:[...n]}catch{}}else t.menus={...r.menus}}catch{}if(r.views)try{t.views?t.views=[...t.views,...r.views]:t.views=[...r.views]}catch{}if(r.searchFilters)try{t.searchFilters?t.searchFilters=[...t.searchFilters,...r.searchFilters]:t.searchFilters=[...r.searchFilters]}catch{}}return t}function qt(e,t){return null==t?void 0:t.map((t=>{var r,n,o,i,s,a,c,u,l,f,p;return{...t,title:null===(r=t.title)||void 0===r?void 0:r.exec(e),disabledTitle:null===(n=t.disabledTitle)||void 0===n?void 0:n.exec(e),category:null===(o=t.category)||void 0===o?void 0:o.exec(e),description:null===(i=t.description)||void 0===i?void 0:i.exec(e),iconURL:null===(s=t.iconURL)||void 0===s?void 0:s.exec(e),actionItem:t.actionItem&&{...t.actionItem,label:null===(a=t.actionItem.label)||void 0===a?void 0:a.exec(e),description:null===(c=t.actionItem.description)||void 0===c?void 0:c.exec(e),iconURL:null===(u=t.actionItem.iconURL)||void 0===u?void 0:u.exec(e),iconDescription:null===(l=t.actionItem.iconDescription)||void 0===l?void 0:l.exec(e),pressed:null===(f=t.actionItem.pressed)||void 0===f?void 0:f.exec(e)},commandArguments:null===(p=t.commandArguments)||void 0===p?void 0:p.map((t=>t instanceof Gt?t.exec(e):t))}}))}function Yt(e){return{...e,menus:e.menus&&Ot()(e.menus,(e=>null==e?void 0:e.map((e=>({...e,when:"string"==typeof e.when?$t(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?$t(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,null==t?void 0:t.map((e=>{var t;return{...e,title:Qt(e.title,Kt),disabledTitle:Qt(e.disabledTitle,Kt),category:Qt(e.category,Kt),description:Qt(e.description,Kt),iconURL:Qt(e.iconURL,Kt),actionItem:e.actionItem&&{...e.actionItem,label:Qt(e.actionItem.label,Kt),description:Qt(e.actionItem.description,Kt),iconURL:Qt(e.actionItem.iconURL,Kt),iconDescription:Qt(e.actionItem.iconDescription,Kt),pressed:Qt(e.actionItem.pressed,(e=>$t(e)))},commandArguments:null===(t=e.commandArguments)||void 0===t?void 0:t.map((e=>"string"==typeof e?Kt(e):e))}})))};var t}const Qt=(e,t)=>void 0===e?void 0:t(e);function Xt(e){const t=new ge(new Set),r=_t(e.getEnabledExtensions()),n=new Set;return{activeLanguages:t,activeExtensions:ke([t,r]).pipe(Me((([e,t])=>{const r=function(e,t){const r=new Set([...t].map((e=>`onLanguage:${e}`)));return e.filter((e=>{try{if(!e.manifest){const t=/^sourcegraph\/lang-(.*)$/.exec(e.id);return t?console.warn(`Extension ${e.id} has been renamed to sourcegraph/${t[1]}. It's safe to remove ${e.id} from your settings.`):console.warn(`Extension ${e.id} was not found. Remove it from settings to suppress this warning.`),!1}return Qe(e.manifest)?(console.warn(e.manifest),!1):e.manifest.activationEvents?e.manifest.activationEvents.some((e=>"*"===e||r.has(e))):(console.warn(`Extension ${e.id} has no activation events, so it will never be activated.`),!1)}catch(e){console.error(e)}return!1}))}(t,e);for(const e of r)n.has(e.id)||n.add(e.id)})),S((([,e])=>e?e.filter((e=>n.has(e.id))):[])),Fe(((e,t)=>function(e,t){const r=new Set(e.map((({id:e})=>e))),n=new Set(t.map((({id:e})=>e)));for(const e of r)if(!n.has(e))return!1;for(const e of n)if(!r.has(e))return!1;return!0}(e,t))))}}const Zt=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function er(e,t,r,n=rr,o=nr){const i=function(e,t){const r=new Map;let n=St;return(o,i=!1)=>{n<St&&(r.clear(),n=St);const s=t(o),a=r.get(s);if(!i&&a)return a;const c=e(o).pipe(wt(),dt(),Me({error:()=>{r.delete(s)}}));return r.set(s,c),c}}((()=>Ne(t.getScriptURLForExtension()).pipe(S((e=>function(t){return e?e(t):Promise.resolve(t)})))),(()=>"getScriptURL")),s=new Set,a=new Map,c=new Map;var u,l;return ke([e.activeExtensions,i(null)]).pipe((u=([i,u])=>{const l=new Set,f=new Map,p=new Set;for(const e of i)Zt.has(e.id)||(p.add(e.id),s.has(e.id)||f.set(e.id,e));for(const e of s)p.has(e)||l.add(e);return Ne(u([...f.values()].map((e=>"scriptURL"in e?e.scriptURL:function(e){if(!e.manifest)throw new Error(`extension ${JSON.stringify(e.id)}: no manifest found`);if(Qe(e.manifest))throw new Error(`extension ${JSON.stringify(e.id)}: invalid manifest: ${e.manifest.message}`);if(!e.manifest.url)throw new Error(`extension ${JSON.stringify(e.id)}: no "url" property in manifest`);return e.manifest.url}(e)))).then((e=>({toActivate:[...f.values()].map(((t,r)=>({id:t.id,manifest:t.manifest,scriptURL:e[r]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:l})))).pipe(Me((({toActivate:e})=>{for(const t of e)if(t.manifest&&!Qe(t.manifest)&&t.manifest.contributes){const e=Yt(t.manifest.contributes);a.set(t.id,e),c.set(t.id,e)}})),S((({toActivate:i,toDeactivate:s})=>{const a=Ze(e.settings.value,"DefaultSettings")||{};return Ne(Promise.all([i.map((async({id:e,scriptURL:o})=>{if(console.log(`Activating Sourcegraph extension: ${e}`),!a[e]){const r=function(e){var t,r;const n=e.split("/");return 3===n.length?{host:n[0],publisher:n[1],name:n[2]}:{publisher:null!==(t=n[0])&&void 0!==t?t:"",name:null!==(r=n[1])&&void 0!==r?r:"",isSourcegraphExtension:"sourcegraph"===n[0]}}(e).host?await async function(e){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t),n=[...new Uint8Array(r)];return btoa(String.fromCharCode(...n))}(e):e;t.logEvent("ExtensionActivation",{extension_id:r}).catch((()=>{}))}return n(e,o,r).catch((t=>console.error(`Error activating extension ${e}:`,Xe(t))))})),[...s].map((e=>o(e).catch((t=>console.error(`Error deactivating extension ${e}:`,Xe(t))))))]))})),S((()=>({activated:f,deactivated:l}))),ze((e=>(console.error("Uncaught error during extension activation",e),[]))))},Ke(u,l,1))).subscribe((({activated:t,deactivated:r})=>{const n=[...r].map((e=>a.get(e))).filter(Boolean);for(const e of r)s.delete(e),a.delete(e);for(const[e]of t)s.add(e);c.size>0&&(e.contributions.next([...e.contributions.value,...c.values()]),c.clear()),n.length>0&&e.contributions.next(e.contributions.value.filter((e=>!n.includes(e)))),!1===e.haveInitialExtensionsLoaded.value&&e.haveInitialExtensionsLoaded.next(!0)}))}const tr=new Map;async function rr(e,t,r){try{or(r(e));const n={};self.exports=n,self.module={exports:n},self.importScripts(t)}catch(r){throw new Error(`error thrown while executing extension ${JSON.stringify(e)} bundle (in importScripts of ${t}): ${String(r)}`)}const n=self.module.exports;if(delete self.exports,delete self.module,!("activate"in n))throw new Error(`extension bundle for ${JSON.stringify(e)} has no exported activate function (in ${t})`);const o=new p,i="function"==typeof n.deactivate?n.deactivate:null;tr.set(e,(async()=>{try{i&&await Promise.resolve(i())}finally{o.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:o}))).catch((t=>{throw t=Xe(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function nr(e){const t=tr.get(e);t&&(tr.delete(e),await Promise.resolve(t()))}function or(e){let t=!1;globalThis.require=r=>{if("sourcegraph"===r){if(!t)return t=!0,e;throw new Error("require: Sourcegraph extension API can only be imported once")}throw new Error(`require: module not found: ${r}`)}}function ir(e){return e.settings.pipe(S((e=>function(e){if(!e||!e["extensions.activeLoggers"])return new Set;const t=e["extensions.activeLoggers"];if(!Array.isArray(t))return new Set;return new Set(t)}(e.final)))).subscribe((t=>e.activeLoggers=t))}var sr=r(3234),ar=r.n(sr);function cr(e){return function(t){return t.lift(new ur(e))}}var ur=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new lr(e,this.value))},e}(),lr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return n(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(v),fr=new ot(tt);function pr(e,t){return void 0===t&&(t=fr),function(r){return r.lift(new hr(e,t))}}var hr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new dr(e,this.dueTime,this.scheduler))},e}(),dr=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.dueTime=r,o.scheduler=n,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return n(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(vr,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(v);function vr(e){e.debouncedNext()}var gr=r(8838),yr=r(9588),br=r.n(yr),mr=r(2164),xr=r.n(mr);const wr=()=>({key:br()("TextDocumentDecorationType")});function Sr(e){const t="object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"string"==typeof e.after.contentText,r="object"==typeof e&&null!==e&&D("meter")(e)&&e.meter&&"object"==typeof e.meter&&D("value")(e.meter)&&"number"==typeof e.meter.value;if(!t&&!r)return!1;return!("object"==typeof e&&null!==e&&D("after")(e)&&e.after&&"object"==typeof e.after&&D("contentText")(e.after)&&"object"==typeof e.after.contentText)}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Tr=()=>({key:br()("StatusBarItemType")}),Cr=wr();class _r{constructor(e,t){Er(this,H,!0),Er(this,"selectionsChanges",new ge([])),Er(this,"type","CodeEditor"),Er(this,"_decorationsByType",new Map),Er(this,"_mergedDecorations",new ge([])),Er(this,"_statusBarItemsByType",new Map),Er(this,"_mergedStatusBarItems",new ge([])),this.document=t,this.resource=e.resource,this.viewerId=e.viewerId,this.isActive=e.isActive,this.update(e)}get selection(){return this.selectionsChanges.value.length>0?this.selectionsChanges.value[0]:null}get selections(){return this.selectionsChanges.value}get mergedDecorations(){return this._mergedDecorations}setDecorations(e,t){e=e||Cr,this._decorationsByType.set(e,t.map(kr)),this._mergedDecorations.next([...this._decorationsByType.values()].flat().filter((e=>!Or(e))))}get mergedStatusBarItems(){return this._mergedStatusBarItems}setStatusBarItem(e,t){this._statusBarItemsByType.set(e,{...t,...e}),this._mergedStatusBarItems.next([...this._statusBarItemsByType.values()].flat().filter((e=>Pr(e))))}update(e){const t=e.selections.map((e=>gr.Selection.fromPlain(e)));xr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}const Ar=e=>Array.isArray(e)?e.every(Ar):"object"==typeof e&&null!==e?Object.values(e).every(Ar):!e,Or=({range:e,isWholeLine:t,...r})=>Ar(r),Pr=({key:e,text:t})=>!!e&&!!t;function kr(e){return{...e,range:e.range.toJSON()}}var Lr=r(672),Ir=r.n(Lr);const Rr=e=>({[H]:!0,subscribe:t=>re(e.subscribe({next:e=>{t.next(e)},error:e=>{t.error(e&&{message:e.message,name:e.name,stack:e.stack})},complete:()=>{t.complete()}}))});function Nr(e,t=Ir()){let r;var n,o,i;return r=e&&(ue(e)||(i=e)&&(i instanceof x||"function"==typeof i.lift&&"function"==typeof i.subscribe)||"object"==typeof(o=e)&&null!==o&&D("subscribe")(o)&&"function"==typeof o.subscribe)?Ne(e).pipe(S(t)):(e=>"object"==typeof e&&null!==e&&"function"==typeof e[Symbol.asyncIterator])(e)?(n=e,new x((e=>{const t=n[Symbol.asyncIterator]();let r=!1,o=!1;return function n(){t.next().then((t=>{if(!r)return t.done?(o=!0,void e.complete()):(e.next(t.value),n())}),(t=>{e.error(t)}))}(),()=>{r=!0,!o&&t.throw&&t.throw(new le).catch((()=>{}))}}))).pipe(S(t)):st(t(e)),r}const jr={Text:"text",Read:"read",Write:"write"};var Mr=r(2497),Dr=r.n(Mr),Ur=r(8202),Fr=r.n(Ur);function Br(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),Ke(b,e);var e}function Vr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Br()(st.apply(void 0,e))}function Gr(e,t){return"function"==typeof t?function(r){return r.pipe(Gr((function(r,n){return Ne(e(r,n)).pipe(S((function(e,o){return t(r,e,n,o)})))})))}:function(t){return t.lift(new Hr(e))}}var Hr=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new $r(e,this.project))},e}(),$r=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.index=0,n}return n(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t)},t.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var r=new Ge(this),n=this.destination;n.add(r),this.innerSubscription=$e(e,r),this.innerSubscription!==r&&n.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=void 0},t.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e){this.destination.next(e)},t}(He);function Kr(e){return void 0===e&&(e=null),function(t){return t.lift(new Wr(e))}}var Wr=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Jr(e,this.defaultValue))},e}(),Jr=function(e){function t(t,r){var n=e.call(this,t)||this;return n.defaultValue=r,n.isEmpty=!0,n}return n(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(v);r(9997);const zr="loading";var qr;!function(e){e[e.CodeViewToActual=0]="CodeViewToActual",e[e.ActualToCodeView=1]="ActualToCodeView"}(qr||(qr={}));var Yr=r(4245);function Qr(e){const t=(0,Yr.basename)(e),r=function(e){const t=e.split(".");if(1===t.length)return"";if(2===t.length&&""===t[0])return"";return t[t.length-1].toLowerCase()}(e);return function(e){switch(e.toLowerCase()){case"dockerfile":return"dockerfile";default:return}}(t)||function(e){switch(e.toLowerCase()){case"adb":case"ada":case"ads":return"ada";case"cls":case"apex":case"trigger":return"apex";case"as":return"actionscript";case"apacheconf":return"apache";case"applescript":case"scpt":return"applescript";case"sh":case"bash":case"zsh":return"shell";case"clj":case"cljs":case"cljx":return"clojure";case"css":return"css";case"cmake":case"cmake.in":case"in":return"cmake";case"coffee":case"cake":case"cson":case"cjsx":case"iced":return"coffescript";case"cs":case"csx":return"csharp";case"c":case"cc":case"cpp":case"cxx":case"c++":case"h++":case"hh":case"h":case"hpp":case"pc":case"pcc":return"cpp";case"cu":case"cuh":return"cuda";case"dart":return"dart";case"diff":case"patch":return"diff";case"jinja":return"django";case"bat":case"cmd":return"dos";case"ex":case"exs":return"elixir";case"elm":return"elm";case"erl":return"erlang";case"f":case"for":case"frt":case"fr":case"forth":case"4th":case"fth":return"fortran";case"fs":return"fsharp";case"go":return"go";case"graphql":return"graphql";case"groovy":return"groovy";case"haml":return"haml";case"hbs":case"handlebars":return"handlebars";case"hs":case"hsc":return"haskell";case"htm":case"html":case"xhtml":return"html";case"ini":case"cfg":case"prefs":case"pro":case"properties":return"ini";case"java":return"java";case"js":case"jsx":case"es":case"es6":case"jss":case"jsm":return"javascript";case"json":case"sublime_metrics":case"sublime_session":case"sublime-keymap":case"sublime-mousemap":case"sublime-project":case"sublime-settings":case"sublime-workspace":return"json";case"jsonnet":case"libsonnet":return"jsonnet";case"jl":return"julia";case"kt":case"ktm":case"kts":return"kotlin";case"less":return"less";case"lisp":case"asd":case"cl":case"lsp":case"l":case"ny":case"podsl":case"sexp":case"el":return"lisp";case"lua":case"fcgi":case"nse":case"pd_lua":case"rbxs":case"wlua":return"lua";case"mk":case"mak":return"makefile";case"md":case"mkdown":case"mkd":return"markdown";case"nginxconf":return"nginx";case"m":case"mm":return"objectivec";case"ml":case"eliom":case"eliomi":case"ml4":case"mli":case"mll":case"mly":case"re":return"ocaml";case"p":case"pas":case"pp":return"pascal";case"pl":case"al":case"cgi":case"perl":case"ph":case"plx":case"pm":case"pod":case"psgi":case"t":return"perl";case"php":case"phtml":case"php3":case"php4":case"php5":case"php6":case"php7":case"phps":return"php";case"ps1":case"psd1":case"psm1":return"powershell";case"proto":return"protobuf";case"py":case"pyc":case"pyd":case"pyo":case"pyw":case"pyz":return"python";case"r":case"rd":case"rsx":return"r";case"rb":case"builder":case"eye":case"gemspec":case"god":case"jbuilder":case"mspec":case"pluginspec":case"podspec":case"rabl":case"rake":case"rbuild":case"rbw":case"rbx":case"ru":case"ruby":case"spec":case"thor":case"watchr":return"ruby";case"rs":case"rs.in":return"rust";case"sass":case"scss":return"scss";case"sbt":case"sc":case"scala":return"scala";case"scm":case"sch":case"sls":case"sps":case"ss":return"scheme";case"st":return"smalltalk";case"sql":return"sql";case"styl":return"stylus";case"swift":return"swift";case"thrift":return"thrift";case"ts":case"tsx":return"typescript";case"twig":return"twig";case"vb":return"vbnet";case"vbs":return"vbscrip";case"v":case"veo":case"sv":case"svh":case"svi":return"verilog";case"vhd":case"vhdl":return"vhdl";case"vim":return"vim";case"xml":case"adml":case"admx":case"ant":case"axml":case"builds":case"ccxml":case"clixml":case"cproject":case"csl":case"csproj":case"ct":case"dita":case"ditamap":case"ditaval":case"dll.config":case"dotsettings":case"filters":case"fsproj":case"fxml":case"glade":case"gml":case"grxml":case"iml":case"ivy":case"jelly":case"jsproj":case"kml":case"launch":case"mdpolicy":case"mjml":case"mod":case"mxml":case"nproj":case"nuspec":case"odd":case"osm":case"pkgproj":case"plist":case"props":case"ps1xml":case"psc1":case"pt":case"rdf":case"resx":case"rss":case"scxml":case"sfproj":case"srdf":case"storyboard":case"stTheme":case"sublime-snippet":case"targets":case"tmCommand":case"tml":case"tmLanguage":case"tmPreferences":case"tmSnippet":case"tmTheme":case"ui":case"urdf":case"ux":case"vbproj":case"vcxproj":case"vsixmanifest":case"vssettings":case"vstemplate":case"vxml":case"wixproj":case"wsdl":case"wsf":case"wxi":case"wxl":case"wxs":case"x3d":case"xacro":case"xaml":case"xib":case"xlf":case"xliff":case"xmi":case"xml.dist":case"xproj":case"xsd":case"xspec":case"xul":case"zcml":return"xml";case"yml":case"yaml":return"yaml";default:return}}(r)||"plaintext"}var Xr=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Zr(e,this.resultSelector))},e}(),Zr=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var o=e.call(this,t)||this;return o.resultSelector=r,o.iterators=[],o.active=0,o.resultSelector="function"==typeof r?r:void 0,o}return n(t,e),t.prototype._next=function(e){var t=this.iterators;u(e)?t.push(new tn(e)):"function"==typeof e[Se]?t.push(new en(e[Se]())):t.push(new rn(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe());else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(s=e[n]).hasValue&&!s.hasValue())return}var o=!1,i=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(o=!0),a.done)return void r.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):r.next(i),o&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(v),en=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return Boolean(e&&e.done)},e}(),tn=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[Se]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),rn=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.parent=r,o.observable=n,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return n(t,e),t.prototype[Se]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return $e(this.observable,new Ge(this))},t}(He),nn=1,on=function(){return Promise.resolve()}(),sn={};function an(e){return e in sn&&(delete sn[e],!0)}var cn=function(e){var t=nn++;return sn[t]=!0,on.then((function(){return an(t)&&e()})),t},un=function(e){an(e)},ln=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=cn(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(un(r),t.scheduled=void 0)},t}(tt),fn=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,o=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<o&&(e=r.shift()));if(this.active=!1,t){for(;++n<o&&(e=r.shift());)e.unsubscribe();throw t}},t}(ot))(ln),pn=r(3621),hn=r(6451),dn=r(2723),vn=r(5478);function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yn(e,t){switch(e.length){case 0:return st([]);case 1:return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),Oe(e,void 0).lift(new Xr(r))}(...e);default:return new pn.Observable((0,dn.subscribeToArray)(e)).lift(new bn(t))}}class bn{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new mn(e,this.defaultValue))}}class mn extends hn.OuterSubscriber{constructor(e,t){super(e),gn(this,"activeObservables",0),gn(this,"values",[]),gn(this,"observables",[]),gn(this,"scheduled",!1),this.defaultValue=t}_next(e){void 0!==this.defaultValue&&this.values.push(this.defaultValue),this.observables.push(e)}_complete(){this.activeObservables=this.observables.length;for(let e=0;e<this.observables.length;e++)this.add((0,vn.D)(this,this.observables[e],this.observables[e],e))}notifyComplete(){this.activeObservables--,0===this.activeObservables&&this.destination.complete&&this.destination.complete()}notifyNext(e,t,r){this.values[r]=t,1!==this.activeObservables?this.scheduled||(this.scheduled=!0,fn.schedule((()=>{this.scheduled&&this.destination.next&&this.destination.next(this.values.slice()),this.scheduled=!1}))):this.destination.next&&this.destination.next(this.values.slice())}}var xn=r(6705);const wn=["Assembly","Bash","C","C++","C#","CSS","Dart","Elixir","Erlang","Go","GraphQL","Groovy","Haskell","HTML","Java","JavaScript","Kotlin","JSON","Julia","Lua","Markdown","Objective-C","OCaml","PHP","PowerShell","Python","R","Ruby","Rust","Sass","Scala","SQL","Swift","Terraform","TypeScript","VBA","XML","YAML","Zig"],Sn=r.n(xn)()(wn.concat(["1C Enterprise","4D","ABAP","ABNF","ActionScript","Ada","Adobe Font Metrics","Agda","AGS Script","AL","Alloy","Alpine Abuild","Altium Designer","AMPL","AngelScript","Ant Build System","ANTLR","ApacheConf","Apex","API Blueprint","APL","Apollo Guidance Computer","AppleScript","Arc","AsciiDoc","ASL","ASN.1","AspectJ","ASP.NET","Assembly","Asymptote","ATS","Augeas","AutoHotkey","AutoIt","Avro IDL","Awk","Ballerina","Batchfile","Befunge","BibTeX","Bison","BitBake","Blade","BlitzBasic","BlitzMax","Bluespec","Boo","Brainfuck","Brightscript","C","C#","C++","C2hs Haskell","Cabal Config","Cap'n Proto","CartoCSS","Ceylon","Chapel","Charity","ChucK","Cirru","Clarion","Classic ASP","Clean","Click","CLIPS","Clojure","Closure Templates","Cloud Firestore Security Rules","CMake","C-ObjDump","COBOL","CodeQL","CoffeeScript","ColdFusion","ColdFusion CFC","COLLADA","Common Lisp","Common Workflow Language","Component Pascal","CoNLL-U","Cool","Coq","Cpp-ObjDump","Creole","Crystal","CSON","Csound","Csound Document","Csound Score","CSS","CSV","Cuda","cURL Config","CWeb","Cycript","Cython","D","Dafny","Darcs Patch","Dart","DataWeave","desktop","Dhall","Diff","DIGITAL Command Language","dircolors","DirectX 3D File","DM","DNS Zone","D-ObjDump","Dockerfile","Dogescript","DTrace","Dylan","E","Eagle","Easybuild","EBNF","eC","Ecere Projects","ECL","ECLiPSe","EditorConfig","Edje Data Collection","edn","Eiffel","EJS","Elixir","Elm","Emacs Lisp","EmberScript","EML","EQ","Erlang","F#","F*","Factor","Fancy","Fantom","Faust","FIGlet Font","Filebench WML","Filterscript","fish","FLUX","Formatted","Forth","Fortran","Fortran Free Form","FreeMarker","Frege","Futhark","Game Maker Language","GAML","GAMS","GAP","GCC Machine Description","G-code","GDB","GDScript","GEDCOM","Genie","Genshi","Gentoo Ebuild","Gentoo Eclass","Gerber Image","Gettext Catalog","Gherkin","Git Attributes","Git Config","GLSL","Glyph","Glyph Bitmap Distribution Format","GN","Gnuplot","Go","Golo","Gosu","Grace","Gradle","Grammatical Framework","Graph Modeling Language","GraphQL","Graphviz (DOT)","Groovy","Groovy Server Pages","Hack","Haml","Handlebars","HAProxy","Harbour","Haskell","Haxe","HCL","HiveQL","HLSL","HolyC","HTML","HTML+Django","HTML+ECR","HTML+EEX","HTML+ERB","HTML+PHP","HTML+Razor","HTTP","HXML","Hy","HyPhy","IDL","Idris","Ignore List","IGOR Pro","Inform 7","INI","Inno Setup","Io","Ioke","IRC log","Isabelle","Isabelle ROOT","J","Jasmin","Java","Java Properties","JavaScript","JavaScript+ERB","Java Server Pages","JFlex","Jison","Jison Lex","Jolie","JSON","JSON5","JSONiq","JSONLD","Jsonnet","JSON with Comments","JSX","Julia","Jupyter Notebook","Kaitai Struct","KiCad Layout","KiCad Legacy Layout","KiCad Schematic","Kit","Kotlin","KRL","LabVIEW","Lark","Lasso","Latte","Lean","Less","Lex","LFE","LilyPond","Limbo","Linker Script","Linux Kernel Module","Liquid","Literate Agda","Literate CoffeeScript","Literate Haskell","LiveScript","LLVM","Logos","Logtalk","LOLCODE","LookML","LoomScript","LSL","LTspice Symbol","Lua","M","M4","M4Sugar","Macaulay2","Makefile","Mako","Markdown","Marko","Mask","Mathematica","MATLAB","Maven POM","Max","MAXScript","mcfunction","MediaWiki","Mercury","Meson","Metal","Microsoft Developer Studio Project","MiniD","Mirah","mIRC Script","MLIR","Modelica","Modula-2","Modula-3","Module Management System","Monkey","Moocode","MoonScript","Motorola 68K Assembly","MQL4","MQL5","MTML","MUF","mupad","Muse","Mustache","Myghty","nanorc","NASL","NCL","Nearley","Nemerle","NEON","nesC","NetLinx","NetLinx+ERB","NetLogo","NewLisp","Nextflow","Nginx","Nim","Ninja","Nit","Nix","NL","NPM Config","NSIS","Nu","NumPy","NWScript","ObjDump","Object Data Instance Notation","Objective-C","Objective-C++","Objective-J","ObjectScript","OCaml","Odin","Omgrofl","ooc","Opa","Opal","OpenCL","OpenEdge ABL","Open Policy Agent","OpenQASM","OpenRC runscript","OpenSCAD","OpenStep Property List","OpenType Feature File","Org","Ox","Oxygene","Oz","P4","Pan","Papyrus","Parrot","Parrot Assembly","Parrot Internal Representation","Pascal","Pawn","Pep8","Perl","PHP","Pic","Pickle","PicoLisp","PigLatin","Pike","PlantUML","PLpgSQL","PLSQL","Pod","Pod 6","PogoScript","Pony","PostCSS","PostScript","POV-Ray SDL","PowerBuilder","PowerShell","Prisma","Processing","Proguard","Prolog","Propeller Spin","Protocol Buffer","Public Key","Pug","Puppet","PureBasic","Pure Data","PureScript","Python","Python console","Python traceback","q","Q#","QMake","QML","Qt Script","Quake","R","Racket","Ragel","Raku","RAML","Rascal","Raw token data","RDoc","Readline Config","REALbasic","Reason","Rebol","Red","Redcode","Regular Expression","RenderScript","Ren'Py","ReScript","reStructuredText","REXX","Rich Text Format","Ring","Riot","RMarkdown","RobotFramework","Roff","Roff Manpage","Rouge","RPC","RPM Spec","Ruby","RUNOFF","Rust","Sage","SaltStack","SAS","Sass","Scala","Scaml","Scheme","Scilab","SCSS","sed","Self","ShaderLab","Shell","ShellSession","Shen","Sieve","Slash","Slice","Slim","Smali","Smalltalk","Smarty","SmPL","SMT","Solidity","SourcePawn","SPARQL","Spline Font Database","SQF","SQL","SQLPL","Squirrel","SRecode Template","SSH Config","Stan","Standard ML","Starlark","Stata","STON","Stylus","SubRip Text","SugarSS","SuperCollider","Svelte","SVG","Swift","SWIG","SystemVerilog","Tcl","Tcsh","Tea","Terra","TeX","Texinfo","Text","Textile","Thrift","TI Program","TLA","TOML","TSQL","TSV","TSX","Turing","Turtle","Twig","TXL","Type Language","TypeScript","Unified Parallel C","Unity3D Asset","Unix Assembly","Uno","UnrealScript","UrWeb","V","Vala","VBA","VBScript","VCL","Verilog","VHDL","Vim Help File","Vim script","Vim Snippet","Visual Basic .NET","Volt","Vue","Wavefront Material","Wavefront Object","wdl","WebAssembly","WebIDL","Web Ontology Language","WebVTT","Wget Config","Windows Registry Entries","wisp","Wollok","World of Warcraft Addon Data","X10","xBase","X BitMap","XC","XCompose","X Font Directory Index","XML","XML Property List","Xojo","XPages","X PixMap","XProc","XQuery","XS","XSLT","Xtend","Yacc","YAML","YANG","YARA","YASnippet","ZAP","Zeek","ZenScript","Zephir","Zig","ZIL","Zimpl"])),En=[{name:"repo"},{name:"file",fields:[{name:"directory"},{name:"path"}]},{name:"content"},{name:"symbol",fields:[{name:"file"},{name:"module"},{name:"namespace"},{name:"package"},{name:"class"},{name:"method"},{name:"property"},{name:"field"},{name:"constructor"},{name:"enum"},{name:"interface"},{name:"function"},{name:"variable"},{name:"constant"},{name:"string"},{name:"number"},{name:"boolean"},{name:"array"},{name:"object"},{name:"key"},{name:"null"},{name:"enum-member"},{name:"struct"},{name:"event"},{name:"operator"},{name:"type-parameter"}]},{name:"commit",fields:[{name:"diff",fields:[{name:"added"},{name:"removed"}]}]}],Tn=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...Tn(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let Cn,_n;!function(e){e.after="after",e.archived="archived",e.author="author",e.before="before",e.case="case",e.committer="committer",e.content="content",e.context="context",e.count="count",e.file="file",e.fork="fork",e.lang="lang",e.message="message",e.patterntype="patterntype",e.repo="repo",e.repogroup="repogroup",e.repohascommitafter="repohascommitafter",e.repohasfile="repohasfile",e.rev="rev",e.select="select",e.timeout="timeout",e.type="type",e.visibility="visibility"}(Cn||(Cn={})),function(e){e.f="file",e.g="repogroup",e.l="lang",e.language="lang",e.m="message",e.msg="message",e.r="repo",e.revision="rev",e.since="after",e.until="before"}(_n||(_n={}));const An=[...Object.keys(Cn),...Object.keys(_n)];let On;!function(e){e.author="-author",e.committer="-committer",e.content="-content",e.f="-f",e.file="-file",e.l="-l",e.lang="-lang",e.message="-message",e.r="-r",e.repo="-repo",e.repohasfile="-repohasfile"}(On||(On={}));Object.values(On),Cn.author,Cn.committer,Cn.content,Cn.file,Cn.file,Cn.lang,Cn.lang,Cn.message,Cn.repo,Cn.repo,Cn.repohasfile;const Pn=[{label:"Search a GitHub organization",insertText:"^github\\.com/${1:ORGANIZATION}/.*",asSnippet:!0},{label:"Search a single GitHub repository",insertText:"^github\\.com/${1:ORGANIZATION}/${2:REPO-NAME}$",asSnippet:!0},{label:"Search for repositories with fuzzy string search",insertText:"${1:STRING}",asSnippet:!0}];Cn.after,Cn.archived,Cn.author,Cn.before,Cn.case,Cn.committer,Cn.content,Cn.context,Cn.count,Cn.file,Cn.fork,Cn.lang,Cn.message,Cn.patterntype,Cn.repo,Cn.repogroup,Cn.repohascommitafter,Cn.repohasfile,Cn.rev,Cn.select,Cn.timeout,Cn.type,Cn.visibility;function kn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let Ln,In,Rn,Nn,jn,Mn,Dn,Un,Fn,Bn,Vn,Gn,Hn,$n,Kn,Wn,Jn,zn,qn,Yn,Qn,Xn,Zn,eo,to,ro,no,oo,io,so,ao,co,uo,lo,fo,po,ho,vo,go;!function(e){e.READ="READ"}(Ln||(Ln={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.PUBLISHED="PUBLISHED"}(In||(In={})),function(e){e.SCHEDULED="SCHEDULED",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Rn||(Rn={})),function(e){e.DRAFT="DRAFT",e.OPEN="OPEN",e.CLOSED="CLOSED",e.MERGED="MERGED",e.DELETED="DELETED"}(Nn||(Nn={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.PENDING="PENDING",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED"}(jn||(jn={})),function(e){e.PENDING="PENDING",e.PASSED="PASSED",e.FAILED="FAILED"}(Mn||(Mn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.FAILED="FAILED",e.RETRYING="RETRYING",e.SCHEDULED="SCHEDULED",e.PROCESSING="PROCESSING",e.OPEN="OPEN",e.DRAFT="DRAFT",e.CLOSED="CLOSED",e.MERGED="MERGED",e.DELETED="DELETED"}(Dn||(Dn={})),function(e){e.PUSH="PUSH",e.UPDATE="UPDATE",e.UNDRAFT="UNDRAFT",e.PUBLISH="PUBLISH",e.PUBLISH_DRAFT="PUBLISH_DRAFT",e.SYNC="SYNC",e.IMPORT="IMPORT",e.CLOSE="CLOSE",e.REOPEN="REOPEN",e.SLEEP="SLEEP",e.DETACH="DETACH",e.ARCHIVE="ARCHIVE"}(Un||(Un={})),function(e){e.EXISTING="EXISTING",e.BRANCH="BRANCH"}(Fn||(Fn={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Bn||(Bn={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(Vn||(Vn={})),function(e){e.SKIPPED="SKIPPED",e.PENDING="PENDING",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Gn||(Gn={})),function(e){e.OPEN="OPEN",e.CLOSED="CLOSED"}(Hn||(Hn={})),function(e){e.COMMENT="COMMENT",e.DETACH="DETACH",e.REENQUEUE="REENQUEUE",e.MERGE="MERGE",e.CLOSE="CLOSE",e.PUBLISH="PUBLISH"}($n||($n={})),function(e){e.PROCESSING="PROCESSING",e.COMPLETED="COMPLETED",e.FAILED="FAILED"}(Kn||(Kn={})),function(e){e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Wn||(Wn={})),function(e){e.NORMAL="NORMAL",e.CRITICAL="CRITICAL"}(Jn||(Jn={})),function(e){e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.ERROR="ERROR"}(zn||(zn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING",e.DELETING="DELETING"}(qn||(qn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED"}(Yn||(Yn={})),function(e){e.HOUR="HOUR",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"}(Qn||(Qn={})),function(e){e.WEB="WEB",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.BACKEND="BACKEND"}(Xn||(Xn={})),function(e){e.V1="V1",e.V2="V2"}(Zn||(Zn={})),function(e){e.literal="literal",e.regexp="regexp",e.structural="structural"}(eo||(eo={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",e.BITBUCKETCLOUD="BITBUCKETCLOUD",e.BITBUCKETSERVER="BITBUCKETSERVER",e.GITHUB="GITHUB",e.GITLAB="GITLAB",e.GITOLITE="GITOLITE",e.JVMPACKAGES="JVMPACKAGES",e.PERFORCE="PERFORCE",e.PHABRICATOR="PHABRICATOR",e.OTHER="OTHER"}(to||(to={})),function(e){e.ADDED="ADDED",e.UNCHANGED="UNCHANGED",e.DELETED="DELETED"}(ro||(ro={})),function(e){e.ERROR="ERROR",e.WARNING="WARNING",e.INFORMATION="INFORMATION",e.HINT="HINT"}(no||(no={})),function(e){e.UNKNOWN="UNKNOWN",e.FILE="FILE",e.MODULE="MODULE",e.NAMESPACE="NAMESPACE",e.PACKAGE="PACKAGE",e.CLASS="CLASS",e.METHOD="METHOD",e.PROPERTY="PROPERTY",e.FIELD="FIELD",e.CONSTRUCTOR="CONSTRUCTOR",e.ENUM="ENUM",e.INTERFACE="INTERFACE",e.FUNCTION="FUNCTION",e.VARIABLE="VARIABLE",e.CONSTANT="CONSTANT",e.STRING="STRING",e.NUMBER="NUMBER",e.BOOLEAN="BOOLEAN",e.ARRAY="ARRAY",e.OBJECT="OBJECT",e.KEY="KEY",e.NULL="NULL",e.ENUMMEMBER="ENUMMEMBER",e.STRUCT="STRUCT",e.EVENT="EVENT",e.OPERATOR="OPERATOR",e.TYPEPARAMETER="TYPEPARAMETER"}(oo||(oo={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_TAG="GIT_TAG",e.GIT_REF_OTHER="GIT_REF_OTHER"}(io||(io={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(so||(so={})),function(e){e.GIT_COMMIT="GIT_COMMIT",e.GIT_TAG="GIT_TAG",e.GIT_TREE="GIT_TREE",e.GIT_BLOB="GIT_BLOB",e.GIT_UNKNOWN="GIT_UNKNOWN"}(ao||(ao={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(co||(co={})),function(e){e.REPOSITORY_NAME="REPOSITORY_NAME",e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT"}(uo||(uo={})),function(e){e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR"}(lo||(lo={})),function(e){e.PAGEVIEW="PAGEVIEW",e.SEARCHQUERY="SEARCHQUERY",e.CODEINTEL="CODEINTEL",e.CODEINTELREFS="CODEINTELREFS",e.CODEINTELINTEGRATION="CODEINTELINTEGRATION",e.CODEINTELINTEGRATIONREFS="CODEINTELINTEGRATIONREFS",e.STAGEMANAGE="STAGEMANAGE",e.STAGEPLAN="STAGEPLAN",e.STAGECODE="STAGECODE",e.STAGEREVIEW="STAGEREVIEW",e.STAGEVERIFY="STAGEVERIFY",e.STAGEPACKAGE="STAGEPACKAGE",e.STAGEDEPLOY="STAGEDEPLOY",e.STAGECONFIGURE="STAGECONFIGURE",e.STAGEMONITOR="STAGEMONITOR",e.STAGESECURE="STAGESECURE",e.STAGEAUTOMATE="STAGEAUTOMATE"}(fo||(fo={})),function(e){e.TODAY="TODAY",e.THIS_WEEK="THIS_WEEK",e.THIS_MONTH="THIS_MONTH",e.ALL_TIME="ALL_TIME"}(po||(po={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(ho||(ho={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(vo||(vo={})),function(e){e.Or="or",e.And="and",e.Not="not"}(go||(go={}));const yo=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),bo=(...e)=>(t,r)=>{const n=[];for(const o of e){const e=o(t,r);if("success"===e.type)return e;n.push(e.expected)}return{type:"error",expected:`One of: ${n.join(", ")}`,at:r}},mo=e=>(t,r)=>{if(t[r]!==e)return{type:"error",expected:e,at:r};let n=r+1;for(;t[n]&&(t[n]!==e||"\\"===t[n-1]);)n+=1;return t[n]?{type:"success",term:yo(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},xo=(e,t,r)=>(e.source.startsWith("^")||(e=new RegExp(`^${e.source}`,e.flags)),(n,o)=>{const i=n.slice(Math.max(0,o));if(!i)return{type:"error",expected:r||`/${e.source}/`,at:o};const s=i.match(e);if(!s)return{type:"error",expected:r||`/${e.source}/`,at:o};const a={start:o,end:o+s[0].length};return{type:"success",term:t?"function"==typeof t?t(s[0],a):t:{type:"literal",value:s[0],range:a}}}),wo=(e,t)=>{let r=t,n=0,o="";const i=[],s=()=>{o=e[r],r+=1};if(!Io(e,t))return{type:"error",expected:"no recognized filter or keyword",at:t};for(;void 0!==e[r];){if(s(),o.match(/\s/)&&0===n){r-=1;break}if("("===o){if(!Io(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};n+=1,i.push(o)}else if(")"===o){if(n-=1,n<0&&r>1){r-=1,n=0;break}i.push(o)}else if(" "===o){if(!Io(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};i.push(o)}else if("\\"===o){if(void 0!==e[r]){s(),i.push("\\",o);continue}i.push(o)}else i.push(o)}return 0!==n?{type:"error",expected:"no unbalanced parentheses",at:r}:{type:"success",term:yo(i.join(""),{start:t,end:r})}},So=xo(/\s+/,((e,t)=>({type:"whitespace",range:t}))),Eo=xo(/[^\s)]+/),To=xo(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:go.Not}))),Co=xo(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:go.And}))),_o=xo(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:go.Or}))),Ao=bo(Co,_o,To),Oo=(xo(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),xo(new RegExp(`-?(${An.join("|")})+(?=:)`,"i"))),Po=(bo(mo('"'),mo("'"),wo,Eo),xo(/\(/,((e,t)=>({type:"openingParen",range:t}))),xo(/\)/,((e,t)=>({type:"closingParen",range:t})))),ko=(e,t)=>(r,n)=>{const o=e(r,n);if("error"===o.type)return o;let i;const s=[];if(Array.isArray(o.term))for(const e of o.term)s.push(e),i=e.range.end;else s.push(o.term),i=o.term.range.end;if(i&&void 0!==r[i]){const e=t(r,i);if("error"===e.type)return e;s.push(e.term),i=e.term.range.end}return{type:"success",term:s}},Lo=bo(Oo,ko(Ao,So)),Io=(e,t)=>"success"!==Lo(e,t).type;bo(So,Po);let Ro;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(Ro||(Ro={}));const No=e=>{const t=e.split(",");if(1===t.length)return{line:parseInt(e,10),character:0};if(2===t.length)return{line:parseInt(t[0],10),character:parseInt(t[1],10)};throw new Error("unexpected position: "+e)};function jo(e){const t=new URL(e),r=t.hostname+decodeURIComponent(t.pathname),n=decodeURIComponent(t.search.slice("?".length))||void 0;let o;null!=n&&n.match(/[\dA-f]{40}/)&&(o=n);const i=t.hash.slice("#".length).split(":").map(decodeURIComponent);let s,a,c;if(1===i.length&&(s=i[0]),2===i.length){s=i[0];const e=i[1],t=e.split("-");if(1===t.length&&(a=No(t[0])),2===t.length&&(c={start:No(t[0]),end:No(t[1])}),t.length>2)throw new Error("unexpected range or position: "+e)}if(i.length>2)throw new Error("unexpected fragment: "+t.hash);return{repoName:r,revision:n,commitID:o,filePath:s||void 0,position:a,range:c}}var Mo=r(1781),Do=r.n(Mo);function Uo(e,t){for(const n of(r=e,Array.isArray(r)&&(0===r.length||function(e){return"string"==typeof e||function(e){const t=e;return"string"==typeof t.language||"string"==typeof t.scheme||"string"==typeof t.pattern}(e)}(r[0]))?[e]:e))if(Fo(n,t))return!0;var r;return!1}function Fo(e,t){return 0!==function(e,t,r){let n=0;for(const o of e){const e=Bo(o,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function Bo(e,t,r){if("string"==typeof e)return"*"===e?5:e===r?10:0;const{language:n,scheme:o,pattern:i,baseUri:s}=e;if(!n&&!o&&!i)return 5;let a=0;if(o)if(t.protocol===o+":")a=10;else{if("*"!==o)return 0;a=5}if(s){if(!t.href.startsWith(s.toString()))return 0;a=5}if(n)if(n===r)a=10;else{if("*"!==n)return 0;a=Math.max(a,5)}if(i){const e=decodeURIComponent("git:"===t.protocol?t.hash.slice(1):t.pathname.replace(/^\//,""));if(e.endsWith(i)||Do()(e,i))a=10;else{if(!e||!Do()(e,i,{dot:!0,matchBase:!0}))return 0;a=5}}return a}let Vo;!function(e){e.CommandPalette="commandPalette",e.GlobalNav="global/nav",e.EditorTitle="editor/title",e.DirectoryPage="directory/page",e.Hover="hover",e.PanelToolbar="panel/toolbar",e.SearchResultsToolbar="search/results/toolbar",e.Help="help"}(Vo||(Vo={}));r(9913),r(2366),r(8911),r(4207);function Go(e,t,r,n){const o={...r};if(null!==(i=t).subjects&&!i.subjects.some((e=>Qe(e.settings)))&&null!==i.final&&!Qe(i.final))for(const[e,r]of Object.entries(t.final))o[`config.${e}`]=r;var i;const s=n||e||null;if(s&&(o.component=!0),"CodeEditor"===(null==s?void 0:s.type)){o.resource=!0,o["resource.uri"]=s.resource,o["resource.basename"]=(0,Yr.basename)(s.resource),o["resource.dirname"]=(0,Yr.dirname)(s.resource),o["resource.extname"]=(0,Yr.extname)(s.resource),o["resource.language"]=s.model.languageId,o["resource.type"]="textDocument";const e=new URL(s.resource);o["resource.repo"]=`${e.hostname}${e.pathname}`,o["resource.commit"]=e.search.slice(1),o["resource.path"]=e.hash.slice(1),o["component.type"]="CodeEditor",o["component.selections"]=s.selections,s.selections.length>0&&(o["component.selection"]=s.selections[0]||null,o["component.selection.start"]=s.selections[0]?s.selections[0].start:null,o["component.selection.end"]=s.selections[0]?s.selections[0].end:null,o["component.selection.start.line"]=s.selections[0]?s.selections[0].start.line:null,o["component.selection.start.character"]=s.selections[0]?s.selections[0].start.character:null,o["component.selection.end.line"]=s.selections[0]?s.selections[0].end.line:null,o["component.selection.end.character"]=s.selections[0]?s.selections[0].end.character:null)}return"panelView"===(null==s?void 0:s.type)&&(o["panel.activeView.id"]=s.id,o["panel.activeView.hasLocations"]=s.hasLocations),o}function Ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $o{constructor(e){Ho(this,H,!0),Ho(this,"type","DirectoryViewer"),this.isActive=e.isActive,this.viewerId=e.viewerId,this.resource=e.resource,this.directory={uri:new URL(e.resource)}}}var Ko=function(){function e(e,t,r){void 0===r&&(r=!1),this.accumulator=e,this.seed=t,this.hasSeed=r}return e.prototype.call=function(e,t){return t.subscribe(new Wo(e,this.accumulator,this.seed,this.hasSeed))},e}(),Wo=function(e){function t(t,r,n,o){var i=e.call(this,t)||this;return i.accumulator=r,i._seed=n,i.hasSeed=o,i.index=0,i}return n(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.accumulator(this.seed,e,r)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(v);const Jo="ColdCallViewProviderStart";function zo(e,t,r=2){return t.pipe(Gr((t=>Ne(t).pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ye(r)?(e.pop(),function(t){return Vr(e,t,r)}):function(t){return Vr(e,t)}}(Jo),Ke(((t,r)=>t!==Jo?Nr(t.viewProvider.provideView(e)).pipe(Kr(null),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Xe(e);return[{message:t,name:r,stack:n}]})),S((e=>({id:t.id,view:e,index:r})))):st(Jo)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new Ko(e,t,r))}}(((e,t)=>{if(t===Jo)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),S((e=>e.filter(F(N,U("view",M(j(null))))))))}class qo{constructor(e,t){this.index=e,this.remainder=t}}class Yo{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}getCount(){return this.values.length}insertValues(e,t){e=Xo(e);const r=this.values,n=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(r.length+o),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}changeValue(e,t){return e=Xo(e),t=Xo(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Xo(e),t=Xo(t);const r=this.values,n=this.prefixSum;if(e>=r.length)return!1;const o=r.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalValue(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)}getAccumulatedValue(e){return e<0?0:(e=Xo(e),this._getAccumulatedValue(e))}_getAccumulatedValue(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let r=t;r<=e;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalValue();let t=0,r=this.values.length-1,n=0,o=0,i=0;for(;t<=r;)if(n=t+(r-t)/2|0,o=this.prefixSum[n],i=o-this.values[n],e<i)r=n-1;else{if(!(e>=o))break;t=n+1}return new qo(n,e-i)}}const Qo=4294967295;function Xo(e){return e<0?0:e>Qo?Qo:0|e}const Zo=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class ei{constructor(e){var t,r,n;n=null,(r="_lineStarts")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.model=e,this._eol=ti(e.text||""),this._lines=void 0!==e.text?e.text.split(this._eol):[],this.uri=this.model.uri,this.languageId=this.model.languageId,this.text=this.model.text}update({text:e}){this.model={...this.model,text:e},this._eol=ti(e||""),this._lines=void 0!==e?e.split(this._eol):[],this.text=e}offsetAt(e){return this.throwIfNoModelText(),e=this.validatePosition(e),this.lineStarts.getAccumulatedValue(e.line-1)+e.character}positionAt(e){this.throwIfNoModelText(),e=Math.floor(e),e=Math.max(0,e);const t=this.lineStarts.getIndexOf(e),r=this._lines[t.index].length,n=Math.min(t.remainder,r);return new gr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof gr.Position))throw new TypeError("invalid argument");let{line:t,character:r}=e,n=!1;if(t<0)t=0,r=0,n=!0;else if(t>=this._lines.length)t=this._lines.length-1,r=this._lines[t].length,n=!0;else{const e=this._lines[t].length;r<0?(r=0,n=!0):r>e&&(r=e,n=!0)}return n?new gr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof gr.Range))throw new TypeError("invalid argument");const t=this.validatePosition(e.start),r=this.validatePosition(e.end);return t===e.start&&r===e.end?e:new gr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(Zo.lastIndex=0,!Zo.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(Zo.lastIndex=r;;){const r=Zo.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&Zo.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:Zo.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new gr.Range(e.line,t.startColumn,e.line,t.endColumn)}getText(e){if(this.throwIfNoModelText(),!(e=e?this.validateRange(e):void 0))return this.text;const{start:t,end:r}=e;if(t.line===r.line)return this._lines[t.line].slice(t.character,r.character);let n="";for(let e=t.line;e<=r.line;e++)e===t.line?n+=this._lines[e].slice(t.character):e===r.line?n+=this._lines[e].slice(0,r.character):n+=this._lines[e];return n}get lineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,r=new Uint32Array(t);for(let n=0;n<t;n++)r[n]=this._lines[n].length+e;this._lineStarts=new Yo(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function ti(e){for(let t=0;t<e.length;t++){const r=e.charAt(t);if("\r"===r)return t+1<e.length&&"\n"===e.charAt(t+1)?"\r\n":"\r";if("\n"===r)return"\n"}return"\n"}function ri(e){return new gr.Position(e.line,e.character)}function ni(e){return{uri:e.uri.href,range:oi(e.range),aggregableBadges:e.aggregableBadges}}function oi(e){if(e)return e instanceof gr.Range?e.toJSON():e}class ii{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function si(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function ai(e){const t=t=>{const r=e.textDocuments.get(t);if(!r)throw new Error(`Text document does not exist with URI ${t}`);return r},r=t=>{const r=e.viewComponents.get(t);if(!r)throw new fi(t);return r};return{haveInitialExtensionsLoaded:()=>Rr(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>Rr(e.roots.pipe(S((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new ii(t)])),e.rootChanges.next()},removeWorkspaceRoot:t=>{e.roots.next(Object.freeze(e.roots.value.filter((e=>e.uri.href!==t)))),e.rootChanges.next()},setSearchContext:t=>{e.searchContext=t,e.searchContextChanges.next(t)},transformSearchQuery:t=>Rr(e.queryTransformers.pipe(Gr((e=>e.reduce(((e,t)=>e.pipe(Ke((e=>{const r=t.transformQuery(e);return r instanceof Promise?Ne(r):st(r)})))),st(t)))))),getHover:r=>{const n=t(r.textDocument.uri),o=ri(r.position);return Rr(ui(e.hoverProviders,(e=>ci(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,o)),(e=>function(e){const t=[],r=[],n=new Map;let o;for(const s of e)if(s){var i;null!==(i=s.contents)&&void 0!==i&&i.value&&t.push({value:s.contents.value,kind:s.contents.kind||gr.MarkupKind.PlainText}),s.alerts&&r.push(...s.alerts);for(const e of s.aggregableBadges||[])n.set(e.text,e);s.range&&!o&&(o=s.range instanceof gr.Range?s.range.toPlain():s.range)}return 0===t.length?null:{contents:t,alerts:r,...o?{range:o}:{},aggregatedBadges:[...n.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(li(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),o=ri(r.position);return Rr(ui(e.documentHighlightProviders,(e=>ci(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,o)),li).pipe(S((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),o=ri(r.position);return Rr(ui(e.definitionProviders,(e=>ci(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,o)),(e=>li(e).map(ni))))},getReferences:(r,n)=>{const o=t(r.textDocument.uri),i=ri(r.position);return Rr(ui(e.referenceProviders,(e=>ci(o,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(o,i,n)),(e=>li(e).map(ni))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return Rr(e.referenceProviders.pipe(S((e=>0!==ci(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const o=t(n.textDocument.uri),i=ri(n.position);return Rr(ui(e.locationProviders,(e=>ci(o,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(o,i)),(e=>li(e).map(ni))))},getFileDecorations:t=>Rr(0===t.files.length?O:ui(e.fileDecorationProviders,Ir(),(e=>e.provideFileDecorations(t)),li).pipe(S((({result:e})=>Dr()(e.filter(Sr),(({uri:e})=>jo(e).filePath||e)))))),addViewerIfNotExists:r=>{const n="viewer#"+e.lastViewerId++;let o;switch("CodeEditor"===r.type&&e.modelReferences.increment(r.resource),r.type){case"CodeEditor":{const e=t(r.resource);o=new _r({...r,viewerId:n},e);break}case"DirectoryViewer":o=new $o({...r,viewerId:n})}return e.viewComponents.set(n,o),r.isActive&&e.activeViewComponentChanges.next(o),e.viewerUpdates.next({viewerId:n,action:"addition",type:r.type}),{viewerId:n}},removeViewer:({viewerId:n})=>{var o;const i=r(n);e.viewComponents.delete(n),(null===(o=e.activeViewComponentChanges.value)||void 0===o?void 0:o.viewerId)===n&&e.activeViewComponentChanges.next(void 0),e.viewerUpdates.next({viewerId:n,action:"removal",type:i.type}),"CodeEditor"===i.type&&e.modelReferences.decrement(i.resource)&&(r=>{const n=t(r);e.textDocuments.delete(r),e.languageReferences.decrement(n.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))})(i.resource)},viewerUpdates:()=>Rr(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);pi(n,"CodeEditor"),n.update({selections:t})},getTextDecorations:({viewerId:e})=>{const t=r(e);return pi(t,"CodeEditor"),Rr(t.mergedDecorations)},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new ei(t);e.textDocuments.set(t.uri,r),e.openedTextDocuments.next(r),e.languageReferences.increment(t.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))},getActiveViewComponentChanges:()=>Rr(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>Rr(e.activeViewComponentChanges.pipe(Gr((e=>"CodeEditor"!==(null==e?void 0:e.type)?st(null):e.selectionsChanges.pipe(S((t=>{const r=t[0];if(!r)return null;return r.start.line===r.end.line&&r.start.character===r.end.character&&-1===r.start.character?null:{textDocument:{uri:e.resource},position:{line:r.start.line,character:r.start.character}}}))))))),updateContext:t=>bi(t,e),registerContributions:t=>{const r=Yt(t);return re(si(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:o}={})=>Rr(ke([e.contributions,e.activeViewComponentChanges.pipe(S((e=>{if(e)switch(e.type){case"CodeEditor":{const{languageId:r}=t(e.resource);return Object.assign(e,{model:{languageId:r}})}case"DirectoryViewer":return e}}))),e.settings,e.context]).pipe(S((([e,t,i,s])=>{n&&(s={...s,...n});const a=Go(t,i,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&Ot()(t.menus,(t=>null==t?void 0:t.map((t=>({...t,when:t.when&&!!t.when.exec(e),disabledWhen:t.disabledWhen&&!!t.disabledWhen.exec(e)}))))),actions:qt(e,t.actions)}}(a,e);return o?t:function(e){return e.menus?{...e,menus:Ot()(e.menus,(e=>null==e?void 0:e.filter((e=>!1!==e.when))))}:e}(t)}catch(t){return console.log("Discarding contributions: evaluating expressions or templates failed.",{contributions:e,error:t}),{}}}))})),S(zt),Fe(xr()))),getPlainNotifications:()=>Rr(e.plainNotifications.asObservable()),getProgressNotifications:()=>Rr(e.progressNotifications.asObservable()),getPanelViews:()=>Rr(e.panelViews.pipe(Gr((e=>ke([...e]))),pr(0))),getInsightViewById:(t,r)=>Rr(e.insightsPageViewProviders.pipe(Gr((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?Nr(n.viewProvider.provideView(r)):at(new Error(`Couldn't find view with id ${t}`))})),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Xe(e);return st({message:t,name:r,stack:n})})),S((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),o=t.pipe(S((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),pr(0));return Rr(zo(e,o))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>Rr(hi(t,e.homepageViewProviders)),getDirectoryViews:t=>Rr(hi({viewer:{...t.viewer,directory:{...t.viewer.directory,uri:new URL(t.viewer.directory.uri)}},workspace:{uri:new URL(t.workspace.uri)}},e.directoryViewProviders)),getGlobalPageViews:t=>Rr(hi(t,e.globalPageViewProviders)),getStatusBarItems:({viewerId:e})=>{const t=r(e);return"CodeEditor"!==t.type?Rr(O):Rr(t.mergedStatusBarItems.pipe(pr(0),S((e=>e.sort(((e,t)=>e.text[0].toLowerCase().charCodeAt(0)-t.text[0].toLowerCase().charCodeAt(0)))))))},getLinkPreviews:t=>Rr(ui(e.linkPreviewProviders,(e=>e.filter((e=>t.startsWith(e.urlMatchPattern)))),(({provider:e})=>e.provideLinkPreview(new URL(t))),(e=>function(e){const t=e.filter(N).filter((e=>"loading"!==e)),r=t.filter(U("content",N)),n=t.filter(U("hover",N));if(0===n.length&&0===r.length)return null;return{content:r.map((({content:e})=>e)),hover:n.map((({hover:e})=>e))}}(e))).pipe(S((e=>e.isLoading?null:e.result)))),getActiveExtensions:()=>Rr(e.activeExtensions)}}function ci(e,t,r){return t.filter((t=>Uo(r(t),{uri:e.uri,languageId:Qr(jo(e.uri).filePath||"")})))}function ui(e,t,r,n,o=!0){const i=(...e)=>{o&&console.error("Provider errored:",...e)};return e.pipe(S((e=>t(e))),Gr((e=>yn(e.map((e=>Vr([zr],Nr((e=>{try{return r(e)}catch(e){return i(e),null}})(e)).pipe(Kr(null),ze((e=>(i(e),[null]))))))))))).pipe(Kr([]),S((e=>({isLoading:e.some((e=>e===zr)),result:n(e)}))),Fe(((e,t)=>xr()(e,t))))}function li(e){return e.filter(M(j(zr))).flatMap(Fr()).filter(N)}class fi extends Error{constructor(e){var t,r,n;super(`Viewer not found: ${e}`),n="ViewerNotFoundError",(r="name")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}}function pi(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}function hi(e,t){return t.pipe(pr(0),Gr((t=>ke([st(null),...t.map((({viewProvider:t,id:r})=>Vr([void 0],Nr(t.provideView(e)).pipe(Kr(null),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=Xe(e);return[{message:t,name:r,stack:n}]})))).pipe(S((e=>({id:r,view:e}))))))]))),S((e=>e.filter(F(N,U("view",M(j(null))))))))}const di={Error:1,Warning:2,Info:3,Log:4,Success:5};function vi(e,t,r){const n=Object.assign(e.settings.pipe(cr(void 0)),{get:()=>{const r=e.settings.value.final;return{value:r,get:e=>r[e],update:(e,r)=>t.applySettingsEdit({path:[e],value:r}),toJSON:()=>r}}}),o={get textDocuments(){return[...e.textDocuments.values()]},get roots(){return e.roots.value},get versionContext(){},get searchContext(){return e.searchContext},onDidOpenTextDocument:e.openedTextDocuments.asObservable(),openedTextDocuments:e.openedTextDocuments.asObservable(),onDidChangeRoots:e.roots.pipe(cr(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:O,searchContextChanges:e.searchContextChanges.asObservable()},i=async t=>{const r=new pt(1);return e.progressNotifications.next(re({baseNotification:{message:t.title,type:di.Log},progress:Rr(r.asObservable())})),{next:e=>{r.next(e)},error:e=>{const t=Xe(e);r.error({message:t.message,name:t.name,stack:t.stack})},complete:()=>{r.complete()}}},s={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return ar()(t,0).map((([,e])=>e))},get activeViewComponent(){return e.activeViewComponentChanges.value},activeViewComponentChanges:e.activeViewComponentChanges.asObservable(),showNotification:(t,r)=>{e.plainNotifications.next({message:t,type:r})},withProgress:async(e,t)=>{const r=await i(e);try{const e=t(r);return r.complete(),await e}catch(e){throw r.error(e),e}},showProgress:e=>i(e),showMessage:e=>t.showMessage(e),showInputBox:e=>t.showInputBox(e)},a={get activeWindow(){return s},activeWindowChanges:new ge(s).asObservable(),get windows(){return[s]},registerFileDecorationProvider:t=>si(e.fileDecorationProviders,t),createPanelView:t=>{const r=new ge({id:t,title:"",content:"",component:null,priority:0,selector:null}),n={get title(){return r.value.title},set title(e){r.next({...r.value,title:e})},get content(){return r.value.content},set content(e){r.next({...r.value,content:e})},get component(){return r.value.component},set component(e){r.next({...r.value,component:e})},get priority(){return r.value.priority},set priority(e){r.next({...r.value,priority:e})},get selector(){return r.value.selector},set selector(e){r.next({...r.value,selector:e})},unsubscribe:()=>{o.unsubscribe()}},o=si(e.panelViews,r.pipe(pr(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return si(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return si(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return si(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return si(e.homepageViewProviders,{id:t,viewProvider:r})}},createDecorationType:wr,createStatusBarItemType:Tr,log:Tt()},c={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>ce(t.registerCommand(e,re(r)))},u={registerQueryTransformer:t=>si(e.queryTransformers,t)},l={registerHoverProvider:(t,r)=>si(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>si(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>si(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>si(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>si(e.locationProviders,{selector:r,provider:{id:t,provider:n}}),registerTypeDefinitionProvider:()=>(console.warn("sourcegraph.languages.registerTypeDefinitionProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerImplementationProvider:()=>(console.warn("sourcegraph.languages.registerImplementationProvider was removed. Use sourcegraph.languages.registerLocationProvider instead."),{unsubscribe:()=>{}}),registerCompletionItemProvider:()=>(console.warn("sourcegraph.languages.registerCompletionItemProvider was removed."),{unsubscribe:()=>{}})},f={execute:(e,r)=>t.requestGraphQL(e,r)},p={registerLinkPreviewProvider:(t,r)=>si(e.linkPreviewProviders,{urlMatchPattern:t,provider:r})};return function(i){return{URI:URL,Position:gr.Position,Range:gr.Range,Selection:gr.Selection,Location:gr.Location,MarkupKind:gr.MarkupKind,NotificationType:di,DocumentHighlightKind:jr,app:{...a,log:(...r)=>{e.activeLoggers.has(i)&&t.logExtensionMessage(`\u{1f9e9} %c${i}`,"background-color: lightgrey;",...r).catch((e=>{console.error("Error sending extension message to main thread:",e)}))}},workspace:o,configuration:n,languages:l,search:u,commands:c,graphQL:f,content:p,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>bi(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}class gi{constructor(){var e,t,r;e=this,t="refCount",r=new Map,t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}increment(e){const t=this.refCount.get(e);return void 0===t?(this.refCount.set(e,1),!0):(this.refCount.set(e,t+1),!1)}decrement(e){const t=this.refCount.get(e);if(void 0===t)throw new Error(`No refCount for key: ${String(e)}`);return 1===t?(this.refCount.delete(e),!0):(this.refCount.set(e,t-1),!1)}keys(){return this.refCount.keys()}delete(e){return this.refCount.delete(e)}}function yi(e){const t=new p;let r=!1;return{unsubscribe:()=>t.unsubscribe(),extensionAPI:new Promise((n=>{q((o=>{if(r)throw new Error("extension host is already initialized");r=!0;const{subscription:i,extensionAPI:s,extensionHostAPI:a}=function(e,t){const r=new p,{extensionAPI:n,extensionHostAPI:o,subscription:i}=function(e,t){const r=new p;!function(){const e={canHandle:ae,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};z.set("URL",e)}();const n=Q(t.proxy),o=function(e,t){const{activeLanguages:r,activeExtensions:n}=Xt(t);return{haveInitialExtensionsLoaded:new ge(!1),roots:new ge([]),rootChanges:new de,searchContextChanges:new de,searchContext:void 0,settings:new ge(e.initialSettings),queryTransformers:new ge([]),hoverProviders:new ge([]),documentHighlightProviders:new ge([]),definitionProviders:new ge([]),referenceProviders:new ge([]),locationProviders:new ge([]),fileDecorationProviders:new ge([]),context:new ge({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new ge([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new de,viewComponents:new Map,activeLanguages:r,languageReferences:new gi,modelReferences:new gi,activeViewComponentChanges:new ge(void 0),viewerUpdates:new de,plainNotifications:new pt(3),progressNotifications:new pt(3),panelViews:new ge([]),insightsPageViewProviders:new ge([]),homepageViewProviders:new ge([]),globalPageViewProviders:new ge([]),directoryViewProviders:new ge([]),linkPreviewProviders:new ge([]),activeExtensions:n,activeLoggers:new Set}}(e,n),i=ai(o),s=vi(o,n,e);r.add(er(o,n,s)),r.add(ir(o));const a={[H]:!0,ping:()=>"pong",...i},c=s("DEFAULT");return{extensionHostAPI:a,extensionAPI:c,subscription:r}}(t,e);return r.add(i),or(n),r.add((()=>{globalThis.require=()=>{throw new Error("require: Sourcegraph extension API was unsubscribed")}})),{subscription:r,extensionAPI:n,extensionHostAPI:o}}(e,o);return t.add(i),n(s),a}),e.expose)}))}}function bi(e,t){if(G()(t.context.value,e))return;const r={};for(const[n,o]of Object.entries(t.context.value))null!==e[n]&&(r[n]=o);for(const[t,n]of Object.entries(e))null!==n&&(r[t]=n);t.context.next(r)}const mi=e=>"object"==typeof e&&null!==e&&D("endpoints")(e)&&(e=>R()(e)&&D("proxy")(e)&&D("expose")(e)&&B(e.proxy)&&B(e.expose))(e.endpoints);!async function(){try{const e=await C(self,"message").pipe(function(e){return function(t){return 0===e?P():t.lift(new k(e))}}(1)).toPromise();if(!mi(e.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:t}=e.data,r=yi(t);self.addEventListener("unload",(()=>r.unsubscribe()))}catch(e){console.error("Error starting the extension host:",e),self.close()}}()})()})();
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZW5zaW9uSG9zdFdvcmtlci5idW5kbGUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9Ac291cmNlZ3JhcGgvYnJvd3Nlci9leHRlbnNpb25Ib3N0V29ya2VyLmJ1bmRsZS5qcyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=
|