Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
(()=>{var e={77:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(426),o=n.n(r),i=n(51),l=n.n(i)()(o());l.push([e.id,".pORror3dhFo_jlOpYDCf{align-items:center;background:var(--vscode-editor-background);background:var(--vscode-input-background);border:1px solid transparent;display:flex;flex-grow:1}.pORror3dhFo_jlOpYDCf:focus-within{border-color:var(--vscode-focusBorder)}.pORror3dhFo_jlOpYDCf>input{background:none;border:0;color:var(--vscode-input-foreground);flex-grow:1;font-family:var(--vscode-font-family);font-size:var(--vscode-editor-font-size);font-weight:var(--vscode-editor-font-weight);padding:3px 4px}.pORror3dhFo_jlOpYDCf>input::-moz-placeholder{color:var(--vscode-input-placeholderForeground)}.pORror3dhFo_jlOpYDCf>input:-ms-input-placeholder{color:var(--vscode-input-placeholderForeground)}.pORror3dhFo_jlOpYDCf>input::placeholder{color:var(--vscode-input-placeholderForeground)}.pORror3dhFo_jlOpYDCf>input:focus{outline:0}.pORror3dhFo_jlOpYDCf>button{align-self:stretch;flex-shrink:0;margin-bottom:2px;margin-top:2px;padding-bottom:1px;padding-top:1px}",""]),l.locals={wrapper:"pORror3dhFo_jlOpYDCf"};const a=l},39:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(426),o=n.n(r),i=n(51),l=n.n(i)()(o());l.push([e.id,".W2EZDyu3QOiOhKgBDKQQ{align-items:center;display:flex}",""]),l.locals={f:"W2EZDyu3QOiOhKgBDKQQ"};const a=l},844:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(426),o=n.n(r),i=n(51),l=n.n(i)()(o());l.push([e.id,".kMe1rh3sGlRge1xNo2FI{align-items:center;background:none;border:1px solid transparent;color:var(--vscode-icon-foreground);cursor:pointer;display:flex;margin-left:3px;margin-right:3px;opacity:.7;outline:0!important;padding:3px}.kMe1rh3sGlRge1xNo2FI+.kMe1rh3sGlRge1xNo2FI{margin-left:0}.kMe1rh3sGlRge1xNo2FI:hover{opacity:1}.kMe1rh3sGlRge1xNo2FI[aria-checked=true]{background:var(--vscode-inputOption-activeBackground);border:1px solid var(--vscode-inputOption-activeBorder);opacity:1}.kMe1rh3sGlRge1xNo2FI>svg{width:1em}",""]),l.locals={button:"kMe1rh3sGlRge1xNo2FI"};const a=l},33:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(426),o=n.n(r),i=n(51),l=n.n(i)()(o());l.push([e.id,"*{margin:0;padding:0}.f0Jk8dUahhi2qYS9k4oW{display:flex;flex-direction:column;height:100vh}.zHL1SBvvBysxPwQUMdES{flex-shrink:0;padding-bottom:10px}.Cekf7yByuJxmXr1F30ko{display:flex;flex-basis:0px;flex-direction:column;flex-grow:1;overflow:hidden;position:relative}",""]),l.locals={wrapper:"f0Jk8dUahhi2qYS9k4oW",filter:"zHL1SBvvBysxPwQUMdES",rows:"Cekf7yByuJxmXr1F30ko"};const a=l},196:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(426),o=n.n(r),i=n(51),l=n.n(i)()(o());l.push([e.id,"*{margin:0;padding:0}.s60FX4Gsndji9tYAIKUs{display:flex;flex-direction:column;height:100vh}.b9nxfCTXGDNxo2IiwNIH{flex-shrink:0;padding-bottom:10px}.cBcdOYmT9_99aVdm9PZF{display:flex;flex-basis:0px;flex-direction:column;flex-grow:1;overflow:hidden;position:relative}",""]),l.locals={wrapper:"s60FX4Gsndji9tYAIKUs",filter:"b9nxfCTXGDNxo2IiwNIH",rows:"cBcdOYmT9_99aVdm9PZF"};const a=l},558:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(426),o=n.n(r),i=n(51),l=n.n(i)()(o());l.push([e.id,".oKKFacfbvSqqq_aC8AE3{flex-grow:1;font-family:var(--vscode-editor-font-family);overflow:auto}.SmGXcbNWaLnOSaUk6_wl{display:flex;height:23px}.SmGXcbNWaLnOSaUk6_wl:focus{background:var(--vscode-list-focusBackground);color:var(--vscode-list-focusForeground);outline:0}.SmGXcbNWaLnOSaUk6_wl>div{margin:2px 4px}.QgpWiq7tKfenPd7TZWkz,.enzbXVI4PCTd9u4rZnht.XyAbSpz9jylz8ZS39BwX{text-align:right;width:110px}.enzbXVI4PCTd9u4rZnht.XyAbSpz9jylz8ZS39BwX{cursor:pointer}.enzbXVI4PCTd9u4rZnht svg{display:inline-block;height:1em;margin-right:.25em}.QgpWiq7tKfenPd7TZWkz{color:var(--vscode-terminal-ansiYellow);flex-shrink:0;z-index:0}.QgpWiq7tKfenPd7TZWkz,.QgpWiq7tKfenPd7TZWkz>span{position:relative}.ly1Zy3MRQIzbgri0u5Nx{align-items:center;color:var(--vscode-terminal-foreground);display:flex;flex-grow:1;overflow:hidden;padding-left:10px}.ly1Zy3MRQIzbgri0u5Nx.eyDJMWoZxGo2OH8Utijk{opacity:.5}.ly1Zy3MRQIzbgri0u5Nx a{color:var(--vscode-terminal-foreground);cursor:pointer;text-decoration:none}.ly1Zy3MRQIzbgri0u5Nx a:focus,.ly1Zy3MRQIzbgri0u5Nx a:hover{text-decoration:underline}.ly1Zy3MRQIzbgri0u5Nx a:focus{outline:1px solid var(--vscode-focusBorder)}.e_Y8B9frar9b2mXzvehf,.NFJunN7lzsRC155ophiH{overflow:hidden;white-space:nowrap}.e_Y8B9frar9b2mXzvehf,.NFJunN7lzsRC155ophiH{text-overflow:ellipsis}.NFJunN7lzsRC155ophiH{max-width:80%}.e_Y8B9frar9b2mXzvehf{direction:rtl;flex-grow:1;font-family:var(--vscode-font-family);font-size:.8em;margin-left:2em;opacity:.8}.fvv0GAqFPWwrnW2jN8rt{background:none;border:0;cursor:pointer;opacity:.7;outline:0}.fvv0GAqFPWwrnW2jN8rt,.fvv0GAqFPWwrnW2jN8rt svg{width:1em}.fvv0GAqFPWwrnW2jN8rt:hover{opacity:1}.IWaoWposwXCYN2K4Z1vv{background:hsla(0,0%,100%,.1);border-bottom:2px solid hsla(0,0%,100%,.2);bottom:0;left:0;position:absolute;right:0;top:0;transform-origin:100%;z-index:-1}.vscode-light .IWaoWposwXCYN2K4Z1vv{background:rgba(0,0,0,.2)}.vscode-high-contrast .IWaoWposwXCYN2K4Z1vv{background:#fff}",""]),l.locals={rows:"oKKFacfbvSqqq_aC8AE3",row:"SmGXcbNWaLnOSaUk6_wl",duration:"QgpWiq7tKfenPd7TZWkz",heading:"enzbXVI4PCTd9u4rZnht",timing:"XyAbSpz9jylz8ZS39BwX",location:"ly1Zy3MRQIzbgri0u5Nx",virtual:"eyDJMWoZxGo2OH8Utijk",file:"e_Y8B9frar9b2mXzvehf",fn:"NFJunN7lzsRC155ophiH",expander:"fvv0GAqFPWwrnW2jN8rt",impactBar:"IWaoWposwXCYN2K4Z1vv"};const a=l},51:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var l={};if(r)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(l[s]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&l[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},426:e=>{"use strict";e.exports=function(e){return e[1]}},122:function(e,t,n){e.exports=function(e){"use strict";var t={classCallCheck:function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}};t.extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.inherits=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},t.objectWithoutProperties=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},t.possibleConstructorReturn=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t};var n=function(n){function r(){var e,o,i;t.classCallCheck(this,r);for(var l=arguments.length,a=Array(l),s=0;l>s;s++)a[s]=arguments[s];return e=o=t.possibleConstructorReturn(this,n.call.apply(n,[this].concat(a))),o.resize=function(){o.state.height!==o.base.offsetHeight&&o.setState({height:o.base.offsetHeight})},o.handleScroll=function(){o.setState({offset:o.base.scrollTop}),o.props.sync&&o.forceUpdate()},i=e,t.possibleConstructorReturn(o,i)}return t.inherits(r,n),r.prototype.componentDidUpdate=function(){this.resize()},r.prototype.componentDidMount=function(){this.resize(),addEventListener("resize",this.resize)},r.prototype.componentWillUnmount=function(){removeEventListener("resize",this.resize)},r.prototype.render=function(n,r){var o=n.data,i=n.rowHeight,l=n.renderRow,a=n.overscanCount,s=void 0===a?10:a,c=(n.sync,t.objectWithoutProperties(n,["data","rowHeight","renderRow","overscanCount","sync"])),u=r.offset,d=void 0===u?0:u,p=r.height,_=d/i|0,f=(void 0===p?0:p)/i|0;s&&(_=Math.max(0,_-_%s),f+=s);var h=_+1+f,v=o.slice(_,h);return e.h("div",t.extends({onScroll:this.handleScroll},c),e.h("div",{style:"position:relative; overflow:hidden; width:100%; min-height:100%; height:"+o.length*i+"px;"},e.h("div",{style:"position:absolute; top:0; left:0; height:100%; width:100%; overflow:visible; top:"+_*i+"px;"},v.map(l))))},r}(e.Component);return n}(n(425))},425:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Component:()=>b,Fragment:()=>y,cloneElement:()=>L,createContext:()=>D,createElement:()=>v,createRef:()=>g,h:()=>v,hydrate:()=>R,isValidElement:()=>l,options:()=>o,render:()=>W,toChildArray:()=>F});var r,o,i,l,a,s,c,u,d={},p=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var o,i,l,a={};for(l in t)"key"==l?o=t[l]:"ref"==l?i=t[l]:a[l]=t[l];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===a[l]&&(a[l]=e.defaultProps[l]);return m(e,a,o,i,null)}function m(e,t,n,r,l){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++i:l};return null==l&&null!=o.vnode&&o.vnode(a),a}function g(){return{current:null}}function y(e){return e.children}function b(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function k(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!C.__r++||c!==o.debounceRendering)&&((c=o.debounceRendering)||s)(C)}function C(){for(var e;C.__r=a.length;)e=a.sort((function(e,t){return e.__v.__b-t.__v.__b})),a=[],e.some((function(e){var t,n,r,o,i,l;e.__d&&(i=(o=(t=e).__v).__e,(l=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,A(l,o,r,t.__n,void 0!==l.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?x(o):i,o.__h),E(n,o),o.__e!=i&&w(o)))}))}function N(e,t,n,r,o,i,l,a,s,c){var u,_,f,h,v,g,b,w=r&&r.__k||p,k=w.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(h=n.__k[u]=null==(h=t[u])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?m(null,h,null,null,h):Array.isArray(h)?m(y,{children:h},null,null,null):h.__b>0?m(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(f=w[u])||f&&h.key==f.key&&h.type===f.type)w[u]=void 0;else for(_=0;_<k;_++){if((f=w[_])&&h.key==f.key&&h.type===f.type){w[_]=void 0;break}f=null}A(e,h,f=f||d,o,i,l,a,s,c),v=h.__e,(_=h.ref)&&f.ref!=_&&(b||(b=[]),f.ref&&b.push(f.ref,null,h),b.push(_,h.__c||v,h)),null!=v?(null==g&&(g=v),"function"==typeof h.type&&h.__k===f.__k?h.__d=s=S(h,s,e):s=T(e,h,f,w,v,s),"function"==typeof n.type&&(n.__d=s)):s&&f.__e==s&&s.parentNode!=e&&(s=x(f))}for(n.__e=g,u=k;u--;)null!=w[u]&&("function"==typeof n.type&&null!=w[u].__e&&w[u].__e==n.__d&&(n.__d=x(r,u+1)),j(w[u],w[u]));if(b)for(u=0;u<b.length;u++)I(b[u],b[++u],b[++u])}function S(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?S(r,t,n):T(n,r,r,o,r.__e,t));return t}function F(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){F(e,t)})):t.push(e)),t}function T(e,t,n,r,o,i){var l,a,s;if(void 0!==t.__d)l=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),l=null;else{for(a=i,s=0;(a=a.nextSibling)&&s<r.length;s+=2)if(a==o)break e;e.insertBefore(o,i),l=i}return void 0!==l?l:o.nextSibling}function z(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||_.test(t)?n:n+"px"}function O(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||z(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||z(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?Z:P,i):e.removeEventListener(t,i?Z:P,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function P(e){this.l[e.type+!1](o.event?o.event(e):e)}function Z(e){this.l[e.type+!0](o.event?o.event(e):e)}function A(e,t,n,r,i,l,a,s,c){var u,d,p,_,h,v,m,g,x,w,k,C=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,s=t.__e=n.__e,t.__h=null,l=[s]),(u=o.__b)&&u(t);try{e:if("function"==typeof C){if(g=t.props,x=(u=C.contextType)&&r[u.__c],w=u?x?x.props.value:u.__:r,n.__c?m=(d=t.__c=n.__c).__=d.__E:("prototype"in C&&C.prototype.render?t.__c=d=new C(g,w):(t.__c=d=new b(g,w),d.constructor=C,d.render=H),x&&x.sub(d),d.props=g,d.state||(d.state={}),d.context=w,d.__n=r,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=C.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,C.getDerivedStateFromProps(g,d.__s))),_=d.props,h=d.state,p)null==C.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==C.getDerivedStateFromProps&&g!==_&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,w),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,w)||t.__v===n.__v){d.props=g,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,w),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(_,h,v)}))}d.context=w,d.props=g,d.state=d.__s,(u=o.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=f(f({},r),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(_,h)),k=null!=u&&u.type===y&&null==u.key?u.props.children:u,N(e,Array.isArray(k)?k:[k],t,n,r,i,l,a,s,c),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),m&&(d.__E=d.__=null),d.__e=!1}else null==l&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=M(n.__e,t,n,r,i,l,a,c);(u=o.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=l)&&(t.__e=s,t.__h=!!c,l[l.indexOf(s)]=null),o.__e(e,t,n)}}function E(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function M(e,t,n,o,i,l,a,s){var c,u,p,_=n.props,f=t.props,v=t.type,m=0;if("svg"===v&&(i=!0),null!=l)for(;m<l.length;m++)if((c=l[m])&&"setAttribute"in c==!!v&&(v?c.localName===v:3===c.nodeType)){e=c,l[m]=null;break}if(null==e){if(null===v)return document.createTextNode(f);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,f.is&&f),l=null,s=!1}if(null===v)_===f||s&&e.data===f||(e.data=f);else{if(l=l&&r.call(e.childNodes),u=(_=n.props||d).dangerouslySetInnerHTML,p=f.dangerouslySetInnerHTML,!s){if(null!=l)for(_={},m=0;m<e.attributes.length;m++)_[e.attributes[m].name]=e.attributes[m].value;(p||u)&&(p&&(u&&p.__html==u.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||O(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||O(e,i,t[i],n[i],r)}(e,f,_,i,s),p)t.__k=[];else if(m=t.props.children,N(e,Array.isArray(m)?m:[m],t,n,o,i&&"foreignObject"!==v,l,a,l?l[0]:n.__k&&x(n,0),s),null!=l)for(m=l.length;m--;)null!=l[m]&&h(l[m]);s||("value"in f&&void 0!==(m=f.value)&&(m!==e.value||"progress"===v&&!m||"option"===v&&m!==_.value)&&O(e,"value",m,_.value,!1),"checked"in f&&void 0!==(m=f.checked)&&m!==e.checked&&O(e,"checked",m,_.checked,!1))}return e}function I(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function j(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||I(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&j(r[i],t,"function"!=typeof e.type);n||null==e.__e||h(e.__e),e.__e=e.__d=void 0}function H(e,t,n){return this.constructor(e,n)}function W(e,t,n){var i,l,a;o.__&&o.__(e,t),l=(i="function"==typeof n)?null:n&&n.__k||t.__k,a=[],A(t,e=(!i&&n||t).__k=v(y,null,[e]),l||d,d,void 0!==t.ownerSVGElement,!i&&n?[n]:l?null:t.firstChild?r.call(t.childNodes):null,a,!i&&n?n:l?l.__e:t.firstChild,i),E(a,e)}function R(e,t){W(e,t,R)}function L(e,t,n){var o,i,l,a=f({},e.props);for(l in t)"key"==l?o=t[l]:"ref"==l?i=t[l]:a[l]=t[l];return arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),m(e.type,a,o||e.key,i||e.ref,null)}function D(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(k)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=p.slice,o={__e:function(e,t,n,r){for(var o,i,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},i=0,l=function(e){return null!=e&&void 0===e.constructor},b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),k(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},b.prototype.render=y,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,C.__r=0,u=0},743:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},l=[],a=0;a<e.length;a++){var s=e[a],c=r.base?s[0]+r.base:s[0],u=i[c]||0,d="".concat(c," ").concat(u);i[c]=u+1;var p=n(d),_={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(_);else{var f=o(_,r);r.byIndex=a,t.splice(a,0,{identifier:d,updater:f,references:1})}l.push(d)}return l}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var l=0;l<i.length;l++){var a=n(i[l]);t[a].references--}for(var s=r(e,o),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=s}}},591:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},190:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},35:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},124:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},799:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},375:e=>{e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8.85352 11.7021H7.85449L7.03809 9.54297H3.77246L3.00439 11.7021H2L4.9541 4H5.88867L8.85352 11.7021ZM6.74268 8.73193L5.53418 5.4502C5.49479 5.34277 5.4554 5.1709 5.41602 4.93457H5.39453C5.35872 5.15299 5.31755 5.32487 5.271 5.4502L4.07324 8.73193H6.74268Z"></path><path d="M13.756 11.7021H12.8752V10.8428H12.8537C12.4706 11.5016 11.9066 11.8311 11.1618 11.8311C10.6139 11.8311 10.1843 11.686 9.87273 11.396C9.56479 11.106 9.41082 10.721 9.41082 10.2412C9.41082 9.21354 10.016 8.61556 11.2262 8.44727L12.8752 8.21631C12.8752 7.28174 12.4974 6.81445 11.7419 6.81445C11.0794 6.81445 10.4815 7.04004 9.94793 7.49121V6.58887C10.4886 6.24512 11.1117 6.07324 11.8171 6.07324C13.1097 6.07324 13.756 6.75716 13.756 8.125V11.7021ZM12.8752 8.91992L11.5485 9.10254C11.1403 9.15983 10.8324 9.26188 10.6247 9.40869C10.417 9.55192 10.3132 9.80794 10.3132 10.1768C10.3132 10.4453 10.4081 10.6655 10.5978 10.8374C10.7912 11.0057 11.0472 11.0898 11.3659 11.0898C11.8027 11.0898 12.1626 10.9377 12.4455 10.6333C12.7319 10.3254 12.8752 9.93685 12.8752 9.46777V8.91992Z"></path></svg>'},470:e=>{e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.012 2h.976v3.113l2.56-1.557.486.885L11.47 6l2.564 1.559-.485.885-2.561-1.557V10h-.976V6.887l-2.56 1.557-.486-.885L9.53 6 6.966 4.441l.485-.885 2.561 1.557V2zM2 10h4v4H2v-4z"></path></svg>'},737:e=>{e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.976 10.072l4.357-4.357.62.618L8.284 11h-.618L3 6.333l.619-.618 4.357 4.357z"></path></svg>'},365:e=>{e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.072 8.024L5.715 3.667l.618-.62L11 7.716v.618L6.333 13l-.618-.619 4.357-4.357z"></path></svg>'},605:e=>{e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.13 15l-.53-.77a1.85 1.85 0 0 0-.28-2.54 3.51 3.51 0 0 1-1.19-2c-1.56 2.23-.75 3.46 0 4.55l-.55.76A4.4 4.4 0 0 1 3 10.46S2.79 8.3 5.28 6.19c0 0 2.82-2.61 1.84-4.54L7.83 1a6.57 6.57 0 0 1 2.61 6.94 2.57 2.57 0 0 0 .56-.81l.87-.07c.07.12 1.84 2.93.89 5.3A4.72 4.72 0 0 1 9.13 15zm-2-6.95l.87.39a3 3 0 0 0 .92 2.48 2.64 2.64 0 0 1 1 2.8A3.241 3.241 0 0 0 11.8 12a4.87 4.87 0 0 0-.41-3.63 1.85 1.85 0 0 1-1.84.86l-.35-.68a5.31 5.31 0 0 0-.89-5.8C8.17 4.87 6 6.83 5.93 6.94 3.86 8.7 4 10.33 4 10.4a3.47 3.47 0 0 0 1.59 3.14C5 12.14 5 10.46 7.16 8.05h-.03z"></path></svg>'}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";var e=n(425);class t{constructor(e,t){this.location=e,this.parent=t,this.children={},this.aggregateTime=0,this.selfTime=0,this.ticks=0,this.childrenSize=0}static root(){return new t({id:-1,category:0,selfTime:0,aggregateTime:0,ticks:0,callFrame:{functionName:"(root)",lineNumber:-1,columnNumber:-1,scriptId:"0",url:""}})}get id(){return this.location.id}get callFrame(){return this.location.callFrame}get src(){return this.location.src}get category(){return this.location.category}addNode(e){this.selfTime+=e.selfTime,this.aggregateTime+=e.aggregateTime}toJSON(){return{children:this.children,childrenSize:this.childrenSize,aggregateTime:this.aggregateTime,selfTime:this.selfTime,ticks:this.ticks,id:this.id,category:this.category,callFrame:this.callFrame}}}const r=(e,n,o,i=n)=>{let l=e.children[n.locationId];l||(l=new t(o.locations[n.locationId],e),e.childrenSize++,e.children[n.locationId]=l),l.addNode(i),n.parent&&r(l,o.nodes[n.parent],o,i)};var o,i,l,a=0,s=[],c=e.options.__b,u=e.options.__r,d=e.options.diffed,p=e.options.__c,_=e.options.unmount;function f(t,n){e.options.__h&&e.options.__h(i,t,a||n),a=0;var r=i.__H||(i.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({}),r.__[t]}function h(e){return a=1,function(e,t,n){var r=f(o++,2);return r.t=e,r.__c||(r.__=[S(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=i),r.__}(S,e)}function v(t,n){var r=f(o++,3);!e.options.__s&&N(r.__H,n)&&(r.__=t,r.__H=n,i.__H.__h.push(r))}function m(e){return a=5,g((function(){return{current:e}}),[])}function g(e,t){var n=f(o++,7);return N(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function y(e,t){return a=8,g((function(){return e}),t)}function b(e){var t=i.context[e.__c],n=f(o++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(i)),t.props.value):e.__}function x(){for(var t;t=s.shift();)if(t.__P)try{t.__H.__h.forEach(k),t.__H.__h.forEach(C),t.__H.__h=[]}catch(n){t.__H.__h=[],e.options.__e(n,t.__v)}}e.options.__b=function(e){i=null,c&&c(e)},e.options.__r=function(e){u&&u(e),o=0;var t=(i=e.__c).__H;t&&(t.__h.forEach(k),t.__h.forEach(C),t.__h=[])},e.options.diffed=function(t){d&&d(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==s.push(n)&&l===e.options.requestAnimationFrame||((l=e.options.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),w&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);w&&(t=requestAnimationFrame(n))})(x)),i=null},e.options.__c=function(t,n){n.some((function(t){try{t.__h.forEach(k),t.__h=t.__h.filter((function(e){return!e.__||C(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],e.options.__e(r,t.__v)}})),p&&p(t,n)},e.options.unmount=function(t){_&&_(t);var n,r=t.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{k(e)}catch(e){n=e}})),n&&e.options.__e(n,r.__v))};var w="function"==typeof requestAnimationFrame;function k(e){var t=i,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),i=t}function C(e){var t=i;e.__c=e.__(),i=t}function N(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function S(e,t){return"function"==typeof t?t(e):t}var F,T=n(375),z=n(470);!function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(F||(F={}));const O={[F.Number]:{":":e=>t=>t===Number(e),"=":e=>t=>t===Number(e),">":e=>t=>t>Number(e),"<":e=>t=>t<Number(e),"<=":e=>t=>t<=Number(e),">=":e=>t=>t>=Number(e),"<>":e=>t=>t!==Number(e),"!=":e=>t=>t!==Number(e)},[F.String]:{":":e=>t=>t===e,"=":e=>t=>t===e,"!=":e=>t=>t!==e,"<>":e=>t=>t!==e,"~=":e=>{const t=/^\/(.+)\/([a-z])*$/.exec(e),n=t?new RegExp(t[1],t[2]):new RegExp(e);return e=>(n.lastIndex=0,n.test(e))}}};class P extends Error{constructor(e,t){super(e),this.index=t}}const Z=new Set(Object.values(O).map((e=>Object.keys(e))).reduce(((e,t)=>[...e,...t]),[])),A=(e,t,n,r)=>{let o=!1;t(n)&&(r.selected.add(n),r.selectedAndParents.add(n),o=!0);for(const i of e.getChildren(n))A(e,t,i,r)&&(r.selectedAndParents.add(n),o=!0);return o};var E=n(743),M=n.n(E),I=n(124),j=n.n(I),H=n(591),W=n.n(H),R=n(35),L=n.n(R),D=n(190),U=n.n(D),q=n(799),B=n.n(q),X=n(77),G={};G.styleTagTransform=B(),G.setAttributes=L(),G.insert=W().bind(null,"head"),G.domAPI=j(),G.insertStyleElement=U(),M()(X.Z,G);const K=X.Z&&X.Z.locals?X.Z.locals:void 0,Y=({value:t,onChange:n,placeholder:r="Filter for function",foot:o})=>{const i=y((e=>{n(e.target.value)}),[n]);return(0,e.h)("div",{className:K.wrapper},(0,e.h)("input",{value:t,placeholder:r,onPaste:i,onKeyUp:i}),o)};var $=n(39),Q={};Q.styleTagTransform=B(),Q.setAttributes=L(),Q.insert=W().bind(null,"head"),Q.domAPI=j(),Q.insertStyleElement=U(),M()($.Z,Q);const V=$.Z&&$.Z.locals?$.Z.locals:void 0;var J=n(844),ee={};ee.styleTagTransform=B(),ee.setAttributes=L(),ee.insert=W().bind(null,"head"),ee.domAPI=j(),ee.insertStyleElement=U(),M()(J.Z,ee);const te=J.Z&&J.Z.locals?J.Z.locals:void 0,ne=({icon:t,label:n,checked:r,onChange:o,onClick:i})=>{const l=y((()=>{null==i||i(),null==o||o(!r)}),[r,i,o]);return(0,e.h)("button",{className:te.button,type:"button",role:"switch",alt:n,title:n,"aria-label":n,"aria-checked":r?"true":"false",dangerouslySetInnerHTML:{__html:t},onClick:l})},re=(0,e.createContext)(acquireVsCodeApi()),oe=(e,t)=>{var n,r;const o=b(re),[i,l]=h(null!==(r=null===(n=o.getState())||void 0===n?void 0:n[e])&&void 0!==r?r:t);return((t,n)=>{const r=m(!0);v((()=>{r.current?r.current=!1:o.setState({...o.getState(),[e]:i})}),n)})(0,[i]),[i,l]},ie=()=>({placeholder:t,data:n,onChange:r,foot:o})=>{const[i,l]=h(!1),[a,s]=h(!1),[c,u]=oe("filterText",""),[d,p]=h(void 0);return v((()=>{try{r((e=>{const t=((e,t,n=O)=>{const r=[],o=[];for(let i=0;i<e.length;i++){const l=e[i];switch(l.token){case 1:const a=t.datasource.properties[l.text];if(!a){const e=Object.keys(t.datasource.properties).join(", ");throw new P(`Unknown column @${l.text}, have: ${e}`,l.start)}const s=e[++i];if(2!==(null==s?void 0:s.token))throw new P(`Missing operator for column @${l.text}`,l.start);if(!n[a.type][s.text])throw new P(`Unknown operator for @${l.text}, have: ${Object.keys(n[a.type]).join(", ")}`,s.start);const c=e[++i];if(3!==(null==c?void 0:c.token))throw new P(`Missing operand for column @${c.text}`,l.start);const u=n[a.type][s.text](c.text);r.push((e=>u(a.accessor(e))));break;case 0:o.push(l.text.trim());break;default:throw new Error(`Illegal token ${l.token}`)}}const i=o.join(" ").trim();if(i){const e=`/${t.regex?i:(l=i,l.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"))}/`+(t.caseSensitive?"":"i"),o=n[F.String]["~="](e);r.push((e=>o(t.datasource.genericMatchStr(e))))}var l;return e=>{for(const t of r)if(!t(e))return!1;return!0}})((e=>{const t=[];let n=0;const r=(t,r)=>{let o="";const i=n;for(;n<e.length;){const t=e[n];if("\\"!==t){if(!r(t,n))break;o+=t,n++}else o+=e[++n],n++}return{token:t,text:o,start:i,length:n-i}};let o=0;for("@"===e[0]&&(o=1,n++);n<e.length;){const i=e[n];switch(o){case 0:const l=e.indexOf(" @",n);-1===l?t.push(r(0,(()=>!0))):(t.push(r(0,((e,t)=>t<=l))),n++,o=1);break;case 1:t.push(r(1,(e=>e>="A"&&e<="z"))),o=2;break;case 2:t.push(r(2,(e=>Z.has(e)))),o=3;break;case 3:const a='"'!==i&&"'"!==i;a||n++,t.push(r(3,(e=>a?" "!==e:e!==i))),o=0,a||n++;break;default:throw new Error(`Illegal state ${o}`)}}return t})(e.input),e),n={selected:new Set,selectedAndParents:new Set};for(const r of e.datasource.data)A(e.datasource,t,r,n);return n})({input:c,regex:i,caseSensitive:a,datasource:n})),p(void 0)}catch(e){p(e.message)}}),[i,a,c,n]),(0,e.h)("div",{className:V.f},(0,e.h)(Y,{value:c,placeholder:t,onChange:u,foot:(0,e.h)(e.Fragment,null,(0,e.h)(ne,{icon:T,label:"Match Case",checked:a,onChange:s}),(0,e.h)(ne,{icon:z,label:"Use Regular Expression",checked:i,onChange:l}))}),d&&(0,e.h)("div",{className:V.error},d),o)};var le=n(33),ae={};ae.styleTagTransform=B(),ae.setAttributes=L(),ae.insert=W().bind(null,"head"),ae.domAPI=j(),ae.insertStyleElement=U(),M()(le.Z,ae);const se=le.Z&&le.Z.locals?le.Z.locals:void 0;var ce=n(196),ue={};ue.styleTagTransform=B(),ue.setAttributes=L(),ue.insert=W().bind(null,"head"),ue.domAPI=j(),ue.insertStyleElement=U(),M()(ce.Z,ue);const de=ce.Z&&ce.Z.locals?ce.Z.locals:void 0;var pe=n(605);var _e=n(737);const fe=({i:t,...n})=>(0,e.h)("span",{dangerouslySetInnerHTML:{__html:t},style:{color:"var(--vscode-icon-foreground)"},...n}),he=(...e)=>e.filter(Boolean).join(" "),ve=new Intl.NumberFormat(void 0,{maximumFractionDigits:2,minimumFractionDigits:2});var me=n(122),ge=n.n(me);Symbol("unset");var ye=n(558),be={};be.styleTagTransform=B(),be.setAttributes=L(),be.insert=W().bind(null,"head"),be.domAPI=j(),be.insertStyleElement=U(),M()(ye.Z,be);const xe=ye.Z&&ye.Z.locals?ye.Z.locals:void 0;var we=n(365);const ke=e=>{const t=[e.id];for(let n=e.parent;n;n=n.parent)t.push(n.id);return t.join("-")},Ce=({impact:t})=>(0,e.h)("div",{className:xe.impactBar,style:{transform:`scaleX(${t})`}}),Ne=e=>e.selfTime,Se=e=>e.aggregateTime,Fe=({data:t,header:n,query:r,sortFn:l,row:a})=>{const s=m(),[c,u]=h(void 0),[d,p]=h(new Set),_=e=>{const t=Object.values(e.children);return l&&t.sort(((e,t)=>l(t)-l(e))),t},b=g((()=>l?t.slice().sort(((e,t)=>l(t)-l(e))):t),[t,l]),x=g((()=>{const e=b.filter((e=>r.selectedAndParents.has(e))).map((e=>({node:e,position:1,depth:0})));for(let t=0;t<e.length;t++){const{node:n,depth:r}=e[t];if(d.has(n)){const o=_(n).map(((e,t)=>({node:e,position:t+1,depth:r+1})));e.splice(t+1,0,...o)}}return e}),[b,d,l,r]),w=y(((e,t)=>{var n,r,o,i,l,a;let _;switch(e.key){case"Enter":case"Space":p(((e,t)=>{const n=new Set([...e]);return n.has(t)?n.delete(t):n.add(t),n})(d,t)),e.preventDefault();break;case"ArrowDown":_=null===(n=x[x.findIndex((e=>e.node===t))+1])||void 0===n?void 0:n.node;break;case"ArrowUp":_=null===(r=x[x.findIndex((e=>e.node===t))-1])||void 0===r?void 0:r.node;break;case"ArrowLeft":d.has(t)?p(((e,t)=>{const n=new Set([...e]);return n.delete(t),n})(d,t)):_=t.parent;break;case"ArrowRight":t.childrenSize>0&&!d.has(t)?p(((e,t)=>{const n=new Set([...e,t]);return n.add(t),n})(d,t)):_=null===(o=x.find((e=>e.node.parent===t)))||void 0===o?void 0:o.node;break;case"Home":s.current&&(s.current.base.scrollTop=0),_=null===(i=x[0])||void 0===i?void 0:i.node;break;case"End":s.current&&(s.current.base.scrollTop=s.current.base.scrollHeight),_=null===(l=x[x.length-1])||void 0===l?void 0:l.node;break;case"*":const u=new Set(d);for(const e of Object.values((null===(a=null==c?void 0:c.parent)||void 0===a?void 0:a.children)||{}))u.add(e);p(u)}_&&(u(_),e.preventDefault())}),[x,d,_]);v((()=>{var e;return null===(e=s.current)||void 0===e?void 0:e.base.setAttribute("role","tree")}),[s.current]),function(t,n){var r=f(o++,4);!e.options.__s&&N(r.__H,n)&&(r.__=t,r.__H=n,i.__h.push(r))}((()=>{var e;const t=null===(e=s.current)||void 0===e?void 0:e.base;t&&c&&setTimeout((()=>{const e=t.querySelector(`[data-row-id="${(e=>{const t=[e.id];for(let n=e.parent;n;n=n.parent)t.push(n.id);return t.join("-")})(c)}"]`);null==e||e.focus()}))}),[c]);const k=(e,t)=>{p((n=>{const r=new Set(n);return e?r.add(t):r.delete(t),r.size!==n.size?r:n}))},C=y((t=>(0,e.h)(a,{onKeyDown:w,node:t.node,depth:t.depth,position:t.position,expanded:d.has(t.node),onExpanded:k,onFocus:u})),[d,p,w]);return(0,e.h)(e.Fragment,null,n,(0,e.h)(ge(),{ref:s,className:xe.rows,data:x,renderRow:C,rowHeight:25,overscanCount:100}))},Te=({data:t,query:n})=>{const[r,o]=h((()=>Ne));return(0,e.h)(Fe,{data:t,sortFn:r,query:n,header:(0,e.h)(ze,{sortFn:r,onChangeSort:o}),row:Pe})},ze=({sortFn:t,onChangeSort:n})=>(0,e.h)("div",{className:xe.row},(0,e.h)("div",{id:"self-time-header",className:he(xe.heading,xe.timing),"aria-sort":t===Ne?"descending":void 0,onClick:y((()=>n((()=>t===Ne?void 0:Ne))),[t])},t===Ne&&(0,e.h)(fe,{i:_e}),"Self Time"),(0,e.h)("div",{id:"total-time-header",className:he(xe.heading,xe.timing),"aria-sort":t===Se?"descending":void 0,onClick:y((()=>n((()=>t===Se?void 0:Se))),[t])},t===Se&&(0,e.h)(fe,{i:_e}),"Total Time"),(0,e.h)("div",{className:xe.heading},"File")),Oe=({node:t,depth:n,expanded:r,position:o,onKeyDown:i,onFocus:l,onExpanded:a,children:s})=>{var c,u;const d=b(re),p=y((e=>d.postMessage({type:"openDocument",callFrame:t.callFrame,location:t.src,toSide:e.altKey})),[d,t]),_=y((()=>a(!r,t)),[r,t]),f=y((e=>{null==i||i(e,t)}),[i,t]),h=y((()=>{null==l||l(t)}),[l,t]);let v=t;for(;v.parent;)v=v.parent;const m=(0,e.h)("span",{className:xe.expander},t.childrenSize>0?(0,e.h)(fe,{i:r?_e:we}):null),g=(e=>{var t;if(e.callFrame.url){if(!(null===(t=e.src)||void 0===t?void 0:t.source.path)){let t=`${e.callFrame.url}`;return e.callFrame.lineNumber>=0&&(t+=`:${e.callFrame.lineNumber}`),t}return e.src.relativePath?`${e.src.relativePath}:${e.src.lineNumber}`:`${e.src.source.path}:${e.src.lineNumber}`}})(t);return(0,e.h)("div",{className:xe.row,"data-row-id":ke(t),onKeyDown:f,onFocus:h,onClick:_,tabIndex:0,role:"treeitem","aria-posinset":o,"aria-setsize":null!==(u=null===(c=t.parent)||void 0===c?void 0:c.childrenSize)&&void 0!==u?u:1,"aria-level":n+1,"aria-expanded":r},s,g?(0,e.h)("div",{className:xe.location,style:{marginLeft:15*n}},m," ",(0,e.h)("span",{className:xe.fn},t.callFrame.functionName),(0,e.h)("span",{className:xe.file},(0,e.h)("a",{href:"#",onClick:p},g))):(0,e.h)("div",{className:he(xe.location,xe.virtual),style:{marginLeft:15*n}},m," ",(0,e.h)("span",{className:xe.fn},t.callFrame.functionName)))},Pe=t=>{const{node:n}=t;let r=t.node;for(;r.parent;)r=r.parent;return(0,e.h)(Oe,{...t},(0,e.h)("div",{className:xe.duration,"aria-labelledby":"self-time-header"},(0,e.h)(Ce,{impact:n.selfTime/r.selfTime}),ve.format(n.selfTime/1e3),"ms"),(0,e.h)("div",{className:xe.duration,"aria-labelledby":"total-time-header"},(0,e.h)(Ce,{impact:n.aggregateTime/r.aggregateTime}),ve.format(n.aggregateTime/1e3),"ms"))},Ze=(e=>{const n=t.root();for(const t of e.nodes)r(n,t,e),n.addNode(t);return n})(MODEL),Ae=Object.values(Ze.children),Ee=document.createElement("div");Ee.classList.add(de.wrapper),document.body.appendChild(Ee),(0,e.render)((0,e.h)((({data:t,body:n,filterFooter:r})=>{const o=g(ie,[]),[i,l]=h(void 0),a=g((()=>r?(0,e.h)(r,{viewType:"jsProfileVisualizer.cpuprofile.flame",requireExtension:"ms-vscode.vscode-js-profile-flame"}):void 0),[r]);return(0,e.h)(e.Fragment,null,(0,e.h)("div",{className:se.filter},(0,e.h)(o,{data:t,onChange:l,placeholder:"Filter functions or files, or start a query()",foot:a})),(0,e.h)("div",{className:se.rows},i&&(0,e.h)(n,{data:i})))}),{data:{data:Ae,getChildren:e=>Object.values(e.children),genericMatchStr:e=>{var t,n;return[e.callFrame.functionName,e.callFrame.url,null!==(n=null===(t=e.src)||void 0===t?void 0:t.source.path)&&void 0!==n?n:""].join(" ")},properties:{function:{type:F.String,accessor:e=>e.callFrame.functionName},url:{type:F.String,accessor:e=>e.callFrame.url},path:{type:F.String,accessor:e=>{var t,n;return null!==(n=null===(t=e.src)||void 0===t?void 0:t.relativePath)&&void 0!==n?n:e.callFrame.url}},line:{type:F.Number,accessor:e=>e.src?e.src.lineNumber:e.callFrame.lineNumber},selfTime:{type:F.Number,accessor:e=>e.selfTime},totalTime:{type:F.Number,accessor:e=>e.aggregateTime},id:{type:F.Number,accessor:e=>e.id}}},body:({data:t})=>(0,e.h)(Te,{query:t,data:Ae}),filterFooter:({viewType:t,requireExtension:n})=>{const r=b(re),o=y((()=>r.postMessage({type:"reopenWith",viewType:t,requireExtension:n})),[r]);return(0,e.h)(ne,{icon:pe,label:"Show flame graph",checked:!1,onClick:o})}}),Ee)})()})();