commit teleport for openSUSE:Factory
=0,r||O(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,i){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i
=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t >>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o
8&255,c=t>>24&255,l=t>>16&255,h=t>>8&255,u=a(n.relativeLuminance2(c,h,l),n.relativeLuminance2(i,o,s));u
>>0}e.ensureContrastRatio=function(e,r,o){var s=n.relativeLuminance(e>>8),c=n.relativeLuminance(r>>8);if(a(s,c) >24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,i){return{css:r.toCss(e,t,i),rgba:r.toRgba(e,t,i)}}}(o=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=a},7239:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var r=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(e,t,r){this._rgba[e]||(t his._rgba[e]={}),this._rgba[e][t]=r},e.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},e.prototype.setColor=function(e,t,r){this._color[e]||(this._color[e]={}),this._color[e][t]=r},e.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},e}();t.ColorContrastCache=r},5680:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorManager=t.DEFAULT_ANSI_COLORS=void 0;var i=r(4774),n=r(7239),o=i.css.toColor("#ffffff"),s=i.css.toColor("#000000"),a=i.css.toColor("#ffffff"),c=i.css.toColor("#000000"),l={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=Object.freeze(function(){for(var e=[i.css.toColor("#2e3436"),i.css.toColor("#cc0000"),i.css.toColor("#4e9a06"),i.css.toColor("#c4a000"),i.css.toColor("#3465a4"),i.css.toColor("#75507b"),i.css.toColor("#06989a"),i.css.toColor("#d3d7cf"),i.css.toColor("#555753"),i.css.toColor("#ef2929"),i.css.toColor("#8ae234"),i.css.toColor("#fce94f"),i.css.toColor("#729fcf"),i .css.toColor("#ad7fa8"),i.css.toColor("#34e2e2"),i.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],r=0;r<216;r++){var n=t[r/36%6|0],o=t[r/6%6|0],s=t[r%6];e.push({css:i.channels.toCss(n,o,s),rgba:i.channels.toRgba(n,o,s)})}for(r=0;r<24;r++){var a=8+10*r;e.push({css:i.channels.toCss(a,a,a),rgba:i.channels.toRgba(a,a,a)})}return e}());var h=function(){function e(e,r){this.allowTransparency=r;var h=e.createElement("canvas");h.width=1,h.height=1;var u=h.getContext("2d");if(!u)throw new Error("Could not get rendering context");this._ctx=u,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new n.ColorContrastCache,this.colors={foreground:o,background:s,cursor:a,cursorAccent:c,selectionTransparent:l,selectionOpaque:i.color.blend(s,l),ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return e.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},e.prototype.setTh eme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,o),this.colors.background=this._parseColor(e.background,s),this.colors.cursor=this._parseColor(e.cursor,a,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,c,!0),this.colors.selectionTransparent=this._parseColor(e.selection,l,!0),this.colors.selectionOpaque=i.color.blend(this.colors.background,this.colors.selectionTransparent),i.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=i.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(e.black,t.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,t.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,t.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,t.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,t.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,t.DEFAULT_ANSI_COLORS[5]),thi s.colors.ansi[6]=this._parseColor(e.cyan,t.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,t.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},e.prototype._parseColor=function(e,t,r){if(void 0===r&&(r=this.allowTransparency),void 0===e)return t;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,"string"!=typeof this._ctx.fillStyle)r eturn console.warn("Color: "+e+" is invalid using fallback "+t.css),t;this._ctx.fillRect(0,0,1,1);var n=this._ctx.getImageData(0,0,1,1).data;if(255!==n[3]){if(!r)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+t.css+"."),t;var o=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map((function(e){return Number(e)})),s=o[0],a=o[1],c=o[2],l=o[3],h=Math.round(255*l);return{rgba:i.channels.toRgba(s,a,c,h),css:e}}return{css:this._ctx.fillStyle,rgba:i.channels.toRgba(n[0],n[1],n[2],n[3])}},e}();t.ColorManager=h},9631:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var e,t=[],r=0;r {Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0, t.addDisposableDomListener=function(e,t,r,i){e.addEventListener(t,r,i);var n=!1;return{dispose:function(){n||(n=!0,e.removeEventListener(t,r,i))}}}},3551:function(e,t,r){var i=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},n=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var o=r(8460),s=r(2585),a=function(){function e(e,t,r){this._bufferService=e,this._logService=t,this._unicodeService=r,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new o.EventEmitter,this._onHideLinkUnderline=new o.EventEmitter,this._onLinkTooltip=new o.EventEmitter,this._rowsToLinkify={start:voi d 0,end:void 0}}return Object.defineProperty(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},e.prototype.linkifyRows=function(t,r){var i=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=r):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,r)),this._mouseZoneManager.clearAll(t,r),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout((function(){return i._link ifyRows()}),e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var r=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,i=Math.ceil(2e3/this._bufferService.cols),n=this._bufferService.buffer.iterator(!1,t,r,i,i);n.hasNext();)for(var o=n.next(),s=0;s =0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t >9&511:void 0;r.validationCallback?r.validationCallback(a,(function(e){n._rowsTimeoutId||e&&n._addLink(l[1],l[0]-n._bufferService.buffer.ydisp,a,r,f)})):c._addLink(l[1],l[0]-c._bufferService.buffer.ydisp,a,r,f)},c=this;null!==(i=o.exec(t))&&"break"!==a(););},e.prototype._addLink=function(e,t,r,i,n){var o=this;if(this._mouseZoneManager&&this._element){var s=this._unicodeService.getStringCellWidth(r),a=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),h=(a+s)%this._bufferService.cols,u=l+Math.floor((a+s)/this._bufferService.cols);0===h&&(h=this._bufferService.cols,u--),this._mouseZoneManager.add(new c(a+1,l+1,h+1,u+1,(function(e){if(i.handler)return i.handler(e,r);var t=window.open();t?(t.opener=null,t.location.href=r):console.warn("Opening link blocked as opener could not be cleared")}),(function(){o._onShowLinkUnderline.fire(o._createLinkHoverEve nt(a,l,h,u,n)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(a,l,h,u,n)),i.hoverTooltipCallback&&i.hoverTooltipCallback(e,r,{start:{x:a,y:l},end:{x:h,y:u}})}),(function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(a,l,h,u,n)),o._element.classList.remove("xterm-cursor-pointer"),i.hoverLeaveCallback&&i.hoverLeaveCallback()}),(function(e){return!i.willLinkActivate||i.willLinkActivate(e,r)})))}},e.prototype._createLinkHoverEvent=function(e,t,r,i,n){return{x1:e,y1:t,x2:r,y2:i,cols:this._bufferService.cols,fg:n}},e._timeBeforeLatency=200,e=i([n(0,s.IBufferService),n(1,s.ILogService),n(2,s.IUnicodeService)],e)}();t.Linkifier=a;var c=function(e,t,r,i,n,o,s,a,c){this.x1=e,this.y1=t,this.x2=r,this.y2=i,this.clickCallback=n,this.hoverCallback=o,this.tooltipCallback=s,this.leaveCallback=a,this.willLinkActivate=c};t.MouseZone=c},6465:function(e,t,r){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototype Of||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},s=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var a=r(2585),c=r(8460),l=r(844),h=r(3656),u=function(e){function t(t){var r=e.call(this)||this;return r._b ufferService=t,r._linkProviders=[],r._linkCacheDisposables=[],r._isMouseOut=!0,r._activeLine=-1,r._onShowLinkUnderline=r.register(new c.EventEmitter),r._onHideLinkUnderline=r.register(new c.EventEmitter),r.register((0,l.getDisposeArrayDisposable)(r._linkCacheDisposables)),r}return n(t,e),Object.defineProperty(t.prototype,"currentLink",{get:function(){return this._currentLink},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),t.prototype.registerLinkProvider=function(e){var t=this;return this._linkProviders.push(e),{dispose:function(){var r=t._linkProviders.indexOf(e);-1!==r&&t._linkProviders.splice(r,1)}}},t.prototype.attachToDom=function(e,t,r){var i=this;this._element=e,this._mouseService=t,this._renderService=r,thi s.register((0,h.addDisposableDomListener)(this._element,"mouseleave",(function(){i._isMouseOut=!0,i._clearCurrentLink()}))),this.register((0,h.addDisposableDomListener)(this._element,"mousemove",this._onMouseMove.bind(this))),this.register((0,h.addDisposableDomListener)(this._element,"click",this._onClick.bind(this)))},t.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(t){this._isMouseOut=!1;for(var r=e.composedPath(),i=0;i e?this._bufferService.cols:s.link.range.end.x,l=a;l<=c;l++){if(r.has(l)){n.splice(o--,1);break}r.add(l)}}},t.prototype._checkLinkProviderResult=function(e,t,r){var i,n=this;if(!this._activeProviderReplies)return r;for(var o=this._activeProviderReplies.get(e),s=!1,a=0;a =e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,(0,l.disposeArray)(this._linkCacheDisposables))},t.prototype._handleNewLink=function(e){var t=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var r=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);r&&this._linkAtPosition(e.link,r)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineP roperties(e.link.decorations,{pointerCursor:{get:function(){var e,r;return null===(r=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===r?void 0:r.decorations.pointerCursor},set:function(e){var r,i;(null===(r=t._currentLink)||void 0===r?void 0:r.state)&&t._currentLink.state.decorations.pointerCursor!==e&&(t._currentLink.state.decorations.pointerCursor=e,t._currentLink.state.isHovered&&(null===(i=t._element)||void 0===i||i.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:function(){var e,r;return null===(r=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===r?void 0:r.decorations.underline},set:function(r){var i,n,o;(null===(i=t._currentLink)||void 0===i?void 0:i.state)&&(null===(o=null===(n=t._currentLink)||void 0===n?void 0:n.state)||void 0===o?void 0:o.decorations.underline)!==r&&(t._currentLink.state.decorations.underline=r,t._currentLink.state.isHovered&&t._fireUnderlineEvent(e.link,r))}}}),this._renderService&&this._linkCacheDisposables.pus h(this._renderService.onRenderedBufferChange((function(e){var r=0===e.start?0:e.start+1+t._bufferService.buffer.ydisp;t._clearCurrentLink(r,e.end+1+t._bufferService.buffer.ydisp)}))))}},t.prototype._linkHover=function(e,t,r){var i;(null===(i=this._currentLink)||void 0===i?void 0:i.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(r,t.text)},t.prototype._fireUnderlineEvent=function(e,t){var r=e.range,i=this._bufferService.buffer.ydisp,n=this._createLinkUnderlineEvent(r.start.x-1,r.start.y-i-1,r.end.x,r.end.y-i-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(n)},t.prototype._linkLeave=function(e,t,r){var i;(null===(i=this._currentLink)||void 0===i?void 0:i.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this ._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(r,t.text)},t.prototype._linkAtPosition=function(e,t){var r=e.range.start.y===e.range.end.y,i=e.range.start.y t.y;return(r&&e.range.start.x<=t.x&&e.range.end.x>=t.x||i&&e.range.end.x>=t.x||n&&e.range.start.x<=t.x||i&&n)&&e.range.start.y<=t.y&&e.range.end.y>=t.y},t.prototype._positionFromMouseEvent=function(e,t,r){var i=r.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(i)return{x:i[0],y:i[1]+this._bufferService.buffer.ydisp}},t.prototype._createLinkUnderlineEvent=function(e,t,r,i,n){return{x1:e,y1:t,x2:r,y2:i,cols:this._bufferService.cols,fg:n}},o([s(0,a.IBufferService)],t)}(l.Disposable);t.Linkifier2=u},9042:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},6954:function(e,t,r){var i, n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},s=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var a=r(844),c=r(3656),l=r(4725) ,h=r(2585),u=function(e){function t(t,r,i,n,o,s){var a=e.call(this)||this;return a._element=t,a._screenElement=r,a._bufferService=i,a._mouseService=n,a._selectionService=o,a._optionsService=s,a._zones=[],a._areZonesActive=!1,a._lastHoverCoords=[void 0,void 0],a._initialSelectionLength=0,a.register((0,c.addDisposableDomListener)(a._element,"mousedown",(function(e){return a._onMouseDown(e)}))),a._mouseMoveListener=function(e){return a._onMouseMove(e)},a._mouseLeaveListener=function(e){return a._onMouseLeave(e)},a._clickListener=function(e){return a._onClick(e)},a}return n(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var r=0;r e&&i.y1<=t+1||i.y2>e&&i.y2<=t+1||i.y1 t+1)&&(this._currentZone&&thi s._currentZone===i&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(r--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,r=this._findZoneEventAt(e);r!==this._currentZone&&(this._cur rentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),r&&(this._currentZone=r,r.hoverCallback&&r.hoverCallback(e),this._tooltipTimeout=window.setTimeout((function(){return t._onTooltip(e)}),this._optionsService.options.linkTooltipHoverDuration)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);null==t||t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var t=this._findZoneEventAt(e);(null==t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),r=this._getSelectionLength();t&&r===this._initialSelectionLength&&(t. clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var r=t[0],i=t[1],n=0;n =o.x1&&r =o.x1||i===o.y2&&r o.y1&&i {Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var r=function(){function e(e){this._renderCallback=e}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.refresh=function(e,t,r){var i=this;this._r owCount=r,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){return i._innerRefresh()})))},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(e,t)}},e}();t.RenderDebouncer=r},5596:function(e,t,r){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentDevicePixelRatio=window.devicePixelRatio,t}return n(t,e),t.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearListener()},t.prototype._updateDpr=function(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this ._resolutionMediaMatchList.addListener(this._outerListener))},t.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},t}(r(844).Disposable);t.ScreenDprMonitor=o},3236:function(e,t,r){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var o=r(2950),s=r(1680),a=r(3614),c=r(2584),l=r(5435),h=r(352 5),u=r(3551),f=r(9312),_=r(6114),d=r(3656),p=r(9042),v=r(357),g=r(6954),y=r(4567),m=r(1296),b=r(7399),S=r(8460),C=r(8437),w=r(5680),L=r(3230),E=r(4725),x=r(428),A=r(8934),M=r(6465),k=r(5114),R=r(8969),T=r(4774),B=r(4269),O="undefined"!=typeof window?window.document:null,D=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,t)||this;return r.browser=_,r._keyDownHandled=!1,r._keyPressHandled=!1,r._unprocessedDeadKey=!1,r._onCursorMove=new S.EventEmitter,r._onKey=new S.EventEmitter,r._onRender=new S.EventEmitter,r._onSelectionChange=new S.EventEmitter,r._onTitleChange=new S.EventEmitter,r._onBell=new S.EventEmitter,r._onFocus=new S.EventEmitter,r._onBlur=new S.EventEmitter,r._onA11yCharEmitter=new S.EventEmitter,r._onA11yTabEmitter=new S.EventEmitter,r._setup(),r.linkifier=r._instantiationService.createInstance(u.Linkifier),r.linkifier2=r.register(r._instantiationService.createInstance(M.Linkifier2)),r.register(r._inputHandler.onRequestBell((function(){return r.bell()}))),r. register(r._inputHandler.onRequestRefreshRows((function(e,t){return r.refresh(e,t)}))),r.register(r._inputHandler.onRequestSendFocus((function(){return r._reportFocus()}))),r.register(r._inputHandler.onRequestReset((function(){return r.reset()}))),r.register(r._inputHandler.onRequestWindowsOptionsReport((function(e){return r._reportWindowsOptions(e)}))),r.register(r._inputHandler.onAnsiColorChange((function(e){return r._changeAnsiColor(e)}))),r.register((0,S.forwardEvent)(r._inputHandler.onCursorMove,r._onCursorMove)),r.register((0,S.forwardEvent)(r._inputHandler.onTitleChange,r._onTitleChange)),r.register((0,S.forwardEvent)(r._inputHandler.onA11yChar,r._onA11yCharEmitter)),r.register((0,S.forwardEvent)(r._inputHandler.onA11yTab,r._onA11yTabEmitter)),r.register(r._bufferService.onResize((function(e){return r._afterResize(e.cols,e.rows)}))),r}return n(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),O bject.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBell",{get:function(){return this._onBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Ob ject.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),t.prototype._changeAnsiColor=function(e){var t,r;if(this._colorManager){for(var i=0,n=e.colors;i
=r)return this.interim[0]=i,this.interim[1]=n,a;if(128!=(192&(o=e[g++]))){g--;continue}if((c=(15&i)<<12|(63&n)<<6|63&o)<2048||c>=55296&&c<=57343||65279===c)continue;t[a++]=c}else if(240==(248&i)){if(g>=r)return this.interim[0]=i,a;if(128!=(192&(n=e[g++]))){g--;continue}if(g>=r)return this.interim[0]=i,this.interim[1]=n,a;if(128!=(192&(o=e[g++]))){g--;continue}if(g>=r)return this.interim[0]=i,this.interim[1]=n,this.interim[2]=o,a;if(128!=(192&(s=e[g++]))){g--;continue}if((c=(7&i)<<18|(63&n)<<12|(63&o)<<6|63&s)<65536||c>1114111)continue;t[a++]=c}}return a},e}();t.Utf8ToUtf32=i},225:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var i,n=r(8273),o=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2 433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[69 72,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],s=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],a=function(){function e(){if(this.version="6",!i){i=new Uint8Array(65536),(0,n.fill)(i,1),i[0]=0,(0,n.fill)(i,0,1,32),(0,n.fill)(i,0,127,160),(0,n.fill)(i,2,4352,4448),i[9001]=2,i[9002]=2,(0,n.fill)(i,2,11904,42192),i[12351]=1,(0,n.fill)(i,2,44032,55204),(0,n.fill)(i,2,63744,64256),(0,n.fill)(i,2,65040,65050),(0,n.fill)(i,2,65072,65136),(0,n.fill)(i,2,65280,65377),(0,n.fill)(i,2,65504,65511);for(var e=0;e
t[n][1])return!1;for(;n>=i;)if(e>t[r=i+n>>1][1])i=r+1;else{if(!(e =131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=a},5981:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var r="undefined"==typeof queueMicrotask?function(e){Promise.resolve().then(e)}:queueMicrotask,i=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0,this._isSyncWriting=!1,this._syncCalls=0}return e.prototype.writeSync=function(e,t){if(void 0!==t&&this._syncCalls>t)this._syncCalls=0;else if(this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(void 0),this._syncCalls++,!this._isSyncWriting){var r;for(this._isSyncWriting=!0;r=this._writeBuffer.shift();){this._action(r);var i=this._callbacks.shift();i&&i()}this._pendingData=0,this._bufferOffset=2147483647,this._isSyncWriting=!1,this._syncCalls=0}} ,e.prototype.write=function(e,t){var r=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return r._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(e,t){var i=this;void 0===e&&(e=0),void 0===t&&(t=!0);for(var n=e||Date.now();this._writeBuffer.length>this._bufferOffset;){var o=this._writeBuffer[this._bufferOffset],s=this._action(o,t);if(s)return void s.catch((function(e){return r((function(){throw e})),Promise.resolve(!1)})).then((function(e){return Date.now()-n>=12?setTimeout((function(){return i._innerWrite(0,e)})):i._innerWrite(n,e)}));var a=this._callbacks[this._bufferOffset];if(a&&a(),this._bufferOffset++,this._pendingData-=o.length,Date.now()-n>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bu fferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return i._innerWrite()}))):(this._writeBuffer.length=0,this._callbacks.length=0,this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=i},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var i=r(482),n=r(8742),o=r(5770),s=[],a=function(){function e(){this._handlers=Object.create(null),this._active=s,this._ident=0,this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=s},e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var r=this._handlers[e];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},e.protot ype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){if(this._active.length)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhook(!1);this._stack.paused=!1,this._active=s,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||s,this._active.length)for(var r=this._active.length-1;r>=0;r--)this._active[r].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,r){if(this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].put(e,t,r);else this._handlerFb(this._ident,"PUT",(0,i.utf32ToString)(e,t,r))},e.prototype.unhook=function(e,t){if(void 0===t&&(t=!0),this._active.length){var r=!1,i=this._active.length-1,n=!1;if(this._stack.paused&&(i=this._stack.loopPosition-1,r=t,n=this._stack.fallThrough,this._stack.paused=!1),!n&&!1== =r){for(;i>=0&&!0!==(r=this._active[i].unhook(e));i--)if(r instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!1,r;i--}for(;i>=0;i--)if((r=this._active[i].unhook(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!0,r}else this._handlerFb(this._ident,"UNHOOK",e);this._active=s,this._ident=0},e}();t.DcsParser=a;var c=new n.Params;c.addParam(0);var l=function(){function e(e){this._handler=e,this._data="",this._params=c,this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.length>1||e.params[0]?e.clone():c,this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,r){this._hitLimit||(this._data+=(0,i.utf32ToString)(e,t,r),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t=this,r=!1;if(this._hitLimit)r=!1;else if(e&&(r=this._handler(this._data,this._params))instanceof Promise)return r.then((function(e){return t._pa rams=c,t._data="",t._hitLimit=!1,e}));return this._params=c,this._data="",this._hitLimit=!1,r},e}();t.DcsHandler=l},2015:function(e,t,r){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var o=r(844),s=r(8273),a=r(8742),c=r(6242),l=r(6351),h=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){(0,s.fill)(this.table,e<<4|t)},e.prototype.add=function(e,t,r,i){this.table[t<<8|e]=r<<4|i},e.prototype.ad dMany=function(e,t,r,i){for(var n=0;n 1)throw new Error("only one byte as prefix supported");if((r=e.prefix.charCodeAt(0))&&60>r||r>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var i=0;i n||n>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");r<<=8,r|=n}}if(1!==e.final.length)throw new Error("final must be a single byte");var o=e.final.charCodeAt(0);if(t[0]>o||o>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(r<<=8)|o},r.prototype.identToString=funct ion(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},r.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},r.prototype.setPrintHandler=function(e){this._printHandler=e},r.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},r.prototype.registerEscHandler=function(e,t){var r=this._identifier(e,[48,126]);void 0===this._escHandlers[r]&&(this._escHandlers[r]=[]);var i=this._escHandlers[r];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},r.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},r.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},r.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},r.prototype.cl earExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},r.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},r.prototype.registerCsiHandler=function(e,t){var r=this._identifier(e);void 0===this._csiHandlers[r]&&(this._csiHandlers[r]=[]);var i=this._csiHandlers[r];return i.push(t),{dispose:function(){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}},r.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},r.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},r.prototype.registerDcsHandler=function(e,t){return this._dcsParser.registerHandler(this._identifier(e),t)},r.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},r.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},r.prototype.registerOscHandler=function(e,t){return this._oscParser.registerHandler(e,t)} ,r.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},r.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},r.prototype.setErrorHandler=function(e){this._errorHandler=e},r.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},r.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0,0!==this._parseStack.state&&(this._parseStack.state=2,this._parseStack.handlers=[])},r.prototype._preserveStack=function(e,t,r,i,n){this._parseStack.state=e,this._parseStack.handlers=t,this._parseStack.handlerPos=r,this._parseStack.transition=i,this._parseStack.chunkPos=n},r.prototype.parse=function(e,t,r){var i,n=0,o=0,s=0;if(this._parseStack.state)if(2===this._parseStack.state)this._parseStack.state=0,s=this._parseStack.chunkPos+1;else{if(void 0===r||1===this._parseStack.state)throw thi s._parseStack.state=1,new Error("improper continuation due to previous async handler, giving up parsing");var a=this._parseStack.handlers,c=this._parseStack.handlerPos-1;switch(this._parseStack.state){case 3:if(!1===r&&c>-1)for(;c>=0&&!0!==(i=a[c](this._params));c--)if(i instanceof Promise)return this._parseStack.handlerPos=c,i;this._parseStack.handlers=[];break;case 4:if(!1===r&&c>-1)for(;c>=0&&!0!==(i=a[c]());c--)if(i instanceof Promise)return this._parseStack.handlerPos=c,i;this._parseStack.handlers=[];break;case 6:if(n=e[this._parseStack.chunkPos],i=this._dcsParser.unhook(24!==n&&26!==n,r))return i;27===n&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0;break;case 5:if(n=e[this._parseStack.chunkPos],i=this._oscParser.end(24!==n&&26!==n,r))return i;27===n&&(this._parseStack.transition|=1),this._params.reset(),this._params.addParam(0),this._collect=0}this._parseStack.state=0,s=this._parseStack.chunkPos+1,this.precedingCodepoint=0,this .currentState=15&this._parseStack.transition}for(var l=s;l >4){case 2:for(var h=l+1;;++h){if(h>=t||(n=e[h])<32||n>126&&n=t||(n=e[h])<32||n>126&&n=t||(n=e[h])<32||n>126&&n=t||(n=e[h])<32||n>126&&n=0&&!0!==(i=a[f](this._params));f--)if(i instanceof Promise)return this._preserveStack(3,a,f,o,l),i;f<0&&this._csiHandlerFb(this._collect<<8|n,this._params),this.prece dingCodepoint=0;break;case 8:do{switch(n){case 59:this._params.addParam(0);break;case 58:this._params.addSubParam(-1);break;default:this._params.addDigit(n-48)}}while(++l 47&&n<60);l--;break;case 9:this._collect<<=8,this._collect|=n;break;case 10:for(var _=this._escHandlers[this._collect<<8|n],d=_?_.length-1:-1;d>=0&&!0!==(i=_[d]());d--)if(i instanceof Promise)return this._preserveStack(4,_,d,o,l),i;d<0&&this._escHandlerFb(this._collect<<8|n),this.precedingCodepoint=0;break;case 11:this._params.reset(),this._params.addParam(0),this._collect=0;break;case 12:this._dcsParser.hook(this._collect<<8|n,this._params);break;case 13:for(var p=l+1;;++p)if(p>=t||24===(n=e[p])||26===n||27===n||n>127&&n=t||(n=e[v])<32||n>127&&n{Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var i=r(5770),n=r(482),o=[],s=function(){function e(){this._state=0,this._active=o,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}return e.prototype.registerHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var r=this._handlers[e];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=func tion(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){},this._active=o},e.prototype.reset=function(){if(2===this._state)for(var e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].end(!1);this._stack.paused=!1,this._active=o,this._id=-1,this._state=0},e.prototype._start=function(){if(this._active=this._handlers[this._id]||o,this._active.length)for(var e=this._active.length-1;e>=0;e--)this._active[e].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,r){if(this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].put(e,t,r);else this._handlerFb(this._id,"PUT",(0,n.utf32ToString)(e,t,r))},e.prototype.start=function(){this.reset(),this._state=1},e.prototype.put=function(e,t,r){if(3!==this._state){if(1===this._state)for(;t 0&&this._put(e,t,r)}},e.prototype.end=function(e,t){if(void 0===t&&(t=!0),0!==this._state){if(3!==this._state)if(1===this._state&&this._start(),this._active.length){var r=!1,i=this._active.length-1,n=!1;if(this._stack.paused&&(i=this._stack.loopPosition-1,r=t,n=this._stack.fallThrough,this._stack.paused=!1),!n&&!1===r){for(;i>=0&&!0!==(r=this._active[i].end(e));i--)if(r instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!1,r;i--}for(;i>=0;i--)if((r=this._active[i].end(!1))instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=i,this._stack.fallThrough=!0,r}else this._handlerFb(this._id,"END",e);this._active=o,this._id=-1,this._state=0}},e}();t.OscParser=s;var a=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,r){this._hitLimit||(this. _data+=(0,n.utf32ToString)(e,t,r),this._data.length>i.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t=this,r=!1;if(this._hitLimit)r=!1;else if(e&&(r=this._handler(this._data))instanceof Promise)return r.then((function(e){return t._data="",t._hitLimit=!1,e}));return this._data="",this._hitLimit=!1,r},e}();t.OscHandler=a},8742:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var r=2147483647,i=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var r=new e;if(!t.length)return r;for(var i=t[0]instanceof Array?1:0;i >8,i=255&this._subParamsIdx[t];i-r>0&&e.push(Array.prototype.slice.call(this._subParams,r,i))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.lengt h]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>r?r:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>r?r:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,r=255&this._subParamsIdx[e];return r-t>0?this._subParams.subarray(t,r):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t >8,i=255&this._subParamsIdx[t];i-r>0&&(e[t]=this._subParams.slice(r,i))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDi gits)){var i=this._digitIsSub?this._subParams:this.params,n=i[t-1];i[t-1]=~n?Math.min(10*n+e,r):e}},e}();t.Params=i},5741:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var r=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var r=this,i={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(i),t.dispose=function(){return r._wrappedAddonDispose(i)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,r=0;r {Object.defineProperty(t,"__esModule",{value:!0}),t.BufferApiView=void 0;var i=r(3785),n=r(511),o=function(){function e(e ,t){this._buffer=e,this.type=t}return e.prototype.init=function(e){return this._buffer=e,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new i.BufferLineApiView(t)},e.prototype.getNullCell=function(){return new n.CellData},e}();t.BufferApiView=o},3785:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLineApiView=void 0;var i=r(511),n=function(){functi on e(e){this._line=e}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new i.CellData)},e.prototype.translateToString=function(e,t,r){return this._line.translateToString(e,t,r)},e}();t.BufferLineApiView=n},8285:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BufferNamespaceApi=void 0;var i=r(8771),n=r(8460),o=function(){function e(e){var t=this;this._core=e,this._onBufferChange=new n.EventEmitter,this._normal=new i.BufferApiView(this._core.buffers.normal,"normal"),this._alternate=new i.BufferApiView(this._core.buffers.alt,"alternate"),this._core.buffers.onBufferActivate((function(){return t._onBufferChange.fire(t.active)}))}return Object.defineProperty( e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._core.buffers.active===this._core.buffers.normal)return this.normal;if(this._core.buffers.active===this._core.buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._core.buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._core.buffers.alt)},enumerable:!1,configurable:!0}),e}();t.BufferNamespaceApi=o},7975:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ParserApi=void 0;var r=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.registerCsiHandler(e,(function(e){return t(e.toArray())}))},e .prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.registerDcsHandler(e,(function(e,r){return t(e,r.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.registerEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.registerOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}();t.ParserApi=r},7090:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeApi=void 0;var r=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.pr ototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!1,configurable:!0}),e}();t.UnicodeApi=r},744:function(e,t,r){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))| |s);return o>3&&s&&Object.defineProperty(t,r,s),s},s=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var a=r(2585),c=r(5295),l=r(8460),h=r(844);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var u=function(e){function r(r){var i=e.call(this)||this;return i._optionsService=r,i.isUserScrolling=!1,i._onResize=new l.EventEmitter,i._onScroll=new l.EventEmitter,i.cols=Math.max(r.options.cols||0,t.MINIMUM_COLS),i.rows=Math.max(r.options.rows||0,t.MINIMUM_ROWS),i.buffers=new c.BufferSet(r,i),i}return n(r,e),Object.defineProperty(r.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),r.prototype.dispose=fu nction(){e.prototype.dispose.call(this),this.buffers.dispose()},r.prototype.resize=function(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:t})},r.prototype.reset=function(){this.buffers.reset(),this.isUserScrolling=!1},r.prototype.scroll=function(e,t){void 0===t&&(t=!1);var r,i=this.buffer;(r=this._cachedBlankLine)&&r.length===this.cols&&r.getFg(0)===e.fg&&r.getBg(0)===e.bg||(r=i.getBlankLine(e,t),this._cachedBlankLine=r),r.isWrapped=t;var n=i.ybase+i.scrollTop,o=i.ybase+i.scrollBottom;if(0===i.scrollTop){var s=i.lines.isFull;o===i.lines.length-1?s?i.lines.recycle().copyFrom(r):i.lines.push(r.clone()):i.lines.splice(o+1,0,r.clone()),s?this.isUserScrolling&&(i.ydisp=Math.max(i.ydisp-1,0)):(i.ybase++,this.isUserScrolling||i.ydisp++)}else{var a=o-n+1;i.lines.shiftElements(n+1,a-1,-1),i.lines.set(o,r.clone())}this.isUserScrolling||(i.ydisp=i.ybase),this._onScroll.fire(i.ydisp)},r.prototype.scrollLines=function (e,t,r){var i=this.buffer;if(e<0){if(0===i.ydisp)return;this.isUserScrolling=!0}else e+i.ydisp>=i.ybase&&(this.isUserScrolling=!1);var n=i.ydisp;i.ydisp=Math.max(Math.min(i.ydisp+e,i.ybase),0),n!==i.ydisp&&(t||this._onScroll.fire(i.ydisp))},r.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},r.prototype.scrollToTop=function(){this.scrollLines(-this.buffer.ydisp)},r.prototype.scrollToBottom=function(){this.scrollLines(this.buffer.ybase-this.buffer.ydisp)},r.prototype.scrollToLine=function(e){var t=e-this.buffer.ydisp;0!==t&&this.scrollLines(t)},o([s(0,a.IOptionsService)],r)}(h.Disposable);t.BufferService=u},7994:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var r=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},e.prototype.setgCharset=function(e,t){this._cha rsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=r},1753:function(e,t,r){var i=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},n=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var o=r(2585),s=r(8460),a={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function c(e,t){var r=(e.ctrl?16:0)|(e.shift?4 :0)|(e.alt?8:0);return 4===e.button?(r|=64,r|=e.action):(r|=3&e.button,4&e.button&&(r|=64),8&e.button&&(r|=128),32===e.action?r|=32:0!==e.action||t||(r|=3)),r}var l=String.fromCharCode,h={DEFAULT:function(e){var t=[c(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"[<"+c(e,!0)+";"+e.col+";"+e.row+t}},u=function(){function e(e,t){this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new s.EventEmitter,this._lastEvent=null;for(var r=0,i=Object.keys(a);r =this._bufferService.cols||e.row<0||e.row>=this._bufferService. rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},i([n(0,o.IBufferService),n(1,o.ICoreService)],e)}();t.CoreMouseService=u},6975:function(e,t,r){var i,n=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&fu nction(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},s=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var a=r(2585),c=r(8460),l=r(1439),h=r(844),u=Object.freeze({insertMode:!1}),f=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,brack etedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),_=function(e){function t(t,r,i,n){var o=e.call(this)||this;return o._bufferService=r,o._logService=i,o._optionsService=n,o.isCursorInitialized=!1,o.isCursorHidden=!1,o._onData=o.register(new c.EventEmitter),o._onUserInput=o.register(new c.EventEmitter),o._onBinary=o.register(new c.EventEmitter),o._scrollToBottom=t,o.register({dispose:function(){return o._scrollToBottom=void 0}}),o.modes=(0,l.clone)(u),o.decPrivateModes=(0,l.clone)(f),o}return n(t,e),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.modes=(0,l.clone)(u),this.decPrivateModes=(0,l.clone)(f)},t.prot otype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var r=this._bufferService.buffer;r.ybase!==r.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},t.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},o([s(1,a.IBufferService),s(2,a.ILogService),s(3,a.IOptionsService)],t)}(h.Disposable);t.CoreService=_},3730:function(e,t,r){var i=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3 ?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},n=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var o=r(2585),s=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){e this._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var r=e;e=t,t=r}e this._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},i([n(0,o.IBufferService)],e)}();t.DirtyRowService=s},4348:function (e,t,r){var i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n 0?n[0].index:t.length;if(t.length!==u)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(u+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,i([void 0],i(i([],t,!0),s,!0),!1)))},e}();t.InstantiationService=a},7866:function(e,t,r){var i=this&&this.__decorate||function(e,t,r,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,i);else for(var a= e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,r,s):n(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},n=this&&this.__param||function(e,t){return function(r,i){t(r,i,e)}},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var i,n=0,o=t.length;n
o.H3?e:n}),"")}function a(e){return e.getAllEntries().map((function(e){var t=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e,2),n=t[0],r=t[1],i=encodeURIComponent(n)+"="+encodeURIComponent(r.value);return void 0!==r.metadata&&(i+=o.bO+r.metadata.toString()),i}))}function u(e){var t=e.split(o.bO);if(!(t.length<=0)){var n=t.shift();if(n){var i=n.split(o.Vo);if(2===i.length){var a,u=decodeURIComponent(i[0].trim()),s=decodeURIComponent(i[1].trim());return t.length>0&&(a=(0,r.u)(t.join(o.bO))),{key:u,value:s,metadata:a}}}}}function s(e){return"string"!=typeof e||0===e.length?{}:e.split(o.bU).map((function(e){return u(e)})).filter((function(e){return void 0!==e&&e.value.length>0})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}},9860:(e,t,n)=>{"use s
{"use strict";n.d(t,{K:()=>w});var r,o,i=n(9689),a=n(8402),u=n(3219),s=n(695),l=n(9207),c=n(6793),f=n(4688),p=n(7061),d=n(3523),h=n(2314),m=n(7423),v=function(){return v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n
{"use strict";n.d(t,{V:()=>_});var r,o=n(695),i=n(9689),a=n(8402),u=n(2734),s=n(5894),l=n(8051),c=n(2845),f=n(8184),p=n(4688),d=n(7061);!function(e){e.COMPONENT="component",e.HTTP_ERROR_NAME="http.error_name",e.HTTP_STATUS_T EXT="http.status_text"}(r||(r={}));var h,m=n(8431),v="0.34.0",y=n(5953),g=(h=function(e,t){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},h(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(e){function t(t){var n=e.call(this,"@opentelemetry/instrumentation-fetch",v,t)||this;return n.component="fetch",n.version=v,n.moduleName=n.component,n._usedResources=new WeakSet,n._tasksCount=0,n}return g(t,e),t.prototype.init=function(){},t.prototype._getConfig=function(){return this._config},t.prototype._addChildSpan=function(e,t){var n=this.tracer.startSpan("CORS Preflight",{startTime:t[p.S.FETCH_START]},o.g.setSpan(i.D.active(),e));this._getConfig().ignor eNetworkEvents||d.lx(n,t),n.end(t[p.S.RESPONSE_END])},t.prototype._addFinalSpanAttributes=function(e,t){var n=d.en(t.url);e.setAttribute(m.og.HTTP_STATUS_CODE,t.status),null!=t.statusText&&e.setAttribute(r.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(m.og.HTTP_HOST,n.host),e.setAttribute(m.og.HTTP_SCHEME,n.protocol.replace(":","")),e.setAttribute(m.og.HTTP_USER_AGENT,navigator.userAgent)},t.prototype._addHeaders=function(e,t){if(!d.n4(t,this._getConfig().propagateTraceHeaderCorsUrls)){var n={};return a.u.inject(i.D.active(),n),void(Object.keys(n).length>0&&this._diag.debug("headers inject skipped due to CORS policy"))}e instanceof Request||e.headers instanceof Headers?a.u.inject(i.D.active(),e.headers,{set:function(e,t,n){return e.set(t,"string"==typeof n?n:String(n))}}):(n={},a.u.inject(i.D.active(),n),e.headers=Object.assign({},n,e.headers||{}))},t.prototype._clearResources=function(){0===this._tasksCount&&this._getConfig().clearTimingResources&&(performance.clearResourceTimings( ),this._usedResources=new WeakSet)},t.prototype._createSpan=function(e,t){var n;if(void 0===t&&(t={}),!c.d(e,this._getConfig().ignoreUrls)){var o=(t.method||"GET").toUpperCase(),i="HTTP "+o;return this.tracer.startSpan(i,{kind:u.M.CLIENT,attributes:(n={},n[r.COMPONENT]=this.moduleName,n[m.og.HTTP_METHOD]=o,n[m.og.HTTP_URL]=e,n)})}this._diag.debug("ignoring span as url matches ignored url")},t.prototype._findResourceAndAddNetworkEvents=function(e,t,n){var r=t.entries;if(!r.length){if(!performance.getEntriesByType)return;r=performance.getEntriesByType("resource")}var o=d.RX(t.spanUrl,t.startTime,n,r,this._usedResources,"fetch");if(o.mainRequest){var i=o.mainRequest;this._markResourceAsUsed(i);var a=o.corsPreFlightRequest;a&&(this._addChildSpan(e,a),this._markResourceAsUsed(a)),this._getConfig().ignoreNetworkEvents||d.lx(e,i)}},t.prototype._markResourceAsUsed=function(e){this._usedResources.add(e)},t.prototype._endSpan=function(e,t,n){var r=this,o=f.Jt();this._addFinalSpanAttributes(e, n),setTimeout((function(){var n;null===(n=t.observer)||void 0===n||n.disconnect(),r._findResourceAndAddNetworkEvents(e,t,o),r._tasksCount--,r._clearResources(),e.end(o)}),300)},t.prototype._patchConstructor=function(){var e=this;return function(t){var n=e;return function(){for(var e=[],r=0;r =200&&t.status<400?n._endSpan(e,c,t):n._endSpan(e,c,{status:t.status,statusText:t.statusText,url:u})}function h(e,t,n){try{var r=n.clone(),o=n.clone(),i=r.body;if(i){var a=i.getReader(),u=function(){a.read().then((function(t){t.done?p(e,o):u()}),(function(t){f(e,t)}))};u()}else p(e,n)}finally{t(n)}}function m (e,t,n){try{f(e,n)}finally{t(n)}}return new Promise((function(e,r){return i.D.with(o.g.setSpan(i.D.active(),l),(function(){return n._addHeaders(s,u),n._tasksCount++,t.apply(a,s instanceof Request?[s]:[u,s]).then(h.bind(a,l,e),m.bind(a,l,r))}))}))}}},t.prototype._applyAttributesAfterFetch=function(e,t,n){var r=this,o=this._getConfig().applyCustomAttributesOnSpan;o&&(0,s._W)((function(){return o(e,t,n)}),(function(e){e&&r._diag.error("applyCustomAttributesOnSpan",e)}),!0)},t.prototype._prepareSpanData=function(e){var t=f.Jt(),n=[];if("function"!=typeof PerformanceObserver)return{entries:n,startTime:t,spanUrl:e};var r=new PerformanceObserver((function(t){t.getEntries().forEach((function(t){"fetch"===t.initiatorType&&t.name===e&&n.push(t)}))}));return r.observe({entryTypes:["resource"]}),{entries:n,observer:r,startTime:t,spanUrl:e}},t.prototype.enable=function(){(0,s.UW)(fetch)&&(this._unwrap(y.E,"fetch"),this._diag.debug("removing previous patch for constructor")),this._wrap(y.E,"fetch ",this._patchConstructor())},t.prototype.disable=function(){this._unwrap(y.E,"fetch"),this._usedResources=new WeakSet},t}(l.w)},2883:(e,t,n)=>{"use strict";n.d(t,{u:()=>b});var r,o=n(3523),i=n(2314),a=n(695),u=n(7423),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n {"use strict";n.d(t,{W:()=>E});var r,o=n(8402),i=n(9689),a=n(695),u=n(2734),s=n(5894),l=n(8051),c=n(9207),f=n(2845),p=n(8184),d=n(8431),h=n(7061),m=n(4688);!function(e){e.METHOD_OPEN="open",e.METHOD_SEND="send",e.EVENT_ABORT="abort",e.EVENT_ERROR="error",e.EVENT_LOAD="loaded",e.EVENT_TIMEOUT="timeout"}(r||(r={}));var v,y="0.34.0";!function(e){e.HTTP_STATUS_TEXT="http.status_text"}(v||(v={}));var g,_=(g=function(e,t){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},g(e,t)},function (e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),E=function(e){function t(t){var n=e.call(this,"@opentelemetry/instrumentation-xml-http-request",y,t)||this;return n.component="xml-http-request",n.version=y,n.moduleName=n.component,n._tasksCount=0,n._xhrMem=new WeakMap,n._usedResources=new WeakSet,n}return _(t,e),t.prototype.init=function(){},t.prototype._getConfig=function(){return this._config},t.prototype._addHeaders=function(e,t){var n=(0,h.en)(t).href;if(!(0,h.n4)(n,this._getConfig().propagateTraceHeaderCorsUrls)){var r={};return o.u.inject(i.D.active(),r),void(Object.keys(r).length>0&&this._diag.debug("headers inject skipped due to CORS policy"))}var a={};o.u.inject(i.D.active(),a),Object.keys(a).forEach((function(t){e.setRequestHeader(t,String(a[t]))}))},t.prototype._addChildSpan=function(e,t ){var n=this;i.D.with(a.g.setSpan(i.D.active(),e),(function(){var e=n.tracer.startSpan("CORS Preflight",{startTime:t[m.S.FETCH_START]});(0,h.lx)(e,t),e.end(t[m.S.RESPONSE_END])}))},t.prototype._addFinalSpanAttributes=function(e,t,n){if("string"==typeof n){var r=(0,h.en)(n);void 0!==t.status&&e.setAttribute(d.og.HTTP_STATUS_CODE,t.status),void 0!==t.statusText&&e.setAttribute(v.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(d.og.HTTP_HOST,r.host),e.setAttribute(d.og.HTTP_SCHEME,r.protocol.replace(":","")),e.setAttribute(d.og.HTTP_USER_AGENT,navigator.userAgent)}},t.prototype._applyAttributesAfterXHR=function(e,t){var n=this,r=this._getConfig().applyCustomAttributesOnSpan;"function"==typeof r&&(0,s._W)((function(){return r(e,t)}),(function(e){e&&n._diag.error("applyCustomAttributesOnSpan",e)}),!0)},t.prototype._addResourceObserver=function(e,t){var n=this._xhrMem.get(e);n&&"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&(n.createdResources={observe r:new PerformanceObserver((function(e){var r=e.getEntries(),o=(0,h.en)(t);r.forEach((function(e){"xmlhttprequest"===e.initiatorType&&e.name===o.href&&n.createdResources&&n.createdResources.entries.push(e)}))})),entries:[]},n.createdResources.observer.observe({entryTypes:["resource"]}))},t.prototype._clearResources=function(){0===this._tasksCount&&this._getConfig().clearTimingResources&&(c.t.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)},t.prototype._findResourceAndAddNetworkEvents=function(e,t,n,r,o){if(n&&r&&o&&e.createdResources){var i=e.createdResources.entries;i&&i.length||(i=c.t.getEntriesByType("resource"));var a=(0,h.RX)((0,h.en)(n).href,r,o,i,this._usedResources);if(a.mainRequest){var u=a.mainRequest;this._markResourceAsUsed(u);var s=a.corsPreFlightRequest;s&&(this._addChildSpan(t,s),this._markResourceAsUsed(s)),(0,h.lx)(t,u)}}},t.prototype._cleanPreviousSpanInformation=function(e){var t=this._xhrMem.get(e);if(t){var n=t.callbackToRemoveEve nts;n&&n(),this._xhrMem.delete(e)}},t.prototype._createSpan=function(e,t,n){var o;if(!(0,f.d)(t,this._getConfig().ignoreUrls)){var i="HTTP "+n.toUpperCase(),a=this.tracer.startSpan(i,{kind:u.M.CLIENT,attributes:(o={},o[d.og.HTTP_METHOD]=n,o[d.og.HTTP_URL]=t,o)});return a.addEvent(r.METHOD_OPEN),this._cleanPreviousSpanInformation(e),this._xhrMem.set(e,{span:a,spanUrl:t}),a}this._diag.debug("ignoring span as url matches ignored url")},t.prototype._markResourceAsUsed=function(e){this._usedResources.add(e)},t.prototype._patchOpen=function(){var e=this;return function(t){var n=e;return function(){for(var e=[],r=0;r {"use strict";n.d(t,{X:()=>a});var r=n(695),o=n(4630);function i(e){void 0===e&&(e=[]);for(var t=[],n=0,r=e.length;n {"use strict";n.d(t,{w:()=>f});var r,o=n(2314),i=n(695),a=n(4630),u=n(7423),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n {"use strict";function r(e,t,n){var r,o;try{o=e()}catch(e){r=e}finally{if(t(r,o),r&&!n)throw r;return o}}function o(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}n.d(t,{UW:()=>o,_W:()=>r})},7844:(e,t,n)=>{"use strict";n.d(t,{P:()=>S});var r=n(4859),o=n(5681),i=n(695),a=n(2711),u=(0,n(3219).Y)("OpenTelemetry Context Key B3 Debug Flag"),s="b3",l="x-b3-traceid",c="x-b3-spanid",f="x-b3-sampled",p="x-b3-flags",d=new Set([!0,"true","True","1",1]),h=new Set([!1,"false","False","0",0]);function m(e,t,n){return r=t.get(e,n),Array.isArray(r)?r[0]:r;var r}function v(e,t){return"1"===m(e,t,p)?"1":void 0}var y,g=function(){function e(){}return e.prototype.inject=function(e,t,n){var s=i.g.getSpanContext(e);if(s&&(0,a.BM)(s)&&!(0,r.Ll)(e)){var d=e.getValue(u);n.set(t,l,s.traceId),n.set(t,c,s.spanId),"1"===d?n.set(t,p,d):void 0!==s.traceFlags&&n.set(t,f,(o.r.SAMPLED&s.traceFlags)===o.r.SAMPLED?"1":"0")}},e.prototype.extract=function(e,t,n){var r,s=function(e,t){var n=m(e,t,l);return"string"==typeof n?n.padStart(32,"0"):""}(t,n),p=function(e,t){var n=m(e,t,c);return"string"==typeof n?n:""}(t,n),y=function(e,t){var n=m(e,t,f);return"1"===v(e,t)||d.has(n)?o.r.SAMPLED:void 0===n||h.has(n)?o.r.NONE:void 0}(t,n),g=v(t,n);return(0,a.jN)(s)&&(0,a.Lc)(p)&&((r=y)===o.r.SAMPLED||r===o.r.NONE)?(e=e.setValue(u,g),i.g.setSpanC ontext(e,{traceId:s,spanId:p,isRemote:!0,traceFlags:y})):e},e.prototype.fields=function(){return[l,c,p,f,"x-b3-parentspanid"]},e}(),_=/((?:[0-9a-f]{16}){1,2})-([0-9a-f]{16})(?:-([01d](?![0-9a-f])))?(?:-([0-9a-f]{16}))?/,E="0".repeat(16),b=new Set(["d","1"]),T=function(){function e(){}return e.prototype.inject=function(e,t,n){var o=i.g.getSpanContext(e);if(o&&(0,a.BM)(o)&&!(0,r.Ll)(e)){var l=e.getValue(u)||1&o.traceFlags,c=o.traceId+"-"+o.spanId+"-"+l;n.set(t,s,c)}},e.prototype.extract=function(e,t,n){var r=n.get(t,s),l=Array.isArray(r)?r[0]:r;if("string"!=typeof l)return e;var c=l.match(_);if(!c)return e;var f=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(c,4),p=f[1],d=f[2],h=f[3],m=function(e){return 32===e.length?e:""+E+e}(p);if(!(0,a.jN)(m)||!(0,a.Lc )(d))return e;var v=function(e){return e&&b.has(e)?o.r.SAMPLED:o.r.NONE}(h);return"d"===h&&(e=e.setValue(u,h)),i.g.setSpanContext(e,{traceId:m,spanId:d,isRemote:!0,traceFlags:v})},e.prototype.fields=function(){return[s]},e}();!function(e){e[e.SINGLE_HEADER=0]="SINGLE_HEADER",e[e.MULTI_HEADER=1]="MULTI_HEADER"}(y||(y={}));var S=function(){function e(e){void 0===e&&(e={}),this._b3MultiPropagator=new g,this._b3SinglePropagator=new T,e.injectEncoding===y.MULTI_HEADER?(this._inject=this._b3MultiPropagator.inject,this._fields=this._b3MultiPropagator.fields()):(this._inject=this._b3SinglePropagator.inject,this._fields=this._b3SinglePropagator.fields())}return e.prototype.inject=function(e,t,n){(0,r.Ll)(e)||this._inject(e,t,n)},e.prototype.extract=function(e,t,n){var r=n.get(t,s);return(Array.isArray(r)?r[0]:r)?this._b3SinglePropagator.extract(e,t,n):this._b3MultiPropagator.extract(e,t,n)},e.prototype.fields=function(){return this._fields},e}()},7402:(e,t,n)=>{"use strict";n.d(t,{_:()=>a}); var r,o=n(9876),i=((r={})[o.R9.TELEMETRY_SDK_NAME]="opentelemetry",r[o.R9.PROCESS_RUNTIME_NAME]="browser",r[o.R9.TELEMETRY_SDK_LANGUAGE]=o.Te.WEBJS,r[o.R9.TELEMETRY_SDK_VERSION]="1.8.0",r),a=function(){function e(e){this.attributes=e}return e.empty=function(){return e.EMPTY},e.default=function(){var t;return new e(((t={})[o.R9.SERVICE_NAME]="unknown_service",t[o.R9.TELEMETRY_SDK_LANGUAGE]=i[o.R9.TELEMETRY_SDK_LANGUAGE],t[o.R9.TELEMETRY_SDK_NAME]=i[o.R9.TELEMETRY_SDK_NAME],t[o.R9.TELEMETRY_SDK_VERSION]=i[o.R9.TELEMETRY_SDK_VERSION],t))},e.prototype.merge=function(t){return t&&Object.keys(t.attributes).length?new e(Object.assign({},this.attributes,t.attributes)):this},e.EMPTY=new e({}),e}()},4084:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(8184),o=n(6586),i=function(){function e(){}return e.prototype.export=function(e,t){return this._sendSpans(e,t)},e.prototype.shutdown=function(){return this._sendSpans([]),Promise.resolve()},e.prototype._exportInfo=function(e){return{traceId:e.sp anContext().traceId,parentId:e.parentSpanId,name:e.name,id:e.spanContext().spanId,kind:e.kind,timestamp:(0,r.ji)(e.startTime),duration:(0,r.ji)(e.duration),attributes:e.attributes,status:e.status,events:e.events,links:e.links}},e.prototype._sendSpans=function(e,t){var n,r;try{for(var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),a=i.next();!a.done;a=i.next()){var u=a.value;console.dir(this._exportInfo(u),{depth:3})}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}if(t)return t({code:o.I.SUCCESS})},e}()},8793:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});var r,o=n(2314),i=n(5681),a=n(9689),u=n(1108),s=n(7922),l=n(4859),c=n(6586),f=n(9860),p=function(){function e(e,t){this._exporter=e,this. _finishedSpans=[];var n=(0,u.d)();this._maxExportBatchSize="number"==typeof(null==t?void 0:t.maxExportBatchSize)?t.maxExportBatchSize:n.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize="number"==typeof(null==t?void 0:t.maxQueueSize)?t.maxQueueSize:n.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis="number"==typeof(null==t?void 0:t.scheduledDelayMillis)?t.scheduledDelayMillis:n.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis="number"==typeof(null==t?void 0:t.exportTimeoutMillis)?t.exportTimeoutMillis:n.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new s.q(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(o.K.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return e.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},e.prototype.onStart=function(e,t){},e.prototype.onEnd=funct ion(e){this._shutdownOnce.isCalled||0!=(e.spanContext().traceFlags&i.r.SAMPLED)&&this._addToBuffer(e)},e.prototype.shutdown=function(){return this._shutdownOnce.call()},e.prototype._shutdown=function(){var e=this;return Promise.resolve().then((function(){return e.onShutdown()})).then((function(){return e._flushAll()})).then((function(){return e._exporter.shutdown()}))},e.prototype._addToBuffer=function(e){this._finishedSpans.length>=this._maxQueueSize||(this._finishedSpans.push(e),this._maybeStartTimer())},e.prototype._flushAll=function(){var e=this;return new Promise((function(t,n){for(var r=[],o=0,i=Math.ceil(e._finishedSpans.length/e._maxExportBatchSize);o0&&(e._clearTimer(),e._maybeStartTimer())})).catch((function(e){(0,f.L)(e)}))}),this._scheduledDelayMillis),this._timer)},e.prototype._clearTimer=function(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)},e}(),d=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null"); function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.onInit(n),r}return d(t,e),t.prototype.onInit=function(e){var t=this;!0!==(null==e?void 0:e.disableAutoFlushOnDocumentHide)&&"undefined"!=typeof document&&(this._visibilityChangeListener=function(){"hidden"===document.visibilityState&&t.forceFlush()},this._pageHideListener=function(){t.forceFlush()},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},t.prototype.onShutdown=function(){"undefined"!=typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},t}(p)},3488:(e,t,n)=>{"use strict";n.d(t,{m:()=>we});var r,o,i=n(2314),a=n(695),u=n(9689),s=n(8402),l=Function.
-1&&e%1==0&&e<=9007199254740991}},9259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},7030:(e,t,n)=>{var r=n(3366),o=n(7353),i=n(5125),a=Function.prototype,u=Object.prototype,s=a.toString,l=u.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}},4795:e=>{e.exports=function(){return!1}},7598:e=>{e.exports=function(){return!1}},4225:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},6760:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n
{var r=n(4565),o=n(7263)((function(e,t,n){r(e,t,n)}));e.exports=o},1100:(e,t,n)=>{var r=n(7772);e.exports=function(){return r.Date.now()}},829:(e,t,n)=>{var r =n(2034),o=n(3813),i=n(6060),a=n(2406),u=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=u},2436:(e,t,n)=>{var r=n(4073),o=n(9259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},7642:e=>{e.exports=function(e){return e}},3329:(e,t,n)=>{var r=n(752),o=n(4225);e.exports=function(e){return r(e,o(e))}},7320:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+S
1?t-1:0),r=1;r
1?f(e):100*e+"%"},b=function(e){var t,n=e.key,r=e.prop,o=void 0===r?"variant":r,i=function(e){return d(e.theme,n,e[o])||null};return i.propTypes=((t={})[o]=u.numberOrString,t),i},T=/^[mp][trblxy]?$/,S={m:"margin",p:"padding"},w={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},O=function(e){var t=e.split(""),n=t[0],r=t[1],o=S[n],i=w[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]},k=[0,4,8,16,32,64,128,256,512],C=function(e){var t,n=Object.keys(e).filter((function(e){return T.test(e)} )).sort(),o=(t=d(e.theme,"space")||k,function(e){if(!c(e))return f(d(t,e)||e);var n=Math.abs(e),r=function(e){return e<0}(e),o=t[n]||n;return c(o)?f(o*(r?-1:1)):r?"-"+o:o});return n.map((function(t){var n=e[t],i=O(t);return g({props:e,style:function(e){return l(e)?i.reduce((function(t,n){var i;return(0,r.Z)({},t,((i={})[n]=o(e),i))}),{}):null},value:n})})).reduce(m,{})};C.propTypes={m:h(u.responsive),mt:h(u.responsive),mr:h(u.responsive),mb:h(u.responsive),ml:h(u.responsive),mx:h(u.responsive),my:h(u.responsive),p:h(u.responsive),pt:h(u.responsive),pr:h(u.responsive),pb:h(u.responsive),pl:h(u.responsive),px:h(u.responsive),py:h(u.responsive)},Object.keys(C.propTypes).forEach((function(e){C.propTypes[e].meta=function(e){return{prop:e,themeKey:"space",styleType:"responsive"}}(e)}));var x=_({prop:"width",transformValue:E}),P=_({prop:"fontSize",key:"fontSizes",transformValue:f,scale:[12,14,16,20,24,32,48,64,72]}),A=_({prop:"color",key:"colors"}),R=_({prop:"bg",cssProperty:"backgroundCol or",key:"colors"}),N=v(A,R),L=_({prop:"fontFamily",key:"fonts"}),M=_({prop:"textAlign"}),I=_({prop:"lineHeight",key:"lineHeights"}),D=_({prop:"fontWeight",key:"fontWeights"}),j=_({prop:"fontStyle"}),U=_({prop:"letterSpacing",key:"letterSpacings",transformValue:f}),F=_({prop:"display"}),z=_({prop:"maxWidth",key:"maxWidths",transformValue:f}),H=_({prop:"minWidth",key:"minWidths",transformValue:f}),B=_({prop:"height",key:"heights",transformValue:f}),Z=_({prop:"maxHeight",key:"maxHeights",transformValue:f}),V=_({prop:"minHeight",key:"minHeights",transformValue:f}),W=_({prop:"size",cssProperty:"width",transformValue:f}),G=_({prop:"size",cssProperty:"height",transformValue:f}),Y=v(G,W),X=_({prop:"ratio",cssProperty:"paddingBottom",transformValue:function(e){return 100*e+"%"}}),K=function(e){return e.ratio?(0,r.Z)({height:0},X(e)):null};K.propTypes=(0,r.Z)({},X.propTypes);var $=_({prop:"verticalAlign"}),q=_({prop:"alignItems"}),Q=_({prop:"alignContent"}),J=_({prop:"justifyItems"}),ee=_({pr op:"justifyContent"}),te=_({prop:"flexWrap"}),ne=_({prop:"flexBasis",transformValue:E}),re=_({prop:"flexDirection"}),oe=_({prop:"flex"}),ie=_({prop:"justifySelf"}),ae=_({prop:"alignSelf"}),ue=_({prop:"order"}),se=_({prop:"gridGap",transformValue:f,key:"space"}),le=_({prop:"gridColumnGap",transformValue:f,key:"space"}),ce=_({prop:"gridRowGap",transformValue:f,key:"space"}),fe=_({prop:"gridColumn"}),pe=_({prop:"gridRow"}),de=_({prop:"gridAutoFlow"}),he=_({prop:"gridAutoColumns"}),me=_({prop:"gridAutoRows"}),ve=_({prop:"gridTemplateColumns"}),ye=_({prop:"gridTemplateRows"}),ge=_({prop:"gridTemplateAreas"}),_e=_({prop:"gridArea"}),Ee=function(e){return c(e)&&e>0?e+"px solid":e},be=_({prop:"border",key:"borders",transformValue:Ee}),Te=_({prop:"borderTop",key:"borders",transformValue:Ee}),Se=_({prop:"borderRight",key:"borders",transformValue:Ee}),we=_({prop:"borderBottom",key:"borders",transformValue:Ee}),Oe=_({prop:"borderLeft",key:"borders",transformValue:Ee}),ke=v(be,Te,Se,we,Oe),Ce=_( {prop:"borderColor",key:"colors"}),xe=_({prop:"borderRadius",key:"radii",transformValue:f}),Pe=_({prop:"boxShadow",key:"shadows"}),Ae=_({prop:"opacity"}),Re=_({prop:"overflow"}),Ne=_({prop:"background"}),Le=_({prop:"backgroundImage"}),Me=_({prop:"backgroundSize"}),Ie=_({prop:"backgroundPosition"}),De=_({prop:"backgroundRepeat"}),je=_({prop:"position"}),Ue=_({prop:"zIndex"}),Fe=_({prop:"top",transformValue:f}),ze=_({prop:"right",transformValue:f}),He=_({prop:"bottom",transformValue:f}),Be=_({prop:"left",transformValue:f}),Ze=b({prop:"textStyle",key:"textStyles"}),Ve=b({prop:"colors",key:"colorStyles"}),We=b({key:"buttons"}),Ge={space:C,width:x,fontSize:P,textColor:A,bgColor:R,color:N,fontFamily:L,textAlign:M,lineHeight:I,fontWeight:D,fontStyle:j,letterSpacing:U,display:F,maxWidth:z,minWidth:H,height:B,maxHeight:Z,minHeight:V,sizeWidth:W,sizeHeight:G,size:Y,ratioPadding:X,ratio:K,verticalAlign:$,alignItems:q,alignContent:Q,justifyItems:J,justifyContent:ee,flexWrap:te,flexBasis:ne,flex Direction:re,flex:oe,justifySelf:ie,alignSelf:ae,order:ue,gridGap:se,gridColumnGap:le,gridRowGap:ce,gridColumn:fe,gridRow:pe,gridAutoFlow:de,gridAutoColumns:he,gridAutoRows:me,gridTemplateColumns:ve,gridTemplateRows:ye,gridTemplateAreas:ge,gridArea:_e,border:be,borderTop:Te,borderRight:Se,borderBottom:we,borderLeft:Oe,borders:ke,borderColor:Ce,borderRadius:xe,boxShadow:Pe,opacity:Ae,overflow:Re,background:Ne,backgroundImage:Le,backgroundPosition:Ie,backgroundRepeat:De,backgroundSize:Me,position:je,zIndex:Ue,top:Fe,right:ze,bottom:He,left:Be,textStyle:Ze,colorStyle:Ve,buttonStyle:We};Object.keys(Ge).map((function(e){return Ge[e]})).filter((function(e){return"function"==typeof e})).reduce((function(e,t){return e.concat(Object.keys(t.propTypes||{}))}),["theme"])},1898:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});function r(e,t){if(!e)throw new Error("Invariant failed")}},6168:(e,t,n)=>{"use strict";var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r& &r,o="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,a="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),u="FormData"in r,s="ArrayBuffer"in r;if(s)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function f(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function p(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e )?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function v(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=v(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:u&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&a&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._
{const{onSelect:r,anchorOrigin:o,transformOrigin:s,required:l=!0,width:u}=e,p=(0,n.useRef)(),[f,m]=(0,n.useState)(!1),[b,y]=function(e){const[t,r]=(0,n.useState)(h),o=(0,n.useCallback)((function(){for(var t=arguments.length,n=new Array(t),o=0;o
(r((e=>d(d({},e),{},{status:"processing"}))),e.call(null,...n)))).then((e=>(r((t=>d(d({},t),{},{status:"success",data:e}))),[e,null])),(e=>(r((t=>d(d({},t),{},{status:"error",statusText:null==e?void 0:e.message,data:null}))),[null,e])))}),[r,e]);return[t,o,(0,n.useCallback)((e=>{r(e)}),[r])]}((()=>Promise.resolve().then((()=>e.getLoginItems())))),x=e.placeholder||"Enter login name���",O=()=>{b.status||y(),m(!0)},v=()=>{m(!1)};return(0,n.useImperativeHandle)(t,(()=>({open:()=>{O()}}))),n.createElement(n.Fragment,null,n.createElement(c.ku,{height:"24px",size:"small",setRef:p,onClick:O},"CONNECT",n.createElement(i.E_,{ml:2,mr:-2,fontSize:"2",color:"text.secondary"})),n.createElement(a.Z P,{anchorOrigin:o,transformOrigin:s,anchorEl:p.current,open:f,onClose:v,getContentAnchorEl:null},n.createElement(g,{getLoginItemsAttempt:b,onKeyPress:e=>{"Enter"!==e.key||l&&!e.currentTarget.value||(v(),r(e,e.currentTarget.value))},onClick:(e,t)=>{v(),r(e,t)},placeholder:x,width:u})))})),g=e=>{let{getLoginItemsAttempt:t,onClick:r,onKeyPress:o,placeholder:a,width:l}=e;const i=function(e,t){switch(e.status){case"":case"processing":return n.createElement(x,null);case"error":return null;case"success":return e.data.map(((e,r)=>{const{login:o,url:a}=e;return n.createElement(b,{key:r,px:"2",mx:"2",as:a?s.OL:m,to:a,onClick:e=>{t(e,o)}},o)}))}}(t,r);return n.createElement(c.kC,{flexDirection:"column",width:l},n.createElement(y,{p:"2",m:"2",onKeyPress:o,type:"text",autoFocus:!0,placeholder:a,autoComplete:"off"}),i)},m=o.ZP.button(["color:inherit;border:none;flex:1;"]),b=(0,o.ZP)(a.sN)((e=>{let{theme:t}=e;return`\n color: ${t.colors.grey[400]};\n font-size: 12px;\n border-bottom: 1px solid ${t.colors.subtle};\n min-height: 32px;\n &:hover {\n color: ${t.colors.link};\n }\n\n :last-child {\n border-bottom: none;\n margin-bottom: 8px;\n }\n`})),y=o.ZP.input((e=>{let{theme:t}=e;return`\n background: ${t.colors.subtle};\n border: 1px solid ${t.colors.subtle};\n border-radius: 4px;\n box-sizing: border-box;\n color: ${t.colors.grey[900]};\n height: 32px;\n outline: none;\n\n &:focus {\n background: ${t.colors.light};\n border 1px solid ${t.colors.link};\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, .24);\n }\n\n ::placeholder {\n color: ${t.colors.grey[100]};\n }\n`}),l.Dh);var x=(0,o.ZP)(c.z$)(["",""],(e=>{let{theme:t}=e;return`\n align-self: center;\n color: ${t.colors.secondary.dark}\n `}))},8604:(e,t,r)=>{r.d(t,{X:()=>g,Z:()=>f});var n=r(2784),o=r(4517),s=r(4696),a=r(1392),l=r(7278),c=r(3228),i=r(321),u=r(9068);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPrope rtySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t 0?15*(m.length-2)+1:0,K=w.totalCount>0?j+w.nodes.length-1:0;function $(e){a.Z.replace(e)}return(0,n.useEffect)((()=>{x({status:"processing"}),e.nodeService.fetchNodes(d,p(p({},S),{},{limit:15})).then((e=>{C({nodes:e.agents,startKey:e.startKey,totalCount:e.totalCount}),P(e.startKey?"":"disabled"),b(["",e.startKey]),x({status:"success"})})).catch((e=>{x({status:"failed",statusText:e.message}),C(p(p({},w),{},{nodes:[],totalCount:0})),b([""])}))}),[d,h]),{canCreate:O,attempt:y,getNodeLoginOptions:function(e){const t=w.nodes.find((t=>t.id==e));return function(e,t){const r=(null==t?void 0:t.sshLogins)||[];return g(r).map((r=>({login:r,url:l.Z.getSshConnectRoute({clusterId:e,serverId:(null==t?void 0:t.id)||"",login:r})})))}(d,t)},startSshSession:(e,t)=>{const r=l.Z.getSshConnectRoute({clusterId:d,serverId:t,login:e});(0,c.RB)(r)},isLeafCluster:r,clusterId:d,results:w,fetchNext:()=>{P("loading"),e.nodeService.fetchNodes(d,p(p({},S),{},{limit:15,startKey:w.startKey})).then((e= {C(p(p({},w),{},{nodes:e.agents,startKey:e.startKey})),P(e.startKey?"":"disabled"),b([...m,e.startKey])})).catch((e=>{x({status:"failed",statusText:e.message})}))},fetchPrev:()=>{P("loading"),e.nodeService.fetchNodes(d,p(p({},S),{},{limit:15,startKey:m[m.length-3]})).then((e=>{const t=m;t.pop(),b(t),C(p(p({},w),{},{nodes:e.agents,startKey:e.startKey})),P("")})).catch((e=>{x({status:"failed",statusText:e.message})}))},pageSize:15,from:j,to:K,params:S,setParams:E,startKeys:m,setSort:function(e){E(p(p({},S),{},{sort:e}))},pathname:f,replaceHistory:$,fetchStatus:v,isSearchEmpty:k,onLabelClick:e=>(0,u.Z)(e,S,E,f,$)}}const g=e=>{const t=e.filter((e=>"root"!==e)).sort();return t.length===e.length?e:["root",...t]}},6189:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(2784),o=r(3652),s=r(4207),a=r(6071);const l=e=>{let{addr:t,tunnel:r}=e;return n.createElement(o.bL,null,r?n.createElement("span",{style:{cursor:"default"},title:"This node is connected to cluster through reverse tunnel"},"��� tunnel"):t)}, c=function(e){const{nodes:t=[],onLoginMenuOpen:r,onLoginSelect:c,pageSize:i,totalCount:u,fetchNext:d,fetchPrev:p,fetchStatus:h,from:f,to:g,params:m,setParams:b,startKeys:y,setSort:x,pathname:O,replaceHistory:v,onLabelClick:P}=e;return n.createElement(o.ZP,{columns:[{key:"hostname",headerText:"Hostname",isSortable:!0},{key:"addr",headerText:"Address",render:l},{key:"labels",headerText:"Labels",render:e=>{let{labels:t}=e;return n.createElement(o.aW,{labels:t,onClick:P})}},{altKey:"connect-btn",render:e=>{let{id:t}=e;return((e,t,r)=>n.createElement(o.bL,{align:"right"},n.createElement(s.x,{getLoginItems:function(){return r(e)},onSelect:function(r,n){return t?t(r,n,e):[]},transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"center",horizontal:"right"}})))(t,c,r)}}],emptyText:"No Nodes Found",data:t,pagination:{pageSize:i},fetching:{onFetchNext:d,onFetchPrev:p,fetchStatus:h},serversideProps:{sort:m.sort,setSort:x,startKeys:y,serversideSearchPanel:n.createElement(a. Z,{from:f,to:g,count:u,params:m,setParams:b,pathname:O,replaceHistory:v})}})}},6900:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(2784),o=r(917),s=r(7849),a=r(3815);const l=["onPress","autoFocus","inputProps"];function c(){return c=Object.assign||function(e){for(var t=1;t e.theme.colors.text.placeholder),(e=>e.theme.fontSizes[1]),(e=>e.theme.colors.primary.lighter),a.$_,a.Dh,a.bf,a.Cb),h=function(e){let{onPress:t,autoFocus:r=!1,inputProps:o={}}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},s=Object.keys(e);for(n=0;n =0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);const[a,h]=n.useState(!1);return n.createElement(u,c({},s,{hasError:a}),n.createElement(d,null,"SSH:"),n.createElement(p,c({bg:"primary.light",color:"text.primary",placeholder:"lo gin@host:port",autoFocus:r,onKeyPress:function(e){const r=e.target.value;if("Enter"!==e.key&&"click"!==e.type||!r)h(!1);else{const e=(e=>i.exec(e.trim()))(r);if(h(!e),e){const{username:r,host:n}=e.groups;t(r,n)}}}},o)))}},3228:(e,t,r)=>{r.d(t,{ES:()=>a,Kp:()=>o,RB:()=>n,Sl:()=>s});const n=e=>{const t=document.createElement("a");t.setAttribute("href",`${e}`),t.setAttribute("target","_blank"),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)};async function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new TextEncoder;const r=t.encode(e),n=await crypto.subtle.digest("SHA-256",r),o=Array.from(new Uint8Array(n)),s=o.map((e=>e.toString(16).padStart(2,"0"))).join("");return s}function s(e){let{authType:t,clusterId:r,username:n,accessRequestId:o}=e;const{hostname:s,port:a}=window.location;return`tsh login --proxy=${s}:${a||"443"} ${"local"===t?`--auth=${t} --user=${n} `:""}${r}${o?` --request-id=${o}`:""}`}function a(e,t){return e&&t?e.filter((e=>!t.includes(e))):[]}}}]); \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webassets/teleport/app/550.8137120983143677eb1f.js new/webassets/teleport/app/550.8137120983143677eb1f.js --- old/webassets/teleport/app/550.8137120983143677eb1f.js 1970-01-01 01:00:00.000000000 +0100 +++ new/webassets/teleport/app/550.8137120983143677eb1f.js 2022-12-01 06:44:39.000000000 +0100 @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_gravitational_teleport=self.webpackChunk_gravitational_teleport||[]).push([[550],{4207:(e,t,r)=>{r.d(t,{x:()=>f});var n=r(2784),o=r(917),s=r(7933),a=r(2760),l=r(2865),c=r(7849),i=r(3757);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t (r((e=>d(d({},e),{},{status:"processing"}))),e.call(null,...n)))).then((e=>(r((t=>d(d({},t),{},{status:"success",data:e}))),[e,null])),(e=>(r((t=>d(d({},t),{},{status:"error",statusText:null==e?void 0:e.message,data:null}))),[null,e])))}),[r,e]);return[t,o,(0,n.useCallback)((e=>{r(e)}),[r])]}((()=>Promise.resolve().then((()=>e.getLoginItems())))),x=e.placeholder||"Enter login name���",O=()=>{b.status||y(),m(!0)},v=()=>{m(!1)};return(0,n.useImperativeHandle)(t,(()=>({open:()=>{O()}}))),n.createElement(n.Fragment,null,n.createElement(c.ku,{height:"24px",size:"small",setRef:p,onClick:O},"CONNECT",n.createElement(i.E_,{ml:2,mr:-2,fontSize:"2",color:"text.secondary"})),n.createElement(a.Z P,{anchorOrigin:o,transformOrigin:s,anchorEl:p.current,open:f,onClose:v,getContentAnchorEl:null},n.createElement(g,{getLoginItemsAttempt:b,onKeyPress:e=>{"Enter"!==e.key||l&&!e.currentTarget.value||(v(),r(e,e.currentTarget.value))},onClick:(e,t)=>{v(),r(e,t)},placeholder:x,width:u})))})),g=e=>{let{getLoginItemsAttempt:t,onClick:r,onKeyPress:o,placeholder:a,width:l}=e;const i=function(e,t){switch(e.status){case"":case"processing":return n.createElement(x,null);case"error":return null;case"success":return e.data.map(((e,r)=>{const{login:o,url:a}=e;return n.createElement(b,{key:r,px:"2",mx:"2",as:a?s.OL:m,to:a,onClick:e=>{t(e,o)}},o)}))}}(t,r);return n.createElement(c.kC,{flexDirection:"column",width:l},n.createElement(y,{p:"2",m:"2",onKeyPress:o,type:"text",autoFocus:!0,placeholder:a,autoComplete:"off"}),i)},m=o.ZP.button(["color:inherit;border:none;flex:1;"]),b=(0,o.ZP)(a.sN)((e=>{let{theme:t}=e;return`\n color: ${t.colors.grey[400]};\n font-size: 12px;\n border-bottom: 1px solid ${t.colors.subtle};\n min-height: 32px;\n &:hover {\n color: ${t.colors.link};\n }\n\n :last-child {\n border-bottom: none;\n margin-bottom: 8px;\n }\n`})),y=o.ZP.input((e=>{let{theme:t}=e;return`\n background: ${t.colors.subtle};\n border: 1px solid ${t.colors.subtle};\n border-radius: 4px;\n box-sizing: border-box;\n color: ${t.colors.grey[900]};\n height: 32px;\n outline: none;\n\n &:focus {\n background: ${t.colors.light};\n border 1px solid ${t.colors.link};\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, .24);\n }\n\n ::placeholder {\n color: ${t.colors.grey[100]};\n }\n`}),l.Dh);var x=(0,o.ZP)(c.z$)(["",""],(e=>{let{theme:t}=e;return`\n align-self: center;\n color: ${t.colors.secondary.dark}\n `}))},8604:(e,t,r)=>{r.d(t,{X:()=>g,Z:()=>f});var n=r(2784),o=r(4517),s=r(4696),a=r(1392),l=r(7278),c=r(3228),i=r(321),u=r(9068);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPrope rtySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t 0?15*(m.length-2)+1:0,K=w.totalCount>0?j+w.nodes.length-1:0;function $(e){a.Z.replace(e)}return(0,n.useEffect)((()=>{x({status:"processing"}),e.nodeService.fetchNodes(d,p(p({},S),{},{limit:15})).then((e=>{C({nodes:e.agents,startKey:e.startKey,totalCount:e.totalCount}),P(e.startKey?"":"disabled"),b(["",e.startKey]),x({status:"success"})})).catch((e=>{x({status:"failed",statusText:e.message}),C(p(p({},w),{},{nodes:[],totalCount:0})),b([""])}))}),[d,h]),{canCreate:O,attempt:y,getNodeLoginOptions:function(e){const t=w.nodes.find((t=>t.id==e));return function(e,t){const r=(null==t?void 0:t.sshLogins)||[];return g(r).map((r=>({login:r,url:l.Z.getSshConnectRoute({clusterId:e,serverId:(null==t?void 0:t.id)||"",login:r})})))}(d,t)},startSshSession:(e,t)=>{const r=l.Z.getSshConnectRoute({clusterId:d,serverId:t,login:e});(0,c.RB)(r)},isLeafCluster:r,clusterId:d,results:w,fetchNext:()=>{P("loading"),e.nodeService.fetchNodes(d,p(p({},S),{},{limit:15,startKey:w.startKey})).then((e= {C(p(p({},w),{},{nodes:e.agents,startKey:e.startKey})),P(e.startKey?"":"disabled"),b([...m,e.startKey])})).catch((e=>{x({status:"failed",statusText:e.message})}))},fetchPrev:()=>{P("loading"),e.nodeService.fetchNodes(d,p(p({},S),{},{limit:15,startKey:m[m.length-3]})).then((e=>{const t=m;t.pop(),b(t),C(p(p({},w),{},{nodes:e.agents,startKey:e.startKey})),P("")})).catch((e=>{x({status:"failed",statusText:e.message})}))},pageSize:15,from:j,to:K,params:S,setParams:E,startKeys:m,setSort:function(e){E(p(p({},S),{},{sort:e}))},pathname:f,replaceHistory:$,fetchStatus:v,isSearchEmpty:k,onLabelClick:e=>(0,u.Z)(e,S,E,f,$)}}const g=e=>{const t=e.filter((e=>"root"!==e)).sort();return t.length===e.length?e:["root",...t]}},6189:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(2784),o=r(3652),s=r(4207),a=r(6071);const l=e=>{let{addr:t,tunnel:r}=e;return n.createElement(o.bL,null,r?n.createElement("span",{style:{cursor:"default"},title:"This node is connected to cluster through reverse tunnel"},"��� tunnel"):t)}, c=function(e){const{nodes:t=[],onLoginMenuOpen:r,onLoginSelect:c,pageSize:i,totalCount:u,fetchNext:d,fetchPrev:p,fetchStatus:h,from:f,to:g,params:m,setParams:b,startKeys:y,setSort:x,pathname:O,replaceHistory:v,onLabelClick:P}=e;return n.createElement(o.ZP,{columns:[{key:"hostname",headerText:"Hostname",isSortable:!0},{key:"addr",headerText:"Address",render:l},{key:"labels",headerText:"Labels",render:e=>{let{labels:t}=e;return n.createElement(o.aW,{labels:t,onClick:P})}},{altKey:"connect-btn",render:e=>{let{id:t}=e;return((e,t,r)=>n.createElement(o.bL,{align:"right"},n.createElement(s.x,{getLoginItems:function(){return r(e)},onSelect:function(r,n){return t?t(r,n,e):[]},transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"center",horizontal:"right"}})))(t,c,r)}}],emptyText:"No Nodes Found",data:t,pagination:{pageSize:i},fetching:{onFetchNext:d,onFetchPrev:p,fetchStatus:h},serversideProps:{sort:m.sort,setSort:x,startKeys:y,serversideSearchPanel:n.createElement(a. Z,{from:f,to:g,count:u,params:m,setParams:b,pathname:O,replaceHistory:v})}})}},6900:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(2784),o=r(917),s=r(7849),a=r(3815);const l=["onPress","autoFocus","inputProps"];function c(){return c=Object.assign||function(e){for(var t=1;t e.theme.colors.text.placeholder),(e=>e.theme.fontSizes[1]),(e=>e.theme.colors.primary.lighter),a.$_,a.Dh,a.bf,a.Cb),h=function(e){let{onPress:t,autoFocus:r=!1,inputProps:o={}}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},s=Object.keys(e);for(n=0;n =0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);const[a,h]=n.useState(!1);return n.createElement(u,c({},s,{hasError:a}),n.createElement(d,null,"SSH:"),n.createElement(p,c({bg:"primary.light",color:"text.primary",placeholder:"lo gin@host:port",autoFocus:r,onKeyPress:function(e){const r=e.target.value;if("Enter"!==e.key&&"click"!==e.type||!r)h(!1);else{const e=(e=>i.exec(e.trim()))(r);if(h(!e),e){const{username:r,host:n}=e.groups;t(r,n)}}}},o)))}},3228:(e,t,r)=>{r.d(t,{ES:()=>a,Kp:()=>o,RB:()=>n,Sl:()=>s});const n=e=>{const t=document.createElement("a");t.setAttribute("href",`${e}`),t.setAttribute("target","_blank"),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)};async function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new TextEncoder;const r=t.encode(e),n=await crypto.subtle.digest("SHA-256",r),o=Array.from(new Uint8Array(n)),s=o.map((e=>e.toString(16).padStart(2,"0"))).join("");return s}function s(e){let{authType:t,clusterId:r,username:n,accessRequestId:o}=e;const{hostname:s,port:a}=window.location;return`tsh login --proxy=${s}:${a||"443"} ${"local"===t?`--auth=${t} --user=${n} `:""}${r}${o?` --request-id=${o}`:""}`}function a(e,t){return e&&t?e.filter((e=>!t.includes(e))):[]}}}]); \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webassets/teleport/app/585.0aa7ac384a3b54e531fd.js new/webassets/teleport/app/585.0aa7ac384a3b54e531fd.js --- old/webassets/teleport/app/585.0aa7ac384a3b54e531fd.js 1970-01-01 01:00:00.000000000 +0100 +++ new/webassets/teleport/app/585.0aa7ac384a3b54e531fd.js 2022-12-01 06:44:39.000000000 +0100 @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_gravitational_teleport=self.webpackChunk_gravitational_teleport||[]).push([[585,179],{9161:(e,t,r)=>{r.d(t,{cZ:()=>D,cN:()=>K,fK:()=>P,$N:()=>g,ZP:()=>T});var n=r(2784),o=r(3980),a=r.n(o),i=r(917),l=r(3502);const c=["children","dialogCss"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t =0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,c);return n.createElement(l.Z,f({role:"dialog"},o),n.createElement(d,null,n.createElement(y,{"data-testid":"dialogbox",dialogCss:r},t)))}}b.defaultProps={disableBackdropClick:!0,disableEscapeKeyDown:!0},b.propTypes=u(u({},l.Z.propTypes),{},{children:a().node,dialogCss:a().func});const d=i.ZP.div(["height:100%;outline:none;color:black;display:flex;align-items:
=0,i||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},h.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},h.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},h.prototype.writeFloatLE=function(e,t,i){return I(this,e,t,!0,i)},h.prototype.writeFloatBE=function(e,t,i){return I(this,e,t,!1,i)},h.prototype.writeDoubleLE=function(e,t,i){return P(this,e,t,!0,i)},h.prototype.writeDoubleBE=function(e,t,i){return P(this,e,t,!1,i)},h.prototype.copy=function(e,t,i,r){if(!h.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t
>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(n=t;n
{(0,n.rightClickHandler)(e,this.textarea,this.screenElement,this._selectionService,this.options.rightClickSelectsWord)}))),c.isLinux&&this.register((0,l.addDisposableDomListener)(this.element,"auxclick",(e=>{1===e.button&&(0,n.moveTextAreaUnderMouseCursor)(e,this.textarea,this.screenElement)})))}_bindKeys(){this.register((0,l.addDisposableDomListener)(this.textarea,"keyup",(e=>this._keyUp(e)),!0)),this.register((0,l.addDisposableDomListener)(this.textarea,"keydown",(e=>this._keyDown(e)),!0)),this.register((0,l.addDisposableDomListener)(this.textarea,"keypress",(e=>this._keyPress(e)),!0)),this.register((0,l.addDisposableDomListener)(this.textarea,"compositionstart",(()=>this._compositionHelper.compositionstart()))),this.register((0,l.addDisposableDomListener)(this.textarea,"compositionupdate",(e=>this._compositionHelper.compositionupdate(e)))),this.register((0,l.addDisposableDomListener)(this.textarea,"compositionend",(()=>this._compositionHelper.compositionend()))),this.register((0 ,l.addDisposableDomListener)(this.textarea,"input",(e=>this._inputEvent(e)),!0)),this.register(this.onRender((()=>this._compositionHelper.updateCompositionElements())))}open(e){var t;if(!e)throw new Error("Terminal requires a parent element.");e.isConnected||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);const i=M.createDocumentFragment();this._viewportElement=M.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),i.appendChild(this._viewportElement),this._viewportScrollArea=M.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=M.createElement("div"),this.screen Element.classList.add("xterm-screen"),this._helperContainer=M.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),i.appendChild(this.screenElement),this.textarea=M.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",d.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register((0,l.addDisposableDomListener)(this.textarea,"focus",(e=>this._onTextAreaFocus(e)))),this.register((0,l.addDisposableDomListener)(this.textarea,"blur",(()=>this._onTextAreaBlur()))),this._helperContainer.appendChild(this.textarea),this._coreBrowserService=this._instantiationService.createInstance(w.CoreBrowserService,this.textarea,null!==(t=this._document.defaultView)&&void 0!==t? t:window),this._instantiationService.setService(S.ICoreBrowserService,this._coreBrowserService),this._charSizeService=this._instantiationService.createInstance(C.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(S.ICharSizeService,this._charSizeService),this._theme=this.options.theme||this._theme,this._colorManager=new g.ColorManager(M,this.options.allowTransparency),this.register(this.optionsService.onOptionChange((e=>this._colorManager.onOptionsChange(e,this.optionsService.rawOptions[e])))),this._colorManager.setTheme(this._theme),this._characterJoinerService=this._instantiationService.createInstance(A.CharacterJoinerService),this._instantiationService.setService(S.ICharacterJoinerService,this._characterJoinerService);const n=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(m.RenderService,n,this.rows,this.screenElement)),this._instantiationService.setService(S.IRenderService,this._renderSe rvice),this.register(this._renderService.onRenderedViewportChange((e=>this._onRender.fire(e)))),this.onResize((e=>this._renderService.resize(e.cols,e.rows))),this._compositionView=M.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(r.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(i),this._mouseService=this._instantiationService.createInstance(b.MouseService),this._instantiationService.setService(S.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(s.Viewport,(e=>this.scrollLines(e,!0,1)),this._viewportElement,this._viewportScrollArea,this.element),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar((()=>this.viewport.syncScrollArea()))),this.register(this.viewport),this.register(this.onCursorMove((()=>{this ._renderService.onCursorMove(),this._syncTextArea()}))),this.register(this.onResize((()=>this._renderService.onResize(this.cols,this.rows)))),this.register(this.onBlur((()=>this._renderService.onBlur()))),this.register(this.onFocus((()=>this._renderService.onFocus()))),this.register(this._renderService.onDimensionsChange((()=>this.viewport.syncScrollArea()))),this._selectionService=this.register(this._instantiationService.createInstance(h.SelectionService,this.element,this.screenElement,this.linkifier2)),this._instantiationService.setService(S.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines((e=>this.scrollLines(e.amount,e.suppressScrollEvent)))),this.register(this._selectionService.onSelectionChange((()=>this._onSelectionChange.fire()))),this.register(this._selectionService.onRequestRedraw((e=>this._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)))),this.register(this._selectionService.onLinuxMouseSelection((e=>{
this.setOrReportIndexedColor(e)))),this._parser.registerOscHandler(8,new f.OscHandler((e=>this.setHyperlink(e)))),this._parser.registerOscHandler(10,new f.OscHandler((e=>this.setOrReportFgColor(e)))),this._parser.registerOscHandler(11,new f.OscHandler((e=>this.setOrReportBgColor(e)))),this._parser.registerOscHandler(12,new f.OscHandler((e=>this.setOrReportCursorColor(e)))),this._parser.registerOscHandler(104,new f.OscHandler((e=>this.restoreIndexedColor(e)))),this._parser.registerOscHandler(110,new f.OscHandler((e=>this.restoreFgColor(e)))),this._parser.registerOscHandler(111,new f.OscHandler((e=>this.restoreBgColor(e)))),this._parser.registerOscHandler(112,new f.OscHandler((e=>this.restoreCursorColor(e)))),this._parser.registerEscHandler({final:"7"},(()=>this.saveCursor())),this._parser.registerEscHandler({final:"8"},(()=>this.restoreCursor())),this._parser.registerEscHandler({final:"D"},(()=>this.index())),this._parser.registerEscHandler({final:"E"},(()=>this.nextLine())),this._p arser.registerEscHandler({final:"H"},(()=>this.tabSet())),this._parser.registerEscHandler({final:"M"},(()=>this.reverseIndex())),this._parser.registerEscHandler({final:"="},(()=>this.keypadApplicationMode())),this._parser.registerEscHandler({final:">"},(()=>this.keypadNumericMode())),this._parser.registerEscHandler({final:"c"},(()=>this.fullReset())),this._parser.registerEscHandler({final:"n"},(()=>this.setgLevel(2))),this._parser.registerEscHandler({final:"o"},(()=>this.setgLevel(3))),this._parser.registerEscHandler({final:"|"},(()=>this.setgLevel(3))),this._parser.registerEscHandler({final:"}"},(()=>this.setgLevel(2))),this._parser.registerEscHandler({final:"~"},(()=>this.setgLevel(1))),this._parser.registerEscHandler({intermediates:"%",final:"@"},(()=>this.selectDefaultCharset())),this._parser.registerEscHandler({intermediates:"%",final:"G"},(()=>this.selectDefaultCharset()));for(const e in s.CHARSETS)this._parser.registerEscHandler({intermediates:"(",final:e},(()=>this.selectCha rset("("+e))),this._parser.registerEscHandler({intermediates:")",final:e},(()=>this.selectCharset(")"+e))),this._parser.registerEscHandler({intermediates:"*",final:e},(()=>this.selectCharset("*"+e))),this._parser.registerEscHandler({intermediates:"+",final:e},(()=>this.selectCharset("+"+e))),this._parser.registerEscHandler({intermediates:"-",final:e},(()=>this.selectCharset("-"+e))),this._parser.registerEscHandler({intermediates:".",final:e},(()=>this.selectCharset("."+e))),this._parser.registerEscHandler({intermediates:"/",final:e},(()=>this.selectCharset("/"+e)));this._parser.registerEscHandler({intermediates:"#",final:"8"},(()=>this.screenAlignmentPattern())),this._parser.setErrorHandler((e=>(this._logService.error("Parsing error: ",e),e))),this._parser.registerDcsHandler({intermediates:"$",final:"q"},new v.DcsHandler(((e,t)=>this.requestStatusString(e,t))))}getAttrData(){return this._curAttrData}get onRequestBell(){return this._onRequestBell.event}get onRequestRefreshRows(){retu rn this._onRequestRefreshRows.event}get onRequestReset(){return this._onRequestReset.event}get onRequestSendFocus(){return this._onRequestSendFocus.event}get onRequestSyncScrollBar(){return this._onRequestSyncScrollBar.event}get onRequestWindowsOptionsReport(){return this._onRequestWindowsOptionsReport.event}get onA11yChar(){return this._onA11yChar.event}get onA11yTab(){return this._onA11yTab.event}get onCursorMove(){return this._onCursorMove.event}get onLineFeed(){return this._onLineFeed.event}get onScroll(){return this._onScroll.event}get onTitleChange(){return this._onTitleChange.event}get onColor(){return this._onColor.event}dispose(){super.dispose()}_preserveStack(e,t,i,r){this._parseStack.paused=!0,this._parseStack.cursorStartX=e,this._parseStack.cursorStartY=t,this._parseStack.decodedLength=i,this._parseStack.position=r}_logSlowResolvingAsync(e){this._logService.logLevel<=_.LogLevelEnum.WARN&&Promise.race([e,new Promise(((e,t)=>setTimeout((()=>t("#SLOW_TIMEOUT")),5e3)))]).cat ch((e=>{if("#SLOW_TIMEOUT"!==e)throw e;console.warn("async parser handler taking longer than 5000 ms")}))}parse(e,t){let i,r=this._activeBuffer.x,s=this._activeBuffer.y,n=0;const o=this._parseStack.paused;if(o){if(i=this._parser.parse(this._parseBuffer,this._parseStack.decodedLength,t))return this._logSlowResolvingAsync(i),i;r=this._parseStack.cursorStartX,s=this._parseStack.cursorStartY,this._parseStack.paused=!1,e.length>m&&(n=this._parseStack.position+m)}if(this._logService.logLevel<=_.LogLevelEnum.DEBUG&&this._logService.debug("parsing data"+("string"==typeof e?` "${e}"`:` "${Array.prototype.map.call(e,(e=>String.fromCharCode(e))).join("")}"`),"string"==typeof e?e.split("").map((e=>e.charCodeAt(0))):e),this._parseBuffer.length
m)for(let t=n;t 0&&2===_.getWidth(this._activeBuffer.x-1)&&_.setCellFromCodePoint(this._activeBuffer.x-1,0,1,u.fg,u.bg,u.extended);for(let f=t;f=h)if(c){for(;this._activeBuffer.x =this._bufferService.rows&&(this._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!0) ,_=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y)}else if(this._activeBuffer.x=h-1,2===s)continue;if(d&&(_.insertCells(this._activeBuffer.x,s,this._activeBuffer.getNullCell(u),u),2===_.getWidth(h-1)&&_.setCellFromCodePoint(h-1,l.NULL_CELL_CODE,l.NULL_CELL_WIDTH,u.fg,u.bg,u.extended)),_.setCellFromCodePoint(this._activeBuffer.x++,r,s,u.fg,u.bg,u.extended),s>0)for(;--s;)_.setCellFromCodePoint(this._activeBuffer.x++,0,0,u.fg,u.bg,u.extended)}else _.getWidth(this._activeBuffer.x-1)?_.addCodepointToCell(this._activeBuffer.x-1,r):_.addCodepointToCell(this._activeBuffer.x-2,r)}i-t>0&&(_.loadCell(this._activeBuffer.x-1,this._workCell),2===this._workCell.getWidth()||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),this._activeBuffer.x 0&&0===_.getWidth(this._activeBuffer.x)&&!_.hasConten t(this._activeBuffer.x)&&_.setCellFromCodePoint(this._activeBuffer.x,0,1,u.fg,u.bg,u.extended),this._dirtyRowService.markDirty(this._activeBuffer.y)}registerCsiHandler(e,t){return"t"!==e.final||e.prefix||e.intermediates?this._parser.registerCsiHandler(e,t):this._parser.registerCsiHandler(e,(e=>!S(e.params[0],this._optionsService.rawOptions.windowOptions)||t(e)))}registerDcsHandler(e,t){return this._parser.registerDcsHandler(e,new v.DcsHandler(t))}registerEscHandler(e,t){return this._parser.registerEscHandler(e,t)}registerOscHandler(e,t){return this._parser.registerOscHandler(e,new f.OscHandler(t))}bell(){return this._onRequestBell.fire(),!0}lineFeed(){return this._dirtyRowService.markDirty(this._activeBuffer.y),this._optionsService.rawOptions.convertEol&&(this._activeBuffer.x=0),this._activeBuffer.y++,this._activeBuffer.y===this._activeBuffer.scrollBottom+1?(this._activeBuffer.y--,this._bufferService.scroll(this._eraseAttrData())):this._activeBuffer.y>=this._bufferService.rows&&(thi s._activeBuffer.y=this._bufferService.rows-1),this._activeBuffer.x>=this._bufferService.cols&&this._activeBuffer.x--,this._dirtyRowService.markDirty(this._activeBuffer.y),this._onLineFeed.fire(),!0}carriageReturn(){return this._activeBuffer.x=0,!0}backspace(){var e;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),this._activeBuffer.x>0&&this._activeBuffer.x--,!0;if(this._restrictCursor(this._bufferService.cols),this._activeBuffer.x>0)this._activeBuffer.x--;else if(0===this._activeBuffer.x&&this._activeBuffer.y>this._activeBuffer.scrollTop&&this._activeBuffer.y<=this._activeBuffer.scrollBottom&&(null===(e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y))||void 0===e?void 0:e.isWrapped)){this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuffer.y).isWrapped=!1,this._activeBuffer.y--,this._activeBuffer.x=this._bufferService.cols-1;const e=this._activeBuffer.lines.get(this._activeBuffer.ybase+this._activeBuff er.y);e.hasWidth(this._activeBuffer.x)&&!e.hasContent(this._activeBuffer.x)&&this._activeBuffer.x--}return this._restrictCursor(),!0}tab(){if(this._activeBuffer.x>=this._bufferService.cols)return!0;const e=this._activeBuffer.x;return this._activeBuffer.x=this._activeBuffer.nextStop(),this._optionsService.rawOptions.screenReaderMode&&this._onA11yTab.fire(this._activeBuffer.x-e),!0}shiftOut(){return this._charsetService.setgLevel(1),!0}shiftIn(){return this._charsetService.setgLevel(0),!0}_restrictCursor(e=this._bufferService.cols-1){this._activeBuffer.x=Math.min(e,Math.max(0,this._activeBuffer.x)),this._activeBuffer.y=this._coreService.decPrivateModes.origin?Math.min(this._activeBuffer.scrollBottom,Math.max(this._activeBuffer.scrollTop,this._activeBuffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._activeBuffer.y)),this._dirtyRowService.markDirty(this._activeBuffer.y)}_setCursor(e,t){this._dirtyRowService.markDirty(this._activeBuffer.y),this._coreService.decPrivateModes.o rigin?(this._activeBuffer.x=e,this._activeBuffer.y=this._activeBuffer.scrollTop+t):(this._activeBuffer.x=e,this._activeBuffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._activeBuffer.y)}_moveCursor(e,t){this._restrictCursor(),this._setCursor(this._activeBuffer.x+e,this._activeBuffer.y+t)}cursorUp(e){const t=this._activeBuffer.y-this._activeBuffer.scrollTop;return t>=0?this._moveCursor(0,-Math.min(t,e.params[0]||1)):this._moveCursor(0,-(e.params[0]||1)),!0}cursorDown(e){const t=this._activeBuffer.scrollBottom-this._activeBuffer.y;return t>=0?this._moveCursor(0,Math.min(t,e.params[0]||1)):this._moveCursor(0,e.params[0]||1),!0}cursorForward(e){return this._moveCursor(e.params[0]||1,0),!0}cursorBackward(e){return this._moveCursor(-(e.params[0]||1),0),!0}cursorNextLine(e){return this.cursorDown(e),this._activeBuffer.x=0,!0}cursorPrecedingLine(e){return this.cursorUp(e),this._activeBuffer.x=0,!0}cursorCharAbsolute(e){return this._setCursor((e.params[0]||1)-1,this._ac tiveBuffer.y),!0}cursorPosition(e){return this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1),!0}charPosAbsolute(e){return this._setCursor((e.params[0]||1)-1,this._activeBuffer.y),!0}hPositionRelative(e){return this._moveCursor(e.params[0]||1,0),!0}linePosAbsolute(e){return this._setCursor(this._activeBuffer.x,(e.params[0]||1)-1),!0}vPositionRelative(e){return this._moveCursor(0,e.params[0]||1),!0}hVPosition(e){return this.cursorPosition(e),!0}tabClear(e){const t=e.params[0];return 0===t?delete this._activeBuffer.tabs[this._activeBuffer.x]:3===t&&(this._activeBuffer.tabs={}),!0}cursorForwardTab(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=e.params[0]||1;for(;t--;)this._activeBuffer.x=this._activeBuffer.nextStop();return!0}cursorBackwardTab(e){if(this._activeBuffer.x>=this._bufferService.cols)return!0;let t=e.params[0]||1;for(;t--;)this._activeBuffer.x=this._activeBuffer.prevStop();return!0}selectProtected(e){const t=e.params[0];return 1===t&&(
{Object.defineProperty(t,"__esModule",{value:!0}),t.toRgbString=t.parseColor=void 0;const i=/^([\da-f])\/([\da-f])\/([\da-f])$|^([\da-f]{2})\/([\da-f]{2})\/([\da-f]{2})$|^([\da-f]{3})\/([\da-f]{3})\/([\da-f]{3})$|^([\da-f]{4})\/([\da-f]{4})\/([\da-f]{4})$/,r=/^[\da-f]+$/;function s(e,t){const i=e.toString(16),r=i.length<2?"0"+i:i;switch(t){case 4:return i[0];case 8:return r;case 12:return(r+r).slice(0,3);default:return r+r}}t.parseColor=function(e){if(!e)return;let t=e.toLowerCase();if(0===t.indexOf("rgb:")){t=t.slice(4);const e=i.exec(t);if(e){const t=e[1]?15:e[4]?255:e[7]?4095:65535;return[Math.round(parseInt(e[1]||e[4]||e[7]||e[10],16)/t*255),Math.round(parseInt(e[2]||e[5]||e[8]||e[11],16)/t*255),Math.round(parseInt(e[3]||e[6]||e[9]||e[12],16)/t*255)]}}else if(0===t.indexOf("#")&&(t=t.slice(1),r.exec(t)&&[3,6,9,12].includes(t.length))){const e=t.length/3,i=[0,0,0];for(let r=0;r<3;++r){const s=parseInt(t.slice(e*r,e*r+e),16);i[r]=1===e?s<<4:2===e?s:3===e?s>>4:s>>8}return i}},t.to RgbString=function(e,t=16){const[i,r,n]=e;return`rgb:${s(i,t)}/${s(r,t)}/${s(n,t)}`}},5770:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},6351:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;const r=i(482),s=i(8742),n=i(5770),o=[];t.DcsParser=class{constructor(){this._handlers=Object.create(null),this._active=o,this._ident=0,this._handlerFb=()=>{},this._stack={paused:!1,loopPosition:0,fallThrough:!1}}dispose(){this._handlers=Object.create(null),this._handlerFb=()=>{},this._active=o}registerHandler(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);const i=this._handlers[e];return i.push(t),{dispose:()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}}clearHandler(e){this._handlers[e]&&delete this._handlers[e]}setHandlerFallback(e){this._handlerFb=e}reset(){if(this._active.length)for(let e=this._stack.paused?this._stack.loopPosition-1:this._active.length-1;e>=0;--e)this._active[e].unhoo k(!1);this._stack.paused=!1,this._active=o,this._ident=0}hook(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||o,this._active.length)for(let e=this._active.length-1;e>=0;e--)this._active[e].hook(t);else this._handlerFb(this._ident,"HOOK",t)}put(e,t,i){if(this._active.length)for(let r=this._active.length-1;r>=0;r--)this._active[r].put(e,t,i);else this._handlerFb(this._ident,"PUT",(0,r.utf32ToString)(e,t,i))}unhook(e,t=!0){if(this._active.length){let i=!1,r=this._active.length-1,s=!1;if(this._stack.paused&&(r=this._stack.loopPosition-1,i=t,s=this._stack.fallThrough,this._stack.paused=!1),!s&&!1===i){for(;r>=0&&(i=this._active[r].unhook(e),!0!==i);r--)if(i instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!1,i;r--}for(;r>=0;r--)if(i=this._active[r].unhook(!1),i instanceof Promise)return this._stack.paused=!0,this._stack.loopPosition=r,this._stack.fallThrough=!0,i}else this._handlerFb(this._ident,"UNHOOK",e);this._active =o,this._ident=0}};const a=new s.Params;a.addParam(0),t.DcsHandler=class{constructor(e){this._handler=e,this._data="",this._params=a,this._hitLimit=!1}hook(e){this._params=e.length>1||e.params[0]?e.clone():a,this._data="",this._hitLimit=!1}put(e,t,i){this._hitLimit||(this._data+=(0,r.utf32ToString)(e,t,i),this._data.length>n.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))}unhook(e){let t=!1;if(this._hitLimit)t=!1;else if(e&&(t=this._handler(this._data,this._params),t instanceof Promise))return t.then((e=>(this._params=a,this._data="",this._hitLimit=!1,e)));return this._params=a,this._data="",this._hitLimit=!1,t}}},2015:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;const r=i(844),s=i(8273),n=i(8742),o=i(6242),a=i(6351);class h{constructor(e){this.table=new Uint8Array(e)}setDefault(e,t){(0,s.fill)(this.table,e<<4|t)}add(e,t,i,r){this.table[t<<8|e]=i<<4|r}addMany(e,t,i,r){for(let s=0;s
M,m34:()=>f,mH4:()=>v,mRU:()=>ge,mm_:()=>g,oI9:()=>Ce,ob6:()=>P,olP:()=>w,ot9:()=>G,qHJ:()=>l,r6F:()=>ue,rNN:()=>F,rU9:()=>ae,s2m:()=>ye,srI:()=>X,tXd:()=>he,v3j:()=>me,voY:()=>k,vu8:()=>T,x8P:()=>b,xFH:()=>de,xX_:()=>ce,xhZ:()=>d,yGk:()=>y,zlj:()=>S});var n=A(2784),r=A(917),o=A(3815);A(2266);const s=["className"];function i(){return i=Object.assign||function(e){for(var t=1;t
=0||(r[A]=e[A]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,A)&&(r[A]=e[A])}return r}(e,s);const o=`${A} ${t}`;return n.createElement(c,i({className:o},r))}}c.displayName="Icon",c.defaultProps={color:"light"};const g=a(0,"icon-add"),l=(a(0,"icon-users-plus"),a(0,"icon-amazonaws")),E=(a(0,"icon-cc-amex"),a(0,"icon-apartment"),a(0,"icon-app-installed")),B=(a(0,"icon-apple"),a(0,"icon-app-rollback"),a(0,"icon-archive2"),a(0,"icon-chevron-down")),u=a(0,"icon-arrow_forward"),d=a(0,"icon-arrow_back"),w=(a(0,"icon-chevron-left"),a(0,"icon-chevron-right")),I=(a(0,"icon-chevrons-expand-vertical"),a(0,"icon-chevron-up"),a(0,"icon-alarm-ringing")),h=(a(0,"icon-bag-dollar"),a(0,"icon-bitbucket")),p=a(0,"icon-box"),C=(a(0,"icon-bubble"),a(0,"icon-camera"),a(0,"icon-th-large"),a(0,"icon-th"),a(0,"icon-caret-left"),a(0,"icon-caret-right"),a(0,"icon-caret-down")),D=(a(0,"icon-caret-left"),a(0,"icon-caret-right"),a(0,"icon-sort"),a(0,"icon-caret-up"),a(0,"icon-cash-dollar"),a(0,"icon-chat_bubble_outline") ,a(0,"icon-check")),Q=(a(0,"icon-chevron-down-circle"),a(0,"icon-chevron-left-circle"),a(0,"icon-chevron-right-circle"),a(0,"icon-chevron-up-circle"),a(0,"icon-arrow-left-circle")),f=a(0,"icon-arrow-right-circle"),y=a(0,"icon-checkmark-circle"),M=a(0,"icon-cross-circle"),m=a(0,"icon-pause-circle"),F=a(0,"icon-play-circle"),S=(a(0,"icon-stop-circle"),a(0,"icon-terminal")),U=a(0,"icon-clipboard-text"),P=a(0,"icon-clipboard-user"),b=(a(0,"icon-clock3"),a(0,"icon-close")),T=(a(0,"icon-cloud"),a(0,"icon-cloud-sync"),a(0,"icon-site-map")),Y=a(0,"icon-icons2"),N=(a(0,"icon-cluster-added"),a(0,"icon-cluster-auth"),a(0,"icon-code")),R=a(0,"icon-cog"),L=(a(0,"icon-config"),a(0,"icon-frame-contract"),a(0,"icon-copy")),j=(a(0,"icon-credit-card1"),a(0,"icon-credit-card-alt"),a(0,"icon-credit-card")),z=a(0,"icon-cross"),k=a(0,"icon-database"),x=a(0,"icon-desktop"),O=(a(0,"icon-cc-discover"),a(0,"icon-get_app")),v=(a(0,"icon-earth"),a(0,"icon-pencil4"),a(0,"icon-ellipsis")),J=(a(0,"icon-email-soli d"),a(0,"icon-envelope-open"),a(0,"icon-equalizer"),a(0,"icon-equalizer1")),H=(a(0,"icon-exit-right"),a(0,"icon-frame-expand"),a(0,"icon-facebook"),a(0,"icon-facebook2"),a(0,"icon-file-code"),a(0,"icon-folder-plus")),G=a(0,"icon-folder-shared"),K=(a(0,"icon-add-fowarder"),a(0,"icon-github")),_=a(0,"icon-google-plus"),W=a(0,"icon-graph"),V=a(0,"icon-home3"),Z=a(0,"icon-info_outline"),$=a(0,"icon-info"),X=a(0,"icon-key"),q=a(0,"icon-keypair"),ee=a(0,"icon-kubernetes"),te=(a(0,"icon-label"),a(0,"icon-lan"),a(0,"icon-lan2")),Ae=(a(0,"icon-layers"),a(0,"icon-layers1"),a(0,"icon-license2"),a(0,"icon-link"),a(0,"icon-linkedin"),a(0,"icon-linux"),a(0,"icon-list")),ne=a(0,"icon-list1"),re=(a(0,"icon-playlist_add_check"),a(0,"icon-list4"),a(0,"icon-list3")),oe=(a(0,"icon-th-list"),a(0,"icon-local_play")),se=a(0,"icon-lock"),ie=(a(0,"icon-magnifier"),a(0,"icon-cc-mastercard"),a(0,"icon-memory"),a(0,"icon-more_horiz"),a(0,"icon-more_vert"),a(0,"icon-mute"),a(0,"icon-new-tab")),ce=a(0,"icon-note _add"),ae=a(0,"icon-notifications_active"),ge=a(0,"icon-openid"),le=(a(0,"icon-paper-plane"),a(0,"icon-cc-paypal"),a(0,"icon-pencil"),a(0,"icon-person")),Ee=(a(0,"icon-person_add"),a(0,"icon-phonelink_erase"),a(0,"icon-phonelink_setup"),a(0,"icon-planet"),a(0,"icon-play"),a(0,"icon-power-switch")),Be=(a(0,"icon-profile"),a(0,"icon-question-circle")),ue=a(0,"icon-restore"),de=a(0,"icon-server"),we=(a(0,"icon-settings_input_composite"),a(0,"icon-settings_overscan"),a(0,"icon-share"),a(0,"icon-chart-bars"),a(0,"icon-shield-check"),a(0,"icon-shrink"),a(0,"icon-arrow_drop_down"),a(0,"icon-arrow_drop_up"),a(0,"icon-chevrons-expand-vertical")),Ie=a(0,"icon-chevron-up"),he=a(0,"icon-chevron-down"),pe=(a(0,"icon-speed-fast"),a(0,"icon-spinner8")),Ce=(a(0,"icon-stars"),a(0,"icon-cc-stripe"),a(0,"icon-sync2"),a(0,"icon-tablet2"),a(0,"icon-tags"),a(0,"icon-cli")),De=(a(0,"icon-trash2"),a(0,"icon-twitter"),a(0,"icon-usb-drive"),a(0,"icon-unarchive"),a(0,"icon-unlock")),Qe=(a(0,"icon-unlink2"),a( 0,"icon-file_upload")),fe=(a(0,"icon-user"),a(0,"icon-user-created"),a(0,"icon-users2")),ye=(a(0,"icon-videogame_asset"),a(0,"icon-cc-visa"),a(0,"icon-volume-high"),a(0,"icon-vpn_key")),Me=a(0,"icon-magic-wand"),me=a(0,"icon-warning"),Fe=(a(0,"icon-wifi"),a(0,"icon-windows")),Se=(a(0,"icon-youtube"),c)},3757:(e,t,A)=>{"use strict";A.d(t,{$8D:()=>n.$8D,$jN:()=>n.$jN,CKM:()=>n.CKM,C_P:()=>n.C_P,Ccb:()=>n.Ccb,Dzp:()=>n.Dzp,EKh:()=>n.EKh,E_:()=>n.E_,Eye:()=>n.Eye,Fc0:()=>n.Fc0,GSs:()=>n.GSs,HEZ:()=>n.HEZ,HNF:()=>n.HNF,Hi7:()=>n.Hi7,HzO:()=>n.HzO,JrY:()=>n.JrY,K5e:()=>n.K5e,LTv:()=>n.LTv,Ljw:()=>n.Ljw,Lk_:()=>n.Lk_,Ls$:()=>n.Ls$,N7_:()=>n.N7_,OGY:()=>n.OGY,Oz3:()=>n.Oz3,P0T:()=>n.P0T,PEF:()=>n.PEF,Qaw:()=>n.Qaw,RKM:()=>n.RKM,SK8:()=>n.SK8,Sp$:()=>n.Sp$,TUt:()=>n.TUt,Tvr:()=>n.Tvr,UWx:()=>n.UWx,X1q:()=>n.X1q,YJo:()=>n.YJo,ZJY:()=>n.ZJY,ZPm:()=>r,cEj:()=>n.cEj,deu:()=>n.deu,gqx:()=>n.gqx,id6:()=>n.id6,ieO:()=>n.ieO,kIV:()=>n.kIV,kJb:()=>n.kJb,liM:()=>n.liM,m34:()=>n.m34,mH4:()=>n.mH4,mRU:( )=>n.mRU,mm_:()=>n.mm_,oI9:()=>n.oI9,ob6:()=>n.ob6,olP:()=>n.olP,ot9:()=>n.ot9,qHJ:()=>n.qHJ,r6F:()=>n.r6F,rNN:()=>n.rNN,rU9:()=>n.rU9,srI:()=>n.srI,tXd:()=>n.tXd,v3j:()=>n.v3j,voY:()=>n.voY,vu8:()=>n.vu8,x8P:()=>n.x8P,xFH:()=>n.xFH,xX_:()=>n.xX_,xhZ:()=>n.xhZ,yGk:()=>n.yGk,zlj:()=>n.zlj});var n=A(8862);const r=n.ZPm},9049:(e,t,A)=>{"use strict";A.d(t,{Z:()=>u});var n=A(2784),r=A(917),o=A(3980),s=A.n(o),i=A(2865);function c(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,n)}return A}function a(e){for(var t=1;t n.createElement(B,e);l.propTypes=a(a(a(a(a(a({src:s().string},i.Dh.propTypes),i.$_.propTypes),i.bf.propTypes),i.Cb.propTypes),i.kk.propTypes),i.kC.propTypes),l.displayName="Logo";const E=l,B=r.ZP.img(["display:block;outline:none;"," "," "," "," "," ",""],i.$_,i.Dh,i.bf,i.Cb,i.kk,i.kC),u=E},5147:(e,t,A)=>{"use strict";A.d(t,{sq:()=>g,ZP:()=>l});var n=A(2784),r=A(917),o=A(3980),s=A.n(o),i=A(2865);function c(){return c=Object.assign||function(e){for(var t=1;t {let{kind:t,theme:A}=e;return"secondary"===t?{backg roundColor:A.colors.primary.dark,color:A.colors.text.primary}:"warning"===t?{backgroundColor:A.colors.warning,color:A.colors.primary.contrastText}:"danger"===t?{backgroundColor:A.colors.danger,color:A.colors.primary.contrastText}:"success"===t?{backgroundColor:A.colors.success,color:A.colors.primary.contrastText}:{backgroundColor:A.colors.secondary.main,color:A.colors.text.secondary.contrastText}}),i.Dh);a.propTypes={kind:s().oneOf(["primary","secondary","warning","danger","success"]),invert:s().oneOf([!0,!1])};const g=e=>n.createElement(a,c({kind:"primary"},e)),l=a},491:(e,t,A)=>{"use strict";A.d(t,{Z:()=>D});var n=A(2784),r=A(3980),o=A.n(r),s=A(8316),i=A(8394);let c;function a(e){if(!c&&0!==c||e){const e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),c=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return c}var g=A(917);const l=["children"];f unction E(){return E=Object.assign||function(e){for(var t=1;t =0||(r[A]=e[A]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,A)&&(r[A]=e[A])}return r}(e,l);return n.createElement(u,E({role:"menu"},A),t)}}const u=g.ZP.div(["background-color:",";border-radius:4px;box-shadow:0 8px 24px rgba(0,0,0,0.24);box-sizing:border-box;max-height:calc(100% - 96px);overflow:hidden;position:relative;padding:0;",""],(e=>e.theme.colors.light),(e=>e.menuListCss&&e.menuListCss(e)));B.propTypes={children:o().node,
M,m34:()=>f,mH4:()=>v,mRU:()=>ge,mm_:()=>g,oI9:()=>Ce,ob6:()=>P,olP:()=>w,ot9:()=>G,qHJ:()=>l,r6F:()=>ue,rNN:()=>F,rU9:()=>ae,s2m:()=>ye,srI:()=>X,tXd:()=>he,v3j:()=>me,voY:()=>k,vu8:()=>T,x8P:()=>b,xFH:()=>de,xX_:()=>ce,xhZ:()=>d,yGk:()=>y,zlj:()=>S});var n=A(2784),r=A(917),o=A(3815);A(2266);const s=["className"];function i(){return i=Object.assign||function(e){for(var t=1;t
=0||(r[A]=e[A]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,A)&&(r[A]=e[A])}return r}(e,s);const o=`${A} ${t}`;return n.createElement(c,i({className:o},r))}}c.displayName="Icon",c.defaultProps={color:"light"};const g=a(0,"icon-add"),l=(a(0,"icon-users-plus"),a(0,"icon-amazonaws")),E=(a(0,"icon-cc-amex"),a(0,"icon-apartment"),a(0,"icon-app-installed")),B=(a(0,"icon-apple"),a(0,"icon-app-rollback"),a(0,"icon-archive2"),a(0,"icon-chevron-down")),u=a(0,"icon-arrow_forward"),d=a(0,"icon-arrow_back"),w=(a(0,"icon-chevron-left"),a(0,"icon-chevron-right")),I=(a(0,"icon-chevrons-expand-vertical"),a(0,"icon-chevron-up"),a(0,"icon-alarm-ringing")),h=(a(0,"icon-bag-dollar"),a(0,"icon-bitbucket")),p=a(0,"icon-box"),C=(a(0,"icon-bubble"),a(0,"icon-camera"),a(0,"icon-th-large"),a(0,"icon-th"),a(0,"icon-caret-left"),a(0,"icon-caret-right"),a(0,"icon-caret-down")),D=(a(0,"icon-caret-left"),a(0,"icon-caret-right"),a(0,"icon-sort"),a(0,"icon-caret-up"),a(0,"icon-cash-dollar"),a(0,"icon-chat_bubble_outline") ,a(0,"icon-check")),Q=(a(0,"icon-chevron-down-circle"),a(0,"icon-chevron-left-circle"),a(0,"icon-chevron-right-circle"),a(0,"icon-chevron-up-circle"),a(0,"icon-arrow-left-circle")),f=a(0,"icon-arrow-right-circle"),y=a(0,"icon-checkmark-circle"),M=a(0,"icon-cross-circle"),m=a(0,"icon-pause-circle"),F=a(0,"icon-play-circle"),S=(a(0,"icon-stop-circle"),a(0,"icon-terminal")),U=a(0,"icon-clipboard-text"),P=a(0,"icon-clipboard-user"),b=(a(0,"icon-clock3"),a(0,"icon-close")),T=(a(0,"icon-cloud"),a(0,"icon-cloud-sync"),a(0,"icon-site-map")),Y=a(0,"icon-icons2"),N=(a(0,"icon-cluster-added"),a(0,"icon-cluster-auth"),a(0,"icon-code")),R=a(0,"icon-cog"),L=(a(0,"icon-config"),a(0,"icon-frame-contract"),a(0,"icon-copy")),j=(a(0,"icon-credit-card1"),a(0,"icon-credit-card-alt"),a(0,"icon-credit-card")),z=a(0,"icon-cross"),k=a(0,"icon-database"),x=a(0,"icon-desktop"),O=(a(0,"icon-cc-discover"),a(0,"icon-get_app")),v=(a(0,"icon-earth"),a(0,"icon-pencil4"),a(0,"icon-ellipsis")),J=(a(0,"icon-email-soli d"),a(0,"icon-envelope-open"),a(0,"icon-equalizer"),a(0,"icon-equalizer1")),H=(a(0,"icon-exit-right"),a(0,"icon-frame-expand"),a(0,"icon-facebook"),a(0,"icon-facebook2"),a(0,"icon-file-code"),a(0,"icon-folder-plus")),G=a(0,"icon-folder-shared"),K=(a(0,"icon-add-fowarder"),a(0,"icon-github")),_=a(0,"icon-google-plus"),W=a(0,"icon-graph"),V=a(0,"icon-home3"),Z=a(0,"icon-info_outline"),$=a(0,"icon-info"),X=a(0,"icon-key"),q=a(0,"icon-keypair"),ee=a(0,"icon-kubernetes"),te=(a(0,"icon-label"),a(0,"icon-lan"),a(0,"icon-lan2")),Ae=(a(0,"icon-layers"),a(0,"icon-layers1"),a(0,"icon-license2"),a(0,"icon-link"),a(0,"icon-linkedin"),a(0,"icon-linux"),a(0,"icon-list")),ne=a(0,"icon-list1"),re=(a(0,"icon-playlist_add_check"),a(0,"icon-list4"),a(0,"icon-list3")),oe=(a(0,"icon-th-list"),a(0,"icon-local_play")),se=a(0,"icon-lock"),ie=(a(0,"icon-magnifier"),a(0,"icon-cc-mastercard"),a(0,"icon-memory"),a(0,"icon-more_horiz"),a(0,"icon-more_vert"),a(0,"icon-mute"),a(0,"icon-new-tab")),ce=a(0,"icon-note _add"),ae=a(0,"icon-notifications_active"),ge=a(0,"icon-openid"),le=(a(0,"icon-paper-plane"),a(0,"icon-cc-paypal"),a(0,"icon-pencil"),a(0,"icon-person")),Ee=(a(0,"icon-person_add"),a(0,"icon-phonelink_erase"),a(0,"icon-phonelink_setup"),a(0,"icon-planet"),a(0,"icon-play"),a(0,"icon-power-switch")),Be=(a(0,"icon-profile"),a(0,"icon-question-circle")),ue=a(0,"icon-restore"),de=a(0,"icon-server"),we=(a(0,"icon-settings_input_composite"),a(0,"icon-settings_overscan"),a(0,"icon-share"),a(0,"icon-chart-bars"),a(0,"icon-shield-check"),a(0,"icon-shrink"),a(0,"icon-arrow_drop_down"),a(0,"icon-arrow_drop_up"),a(0,"icon-chevrons-expand-vertical")),Ie=a(0,"icon-chevron-up"),he=a(0,"icon-chevron-down"),pe=(a(0,"icon-speed-fast"),a(0,"icon-spinner8")),Ce=(a(0,"icon-stars"),a(0,"icon-cc-stripe"),a(0,"icon-sync2"),a(0,"icon-tablet2"),a(0,"icon-tags"),a(0,"icon-cli")),De=(a(0,"icon-trash2"),a(0,"icon-twitter"),a(0,"icon-usb-drive"),a(0,"icon-unarchive"),a(0,"icon-unlock")),Qe=(a(0,"icon-unlink2"),a( 0,"icon-file_upload")),fe=(a(0,"icon-user"),a(0,"icon-user-created"),a(0,"icon-users2")),ye=(a(0,"icon-videogame_asset"),a(0,"icon-cc-visa"),a(0,"icon-volume-high"),a(0,"icon-vpn_key")),Me=a(0,"icon-magic-wand"),me=a(0,"icon-warning"),Fe=(a(0,"icon-wifi"),a(0,"icon-windows")),Se=(a(0,"icon-youtube"),c)},3757:(e,t,A)=>{"use strict";A.d(t,{$8D:()=>n.$8D,$jN:()=>n.$jN,CKM:()=>n.CKM,C_P:()=>n.C_P,Ccb:()=>n.Ccb,Dzp:()=>n.Dzp,EKh:()=>n.EKh,E_:()=>n.E_,Eye:()=>n.Eye,Fc0:()=>n.Fc0,GSs:()=>n.GSs,HEZ:()=>n.HEZ,HNF:()=>n.HNF,Hi7:()=>n.Hi7,HzO:()=>n.HzO,JrY:()=>n.JrY,K5e:()=>n.K5e,LTv:()=>n.LTv,Ljw:()=>n.Ljw,Lk_:()=>n.Lk_,Ls$:()=>n.Ls$,N7_:()=>n.N7_,OGY:()=>n.OGY,Oz3:()=>n.Oz3,P0T:()=>n.P0T,PEF:()=>n.PEF,Qaw:()=>n.Qaw,RKM:()=>n.RKM,SK8:()=>n.SK8,Sp$:()=>n.Sp$,TUt:()=>n.TUt,Tvr:()=>n.Tvr,UWx:()=>n.UWx,X1q:()=>n.X1q,YJo:()=>n.YJo,ZJY:()=>n.ZJY,ZPm:()=>r,cEj:()=>n.cEj,deu:()=>n.deu,gqx:()=>n.gqx,id6:()=>n.id6,ieO:()=>n.ieO,kIV:()=>n.kIV,kJb:()=>n.kJb,liM:()=>n.liM,m34:()=>n.m34,mH4:()=>n.mH4,mRU:( )=>n.mRU,mm_:()=>n.mm_,oI9:()=>n.oI9,ob6:()=>n.ob6,olP:()=>n.olP,ot9:()=>n.ot9,qHJ:()=>n.qHJ,r6F:()=>n.r6F,rNN:()=>n.rNN,rU9:()=>n.rU9,srI:()=>n.srI,tXd:()=>n.tXd,v3j:()=>n.v3j,voY:()=>n.voY,vu8:()=>n.vu8,x8P:()=>n.x8P,xFH:()=>n.xFH,xX_:()=>n.xX_,xhZ:()=>n.xhZ,yGk:()=>n.yGk,zlj:()=>n.zlj});var n=A(8862);const r=n.ZPm},9049:(e,t,A)=>{"use strict";A.d(t,{Z:()=>u});var n=A(2784),r=A(917),o=A(3980),s=A.n(o),i=A(2865);function c(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),A.push.apply(A,n)}return A}function a(e){for(var t=1;t n.createElement(B,e);l.propTypes=a(a(a(a(a(a({src:s().string},i.Dh.propTypes),i.$_.propTypes),i.bf.propTypes),i.Cb.propTypes),i.kk.propTypes),i.kC.propTypes),l.displayName="Logo";const E=l,B=r.ZP.img(["display:block;outline:none;"," "," "," "," "," ",""],i.$_,i.Dh,i.bf,i.Cb,i.kk,i.kC),u=E},5147:(e,t,A)=>{"use strict";A.d(t,{sq:()=>g,ZP:()=>l});var n=A(2784),r=A(917),o=A(3980),s=A.n(o),i=A(2865);function c(){return c=Object.assign||function(e){for(var t=1;t {let{kind:t,theme:A}=e;return"secondary"===t?{backg roundColor:A.colors.primary.dark,color:A.colors.text.primary}:"warning"===t?{backgroundColor:A.colors.warning,color:A.colors.primary.contrastText}:"danger"===t?{backgroundColor:A.colors.danger,color:A.colors.primary.contrastText}:"success"===t?{backgroundColor:A.colors.success,color:A.colors.primary.contrastText}:{backgroundColor:A.colors.secondary.main,color:A.colors.text.secondary.contrastText}}),i.Dh);a.propTypes={kind:s().oneOf(["primary","secondary","warning","danger","success"]),invert:s().oneOf([!0,!1])};const g=e=>n.createElement(a,c({kind:"primary"},e)),l=a},491:(e,t,A)=>{"use strict";A.d(t,{Z:()=>D});var n=A(2784),r=A(3980),o=A.n(r),s=A(8316),i=A(8394);let c;function a(e){if(!c&&0!==c||e){const e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),c=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return c}var g=A(917);const l=["children"];f unction E(){return E=Object.assign||function(e){for(var t=1;t =0||(r[A]=e[A]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n =0||Object.prototype.propertyIsEnumerable.call(e,A)&&(r[A]=e[A])}return r}(e,l);return n.createElement(u,E({role:"menu"},A),t)}}const u=g.ZP.div(["background-color:",";border-radius:4px;box-shadow:0 8px 24px rgba(0,0,0,0.24);box-sizing:border-box;max-height:calc(100% - 96px);overflow:hidden;position:relative;padding:0;",""],(e=>e.theme.colors.light),(e=>e.menuListCss&&e.menuListCss(e)));B.propTypes={children:o().node,
{const{onSelect:r,anchorOrigin:o,transformOrigin:s,required:c=!0,width:u}=e,d=(0,n.useRef)(),[g,f]=(0,n.useState)(!1),[b,y]=function(e){const[t,r]=(0,n.useState)(m),o=(0,n.useCallback)((function(){for(var t=arguments.length,n=new Array(t),o=0;o
(r((e=>p(p({},e),{},{status:"processing"}))),e.call(null,...n)))).then((e=>(r((t=>p(p({},t),{},{status:"success",data:e}))),[e,null])),(e=>(r((t=>p(p({},t),{},{status:"error",statusText:null==e?void 0:e.message,data:null}))),[null,e])))}),[r,e]);return[t,o,(0,n.useCallback)((e=>{r(e)}),[r])]}((()=>Promise.resolve().then((()=>e.getLoginItems())))),x=e.placeholder||"Enter login name���",k=()=>{b.status||y(),f(!0)},v=()=>{f(!1)};return(0,n.useImperativeHandle)(t,(()=>({open:()=>{k()}}))),n.createElement(n.Fragment,null,n.createElement(l.ku,{height:"24px",size:"small",setRef:d,onClick:k},"CONNECT",n.createElement(i.E_,{ml:2,mr:-2,fontSize:"2",color:"text.secondary"})),n.createElement(a.Z P,{anchorOrigin:o,transformOrigin:s,anchorEl:d.current,open:g,onClose:v,getContentAnchorEl:null},n.createElement(h,{getLoginItemsAttempt:b,onKeyPress:e=>{"Enter"!==e.key||c&&!e.currentTarget.value||(v(),r(e,e.currentTarget.value))},onClick:(e,t)=>{v(),r(e,t)},placeholder:x,width:u})))})),h=e=>{let{getLoginItemsAttempt:t,onClick:r,onKeyPress:o,placeholder:a,width:c}=e;const i=function(e,t){switch(e.status){case"":case"processing":return n.createElement(x,null);case"error":return null;case"success":return e.data.map(((e,r)=>{const{login:o,url:a}=e;return n.createElement(b,{key:r,px:"2",mx:"2",as:a?s.OL:f,to:a,onClick:e=>{t(e,o)}},o)}))}}(t,r);return n.createElement(l.kC,{flexDirection:"column",width:c},n.createElement(y,{p:"2",m:"2",onKeyPress:o,type:"text",autoFocus:!0,placeholder:a,autoComplete:"off"}),i)},f=o.ZP.button(["color:inherit;border:none;flex:1;"]),b=(0,o.ZP)(a.sN)((e=>{let{theme:t}=e;return`\n color: ${t.colors.grey[400]};\n font-size: 12px;\n border-bottom: 1px solid ${t.colors.subtle};\n min-height: 32px;\n &:hover {\n color: ${t.colors.link};\n }\n\n :last-child {\n border-bottom: none;\n margin-bottom: 8px;\n }\n`})),y=o.ZP.input((e=>{let{theme:t}=e;return`\n background: ${t.colors.subtle};\n border: 1px solid ${t.colors.subtle};\n border-radius: 4px;\n box-sizing: border-box;\n color: ${t.colors.grey[900]};\n height: 32px;\n outline: none;\n\n &:focus {\n background: ${t.colors.light};\n border 1px solid ${t.colors.link};\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, .24);\n }\n\n ::placeholder {\n color: ${t.colors.grey[100]};\n }\n`}),c.Dh);var x=(0,o.ZP)(l.z$)(["",""],(e=>{let{theme:t}=e;return`\n align-self: center;\n color: ${t.colors.secondary.dark}\n `}))},4123:(e,t,r)=>{r.r(t),r.d(t,{default:()=>S});var n=r(2784),o=r(7849),s=r(2398),a=r(7067),c=r(5769),l=r(2499),i=r(2479),u=r(3652),p=r(4207),d=r(6071);const m=function(e){const{desktops:t=[],pageSize:r,onLoginMenuOpen:o ,onLoginSelect:s,totalCount:a,fetchNext:c,fetchPrev:l,fetchStatus:i,from:m,to:g,params:h,setParams:f,startKeys:b,setSort:y,pathname:x,replaceHistory:k,onLabelClick:v}=e;function O(e,t,r){e.preventDefault(),s(t,r)}return n.createElement(u.ZP,{data:t,columns:[{key:"addr",headerText:"Address"},{key:"name",headerText:"Name",isSortable:!0},{key:"labels",headerText:"Labels",render:e=>{let{labels:t}=e;return n.createElement(u.aW,{labels:t,onClick:v})}},{altKey:"login-cell",render:e=>function(e,t,r){let{name:o}=e;return n.createElement(u.bL,{align:"right"},n.createElement(p.x,{getLoginItems:function(){return t(o)},onSelect:function(e,t){return r?r(e,t,o):[]},transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"center",horizontal:"right"}}))}(e,o,O)}],pagination:{pageSize:r},fetching:{onFetchNext:c,onFetchPrev:l,fetchStatus:i},serversideProps:{sort:h.sort,setSort:y,startKeys:b,serversideSearchPanel:n.createElement(d.Z,{from:m,to:g,count:a,params:h,setParams:f,pathname: x,replaceHistory:k})},isSearchable:!0,emptyText:"No Desktops Found"})};var g=r(4517),h=r(4696),f=r(7278),b=r(6828),y=r(1392),x=r(321),k=r(3228),v=r(9068);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t https://goteleport.com/docs/desktop-access/getting-started/",resourceType:"desktop",readOnly:{title:"No Desktops Found",resource:"desktops"}},S=function(){const e=function(e){const{attempt:t,setAttempt:r}=(0,h.Z)("processing"),{search:o,pathname:s}=(0,g.TH)(),[a,c]=(0,n.useState)([]),{clusterId:l,isLeafCluster:i}=(0,b.Z)(),u=e.storeUser.getTokenAccess().create,p=e.storeUser.state.username,d=e.storeUser.getWindowsLogins(),[m,O]=(0,n.useState)(""),[w,P]=(0,n.useState)(E({sort:{fieldName:"name",dir:"ASC"}},(0,x.Z)(o))),C=!(null!=w&&w.query||null!=w&&w.search),[S,j]=(0,n.useState)({desktops:[],startKey:"",totalCount:0}),Z=S.totalCount>0?15*(a.length-2)+1:0,D=S.totalCount>0?Z+S.desktops.length-1:0;function $(e){y.Z.replace(e)}return(0,n.useEffect)((()=>{r({status:"processing"}),e.desktopService.fetchDesktops(l,E(E({},w),{},{lim it:15})).then((e=>{j({desktops:e.agents,startKey:e.startKey,totalCount:e.totalCount}),O(e.startKey?"":"disabled"),c(["",e.startKey]),r({status:"success"})})).catch((e=>{r({status:"failed",statusText:e.message}),j(E(E({},S),{},{desktops:[],totalCount:0})),c([""])}))}),[l,o]),{attempt:t,username:p,clusterId:l,canCreate:u,isLeafCluster:i,getWindowsLoginOptions:e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).map((r=>({login:r,url:f.Z.getDesktopRoute({clusterId:e,desktopName:t,username:r})})))}(l,e,d),openRemoteDesktopTab:(e,t)=>{const r=f.Z.getDesktopRoute({clusterId:l,desktopName:t,username:e});(0,k.RB)(r)},results:S,fetchNext:()=>{O("loading"),e.desktopService.fetchDesktops(l,E(E({},w),{},{limit:15,startKey:S.startKey})).then((e=>{j(E(E({},S),{},{desktops:e.agents,startKey:e.startKey})),O(e.startKey?"":"disabled"),c([...a,e.startKey])})).catch((e=>{r({status:"failed",statusText:e.message}) }))},fetchPrev:()=>{O("loading"),e.desktopService.fetchDesktops(l,E(E({},w),{},{limit:15,startKey:a[a.length-3]})).then((e=>{const t=a;t.pop(),c(t),j(E(E({},S),{},{desktops:e.agents,startKey:e.startKey})),O("")})).catch((e=>{r({status:"failed",statusText:e.message})}))},pageSize:15,from:Z,to:D,params:w,setParams:P,startKeys:a,setSort:function(e){P(E(E({},w),{},{sort:e}))},pathname:s,replaceHistory:$,fetchStatus:m,isSearchEmpty:C,onLabelClick:e=>(0,v.Z)(e,w,P,s,$)}}((0,s.Z)());return n.createElement(P,e)}},2479:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(2784),o=r(7933),s=r(7849),a=r(7278);const c=function(e){const{canCreate:t,isLeafCluster:r,onClick:c,agent:l,beginsWithVowel:i}=e,u=r||!t;let p="";return t||(p=`You do not have access to add ${i?"an":"a"} ${l}`),r&&(p=`Adding ${i?"an":"a"} ${l} to a leaf cluster is not supported`),n.createElement(o.rU,{to:{pathname:`${a.Z.routes.root}/discover`,state:{entity:l}},style:{textDecoration:"none"}},n.createElement(s.DF,{title:p,disabled:u,width:"240
{const{onSelect:r,anchorOrigin:o,transformOrigin:s,required:c=!0,width:u}=e,d=(0,n.useRef)(),[g,f]=(0,n.useState)(!1),[b,y]=function(e){const[t,r]=(0,n.useState)(m),o=(0,n.useCallback)((function(){for(var t=arguments.length,n=new Array(t),o=0;o
(r((e=>p(p({},e),{},{status:"processing"}))),e.call(null,...n)))).then((e=>(r((t=>p(p({},t),{},{status:"success",data:e}))),[e,null])),(e=>(r((t=>p(p({},t),{},{status:"error",statusText:null==e?void 0:e.message,data:null}))),[null,e])))}),[r,e]);return[t,o,(0,n.useCallback)((e=>{r(e)}),[r])]}((()=>Promise.resolve().then((()=>e.getLoginItems())))),x=e.placeholder||"Enter login name���",k=()=>{b.status||y(),f(!0)},v=()=>{f(!1)};return(0,n.useImperativeHandle)(t,(()=>({open:()=>{k()}}))),n.createElement(n.Fragment,null,n.createElement(l.ku,{height:"24px",size:"small",setRef:d,onClick:k},"CONNECT",n.createElement(i.E_,{ml:2,mr:-2,fontSize:"2",color:"text.secondary"})),n.createElement(a.Z P,{anchorOrigin:o,transformOrigin:s,anchorEl:d.current,open:g,onClose:v,getContentAnchorEl:null},n.createElement(h,{getLoginItemsAttempt:b,onKeyPress:e=>{"Enter"!==e.key||c&&!e.currentTarget.value||(v(),r(e,e.currentTarget.value))},onClick:(e,t)=>{v(),r(e,t)},placeholder:x,width:u})))})),h=e=>{let{getLoginItemsAttempt:t,onClick:r,onKeyPress:o,placeholder:a,width:c}=e;const i=function(e,t){switch(e.status){case"":case"processing":return n.createElement(x,null);case"error":return null;case"success":return e.data.map(((e,r)=>{const{login:o,url:a}=e;return n.createElement(b,{key:r,px:"2",mx:"2",as:a?s.OL:f,to:a,onClick:e=>{t(e,o)}},o)}))}}(t,r);return n.createElement(l.kC,{flexDirection:"column",width:c},n.createElement(y,{p:"2",m:"2",onKeyPress:o,type:"text",autoFocus:!0,placeholder:a,autoComplete:"off"}),i)},f=o.ZP.button(["color:inherit;border:none;flex:1;"]),b=(0,o.ZP)(a.sN)((e=>{let{theme:t}=e;return`\n color: ${t.colors.grey[400]};\n font-size: 12px;\n border-bottom: 1px solid ${t.colors.subtle};\n min-height: 32px;\n &:hover {\n color: ${t.colors.link};\n }\n\n :last-child {\n border-bottom: none;\n margin-bottom: 8px;\n }\n`})),y=o.ZP.input((e=>{let{theme:t}=e;return`\n background: ${t.colors.subtle};\n border: 1px solid ${t.colors.subtle};\n border-radius: 4px;\n box-sizing: border-box;\n color: ${t.colors.grey[900]};\n height: 32px;\n outline: none;\n\n &:focus {\n background: ${t.colors.light};\n border 1px solid ${t.colors.link};\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, .24);\n }\n\n ::placeholder {\n color: ${t.colors.grey[100]};\n }\n`}),c.Dh);var x=(0,o.ZP)(l.z$)(["",""],(e=>{let{theme:t}=e;return`\n align-self: center;\n color: ${t.colors.secondary.dark}\n `}))},4123:(e,t,r)=>{r.r(t),r.d(t,{default:()=>S});var n=r(2784),o=r(7849),s=r(2398),a=r(7067),c=r(5769),l=r(2499),i=r(2479),u=r(3652),p=r(4207),d=r(6071);const m=function(e){const{desktops:t=[],pageSize:r,onLoginMenuOpen:o ,onLoginSelect:s,totalCount:a,fetchNext:c,fetchPrev:l,fetchStatus:i,from:m,to:g,params:h,setParams:f,startKeys:b,setSort:y,pathname:x,replaceHistory:k,onLabelClick:v}=e;function O(e,t,r){e.preventDefault(),s(t,r)}return n.createElement(u.ZP,{data:t,columns:[{key:"addr",headerText:"Address"},{key:"name",headerText:"Name",isSortable:!0},{key:"labels",headerText:"Labels",render:e=>{let{labels:t}=e;return n.createElement(u.aW,{labels:t,onClick:v})}},{altKey:"login-cell",render:e=>function(e,t,r){let{name:o}=e;return n.createElement(u.bL,{align:"right"},n.createElement(p.x,{getLoginItems:function(){return t(o)},onSelect:function(e,t){return r?r(e,t,o):[]},transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"center",horizontal:"right"}}))}(e,o,O)}],pagination:{pageSize:r},fetching:{onFetchNext:c,onFetchPrev:l,fetchStatus:i},serversideProps:{sort:h.sort,setSort:y,startKeys:b,serversideSearchPanel:n.createElement(d.Z,{from:m,to:g,count:a,params:h,setParams:f,pathname: x,replaceHistory:k})},isSearchable:!0,emptyText:"No Desktops Found"})};var g=r(4517),h=r(4696),f=r(7278),b=r(6828),y=r(1392),x=r(321),k=r(3228),v=r(9068);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t https://goteleport.com/docs/desktop-access/getting-started/",resourceType:"desktop",readOnly:{title:"No Desktops Found",resource:"desktops"}},S=function(){const e=function(e){const{attempt:t,setAttempt:r}=(0,h.Z)("processing"),{search:o,pathname:s}=(0,g.TH)(),[a,c]=(0,n.useState)([]),{clusterId:l,isLeafCluster:i}=(0,b.Z)(),u=e.storeUser.getTokenAccess().create,p=e.storeUser.state.username,d=e.storeUser.getWindowsLogins(),[m,O]=(0,n.useState)(""),[w,P]=(0,n.useState)(E({sort:{fieldName:"name",dir:"ASC"}},(0,x.Z)(o))),C=!(null!=w&&w.query||null!=w&&w.search),[S,j]=(0,n.useState)({desktops:[],startKey:"",totalCount:0}),Z=S.totalCount>0?15*(a.length-2)+1:0,D=S.totalCount>0?Z+S.desktops.length-1:0;function $(e){y.Z.replace(e)}return(0,n.useEffect)((()=>{r({status:"processing"}),e.desktopService.fetchDesktops(l,E(E({},w),{},{lim it:15})).then((e=>{j({desktops:e.agents,startKey:e.startKey,totalCount:e.totalCount}),O(e.startKey?"":"disabled"),c(["",e.startKey]),r({status:"success"})})).catch((e=>{r({status:"failed",statusText:e.message}),j(E(E({},S),{},{desktops:[],totalCount:0})),c([""])}))}),[l,o]),{attempt:t,username:p,clusterId:l,canCreate:u,isLeafCluster:i,getWindowsLoginOptions:e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]).map((r=>({login:r,url:f.Z.getDesktopRoute({clusterId:e,desktopName:t,username:r})})))}(l,e,d),openRemoteDesktopTab:(e,t)=>{const r=f.Z.getDesktopRoute({clusterId:l,desktopName:t,username:e});(0,k.RB)(r)},results:S,fetchNext:()=>{O("loading"),e.desktopService.fetchDesktops(l,E(E({},w),{},{limit:15,startKey:S.startKey})).then((e=>{j(E(E({},S),{},{desktops:e.agents,startKey:e.startKey})),O(e.startKey?"":"disabled"),c([...a,e.startKey])})).catch((e=>{r({status:"failed",statusText:e.message}) }))},fetchPrev:()=>{O("loading"),e.desktopService.fetchDesktops(l,E(E({},w),{},{limit:15,startKey:a[a.length-3]})).then((e=>{const t=a;t.pop(),c(t),j(E(E({},S),{},{desktops:e.agents,startKey:e.startKey})),O("")})).catch((e=>{r({status:"failed",statusText:e.message})}))},pageSize:15,from:Z,to:D,params:w,setParams:P,startKeys:a,setSort:function(e){P(E(E({},w),{},{sort:e}))},pathname:s,replaceHistory:$,fetchStatus:m,isSearchEmpty:C,onLabelClick:e=>(0,v.Z)(e,w,P,s,$)}}((0,s.Z)());return n.createElement(P,e)}},2479:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(2784),o=r(7933),s=r(7849),a=r(7278);const c=function(e){const{canCreate:t,isLeafCluster:r,onClick:c,agent:l,beginsWithVowel:i}=e,u=r||!t;let p="";return t||(p=`You do not have access to add ${i?"an":"a"} ${l}`),r&&(p=`Adding ${i?"an":"a"} ${l} to a leaf cluster is not supported`),n.createElement(o.rU,{to:{pathname:`${a.Z.routes.root}/discover`,state:{entity:l}},style:{textDecoration:"none"}},n.createElement(s.DF,{title:p,disabled:u,width:"240
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package teleport for openSUSE:Factory checked in at 2022-12-01 17:21:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/teleport (Old)
and /work/SRC/openSUSE:Factory/.teleport.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "teleport"
Thu Dec 1 17:21:03 2022 rev:34 rq:1039245 version:11.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/teleport/teleport.changes 2022-11-29 13:23:28.066019668 +0100
+++ /work/SRC/openSUSE:Factory/.teleport.new.1835/teleport.changes 2022-12-01 17:21:48.262423964 +0100
@@ -1,0 +2,24 @@
+Thu Dec 01 05:44:31 UTC 2022 - kastl@b1-systems.de
+
+- Update to version 11.1.1:
+ * Release 11.1.1. (#18957)
+ * [auto] Update webassets in teleport/branch/v11 from webassets/teleport-v11 (#18954)
+ * [v11] backport #18036 (Allow for specifying roles when making Resource Access Requests in the UI) (#18868)
+ * [v11] Add Terraform provider links to Terraform module README (#18162)
+ * backport spell fixes (#18941)
+ * operator: Handle conflicts properly during tests (#18916)
+ * Fix FIPS builds (#18902)
+ * Remove DEBUG env var from Connect macOS dronegen (#18899) (#18921)
+ * [v11] Include ssh protocol in start, end audit events (#18895)
+ * [v11] Securely delete OTP QR code (#18917)
+ * [v11] Update permit_user_env comments in config ref (#18912)
+ * Include upload ID & session ID in failed upload warning logs (#18788) (#18872)
+ * Fix duplicate docs page titles (#18862)
+ * fuzz: fix broken OSS-Fuzz build (#18878)
+ * [v11] Add info on license renewals (#18848)
+ * Swaps Allow remote RDP connections and Open firewall to inbound RDP connections steps (#18844)
+ * Add `server_hostname` to `session.*` events (#18812) (#18832)
+ * [v11] Improve error message if dialing etcd nodes times out (#18822)
+ * [v11] feat: GCP KMS support (#18835)
+
+-------------------------------------------------------------------
Old:
----
teleport-11.1.0.tar.gz
New:
----
teleport-11.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ teleport.spec ++++++
--- /var/tmp/diff_new_pack.ZYuEix/_old 2022-12-01 17:21:54.342457210 +0100
+++ /var/tmp/diff_new_pack.ZYuEix/_new 2022-12-01 17:21:54.346457231 +0100
@@ -19,7 +19,7 @@
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: teleport
-Version: 11.1.0
+Version: 11.1.1
Release: 0
Summary: Identity-aware, multi-protocol access proxy
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZYuEix/_old 2022-12-01 17:21:54.390457472 +0100
+++ /var/tmp/diff_new_pack.ZYuEix/_new 2022-12-01 17:21:54.394457494 +0100
@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="exclude">.git</param>
- <param name="revision">v11.1.0</param>
+ <param name="revision">v11.1.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
@@ -25,7 +25,7 @@
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="disabled">
- <param name="archive">teleport-11.1.0.tar.gz</param>
+ <param name="archive">teleport-11.1.1.tar.gz</param>
</service>
</services>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ZYuEix/_old 2022-12-01 17:21:54.418457625 +0100
+++ /var/tmp/diff_new_pack.ZYuEix/_new 2022-12-01 17:21:54.422457647 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/gravitational/teleport</param>
- <param name="changesrevision">4ef520e81753855deae73dccdf9b4987d5c7b488</param></service></servicedata>
+ <param name="changesrevision">bf4e8ea41f5c86a4136c6c6c80bbbedb0b4f2a83</param></service></servicedata>
(No newline at EOF)
++++++ teleport-11.1.0.tar.gz -> teleport-11.1.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/teleport/teleport-11.1.0.tar.gz /work/SRC/openSUSE:Factory/.teleport.new.1835/teleport-11.1.1.tar.gz differ: char 15, line 1
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/teleport/vendor.tar.gz /work/SRC/openSUSE:Factory/.teleport.new.1835/vendor.tar.gz differ: char 5, line 1
++++++ webassets.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webassets/teleport/app/152.95afbd9224e249e2e6cc.js new/webassets/teleport/app/152.95afbd9224e249e2e6cc.js
--- old/webassets/teleport/app/152.95afbd9224e249e2e6cc.js 1970-01-01 01:00:00.000000000 +0100
+++ new/webassets/teleport/app/152.95afbd9224e249e2e6cc.js 2022-12-01 06:44:39.000000000 +0100
@@ -0,0 +1 @@
+"use strict";(self.webpackChunk_gravitational_teleport=self.webpackChunk_gravitational_teleport||[]).push([[152],{3937:(e,t,r)=>{r.d(t,{j2:()=>R,Oq:()=>d,sN:()=>n.sN,ZH:()=>n.ZH});var n=r(2760),o=r(2784),s=r(7849),i=r(3757);function a(){return a=Object.assign||function(e){for(var t=1;t =r)return 0;if(128!=(192&(_=e[l++]))){l--,h=!0;break}this.interim[f++]=_,u<<=6,u|=63&_}h||(2===d?u<128?l--:t[a++]=u:3===d?u<2048||u>=55296&&u<=57343||65279===u||(t[a++]=u):u<65536||u>1114111||(t[a++]=u)),this.interim.fill(0)}for(var v=r-4,g=l;g0&&(i.push({start:s+l.length+o,newLines:p}),o+=p.length),l.push.apply(l,p);var y=_.length-1,m=_[y];0===m&&(m=_[--y]);for(var b=l.length-d-1,S=f;b>=0;){var C=Math.min(S,m);if(l[y].copyCellsFrom(l[b],S-C,m-C,C,!0),0==(m-=C)&&(m=_[--y]),0==(S-=C)){b--;var w=Math.max(b,0);S=(0,a.getWrappedLineTrimmedLength)(l,w,this._cols)}}for(v=0;v{var r=n(6060),o=
n(2406);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++r{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var s=a[e?u:++o];if(!1===n(i[s],s,i))break}return t}}},3043:(e,t,n)=>{var r=n(8761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},3631:e=>{e.exports=function(e){return e}},1242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8761:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},7353:(e,t,n)=>{var r=n(241)(Object.getPrototypeOf,Object);e.exports=r},8725:(e,t,n)=>{var r=n(9413),o=n(7353),i=n(6001);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},2406:e=>{e.exports=function(){return!1}},6001:e=>{e.expor
ts=function(){return!1}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},1846:(e,t,n)=>{var r=n(2218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},8028:(e,t,n)=>{var r=n(2218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},2344:(e,t,n)=>{var r=n(2218);e.exports=function(e){return r(this.__data__,e)>-1}},4769:(e,t,n)=>{var r=n(2218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},3114:(e,t,n)=>{var r=n(9432),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),s=Array(u);++a{var r=n(1242),o="object"==typeof self&&self&&self.Object===Obje
ct&&self,i=r||o||Function("return this")();e.exports=i},2434:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},5251:e=>{e.exports=function(e){return e}},2098:(e,t,n)=>{var r=n(6794),o=n(3631)(r);e.exports=o},4073:(e,t,n)=>{var r=n(9259),o=n(1100),i=n(7642),a=Math.max,u=Math.min;e.exports=function(e,t,n){var s,l,c,f,p,d,h=0,m=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=s,r=l;return s=l=void 0,h=t,f=e.apply(r,n)}function _(e){return h=e,p=setTimeout(b,t),m?g(e):f}function E(e){var n=e-d;return void 0===d||n>=t||n<0||v&&e-h>=c}function b(){var e=o();if(E(e))return T(e);p=setTimeout(b,function(e){var n=t-(e-d);return v?u(n,c-(e-h)):n}(e))}function T(e){return p=void 0,y&&s?g(e):(s=l=void 0,f)}function S(){var e=o(),n=E(e);if(s=arguments,l=this,d=e,n){if(void 0===p)return _(d);if(v)return clearTimeout(p),p=setTimeout(b,t),g(d)}return void 0===p&&(p=setTimeout(b,t)),f}return t=i
(t)||0,r(n)&&(m=!!n.leading,c=(v="maxWait"in n)?a(i(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,s=d=l=p=void 0},S.flush=function(){return void 0===p?f:T(o())},S}},1225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},2579:(e,t,n)=>{var r=n(3324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3059:e=>{e.exports=function(e){return e}},9631:e=>{e.exports=function(){return!1}},6152:e=>{var t=Array.isArray;e.exports=t},7878:(e,t,n)=>{var r=n(1049),o=n(1158);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},3746:(e,t,n)=>{var r=n(7878),o=n(5125);e.exports=function(e){return o(e)&&r(e)}},3226:e=>{e.exports=function(){return!1}},1049:(e,t,n)=>{var r=n(3366),o=n(9259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1158:e=>{e.exports=function(e){return"number"==typeof e&&e
tring.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,u,s=o(e),l=1;lu?(e.sortIndex=s,w(P,e),null===O(x)&&e===O(P)&&(I?o():I=!0,r(j,s-u))):(e.sortIndex=a,w(x,e),M||L||(M=!0,n(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=O(x);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTi
me<=e&&n.expirationTime0;e[i+_]=255&o,_+=f,o/=256,c-=8);e[i+_-f]|=128*v}},3363:(e,t,i)=>{var r=i(8101);e.exports=function(e){return"number"==typeof e&&e==r(e)}},5707:(e,t,i)=>{var r=i(7642);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},8101:(e,t,i)=>{var r=i(5707);e.exports=function(e){var t=r(e),i=t%1;return t==t?i?t-i:t:0}},3886:(e,t,i)=>{var r=i(6062),s=i(945);"string"==typeof(s=s.__esModule?s.default:s)&&(s=[[e.id,s,""]]);r(s,{insert:"head",singleton:!1}),e.exports=s.locals||{}},2617:e=>{self,e.exports=(()=>{"use strict";var e={775:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FitAddon=void 0;var i=function(){function e(){}return e.prototype.activate=function(e){this._terminal=e},e.prototype.dispose=function(){},e.prototy
pe.fit=function(){var e=this.proposeDimensions();if(e&&this._terminal){var t=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}},e.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var e=this._terminal._core;if(0!==e._renderService.dimensions.actualCellWidth&&0!==e._renderService.dimensions.actualCellHeight){var t=window.getComputedStyle(this._terminal.element.parentElement),i=parseInt(t.getPropertyValue("height")),r=Math.max(0,parseInt(t.getPropertyValue("width"))),s=window.getComputedStyle(this._terminal.element),n=i-(parseInt(s.getPropertyValue("padding-top"))+parseInt(s.getPropertyValue("padding-bottom"))),o=r-(parseInt(s.getPropertyValue("padding-right"))+parseInt(s.getPropertyValue("padding-left")))-e.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(o/e._renderService.dimensions.actualCellWidth)),rows:Math
.max(1,Math.floor(n/e._renderService.dimensions.actualCellHeight))}}}},e}();t.FitAddon=i}},t={};return function i(r){if(t[r])return t[r].exports;var s=t[r]={exports:{}};return e[r](s,s.exports,i),s.exports}(775)})()},2320:e=>{self,e.exports=(()=>{"use strict";var e={4567:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;const r=i(9042),s=i(6114),n=i(9924),o=i(3656),a=i(844),h=i(5596),c=i(9631);class l extends a.Disposable{constructor(e,t){super(),this._terminal=e,this._renderService=t,this._liveRegionLineCount=0,this._charsToConsume=[],this._charsToAnnounce="",this._accessibilityTreeRoot=document.createElement("div"),this._accessibilityTreeRoot.classList.add("xterm-accessibility"),this._accessibilityTreeRoot.tabIndex=0,this._rowContainer=document.createElement("div"),this._rowContainer.setAttribute("role","list"),this._rowContainer.classList.add("xterm-accessibility-tree"),this._rowElements=[];for(let e=0;e