@sourcegraph/code-host-integration 0.0.72 → 0.0.73

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),i=r(3353),o=r(4776);class s{constructor(e,t){if(this.uri=e,t)if(t instanceof i.Range)this.range=t;else{if(!(t instanceof n.Position))throw new Error("Illegal argument");this.range=new i.Range(t,t)}else;}static isLocation(e){return e instanceof s||!!e&&(i.Range.isRange(e.range)&&o.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 i{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 i)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 i(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 i(r,t)}toJSON(){return{line:this.line,character:this.character}}}t.Position=i},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337),i=r(4554);class o{static isRange(e){return e instanceof o||!!e&&(i.Position.isPosition(e.start)&&i.Position.isPosition(e.end))}get start(){return this._start}get end(){return this._end}constructor(e,t,r,n){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n?(o=new i.Position(e,t),s=new i.Position(r,n)):e instanceof i.Position&&t instanceof i.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");o.isBefore(s)?(this._start=o,this._end=s):(this._start=s,this._end=o)}contains(e){return e instanceof o?this.contains(e._start)&&this.contains(e._end):e instanceof i.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=i.Position.max(e.start,this._start),r=i.Position.min(e.end,this._end);if(!t.isAfter(r))return new o(t,r)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=i.Position.min(e.start,this._start),r=i.Position.max(e.end,this.end);return new o(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?i.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 o(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 o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Range=o},1483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),i=r(3353);class o extends i.Range{static isSelection(e){return e instanceof o||!!e&&(i.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,i){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof i?(o=new n.Position(e,t),s=new n.Position(r,i)):e instanceof n.Position&&t instanceof n.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");super(o,s),this._anchor=o,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 o(e.end.line,e.end.character,e.start.line,e.start.character):new o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Selection=o},4776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},3535:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,s,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],o=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[o,s])}return a}e.exports=t,t.range=n},70:(e,t,r)=>{var n=r(7489),i=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(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}(e),!0).map(f)};var o="\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(o).join("\\").split(s).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function p(e){if(!e)return[""];var t=[],r=i("{","}",e);if(!r)return e.split(",");var n=r.pre,o=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+o+"}";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 b(e,t){return e>=t}function y(e,t){var r=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),f=c||u,g=o.body.indexOf(",")>=0;if(!f&&!g)return o.post.match(/,.*\}/)?y(e=o.pre+"{"+o.body+a+o.post):[e];if(f)s=o.body.split(/\.\./);else if(1===(s=p(o.body)).length&&1===(s=y(s[0],!1).map(h)).length)return(w=o.post.length?y(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var m,x=o.pre,w=o.post.length?y(o.post,!1):[""];if(f){var E=l(s[0]),S=l(s[1]),_=Math.max(s[0].length,s[1].length),O=3==s.length?Math.abs(l(s[2])):1,T=v;S<E&&(O*=-1,T=b);var A=s.some(d);m=[];for(var P=E;T(P,S);P+=O){var C;if(u)"\\"===(C=String.fromCharCode(P))&&(C="");else if(C=String(P),A){var I=_-C.length;if(I>0){var R=new Array(I+1).join("0");C=P<0?"-"+R+C.slice(1):R+C}}m.push(C)}}else m=n(s,(function(e){return y(e,!1)}));for(var j=0;j<m.length;j++)for(var N=0;N<w.length;N++){var L=x+m[j]+w[N];(!t||f||L)&&r.push(L)}return r}},7489:e=>{e.exports=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=r(e[i],i);t(o)?n.push.apply(n,o):n.push(o)}return n};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},942:(e,t,r)=>{var n=r(9090),i=r(8283),o=r(8046),s=r(3414),a=o.data,c=o.normalize,u="USE_FUNCTION_CONSTRUCTOR",l="AsyncIteratorPrototype",f=function(e,t){if(i(e))for(var r=0;r<e.length;r++)a[c(e[r])]=t};e.exports=function(e){"object"==typeof e&&(f(e.useNative,o.NATIVE),f(e.usePolyfill,o.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),i=r(9692),o=r(6973),s=n("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(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),i=r(6640),o=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=i(e),v="function"==typeof this?this:Array,b=arguments.length,y=b>1?arguments[1]:void 0,g=void 0!==y,m=u(d),x=0;if(g&&(y=n(y,b>2?arguments[2]:void 0,2)),null==m||v==Array&&s(m))for(r=new v(t=a(d.length));t>x;x++)h=g?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=g?o(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),i=r(3310),o=r(9211),s=function(e){return function(t,r,s){var a,c=n(t),u=i(c.length),l=o(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),i=r(5772);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){throw i(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),i=r(4518),o=r(26)("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=n?i: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),o))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},4327:(e,t,r)=>{var n=r(9090),i=r(8872),o=r(3276),s=r(6973);e.exports=function(e,t){for(var r=i(t),a=s.f,c=o.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,i=r(9692),o=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=i(n,{next:o(1,r)}),s(e,u,!1,!0),a[u]=c,e}},9382:(e,t,r)=>{var n=r(909),i=r(6973),o=r(5398);e.exports=n?function(e,t,r){return i.f(e,t,o(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),i=r(6973),o=r(5398);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},2315:(e,t,r)=>{"use strict";var n=r(8646),i=r(980),o=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,b=l("iterator"),y="keys",g="values",m="entries",x=function(){return this};e.exports=function(e,t,r,l,h,w,E){i(r,t,l);var S,_,O,T=function(e){if(e===h&&R)return R;if(!v&&e in C)return C[e];switch(e){case y:case g:case m:return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",P=!1,C=e.prototype,I=C[b]||C["@@iterator"]||h&&C[h],R=!v&&I||T(h),j="Array"==t&&C.entries||I;if(j&&(S=o(j.call(new e)),d!==Object.prototype&&S.next&&(f||o(S)===d||(s?s(S,d):"function"!=typeof S[b]&&c(S,b,x)),a(S,A,!0,!0),f&&(p[A]=x))),h==g&&I&&I.name!==g&&(P=!0,R=function(){return I.call(this)}),f&&!E||C[b]===R||c(C,b,R),p[t]=R,h)if(_={values:T(g),keys:w?R:T(y),entries:T(m)},E)for(O in _)(v||P||!(O in C))&&u(C,O,_[O]);else n({target:t,proto:!0,forced:v||P},_);return _}},6637:(e,t,r)=>{var n=r(4871),i=r(9090),o=r(5223),s=r(6973).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.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),i=r(1043),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.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),i=r(800);e.exports="process"==n(i.process)},7670:(e,t,r)=>{var n=r(4817);e.exports=n("navigator","userAgent")||""},7903:(e,t,r)=>{var n,i,o=r(800),s=r(7670),a=o.process,c=a&&a.versions,u=c&&c.v8;u?i=(n=u.split("."))[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},1836:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8646:(e,t,r)=>{var n=r(800),i=r(3276).f,o=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,b=e.stat;if(r=v?n:b?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(h=i(r,l))&&h.value:r[l],!u(v?l:d+(b?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&o(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,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},4817:(e,t,r)=>{var n=r(4871),i=r(800),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},3706:(e,t,r)=>{var n=r(2796),i=r(2536),o=r(26)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},8816:(e,t,r)=>{var n=r(5511),i=r(3706);e.exports=function(e){var t=i(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),i=r(8898),o=r(4764);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},4783:(e,t,r)=>{var n=r(8898),i=r(4518),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},735:(e,t,r)=>{var n=r(3414),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},4495:(e,t,r)=>{var n,i,o,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),b=v.get,y=v.has,g=v.set;n=function(e,t){return t.facade=e,g.call(v,e,t),t},i=function(e){return b.call(v,e)||{}},o=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},i=function(e){return l(e,m)?e[m]:{}},o=function(e){return l(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},3658:(e,t,r)=>{var n=r(26),i=r(2536),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===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),i=/#|\.prototype\./,o=function(e,t){var r=a[s(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},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,i,o,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(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):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),i=r(7903),o=r(8898);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(n?38===i:i>37&&i<41)}))},9824:(e,t,r)=>{var n=r(8898),i=r(26),o=r(781),s=i("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})),o&&!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),i=r(735),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},7738:(e,t,r)=>{"use strict";var n=r(909),i=r(8898),o=r(3555),s=r(2610),a=r(8858),c=r(6640),u=r(4783),l=Object.assign,f=Object.defineProperty;e.exports=!l||i((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(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||o(l({},t)).join("")!=i}))?function(e,t){for(var r=c(e),i=arguments.length,l=1,f=s.f,p=a.f;i>l;)for(var h,d=u(arguments[l++]),v=f?o(d).concat(f(d)):o(d),b=v.length,y=0;b>y;)h=v[y++],n&&!p.call(d,h)||(r[h]=d[h]);return r}:l},9692:(e,t,r)=>{var n,i=r(5511),o=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=i(e),r=new p,p.prototype=null,r[f]=e):r=d(),void 0===t?r:o(r,t)}},3110:(e,t,r)=>{var n=r(909),i=r(6973),o=r(5511),s=r(3555);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),a=n.length,c=0;a>c;)i.f(e,r=n[c++],t[r]);return e}},6973:(e,t,r)=>{var n=r(909),i=r(5393),o=r(5511),s=r(1736),a=Object.defineProperty;t.f=n?a:function(e,t,r){if(o(e),t=s(t,!0),o(r),i)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),i=r(8858),o=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 o(!i.f.call(e,t),e[t])}},2107:(e,t,r)=>{var n=r(7967),i=r(1836).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},2610:(e,t)=>{t.f=Object.getOwnPropertySymbols},1052:(e,t,r)=>{var n=r(9090),i=r(6640),o=r(1544),s=r(6760),a=o("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=i(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),i=r(6603),o=r(7830).indexOf,s=r(555);e.exports=function(e,t){var r,a=i(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++])&&(~o(u,r)||u.push(r));return u}},3555:(e,t,r)=>{var n=r(7967),i=r(1836);e.exports=Object.keys||function(e){return n(e,i)}},8858:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},6907:(e,t,r)=>{var n=r(5511),i=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,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},8872:(e,t,r)=>{var n=r(4817),i=r(2107),o=r(2610),s=r(5511);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=o.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 i in t)n(e,i,t[i],r);return e}},4824:(e,t,r)=>{var n=r(800),i=r(9382),o=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||o(r,"name")||i(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:i(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),i=r(9382);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},4198:(e,t,r)=>{var n=r(6973).f,i=r(9090),o=r(26)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},1544:(e,t,r)=>{var n=r(9829),i=r(9386),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},3414:(e,t,r)=>{var n=r(800),i=r(8697),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},9829:(e,t,r)=>{var n=r(781),i=r(3414);(e.exports=function(e,t){return i[e]||(i[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),i=r(8401),o=function(e){return function(t,r){var o,s,a=String(i(t)),c=n(r),u=a.length;return c<0||c>=u?e?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):o:e?a.slice(c,c+2):s-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},629:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=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?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(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 i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}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 b=t;for(r=0;r<e.length;r++)(n=e[r])>=f&&n<b&&(b=n);var y=v+1;if(b-f>o((t-p)/y))throw RangeError(i);for(p+=(b-f)*y,f=b,r=0;r<e.length;r++){if((n=e[r])<f&&++p>t)throw RangeError(i);if(n==f){for(var g=p,m=36;;m+=36){var x=m<=h?1:m>=h+26?26:m-h;if(g<x)break;var w=g-x,E=36-x;u.push(s(a(x+w%E))),g=o(w/E)}u.push(s(a(g))),h=c(p,y,v==d),p=0,++v}}++p,++f}return u.join("")};e.exports=function(e){var t,i,o=[],s=e.toLowerCase().replace(n,".").split(".");for(t=0;t<s.length;t++)i=s[t],o.push(r.test(i)?"xn--"+u(i):i);return o.join(".")}},5767:(e,t,r)=>{var n,i,o,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,b=s.process,y=s.MessageChannel,g=s.Dispatch,m=0,x={},w="onreadystatechange",E=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},S=function(e){return function(){E(e)}},_=function(e){E(e.data)},O=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){b.nextTick(S(e))}:g&&g.now?n=function(e){g.now(S(e))}:y&&!f?(o=(i=new y).port2,i.port1.onmessage=_,n=c(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&h&&"file:"!==h.protocol&&!a(O)?(n=O,s.addEventListener("message",_,!1)):n=w in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),E(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:d,clear:v}},9211:(e,t,r)=>{var n=r(8605),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},6603:(e,t,r)=>{var n=r(4783),i=r(8401);e.exports=function(e){return n(i(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),i=Math.min;e.exports=function(e){return e>0?i(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,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;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),i=r(9829),o=r(9090),s=r(9386),a=r(8654),c=r(2674),u=i("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||s;e.exports=function(e){return o(u,e)&&(a||"string"==typeof u[e])||(a&&o(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},2357:(e,t,r)=>{"use strict";var n=r(6603),i=r(4634),o=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"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},1794:(e,t,r)=>{"use strict";var n=r(8214).charAt,i=r(4495),o=r(2315),s="String Iterator",a=i.set,c=i.getterFor(s);o(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},2588:(e,t,r)=>{r(6637)("observable")},5287:(e,t,r)=>{var n=r(8646),i=r(800),o=r(5767);n({global:!0,bind:!0,enumerable:!0,forced:!i.setImmediate||!i.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},8328:(e,t,r)=>{"use strict";r(2357);var n=r(8646),i=r(4817),o=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),b=r(1043),y=r(9692),g=r(5398),m=r(8816),x=r(3706),w=r(26),E=i("fetch"),S=i("Headers"),_=w("iterator"),O="URLSearchParams",T="URLSearchParamsIterator",A=l.set,P=l.getterFor(O),C=l.getterFor(T),I=/\+/g,R=Array(4),j=function(e){return R[e-1]||(R[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},N=function(e){try{return decodeURIComponent(e)}catch(t){return e}},L=function(e){var t=e.replace(I," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(j(r--),N);return t}},D=/[!'()~]|%20/g,k={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},M=function(e){return k[e]},U=function(e){return encodeURIComponent(e).replace(D,M)},G=function(e,t){if(t)for(var r,n,i=t.split("&"),o=0;o<i.length;)(r=i[o++]).length&&(n=r.split("="),e.push({key:L(n.shift()),value:L(n.join("="))}))},V=function(e){this.entries.length=0,G(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},F=u((function(e,t){A(this,{type:T,iterator:m(P(e).entries),kind:t})}),"Iterator",(function(){var e=C(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,O);var e,t,r,n,i,o,s,a,c,u=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(A(l,{type:O,entries:h,updateURL:function(){},updateSearchParams:V}),void 0!==u)if(b(u))if("function"==typeof(e=x(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((s=(o=(i=m(v(n.value))).next).call(i)).done||(a=o.call(i)).done||!o.call(i).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 G(h,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;a($,{append:function(e,t){B(arguments.length,2);var r=P(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){B(arguments.length,1);for(var t=P(this),r=t.entries,n=e+"",i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=P(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){B(arguments.length,1);for(var t=P(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){B(arguments.length,1);for(var t=P(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var r,n=P(this),i=n.entries,o=!1,s=e+"",a=t+"",c=0;c<i.length;c++)(r=i[c]).key===s&&(o?i.splice(c--,1):(o=!0,r.value=a));o||i.push({key:s,value:a}),n.updateURL()},sort:function(){var e,t,r,n=P(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){for(var t,r=P(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new F(this,"keys")},values:function(){return new F(this,"values")},entries:function(){return new F(this,"entries")}},{enumerable:!0}),s($,_,$.entries),s($,"toString",(function(){for(var e,t=P(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,O),n({global:!0,forced:!o},{URLSearchParams:H}),o||"function"!=typeof E||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(b(t=arguments[1])&&(r=t.body,d(r)===O&&((n=t.headers?new S(t.headers):new S).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:g(0,String(r)),headers:g(0,n)}))),i.push(t)),E.apply(this,i)}}),e.exports={URLSearchParams:H,getState:P}},9227:(e,t,r)=>{"use strict";r(1794);var n,i=r(8646),o=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),b=r(4198),y=r(8328),g=r(4495),m=a.URL,x=y.URLSearchParams,w=y.getState,E=g.set,S=g.getterFor("URL"),_=Math.floor,O=Math.pow,T="Invalid scheme",A="Invalid host",P="Invalid port",C=/[A-Za-z]/,I=/[\d+-.A-Za-z]/,R=/\d/,j=/^(0x|0X)/,N=/^[0-7]+$/,L=/^\d+$/,D=/^[\dA-Fa-f]+$/,k=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\t\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,G=/[\t\u000A\u000D]/g,V=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return A;if(!(r=F(t.slice(1,-1))))return A;e.host=r}else if(K(e)){if(t=v(t),k.test(t))return A;if(null===(r=B(t)))return A;e.host=r}else{if(M.test(t))return A;for(r="",n=h(t),i=0;i<n.length;i++)r+=J(n[i],$);e.host=r}},B=function(e){var t,r,n,i,o,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(""==(i=c[n]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=j.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)s=0;else{if(!(10==o?L:8==o?N:D).test(i))return e;s=parseInt(i,o)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=O(256,5-t))return null}else if(s>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*O(256,3-n);return a},F=function(e){var t,r,n,i,o,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&&D.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(i=null,n>0){if(!("."==p()&&n<4))return;f++}if(!R.test(p()))return;for(;R.test(p());){if(o=parseInt(p(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}c[u]=256*c[u]+i,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,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},W=p({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),z=p({},W,{"#":1,"?":1,"{":1,"}":1}),q=p({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),J=function(e,t){var r=d(e,0);return r>32&&r<127&&!f(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},K=function(e){return f(Y,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&&C.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={},ie={},oe={},se={},ae={},ce={},ue={},le={},fe={},pe={},he={},de={},ve={},be={},ye={},ge={},me={},xe={},we={},Ee={},Se={},_e=function(e,t,r,i){var o,s,a,c,u,l=r||ne,p=0,d="",v=!1,b=!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(G,""),o=h(t);p<=o.length;){switch(s=o[p],l){case ne:if(!s||!C.test(s)){if(r)return T;l=oe;continue}d+=s.toLowerCase(),l=ie;break;case ie:if(s&&(I.test(s)||"+"==s||"-"==s||"."==s))d+=s.toLowerCase();else{if(":"!=s){if(r)return T;d="",l=oe,p=0;continue}if(r&&(K(e)!=f(Y,d)||"file"==d&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,r)return void(K(e)&&Y[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?l=be:K(e)&&i&&i.scheme==e.scheme?l=se:K(e)?l=le:"/"==o[p+1]?(l=ae,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case oe:if(!i||i.cannotBeABaseURL&&"#"!=s)return T;if(i.cannotBeABaseURL&&"#"==s){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=Se;break}l="file"==i.scheme?be:ce;continue;case se:if("/"!=s||"/"!=o[p+1]){l=ce;continue}l=fe,p++;break;case ae:if("/"==s){l=pe;break}l=xe;continue;case ce:if(e.scheme=i.scheme,s==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==s||"\\"==s&&K(e))l=ue;else if("?"==s)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",l=Ee;else{if("#"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),l=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}break;case ue:if(!K(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.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 g=0;g<a.length;g++){var m=a[g];if(":"!=m||y){var x=J(m,q);y?e.password+=x:e.username+=x}else y=!0}d=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&K(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=ge;continue}if(":"!=s||b){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&K(e)){if(K(e)&&""==d)return A;if(r&&""==d&&(Q(e)||null!==e.port))return;if(c=V(e,d))return c;if(d="",l=me,r)return;continue}"["==s?b=!0:"]"==s&&(b=!1),d+=s}else{if(""==d)return A;if(c=V(e,d))return c;if(d="",l=ve,r==de)return}break;case ve:if(!R.test(s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&K(e)||r){if(""!=d){var w=parseInt(d,10);if(w>65535)return P;e.port=K(e)&&w===Y[e.scheme]?null:w,d=""}if(r)return;l=me;continue}return P}d+=s;break;case be:if(e.scheme="file","/"==s||"\\"==s)l=ye;else{if(!i||"file"!=i.scheme){l=xe;continue}if(s==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==s)e.host=i.host,e.path=i.path.slice(),e.query="",l=Ee;else{if("#"!=s){ee(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),te(e)),l=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}}break;case ye:if("/"==s||"\\"==s){l=ge;break}i&&"file"==i.scheme&&!ee(o.slice(p).join(""))&&(Z(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=xe;continue;case ge: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=V(e,d))return c;if("localhost"==e.host&&(e.host=""),r)return;d="",l=me}continue}d+=s;break;case me:if(K(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=Se;else e.query="",l=Ee;break;case xe:if(s==n||"/"==s||"\\"==s&&K(e)||!r&&("?"==s||"#"==s)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==s||"\\"==s&&K(e)||e.path.push("")):re(d)?"/"==s||"\\"==s&&K(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=Ee):"#"==s&&(e.fragment="",l=Se)}else d+=J(s,z);break;case we:"?"==s?(e.query="",l=Ee):"#"==s?(e.fragment="",l=Se):s!=n&&(e.path[0]+=J(s,$));break;case Ee:r||"#"!=s?s!=n&&("'"==s&&K(e)?e.query+="%27":e.query+="#"==s?"%23":J(s,$)):(e.fragment="",l=Se);break;case Se:s!=n&&(e.fragment+=J(s,W))}p++}},Oe=function(e){var t,r,n=l(this,Oe,"URL"),i=arguments.length>1?arguments[1]:void 0,s=String(e),a=E(n,{type:"URL"});if(void 0!==i)if(i instanceof Oe)t=S(i);else if(r=_e(t={},String(i)))throw TypeError(r);if(r=_e(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},o||(n.href=Ae.call(n),n.origin=Pe.call(n),n.protocol=Ce.call(n),n.username=Ie.call(n),n.password=Re.call(n),n.host=je.call(n),n.hostname=Ne.call(n),n.port=Le.call(n),n.pathname=De.call(n),n.search=ke.call(n),n.searchParams=Me.call(n),n.hash=Ue.call(n))},Te=Oe.prototype,Ae=function(){var e=S(this),t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",Q(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},Pe=function(){var e=S(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&&K(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Ce=function(){return S(this).scheme+":"},Ie=function(){return S(this).username},Re=function(){return S(this).password},je=function(){var e=S(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},Ne=function(){var e=S(this).host;return null===e?"":H(e)},Le=function(){var e=S(this).port;return null===e?"":String(e)},De=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},ke=function(){var e=S(this).query;return e?"?"+e:""},Me=function(){return S(this).searchParams},Ue=function(){var e=S(this).fragment;return e?"#"+e:""},Ge=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Te,{href:Ge(Ae,(function(e){var t=S(this),r=String(e),n=_e(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Ge(Pe),protocol:Ge(Ce,(function(e){var t=S(this);_e(t,String(e)+":",ne)})),username:Ge(Ie,(function(e){var t=S(this),r=h(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=J(r[n],q)}})),password:Ge(Re,(function(e){var t=S(this),r=h(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=J(r[n],q)}})),host:Ge(je,(function(e){var t=S(this);t.cannotBeABaseURL||_e(t,String(e),he)})),hostname:Ge(Ne,(function(e){var t=S(this);t.cannotBeABaseURL||_e(t,String(e),de)})),port:Ge(Le,(function(e){var t=S(this);X(t)||(""==(e=String(e))?t.port=null:_e(t,e,ve))})),pathname:Ge(De,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+"",me))})),search:Ge(ke,(function(e){var t=S(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",_e(t,e,Ee)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Ge(Me),hash:Ge(Ue,(function(e){var t=S(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,Se)):t.fragment=null}))}),u(Te,"toJSON",(function(){return Ae.call(this)}),{enumerable:!0}),u(Te,"toString",(function(){return Ae.call(this)}),{enumerable:!0}),m){var Ve=m.createObjectURL,Be=m.revokeObjectURL;Ve&&u(Oe,"createObjectURL",(function(e){return Ve.apply(m,arguments)})),Be&&u(Oe,"revokeObjectURL",(function(e){return Be.apply(m,arguments)}))}b(Oe,"URL"),i({global:!0,forced:!s,sham:!o},{URL:Oe})},8981:(e,t,r)=>{var n=r(7791)(r(3478),"DataView");e.exports=n},8031:(e,t,r)=>{var n=r(5264),i=r(6778),o=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=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},8289:(e,t,r)=>{var n=r(5249),i=r(4553),o=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=i,c.prototype.get=o,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),i=r(6231),o=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=i,c.prototype.get=o,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),i=r(7538),o=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=i,s.prototype.has=o,e.exports=s},5325:(e,t,r)=>{var n=r(8289),i=r(1849),o=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=i,u.prototype.delete=o,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 i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];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,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}},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,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},2932:(e,t,r)=>{var n=r(4079),i=r(7632),o=r(2615),s=r(28),a=r(5661),c=r(1653),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(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 b in e)!t&&!u.call(e,b)||h&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||a(b,v))||d.push(b);return d}},7309:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},9676:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+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),i=r(4865),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(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,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}},3585:(e,t,r)=>{var n=r(2654),i=r(2749);e.exports=function(e,t){return e&&n(t,i(t),e)}},4683:(e,t,r)=>{var n=r(2654),i=r(8530);e.exports=function(e,t){return e&&n(t,i(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),i=r(1321),o=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),b=r(8582),y=r(2375),g=r(2615),m=r(28),x=r(8866),w=r(8603),E=r(6159),S=r(2749),_=r(8530),O="[object Arguments]",T="[object Function]",A="[object Object]",P={};P[O]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[A]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[T]=P["[object WeakMap]"]=!1,e.exports=function e(t,r,C,I,R,j){var N,L=1&r,D=2&r,k=4&r;if(C&&(N=R?C(t,I,R,j):C(t)),void 0!==N)return N;if(!w(t))return t;var M=g(t);if(M){if(N=v(t),!L)return u(t,N)}else{var U=d(t),G=U==T||"[object GeneratorFunction]"==U;if(m(t))return c(t,L);if(U==A||U==O||G&&!R){if(N=D||G?{}:y(t),!L)return D?f(t,a(N,t)):l(t,s(N,t))}else{if(!P[U])return R?t:{};N=b(t,U,L)}}j||(j=new n);var V=j.get(t);if(V)return V;j.set(t,N),E(t)?t.forEach((function(n){N.add(e(n,r,C,n,t,j))})):x(t)&&t.forEach((function(n,i){N.set(i,e(n,r,C,i,t,j))}));var B=M?void 0:(k?D?h:p:D?_:S)(t);return i(B||t,(function(n,i){B&&(n=t[i=n]),o(N,i,e(n,r,C,i,t,j))})),N}},7508:(e,t,r)=>{var n=r(8603),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},9668:(e,t,r)=>{var n=r(4330),i=r(4029)(n);e.exports=i},8969:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},745:(e,t,r)=>{var n=r(9676),i=r(5143);e.exports=function e(t,r,o,s,a){var c=-1,u=t.length;for(o||(o=i),a||(a=[]);++c<u;){var l=t[c];r>0&&o(l)?r>1?e(l,r-1,o,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),i=r(2749);e.exports=function(e,t){return e&&n(e,t,i)}},7614:(e,t,r)=>{var n=r(4853),i=r(9535);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},1714:(e,t,r)=>{var n=r(9676),i=r(2615);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},2085:(e,t,r)=>{var n=r(1658),i=r(1693),o=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)?i(e):o(e)}},9843:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7748:(e,t,r)=>{var n=r(8969),i=r(9136),o=r(6930);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},9618:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},2706:(e,t,r)=>{var n=r(4978),i=r(9363);e.exports=function e(t,r,o,s,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,s,e,a))}},4978:(e,t,r)=>{var n=r(5325),i=r(6910),o=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,b,y){var g=c(e),m=c(t),x=g?p:a(e),w=m?p:a(t),E=(x=x==f?h:x)==h,S=(w=w==f?h:w)==h,_=x==w;if(_&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(_&&!E)return y||(y=new n),g||l(e)?i(e,t,r,v,b,y):o(e,t,x,r,v,b,y);if(!(1&r)){var O=E&&d.call(e,"__wrapped__"),T=S&&d.call(t,"__wrapped__");if(O||T){var A=O?e.value():e,P=T?t.value():t;return y||(y=new n),b(A,P,r,v,y)}}return!!_&&(y||(y=new n),s(e,t,r,v,b,y))}},7533:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},8116:(e,t,r)=>{var n=r(5325),i=r(2706);e.exports=function(e,t,r,o){var s=r.length,a=s,c=!o;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(o)var d=o(f,p,l,e,t,h);if(!(void 0===d?i(p,f,3,o,h):d))return!1}}return!0}},9136:e=>{e.exports=function(e){return e!=e}},697:(e,t,r)=>{var n=r(8911),i=r(6481),o=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!(!o(e)||i(e))&&(n(e)?p:a).test(s(e))}},6941:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},3677:(e,t,r)=>{var n=r(2085),i=r(2413),o=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 o(e)&&i(e.length)&&!!s[n(e)]}},544:(e,t,r)=>{var n=r(5346),i=r(6572),o=r(672),s=r(2615),a=r(4272);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):n(e):a(e)}},8819:(e,t,r)=>{var n=r(1105),i=r(7762),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2809:(e,t,r)=>{var n=r(8603),i=r(1105),o=r(6383),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(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),i=r(9174);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}},5346:(e,t,r)=>{var n=r(8116),i=r(8676),o=r(7187);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},6572:(e,t,r)=>{var n=r(2706),i=r(5472),o=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=i(r,e);return void 0===s&&s===t?o(r,e):n(t,s,3)}}},840:(e,t,r)=>{var n=r(7309),i=r(7614),o=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 i(t,1===e.length?e[0]:e)}:e})):[l];var p=-1;t=n(t,c(o));var h=s(e,(function(e,r,i){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),i=r(5112),o=r(6618);e.exports=function(e,t){return o(i(e,t,n),e+"")}},3389:(e,t,r)=>{var n=r(7578),i=r(6569),o=r(672),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;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),i=r(7309),o=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(o(t))return i(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),i=r(7079),o=r(8616),s=r(9161),a=r(4438),c=r(1956);e.exports=function(e,t,r){var u=-1,l=i,f=e.length,p=!0,h=[],d=h;if(r)p=!1,l=o;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 b=e[u],y=t?t(b):b;if(b=r||0!==b?b:0,p&&y==y){for(var g=d.length;g--;)if(d[g]===y)continue e;t&&d.push(y),h.push(b)}else l(d,y,r)||(d!==h&&d.push(y),h.push(b))}return h}},9161:e=>{e.exports=function(e,t){return e.has(t)}},4853:(e,t,r)=>{var n=r(2615),i=r(6955),o=r(1229),s=r(7115);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(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),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?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),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.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,i=null===e,o=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||i&&a&&u||!r&&u||!o)return 1;if(!i&&!s&&!l&&e<t||l&&r&&o&&!i&&!s||c&&r&&o||!a&&o||!u)return-1}return 0}},4292:(e,t,r)=>{var n=r(3702);e.exports=function(e,t,r){for(var i=-1,o=e.criteria,s=t.criteria,a=o.length,c=r.length;++i<a;){var u=n(o[i],s[i]);if(u)return i>=c?u:u*("desc"==r[i]?-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),i=r(508);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=o?o(r[u],e[u],u,r,e):void 0;void 0===l&&(l=e[u]),s?i(r,u,l):n(r,u,l)}return r}},9270:(e,t,r)=>{var n=r(2654),i=r(4868);e.exports=function(e,t){return n(e,i(e),t)}},1751:(e,t,r)=>{var n=r(2654),i=r(905);e.exports=function(e,t){return n(e,i(e),t)}},7037:(e,t,r)=>{var n=r(3478)["__core-js_shared__"];e.exports=n},3027:(e,t,r)=>{var n=r(7615),i=r(8835),o=r(544),s=r(2615);e.exports=function(e,t){return function(r,a){var c=s(r)?n:i,u=t?t():{};return c(r,e,o(a,2),u)}}},4029:(e,t,r)=>{var n=r(9174);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,s=t?o:-1,a=Object(r);(t?s--:++s<o)&&!1!==i(a[s],s,a););return r}}},7889:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}},4438:(e,t,r)=>{var n=r(1538),i=r(7021),o=r(1956),s=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},6569:(e,t,r)=>{var n=r(7791),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},6910:(e,t,r)=>{var n=r(8261),i=r(4938),o=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,b=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],g=t[d];if(s)var m=u?s(g,y,d,t,e,c):s(y,g,d,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(b){if(!i(t,(function(e,t){if(!o(b,t)&&(y===e||a(y,e,r,s,c)))return b.push(t)}))){v=!1;break}}else if(y!==g&&!a(y,g,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7163:(e,t,r)=>{var n=r(1658),i=r(3467),o=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 i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+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 b=s(h(e),h(t),n,u,f,p);return p.delete(e),b;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1689:(e,t,r)=>{var n=r(294),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,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:i.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 b=c;++f<l;){var y=e[p=u[f]],g=t[p];if(o)var m=c?o(g,y,p,t,e,a):o(y,g,p,e,t,a);if(!(void 0===m?y===g||s(y,g,r,o,a):m)){v=!1;break}b||(b="constructor"==p)}if(v&&!b){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),i=r(4868),o=r(2749);e.exports=function(e){return n(e,o,i)}},671:(e,t,r)=>{var n=r(1714),i=r(905),o=r(8530);e.exports=function(e){return n(e,o,i)}},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),i=r(2749);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,n(s)]}return t}},7791:(e,t,r)=>{var n=r(697),i=r(1430);e.exports=function(e,t){var r=i(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),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},4868:(e,t,r)=>{var n=r(6493),i=r(7918),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return o.call(e,t)})))}:i;e.exports=a},905:(e,t,r)=>{var n=r(9676),i=r(6180),o=r(4868),s=r(7918),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},6968:(e,t,r)=>{var n=r(8981),i=r(1063),o=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),b=u(i),y=u(o),g=u(s),m=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=d||i&&x(new i)!=l||o&&x(o.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 b:return l;case y:return f;case g: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),i=r(7632),o=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)&&(o(e)||i(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),i=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 i.call(t,e)?t[e]:void 0}},1867:(e,t,r)=>{var n=r(8179),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.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),i=r(6341),o=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 i(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 o(e);case"[object Set]":return new c;case"[object Symbol]":return s(e)}}},2375:(e,t,r)=>{var n=r(7508),i=r(6180),o=r(1105);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},5143:(e,t,r)=>{var n=r(1658),i=r(7632),o=r(2615),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(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),i=r(9174),o=r(5661),s=r(8603);e.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?i(r)&&o(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},6955:(e,t,r)=>{var n=r(2615),i=r(1365),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!i(e))||(s.test(e)||!o.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,i=r(7037),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o 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),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.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__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},1409:(e,t,r)=>{var n=r(8031),i=r(8289),o=r(1063);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),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),i=r.size;return r.set(e,t),this.size+=r.size==i?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),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&n.process,a=function(){try{var e=o&&o.require&&o.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),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=o[s];return u[t]=r(c),n(e,this,u)}}},3478:(e,t,r)=>{var n=r(521),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},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),i=r(7910)(n);e.exports=i},7910:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>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),i=r(1063),o=r(6484);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},6930:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},1229:(e,t,r)=>{var n=r(7657),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$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 i=null==e?void 0:n(e,t);return void 0===i?r:i}},2497:(e,t,r)=>{var n=r(508),i=r(3027),o=Object.prototype.hasOwnProperty,s=i((function(e,t,r){o.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=s},4170:(e,t,r)=>{var n=r(9843),i=r(3587);e.exports=function(e,t){return null!=e&&i(e,t,n)}},672:e=>{e.exports=function(e){return e}},7632:(e,t,r)=>{var n=r(9618),i=r(9363),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(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),i=r(2413);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},28:(e,t,r)=>{e=r.nmd(e);var n=r(3478),i=r(8338),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;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),i=r(8603);e.exports=function(e){if(!i(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),i=r(7888),o=r(6282),s=o&&o.isMap,a=s?i(s):n;e.exports=a},2452:(e,t,r)=>{var n=r(8116),i=r(8676);e.exports=function(e,t){return e===t||n(e,t,i(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),i=r(6180),o=r(9363),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(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),i=r(7888),o=r(6282),s=o&&o.isSet,a=s?i(s):n;e.exports=a},1365:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},1653:(e,t,r)=>{var n=r(3677),i=r(7888),o=r(6282),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},2749:(e,t,r)=>{var n=r(2932),i=r(8819),o=r(9174);e.exports=function(e){return o(e)?n(e):i(e)}},8530:(e,t,r)=>{var n=r(2932),i=r(2809),o=r(9174);e.exports=function(e){return o(e)?n(e,!0):i(e)}},7831:(e,t,r)=>{var n=r(508),i=r(4330),o=r(544);e.exports=function(e,t){var r={};return t=o(t,3),i(e,(function(e,i,o){n(r,i,t(e,i,o))})),r}},5167:(e,t,r)=>{var n=r(6484);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},7021:e=>{e.exports=function(){}},4272:(e,t,r)=>{var n=r(5898),i=r(9916),o=r(6955),s=r(9535);e.exports=function(e){return o(e)?n(s(e)):i(e)}},3234:(e,t,r)=>{var n=r(745),i=r(840),o=r(1494),s=r(659),a=o((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]]),i(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),i=0;e.exports=function(e){var t=++i;return n(e)+t}},1781:(e,t,r)=>{e.exports=p,p.Minimatch=h;var n={sep:"/"};try{n=r(4245)}catch(e){}var i=p.GLOBSTAR=h.GLOBSTAR={},o=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]:o(e)}p.filter=function(e,t){return t=t||{},function(r,n,i){return p(r,e,t)}},p.defaults=function(e){if(!e||!Object.keys(e).length)return p;var t=p,r=function(r,n,i){return t.minimatch(r,n,f(e,i))};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 i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)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 i;if(""===e)return"";var n,o="",l=!!r.nocase,f=!1,p=[],h=[],d=!1,b=-1,y=-1,g="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function x(){if(n){switch(n){case"*":o+=c,l=!0;break;case"?":o+=a,l=!0;break;default:o+="\\"+n}m.debug("clearStateChar %j %j",n,o),n=!1}}for(var w,E=0,S=e.length;E<S&&(w=e.charAt(E));E++)if(this.debug("%s\t%s %s %j",e,E,o,w),f&&u[w])o+="\\"+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,E,o,w),d){this.debug(" in class"),"!"===w&&E===y+1&&(w="^"),o+=w;continue}m.debug("call clearStateChar %j",n),x(),n=w,r.noext&&x();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}p.push({type:n,start:E-1,reStart:o.length,open:s[n].open,close:s[n].close}),o+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,o),n=!1;continue;case")":if(d||!p.length){o+="\\)";continue}x(),l=!0;var _=p.pop();o+=_.close,"!"===_.type&&h.push(_),_.reEnd=o.length;continue;case"|":if(d||!p.length||f){o+="\\|",f=!1;continue}x(),o+="|";continue;case"[":if(x(),d){o+="\\"+w;continue}d=!0,y=E,b=o.length,o+=w;continue;case"]":if(E===y+1||!d){o+="\\"+w,f=!1;continue}if(d){var O=e.substring(y+1,E);try{RegExp("["+O+"]")}catch(e){var T=this.parse(O,v);o=o.substr(0,b)+"\\["+T[0]+"\\]",l=l||T[1],d=!1;continue}}l=!0,d=!1,o+=w;continue;default:x(),f?f=!1:!u[w]||"^"===w&&d||(o+="\\"),o+=w}d&&(O=e.substr(y+1),T=this.parse(O,v),o=o.substr(0,b)+"\\["+T[0],l=l||T[1]);for(_=p.pop();_;_=p.pop()){var A=o.slice(_.reStart+_.open.length);this.debug("setting tail",o,_),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,_,o);var P="*"===_.type?c:"?"===_.type?a:"\\"+_.type;l=!0,o=o.slice(0,_.reStart)+P+"\\("+A}x(),f&&(o+="\\\\");var C=!1;switch(o.charAt(0)){case".":case"[":case"(":C=!0}for(var I=h.length-1;I>-1;I--){var R=h[I],j=o.slice(0,R.reStart),N=o.slice(R.reStart,R.reEnd-8),L=o.slice(R.reEnd-8,R.reEnd),D=o.slice(R.reEnd);L+=D;var k=j.split("(").length-1,M=D;for(E=0;E<k;E++)M=M.replace(/\)[+*?]?/,"");var U="";""===(D=M)&&t!==v&&(U="$"),o=j+N+D+U+L}""!==o&&l&&(o="(?=.)"+o);C&&(o=g+o);if(t===v)return[o,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var G=r.nocase?"i":"";try{var V=new RegExp("^"+o+"$",G)}catch(e){return new RegExp("$.")}return V._glob=e,V._src=o,V};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":"",o=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,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 i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;o<s.length;o++){var a=s[o],c=e;if(r.matchBase&&1===a.length&&(c=[i]),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 o=0,s=0,a=e.length,c=t.length;o<a&&s<c;o++,s++){this.debug("matchOne loop");var u,l=t[s],f=e[o];if(this.debug(t,l,f),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[t,l,f]);var p=o,h=s+1;if(h===c){for(this.debug("** at the end");o<a;o++)if("."===e[o]||".."===e[o]||!n.dot&&"."===e[o].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(o===a&&s===c)return!0;if(o===a)return r;if(s===c)return o===a-1&&""===e[o];throw new Error("wtf?")}},4245:(e,t,r)=>{"use strict";var n=r(6591);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,n="",i=0,o=-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(o===a-1||1===s);else if(o!==a-1&&2===s){if(n.length<2||2!==i||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="",i=0):i=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=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),i(a),0!==a.length&&(t=a+"/"+t,r=47===a.charCodeAt(0))}return t=o(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(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];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(i(e),i(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,o=n-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,u=o<c?o: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 o>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(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){n=s;break}}else o=!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');i(e);var r,n=0,o=-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&&(o=r):(a=-1,o=c))}return n===o?o=c:-1===o&&(o=e.length),e.slice(n,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(n,o)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===n&&(o=!1,n=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){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){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),o=47===n;o?(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&&o?e.slice(1,c):e.slice(a,c)):(0===a&&o?(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):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,e.exports=s},6591:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!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:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();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===o||!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,i=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 o=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return i(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=o},3621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8445),i=r(7859),o=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,o=i.toSubscriber(e,t,r);if(n?o.add(n.call(o,this.source)):o.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),a.config.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){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 i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.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),i=r(6137);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},6451:function(e,t,r){"use strict";var n,i=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 o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.notifyNext=function(e,t,r,n,i){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=o},5146:function(e,t,r){"use strict";var n,i=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 o=r(7261),s=r(1804),a=r(1786),c=r(2372),u=r(1279),l=r(6137),f=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!r){o.destination=s.empty;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new p(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new p(o,r,n,i)}return o}return i(t,e),t.prototype[c.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},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,i){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return o.isFunction(r)?a=r:r&&(a=r.next,n=r.error,i=r.complete,r!==s.empty&&(u=Object.create(r),o.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=i,c}return i(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),i=r(2030),o=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(o.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(i.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 i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.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,i=t.destination,o=t.isStopped;if(r||o)return!1;e=i&&i instanceof n.Subscriber?i: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 i(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 i(e)},t.pipeFromArray=i},9346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2723),i=r(6386),o=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 i.subscribeToPromise(e);if(e&&"function"==typeof e[l.iterator])return o.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 i=void 0;try{i=r.next()}catch(e){return t.error(e),t}if(i.done){t.complete();break}if(t.next(i.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),i=r(9346),o=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 o.Observable?t.subscribe(a):i.subscribeTo(t)(a)}},7859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146),i=r(2372),o=r(1804);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(o.empty)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.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 i(e){return"function"==typeof e}var o=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;o=e},get useDeprecatedSynchronousErrorHandling(){return o}};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,o=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(i(s)){o&&(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 i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.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,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=c;break;case 1:if(!r){o.destination=c;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new b(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new b(o,r,n,i)}return o}return n(t,e),t.prototype[d]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},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),b=function(e){function t(t,r,n,o){var s,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return i(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==c&&(i((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=o,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 g(e){return e}function m(e){return 0===e.length?g: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,i=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?i.add(n.call(i,this.source)):i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.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){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,r=t.closed,n=t.destination,i=t.isStopped;if(r||i)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 i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.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 E(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 S(e,t))}}var S=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new _(e,this.project,this.thisArg))},e}(),_=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}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 O(e,t,r,n){return i(r)&&(n=r,r=void 0),n?O(e,t,r).pipe(E((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new x((function(n){T(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function T(e,t,r,n,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,i),o=function(){return s.removeEventListener(t,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),o=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),o=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++)T(e[u],t,r,n,i)}n.add(o)}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}(),P=new x((function(e){return e.complete()}));function C(e){return e?function(e){return new x((function(t){return e.schedule((function(){return t.complete()}))}))}(e):P}var I=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 R(e,this.total))},e}(),R=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);const j=e=>t=>t===e,N=e=>t=>!e(t),L=e=>t=>e in t,D=(e,t)=>r=>t(r[e]);function k(...e){return t=>e.every((e=>e(t)))}var M=r(8603),U=r.n(M);const G=e=>U()(e)&&L("addEventListener")(e)&&L("removeEventListener")(e)&&L("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var V=r(2452),B=r.n(V);const F=Symbol("Comlink.proxy"),H=Symbol("Comlink.endpoint"),$=Symbol("Comlink.releaseProxy"),W=Symbol("Comlink.thrown"),z=e=>"object"==typeof e&&null!==e||"function"==typeof e,q=new Map([["proxy",{canHandle:e=>z(e)&&e[F],serialize(e){const{port1:t,port2:r}=new MessageChannel;return J(e,t),[r,[r]]},deserialize:e=>(e.start(),K(e))}],["throw",{canHandle:e=>z(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 J(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:i,type:o,path:s}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(ne);let c;try{const t=s.slice(0,-1).reduce(((e,t)=>e[t]),e),r=s.reduce(((e,t)=>e[t]),e);switch(o){case 0:c=r;break;case 1:t[s.slice(-1)[0]]=ne(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=te(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;J(e,r),c=function(e,t){return ee.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]=re(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),s),5===o&&(t.removeEventListener("message",r),Y(t))}))})),t.start&&t.start()}function Y(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function K(e,t){return X(e,[],t)}function Q(e){if(e)throw new Error("Proxy has been released and is not useable")}function X(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(Q(n),o===$)return()=>ie(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{Y(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=ie(e,{type:0,path:t.map((e=>e.toString()))}).then(ne);return r.then.bind(r)}return X(e,[...t,o])},set(r,i,o){Q(n);const[s,a]=re(o);return ie(e,{type:1,path:[...t,i].map((e=>e.toString())),value:s},a).then(ne)},apply(r,i,o){Q(n);const s=t[t.length-1];if(s===H)return ie(e,{type:4}).then(ne);if("bind"===s)return X(e,t.slice(0,-1));const[a,c]=Z(o);return ie(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(ne)},construct(r,i){Q(n);const[o,s]=Z(i);return ie(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},s).then(ne)}});return i}function Z(e){const t=e.map(re);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const ee=new WeakMap;function te(e){return Object.assign(e,{[F]:!0})}function re(e){for(const[t,r]of q)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},ee.get(e)||[]]}function ne(e){switch(e.type){case 3:return q.get(e.name).deserialize(e.value);case 0:return e.value}}function ie(e,t,r){return new Promise((n=>{const i=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===i&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)}))}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const se=e=>"object"==typeof e&&null!==e&&L("href")(e)&&L("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const ae=e=>new p((async()=>{const t=await e;await t.unsubscribe(),t[$]()})),ce=e=>"object"==typeof e&&null!==e&&L("then")(e)&&"function"==typeof e.then;class ue extends Error{constructor(...e){super(...e),oe(this,"name","AbortError"),oe(this,"message","Aborted")}}var le=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),fe=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),pe=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),he=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 pe(this)},t.prototype.lift=function(e){var t=new de(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new le;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new le;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new le;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 le;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new le;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new fe(this,e))},t.prototype.asObservable=function(){var e=new x;return e.source=this,e},t.create=function(e,t){return new de(e,t)},t}(x),de=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}(he),ve=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 le;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(he);function be(e){return e&&"function"==typeof e.schedule}var ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(v),ge=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}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),me=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function xe(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var we=xe(),Ee=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Se(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var _e=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 me(e);if(Se(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[we])return t=e,function(e){for(var r=t[we]();;){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,i=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Oe(e,t,r,n,i){if(void 0===i&&(i=new ge(e,r,n)),!i.closed)return t instanceof x?t.subscribe(i):_e(t)(i)}function Te(e,t){return new x((function(r){var n=new p,i=0;return n.add(t.schedule((function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function Ae(e,t){return t?Te(e,t):new x(me(e))}var Pe={};function Ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return be(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 Ie(r))}var Ie=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Re(e,this.resultSelector))},e}(),Re=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(Oe(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,i=n[r],o=this.toRespond?i===Pe?--this.toRespond:this.toRespond:0;n[r]=t,0===o&&(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}(ye);function je(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 i=e[y]();n.add(i.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(Se(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 Te(e,t);if(function(e){return e&&"function"==typeof e[we]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new x((function(r){var n,i=new p;return i.add((function(){n&&"function"==typeof n.return&&n.return()})),i.add(t.schedule((function(){n=e[we](),i.add(t.schedule((function(){if(!r.closed){var e,t;try{var i=n.next();e=i.value,t=i.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Ne(e,t){return t?je(e,t):e instanceof x?e:new x(_e(e))}function Le(){}function De(e,t,r){return function(n){return n.lift(new ke(e,t,r))}}var ke=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 Me(e,this.nextOrObserver,this.error,this.complete))},e}(),Me=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;return s._tapNext=Le,s._tapError=Le,s._tapComplete=Le,s._tapError=n||Le,s._tapComplete=o||Le,i(r)?(s._context=s,s._tapNext=r):r&&(s._context=r,s._tapNext=r.next||Le,s._tapError=r.error||Le,s._tapComplete=r.complete||Le),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 Ue(e,t){return function(r){return r.lift(new Ge(e,t))}}var Ge=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 i=e.call(this,t)||this;return i.keySelector=n,i.hasKey=!1,"function"==typeof r&&(i.compare=r),i}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),Be=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),Fe=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 He(e,t){if(!t.closed)return e instanceof x?e.subscribe(t):_e(e)(t)}function $e(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe($e((function(r,n){return Ne(e(r,n)).pipe(E((function(e,i){return t(r,e,n,i)})))}),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 ze(e,this.project,this.concurrent))},e}(),ze=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}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 Be(this),r=this.destination;r.add(t);var n=He(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}(Fe);function qe(e){return function(t){var r=new Ye(e),n=t.lift(r);return r.caught=n}}var Je,Ye=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ke(e,this.selector,this.caught))},e}(),Ke=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.selector=r,i.caught=n,i}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 Be(this);this.add(n);var i=He(r,n);i!==n&&this.add(i)}},t}(Fe),Qe=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)),Xe=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}(Qe),Ze=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}(),et=function(e){function t(r,n){void 0===n&&(n=Ze.now);var i=e.call(this,r,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():n()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return n(t,e),t.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,i):e.prototype.schedule.call(this,r,n,i)},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}(Ze),tt=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(et))(Xe);function rt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return be(r)?(e.pop(),Te(e,r)):Ae(e)}function nt(e,t){return new x(t?function(r){return t.schedule(it,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function it(e){var t=e.error;e.subscriber.error(t)}Je||(Je={});var ot=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 rt(this.value);case"E":return nt(this.error);case"C":return C()}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 st=function(e){function t(t,r,n){void 0===n&&(n=0);var i=e.call(this,t)||this;return i.scheduler=r,i.delay=n,i}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 at(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(ot.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(ot.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(ot.createComplete()),this.unsubscribe()},t}(v),at=function(){return function(e,t){this.notification=e,this.destination=t}}(),ct=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}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 ut(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(),i=this.scheduler,o=n.length;if(this.closed)throw new le;if(this.isStopped||this.hasError?t=p.EMPTY:(this.observers.push(e),t=new fe(this,e)),i&&e.add(e=new st(e,i)),r)for(var s=0;s<o&&!e.closed;s++)e.next(n[s]);else for(s=0;s<o&&!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||tt).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(e-n[o].time<r);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&n.splice(0,o),n},t}(he),ut=function(){return function(e,t){this.time=e,this.value=t}}();function lt(){return function(e){return e.lift(new ft(e))}}var ft=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new pt(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),pt=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),ht=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 vt(this.getSubject(),this))),e.closed&&(this._connection=null,e=p.EMPTY)),e},t.prototype.refCount=function(){return lt()(this)},t}(x),dt=function(){var e=ht.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}}}(),vt=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}(pe);var bt=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(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();function yt(e,t,r,n){r&&"function"!=typeof r&&(n=r);var i="function"==typeof r?r:void 0,o=new ct(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 bt(n,t));var i=Object.create(r,dt);return i.source=r,i.subjectFactory=n,i}}((function(){return o}),i)(e)}}let gt=0;const mt=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e);const xt=e=>e instanceof Error?e:mt(e)?Object.assign(new Error(e.message),e):new Error(String(e));r(8523);new Set(["blue","yellow","orange","pink","red","purple","green","grey"]);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function wt(e,t){if(!mt(e.subjects)&&e.subjects){const n=e.subjects.find((e=>e.subject.__typename===t));var r;if(n&&!mt(n.settings))return null===(r=n.settings)||void 0===r?void 0:r.extensions}}var Et=r(7021),St=r.n(Et);class _t extends p{constructor(e){super((()=>{e[$]()}))}}const Ot=(e,t)=>{const r=new p;t&&t.add(r);const n=Ne(ce(e)?e:Promise.resolve(e)).pipe($e((e=>(r.add(new _t(e)),{[y](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[F]:!0,next:t[0]||St(),error:t[1]?e=>t[1](xt(e)):St(),complete:t[2]||St()};else{const e=t[0]||{};r={[F]:!0,next:e.next?t=>e.next(t):St(),error:e.error?t=>e.error(xt(t)):St(),complete:e.complete?()=>e.complete():St()}}return ae(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Tt=r(7831),At=r.n(Tt);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 Ct;!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"}(Ct||(Ct={}));const It={"&":{"&":!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 Rt(e){return"\t"===e||" "===e||"\xa0"===e}function jt(e){return e>="0"&&e<="9"}function Nt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function Lt(e){return Nt(e)||jt(e)||"."===e}class Dt{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(!Rt(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=It,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(Ct.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Nt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),Lt(e);)t+=this.getNextChar();return this.createToken(Ct.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?Mt(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(Ct.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,i=!1,o="";for(;this._index<this.length;){const e=this.getNextChar();if("`"===e&&this.backtick()){r=!0,n=!0;break}if("\\"===e)o+=Mt(this.getNextChar());else{if("$"===e){if("{"===this.peekNextChar()){this.curlyStack++,this.getNextChar(),n=!0,i=!0;break}}o+=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&&!i?Ct.NoSubstitutionTemplate:e?Ct.TemplateHead:r?Ct.TemplateTail:Ct.TemplateMiddle,this.createToken(t,o)}scanNumber(){let e=this.peekNextChar();if(!jt(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),jt(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),jt(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!jt(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(),jt(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(Ct.Number,t)}}class kt extends Dt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Mt(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class Ut{parse(e){this.lexer||(this.lexer=new Dt),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===Ct.TemplateTail){t.value&&e.push({Literal:{type:Ct.String,value:t.value}}),this.lexer.next();break}Vt(t,"}")?this.lexer.next():t.type===Ct.TemplateMiddle?(t.value&&e.push({Literal:{type:Ct.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===Ct.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:Ct.String,value:e.value}};if(e.type===Ct.TemplateHead||e.type===Ct.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:Ct.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===Ct.Identifier)return this.lexer.next(),Vt(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===Ct.String||e.type===Ct.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===Ct.NoSubstitutionTemplate||e.type===Ct.TemplateHead||e.type===Ct.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 Gt extends Ut{parse(e){this.lexer||(this.lexer=new kt),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===Ct.Operator&&e.value===t}class Bt{constructor(e){this.root=e}exec(e){return zt(this.root,e)}}class Ft extends Bt{}function Ht(e){return new Bt((new Ut).parse(e))}function $t(e){return new Ft((new Gt).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),sub:(e,t,r)=>e.replaceAll(t,r)};function zt(e,t){if("Literal"in e)switch(e.Literal.type){case Ct.String:return e.Literal.value;case Ct.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${Ct[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push(zt(n,t));return r.join("")}if("Binary"in e){const r=zt(e.Binary.left,t),n=()=>zt(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=zt(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=>zt(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function qt(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 Jt(e,t){return null==t?void 0:t.map((t=>{var r,n,i,o,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===(i=t.category)||void 0===i?void 0:i.exec(e),description:null===(o=t.description)||void 0===o?void 0:o.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 Bt?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?Ht(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?Ht(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,null==t?void 0:t.map((e=>{var t;return{...e,title:Kt(e.title,$t),disabledTitle:Kt(e.disabledTitle,$t),category:Kt(e.category,$t),description:Kt(e.description,$t),iconURL:Kt(e.iconURL,$t),actionItem:e.actionItem&&{...e.actionItem,label:Kt(e.actionItem.label,$t),description:Kt(e.actionItem.description,$t),iconURL:Kt(e.actionItem.iconURL,$t),iconDescription:Kt(e.actionItem.iconDescription,$t),pressed:Kt(e.actionItem.pressed,(e=>Ht(e)))},commandArguments:null===(t=e.commandArguments)||void 0===t?void 0:t.map((e=>"string"==typeof e?$t(e):e))}})))};var t}const Kt=(e,t)=>void 0===e?void 0:t(e);function Qt(e){const t=new ve(new Set),r=Ot(e.getEnabledExtensions()),n=new Set;return{activeLanguages:t,activeExtensions:Ce([t,r]).pipe(De((([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 mt(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)})),E((([,e])=>e?e.filter((e=>n.has(e.id))):[])),Ue(((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 Xt=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Zt(e,t,r,n=tr,i=rr){const o=function(e,t){const r=new Map;let n=gt;return(i,o=!1)=>{n<gt&&(r.clear(),n=gt);const s=t(i),a=r.get(s);if(!o&&a)return a;const c=e(i).pipe(yt(),lt(),De({error:()=>{r.delete(s)}}));return r.set(s,c),c}}((()=>Ne(t.getScriptURLForExtension()).pipe(E((e=>function(t){return e?e(t):Promise.resolve(t)})))),(()=>"getScriptURL")),s=new Set,a=new Map,c=new Map;var u,l;return Ce([e.activeExtensions,o(null)]).pipe((u=([o,u])=>{const l=new Set,f=new Map,p=new Set;for(const e of o)Xt.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(mt(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(De((({toActivate:e})=>{for(const t of e)if(t.manifest&&!mt(t.manifest)&&t.manifest.contributes){const e=Yt(t.manifest.contributes);a.set(t.id,e),c.set(t.id,e)}})),E((({toActivate:o,toDeactivate:s})=>{const a=wt(e.settings.value,"DefaultSettings")||{};return Ne(Promise.all([o.map((async({id:e,scriptURL:i})=>{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,i,r).catch((t=>console.error(`Error activating extension ${e}:`,xt(t))))})),[...s].map((e=>i(e).catch((t=>console.error(`Error deactivating extension ${e}:`,xt(t))))))]))})),E((()=>({activated:f,deactivated:l}))),qe((e=>(console.error("Uncaught error during extension activation",e),[]))))},$e(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 er=new Map;async function tr(e,t,r){try{nr(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 i=new p,o="function"==typeof n.deactivate?n.deactivate:null;er.set(e,(async()=>{try{o&&await Promise.resolve(o())}finally{i.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:i}))).catch((t=>{throw t=xt(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function rr(e){const t=er.get(e);t&&(er.delete(e),await Promise.resolve(t()))}function nr(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(E((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 or=r(3234),sr=r.n(or);function ar(e){return function(t){return t.lift(new cr(e))}}var cr=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new ur(e,this.value))},e}(),ur=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),lr=new et(Qe);function fr(e,t){return void 0===t&&(t=lr),function(r){return r.lift(new pr(e,t))}}var pr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new hr(e,this.dueTime,this.scheduler))},e}(),hr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.dueTime=r,i.scheduler=n,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return n(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(dr,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 dr(e){e.debouncedNext()}var vr=r(8838),br=r(9588),yr=r.n(br),gr=r(2164),mr=r.n(gr);const xr=()=>({key:yr()("TextDocumentDecorationType")});function wr(e){const t="object"==typeof e&&null!==e&&L("after")(e)&&e.after&&"object"==typeof e.after&&L("contentText")(e.after)&&"string"==typeof e.after.contentText,r="object"==typeof e&&null!==e&&L("meter")(e)&&e.meter&&"object"==typeof e.meter&&L("value")(e.meter)&&"number"==typeof e.meter.value;if(!t&&!r)return!1;return!("object"==typeof e&&null!==e&&L("after")(e)&&e.after&&"object"==typeof e.after&&L("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 Sr=()=>({key:yr()("StatusBarItemType")}),_r=xr();class Or{constructor(e,t){Er(this,F,!0),Er(this,"selectionsChanges",new ve([])),Er(this,"type","CodeEditor"),Er(this,"_decorationsByType",new Map),Er(this,"_mergedDecorations",new ve([])),Er(this,"_statusBarItemsByType",new Map),Er(this,"_mergedStatusBarItems",new ve([])),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||_r,this._decorationsByType.set(e,t.map(Cr)),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=>vr.Selection.fromPlain(e)));mr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}const Tr=e=>Array.isArray(e)?e.every(Tr):"object"==typeof e&&null!==e?Object.values(e).every(Tr):!e,Ar=({range:e,isWholeLine:t,...r})=>Tr(r),Pr=({key:e,text:t})=>!!e&&!!t;function Cr(e){return{...e,range:e.range.toJSON()}}var Ir=r(672),Rr=r.n(Ir);const jr=e=>({[F]:!0,subscribe:t=>te(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=Rr()){let r;var n,i,o;return r=e&&(ce(e)||(o=e)&&(o instanceof x||"function"==typeof o.lift&&"function"==typeof o.subscribe)||"object"==typeof(i=e)&&null!==i&&L("subscribe")(i)&&"function"==typeof i.subscribe)?Ne(e).pipe(E(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,i=!1;return function n(){t.next().then((t=>{if(!r)return t.done?(i=!0,void e.complete()):(e.next(t.value),n())}),(t=>{e.error(t)}))}(),()=>{r=!0,!i&&t.throw&&t.throw(new ue).catch((()=>{}))}}))).pipe(E(t)):rt(t(e)),r}const Lr={Text:"text",Read:"read",Write:"write"};var Dr=r(2497),kr=r.n(Dr),Mr=r(8202),Ur=r.n(Mr);function Gr(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),$e(g,e);var e}function Vr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Gr()(rt.apply(void 0,e))}function Br(e,t){return"function"==typeof t?function(r){return r.pipe(Br((function(r,n){return Ne(e(r,n)).pipe(E((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new Fr(e))}}var Fr=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new Hr(e,this.project))},e}(),Hr=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 Be(this),n=this.destination;n.add(r),this.innerSubscription=He(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}(Fe);function $r(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 zr(e,this.defaultValue))},e}(),zr=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);const qr="loading";var Jr=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Yr(e,this.resultSelector))},e}(),Yr=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var i=e.call(this,t)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return n(t,e),t.prototype._next=function(e){var t=this.iterators;u(e)?t.push(new Qr(e)):"function"==typeof e[we]?t.push(new Kr(e[we]())):t.push(new Xr(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 i=!1,o=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(i=!0),a.done)return void r.complete();o.push(a.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&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),Kr=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}(),Qr=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[we]=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}(),Xr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return n(t,e),t.prototype[we]=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 He(this.observable,new Be(this))},t}(Fe),Zr=1,en=function(){return Promise.resolve()}(),tn={};function rn(e){return e in tn&&(delete tn[e],!0)}var nn=function(e){var t=Zr++;return tn[t]=!0,en.then((function(){return rn(t)&&e()})),t},on=function(e){rn(e)},sn=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=nn(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&&(on(r),t.scheduled=void 0)},t}(Qe),an=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,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(et))(sn),cn=r(3621),un=r(6451),ln=r(2723),fn=r(5478);function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hn(e,t){switch(e.length){case 0:return rt([]);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 Jr(r))}(...e);default:return new cn.Observable((0,ln.subscribeToArray)(e)).lift(new dn(t))}}class dn{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new vn(e,this.defaultValue))}}class vn extends un.OuterSubscriber{constructor(e,t){super(e),pn(this,"activeObservables",0),pn(this,"values",[]),pn(this,"observables",[]),pn(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,fn.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,an.schedule((()=>{this.scheduled&&this.destination.next&&this.destination.next(this.values.slice()),this.scheduled=!1}))):this.destination.next&&this.destination.next(this.values.slice())}}const bn=e=>null!=e;var yn=r(6705);const gn=["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"],mn=r.n(yn)()(gn.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"])),xn=[{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"}]}]}],wn=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...wn(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let En,Sn;!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"}(En||(En={})),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"}(Sn||(Sn={}));const _n=[...Object.keys(En),...Object.keys(Sn)];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),En.author,En.committer,En.content,En.file,En.file,En.lang,En.lang,En.message,En.repo,En.repo,En.repohasfile;const Tn=[{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}];En.after,En.archived,En.author,En.before,En.case,En.committer,En.content,En.context,En.count,En.file,En.fork,En.lang,En.message,En.patterntype,En.repo,En.repogroup,En.repohascommitafter,En.repohasfile,En.rev,En.select,En.timeout,En.type,En.visibility;function An(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let Pn,Cn,In,Rn,jn,Nn,Ln,Dn,kn,Mn,Un,Gn,Vn,Bn,Fn,Hn,$n,Wn,zn,qn,Jn,Yn,Kn,Qn,Xn,Zn,ei,ti,ri,ni,ii,oi,si,ai,ci,ui,li,fi,pi,hi,di;!function(e){e.READ="READ"}(Pn||(Pn={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.PUBLISHED="PUBLISHED"}(Cn||(Cn={})),function(e){e.SCHEDULED="SCHEDULED",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(In||(In={})),function(e){e.DRAFT="DRAFT",e.OPEN="OPEN",e.CLOSED="CLOSED",e.MERGED="MERGED",e.DELETED="DELETED"}(Rn||(Rn={})),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"}(Nn||(Nn={})),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"}(Ln||(Ln={})),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"}(Dn||(Dn={})),function(e){e.EXISTING="EXISTING",e.BRANCH="BRANCH"}(kn||(kn={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Mn||(Mn={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(Un||(Un={})),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",e.DRAFT="DRAFT"}(Vn||(Vn={})),function(e){e.COMMENT="COMMENT",e.DETACH="DETACH",e.REENQUEUE="REENQUEUE",e.MERGE="MERGE",e.CLOSE="CLOSE",e.PUBLISH="PUBLISH"}(Bn||(Bn={})),function(e){e.PROCESSING="PROCESSING",e.COMPLETED="COMPLETED",e.FAILED="FAILED"}(Fn||(Fn={})),function(e){e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Hn||(Hn={})),function(e){e.NORMAL="NORMAL",e.CRITICAL="CRITICAL"}($n||($n={})),function(e){e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.ERROR="ERROR"}(Wn||(Wn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING",e.DELETING="DELETING"}(zn||(zn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED"}(qn||(qn={})),function(e){e.HOUR="HOUR",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"}(Jn||(Jn={})),function(e){e.NOTEBOOK_UPDATED_AT="NOTEBOOK_UPDATED_AT",e.NOTEBOOK_CREATED_AT="NOTEBOOK_CREATED_AT",e.NOTEBOOK_STAR_COUNT="NOTEBOOK_STAR_COUNT"}(Yn||(Yn={})),function(e){e.MARKDOWN="MARKDOWN",e.QUERY="QUERY",e.FILE="FILE"}(Kn||(Kn={})),function(e){e.WEB="WEB",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.BACKEND="BACKEND",e.STATICWEB="STATICWEB"}(Qn||(Qn={})),function(e){e.V1="V1",e.V2="V2"}(Xn||(Xn={})),function(e){e.literal="literal",e.regexp="regexp",e.structural="structural"}(Zn||(Zn={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",e.BITBUCKETCLOUD="BITBUCKETCLOUD",e.BITBUCKETSERVER="BITBUCKETSERVER",e.GITHUB="GITHUB",e.GITLAB="GITLAB",e.GITOLITE="GITOLITE",e.JVMPACKAGES="JVMPACKAGES",e.NPMPACKAGES="NPMPACKAGES",e.OTHER="OTHER",e.PAGURE="PAGURE",e.PERFORCE="PERFORCE",e.PHABRICATOR="PHABRICATOR"}(ei||(ei={})),function(e){e.ADDED="ADDED",e.UNCHANGED="UNCHANGED",e.DELETED="DELETED"}(ti||(ti={})),function(e){e.ERROR="ERROR",e.WARNING="WARNING",e.INFORMATION="INFORMATION",e.HINT="HINT"}(ri||(ri={})),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"}(ni||(ni={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_TAG="GIT_TAG",e.GIT_REF_OTHER="GIT_REF_OTHER"}(ii||(ii={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(oi||(oi={})),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"}(si||(si={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(ai||(ai={})),function(e){e.REPOSITORY_NAME="REPOSITORY_NAME",e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT"}(ci||(ci={})),function(e){e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR"}(ui||(ui={})),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"}(li||(li={})),function(e){e.TODAY="TODAY",e.THIS_WEEK="THIS_WEEK",e.THIS_MONTH="THIS_MONTH",e.ALL_TIME="ALL_TIME"}(fi||(fi={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(pi||(pi={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(hi||(hi={})),function(e){e.Or="or",e.And="and",e.Not="not"}(di||(di={}));const vi=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),bi=(...e)=>(t,r)=>{const n=[];for(const i of e){const e=i(t,r);if("success"===e.type)return e;n.push(e.expected)}return{type:"error",expected:`One of: ${n.join(", ")}`,at:r}},yi=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:vi(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},gi=(e,t,r)=>(e.source.startsWith("^")||(e=new RegExp(`^${e.source}`,e.flags)),(n,i)=>{const o=n.slice(Math.max(0,i));if(!o)return{type:"error",expected:r||`/${e.source}/`,at:i};const s=o.match(e);if(!s)return{type:"error",expected:r||`/${e.source}/`,at:i};const a={start:i,end:i+s[0].length};return{type:"success",term:t?"function"==typeof t?t(s[0],a):t:{type:"literal",value:s[0],range:a}}}),mi=(e,t)=>{let r=t,n=0,i="";const o=[],s=()=>{i=e[r],r+=1};if(!Ii(e,t))return{type:"error",expected:"no recognized filter or keyword",at:t};for(;void 0!==e[r];){if(s(),i.match(/\s/)&&0===n){r-=1;break}if("("===i){if(!Ii(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};n+=1,o.push(i)}else if(")"===i){if(n-=1,n<0&&r>1){r-=1,n=0;break}o.push(i)}else if(" "===i){if(!Ii(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};o.push(i)}else if("\\"===i){if(void 0!==e[r]){s(),o.push("\\",i);continue}o.push(i)}else o.push(i)}return 0!==n?{type:"error",expected:"no unbalanced parentheses",at:r}:{type:"success",term:vi(o.join(""),{start:t,end:r})}},xi=gi(/\s+/,((e,t)=>({type:"whitespace",range:t}))),wi=gi(/[^\s)]+/),Ei=gi(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:di.Not}))),Si=gi(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:di.And}))),_i=gi(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:di.Or}))),Oi=bi(Si,_i,Ei),Ti=(gi(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),gi(new RegExp(`-?(${_n.join("|")})+(?=:)`,"i"))),Ai=(bi(yi('"'),yi("'"),mi,wi),gi(/\(/,((e,t)=>({type:"openingParen",range:t}))),gi(/\)/,((e,t)=>({type:"closingParen",range:t})))),Pi=(e,t)=>(r,n)=>{const i=e(r,n);if("error"===i.type)return i;let o;const s=[];if(Array.isArray(i.term))for(const e of i.term)s.push(e),o=e.range.end;else s.push(i.term),o=i.term.range.end;if(o&&void 0!==r[o]){const e=t(r,o);if("error"===e.type)return e;s.push(e.term),o=e.term.range.end}return{type:"success",term:s}},Ci=bi(Ti,Pi(Oi,xi)),Ii=(e,t)=>"success"!==Ci(e,t).type;bi(xi,Ai);let Ri;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(Ri||(Ri={}));const ji=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 Ni(e){const t=new URL(e),r=t.hostname+decodeURIComponent(t.pathname),n=decodeURIComponent(t.search.slice("?".length))||void 0;let i;null!=n&&n.match(/[\dA-f]{40}/)&&(i=n);const o=t.hash.slice("#".length).split(":").map(decodeURIComponent);let s,a,c;if(1===o.length&&(s=o[0]),2===o.length){s=o[0];const e=o[1],t=e.split("-");if(1===t.length&&(a=ji(t[0])),2===t.length&&(c={start:ji(t[0]),end:ji(t[1])}),t.length>2)throw new Error("unexpected range or position: "+e)}if(o.length>2)throw new Error("unexpected fragment: "+t.hash);return{repoName:r,revision:n,commitID:i,filePath:s||void 0,position:a,range:c}}var Li=r(4245);function Di(e){const t=(0,Li.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 ki=r(1781),Mi=r.n(ki);function Ui(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(Gi(n,t))return!0;var r;return!1}function Gi(e,t){return 0!==function(e,t,r){let n=0;for(const i of e){const e=Vi(i,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function Vi(e,t,r){if("string"==typeof e)return"*"===e?5:e===r?10:0;const{language:n,scheme:i,pattern:o,baseUri:s}=e;if(!n&&!i&&!o)return 5;let a=0;if(i)if(t.protocol===i+":")a=10;else{if("*"!==i)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(o){const e=decodeURIComponent("git:"===t.protocol?t.hash.slice(1):t.pathname.replace(/^\//,""));if(e.endsWith(o)||Mi()(e,o))a=10;else{if(!e||!Mi()(e,o,{dot:!0,matchBase:!0}))return 0;a=5}}return a}let Bi;!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"}(Bi||(Bi={}));r(9913),r(2366),r(8911),r(4207);function Fi(e,t,r,n){const i={...r};if(null!==(o=t).subjects&&!o.subjects.some((e=>mt(e.settings)))&&null!==o.final&&!mt(o.final))for(const[e,r]of Object.entries(t.final))i[`config.${e}`]=r;var o;const s=n||e||null;if(s&&(i.component=!0),"CodeEditor"===(null==s?void 0:s.type)){i.resource=!0,i["resource.uri"]=s.resource,i["resource.basename"]=(0,Li.basename)(s.resource),i["resource.dirname"]=(0,Li.dirname)(s.resource),i["resource.extname"]=(0,Li.extname)(s.resource),i["resource.language"]=s.model.languageId,i["resource.type"]="textDocument";const e=new URL(s.resource);i["resource.repo"]=`${e.hostname}${e.pathname}`,i["resource.commit"]=e.search.slice(1),i["resource.path"]=e.hash.slice(1),i["component.type"]="CodeEditor",i["component.selections"]=s.selections,s.selections.length>0&&(i["component.selection"]=s.selections[0]||null,i["component.selection.start"]=s.selections[0]?s.selections[0].start:null,i["component.selection.end"]=s.selections[0]?s.selections[0].end:null,i["component.selection.start.line"]=s.selections[0]?s.selections[0].start.line:null,i["component.selection.start.character"]=s.selections[0]?s.selections[0].start.character:null,i["component.selection.end.line"]=s.selections[0]?s.selections[0].end.line:null,i["component.selection.end.character"]=s.selections[0]?s.selections[0].end.character:null)}return"panelView"===(null==s?void 0:s.type)&&(i["panel.activeView.id"]=s.id,i["panel.activeView.hasLocations"]=s.hasLocations),i}function Hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $i{constructor(e){Hi(this,F,!0),Hi(this,"type","DirectoryViewer"),this.isActive=e.isActive,this.viewerId=e.viewerId,this.resource=e.resource,this.directory={uri:new URL(e.resource)}}}var Wi=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 zi(e,this.accumulator,this.seed,this.hasSeed))},e}(),zi=function(e){function t(t,r,n,i){var o=e.call(this,t)||this;return o.accumulator=r,o._seed=n,o.hasSeed=i,o.index=0,o}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 qi="ColdCallViewProviderStart";function Ji(e,t,r=2){return t.pipe(Br((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 be(r)?(e.pop(),function(t){return Vr(e,t,r)}):function(t){return Vr(e,t)}}(qi),$e(((t,r)=>t!==qi?Nr(t.viewProvider.provideView(e)).pipe($r(null),qe((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=xt(e);return[{message:t,name:r,stack:n}]})),E((e=>({id:t.id,view:e,index:r})))):rt(qi)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new Wi(e,t,r))}}(((e,t)=>{if(t===qi)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),E((e=>e.filter(k(bn,D("view",N(j(null))))))))}class Yi{constructor(e,t){this.index=e,this.remainder=t}}class Ki{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=Xi(e);const r=this.values,n=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+i),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=Xi(e),t=Xi(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Xi(e),t=Xi(t);const r=this.values,n=this.prefixSum;if(e>=r.length)return!1;const i=r.length-e;return t>=i&&(t=i),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=Xi(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,i=0,o=0;for(;t<=r;)if(n=t+(r-t)/2|0,i=this.prefixSum[n],o=i-this.values[n],e<o)r=n-1;else{if(!(e>=i))break;t=n+1}return new Yi(n,e-o)}}const Qi=4294967295;function Xi(e){return e<0?0:e>Qi?Qi:0|e}const Zi=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class eo{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=to(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=to(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 vr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof vr.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 vr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof vr.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 vr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(Zi.lastIndex=0,!Zi.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(Zi.lastIndex=r;;){const r=Zi.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&Zi.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:Zi.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new vr.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 Ki(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function to(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 ro(e){return new vr.Position(e.line,e.character)}function no(e){return{uri:e.uri.href,range:io(e.range),aggregableBadges:e.aggregableBadges}}function io(e){if(e)return e instanceof vr.Range?e.toJSON():e}class oo{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function so(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function ao(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 fo(t);return r};return{haveInitialExtensionsLoaded:()=>jr(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>jr(e.roots.pipe(E((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new oo(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=>jr(e.queryTransformers.pipe(Br((e=>e.reduce(((e,t)=>e.pipe($e((e=>{const r=t.transformQuery(e);return r instanceof Promise?Ne(r):rt(r)})))),rt(t)))))),getHover:r=>{const n=t(r.textDocument.uri),i=ro(r.position);return jr(uo(e.hoverProviders,(e=>co(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,i)),(e=>function(e){const t=[],r=[],n=new Map;let i;for(const s of e)if(s){var o;null!==(o=s.contents)&&void 0!==o&&o.value&&t.push({value:s.contents.value,kind:s.contents.kind||vr.MarkupKind.PlainText}),s.alerts&&r.push(...s.alerts);for(const e of s.aggregableBadges||[])n.set(e.text,e);s.range&&!i&&(i=s.range instanceof vr.Range?s.range.toPlain():s.range)}return 0===t.length?null:{contents:t,alerts:r,...i?{range:i}:{},aggregatedBadges:[...n.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(lo(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),i=ro(r.position);return jr(uo(e.documentHighlightProviders,(e=>co(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,i)),lo).pipe(E((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),i=ro(r.position);return jr(uo(e.definitionProviders,(e=>co(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,i)),(e=>lo(e).map(no))))},getReferences:(r,n)=>{const i=t(r.textDocument.uri),o=ro(r.position);return jr(uo(e.referenceProviders,(e=>co(i,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(i,o,n)),(e=>lo(e).map(no))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return jr(e.referenceProviders.pipe(E((e=>0!==co(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const i=t(n.textDocument.uri),o=ro(n.position);return jr(uo(e.locationProviders,(e=>co(i,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(i,o)),(e=>lo(e).map(no))))},getFileDecorations:t=>jr(0===t.files.length?P:uo(e.fileDecorationProviders,Rr(),(e=>e.provideFileDecorations(t)),lo).pipe(E((({result:e})=>kr()(e.filter(wr),(({uri:e})=>Ni(e).filePath||e)))))),addViewerIfNotExists:r=>{const n="viewer#"+e.lastViewerId++;let i;switch("CodeEditor"===r.type&&e.modelReferences.increment(r.resource),r.type){case"CodeEditor":{const e=t(r.resource);i=new Or({...r,viewerId:n},e);break}case"DirectoryViewer":i=new $i({...r,viewerId:n})}return e.viewComponents.set(n,i),r.isActive&&e.activeViewComponentChanges.next(i),e.viewerUpdates.next({viewerId:n,action:"addition",type:r.type}),{viewerId:n}},removeViewer:({viewerId:n})=>{var i;const o=r(n);e.viewComponents.delete(n),(null===(i=e.activeViewComponentChanges.value)||void 0===i?void 0:i.viewerId)===n&&e.activeViewComponentChanges.next(void 0),e.viewerUpdates.next({viewerId:n,action:"removal",type:o.type}),"CodeEditor"===o.type&&e.modelReferences.decrement(o.resource)&&(r=>{const n=t(r);e.textDocuments.delete(r),e.languageReferences.decrement(n.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))})(o.resource)},viewerUpdates:()=>jr(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);po(n,"CodeEditor"),n.update({selections:t})},getTextDecorations:({viewerId:e})=>{const t=r(e);return po(t,"CodeEditor"),jr(t.mergedDecorations)},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new eo(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:()=>jr(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>jr(e.activeViewComponentChanges.pipe(Br((e=>"CodeEditor"!==(null==e?void 0:e.type)?rt(null):e.selectionsChanges.pipe(E((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=>mo(t,e),registerContributions:t=>{const r=Yt(t);return te(so(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:i}={})=>jr(Ce([e.contributions,e.activeViewComponentChanges.pipe(E((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(E((([e,t,o,s])=>{n&&(s={...s,...n});const a=Fi(t,o,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),disabledWhen:t.disabledWhen&&!!t.disabledWhen.exec(e)}))))),actions:Jt(e,t.actions)}}(a,e);return i?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}),{}}}))})),E(qt),Ue(mr()))),getPlainNotifications:()=>jr(e.plainNotifications.asObservable()),getProgressNotifications:()=>jr(e.progressNotifications.asObservable()),getPanelViews:()=>jr(e.panelViews.pipe(Br((e=>Ce([...e]))),fr(0))),getInsightViewById:(t,r)=>jr(e.insightsPageViewProviders.pipe(Br((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?Nr(n.viewProvider.provideView(r)):nt(new Error(`Couldn't find view with id ${t}`))})),qe((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=xt(e);return rt({message:t,name:r,stack:n})})),E((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),i=t.pipe(E((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),fr(0));return jr(Ji(e,i))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>jr(ho(t,e.homepageViewProviders)),getDirectoryViews:t=>jr(ho({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=>jr(ho(t,e.globalPageViewProviders)),getStatusBarItems:({viewerId:e})=>{const t=r(e);return"CodeEditor"!==t.type?jr(P):jr(t.mergedStatusBarItems.pipe(fr(0),E((e=>e.sort(((e,t)=>e.text[0].toLowerCase().charCodeAt(0)-t.text[0].toLowerCase().charCodeAt(0)))))))},getLinkPreviews:t=>jr(uo(e.linkPreviewProviders,(e=>e.filter((e=>t.startsWith(e.urlMatchPattern)))),(({provider:e})=>e.provideLinkPreview(new URL(t))),(e=>function(e){const t=e.filter(bn).filter((e=>"loading"!==e)),r=t.filter(D("content",bn)),n=t.filter(D("hover",bn));if(0===n.length&&0===r.length)return null;return{content:r.map((({content:e})=>e)),hover:n.map((({hover:e})=>e))}}(e))).pipe(E((e=>e.isLoading?null:e.result)))),getActiveExtensions:()=>jr(e.activeExtensions)}}function co(e,t,r){return t.filter((t=>Ui(r(t),{uri:e.uri,languageId:Di(Ni(e.uri).filePath||"")})))}function uo(e,t,r,n,i=!0){const o=(...e)=>{i&&console.error("Provider errored:",...e)};return e.pipe(E((e=>t(e))),Br((e=>hn(e.map((e=>Vr([qr],Nr((e=>{try{return r(e)}catch(e){return o(e),null}})(e)).pipe($r(null),qe((e=>(o(e),[null]))))))))))).pipe($r([]),E((e=>({isLoading:e.some((e=>e===qr)),result:n(e)}))),Ue(((e,t)=>mr()(e,t))))}function lo(e){return e.filter(N(j(qr))).flatMap(Ur()).filter(bn)}class fo 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 po(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}function ho(e,t){return t.pipe(fr(0),Br((t=>Ce([rt(null),...t.map((({viewProvider:t,id:r})=>Vr([void 0],Nr(t.provideView(e)).pipe($r(null),qe((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=xt(e);return[{message:t,name:r,stack:n}]})))).pipe(E((e=>({id:r,view:e}))))))]))),E((e=>e.filter(k(bn,D("view",N(j(null))))))))}const vo={Error:1,Warning:2,Info:3,Log:4,Success:5};function bo(e,t,r){const n=Object.assign(e.settings.pipe(ar(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}}}),i={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(ar(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:P,searchContextChanges:e.searchContextChanges.asObservable()},o=async t=>{const r=new ct(1);return e.progressNotifications.next(te({baseNotification:{message:t.title,type:vo.Log},progress:jr(r.asObservable())})),{next:e=>{r.next(e)},error:e=>{const t=xt(e);r.error({message:t.message,name:t.name,stack:t.stack})},complete:()=>{r.complete()}}},s={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return sr()(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 o(e);try{const e=t(r);return r.complete(),await e}catch(e){throw r.error(e),e}},showProgress:e=>o(e),showMessage:e=>t.showMessage(e),showInputBox:e=>t.showInputBox(e)},a={get activeWindow(){return s},activeWindowChanges:new ve(s).asObservable(),get windows(){return[s]},registerFileDecorationProvider:t=>so(e.fileDecorationProviders,t),createPanelView:t=>{const r=new ve({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:()=>{i.unsubscribe()}},i=so(e.panelViews,r.pipe(fr(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return so(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return so(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return so(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return so(e.homepageViewProviders,{id:t,viewProvider:r})}},createDecorationType:xr,createStatusBarItemType:Sr,log:St()},c={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>ae(t.registerCommand(e,te(r)))},u={registerQueryTransformer:t=>so(e.queryTransformers,t)},l={registerHoverProvider:(t,r)=>so(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>so(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>so(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>so(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>so(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)=>so(e.linkPreviewProviders,{urlMatchPattern:t,provider:r})};return function(o){return{URI:URL,Position:vr.Position,Range:vr.Range,Selection:vr.Selection,Location:vr.Location,MarkupKind:vr.MarkupKind,NotificationType:vo,DocumentHighlightKind:Lr,app:{...a,log:(...r)=>{e.activeLoggers.has(o)&&t.logExtensionMessage(`\u{1f9e9} %c${o}`,"background-color: lightgrey;",...r).catch((e=>{console.error("Error sending extension message to main thread:",e)}))}},workspace:i,configuration:n,languages:l,search:u,commands:c,graphQL:f,content:p,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>mo(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}class yo{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 go(e){const t=new p;let r=!1;return{unsubscribe:()=>t.unsubscribe(),extensionAPI:new Promise((n=>{J((i=>{if(r)throw new Error("extension host is already initialized");r=!0;const{subscription:o,extensionAPI:s,extensionHostAPI:a}=function(e,t){const r=new p,{extensionAPI:n,extensionHostAPI:i,subscription:o}=function(e,t){const r=new p;!function(){const e={canHandle:se,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};q.set("URL",e)}();const n=K(t.proxy),i=function(e,t){const{activeLanguages:r,activeExtensions:n}=Qt(t);return{haveInitialExtensionsLoaded:new ve(!1),roots:new ve([]),rootChanges:new he,searchContextChanges:new he,searchContext:void 0,settings:new ve(e.initialSettings),queryTransformers:new ve([]),hoverProviders:new ve([]),documentHighlightProviders:new ve([]),definitionProviders:new ve([]),referenceProviders:new ve([]),locationProviders:new ve([]),fileDecorationProviders:new ve([]),context:new ve({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new ve([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new he,viewComponents:new Map,activeLanguages:r,languageReferences:new yo,modelReferences:new yo,activeViewComponentChanges:new ve(void 0),viewerUpdates:new he,plainNotifications:new ct(3),progressNotifications:new ct(3),panelViews:new ve([]),insightsPageViewProviders:new ve([]),homepageViewProviders:new ve([]),globalPageViewProviders:new ve([]),directoryViewProviders:new ve([]),linkPreviewProviders:new ve([]),activeExtensions:n,activeLoggers:new Set}}(e,n),o=ao(i),s=bo(i,n,e);r.add(Zt(i,n,s)),r.add(ir(i));const a={[F]:!0,ping:()=>"pong",...o},c=s("DEFAULT");return{extensionHostAPI:a,extensionAPI:c,subscription:r}}(t,e);return r.add(o),nr(n),r.add((()=>{globalThis.require=()=>{throw new Error("require: Sourcegraph extension API was unsubscribed")}})),{subscription:r,extensionAPI:n,extensionHostAPI:i}}(e,i);return t.add(o),n(s),a}),e.expose)}))}}function mo(e,t){if(B()(t.context.value,e))return;const r={};for(const[n,i]of Object.entries(t.context.value))null!==e[n]&&(r[n]=i);for(const[t,n]of Object.entries(e))null!==n&&(r[t]=n);t.context.next(r)}const xo=e=>"object"==typeof e&&null!==e&&L("endpoints")(e)&&(e=>U()(e)&&L("proxy")(e)&&L("expose")(e)&&G(e.proxy)&&G(e.expose))(e.endpoints);!async function(){try{const t=await O(self,"message").pipe((e=1,function(t){return 0===e?C():t.lift(new I(e))})).toPromise();if(!xo(t.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:r}=t.data,n=go(r);self.addEventListener("unload",(()=>n.unsubscribe()))}catch(e){console.error("Error starting the extension host:",e),self.close()}var e}()})()})();
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),i=r(3353),o=r(4776);class s{constructor(e,t){if(this.uri=e,t)if(t instanceof i.Range)this.range=t;else{if(!(t instanceof n.Position))throw new Error("Illegal argument");this.range=new i.Range(t,t)}else;}static isLocation(e){return e instanceof s||!!e&&(i.Range.isRange(e.range)&&o.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 i{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 i)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 i(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 i(r,t)}toJSON(){return{line:this.line,character:this.character}}}t.Position=i},3353:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8337),i=r(4554);class o{static isRange(e){return e instanceof o||!!e&&(i.Position.isPosition(e.start)&&i.Position.isPosition(e.end))}get start(){return this._start}get end(){return this._end}constructor(e,t,r,n){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n?(o=new i.Position(e,t),s=new i.Position(r,n)):e instanceof i.Position&&t instanceof i.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");o.isBefore(s)?(this._start=o,this._end=s):(this._start=s,this._end=o)}contains(e){return e instanceof o?this.contains(e._start)&&this.contains(e._end):e instanceof i.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=i.Position.max(e.start,this._start),r=i.Position.min(e.end,this._end);if(!t.isAfter(r))return new o(t,r)}union(e){if(this.contains(e))return this;if(e.contains(this))return e;const t=i.Position.min(e.start,this._start),r=i.Position.max(e.end,this.end);return new o(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?i.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 o(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 o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Range=o},1483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4554),i=r(3353);class o extends i.Range{static isSelection(e){return e instanceof o||!!e&&(i.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,i){let o,s;if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof i?(o=new n.Position(e,t),s=new n.Position(r,i)):e instanceof n.Position&&t instanceof n.Position&&(o=e,s=t),!o||!s)throw new Error("Invalid arguments");super(o,s),this._anchor=o,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 o(e.end.line,e.end.character,e.start.line,e.start.character):new o(e.start.line,e.start.character,e.end.line,e.end.character)}}t.Selection=o},4776:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=e=>!!e&&"function"==typeof e.toString&&e.href===e.toString()},3535:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,s,a,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){for(n=[],o=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?a=[n.pop(),u]:((i=n.pop())<o&&(o=i,s=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(a=[o,s])}return a}e.exports=t,t.range=n},70:(e,t,r)=>{var n=r(7489),i=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(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(c).split("\\.").join(u)}(e),!0).map(p)};var o="\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 p(e){return e.split(o).join("\\").split(s).join("{").split(a).join("}").split(c).join(",").split(u).join(".")}function f(e){if(!e)return[""];var t=[],r=i("{","}",e);if(!r)return e.split(",");var n=r.pre,o=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+o+"}";var c=f(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 b(e,t){return e>=t}function y(e,t){var r=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var s,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),p=c||u,g=o.body.indexOf(",")>=0;if(!p&&!g)return o.post.match(/,.*\}/)?y(e=o.pre+"{"+o.body+a+o.post):[e];if(p)s=o.body.split(/\.\./);else if(1===(s=f(o.body)).length&&1===(s=y(s[0],!1).map(h)).length)return(w=o.post.length?y(o.post,!1):[""]).map((function(e){return o.pre+s[0]+e}));var m,x=o.pre,w=o.post.length?y(o.post,!1):[""];if(p){var E=l(s[0]),S=l(s[1]),_=Math.max(s[0].length,s[1].length),O=3==s.length?Math.abs(l(s[2])):1,T=v;S<E&&(O*=-1,T=b);var A=s.some(d);m=[];for(var P=E;T(P,S);P+=O){var C;if(u)"\\"===(C=String.fromCharCode(P))&&(C="");else if(C=String(P),A){var I=_-C.length;if(I>0){var R=new Array(I+1).join("0");C=P<0?"-"+R+C.slice(1):R+C}}m.push(C)}}else m=n(s,(function(e){return y(e,!1)}));for(var N=0;N<m.length;N++)for(var j=0;j<w.length;j++){var L=x+m[N]+w[j];(!t||p||L)&&r.push(L)}return r}},7489:e=>{e.exports=function(e,r){for(var n=[],i=0;i<e.length;i++){var o=r(e[i],i);t(o)?n.push.apply(n,o):n.push(o)}return n};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},942:(e,t,r)=>{var n=r(9090),i=r(8283),o=r(8046),s=r(3414),a=o.data,c=o.normalize,u="USE_FUNCTION_CONSTRUCTOR",l="AsyncIteratorPrototype",p=function(e,t){if(i(e))for(var r=0;r<e.length;r++)a[c(e[r])]=t};e.exports=function(e){"object"==typeof e&&(p(e.useNative,o.NATIVE),p(e.usePolyfill,o.POLYFILL),p(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),i=r(9692),o=r(6973),s=n("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:i(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),i=r(6640),o=r(7655),s=r(3658),a=r(3310),c=r(3500),u=r(3706);e.exports=function(e){var t,r,l,p,f,h,d=i(e),v="function"==typeof this?this:Array,b=arguments.length,y=b>1?arguments[1]:void 0,g=void 0!==y,m=u(d),x=0;if(g&&(y=n(y,b>2?arguments[2]:void 0,2)),null==m||v==Array&&s(m))for(r=new v(t=a(d.length));t>x;x++)h=g?y(d[x],x):d[x],c(r,x,h);else for(f=(p=m.call(d)).next,r=new v;!(l=f.call(p)).done;x++)h=g?o(p,y,[l.value,x],!0):l.value,c(r,x,h);return r.length=x,r}},7830:(e,t,r)=>{var n=r(6603),i=r(3310),o=r(9211),s=function(e){return function(t,r,s){var a,c=n(t),u=i(c.length),l=o(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),i=r(5772);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){throw i(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),i=r(4518),o=r(26)("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=n?i: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),o))?r:s?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},4327:(e,t,r)=>{var n=r(9090),i=r(8872),o=r(3276),s=r(6973);e.exports=function(e,t){for(var r=i(t),a=s.f,c=o.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,i=r(9692),o=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=i(n,{next:o(1,r)}),s(e,u,!1,!0),a[u]=c,e}},9382:(e,t,r)=>{var n=r(909),i=r(6973),o=r(5398);e.exports=n?function(e,t,r){return i.f(e,t,o(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),i=r(6973),o=r(5398);e.exports=function(e,t,r){var s=n(t);s in e?i.f(e,s,o(0,r)):e[s]=r}},2315:(e,t,r)=>{"use strict";var n=r(8646),i=r(980),o=r(1052),s=r(6907),a=r(4198),c=r(9382),u=r(4824),l=r(26),p=r(781),f=r(2536),h=r(5592),d=h.IteratorPrototype,v=h.BUGGY_SAFARI_ITERATORS,b=l("iterator"),y="keys",g="values",m="entries",x=function(){return this};e.exports=function(e,t,r,l,h,w,E){i(r,t,l);var S,_,O,T=function(e){if(e===h&&R)return R;if(!v&&e in C)return C[e];switch(e){case y:case g:case m:return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",P=!1,C=e.prototype,I=C[b]||C["@@iterator"]||h&&C[h],R=!v&&I||T(h),N="Array"==t&&C.entries||I;if(N&&(S=o(N.call(new e)),d!==Object.prototype&&S.next&&(p||o(S)===d||(s?s(S,d):"function"!=typeof S[b]&&c(S,b,x)),a(S,A,!0,!0),p&&(f[A]=x))),h==g&&I&&I.name!==g&&(P=!0,R=function(){return I.call(this)}),p&&!E||C[b]===R||c(C,b,R),f[t]=R,h)if(_={values:T(g),keys:w?R:T(y),entries:T(m)},E)for(O in _)(v||P||!(O in C))&&u(C,O,_[O]);else n({target:t,proto:!0,forced:v||P},_);return _}},6637:(e,t,r)=>{var n=r(4871),i=r(9090),o=r(5223),s=r(6973).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||s(t,e,{value:o.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),i=r(1043),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.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),i=r(800);e.exports="process"==n(i.process)},7670:(e,t,r)=>{var n=r(4817);e.exports=n("navigator","userAgent")||""},7903:(e,t,r)=>{var n,i,o=r(800),s=r(7670),a=o.process,c=a&&a.versions,u=c&&c.v8;u?i=(n=u.split("."))[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},1836:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8646:(e,t,r)=>{var n=r(800),i=r(3276).f,o=r(9382),s=r(4824),a=r(8697),c=r(4327),u=r(8046);e.exports=function(e,t){var r,l,p,f,h,d=e.target,v=e.global,b=e.stat;if(r=v?n:b?n[d]||a(d,{}):(n[d]||{}).prototype)for(l in t){if(f=t[l],p=e.noTargetGet?(h=i(r,l))&&h.value:r[l],!u(v?l:d+(b?".":"#")+l,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),s(r,l,f,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,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},4817:(e,t,r)=>{var n=r(4871),i=r(800),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},3706:(e,t,r)=>{var n=r(2796),i=r(2536),o=r(26)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},8816:(e,t,r)=>{var n=r(5511),i=r(3706);e.exports=function(e){var t=i(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),i=r(8898),o=r(4764);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},4783:(e,t,r)=>{var n=r(8898),i=r(4518),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},735:(e,t,r)=>{var n=r(3414),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},4495:(e,t,r)=>{var n,i,o,s=r(7519),a=r(800),c=r(1043),u=r(9382),l=r(9090),p=r(3414),f=r(1544),h=r(555),d=a.WeakMap;if(s){var v=p.state||(p.state=new d),b=v.get,y=v.has,g=v.set;n=function(e,t){return t.facade=e,g.call(v,e,t),t},i=function(e){return b.call(v,e)||{}},o=function(e){return y.call(v,e)}}else{var m=f("state");h[m]=!0,n=function(e,t){return t.facade=e,u(e,m,t),t},i=function(e){return l(e,m)?e[m]:{}},o=function(e){return l(e,m)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},3658:(e,t,r)=>{var n=r(26),i=r(2536),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===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),i=/#|\.prototype\./,o=function(e,t){var r=a[s(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},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,i,o,s=r(8898),a=r(1052),c=r(9382),u=r(9090),l=r(26),p=r(781),f=l("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):h=!0);var d=null==n||s((function(){var e={};return n[f].call(e)!==e}));d&&(n={}),p&&!d||u(n,f)||c(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},2536:e=>{e.exports={}},8654:(e,t,r)=>{var n=r(9040),i=r(7903),o=r(8898);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(n?38===i:i>37&&i<41)}))},9824:(e,t,r)=>{var n=r(8898),i=r(26),o=r(781),s=i("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})),o&&!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),i=r(735),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},7738:(e,t,r)=>{"use strict";var n=r(909),i=r(8898),o=r(3555),s=r(2610),a=r(8858),c=r(6640),u=r(4783),l=Object.assign,p=Object.defineProperty;e.exports=!l||i((function(){if(n&&1!==l({b:1},l(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||o(l({},t)).join("")!=i}))?function(e,t){for(var r=c(e),i=arguments.length,l=1,p=s.f,f=a.f;i>l;)for(var h,d=u(arguments[l++]),v=p?o(d).concat(p(d)):o(d),b=v.length,y=0;b>y;)h=v[y++],n&&!f.call(d,h)||(r[h]=d[h]);return r}:l},9692:(e,t,r)=>{var n,i=r(5511),o=r(3110),s=r(1836),a=r(555),c=r(7876),u=r(4764),l=r(1544),p=l("IE_PROTO"),f=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[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=i(e),r=new f,f.prototype=null,r[p]=e):r=d(),void 0===t?r:o(r,t)}},3110:(e,t,r)=>{var n=r(909),i=r(6973),o=r(5511),s=r(3555);e.exports=n?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),a=n.length,c=0;a>c;)i.f(e,r=n[c++],t[r]);return e}},6973:(e,t,r)=>{var n=r(909),i=r(5393),o=r(5511),s=r(1736),a=Object.defineProperty;t.f=n?a:function(e,t,r){if(o(e),t=s(t,!0),o(r),i)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),i=r(8858),o=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 o(!i.f.call(e,t),e[t])}},2107:(e,t,r)=>{var n=r(7967),i=r(1836).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},2610:(e,t)=>{t.f=Object.getOwnPropertySymbols},1052:(e,t,r)=>{var n=r(9090),i=r(6640),o=r(1544),s=r(6760),a=o("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=i(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),i=r(6603),o=r(7830).indexOf,s=r(555);e.exports=function(e,t){var r,a=i(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++])&&(~o(u,r)||u.push(r));return u}},3555:(e,t,r)=>{var n=r(7967),i=r(1836);e.exports=Object.keys||function(e){return n(e,i)}},8858:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},6907:(e,t,r)=>{var n=r(5511),i=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,o){return n(r),i(o),t?e.call(r,o):r.__proto__=o,r}}():void 0)},8872:(e,t,r)=>{var n=r(4817),i=r(2107),o=r(2610),s=r(5511);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=o.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 i in t)n(e,i,t[i],r);return e}},4824:(e,t,r)=>{var n=r(800),i=r(9382),o=r(9090),s=r(8697),a=r(735),c=r(4495),u=c.get,l=c.enforce,p=String(String).split("String");(e.exports=function(e,t,r,a){var c,u=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),(c=l(r)).source||(c.source=p.join("string"==typeof t?t:""))),e!==n?(u?!h&&e[t]&&(f=!0):delete e[t],f?e[t]=r:i(e,t,r)):f?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),i=r(9382);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},4198:(e,t,r)=>{var n=r(6973).f,i=r(9090),o=r(26)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},1544:(e,t,r)=>{var n=r(9829),i=r(9386),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},3414:(e,t,r)=>{var n=r(800),i=r(8697),o="__core-js_shared__",s=n[o]||i(o,{});e.exports=s},9829:(e,t,r)=>{var n=r(781),i=r(3414);(e.exports=function(e,t){return i[e]||(i[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),i=r(8401),o=function(e){return function(t,r){var o,s,a=String(i(t)),c=n(r),u=a.length;return c<0||c>=u?e?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?e?a.charAt(c):o:e?a.slice(c,c+2):s-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},629:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=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?o(e/700):e>>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(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 i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),r--)}else t.push(i)}return t}(e)).length,p=128,f=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 b=t;for(r=0;r<e.length;r++)(n=e[r])>=p&&n<b&&(b=n);var y=v+1;if(b-p>o((t-f)/y))throw RangeError(i);for(f+=(b-p)*y,p=b,r=0;r<e.length;r++){if((n=e[r])<p&&++f>t)throw RangeError(i);if(n==p){for(var g=f,m=36;;m+=36){var x=m<=h?1:m>=h+26?26:m-h;if(g<x)break;var w=g-x,E=36-x;u.push(s(a(x+w%E))),g=o(w/E)}u.push(s(a(g))),h=c(f,y,v==d),f=0,++v}}++f,++p}return u.join("")};e.exports=function(e){var t,i,o=[],s=e.toLowerCase().replace(n,".").split(".");for(t=0;t<s.length;t++)i=s[t],o.push(r.test(i)?"xn--"+u(i):i);return o.join(".")}},5767:(e,t,r)=>{var n,i,o,s=r(800),a=r(8898),c=r(6365),u=r(7876),l=r(4764),p=r(9364),f=r(9040),h=s.location,d=s.setImmediate,v=s.clearImmediate,b=s.process,y=s.MessageChannel,g=s.Dispatch,m=0,x={},w="onreadystatechange",E=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},S=function(e){return function(){E(e)}},_=function(e){E(e.data)},O=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]},f?n=function(e){b.nextTick(S(e))}:g&&g.now?n=function(e){g.now(S(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=_,n=c(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&h&&"file:"!==h.protocol&&!a(O)?(n=O,s.addEventListener("message",_,!1)):n=w in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),E(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:d,clear:v}},9211:(e,t,r)=>{var n=r(8605),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},6603:(e,t,r)=>{var n=r(4783),i=r(8401);e.exports=function(e){return n(i(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),i=Math.min;e.exports=function(e){return e>0?i(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,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;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),i=r(9829),o=r(9090),s=r(9386),a=r(8654),c=r(2674),u=i("wks"),l=n.Symbol,p=c?l:l&&l.withoutSetter||s;e.exports=function(e){return o(u,e)&&(a||"string"==typeof u[e])||(a&&o(l,e)?u[e]=l[e]:u[e]=p("Symbol."+e)),u[e]}},2357:(e,t,r)=>{"use strict";var n=r(6603),i=r(4634),o=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"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},1794:(e,t,r)=>{"use strict";var n=r(8214).charAt,i=r(4495),o=r(2315),s="String Iterator",a=i.set,c=i.getterFor(s);o(String,"String",(function(e){a(this,{type:s,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},2588:(e,t,r)=>{r(6637)("observable")},5287:(e,t,r)=>{var n=r(8646),i=r(800),o=r(5767);n({global:!0,bind:!0,enumerable:!0,forced:!i.setImmediate||!i.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},8328:(e,t,r)=>{"use strict";r(2357);var n=r(8646),i=r(4817),o=r(9824),s=r(4824),a=r(4372),c=r(4198),u=r(980),l=r(4495),p=r(6345),f=r(9090),h=r(6365),d=r(2796),v=r(5511),b=r(1043),y=r(9692),g=r(5398),m=r(8816),x=r(3706),w=r(26),E=i("fetch"),S=i("Headers"),_=w("iterator"),O="URLSearchParams",T="URLSearchParamsIterator",A=l.set,P=l.getterFor(O),C=l.getterFor(T),I=/\+/g,R=Array(4),N=function(e){return R[e-1]||(R[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},j=function(e){try{return decodeURIComponent(e)}catch(t){return e}},L=function(e){var t=e.replace(I," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(N(r--),j);return t}},D=/[!'()~]|%20/g,k={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},M=function(e){return k[e]},U=function(e){return encodeURIComponent(e).replace(D,M)},G=function(e,t){if(t)for(var r,n,i=t.split("&"),o=0;o<i.length;)(r=i[o++]).length&&(n=r.split("="),e.push({key:L(n.shift()),value:L(n.join("="))}))},B=function(e){this.entries.length=0,G(this.entries,e)},V=function(e,t){if(e<t)throw TypeError("Not enough arguments")},F=u((function(e,t){A(this,{type:T,iterator:m(P(e).entries),kind:t})}),"Iterator",(function(){var e=C(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(){p(this,H,O);var e,t,r,n,i,o,s,a,c,u=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(A(l,{type:O,entries:h,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(b(u))if("function"==typeof(e=x(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((s=(o=(i=m(v(n.value))).next).call(i)).done||(a=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");h.push({key:s.value+"",value:a.value+""})}else for(c in u)f(u,c)&&h.push({key:c,value:u[c]+""});else G(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=P(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){V(arguments.length,1);for(var t=P(this),r=t.entries,n=e+"",i=0;i<r.length;)r[i].key===n?r.splice(i,1):i++;t.updateURL()},get:function(e){V(arguments.length,1);for(var t=P(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=P(this).entries,r=e+"",n=[],i=0;i<t.length;i++)t[i].key===r&&n.push(t[i].value);return n},has:function(e){V(arguments.length,1);for(var t=P(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=P(this),i=n.entries,o=!1,s=e+"",a=t+"",c=0;c<i.length;c++)(r=i[c]).key===s&&(o?i.splice(c--,1):(o=!0,r.value=a));o||i.push({key:s,value:a}),n.updateURL()},sort:function(){var e,t,r,n=P(this),i=n.entries,o=i.slice();for(i.length=0,r=0;r<o.length;r++){for(e=o[r],t=0;t<r;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===r&&i.push(e)}n.updateURL()},forEach:function(e){for(var t,r=P(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new F(this,"keys")},values:function(){return new F(this,"values")},entries:function(){return new F(this,"entries")}},{enumerable:!0}),s($,_,$.entries),s($,"toString",(function(){for(var e,t=P(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,O),n({global:!0,forced:!o},{URLSearchParams:H}),o||"function"!=typeof E||"function"!=typeof S||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,i=[e];return arguments.length>1&&(b(t=arguments[1])&&(r=t.body,d(r)===O&&((n=t.headers?new S(t.headers):new S).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:g(0,String(r)),headers:g(0,n)}))),i.push(t)),E.apply(this,i)}}),e.exports={URLSearchParams:H,getState:P}},9227:(e,t,r)=>{"use strict";r(1794);var n,i=r(8646),o=r(909),s=r(9824),a=r(800),c=r(3110),u=r(4824),l=r(6345),p=r(9090),f=r(7738),h=r(2353),d=r(8214).codeAt,v=r(629),b=r(4198),y=r(8328),g=r(4495),m=a.URL,x=y.URLSearchParams,w=y.getState,E=g.set,S=g.getterFor("URL"),_=Math.floor,O=Math.pow,T="Invalid scheme",A="Invalid host",P="Invalid port",C=/[A-Za-z]/,I=/[\d+-.A-Za-z]/,R=/\d/,N=/^(0x|0X)/,j=/^[0-7]+$/,L=/^\d+$/,D=/^[\dA-Fa-f]+$/,k=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\t\u000A\u000D #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,G=/[\t\u000A\u000D]/g,B=function(e,t){var r,n,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return A;if(!(r=F(t.slice(1,-1))))return A;e.host=r}else if(K(e)){if(t=v(t),k.test(t))return A;if(null===(r=V(t)))return A;e.host=r}else{if(M.test(t))return A;for(r="",n=h(t),i=0;i<n.length;i++)r+=J(n[i],$);e.host=r}},V=function(e){var t,r,n,i,o,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(""==(i=c[n]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=N.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)s=0;else{if(!(10==o?L:8==o?j:D).test(i))return e;s=parseInt(i,o)}r.push(s)}for(n=0;n<t;n++)if(s=r[n],n==t-1){if(s>=O(256,5-t))return null}else if(s>255)return null;for(a=r.pop(),n=0;n<r.length;n++)a+=r[n]*O(256,3-n);return a},F=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,p=0,f=function(){return e.charAt(p)};if(":"==f()){if(":"!=e.charAt(1))return;p+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=r=0;r<4&&D.test(f());)t=16*t+parseInt(f(),16),p++,r++;if("."==f()){if(0==r)return;if(p-=r,u>6)return;for(n=0;f();){if(i=null,n>0){if(!("."==f()&&n<4))return;p++}if(!R.test(f()))return;for(;R.test(f());){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;p++}c[u]=256*c[u]+i,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==f()){if(p++,!f())return}else if(f())return;c[u++]=t}else{if(null!==l)return;p++,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,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},W=f({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),z=f({},W,{"#":1,"?":1,"{":1,"}":1}),q=f({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),J=function(e,t){var r=d(e,0);return r>32&&r<127&&!p(t,e)?e:encodeURIComponent(e)},Y={ftp:21,file:null,http:80,https:443,ws:80,wss:443},K=function(e){return p(Y,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&&C.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={},ie={},oe={},se={},ae={},ce={},ue={},le={},pe={},fe={},he={},de={},ve={},be={},ye={},ge={},me={},xe={},we={},Ee={},Se={},_e=function(e,t,r,i){var o,s,a,c,u,l=r||ne,f=0,d="",v=!1,b=!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(G,""),o=h(t);f<=o.length;){switch(s=o[f],l){case ne:if(!s||!C.test(s)){if(r)return T;l=oe;continue}d+=s.toLowerCase(),l=ie;break;case ie:if(s&&(I.test(s)||"+"==s||"-"==s||"."==s))d+=s.toLowerCase();else{if(":"!=s){if(r)return T;d="",l=oe,f=0;continue}if(r&&(K(e)!=p(Y,d)||"file"==d&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,r)return void(K(e)&&Y[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?l=be:K(e)&&i&&i.scheme==e.scheme?l=se:K(e)?l=le:"/"==o[f+1]?(l=ae,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case oe:if(!i||i.cannotBeABaseURL&&"#"!=s)return T;if(i.cannotBeABaseURL&&"#"==s){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=Se;break}l="file"==i.scheme?be:ce;continue;case se:if("/"!=s||"/"!=o[f+1]){l=ce;continue}l=pe,f++;break;case ae:if("/"==s){l=fe;break}l=xe;continue;case ce:if(e.scheme=i.scheme,s==n)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==s||"\\"==s&&K(e))l=ue;else if("?"==s)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",l=Ee;else{if("#"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),l=xe;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}break;case ue:if(!K(e)||"/"!=s&&"\\"!=s){if("/"!=s){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=xe;continue}l=fe}else l=pe;break;case le:if(l=pe,"/"!=s||"/"!=d.charAt(f+1))continue;f++;break;case pe:if("/"!=s&&"\\"!=s){l=fe;continue}break;case fe:if("@"==s){v&&(d="%40"+d),v=!0,a=h(d);for(var g=0;g<a.length;g++){var m=a[g];if(":"!=m||y){var x=J(m,q);y?e.password+=x:e.username+=x}else y=!0}d=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&K(e)){if(v&&""==d)return"Invalid authority";f-=h(d).length+1,d="",l=he}else d+=s;break;case he:case de:if(r&&"file"==e.scheme){l=ge;continue}if(":"!=s||b){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&K(e)){if(K(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?b=!0:"]"==s&&(b=!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(!R.test(s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&K(e)||r){if(""!=d){var w=parseInt(d,10);if(w>65535)return P;e.port=K(e)&&w===Y[e.scheme]?null:w,d=""}if(r)return;l=me;continue}return P}d+=s;break;case be:if(e.scheme="file","/"==s||"\\"==s)l=ye;else{if(!i||"file"!=i.scheme){l=xe;continue}if(s==n)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==s)e.host=i.host,e.path=i.path.slice(),e.query="",l=Ee;else{if("#"!=s){ee(o.slice(f).join(""))||(e.host=i.host,e.path=i.path.slice(),te(e)),l=xe;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}}break;case ye:if("/"==s||"\\"==s){l=ge;break}i&&"file"==i.scheme&&!ee(o.slice(f).join(""))&&(Z(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=xe;continue;case ge: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(K(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=Se;else e.query="",l=Ee;break;case xe:if(s==n||"/"==s||"\\"==s&&K(e)||!r&&("?"==s||"#"==s)){if(".."===(u=(u=d).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==s||"\\"==s&&K(e)||e.path.push("")):re(d)?"/"==s||"\\"==s&&K(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=Ee):"#"==s&&(e.fragment="",l=Se)}else d+=J(s,z);break;case we:"?"==s?(e.query="",l=Ee):"#"==s?(e.fragment="",l=Se):s!=n&&(e.path[0]+=J(s,$));break;case Ee:r||"#"!=s?s!=n&&("'"==s&&K(e)?e.query+="%27":e.query+="#"==s?"%23":J(s,$)):(e.fragment="",l=Se);break;case Se:s!=n&&(e.fragment+=J(s,W))}f++}},Oe=function(e){var t,r,n=l(this,Oe,"URL"),i=arguments.length>1?arguments[1]:void 0,s=String(e),a=E(n,{type:"URL"});if(void 0!==i)if(i instanceof Oe)t=S(i);else if(r=_e(t={},String(i)))throw TypeError(r);if(r=_e(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},o||(n.href=Ae.call(n),n.origin=Pe.call(n),n.protocol=Ce.call(n),n.username=Ie.call(n),n.password=Re.call(n),n.host=Ne.call(n),n.hostname=je.call(n),n.port=Le.call(n),n.pathname=De.call(n),n.search=ke.call(n),n.searchParams=Me.call(n),n.hash=Ue.call(n))},Te=Oe.prototype,Ae=function(){var e=S(this),t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",Q(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(i),null!==o&&(u+=":"+o)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+s.join("/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},Pe=function(){var e=S(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&&K(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Ce=function(){return S(this).scheme+":"},Ie=function(){return S(this).username},Re=function(){return S(this).password},Ne=function(){var e=S(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},je=function(){var e=S(this).host;return null===e?"":H(e)},Le=function(){var e=S(this).port;return null===e?"":String(e)},De=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},ke=function(){var e=S(this).query;return e?"?"+e:""},Me=function(){return S(this).searchParams},Ue=function(){var e=S(this).fragment;return e?"#"+e:""},Ge=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Te,{href:Ge(Ae,(function(e){var t=S(this),r=String(e),n=_e(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Ge(Pe),protocol:Ge(Ce,(function(e){var t=S(this);_e(t,String(e)+":",ne)})),username:Ge(Ie,(function(e){var t=S(this),r=h(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=J(r[n],q)}})),password:Ge(Re,(function(e){var t=S(this),r=h(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=J(r[n],q)}})),host:Ge(Ne,(function(e){var t=S(this);t.cannotBeABaseURL||_e(t,String(e),he)})),hostname:Ge(je,(function(e){var t=S(this);t.cannotBeABaseURL||_e(t,String(e),de)})),port:Ge(Le,(function(e){var t=S(this);X(t)||(""==(e=String(e))?t.port=null:_e(t,e,ve))})),pathname:Ge(De,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+"",me))})),search:Ge(ke,(function(e){var t=S(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",_e(t,e,Ee)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Ge(Me),hash:Ge(Ue,(function(e){var t=S(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,Se)):t.fragment=null}))}),u(Te,"toJSON",(function(){return Ae.call(this)}),{enumerable:!0}),u(Te,"toString",(function(){return Ae.call(this)}),{enumerable:!0}),m){var Be=m.createObjectURL,Ve=m.revokeObjectURL;Be&&u(Oe,"createObjectURL",(function(e){return Be.apply(m,arguments)})),Ve&&u(Oe,"revokeObjectURL",(function(e){return Ve.apply(m,arguments)}))}b(Oe,"URL"),i({global:!0,forced:!s,sham:!o},{URL:Oe})},8981:(e,t,r)=>{var n=r(7791)(r(3478),"DataView");e.exports=n},8031:(e,t,r)=>{var n=r(5264),i=r(6778),o=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=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,e.exports=c},8289:(e,t,r)=>{var n=r(5249),i=r(4553),o=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=i,c.prototype.get=o,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),i=r(6231),o=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=i,c.prototype.get=o,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),i=r(7538),o=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=i,s.prototype.has=o,e.exports=s},5325:(e,t,r)=>{var n=r(8289),i=r(1849),o=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=i,u.prototype.delete=o,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 i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];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,i=0,o=[];++r<n;){var s=e[r];t(s,r,e)&&(o[i++]=s)}return o}},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,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},2932:(e,t,r)=>{var n=r(4079),i=r(7632),o=r(2615),s=r(28),a=r(5661),c=r(1653),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),l=!r&&i(e),p=!r&&!l&&s(e),f=!r&&!l&&!p&&c(e),h=r||l||p||f,d=h?n(e.length,String):[],v=d.length;for(var b in e)!t&&!u.call(e,b)||h&&("length"==b||p&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||a(b,v))||d.push(b);return d}},7309:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},9676:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+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),i=r(4865),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];o.call(e,t)&&i(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,i){return n(e,(function(e,n,o){t(i,e,r(e),o)})),i}},3585:(e,t,r)=>{var n=r(2654),i=r(2749);e.exports=function(e,t){return e&&n(t,i(t),e)}},4683:(e,t,r)=>{var n=r(2654),i=r(8530);e.exports=function(e,t){return e&&n(t,i(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),i=r(1321),o=r(3780),s=r(3585),a=r(4683),c=r(1855),u=r(1176),l=r(9270),p=r(1751),f=r(294),h=r(671),d=r(6968),v=r(1381),b=r(8582),y=r(2375),g=r(2615),m=r(28),x=r(8866),w=r(8603),E=r(6159),S=r(2749),_=r(8530),O="[object Arguments]",T="[object Function]",A="[object Object]",P={};P[O]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[A]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[T]=P["[object WeakMap]"]=!1,e.exports=function e(t,r,C,I,R,N){var j,L=1&r,D=2&r,k=4&r;if(C&&(j=R?C(t,I,R,N):C(t)),void 0!==j)return j;if(!w(t))return t;var M=g(t);if(M){if(j=v(t),!L)return u(t,j)}else{var U=d(t),G=U==T||"[object GeneratorFunction]"==U;if(m(t))return c(t,L);if(U==A||U==O||G&&!R){if(j=D||G?{}:y(t),!L)return D?p(t,a(j,t)):l(t,s(j,t))}else{if(!P[U])return R?t:{};j=b(t,U,L)}}N||(N=new n);var B=N.get(t);if(B)return B;N.set(t,j),E(t)?t.forEach((function(n){j.add(e(n,r,C,n,t,N))})):x(t)&&t.forEach((function(n,i){j.set(i,e(n,r,C,i,t,N))}));var V=M?void 0:(k?D?h:f:D?_:S)(t);return i(V||t,(function(n,i){V&&(n=t[i=n]),o(j,i,e(n,r,C,i,t,N))})),j}},7508:(e,t,r)=>{var n=r(8603),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},9668:(e,t,r)=>{var n=r(4330),i=r(4029)(n);e.exports=i},8969:e=>{e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},745:(e,t,r)=>{var n=r(9676),i=r(5143);e.exports=function e(t,r,o,s,a){var c=-1,u=t.length;for(o||(o=i),a||(a=[]);++c<u;){var l=t[c];r>0&&o(l)?r>1?e(l,r-1,o,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),i=r(2749);e.exports=function(e,t){return e&&n(e,t,i)}},7614:(e,t,r)=>{var n=r(4853),i=r(9535);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},1714:(e,t,r)=>{var n=r(9676),i=r(2615);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},2085:(e,t,r)=>{var n=r(1658),i=r(1693),o=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)?i(e):o(e)}},9843:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},7748:(e,t,r)=>{var n=r(8969),i=r(9136),o=r(6930);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},9618:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},2706:(e,t,r)=>{var n=r(4978),i=r(9363);e.exports=function e(t,r,o,s,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,o,s,e,a))}},4978:(e,t,r)=>{var n=r(5325),i=r(6910),o=r(7163),s=r(1689),a=r(6968),c=r(2615),u=r(28),l=r(1653),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,b,y){var g=c(e),m=c(t),x=g?f:a(e),w=m?f:a(t),E=(x=x==p?h:x)==h,S=(w=w==p?h:w)==h,_=x==w;if(_&&u(e)){if(!u(t))return!1;g=!0,E=!1}if(_&&!E)return y||(y=new n),g||l(e)?i(e,t,r,v,b,y):o(e,t,x,r,v,b,y);if(!(1&r)){var O=E&&d.call(e,"__wrapped__"),T=S&&d.call(t,"__wrapped__");if(O||T){var A=O?e.value():e,P=T?t.value():t;return y||(y=new n),b(A,P,r,v,y)}}return!!_&&(y||(y=new n),s(e,t,r,v,b,y))}},7533:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},8116:(e,t,r)=>{var n=r(5325),i=r(2706);e.exports=function(e,t,r,o){var s=r.length,a=s,c=!o;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],p=e[l],f=u[1];if(c&&u[2]){if(void 0===p&&!(l in e))return!1}else{var h=new n;if(o)var d=o(p,f,l,e,t,h);if(!(void 0===d?i(f,p,3,o,h):d))return!1}}return!0}},9136:e=>{e.exports=function(e){return e!=e}},697:(e,t,r)=>{var n=r(8911),i=r(6481),o=r(8603),s=r(8143),a=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(n(e)?f:a).test(s(e))}},6941:(e,t,r)=>{var n=r(6968),i=r(9363);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},3677:(e,t,r)=>{var n=r(2085),i=r(2413),o=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 o(e)&&i(e.length)&&!!s[n(e)]}},544:(e,t,r)=>{var n=r(5346),i=r(6572),o=r(672),s=r(2615),a=r(4272);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?s(e)?i(e[0],e[1]):n(e):a(e)}},8819:(e,t,r)=>{var n=r(1105),i=r(7762),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2809:(e,t,r)=>{var n=r(8603),i=r(1105),o=r(6383),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=i(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),i=r(9174);e.exports=function(e,t){var r=-1,o=i(e)?Array(e.length):[];return n(e,(function(e,n,i){o[++r]=t(e,n,i)})),o}},5346:(e,t,r)=>{var n=r(8116),i=r(8676),o=r(7187);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},6572:(e,t,r)=>{var n=r(2706),i=r(5472),o=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=i(r,e);return void 0===s&&s===t?o(r,e):n(t,s,3)}}},840:(e,t,r)=>{var n=r(7309),i=r(7614),o=r(544),s=r(3671),a=r(7648),c=r(7888),u=r(4292),l=r(672),p=r(2615);e.exports=function(e,t,r){t=t.length?n(t,(function(e){return p(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[l];var f=-1;t=n(t,c(o));var h=s(e,(function(e,r,i){return{criteria:n(t,(function(t){return t(e)})),index:++f,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),i=r(5112),o=r(6618);e.exports=function(e,t){return o(i(e,t,n),e+"")}},3389:(e,t,r)=>{var n=r(7578),i=r(6569),o=r(672),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:o;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),i=r(7309),o=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(o(t))return i(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),i=r(7079),o=r(8616),s=r(9161),a=r(4438),c=r(1956);e.exports=function(e,t,r){var u=-1,l=i,p=e.length,f=!0,h=[],d=h;if(r)f=!1,l=o;else if(p>=200){var v=t?null:a(e);if(v)return c(v);f=!1,l=s,d=new n}else d=t?[]:h;e:for(;++u<p;){var b=e[u],y=t?t(b):b;if(b=r||0!==b?b:0,f&&y==y){for(var g=d.length;g--;)if(d[g]===y)continue e;t&&d.push(y),h.push(b)}else l(d,y,r)||(d!==h&&d.push(y),h.push(b))}return h}},9161:e=>{e.exports=function(e,t){return e.has(t)}},4853:(e,t,r)=>{var n=r(2615),i=r(6955),o=r(1229),s=r(7115);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(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),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?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),i=n?n.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.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,i=null===e,o=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||i&&a&&u||!r&&u||!o)return 1;if(!i&&!s&&!l&&e<t||l&&r&&o&&!i&&!s||c&&r&&o||!a&&o||!u)return-1}return 0}},4292:(e,t,r)=>{var n=r(3702);e.exports=function(e,t,r){for(var i=-1,o=e.criteria,s=t.criteria,a=o.length,c=r.length;++i<a;){var u=n(o[i],s[i]);if(u)return i>=c?u:u*("desc"==r[i]?-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),i=r(508);e.exports=function(e,t,r,o){var s=!r;r||(r={});for(var a=-1,c=t.length;++a<c;){var u=t[a],l=o?o(r[u],e[u],u,r,e):void 0;void 0===l&&(l=e[u]),s?i(r,u,l):n(r,u,l)}return r}},9270:(e,t,r)=>{var n=r(2654),i=r(4868);e.exports=function(e,t){return n(e,i(e),t)}},1751:(e,t,r)=>{var n=r(2654),i=r(905);e.exports=function(e,t){return n(e,i(e),t)}},7037:(e,t,r)=>{var n=r(3478)["__core-js_shared__"];e.exports=n},3027:(e,t,r)=>{var n=r(7615),i=r(8835),o=r(544),s=r(2615);e.exports=function(e,t){return function(r,a){var c=s(r)?n:i,u=t?t():{};return c(r,e,o(a,2),u)}}},4029:(e,t,r)=>{var n=r(9174);e.exports=function(e,t){return function(r,i){if(null==r)return r;if(!n(r))return e(r,i);for(var o=r.length,s=t?o:-1,a=Object(r);(t?s--:++s<o)&&!1!==i(a[s],s,a););return r}}},7889:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),s=n(t),a=s.length;a--;){var c=s[e?a:++i];if(!1===r(o[c],c,o))break}return t}}},4438:(e,t,r)=>{var n=r(1538),i=r(7021),o=r(1956),s=n&&1/o(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},6569:(e,t,r)=>{var n=r(7791),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},6910:(e,t,r)=>{var n=r(8261),i=r(4938),o=r(9161);e.exports=function(e,t,r,s,a,c){var u=1&r,l=e.length,p=t.length;if(l!=p&&!(u&&p>l))return!1;var f=c.get(e),h=c.get(t);if(f&&h)return f==t&&h==e;var d=-1,v=!0,b=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++d<l;){var y=e[d],g=t[d];if(s)var m=u?s(g,y,d,t,e,c):s(y,g,d,e,t,c);if(void 0!==m){if(m)continue;v=!1;break}if(b){if(!i(t,(function(e,t){if(!o(b,t)&&(y===e||a(y,e,r,s,c)))return b.push(t)}))){v=!1;break}}else if(y!==g&&!a(y,g,r,s,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},7163:(e,t,r)=>{var n=r(1658),i=r(3467),o=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,p,f){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||!p(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+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=f.get(e);if(v)return v==t;n|=2,f.set(e,t);var b=s(h(e),h(t),n,u,p,f);return f.delete(e),b;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},1689:(e,t,r)=>{var n=r(294),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,o,s,a){var c=1&r,u=n(e),l=u.length;if(l!=n(t).length&&!c)return!1;for(var p=l;p--;){var f=u[p];if(!(c?f in t:i.call(t,f)))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 b=c;++p<l;){var y=e[f=u[p]],g=t[f];if(o)var m=c?o(g,y,f,t,e,a):o(y,g,f,e,t,a);if(!(void 0===m?y===g||s(y,g,r,o,a):m)){v=!1;break}b||(b="constructor"==f)}if(v&&!b){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),i=r(4868),o=r(2749);e.exports=function(e){return n(e,o,i)}},671:(e,t,r)=>{var n=r(1714),i=r(905),o=r(8530);e.exports=function(e){return n(e,o,i)}},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),i=r(2749);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var o=t[r],s=e[o];t[r]=[o,s,n(s)]}return t}},7791:(e,t,r)=>{var n=r(697),i=r(1430);e.exports=function(e,t){var r=i(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),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),r=e[a];try{e[a]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[a]=r:delete e[a]),i}},4868:(e,t,r)=>{var n=r(6493),i=r(7918),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return o.call(e,t)})))}:i;e.exports=a},905:(e,t,r)=>{var n=r(9676),i=r(6180),o=r(4868),s=r(7918),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:s;e.exports=a},6968:(e,t,r)=>{var n=r(8981),i=r(1063),o=r(3366),s=r(1538),a=r(4428),c=r(2085),u=r(8143),l="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",v=u(n),b=u(i),y=u(o),g=u(s),m=u(a),x=c;(n&&x(new n(new ArrayBuffer(1)))!=d||i&&x(new i)!=l||o&&x(o.resolve())!=p||s&&x(new s)!=f||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 b:return l;case y:return p;case g:return f;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),i=r(7632),o=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,p=!1;++u<l;){var f=c(t[u]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++u!=l?p:!!(l=null==e?0:e.length)&&a(l)&&s(f,l)&&(o(e)||i(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),i=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 i.call(t,e)?t[e]:void 0}},1867:(e,t,r)=>{var n=r(8179),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.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),i=r(6341),o=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 i(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 o(e);case"[object Set]":return new c;case"[object Symbol]":return s(e)}}},2375:(e,t,r)=>{var n=r(7508),i=r(6180),o=r(1105);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},5143:(e,t,r)=>{var n=r(1658),i=r(7632),o=r(2615),s=n?n.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(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),i=r(9174),o=r(5661),s=r(8603);e.exports=function(e,t,r){if(!s(r))return!1;var a=typeof t;return!!("number"==a?i(r)&&o(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},6955:(e,t,r)=>{var n=r(2615),i=r(1365),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!i(e))||(s.test(e)||!o.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,i=r(7037),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!o&&o 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),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.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__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},1409:(e,t,r)=>{var n=r(8031),i=r(8289),o=r(1063);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),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),i=r.size;return r.set(e,t),this.size+=r.size==i?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),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i&&n.process,a=function(){try{var e=o&&o.require&&o.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),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,s=-1,a=i(o.length-t,0),c=Array(a);++s<a;)c[s]=o[t+s];s=-1;for(var u=Array(t+1);++s<t;)u[s]=o[s];return u[t]=r(c),n(e,this,u)}}},3478:(e,t,r)=>{var n=r(521),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},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),i=r(7910)(n);e.exports=i},7910:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),o=16-(i-n);if(n=i,o>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),i=r(1063),o=r(6484);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<199)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}},6930:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},1229:(e,t,r)=>{var n=r(7657),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(o,"$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 i=null==e?void 0:n(e,t);return void 0===i?r:i}},2497:(e,t,r)=>{var n=r(508),i=r(3027),o=Object.prototype.hasOwnProperty,s=i((function(e,t,r){o.call(e,r)?e[r].push(t):n(e,r,[t])}));e.exports=s},4170:(e,t,r)=>{var n=r(9843),i=r(3587);e.exports=function(e,t){return null!=e&&i(e,t,n)}},672:e=>{e.exports=function(e){return e}},7632:(e,t,r)=>{var n=r(9618),i=r(9363),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return i(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),i=r(2413);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},28:(e,t,r)=>{e=r.nmd(e);var n=r(3478),i=r(8338),o=t&&!t.nodeType&&t,s=o&&e&&!e.nodeType&&e,a=s&&s.exports===o?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;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),i=r(8603);e.exports=function(e){if(!i(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),i=r(7888),o=r(6282),s=o&&o.isMap,a=s?i(s):n;e.exports=a},2452:(e,t,r)=>{var n=r(8116),i=r(8676);e.exports=function(e,t){return e===t||n(e,t,i(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),i=r(6180),o=r(9363),s=Function.prototype,a=Object.prototype,c=s.toString,u=a.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=n(e))return!1;var t=i(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),i=r(7888),o=r(6282),s=o&&o.isSet,a=s?i(s):n;e.exports=a},1365:(e,t,r)=>{var n=r(2085),i=r(9363);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},1653:(e,t,r)=>{var n=r(3677),i=r(7888),o=r(6282),s=o&&o.isTypedArray,a=s?i(s):n;e.exports=a},2749:(e,t,r)=>{var n=r(2932),i=r(8819),o=r(9174);e.exports=function(e){return o(e)?n(e):i(e)}},8530:(e,t,r)=>{var n=r(2932),i=r(2809),o=r(9174);e.exports=function(e){return o(e)?n(e,!0):i(e)}},7831:(e,t,r)=>{var n=r(508),i=r(4330),o=r(544);e.exports=function(e,t){var r={};return t=o(t,3),i(e,(function(e,i,o){n(r,i,t(e,i,o))})),r}},5167:(e,t,r)=>{var n=r(6484);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},7021:e=>{e.exports=function(){}},4272:(e,t,r)=>{var n=r(5898),i=r(9916),o=r(6955),s=r(9535);e.exports=function(e){return o(e)?n(s(e)):i(e)}},3234:(e,t,r)=>{var n=r(745),i=r(840),o=r(1494),s=r(659),a=o((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]]),i(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),i=0;e.exports=function(e){var t=++i;return n(e)+t}},1781:(e,t,r)=>{e.exports=f,f.Minimatch=h;var n={sep:"/"};try{n=r(4245)}catch(e){}var i=f.GLOBSTAR=h.GLOBSTAR={},o=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 p(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 f(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]:o(e)}f.filter=function(e,t){return t=t||{},function(r,n,i){return f(r,e,t)}},f.defaults=function(e){if(!e||!Object.keys(e).length)return f;var t=f,r=function(r,n,i){return t.minimatch(r,n,p(e,i))};return r.Minimatch=function(r,n){return new t.Minimatch(r,p(e,n))},r},h.defaults=function(e){return e&&Object.keys(e).length?f.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 i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},f.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 i;if(""===e)return"";var n,o="",l=!!r.nocase,p=!1,f=[],h=[],d=!1,b=-1,y=-1,g="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function x(){if(n){switch(n){case"*":o+=c,l=!0;break;case"?":o+=a,l=!0;break;default:o+="\\"+n}m.debug("clearStateChar %j %j",n,o),n=!1}}for(var w,E=0,S=e.length;E<S&&(w=e.charAt(E));E++)if(this.debug("%s\t%s %s %j",e,E,o,w),p&&u[w])o+="\\"+w,p=!1;else switch(w){case"/":return!1;case"\\":x(),p=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,E,o,w),d){this.debug(" in class"),"!"===w&&E===y+1&&(w="^"),o+=w;continue}m.debug("call clearStateChar %j",n),x(),n=w,r.noext&&x();continue;case"(":if(d){o+="(";continue}if(!n){o+="\\(";continue}f.push({type:n,start:E-1,reStart:o.length,open:s[n].open,close:s[n].close}),o+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,o),n=!1;continue;case")":if(d||!f.length){o+="\\)";continue}x(),l=!0;var _=f.pop();o+=_.close,"!"===_.type&&h.push(_),_.reEnd=o.length;continue;case"|":if(d||!f.length||p){o+="\\|",p=!1;continue}x(),o+="|";continue;case"[":if(x(),d){o+="\\"+w;continue}d=!0,y=E,b=o.length,o+=w;continue;case"]":if(E===y+1||!d){o+="\\"+w,p=!1;continue}if(d){var O=e.substring(y+1,E);try{RegExp("["+O+"]")}catch(e){var T=this.parse(O,v);o=o.substr(0,b)+"\\["+T[0]+"\\]",l=l||T[1],d=!1;continue}}l=!0,d=!1,o+=w;continue;default:x(),p?p=!1:!u[w]||"^"===w&&d||(o+="\\"),o+=w}d&&(O=e.substr(y+1),T=this.parse(O,v),o=o.substr(0,b)+"\\["+T[0],l=l||T[1]);for(_=f.pop();_;_=f.pop()){var A=o.slice(_.reStart+_.open.length);this.debug("setting tail",o,_),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,_,o);var P="*"===_.type?c:"?"===_.type?a:"\\"+_.type;l=!0,o=o.slice(0,_.reStart)+P+"\\("+A}x(),p&&(o+="\\\\");var C=!1;switch(o.charAt(0)){case".":case"[":case"(":C=!0}for(var I=h.length-1;I>-1;I--){var R=h[I],N=o.slice(0,R.reStart),j=o.slice(R.reStart,R.reEnd-8),L=o.slice(R.reEnd-8,R.reEnd),D=o.slice(R.reEnd);L+=D;var k=N.split("(").length-1,M=D;for(E=0;E<k;E++)M=M.replace(/\)[+*?]?/,"");var U="";""===(D=M)&&t!==v&&(U="$"),o=N+j+D+U+L}""!==o&&l&&(o="(?=.)"+o);C&&(o=g+o);if(t===v)return[o,l];if(!l)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var G=r.nocase?"i":"";try{var B=new RegExp("^"+o+"$",G)}catch(e){return new RegExp("$.")}return B._glob=e,B._src=o,B};var v={};f.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":"",o=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,n)}catch(e){this.regexp=!1}return this.regexp},f.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 i,o,s=this.set;for(this.debug(this.pattern,"set",s),o=e.length-1;o>=0&&!(i=e[o]);o--);for(o=0;o<s.length;o++){var a=s[o],c=e;if(r.matchBase&&1===a.length&&(c=[i]),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 o=0,s=0,a=e.length,c=t.length;o<a&&s<c;o++,s++){this.debug("matchOne loop");var u,l=t[s],p=e[o];if(this.debug(t,l,p),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[t,l,p]);var f=o,h=s+1;if(h===c){for(this.debug("** at the end");o<a;o++)if("."===e[o]||".."===e[o]||!n.dot&&"."===e[o].charAt(0))return!1;return!0}for(;f<a;){var d=e[f];if(this.debug("\nglobstar while",e,f,t,h,d),this.matchOne(e.slice(f),t.slice(h),r))return this.debug("globstar found match!",f,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",e,f,t,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug("\n>>> no match, partial?",e,f,t,h),f!==a))}if("string"==typeof l?(u=n.nocase?p.toLowerCase()===l.toLowerCase():p===l,this.debug("string match",l,p,u)):(u=p.match(l),this.debug("pattern match",l,p,u)),!u)return!1}if(o===a&&s===c)return!0;if(o===a)return r;if(s===c)return o===a-1&&""===e[o];throw new Error("wtf?")}},4245:(e,t,r)=>{"use strict";var n=r(6591);function i(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function o(e,t){for(var r,n="",i=0,o=-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(o===a-1||1===s);else if(o!==a-1&&2===s){if(n.length<2||2!==i||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="",i=0):i=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=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),i(a),0!==a.length&&(t=a+"/"+t,r=47===a.charCodeAt(0))}return t=o(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(i(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=o(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return i(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];i(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":s.normalize(e)},relative:function(e,t){if(i(e),i(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,o=n-r,a=1;a<t.length&&47===t.charCodeAt(a);++a);for(var c=t.length-a,u=o<c?o:c,l=-1,p=0;p<=u;++p){if(p===u){if(c>u){if(47===t.charCodeAt(a+p))return t.slice(a+p+1);if(0===p)return t.slice(a+p)}else o>u&&(47===e.charCodeAt(r+p)?l=p:0===p&&(l=0));break}var f=e.charCodeAt(r+p);if(f!==t.charCodeAt(a+p))break;47===f&&(l=p)}var h="";for(p=r+l+1;p<=n;++p)p!==n&&47!==e.charCodeAt(p)||(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(i(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){n=s;break}}else o=!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');i(e);var r,n=0,o=-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&&(o=r):(a=-1,o=c))}return n===o?o=c:-1===o&&(o=e.length),e.slice(n,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){n=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(n,o)},extname:function(e){i(e);for(var t=-1,r=0,n=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===n&&(o=!1,n=a+1),46===c?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){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){i(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),o=47===n;o?(t.root="/",r=1):r=0;for(var s=-1,a=0,c=-1,u=!0,l=e.length-1,p=0;l>=r;--l)if(47!==(n=e.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===n?-1===s?s=l:1!==p&&(p=1):-1!==s&&(p=-1);else if(!u){a=l+1;break}return-1===s||-1===c||0===p||1===p&&s===c-1&&s===a+1?-1!==c&&(t.base=t.name=0===a&&o?e.slice(1,c):e.slice(a,c)):(0===a&&o?(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):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,e.exports=s},6591:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!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:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var a,c=[],u=!1,l=-1;function p(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&f())}function f(){if(!u){var e=s(p);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===o||!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(f)},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,i=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 o=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return i(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=o},3621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8445),i=r(7859),o=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,o=i.toSubscriber(e,t,r);if(n?o.add(n.call(o,this.source)):o.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),a.config.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){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 i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.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),i=r(6137);t.empty={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},6451:function(e,t,r){"use strict";var n,i=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 o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.notifyNext=function(e,t,r,n,i){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=o},5146:function(e,t,r){"use strict";var n,i=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 o=r(7261),s=r(1804),a=r(1786),c=r(2372),u=r(1279),l=r(6137),p=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!r){o.destination=s.empty;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new f(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new f(o,r,n,i)}return o}return i(t,e),t.prototype[c.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},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=p;var f=function(e){function t(t,r,n,i){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return o.isFunction(r)?a=r:r&&(a=r.next,n=r.error,i=r.complete,r!==s.empty&&(u=Object.create(r),o.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=i,c}return i(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}(p);t.SafeSubscriber=f},1786:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(9235),i=r(2030),o=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,p=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof e)a.remove(this);else if(null!==a)for(var f=0;f<a.length;++f){a[f].remove(this)}if(o.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(p)){f=-1;for(var h=p.length;++f<h;){var d=p[f];if(i.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 i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.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,i=t.destination,o=t.isStopped;if(r||o)return!1;e=i&&i instanceof n.Subscriber?i: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 i(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 i(e)},t.pipeFromArray=i},9346:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(2723),i=r(6386),o=r(5983),s=r(6588),a=r(8975),c=r(4328),u=r(2030),l=r(8186),p=r(8516);t.subscribeTo=function(e){if(e&&"function"==typeof e[p.observable])return s.subscribeToObservable(e);if(a.isArrayLike(e))return n.subscribeToArray(e);if(c.isPromise(e))return i.subscribeToPromise(e);if(e&&"function"==typeof e[l.iterator])return o.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 i=void 0;try{i=r.next()}catch(e){return t.error(e),t}if(i.done){t.complete();break}if(t.next(i.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),i=r(9346),o=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 o.Observable?t.subscribe(a):i.subscribeTo(t)(a)}},7859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5146),i=r(2372),o=r(1804);t.toSubscriber=function(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(o.empty)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.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 i(e){return"function"==typeof e}var o=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;o=e},get useDeprecatedSynchronousErrorHandling(){return o}};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 p=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}(),f=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,o=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(i(s)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(e){t=e instanceof p?h(e.errors):[e]}}if(u(a)){c=-1;for(var f=a.length;++c<f;){var d=a[c];if(l(d))try{d.unsubscribe()}catch(e){t=t||[],e instanceof p?t=t.concat(h(e.errors)):t.push(e)}}}if(t)throw new p(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 i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.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 p?t.errors:t)}),[])}var d=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),v=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=c;break;case 1:if(!r){o.destination=c;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new b(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new b(o,r,n,i)}return o}return n(t,e),t.prototype[d]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},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}(f),b=function(e){function t(t,r,n,o){var s,a=e.call(this)||this;a._parentSubscriber=t;var u=a;return i(r)?s=r:r&&(s=r.next,n=r.error,o=r.complete,r!==c&&(i((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=o,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 g(e){return e}function m(e){return 0===e.length?g: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,i=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?i.add(n.call(i,this.source)):i.add(this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.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){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,r=t.closed,n=t.destination,i=t.isStopped;if(r||i)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 i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.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 E(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 S(e,t))}}var S=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new _(e,this.project,this.thisArg))},e}(),_=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}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 O(e,t,r,n){return i(r)&&(n=r,r=void 0),n?O(e,t,r).pipe(E((function(e){return u(e)?n.apply(void 0,e):n(e)}))):new x((function(n){T(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}function T(e,t,r,n,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,r,i),o=function(){return s.removeEventListener(t,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,r),o=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),o=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++)T(e[u],t,r,n,i)}n.add(o)}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}(),P=new x((function(e){return e.complete()}));function C(e){return e?function(e){return new x((function(t){return e.schedule((function(){return t.complete()}))}))}(e):P}var I=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 R(e,this.total))},e}(),R=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);const N=e=>t=>t===e,j=e=>t=>!e(t),L=e=>t=>e in t,D=(e,t)=>r=>t(r[e]);function k(...e){return t=>e.every((e=>e(t)))}var M=r(8603),U=r.n(M);const G=e=>U()(e)&&L("addEventListener")(e)&&L("removeEventListener")(e)&&L("postMessage")(e)&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener&&"function"==typeof e.postMessage;var B=r(2452),V=r.n(B);const F=Symbol("Comlink.proxy"),H=Symbol("Comlink.endpoint"),$=Symbol("Comlink.releaseProxy"),W=Symbol("Comlink.thrown"),z=e=>"object"==typeof e&&null!==e||"function"==typeof e,q=new Map([["proxy",{canHandle:e=>z(e)&&e[F],serialize(e){const{port1:t,port2:r}=new MessageChannel;return J(e,t),[r,[r]]},deserialize:e=>(e.start(),K(e))}],["throw",{canHandle:e=>z(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 J(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:i,type:o,path:s}=Object.assign({path:[]},n.data),a=(n.data.argumentList||[]).map(ne);let c;try{const t=s.slice(0,-1).reduce(((e,t)=>e[t]),e),r=s.reduce(((e,t)=>e[t]),e);switch(o){case 0:c=r;break;case 1:t[s.slice(-1)[0]]=ne(n.data.value),c=!0;break;case 2:c=r.apply(t,a);break;case 3:c=te(new r(...a));break;case 4:{const{port1:t,port2:r}=new MessageChannel;J(e,r),c=function(e,t){return ee.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]=re(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),s),5===o&&(t.removeEventListener("message",r),Y(t))}))})),t.start&&t.start()}function Y(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function K(e,t){return X(e,[],t)}function Q(e){if(e)throw new Error("Proxy has been released and is not useable")}function X(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,o){if(Q(n),o===$)return()=>ie(e,{type:5,path:t.map((e=>e.toString()))}).then((()=>{Y(e),n=!0}));if("then"===o){if(0===t.length)return{then:()=>i};const r=ie(e,{type:0,path:t.map((e=>e.toString()))}).then(ne);return r.then.bind(r)}return X(e,[...t,o])},set(r,i,o){Q(n);const[s,a]=re(o);return ie(e,{type:1,path:[...t,i].map((e=>e.toString())),value:s},a).then(ne)},apply(r,i,o){Q(n);const s=t[t.length-1];if(s===H)return ie(e,{type:4}).then(ne);if("bind"===s)return X(e,t.slice(0,-1));const[a,c]=Z(o);return ie(e,{type:2,path:t.map((e=>e.toString())),argumentList:a},c).then(ne)},construct(r,i){Q(n);const[o,s]=Z(i);return ie(e,{type:3,path:t.map((e=>e.toString())),argumentList:o},s).then(ne)}});return i}function Z(e){const t=e.map(re);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const ee=new WeakMap;function te(e){return Object.assign(e,{[F]:!0})}function re(e){for(const[t,r]of q)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:3,name:t,value:n},i]}return[{type:0,value:e},ee.get(e)||[]]}function ne(e){switch(e.type){case 3:return q.get(e.name).deserialize(e.value);case 0:return e.value}}function ie(e,t,r){return new Promise((n=>{const i=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===i&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)}))}const oe=e=>"object"==typeof e&&null!==e&&L("href")(e)&&L("toString")(e)&&"function"==typeof e.toString&&e.href===e.toString();const se=e=>new f((async()=>{const t=await e;await t.unsubscribe(),t[$]()})),ae=e=>"object"==typeof e&&null!==e&&L("then")(e)&&"function"==typeof e.then;class ce extends Error{name="AbortError";message="Aborted"}var ue=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),le=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}(f),pe=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n(t,e),t}(v),fe=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 pe(this)},t.prototype.lift=function(e){var t=new he(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new ue;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new ue;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new ue;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 ue;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new ue;return this.hasError?(e.error(this.thrownError),f.EMPTY):this.isStopped?(e.complete(),f.EMPTY):(this.observers.push(e),new le(this,e))},t.prototype.asObservable=function(){var e=new x;return e.source=this,e},t.create=function(e,t){return new he(e,t)},t}(x),he=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):f.EMPTY},t}(fe),de=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 ue;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(fe);function ve(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,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(v),ye=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}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),ge=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}};function me(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var xe=me(),we=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Ee(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Se=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(we(e))return ge(e);if(Ee(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[xe])return t=e,function(e){for(var r=t[xe]();;){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,i=l(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function _e(e,t,r,n,i){if(void 0===i&&(i=new ye(e,r,n)),!i.closed)return t instanceof x?t.subscribe(i):Se(t)(i)}function Oe(e,t){return new x((function(r){var n=new f,i=0;return n.add(t.schedule((function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function Te(e,t){return t?Oe(e,t):new x(ge(e))}var Ae={};function Pe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=void 0,n=void 0;return ve(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]),Te(e,n).lift(new Ce(r))}var Ce=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(Ae),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,i=n[r],o=this.toRespond?i===Ae?--this.toRespond:this.toRespond:0;n[r]=t,0===o&&(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 f;return n.add(t.schedule((function(){var i=e[y]();n.add(i.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(Ee(e))return function(e,t){return new x((function(r){var n=new f;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(we(e))return Oe(e,t);if(function(e){return e&&"function"==typeof e[xe]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new x((function(r){var n,i=new f;return i.add((function(){n&&"function"==typeof n.return&&n.return()})),i.add(t.schedule((function(){n=e[xe](),i.add(t.schedule((function(){if(!r.closed){var e,t;try{var i=n.next();e=i.value,t=i.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),i}))}(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(Se(e))}function je(){}function Le(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 ke(e,this.nextOrObserver,this.error,this.complete))},e}(),ke=function(e){function t(t,r,n,o){var s=e.call(this,t)||this;return s._tapNext=je,s._tapError=je,s._tapComplete=je,s._tapError=n||je,s._tapComplete=o||je,i(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 Me(e,t){return function(r){return r.lift(new Ue(e,t))}}var Ue=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new Ge(e,this.compare,this.keySelector))},e}(),Ge=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.keySelector=n,i.hasKey=!1,"function"==typeof r&&(i.compare=r),i}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),Be=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),Ve=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 Fe(e,t){if(!t.closed)return e instanceof x?e.subscribe(t):Se(e)(t)}function He(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(He((function(r,n){return Ne(e(r,n)).pipe(E((function(e,i){return t(r,e,n,i)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new $e(e,r))})}var $e=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 We(e,this.project,this.concurrent))},e}(),We=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}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 Be(this),r=this.destination;r.add(t);var n=Fe(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}(Ve);function ze(e){return function(t){var r=new Je(e),n=t.lift(r);return r.caught=n}}var qe,Je=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 i=e.call(this,t)||this;return i.selector=r,i.caught=n,i}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 Be(this);this.add(n);var i=Fe(r,n);i!==n&&this.add(i)}},t}(Ve),Ke=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}(f)),Qe=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}(Ke),Xe=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}(),Ze=function(e){function t(r,n){void 0===n&&(n=Xe.now);var i=e.call(this,r,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():n()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return n(t,e),t.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,i):e.prototype.schedule.call(this,r,n,i)},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}(Xe),et=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(Ze))(Qe);function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return ve(r)?(e.pop(),Oe(e,r)):Te(e)}function rt(e,t){return new x(t?function(r){return t.schedule(nt,0,{error:e,subscriber:r})}:function(t){return t.error(e)})}function nt(e){var t=e.error;e.subscriber.error(t)}qe||(qe={});var it=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 tt(this.value);case"E":return rt(this.error);case"C":return C()}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 ot=function(e){function t(t,r,n){void 0===n&&(n=0);var i=e.call(this,t)||this;return i.scheduler=r,i.delay=n,i}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 st(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(it.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(it.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(it.createComplete()),this.unsubscribe()},t}(v),st=function(){return function(e,t){this.notification=e,this.destination=t}}(),at=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}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 ct(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(),i=this.scheduler,o=n.length;if(this.closed)throw new ue;if(this.isStopped||this.hasError?t=f.EMPTY:(this.observers.push(e),t=new le(this,e)),i&&e.add(e=new ot(e,i)),r)for(var s=0;s<o&&!e.closed;s++)e.next(n[s]);else for(s=0;s<o&&!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||et).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(e-n[o].time<r);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&n.splice(0,o),n},t}(fe),ct=function(){return function(e,t){this.time=e,this.value=t}}();function ut(){return function(e){return e.lift(new lt(e))}}var lt=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new pt(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),pt=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),ft=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 f).add(this.source.subscribe(new dt(this.getSubject(),this))),e.closed&&(this._connection=null,e=f.EMPTY)),e},t.prototype.refCount=function(){return ut()(this)},t}(x),ht=function(){var e=ft.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}}}(),dt=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}(pe);var vt=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(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();function bt(e,t,r,n){r&&"function"!=typeof r&&(n=r);var i="function"==typeof r?r:void 0,o=new at(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 vt(n,t));var i=Object.create(r,ht);return i.source=r,i.subjectFactory=n,i}}((function(){return o}),i)(e)}}let yt=0;const gt=e=>"object"==typeof e&&null!==e&&("stack"in e||"message"in e)&&!("__typename"in e);const mt=e=>e instanceof Error?e:gt(e)?Object.assign(new Error(e.message),e):new Error(String(e));r(8523);new Set(["blue","yellow","orange","pink","red","purple","green","grey"]);new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function xt(e,t){if(!gt(e.subjects)&&e.subjects){const n=e.subjects.find((e=>e.subject.__typename===t));var r;if(n&&!gt(n.settings))return null===(r=n.settings)||void 0===r?void 0:r.extensions}}var wt=r(7021),Et=r.n(wt);class St extends f{constructor(e){super((()=>{e[$]()}))}}const _t=(e,t)=>{const r=new f;t&&t.add(r);const n=Ne(ae(e)?e:Promise.resolve(e)).pipe(He((e=>(r.add(new St(e)),{[y](){return this},subscribe(...t){let r;if("function"==typeof t[0])r={[F]:!0,next:t[0]||Et(),error:t[1]?e=>t[1](mt(e)):Et(),complete:t[2]||Et()};else{const e=t[0]||{};r={[F]:!0,next:e.next?t=>e.next(t):Et(),error:e.error?t=>e.error(mt(t)):Et(),complete:e.complete?()=>e.complete():Et()}}return se(e.subscribe(r))}}))));return Object.assign(n,{proxySubscription:r})};var Ot=r(7831),Tt=r.n(Ot);let At;!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"}(At||(At={}));const Pt={"&":{"&":!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 Ct(e){return"\t"===e||" "===e||"\xa0"===e}function It(e){return e>="0"&&e<="9"}function Rt(e){return"_"===e||function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}(e)}function Nt(e){return Rt(e)||It(e)||"."===e}class jt{expression="";length=0;_index=0;marker=0;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(!Ct(this.peekNextChar()))break;this.getNextChar()}}scanOperator(){let e=Pt,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(At.Operator,t)}scanIdentifier(){let e=this.peekNextChar();if(!Rt(e))return;let t=this.getNextChar();for(;e=this.peekNextChar(),Nt(e);)t+=this.getNextChar();return this.createToken(At.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?Dt(this.getNextChar()):n}if(!t)throw new Error(`Unterminated string literal (at ${this.index})`);return this.createToken(At.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,i=!1,o="";for(;this._index<this.length;){const e=this.getNextChar();if("`"===e&&this.backtick()){r=!0,n=!0;break}if("\\"===e)o+=Dt(this.getNextChar());else{if("$"===e){if("{"===this.peekNextChar()){this.curlyStack++,this.getNextChar(),n=!0,i=!0;break}}o+=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&&!i?At.NoSubstitutionTemplate:e?At.TemplateHead:r?At.TemplateTail:At.TemplateMiddle,this.createToken(t,o)}scanNumber(){let e=this.peekNextChar();if(!It(e)&&"."!==e)return;let t="";if("."!==e)for(t=this.getNextChar();e=this.peekNextChar(),It(e);)t+=this.getNextChar();if("."===e)for(t+=this.getNextChar();e=this.peekNextChar(),It(e);)t+=this.getNextChar();if("e"===e||"E"===e){if(t+=this.getNextChar(),e=this.peekNextChar(),"+"!==e&&"-"!==e&&!It(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(),It(e);)t+=this.getNextChar()}if("."===t)throw new SyntaxError(`Expected decimal digits after the dot sign (at ${this.index})`);return this.createToken(At.Number,t)}}class Lt extends jt{next(){return 0===this._index?this.doScanTemplate(!0):super.next()}backtick(){return 0!==this.curlyStack}}function Dt(e){switch(e){case"n":return"\n";case"r":return"\r";case"t":return"\t";default:return e}}class kt{parse(e){this.lexer||(this.lexer=new jt),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(!Ut(this.lexer.peek(),","))break;this.lexer.next()}return e}parseFunctionCall(e){let t=this.lexer.next();if(!Ut(t,"("))throw new SyntaxError(`Expected "(" in function call ${JSON.stringify(e)} (at ${this.lexer.index})`);t=this.lexer.peek();const r=Ut(t,")")?[]:this.parseArgumentList();if(t=this.lexer.next(),!Ut(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===At.TemplateTail){t.value&&e.push({Literal:{type:At.String,value:t.value}}),this.lexer.next();break}Ut(t,"}")?this.lexer.next():t.type===At.TemplateMiddle?(t.value&&e.push({Literal:{type:At.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===At.NoSubstitutionTemplate)return this.lexer.next(),{Literal:{type:At.String,value:e.value}};if(e.type===At.TemplateHead||e.type===At.TemplateMiddle){this.lexer.next();const t=this.parseTemplateParts();return e.value&&t.unshift({Literal:{type:At.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===At.Identifier)return this.lexer.next(),Ut(this.lexer.peek(),"(")?this.parseFunctionCall(e.value):{Identifier:e.value};if(e.type===At.String||e.type===At.Number)return this.lexer.next(),{Literal:{type:e.type,value:e.value}};if(e.type===At.NoSubstitutionTemplate||e.type===At.TemplateHead||e.type===At.TemplateMiddle)return this.parseTemplate();if(Ut(e,"(")){this.lexer.next();const e=this.parseAdditive();if(!Ut(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&&(Ut(e,"-")||Ut(e,"+")||Ut(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&&(Ut(t,"*")||Ut(t,"/")||Ut(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&&(Ut(t,"+")||Ut(t,"-")||Ut(t,"==")||Ut(t,"!=")||Ut(t,"===")||Ut(t,"!==")||Ut(t,"<")||Ut(t,">")||Ut(t,"<=")||Ut(t,">=")||Ut(t,"&&")||Ut(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 Mt extends kt{parse(e){this.lexer||(this.lexer=new Lt),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 Ut(e,t){return void 0!==e&&e.type===At.Operator&&e.value===t}class Gt{constructor(e){this.root=e}exec(e){return $t(this.root,e)}}class Bt extends Gt{}function Vt(e){return new Gt((new kt).parse(e))}function Ft(e){return new Bt((new Mt).parse(e))}const Ht={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),sub:(e,t,r)=>e.replaceAll(t,r)};function $t(e,t){if("Literal"in e)switch(e.Literal.type){case At.String:return e.Literal.value;case At.Number:return parseFloat(e.Literal.value);default:throw new SyntaxError(`Unrecognized literal of type ${At[e.Literal.type]}`)}if("Template"in e){const r=[];for(const n of e.Template.parts)r.push($t(n,t));return r.join("")}if("Binary"in e){const r=$t(e.Binary.left,t),n=()=>$t(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=$t(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=Ht[r.name];if("function"==typeof n){return n(...r.args.map((e=>$t(e,t))))}throw new SyntaxError(`Undefined function: ${r.name}`)}throw new SyntaxError("Unrecognized syntax node")}function Wt(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 zt(e,t){return null==t?void 0:t.map((t=>{var r,n,i,o,s,a,c,u,l,p,f;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===(i=t.category)||void 0===i?void 0:i.exec(e),description:null===(o=t.description)||void 0===o?void 0:o.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===(p=t.actionItem.pressed)||void 0===p?void 0:p.exec(e)},commandArguments:null===(f=t.commandArguments)||void 0===f?void 0:f.map((t=>t instanceof Gt?t.exec(e):t))}}))}function qt(e){return{...e,menus:e.menus&&Tt()(e.menus,(e=>null==e?void 0:e.map((e=>({...e,when:"string"==typeof e.when?Vt(e.when):void 0,disabledWhen:"string"==typeof e.disabledWhen?Vt(e.disabledWhen):void 0}))))),actions:e&&(t=e.actions,null==t?void 0:t.map((e=>{var t;return{...e,title:Jt(e.title,Ft),disabledTitle:Jt(e.disabledTitle,Ft),category:Jt(e.category,Ft),description:Jt(e.description,Ft),iconURL:Jt(e.iconURL,Ft),actionItem:e.actionItem&&{...e.actionItem,label:Jt(e.actionItem.label,Ft),description:Jt(e.actionItem.description,Ft),iconURL:Jt(e.actionItem.iconURL,Ft),iconDescription:Jt(e.actionItem.iconDescription,Ft),pressed:Jt(e.actionItem.pressed,(e=>Vt(e)))},commandArguments:null===(t=e.commandArguments)||void 0===t?void 0:t.map((e=>"string"==typeof e?Ft(e):e))}})))};var t}const Jt=(e,t)=>void 0===e?void 0:t(e);function Yt(e){const t=new de(new Set),r=_t(e.getEnabledExtensions()),n=new Set;return{activeLanguages:t,activeExtensions:Pe([t,r]).pipe(Le((([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 gt(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)})),E((([,e])=>e?e.filter((e=>n.has(e.id))):[])),Me(((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 Kt=new Set(["sourcegraph/code-stats-insights","sourcegraph/search-insights"]);function Qt(e,t,r,n=Zt,i=er){const o=function(e,t){const r=new Map;let n=yt;return(i,o=!1)=>{n<yt&&(r.clear(),n=yt);const s=t(i),a=r.get(s);if(!o&&a)return a;const c=e(i).pipe(bt(),ut(),Le({error:()=>{r.delete(s)}}));return r.set(s,c),c}}((()=>Ne(t.getScriptURLForExtension()).pipe(E((e=>function(t){return e?e(t):Promise.resolve(t)})))),(()=>"getScriptURL")),s=new Set,a=new Map,c=new Map;var u,l;return Pe([e.activeExtensions,o(null)]).pipe((u=([o,u])=>{const l=new Set,p=new Map,f=new Set;for(const e of o)Kt.has(e.id)||(f.add(e.id),s.has(e.id)||p.set(e.id,e));for(const e of s)f.has(e)||l.add(e);return Ne(u([...p.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(gt(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:[...p.values()].map(((t,r)=>({id:t.id,manifest:t.manifest,scriptURL:e[r]}))).filter((e=>"string"==typeof e.scriptURL)),toDeactivate:l})))).pipe(Le((({toActivate:e})=>{for(const t of e)if(t.manifest&&!gt(t.manifest)&&t.manifest.contributes){const e=qt(t.manifest.contributes);a.set(t.id,e),c.set(t.id,e)}})),E((({toActivate:o,toDeactivate:s})=>{const a=xt(e.settings.value,"DefaultSettings")||{};return Ne(Promise.all([o.map((async({id:e,scriptURL:i})=>{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,i,r).catch((t=>console.error(`Error activating extension ${e}:`,mt(t))))})),[...s].map((e=>i(e).catch((t=>console.error(`Error deactivating extension ${e}:`,mt(t))))))]))})),E((()=>({activated:p,deactivated:l}))),ze((e=>(console.error("Uncaught error during extension activation",e),[]))))},He(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 Xt=new Map;async function Zt(e,t,r){try{tr(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 i=new f,o="function"==typeof n.deactivate?n.deactivate:null;Xt.set(e,(async()=>{try{o&&await Promise.resolve(o())}finally{i.unsubscribe()}})),await(async e=>e())((()=>n.activate({subscriptions:i}))).catch((t=>{throw t=mt(t),Object.assign(new Error(`error during extension ${JSON.stringify(e)} activate function: ${String(t.stack||t)}`),{error:t})}))}async function er(e){const t=Xt.get(e);t&&(Xt.delete(e),await Promise.resolve(t()))}function tr(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 rr(e){return e.settings.pipe(E((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 nr=r(3234),ir=r.n(nr);function or(e){return function(t){return t.lift(new sr(e))}}var sr=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new ar(e,this.value))},e}(),ar=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),cr=new Ze(Ke);function ur(e,t){return void 0===t&&(t=cr),function(r){return r.lift(new lr(e,t))}}var lr=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new pr(e,this.dueTime,this.scheduler))},e}(),pr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.dueTime=r,i.scheduler=n,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return n(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(fr,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 fr(e){e.debouncedNext()}var hr=r(8838),dr=r(9588),vr=r.n(dr),br=r(2164),yr=r.n(br);const gr=()=>({key:vr()("TextDocumentDecorationType")});function mr(e){const t="object"==typeof e&&null!==e&&L("after")(e)&&e.after&&"object"==typeof e.after&&L("contentText")(e.after)&&"string"==typeof e.after.contentText,r="object"==typeof e&&null!==e&&L("meter")(e)&&e.meter&&"object"==typeof e.meter&&L("value")(e.meter)&&"number"==typeof e.meter.value;if(!t&&!r)return!1;return!("object"==typeof e&&null!==e&&L("after")(e)&&e.after&&"object"==typeof e.after&&L("contentText")(e.after)&&"object"==typeof e.after.contentText)}const xr=()=>({key:vr()("StatusBarItemType")}),wr=gr();class Er{[F]=!0;constructor(e,t){this.document=t,this.resource=e.resource,this.viewerId=e.viewerId,this.isActive=e.isActive,this.update(e)}selectionsChanges=new de([]);type="CodeEditor";get selection(){return this.selectionsChanges.value.length>0?this.selectionsChanges.value[0]:null}get selections(){return this.selectionsChanges.value}_decorationsByType=new Map;_mergedDecorations=new de([]);get mergedDecorations(){return this._mergedDecorations}setDecorations(e,t){e=e||wr,this._decorationsByType.set(e,t.map(Tr)),this._mergedDecorations.next([...this._decorationsByType.values()].flat().filter((e=>!_r(e))))}_statusBarItemsByType=new Map;_mergedStatusBarItems=new de([]);get mergedStatusBarItems(){return this._mergedStatusBarItems}setStatusBarItem(e,t){this._statusBarItemsByType.set(e,{...t,...e}),this._mergedStatusBarItems.next([...this._statusBarItemsByType.values()].flat().filter((e=>Or(e))))}update(e){const t=e.selections.map((e=>hr.Selection.fromPlain(e)));yr()(t,this.selections)||this.selectionsChanges.next(t)}toJSON(){return{type:this.type,document:this.document}}}const Sr=e=>Array.isArray(e)?e.every(Sr):"object"==typeof e&&null!==e?Object.values(e).every(Sr):!e,_r=({range:e,isWholeLine:t,...r})=>Sr(r),Or=({key:e,text:t})=>!!e&&!!t;function Tr(e){return{...e,range:e.range.toJSON()}}var Ar=r(672),Pr=r.n(Ar);const Cr=e=>({[F]:!0,subscribe:t=>te(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 Ir(e,t=Pr()){let r;var n,i,o;return r=e&&(ae(e)||(o=e)&&(o instanceof x||"function"==typeof o.lift&&"function"==typeof o.subscribe)||"object"==typeof(i=e)&&null!==i&&L("subscribe")(i)&&"function"==typeof i.subscribe)?Ne(e).pipe(E(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,i=!1;return function n(){t.next().then((t=>{if(!r)return t.done?(i=!0,void e.complete()):(e.next(t.value),n())}),(t=>{e.error(t)}))}(),()=>{r=!0,!i&&t.throw&&t.throw(new ce).catch((()=>{}))}}))).pipe(E(t)):tt(t(e)),r}const Rr={Text:"text",Read:"read",Write:"write"};var Nr=r(2497),jr=r.n(Nr),Lr=r(8202),Dr=r.n(Lr);function kr(){return void 0===(e=1)&&(e=Number.POSITIVE_INFINITY),He(g,e);var e}function Mr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return kr()(tt.apply(void 0,e))}function Ur(e,t){return"function"==typeof t?function(r){return r.pipe(Ur((function(r,n){return Ne(e(r,n)).pipe(E((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new Gr(e))}}var Gr=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new Br(e,this.project))},e}(),Br=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 Be(this),n=this.destination;n.add(r),this.innerSubscription=Fe(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}(Ve);function Vr(e){return void 0===e&&(e=null),function(t){return t.lift(new Fr(e))}}var Fr=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Hr(e,this.defaultValue))},e}(),Hr=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);const $r="loading";var Wr=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 i=e.call(this,t)||this;return i.resultSelector=r,i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:void 0,i}return n(t,e),t.prototype._next=function(e){var t=this.iterators;u(e)?t.push(new Jr(e)):"function"==typeof e[xe]?t.push(new qr(e[xe]())):t.push(new Yr(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 i=!1,o=[];for(n=0;n<t;n++){var s,a=(s=e[n]).next();if(s.hasCompleted()&&(i=!0),a.done)return void r.complete();o.push(a.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),i&&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),qr=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}(),Jr=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[xe]=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}(),Yr=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return n(t,e),t.prototype[xe]=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 Fe(this.observable,new Be(this))},t}(Ve),Kr=1,Qr=function(){return Promise.resolve()}(),Xr={};function Zr(e){return e in Xr&&(delete Xr[e],!0)}var en=function(e){var t=Kr++;return Xr[t]=!0,Qr.then((function(){return Zr(t)&&e()})),t},tn=function(e){Zr(e)},rn=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=en(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&&(tn(r),t.scheduled=void 0)},t}(Ke),nn=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,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(Ze))(rn),on=r(3621),sn=r(6451),an=r(2723),cn=r(5478);function un(e,t){switch(e.length){case 0:return tt([]);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(),Te(e,void 0).lift(new Wr(r))}(...e);default:return new on.Observable((0,an.subscribeToArray)(e)).lift(new ln(t))}}class ln{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new pn(e,this.defaultValue))}}class pn extends sn.OuterSubscriber{activeObservables=0;values=[];observables=[];scheduled=!1;constructor(e,t){super(e),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,cn.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,nn.schedule((()=>{this.scheduled&&this.destination.next&&this.destination.next(this.values.slice()),this.scheduled=!1}))):this.destination.next&&this.destination.next(this.values.slice())}}const fn=e=>null!=e;var hn=r(6705);const dn=["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"],vn=r.n(hn)()(dn.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"])),bn=[{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"}]}]}],yn=(e,t)=>{if(t<0)return[];const r=[];for(const n of e)r.push(`${n.name}`),n.fields&&r.push(...yn(n.fields,t-1).map((e=>`${n.name}.`+e)));return r};let gn,mn;!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"}(gn||(gn={})),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"}(mn||(mn={}));const xn=[...Object.keys(gn),...Object.keys(mn)];let wn;!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"}(wn||(wn={}));Object.values(wn),gn.author,gn.committer,gn.content,gn.file,gn.file,gn.lang,gn.lang,gn.message,gn.repo,gn.repo,gn.repohasfile;const En=[{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}];gn.after,gn.archived,gn.author,gn.before,gn.case,gn.committer,gn.content,gn.context,gn.count,gn.file,gn.fork,gn.lang,gn.message,gn.patterntype,gn.repo,gn.repogroup,gn.repohascommitafter,gn.repohasfile,gn.rev,gn.select,gn.timeout,gn.type,gn.visibility;function Sn(e){const t={label:e};return/\s/.test(e)&&(t.insertText=`"${e}"`),t}let _n,On,Tn,An,Pn,Cn,In,Rn,Nn,jn,Ln,Dn,kn,Mn,Un,Gn,Bn,Vn,Fn,Hn,$n,Wn,zn,qn,Jn,Yn,Kn,Qn,Xn,Zn,ei,ti,ri,ni,ii,oi,si,ai,ci,ui,li,pi,fi;!function(e){e.READ="READ"}(_n||(_n={})),function(e){e.UNPUBLISHED="UNPUBLISHED",e.PUBLISHED="PUBLISHED"}(On||(On={})),function(e){e.SCHEDULED="SCHEDULED",e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(Tn||(Tn={})),function(e){e.DRAFT="DRAFT",e.OPEN="OPEN",e.CLOSED="CLOSED",e.MERGED="MERGED",e.DELETED="DELETED"}(An||(An={})),function(e){e.APPROVED="APPROVED",e.CHANGES_REQUESTED="CHANGES_REQUESTED",e.PENDING="PENDING",e.COMMENTED="COMMENTED",e.DISMISSED="DISMISSED"}(Pn||(Pn={})),function(e){e.PENDING="PENDING",e.PASSED="PASSED",e.FAILED="FAILED"}(Cn||(Cn={})),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"}(In||(In={})),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"}(Rn||(Rn={})),function(e){e.EXISTING="EXISTING",e.BRANCH="BRANCH"}(Nn||(Nn={})),function(e){e.QUEUED="QUEUED",e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.FAILED="FAILED",e.COMPLETED="COMPLETED"}(jn||(jn={})),function(e){e.REPO_NAME_ASC="REPO_NAME_ASC",e.REPO_NAME_DESC="REPO_NAME_DESC"}(Ln||(Ln={})),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"}(Dn||(Dn={})),function(e){e.OPEN="OPEN",e.CLOSED="CLOSED",e.DRAFT="DRAFT"}(kn||(kn={})),function(e){e.COMMENT="COMMENT",e.DETACH="DETACH",e.REENQUEUE="REENQUEUE",e.MERGE="MERGE",e.CLOSE="CLOSE",e.PUBLISH="PUBLISH"}(Mn||(Mn={})),function(e){e.PROCESSING="PROCESSING",e.COMPLETED="COMPLETED",e.FAILED="FAILED"}(Un||(Un={})),function(e){e.PENDING="PENDING",e.PROCESSING="PROCESSING",e.FAILED="FAILED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.CANCELING="CANCELING",e.CANCELED="CANCELED"}(Gn||(Gn={})),function(e){e.NORMAL="NORMAL",e.CRITICAL="CRITICAL"}(Bn||(Bn={})),function(e){e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.ERROR="ERROR"}(Vn||(Vn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED",e.UPLOADING="UPLOADING",e.DELETING="DELETING"}(Fn||(Fn={})),function(e){e.PROCESSING="PROCESSING",e.ERRORED="ERRORED",e.COMPLETED="COMPLETED",e.QUEUED="QUEUED"}(Hn||(Hn={})),function(e){e.UNKNOWN="UNKNOWN",e.NATIVE="NATIVE",e.THIRD_PARTY="THIRD_PARTY"}($n||($n={})),function(e){e.UNSUPPORTED="UNSUPPORTED",e.BASIC="BASIC"}(Wn||(Wn={})),function(e){e.HOUR="HOUR",e.DAY="DAY",e.WEEK="WEEK",e.MONTH="MONTH",e.YEAR="YEAR"}(zn||(zn={})),function(e){e.NOTEBOOK_UPDATED_AT="NOTEBOOK_UPDATED_AT",e.NOTEBOOK_CREATED_AT="NOTEBOOK_CREATED_AT",e.NOTEBOOK_STAR_COUNT="NOTEBOOK_STAR_COUNT"}(qn||(qn={})),function(e){e.MARKDOWN="MARKDOWN",e.QUERY="QUERY",e.FILE="FILE",e.SYMBOL="SYMBOL"}(Jn||(Jn={})),function(e){e.WEB="WEB",e.CODEHOSTINTEGRATION="CODEHOSTINTEGRATION",e.BACKEND="BACKEND",e.STATICWEB="STATICWEB"}(Yn||(Yn={})),function(e){e.V1="V1",e.V2="V2"}(Kn||(Kn={})),function(e){e.literal="literal",e.regexp="regexp",e.structural="structural"}(Qn||(Qn={})),function(e){e.AWSCODECOMMIT="AWSCODECOMMIT",e.BITBUCKETCLOUD="BITBUCKETCLOUD",e.BITBUCKETSERVER="BITBUCKETSERVER",e.GITHUB="GITHUB",e.GITLAB="GITLAB",e.GITOLITE="GITOLITE",e.JVMPACKAGES="JVMPACKAGES",e.NPMPACKAGES="NPMPACKAGES",e.OTHER="OTHER",e.PAGURE="PAGURE",e.PERFORCE="PERFORCE",e.PHABRICATOR="PHABRICATOR"}(Xn||(Xn={})),function(e){e.ADDED="ADDED",e.UNCHANGED="UNCHANGED",e.DELETED="DELETED"}(Zn||(Zn={})),function(e){e.ERROR="ERROR",e.WARNING="WARNING",e.INFORMATION="INFORMATION",e.HINT="HINT"}(ei||(ei={})),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"}(ti||(ti={})),function(e){e.GIT_BRANCH="GIT_BRANCH",e.GIT_TAG="GIT_TAG",e.GIT_REF_OTHER="GIT_REF_OTHER"}(ri||(ri={})),function(e){e.AUTHORED_OR_COMMITTED_AT="AUTHORED_OR_COMMITTED_AT"}(ni||(ni={})),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"}(ii||(ii={})),function(e){e.ACCEPT="ACCEPT",e.REJECT="REJECT"}(oi||(oi={})),function(e){e.REPOSITORY_NAME="REPOSITORY_NAME",e.REPO_CREATED_AT="REPO_CREATED_AT",e.REPOSITORY_CREATED_AT="REPOSITORY_CREATED_AT"}(si||(si={})),function(e){e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR"}(ai||(ai={})),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"}(ci||(ci={})),function(e){e.TODAY="TODAY",e.THIS_WEEK="THIS_WEEK",e.THIS_MONTH="THIS_MONTH",e.ALL_TIME="ALL_TIME"}(ui||(ui={})),function(e){e.SEARCH_CONTEXT_SPEC="SEARCH_CONTEXT_SPEC",e.SEARCH_CONTEXT_UPDATED_AT="SEARCH_CONTEXT_UPDATED_AT"}(li||(li={})),function(e){e[e.Literal=1]="Literal",e[e.Regexp=2]="Regexp",e[e.Structural=3]="Structural"}(pi||(pi={})),function(e){e.Or="or",e.And="and",e.Not="not"}(fi||(fi={}));const hi=(e,t,r=!1)=>({type:"literal",value:e,range:t,quoted:r}),di=(...e)=>(t,r)=>{const n=[];for(const i of e){const e=i(t,r);if("success"===e.type)return e;n.push(e.expected)}return{type:"error",expected:`One of: ${n.join(", ")}`,at:r}},vi=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:hi(t.slice(r+1,n),{start:r,end:n+1},!0)}:{type:"error",expected:e,at:n}},bi=(e,t,r)=>(e.source.startsWith("^")||(e=new RegExp(`^${e.source}`,e.flags)),(n,i)=>{const o=n.slice(Math.max(0,i));if(!o)return{type:"error",expected:r||`/${e.source}/`,at:i};const s=o.match(e);if(!s)return{type:"error",expected:r||`/${e.source}/`,at:i};const a={start:i,end:i+s[0].length};return{type:"success",term:t?"function"==typeof t?t(s[0],a):t:{type:"literal",value:s[0],range:a}}}),yi=(e,t)=>{let r=t,n=0,i="";const o=[],s=()=>{i=e[r],r+=1};if(!Pi(e,t))return{type:"error",expected:"no recognized filter or keyword",at:t};for(;void 0!==e[r];){if(s(),i.match(/\s/)&&0===n){r-=1;break}if("("===i){if(!Pi(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};n+=1,o.push(i)}else if(")"===i){if(n-=1,n<0&&r>1){r-=1,n=0;break}o.push(i)}else if(" "===i){if(!Pi(e,r))return{type:"error",expected:"no recognized filter or keyword",at:r};o.push(i)}else if("\\"===i){if(void 0!==e[r]){s(),o.push("\\",i);continue}o.push(i)}else o.push(i)}return 0!==n?{type:"error",expected:"no unbalanced parentheses",at:r}:{type:"success",term:hi(o.join(""),{start:t,end:r})}},gi=bi(/\s+/,((e,t)=>({type:"whitespace",range:t}))),mi=bi(/[^\s)]+/),xi=bi(/(not|NOT)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:fi.Not}))),wi=bi(/(and|AND)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:fi.And}))),Ei=bi(/(or|OR)/,((e,{start:t,end:r})=>({type:"keyword",value:e,range:{start:t,end:r},kind:fi.Or}))),Si=di(wi,Ei,xi),_i=(bi(/\/\/.*/,((e,{start:t,end:r})=>({type:"comment",value:e,range:{start:t,end:r}}))),bi(new RegExp(`-?(${xn.join("|")})+(?=:)`,"i"))),Oi=(di(vi('"'),vi("'"),yi,mi),bi(/\(/,((e,t)=>({type:"openingParen",range:t}))),bi(/\)/,((e,t)=>({type:"closingParen",range:t})))),Ti=(e,t)=>(r,n)=>{const i=e(r,n);if("error"===i.type)return i;let o;const s=[];if(Array.isArray(i.term))for(const e of i.term)s.push(e),o=e.range.end;else s.push(i.term),o=i.term.range.end;if(o&&void 0!==r[o]){const e=t(r,o);if("error"===e.type)return e;s.push(e.term),o=e.term.range.end}return{type:"success",term:s}},Ai=di(_i,Ti(Si,gi)),Pi=(e,t)=>"success"!==Ai(e,t).type;di(gi,Oi);let Ci;!function(e){e.Global="Global",e.Subexpression="Subexpression"}(Ci||(Ci={}));const Ii=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 Ri(e){const t=new URL(e),r=t.hostname+decodeURIComponent(t.pathname),n=decodeURIComponent(t.search.slice("?".length))||void 0;let i;null!=n&&n.match(/[\dA-f]{40}/)&&(i=n);const o=t.hash.slice("#".length).split(":").map(decodeURIComponent);let s,a,c;if(1===o.length&&(s=o[0]),2===o.length){s=o[0];const e=o[1],t=e.split("-");if(1===t.length&&(a=Ii(t[0])),2===t.length&&(c={start:Ii(t[0]),end:Ii(t[1])}),t.length>2)throw new Error("unexpected range or position: "+e)}if(o.length>2)throw new Error("unexpected fragment: "+t.hash);return{repoName:r,revision:n,commitID:i,filePath:s||void 0,position:a,range:c}}var Ni=r(4245);function ji(e){const t=(0,Ni.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"repro":return"repro";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 Li=r(1781),Di=r.n(Li);function ki(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(Mi(n,t))return!0;var r;return!1}function Mi(e,t){return 0!==function(e,t,r){let n=0;for(const i of e){const e=Ui(i,t,r);if(10===e)return e;e>n&&(n=e)}return n}(e,new URL(t.uri),t.languageId)}function Ui(e,t,r){if("string"==typeof e)return"*"===e?5:e===r?10:0;const{language:n,scheme:i,pattern:o,baseUri:s}=e;if(!n&&!i&&!o)return 5;let a=0;if(i)if(t.protocol===i+":")a=10;else{if("*"!==i)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(o){const e=decodeURIComponent("git:"===t.protocol?t.hash.slice(1):t.pathname.replace(/^\//,""));if(e.endsWith(o)||Di()(e,o))a=10;else{if(!e||!Di()(e,o,{dot:!0,matchBase:!0}))return 0;a=5}}return a}let Gi;!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"}(Gi||(Gi={}));r(9913),r(2366),r(8911),r(4207);function Bi(e,t,r,n){const i={...r};if(null!==(o=t).subjects&&!o.subjects.some((e=>gt(e.settings)))&&null!==o.final&&!gt(o.final))for(const[e,r]of Object.entries(t.final))i[`config.${e}`]=r;var o;const s=n||e||null;if(s&&(i.component=!0),"CodeEditor"===(null==s?void 0:s.type)){i.resource=!0,i["resource.uri"]=s.resource,i["resource.basename"]=(0,Ni.basename)(s.resource),i["resource.dirname"]=(0,Ni.dirname)(s.resource),i["resource.extname"]=(0,Ni.extname)(s.resource),i["resource.language"]=s.model.languageId,i["resource.type"]="textDocument";const e=new URL(s.resource);i["resource.repo"]=`${e.hostname}${e.pathname}`,i["resource.commit"]=e.search.slice(1),i["resource.path"]=e.hash.slice(1),i["component.type"]="CodeEditor",i["component.selections"]=s.selections,s.selections.length>0&&(i["component.selection"]=s.selections[0]||null,i["component.selection.start"]=s.selections[0]?s.selections[0].start:null,i["component.selection.end"]=s.selections[0]?s.selections[0].end:null,i["component.selection.start.line"]=s.selections[0]?s.selections[0].start.line:null,i["component.selection.start.character"]=s.selections[0]?s.selections[0].start.character:null,i["component.selection.end.line"]=s.selections[0]?s.selections[0].end.line:null,i["component.selection.end.character"]=s.selections[0]?s.selections[0].end.character:null)}return"panelView"===(null==s?void 0:s.type)&&(i["panel.activeView.id"]=s.id,i["panel.activeView.hasLocations"]=s.hasLocations),i}class Vi{[F]=!0;type="DirectoryViewer";constructor(e){this.isActive=e.isActive,this.viewerId=e.viewerId,this.resource=e.resource,this.directory={uri:new URL(e.resource)}}}var Fi=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 Hi(e,this.accumulator,this.seed,this.hasSeed))},e}(),Hi=function(e){function t(t,r,n,i){var o=e.call(this,t)||this;return o.accumulator=r,o._seed=n,o.hasSeed=i,o.index=0,o}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 $i="ColdCallViewProviderStart";function Wi(e,t,r=2){return t.pipe(Ur((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 ve(r)?(e.pop(),function(t){return Mr(e,t,r)}):function(t){return Mr(e,t)}}($i),He(((t,r)=>t!==$i?Ir(t.viewProvider.provideView(e)).pipe(Vr(null),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=mt(e);return[{message:t,name:r,stack:n}]})),E((e=>({id:t.id,view:e,index:r})))):tt($i)),r),function(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new Fi(e,t,r))}}(((e,t)=>{if(t===$i)return e;const{index:r,...n}=t;return e[r-1]=n,e}),[...t.map((e=>({id:e.id,view:void 0})))])))),E((e=>e.filter(k(fn,D("view",j(N(null))))))))}class zi{constructor(e,t){this.index=e,this.remainder=t}}class qi{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=Yi(e);const r=this.values,n=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e),e+i),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=Yi(e),t=Yi(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,t){e=Yi(e),t=Yi(t);const r=this.values,n=this.prefixSum;if(e>=r.length)return!1;const i=r.length-e;return t>=i&&(t=i),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=Yi(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,i=0,o=0;for(;t<=r;)if(n=t+(r-t)/2|0,i=this.prefixSum[n],o=i-this.values[n],e<o)r=n-1;else{if(!(e>=i))break;t=n+1}return new zi(n,e-o)}}const Ji=4294967295;function Yi(e){return e<0?0:e>Ji?Ji:0|e}const Ki=/(-?\d*\.\d\w*)|([^\s"'(),;<>?[\\\]`{}]+)/g;class Qi{constructor(e){this.model=e,this._eol=Xi(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=Xi(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 hr.Position(t.index,n)}validatePosition(e){if(this.throwIfNoModelText(),!(e instanceof hr.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 hr.Position(t,r):e}validateRange(e){if(this.throwIfNoModelText(),!(e instanceof hr.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 hr.Range(t.line,t.character,r.line,r.character)}getWordRangeAtPosition(e){this.throwIfNoModelText();const t=function(e,t){if(Ki.lastIndex=0,!Ki.exec(t))return null;const r=t.lastIndexOf(" ",e-1)+1;for(Ki.lastIndex=r;;){const r=Ki.exec(t);if(!r)return null;const n=r.index||0;if(n<=e&&Ki.lastIndex>=e)return{word:r[0],startColumn:n,endColumn:Ki.lastIndex}}}((e=this.validatePosition(e)).character,this._lines[e.line]);if(t)return new hr.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}_lineStarts=null;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 qi(r)}return this._lineStarts}throwIfNoModelText(){if(void 0===this.model.text)throw new Error("model text is not available")}toJSON(){return this.model}}function Xi(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 Zi(e){return new hr.Position(e.line,e.character)}function eo(e){return{uri:e.uri.href,range:to(e.range),aggregableBadges:e.aggregableBadges}}function to(e){if(e)return e instanceof hr.Range?e.toJSON():e}class ro{constructor({uri:e,inputRevision:t}){this.uri=new URL(e),this.inputRevision=t}}function no(e,t){return e.next([...e.value,t]),{unsubscribe:()=>e.next(e.value.filter((e=>e!==t)))}}function io(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 co(t);return r};return{haveInitialExtensionsLoaded:()=>Cr(e.haveInitialExtensionsLoaded.asObservable()),syncSettingsData:t=>e.settings.next(Object.freeze(t)),getWorkspaceRoots:()=>Cr(e.roots.pipe(E((e=>e.map((({uri:e,inputRevision:t})=>({uri:e.href,inputRevision:t}))))))),addWorkspaceRoot:t=>{e.roots.next(Object.freeze([...e.roots.value,new ro(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=>Cr(e.queryTransformers.pipe(Ur((e=>e.reduce(((e,t)=>e.pipe(He((e=>{const r=t.transformQuery(e);return r instanceof Promise?Ne(r):tt(r)})))),tt(t)))))),getHover:r=>{const n=t(r.textDocument.uri),i=Zi(r.position);return Cr(so(e.hoverProviders,(e=>oo(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideHover(n,i)),(e=>function(e){const t=[],r=[],n=new Map;let i;for(const s of e)if(s){var o;null!==(o=s.contents)&&void 0!==o&&o.value&&t.push({value:s.contents.value,kind:s.contents.kind||hr.MarkupKind.PlainText}),s.alerts&&r.push(...s.alerts);for(const e of s.aggregableBadges||[])n.set(e.text,e);s.range&&!i&&(i=s.range instanceof hr.Range?s.range.toPlain():s.range)}return 0===t.length?null:{contents:t,alerts:r,...i?{range:i}:{},aggregatedBadges:[...n.values()].sort(((e,t)=>e.text.localeCompare(t.text)))}}(ao(e)))))},getDocumentHighlights:r=>{const n=t(r.textDocument.uri),i=Zi(r.position);return Cr(so(e.documentHighlightProviders,(e=>oo(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDocumentHighlights(n,i)),ao).pipe(E((e=>e.isLoading?[]:e.result))))},getDefinition:r=>{const n=t(r.textDocument.uri),i=Zi(r.position);return Cr(so(e.definitionProviders,(e=>oo(n,e,(({selector:e})=>e))),(({provider:e})=>e.provideDefinition(n,i)),(e=>ao(e).map(eo))))},getReferences:(r,n)=>{const i=t(r.textDocument.uri),o=Zi(r.position);return Cr(so(e.referenceProviders,(e=>oo(i,e,(({selector:e})=>e))),(({provider:e})=>e.provideReferences(i,o,n)),(e=>ao(e).map(eo))))},hasReferenceProvidersForDocument:r=>{const n=t(r.textDocument.uri);return Cr(e.referenceProviders.pipe(E((e=>0!==oo(n,e,(({selector:e})=>e)).length))))},getLocations:(r,n)=>{const i=t(n.textDocument.uri),o=Zi(n.position);return Cr(so(e.locationProviders,(e=>oo(i,e.filter((({provider:e})=>r===e.id)),(({selector:e})=>e))),(({provider:e})=>e.provider.provideLocations(i,o)),(e=>ao(e).map(eo))))},getFileDecorations:t=>Cr(0===t.files.length?P:so(e.fileDecorationProviders,Pr(),(e=>e.provideFileDecorations(t)),ao).pipe(E((({result:e})=>jr()(e.filter(mr),(({uri:e})=>Ri(e).filePath||e)))))),addViewerIfNotExists:r=>{const n="viewer#"+e.lastViewerId++;let i;switch("CodeEditor"===r.type&&e.modelReferences.increment(r.resource),r.type){case"CodeEditor":{const e=t(r.resource);i=new Er({...r,viewerId:n},e);break}case"DirectoryViewer":i=new Vi({...r,viewerId:n})}return e.viewComponents.set(n,i),r.isActive&&e.activeViewComponentChanges.next(i),e.viewerUpdates.next({viewerId:n,action:"addition",type:r.type}),{viewerId:n}},removeViewer:({viewerId:n})=>{var i;const o=r(n);e.viewComponents.delete(n),(null===(i=e.activeViewComponentChanges.value)||void 0===i?void 0:i.viewerId)===n&&e.activeViewComponentChanges.next(void 0),e.viewerUpdates.next({viewerId:n,action:"removal",type:o.type}),"CodeEditor"===o.type&&e.modelReferences.decrement(o.resource)&&(r=>{const n=t(r);e.textDocuments.delete(r),e.languageReferences.decrement(n.languageId)&&e.activeLanguages.next(new Set(e.languageReferences.keys()))})(o.resource)},viewerUpdates:()=>Cr(e.viewerUpdates.asObservable()),setEditorSelections:({viewerId:e},t)=>{const n=r(e);uo(n,"CodeEditor"),n.update({selections:t})},getTextDecorations:({viewerId:e})=>{const t=r(e);return uo(t,"CodeEditor"),Cr(t.mergedDecorations)},addTextDocumentIfNotExists:t=>{if(e.textDocuments.has(t.uri))return;const r=new Qi(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:()=>Cr(e.activeViewComponentChanges),getActiveCodeEditorPosition:()=>Cr(e.activeViewComponentChanges.pipe(Ur((e=>"CodeEditor"!==(null==e?void 0:e.type)?tt(null):e.selectionsChanges.pipe(E((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=>bo(t,e),registerContributions:t=>{const r=qt(t);return te(no(e.contributions,r))},getContributions:({scope:r,extraContext:n,returnInactiveMenuItems:i}={})=>Cr(Pe([e.contributions,e.activeViewComponentChanges.pipe(E((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(E((([e,t,o,s])=>{n&&(s={...s,...n});const a=Bi(t,o,s,r);return e.map((e=>{try{const t=function(e,t){return{...t,menus:t.menus&&Tt()(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:zt(e,t.actions)}}(a,e);return i?t:function(e){return e.menus?{...e,menus:Tt()(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}),{}}}))})),E(Wt),Me(yr()))),getPlainNotifications:()=>Cr(e.plainNotifications.asObservable()),getProgressNotifications:()=>Cr(e.progressNotifications.asObservable()),getPanelViews:()=>Cr(e.panelViews.pipe(Ur((e=>Pe([...e]))),ur(0))),getInsightViewById:(t,r)=>Cr(e.insightsPageViewProviders.pipe(Ur((e=>{const n=e.find((e=>e.id.split(".").slice(0,-1).join(".")===t));return n?Ir(n.viewProvider.provideView(r)):rt(new Error(`Couldn't find view with id ${t}`))})),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=mt(e);return tt({message:t,name:r,stack:n})})),E((e=>({id:t,view:e}))))),getInsightsViews:(t,r)=>function(e,t,r){const n=new Set(r),i=t.pipe(E((e=>e.filter((e=>{if(r){const t=e.id.split(".").slice(0,-1).join(".");return n.has(t)}return!0})))),ur(0));return Cr(Wi(e,i))}(t,e.insightsPageViewProviders,r),getHomepageViews:t=>Cr(lo(t,e.homepageViewProviders)),getDirectoryViews:t=>Cr(lo({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=>Cr(lo(t,e.globalPageViewProviders)),getStatusBarItems:({viewerId:e})=>{const t=r(e);return"CodeEditor"!==t.type?Cr(P):Cr(t.mergedStatusBarItems.pipe(ur(0),E((e=>e.sort(((e,t)=>e.text[0].toLowerCase().charCodeAt(0)-t.text[0].toLowerCase().charCodeAt(0)))))))},getLinkPreviews:t=>Cr(so(e.linkPreviewProviders,(e=>e.filter((e=>t.startsWith(e.urlMatchPattern)))),(({provider:e})=>e.provideLinkPreview(new URL(t))),(e=>function(e){const t=e.filter(fn).filter((e=>"loading"!==e)),r=t.filter(D("content",fn)),n=t.filter(D("hover",fn));if(0===n.length&&0===r.length)return null;return{content:r.map((({content:e})=>e)),hover:n.map((({hover:e})=>e))}}(e))).pipe(E((e=>e.isLoading?null:e.result)))),getActiveExtensions:()=>Cr(e.activeExtensions)}}function oo(e,t,r){return t.filter((t=>ki(r(t),{uri:e.uri,languageId:ji(Ri(e.uri).filePath||"")})))}function so(e,t,r,n,i=!0){const o=(...e)=>{i&&console.error("Provider errored:",...e)};return e.pipe(E((e=>t(e))),Ur((e=>un(e.map((e=>Mr([$r],Ir((e=>{try{return r(e)}catch(e){return o(e),null}})(e)).pipe(Vr(null),ze((e=>(o(e),[null]))))))))))).pipe(Vr([]),E((e=>({isLoading:e.some((e=>e===$r)),result:n(e)}))),Me(((e,t)=>yr()(e,t))))}function ao(e){return e.filter(j(N($r))).flatMap(Dr()).filter(fn)}class co extends Error{name="ViewerNotFoundError";constructor(e){super(`Viewer not found: ${e}`)}}function uo(e,t){if(e.type!==t)throw new Error(`Viewer ID ${e.viewerId} is type ${e.type}, expected ${t}`)}function lo(e,t){return t.pipe(ur(0),Ur((t=>Pe([tt(null),...t.map((({viewProvider:t,id:r})=>Mr([void 0],Ir(t.provideView(e)).pipe(Vr(null),ze((e=>{console.error("View provider errored:",e);const{message:t,name:r,stack:n}=mt(e);return[{message:t,name:r,stack:n}]})))).pipe(E((e=>({id:r,view:e}))))))]))),E((e=>e.filter(k(fn,D("view",j(N(null))))))))}const po={Error:1,Warning:2,Info:3,Log:4,Success:5};function fo(e,t,r){const n=Object.assign(e.settings.pipe(or(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}}}),i={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(or(void 0)),rootChanges:e.rootChanges.asObservable(),versionContextChanges:P,searchContextChanges:e.searchContextChanges.asObservable()},o=async t=>{const r=new at(1);return e.progressNotifications.next(te({baseNotification:{message:t.title,type:po.Log},progress:Cr(r.asObservable())})),{next:e=>{r.next(e)},error:e=>{const t=mt(e);r.error({message:t.message,name:t.name,stack:t.stack})},complete:()=>{r.complete()}}},s={get visibleViewComponents(){const t=[...e.viewComponents.entries()];return ir()(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 o(e);try{const e=t(r);return r.complete(),await e}catch(e){throw r.error(e),e}},showProgress:e=>o(e),showMessage:e=>t.showMessage(e),showInputBox:e=>t.showInputBox(e)},a={get activeWindow(){return s},activeWindowChanges:new de(s).asObservable(),get windows(){return[s]},registerFileDecorationProvider:t=>no(e.fileDecorationProviders,t),createPanelView:t=>{const r=new de({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:()=>{i.unsubscribe()}},i=no(e.panelViews,r.pipe(ur(0)));return n},registerViewProvider:(t,r)=>{switch(r.where){case"insightsPage":return no(e.insightsPageViewProviders,{id:t,viewProvider:r});case"directory":return no(e.directoryViewProviders,{id:t,viewProvider:r});case"global/page":return no(e.globalPageViewProviders,{id:t,viewProvider:r});case"homepage":return no(e.homepageViewProviders,{id:t,viewProvider:r})}},createDecorationType:gr,createStatusBarItemType:xr,log:Et()},c={executeCommand:(e,...r)=>t.executeCommand(e,r),registerCommand:(e,r)=>se(t.registerCommand(e,te(r)))},u={registerQueryTransformer:t=>no(e.queryTransformers,t)},l={registerHoverProvider:(t,r)=>no(e.hoverProviders,{selector:t,provider:r}),registerDocumentHighlightProvider:(t,r)=>no(e.documentHighlightProviders,{selector:t,provider:r}),registerDefinitionProvider:(t,r)=>no(e.definitionProviders,{selector:t,provider:r}),registerReferenceProvider:(t,r)=>no(e.referenceProviders,{selector:t,provider:r}),registerLocationProvider:(t,r,n)=>no(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:()=>{}})},p={execute:(e,r)=>t.requestGraphQL(e,r)},f={registerLinkPreviewProvider:(t,r)=>no(e.linkPreviewProviders,{urlMatchPattern:t,provider:r})};return function(o){return{URI:URL,Position:hr.Position,Range:hr.Range,Selection:hr.Selection,Location:hr.Location,MarkupKind:hr.MarkupKind,NotificationType:po,DocumentHighlightKind:Rr,app:{...a,log:(...r)=>{e.activeLoggers.has(o)&&t.logExtensionMessage(`\u{1f9e9} %c${o}`,"background-color: lightgrey;",...r).catch((e=>{console.error("Error sending extension message to main thread:",e)}))}},workspace:i,configuration:n,languages:l,search:u,commands:c,graphQL:p,content:f,internal:{sync:()=>(async()=>{await t.ping()})(),updateContext:t=>bo(t,e),sourcegraphURL:new URL(r.sourcegraphURL),clientApplication:r.clientApplication}}}}class ho{refCount=new Map;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 vo(e){const t=new f;let r=!1;return{unsubscribe:()=>t.unsubscribe(),extensionAPI:new Promise((n=>{J((i=>{if(r)throw new Error("extension host is already initialized");r=!0;const{subscription:o,extensionAPI:s,extensionHostAPI:a}=function(e,t){const r=new f,{extensionAPI:n,extensionHostAPI:i,subscription:o}=function(e,t){const r=new f;!function(){const e={canHandle:oe,serialize:e=>[e.href,[]],deserialize:e=>new URL(e)};q.set("URL",e)}();const n=K(t.proxy),i=function(e,t){const{activeLanguages:r,activeExtensions:n}=Yt(t);return{haveInitialExtensionsLoaded:new de(!1),roots:new de([]),rootChanges:new fe,searchContextChanges:new fe,searchContext:void 0,settings:new de(e.initialSettings),queryTransformers:new de([]),hoverProviders:new de([]),documentHighlightProviders:new de([]),definitionProviders:new de([]),referenceProviders:new de([]),locationProviders:new de([]),fileDecorationProviders:new de([]),context:new de({"clientApplication.isSourcegraph":"sourcegraph"===e.clientApplication,"clientApplication.extensionAPIVersion.major":3}),contributions:new de([]),lastViewerId:0,textDocuments:new Map,openedTextDocuments:new fe,viewComponents:new Map,activeLanguages:r,languageReferences:new ho,modelReferences:new ho,activeViewComponentChanges:new de(void 0),viewerUpdates:new fe,plainNotifications:new at(3),progressNotifications:new at(3),panelViews:new de([]),insightsPageViewProviders:new de([]),homepageViewProviders:new de([]),globalPageViewProviders:new de([]),directoryViewProviders:new de([]),linkPreviewProviders:new de([]),activeExtensions:n,activeLoggers:new Set}}(e,n),o=io(i),s=fo(i,n,e);r.add(Qt(i,n,s)),r.add(rr(i));const a={[F]:!0,ping:()=>"pong",...o},c=s("DEFAULT");return{extensionHostAPI:a,extensionAPI:c,subscription:r}}(t,e);return r.add(o),tr(n),r.add((()=>{globalThis.require=()=>{throw new Error("require: Sourcegraph extension API was unsubscribed")}})),{subscription:r,extensionAPI:n,extensionHostAPI:i}}(e,i);return t.add(o),n(s),a}),e.expose)}))}}function bo(e,t){if(V()(t.context.value,e))return;const r={};for(const[n,i]of Object.entries(t.context.value))null!==e[n]&&(r[n]=i);for(const[t,n]of Object.entries(e))null!==n&&(r[t]=n);t.context.next(r)}const yo=e=>"object"==typeof e&&null!==e&&L("endpoints")(e)&&(e=>U()(e)&&L("proxy")(e)&&L("expose")(e)&&G(e.proxy)&&G(e.expose))(e.endpoints);!async function(){try{const t=await O(self,"message").pipe((e=1,function(t){return 0===e?C():t.lift(new I(e))})).toPromise();if(!yo(t.data))throw new Error("First message event in extension host worker was not a well-formed InitMessage");const{endpoints:r}=t.data,n=vo(r);self.addEventListener("unload",(()=>n.unsubscribe()))}catch(e){console.error("Error starting the extension host:",e),self.close()}var e}()})()})();
2
2
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZW5zaW9uSG9zdFdvcmtlci5idW5kbGUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9Ac291cmNlZ3JhcGgvYnJvd3Nlci9leHRlbnNpb25Ib3N0V29ya2VyLmJ1bmRsZS5qcyJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=