diff --git a/build/asset-manifest.json b/build/asset-manifest.json index 5ebc45bde7..86434ba70e 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -66,7 +66,7 @@ "System.js": "/static/js/System.caa4a5a9.chunk.js", "TRONRating.js": "/static/js/TRONRating.0d9eb084.chunk.js", "Token20Detail.css": "/static/css/Token20Detail.887b6bb3.chunk.css", - "Token20Detail.js": "/static/js/Token20Detail.57fc82ca.chunk.js", + "Token20Detail.js": "/static/js/Token20Detail.390b829b.chunk.js", "TokenDetail.js": "/static/js/TokenDetail.836bd328.chunk.js", "TokenList.js": "/static/js/TokenList.cb8ae07c.chunk.js", "TokenListAll.js": "/static/js/TokenListAll.e41d6e75.chunk.js", @@ -84,7 +84,7 @@ "WalletWizard.js": "/static/js/WalletWizard.06d833ea.chunk.js", "main.css": "/static/css/main.ffff4d54.chunk.css", "main.js": "/static/js/main.16964524.chunk.js", - "runtime~main.js": "/static/js/runtime~main.0590e9c9.js", + "runtime~main.js": "/static/js/runtime~main.30aa3fe6.js", "static/css/75.b903dd66.chunk.css": "/static/css/75.b903dd66.chunk.css", "static/js/75.bec9639f.chunk.js": "/static/js/75.bec9639f.chunk.js", "static/js/76.f9522da2.chunk.js": "/static/js/76.f9522da2.chunk.js", @@ -105,8 +105,8 @@ "editor.worker.js.gz": "/editor.worker.js.gz", "index.html": "/index.html", "index.html.gz": "/index.html.gz", - "precache-manifest.90619031b1feefbc7d76dcdc7dee4ee5.js": "/precache-manifest.90619031b1feefbc7d76dcdc7dee4ee5.js", - "precache-manifest.a3b0ad59749fe83e3ff6201bbd5a0a54.js": "/precache-manifest.a3b0ad59749fe83e3ff6201bbd5a0a54.js", + "precache-manifest.cf3fed8c56cf85f733ceb5e73f83fb63.js": "/precache-manifest.cf3fed8c56cf85f733ceb5e73f83fb63.js", + "precache-manifest.f29570e9253dffcddfeba3e47c8029f1.js": "/precache-manifest.f29570e9253dffcddfeba3e47c8029f1.js", "service-worker.js": "/service-worker.js", "static/css/75.b903dd66.chunk.css.gz": "/static/css/75.b903dd66.chunk.css.gz", "static/css/80.bd022918.chunk.css.gz": "/static/css/80.bd022918.chunk.css.gz", @@ -204,8 +204,8 @@ "static/js/Stats.9cf9e0f4.chunk.js.gz": "/static/js/Stats.9cf9e0f4.chunk.js.gz", "static/js/System.caa4a5a9.chunk.js.gz": "/static/js/System.caa4a5a9.chunk.js.gz", "static/js/TRONRating.0d9eb084.chunk.js.gz": "/static/js/TRONRating.0d9eb084.chunk.js.gz", - "static/js/Token20Detail.57fc82ca.chunk.js.LICENSE": "/static/js/Token20Detail.57fc82ca.chunk.js.LICENSE", - "static/js/Token20Detail.57fc82ca.chunk.js.gz": "/static/js/Token20Detail.57fc82ca.chunk.js.gz", + "static/js/Token20Detail.390b829b.chunk.js.LICENSE": "/static/js/Token20Detail.390b829b.chunk.js.LICENSE", + "static/js/Token20Detail.390b829b.chunk.js.gz": "/static/js/Token20Detail.390b829b.chunk.js.gz", "static/js/TokenDetail.836bd328.chunk.js.LICENSE": "/static/js/TokenDetail.836bd328.chunk.js.LICENSE", "static/js/TokenDetail.836bd328.chunk.js.gz": "/static/js/TokenDetail.836bd328.chunk.js.gz", "static/js/TokenList.cb8ae07c.chunk.js.gz": "/static/js/TokenList.cb8ae07c.chunk.js.gz", @@ -227,7 +227,7 @@ "static/js/domloadsh.86ffdadd.chunk.js.LICENSE": "/static/js/domloadsh.86ffdadd.chunk.js.LICENSE", "static/js/domloadsh.86ffdadd.chunk.js.gz": "/static/js/domloadsh.86ffdadd.chunk.js.gz", "static/js/main.16964524.chunk.js.gz": "/static/js/main.16964524.chunk.js.gz", - "static/js/runtime~main.0590e9c9.js.gz": "/static/js/runtime~main.0590e9c9.js.gz", + "static/js/runtime~main.30aa3fe6.js.gz": "/static/js/runtime~main.30aa3fe6.js.gz", "static/media/Binance.svg": "/static/media/Binance.8ad2ef29.svg", "static/media/Bitfinex.svg": "/static/media/Bitfinex.855e320a.svg", "static/media/Bittrex.svg": "/static/media/Bittrex.e077d3ec.svg", diff --git a/build/index.html b/build/index.html index 51fb2604da..6cb7f052a8 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -
i*r[o][n]?o=s:i*r[s][n]==i*r[o][n]&&r[s].z
y: {point.y}
z: {point.z}
"}},{pointAttribs:function(e){var t=ve.scatter.prototype.pointAttribs.apply(this,arguments);return this.chart.is3d()&&e&&(t.zIndex=fe.pointCameraDistance(e,this.chart)),t},axisTypes:["xAxis","yAxis","zAxis"],pointArrayMap:["x","y","z"],parallelArrays:["x","y","z"],directTouch:!0},{applyOptions:function(){return ge.prototype.applyOptions.apply(this,arguments),void 0===this.z&&(this.z=0),this}}),be=(ye=e).addEvent,_e=ye.Axis,we=ye.SVGRenderer,(Ce=ye.VMLRenderer)&&(ye.setOptions({animate:!1}),Ce.prototype.face3d=we.prototype.face3d,Ce.prototype.polyhedron=we.prototype.polyhedron,Ce.prototype.cuboid=we.prototype.cuboid,Ce.prototype.cuboidPath=we.prototype.cuboidPath,Ce.prototype.toLinePath=we.prototype.toLinePath,Ce.prototype.toLineSegments=we.prototype.toLineSegments,Ce.prototype.createElement3D=we.prototype.createElement3D,Ce.prototype.arc3d=function(e){return(e=we.prototype.arc3d.call(this,e)).css({zIndex:e.zIndex}),e},ye.VMLRenderer.prototype.arc3dPath=ye.SVGRenderer.prototype.arc3dPath,be(_e,"render",function(){this.sideFrame&&(this.sideFrame.css({zIndex:0}),this.sideFrame.front.attr({fill:this.sideFrame.color})),this.bottomFrame&&(this.bottomFrame.css({zIndex:1}),this.bottomFrame.front.attr({fill:this.bottomFrame.color})),this.backFrame&&(this.backFrame.css({zIndex:0}),this.backFrame.front.attr({fill:this.backFrame.color}))}))},e.exports?e.exports=o:void 0===(i=function(){return o}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,o;o=function(e){var t,n,i,o,r,s,a,l,u,c,d,h,p,f,g,m,v,y,b;n=(t=e).defaultOptions,i=t.doc,o=t.Chart,r=t.addEvent,s=t.removeEvent,a=t.fireEvent,l=t.createElement,u=t.discardElement,c=t.css,d=t.merge,h=t.pick,p=t.each,f=t.objectEach,g=t.extend,m=t.isTouchDevice,y=(v=t.win).navigator.userAgent,b=t.Renderer.prototype.symbols,/Edge\/|Trident\/|MSIE /.test(y),/firefox/i.test(y),g(n.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),n.navigation={buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}},d(!0,n.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",background:"none",color:"#333333",fontSize:m?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",stroke:"none",padding:5}}}),n.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},t.post=function(e,t,n){var o=l("form",d({method:"post",action:e,enctype:"multipart/form-data"},n),{display:"none"},i.body);f(t,function(e,t){l("input",{type:"hidden",name:t,value:e},null,o)}),o.submit(),u(o)},g(o.prototype,{sanitizeSVG:function(e,t){if(t&&t.exporting&&t.exporting.allowHTML){var n=e.match(/<\/svg>(.*?$)/);n&&n[1]&&(n='
',pointFormat:'\u25cf {series.name}: {point.y}
',shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"https://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},we.setOptions=function(e){return we.defaultOptions=xe(!0,we.defaultOptions,e),we.time.update(xe(we.defaultOptions.global,we.defaultOptions.time),!1),we.defaultOptions},we.getOptions=function(){return we.defaultOptions},we.defaultPlotOptions=we.defaultOptions.plotOptions,we.time=new we.Time(xe(we.defaultOptions.global,we.defaultOptions.time)),we.dateFormat=function(e,t,n){return we.time.dateFormat(e,t,n)},Oe=(Se=Te).correctFloat,ke=Se.defined,Le=Se.destroyObjectProperties,Me=Se.fireEvent,Ee=Se.isNumber,De=Se.merge,Ne=Se.pick,Ie=Se.deg2rad,Se.Tick=function(e,t,n,i,o){this.axis=e,this.pos=t,this.type=n||"",this.isNewLabel=this.isNew=!0,this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,n||i||this.addLabel()},Se.Tick.prototype={addLabel:function(){var e,t,n,i,o=this,r=o.axis,s=r.options,a=r.chart,l=r.categories,u=r.names,c=o.pos,d=Ne(o.options&&o.options.labels,s.labels),h=c===(g=r.tickPositions)[0],p=c===g[g.length-1],f=(l=this.parameters.category||(l?Ne(l[c],u[c],c):c),o.label),g=g.info;r.isDatetimeAxis&&g&&(e=(t=a.time.resolveDTLFormat(s.dateTimeLabelFormats[!s.grid&&g.higherRanks[c]||g.unitName])).main),o.isFirst=h,o.isLast=p,o.formatCtx={axis:r,chart:a,isFirst:h,isLast:p,dateTimeLabelFormat:e,tickPositionInfo:g,value:r.isLog?Oe(r.lin2log(l)):l,pos:c},s=r.labelFormatter.call(o.formatCtx,this.formatCtx),(i=t&&t.list)&&(o.shortenLabel=function(){for(n=0;n=v?(t=v,p=0):r.dataMax<=v&&(n=v,h=0)),r.min=ot(i,t,r.dataMin),r.max=ot(o,n,r.dataMax)),l&&(r.positiveValuesOnly&&!e&&Math.min(r.min,ot(r.dataMin,r.min))<=0&&Pe.error(10,1),r.min=Be(r.log2lin(r.min),15),r.max=Be(r.log2lin(r.max),15)),r.range&&ze(r.max)&&(r.userMin=r.min=i=Math.max(r.dataMin,r.minFromRange()),r.userMax=o=r.max,r.range=null),qe(r,"foundExtremes"),r.beforePadding&&r.beforePadding(),r.adjustForMinRange(),!(m||r.axisPointRange||r.usePercentage||d)&&ze(r.min)&&ze(r.max)&&(s=r.max-r.min)&&(!ze(i)&&p&&(r.min-=s*p),!ze(o)&&h&&(r.max+=s*h)),$e(a.softMin)&&!$e(r.userMin)&&(r.min=Math.min(r.min,a.softMin)),$e(a.softMax)&&!$e(r.userMax)&&(r.max=Math.max(r.max,a.softMax)),$e(a.floor)&&(r.min=Math.max(r.min,a.floor)),$e(a.ceiling)&&(r.max=Math.min(r.max,a.ceiling)),y&&ze(r.dataMin)&&(v=v||0,!ze(i)&&r.min=n){a=Math.max(0,r-o);break}for(n=r;ni){l=n+o;break}return{xData:e.slice(a,l),yData:t.slice(a,l),start:a,end:l}},generatePoints:function(){var e,t,n,i,o=(h=this.options).data,r=this.data,s=this.processedXData,a=this.processedYData,l=this.pointClass,u=s.length,c=this.cropStart||0,d=this.hasGroupedData,h=h.keys,p=[];for(r||d||((r=[]).length=o.length,r=this.data=r),h&&d&&(this.options.keys=!1),i=0;i=c&&(a[r-h]||i)<=d,n&&i)if(n=o.length)for(;n--;)"number"==typeof o[n]&&(l[u++]=o[n]);else l[u++]=o;this.dataMin=Ei(l),this.dataMax=Mi(l)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n,i,o=this.options,r=o.stacking,s=this.xAxis,a=s.categories,l=this.yAxis,u=this.points,c=u.length,d=!!this.modifyValue,h=o.pointPlacement,p="between"===h||Bi(h),f=o.threshold,g=o.startFromThreshold?f:0,m=Number.MAX_VALUE;for("between"===h&&(h=.5),Bi(h)&&(h*=Ui(o.pointRange||s.pointRange)),o=0;o
',pointFormat:"x: {point.x}
y: {point.y}
"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&er.prototype.drawGraph.call(this)}}),nr=(tr=Te).deg2rad,ir=tr.isNumber,or=tr.pick,rr=tr.relativeLength,tr.CenteredSeriesMixin={getCenter:function(){var e,t,n=this.options,i=this.chart,o=2*(n.slicedOffset||0),r=i.plotWidth-2*o,s=(i=i.plotHeight-2*o,n.center),a=(s=[or(s[0],"50%"),or(s[1],"50%"),n.size||"100%",n.innerSize||0],Math.min(r,i));for(e=0;e<4;++e)t=s[e],n=e<2||2===e&&/%$/.test(t),s[e]=rr(t,[r,i,a,s[2]][e])+(n?o:0);return s[3]>s[2]&&(s[3]=s[2]),s},getStartAndEndRadians:function(e,t){return e=ir(e)?e:0,t=ir(t)&&e
Open: {point.open}
High: {point.high}
Low: {point.low}
Close: {point.close}
'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0},{directTouch:!1,pointArrayMap:["open","high","low","close"],toYData:function(e){return[e.open,e.high,e.low,e.close]},pointValKey:"close",pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},init:function(){ga.column.prototype.init.apply(this,arguments),this.options.stacking=!1},pointAttribs:function(e,t){t=ga.column.prototype.pointAttribs.call(this,e,t);var n=this.options;return delete t.fill,!e.options.color&&n.upColor&&e.open=-D?0:-D),translateY:c.alignAttr.translateY+w.getBBox().height+10}),o.setInputValue("min",e),o.setInputValue("max",t),o.inputGroup.placed=M),o.group.align({verticalAlign:x},!0,r.spacingBox),e=o.group.getBBox().height+20,t=o.group.alignAttr.translateY,"bottom"===x&&(N=t-(e=e+(S=O&&"bottom"===O.verticalAlign&&O.enabled&&!O.floating?S.legendHeight+Vl(O.margin,10):0)-20)-(p?0:d.y)-10),"top"===x?(p&&(N=0),r.titleOffset&&(N=r.titleOffset+r.options.title.margin),N+=r.margin[0]-r.spacing[0]||0):"middle"===x&&(L===k?N=L<0?t+void 0:t:(L||k)&&(N=L<0||k<0?N-Math.min(L,k):t-e+NaN)),o.group.translate(d.x,d.y+Math.floor(N)),!1!==y&&(o.minInput.style.marginTop=o.group.translateY+"px",o.maxInput.style.marginTop=o.group.translateY+"px"),o.rendered=!0)},getHeight:function(){var e=this.options,t=this.group,n=e.y,i=e.buttonPosition.y;return e=e.inputPosition.y,t=t?t.getBBox(!0).height+13+n:0,n=Math.min(e,i),(e<0&&i<0||0
Value: {point.y}
Size: {point.z}
'}},{pointArrayMap:["y","z"],parallelArrays:["x","y","z"],redraw:function(){this.center=null,l.redraw.call(this,arguments)},zValEval:function(e){return"number"==typeof e&&!isNaN(e)||null},calculateExtremes:function(){var e,t=this.chart,a=this.options;e=this.zData;var l=Math.min(t.plotWidth,t.plotHeight)-2*(a.slicedOffset||0),u={};t=this.center||this.getCenter(),i(["minPointSize","maxPointSize"],function(e){var t=a[e],n=/%$/.test(t);t=parseInt(t,10),u[e]=n?l*t/100:2*t}),this.minPxSize=t[3]+u.minPointSize,this.maxPxSize=Math.max(Math.min(t[2],u.maxPointSize),t[3]+u.minPointSize),e.length&&(t=n(a.zMin,r(o(e,this.zValEval))),e=n(a.zMax,s(o(e,this.zValEval))),this.getRadii(t,e,this.minPxSize,this.maxPxSize))},getRadii:function(e,t,n,i){for(var o,r=0,s=this.zData,a=s.length,l=[],u="radius"!==this.options.sizeBy,c=t-e;r1.5*Math.PI?o-=2*Math.PI:o<-Math.PI/2&&(o+=2*Math.PI),s.slicedTranslation={translateX:Math.round(Math.cos(o)*u),translateY:Math.round(Math.sin(o)*u)},t=Math.cos(o)*e[2]/2,r=Math.sin(o)*e[2]/2,i=Math.cos(o)*a,a*=Math.sin(o),s.tooltipPos=[e[0]+.7*t,e[1]+.7*r],s.half=o<-Math.PI/2||o>Math.PI/2?1:0,s.angle=o,t=Math.min(c,s.labelDistance/5),s.labelPos=[e[0]+i+Math.cos(o)*s.labelDistance,e[1]+a+Math.sin(o)*s.labelDistance,e[0]+i+Math.cos(o)*t,e[1]+a+Math.sin(o)*t,e[0]+i,e[1]+a,s.labelDistance<0?"center":s.half?"right":"left",o]}})},e.exports?e.exports=o:void 0===(i=function(){return o}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,o,r;r=function(){var e,t,n=document,i=n.getElementsByTagName("head")[0],o=!1,r="push",s="readyState",a="onreadystatechange",l={},u={},c={},d={};function h(e,t){for(var n=0,i=e.length;nt.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}(l);(0,r.default)(l,c,(0,i.default)({onlyScrollIfNeeded:!0},p.scroll))}}"function"==typeof h&&h(e,t)})}};t.default=function(e){return(0,a.default)((0,i.default)({},e),[h])},e.exports=t.default},function(e,t,n){n(642),n(1632),e.exports=n(103).Array.from},function(e,t,n){"use strict";var i=n(387),o=n(141),r=n(275),s=n(1633),a=n(1634),l=n(646),u=n(1635),c=n(1581);o(o.S+o.F*!n(1636)(function(e){Array.from(e)}),"Array",{from:function(e,t,n){var o,d,h,p,f=r(e),g="function"==typeof this?this:Array,m=arguments.length,v=1")}return v.setPartData(a,c.length-1,_,C),l&&t.appendASCIIString("…"),t.appendASCIIString(""),new d(v,p,r)}(function(e){var t,n,o=e.useMonospaceOptimizations,a=e.lineContent;n=-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var t=io.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,0
":Object(qr.a)(c,u.inflate(),t,d,h,s)}return a},Ws.prototype._getColorMap=function(){var e=Bi.y.getColorMap(),t=["#000000"];if(e)for(var n=1,i=e.length;nthis.lastRenderTop},Fe.prototype.getItemAround=function(e){var t=this.inputItem,n=e;do{if(n[Fe.BINDING]&&(t=n[Fe.BINDING]),n===this.wrapper||n===this.domNode)return t;if(n===this.scrollableElement.getDomNode()||n===document.body)return}while(n=n.parentElement)},Fe.prototype.releaseModel=function(){this.model&&(this.modelListeners=P.d(this.modelListeners),this.model=null)},Fe.prototype.dispose=function(){var e=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=P.d(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach(function(t){return e.items[t].removeFromDOM()}),this.context.cache&&this.context.cache.dispose(),Ae.prototype.dispose.call(this)},Fe.BINDING="monaco-tree-row",Fe.LOADING_DECORATION_DELAY=800,Fe.counter=0,Fe);function Fe(e,t){var n=Ae.call(this)||this;n.model=null,n.lastClickTimeStamp=0,n.contentWidthUpdateDelayer=new ke.a(50),n.isRefreshing=!1,n.refreshingPreviousChildrenIds={},n.currentDragAndDropData=null,n.currentDropTarget=null,n.currentDropTargets=null,n.currentDropDisposable=P.a.None,n.dragAndDropScrollInterval=null,n.dragAndDropScrollTimeout=null,n.dragAndDropMouseY=null,n.onHiddenScrollTop=null,n._onDOMFocus=new A.a,n._onDOMBlur=new A.a,n._onDidScroll=new A.a,Fe.counter++,n.instance=Fe.counter;var i=void 0===e.options.horizontalScrollMode?2:e.options.horizontalScrollMode;n.horizontalScrolling=2!==i,n.context={dataSource:e.dataSource,renderer:e.renderer,controller:e.controller,dnd:e.dnd,filter:e.filter,sorter:e.sorter,tree:e.tree,accessibilityProvider:e.accessibilityProvider,options:e.options,cache:new Me(e),horizontalScrolling:n.horizontalScrolling},n.modelListeners=[],n.viewListeners=[],n.items={},n.domNode=document.createElement("div"),n.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+n.instance,n.domNode.tabIndex=e.options.preventRootFocus?-1:0,n.styleElement=r.q(n.domNode),n.treeStyler=e.styler||new D(n.styleElement,"monaco-tree-instance-"+n.instance),n.domNode.setAttribute("role","tree"),n.context.options.ariaLabel&&n.domNode.setAttribute("aria-label",n.context.options.ariaLabel),n.context.options.alwaysFocused&&r.f(n.domNode,"focused"),n.context.options.paddingOnRow||r.f(n.domNode,"no-row-padding"),n.wrapper=document.createElement("div"),n.wrapper.className="monaco-tree-wrapper",n.scrollableElement=new de.b(n.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:i,vertical:void 0!==e.options.verticalScrollMode?e.options.verticalScrollMode:1,useShadows:e.options.useShadows}),n.scrollableElement.onScroll(function(e){n.render(e.scrollTop,e.height,e.scrollLeft,e.width,e.scrollWidth),n._onDidScroll.fire()}),Q.j?(n.wrapper.style.msTouchAction="none",n.wrapper.style.msContentZooming="none"):ee.b.addTarget(n.wrapper),n.rowsContainer=document.createElement("div"),n.rowsContainer.className="monaco-tree-rows",e.options.showTwistie&&(n.rowsContainer.className+=" show-twisties");var o=r.Q(n.domNode);return n.viewListeners.push(o.onDidFocus(function(){return n.onFocus()})),n.viewListeners.push(o.onDidBlur(function(){return n.onBlur()})),n.viewListeners.push(o),n.viewListeners.push(r.h(n.domNode,"keydown",function(e){return n.onKeyDown(e)})),n.viewListeners.push(r.h(n.domNode,"keyup",function(e){return n.onKeyUp(e)})),n.viewListeners.push(r.h(n.domNode,"mousedown",function(e){return n.onMouseDown(e)})),n.viewListeners.push(r.h(n.domNode,"mouseup",function(e){return n.onMouseUp(e)})),n.viewListeners.push(r.h(n.wrapper,"auxclick",function(e){e&&1===e.button&&n.onMouseMiddleClick(e)})),n.viewListeners.push(r.h(n.wrapper,"click",function(e){return n.onClick(e)})),n.viewListeners.push(r.h(n.domNode,"contextmenu",function(e){return n.onContextMenu(e)})),n.viewListeners.push(r.h(n.wrapper,ee.a.Tap,function(e){return n.onTap(e)})),n.viewListeners.push(r.h(n.wrapper,ee.a.Change,function(e){return n.onTouchChange(e)})),Q.j&&(n.viewListeners.push(r.h(n.wrapper,"MSPointerDown",function(e){return n.onMsPointerDown(e)})),n.viewListeners.push(r.h(n.wrapper,"MSGestureTap",function(e){return n.onMsGestureTap(e)})),n.viewListeners.push(r.j(n.wrapper,"MSGestureChange",function(e){return n.onThrottledMsGestureChange(e)},function(e,t){t.stopPropagation(),t.preventDefault();var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}))),n.viewListeners.push(r.h(window,"dragover",function(e){return n.onDragOver(e)})),n.viewListeners.push(r.h(n.wrapper,"drop",function(e){return n.onDrop(e)})),n.viewListeners.push(r.h(window,"dragend",function(e){return n.onDragEnd(e)})),n.viewListeners.push(r.h(window,"dragleave",function(e){return n.onDragOver(e)})),n.wrapper.appendChild(n.rowsContainer),n.domNode.appendChild(n.scrollableElement.getDomNode()),t.appendChild(n.domNode),n.lastRenderTop=0,n.lastRenderHeight=0,n.didJustPressContextMenuKey=!1,n.currentDropTarget=null,n.currentDropTargets=[],n.shouldInvalidateDropReaction=!1,n.dragAndDropScrollInterval=null,n.dragAndDropScrollTimeout=null,n.onRowsChanged(),n.layout(),n.setupMSGesture(),n.applyStyles(e.options),n}var je=n(1440),We=n(1443),Be=function(e,t,n){if(void 0===n&&(n={}),this.tree=e,this.configuration=t,this.options=n,!t.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=t.dataSource,this.renderer=t.renderer,this.controller=t.controller||new C({clickBehavior:1,keyboardSupport:"boolean"!=typeof n.keyboardSupport||n.keyboardSupport}),this.dnd=t.dnd||new S,this.filter=t.filter||new k,this.sorter=t.sorter,this.accessibilityProvider=t.accessibilityProvider||new M,this.styler=t.styler},Ve={listFocusBackground:je.a.fromHex("#073655"),listActiveSelectionBackground:je.a.fromHex("#0E639C"),listActiveSelectionForeground:je.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:je.a.fromHex("#094771"),listFocusAndSelectionForeground:je.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:je.a.fromHex("#3F3F46"),listHoverBackground:je.a.fromHex("#2A2D2E"),listDropBackground:je.a.fromHex("#383B3D")},ze=(He.prototype.style=function(e){this.view.applyStyles(e)},Object.defineProperty(He.prototype,"onDidFocus",{get:function(){return this.view&&this.view.onDOMFocus},enumerable:!0,configurable:!0}),He.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},He.prototype.layout=function(e,t){this.view.layout(e,t)},He.prototype.domFocus=function(){this.view.focus()},He.prototype.isDOMFocused=function(){return this.view.isFocused()},He.prototype.domBlur=function(){this.view.blur()},He.prototype.setInput=function(e){return this.model.setInput(e)},He.prototype.getInput=function(){return this.model.getInput()},He.prototype.expand=function(e){return this.model.expand(e)},He.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.collapse(e,t)},He.prototype.toggleExpansion=function(e,t){return void 0===t&&(t=!1),this.model.toggleExpansion(e,t)},He.prototype.isExpanded=function(e){return this.model.isExpanded(e)},He.prototype.reveal=function(e,t){return void 0===t&&(t=null),this.model.reveal(e,t)},He.prototype.getHighlight=function(){return this.model.getHighlight()},He.prototype.clearHighlight=function(e){this.model.setHighlight(null,e)},He.prototype.setSelection=function(e,t){this.model.setSelection(e,t)},He.prototype.getSelection=function(){return this.model.getSelection()},He.prototype.clearSelection=function(e){this.model.setSelection([],e)},He.prototype.setFocus=function(e,t){this.model.setFocus(e,t)},He.prototype.getFocus=function(){return this.model.getFocus()},He.prototype.focusNext=function(e,t){this.model.focusNext(e,t)},He.prototype.focusPrevious=function(e,t){this.model.focusPrevious(e,t)},He.prototype.focusParent=function(e){this.model.focusParent(e)},He.prototype.focusFirstChild=function(e){this.model.focusFirstChild(e)},He.prototype.focusFirst=function(e,t){this.model.focusFirst(e,t)},He.prototype.focusNth=function(e,t){this.model.focusNth(e,t)},He.prototype.focusLast=function(e,t){this.model.focusLast(e,t)},He.prototype.focusNextPage=function(e){this.view.focusNextPage(e)},He.prototype.focusPreviousPage=function(e){this.view.focusPreviousPage(e)},He.prototype.clearFocus=function(e){this.model.setFocus(null,e)},He.prototype.dispose=function(){this._onDispose.fire(),null!==this.model&&(this.model.dispose(),this.model=null),null!==this.view&&(this.view.dispose(),this.view=null),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},He);function He(e,t,n){void 0===n&&(n={}),this._onDidChangeFocus=new A.f,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new A.f,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new A.f,this._onDidExpandItem=new A.f,this._onDidCollapseItem=new A.f,this._onDispose=new A.a,this.onDidDispose=this._onDispose.event,this.container=e,Object(We.g)(n,Ve,!1),n.twistiePixels="number"==typeof n.twistiePixels?n.twistiePixels:32,n.showTwistie=!1!==n.showTwistie,n.indentPixels="number"==typeof n.indentPixels?n.indentPixels:12,n.alwaysFocused=!0===n.alwaysFocused,n.useShadows=!1!==n.useShadows,n.paddingOnRow=!1!==n.paddingOnRow,n.showLoading=!1!==n.showLoading,this.context=new Be(this,t,n),this.model=new Z(this.context),this.view=new Re(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}n(2101);var Ue,Ke,Ge=(Ue=function(e,t){return(Ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Ue(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),qe={progressBarBackground:je.a.fromHex("#0E70C0")},Ye=(Ge(Xe,Ke=P.a),Xe.prototype.create=function(e){this.element=document.createElement("div"),Object(r.f)(this.element,"monaco-progress-container"),e.appendChild(this.element),this.bit=document.createElement("div"),Object(r.f)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()},Xe.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(r.H)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0},Xe.prototype.stop=function(){return this.doDone(!1)},Xe.prototype.doDone=function(e){var t=this;return Object(r.f)(this.element,"done"),Object(r.A)(this.element,"infinite")?this.bit.style.opacity="0":this.bit.style.width="inherit",e?setTimeout(function(){return t.off()},200):this.off(),this},Xe.prototype.hide=function(){Object(r.B)(this.element),this.showDelayedScheduler.cancel()},Xe.prototype.style=function(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()},Xe.prototype.applyStyles=function(){if(this.bit){var e=this.progressBarBackground?this.progressBarBackground.toString():null;this.bit.style.backgroundColor=e}},Xe);function Xe(e,t){var n=Ke.call(this)||this;return n.options=t||Object.create(null),Object(We.g)(n.options,qe,!1),n.workedVal=0,n.progressBarBackground=n.options.progressBarBackground,n._register(n.showDelayedScheduler=new ke.d(function(){return Object(r.O)(n.element)},0)),n.create(e),n}var Ze,Je,Qe=(Ze=function(e,t){return(Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Ze(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),$e=(Qe(et,Je=C),et.prototype.onContextMenu=function(e,t,n){return a.d?this.onLeftClick(e,t,n):Je.prototype.onContextMenu.call(this,e,t,n)},et);function et(){return null!==Je&&Je.apply(this,arguments)||this}var tt,nt={background:je.a.fromHex("#1E1E1E"),foreground:je.a.fromHex("#CCCCCC"),pickerGroupForeground:je.a.fromHex("#0097FB"),pickerGroupBorder:je.a.fromHex("#3F3F46"),widgetShadow:je.a.fromHex("#000000"),progressBarBackground:je.a.fromHex("#0E70C0")},it=s.a("quickOpenAriaLabel","Quick picker. Type to narrow down results."),ot=(Qe(rt,tt=P.a),rt.prototype.getModel=function(){return this.model},rt.prototype.create=function(){var e=this;this.element=document.createElement("div"),r.f(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(r.h(this.element,r.d.CONTEXT_MENU,function(e){return r.c.stop(e,!0)})),this._register(r.h(this.element,r.d.FOCUS,function(t){return e.gainingFocus()},!0)),this._register(r.h(this.element,r.d.BLUR,function(t){return e.loosingFocus(t)},!0)),this._register(r.h(this.element,r.d.KEY_DOWN,function(t){var n=new ie.a(t);if(9===n.keyCode)r.c.stop(t,!0),e.hide(2);else if(2===n.keyCode&&!n.altKey&&!n.ctrlKey&&!n.metaKey){var i=t.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");n.shiftKey&&n.target===i[0]?(r.c.stop(t,!0),i[i.length-1].focus()):n.shiftKey||n.target!==i[i.length-1]||(r.c.stop(t,!0),i[0].focus())}})),this.progressBar=this._register(new Ye(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),r.f(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new v.b(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:it,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(r.h(this.inputBox.inputElement,r.d.INPUT,function(t){return e.onType()})),this._register(r.h(this.inputBox.inputElement,r.d.KEY_DOWN,function(t){var n=new ie.a(t),i=e.shouldOpenInBackground(n);if(2!==n.keyCode)if(18===n.keyCode||16===n.keyCode||12===n.keyCode||11===n.keyCode)r.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.inputBox.inputElement.selectionStart===e.inputBox.inputElement.selectionEnd&&(e.inputBox.inputElement.selectionStart=e.inputBox.value.length);else if(3===n.keyCode||i){r.c.stop(t,!0);var o=e.tree.getFocus();o&&e.elementSelected(o,t,i?2:1)}})),this.resultCount=document.createElement("div"),r.f(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),r.f(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var t=this.options.treeCreator||function(e,t,n){return new ze(e,t,n)};return this.tree=this._register(t(this.treeContainer,{dataSource:new u(this),controller:new $e({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new g(this,this.styles),filter:new p(this),accessibilityProvider:new d(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:s.a("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus(function(t){e.elementFocused(t.focus,t)})),this._register(this.tree.onDidChangeSelection(function(t){if(t.selection&&0