1(self.webpackChunkcore=self.webpackChunkcore||[]).push([[656],{53656:(m,z,v)=>{!function(o){"use strict";function a(t,i,n){this.orientation=i,this.scroll=n,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=t+"-"+i,this.inner=this.node.appendChild(document.createElement("div"));var e=this;function s(h){var l=o.wheelEventPixels(h)["horizontal"==e.orientation?"x":"y"],r=e.pos;e.moveTo(e.pos+l),e.pos!=r&&o.e_preventDefault(h)}o.on(this.inner,"mousedown",function(h){if(1==h.which){o.e_preventDefault(h);var l="horizontal"==e.orientation?"pageX":"pageY",r=h[l],w=e.pos;o.on(document,"mousemove",p),o.on(document,"mouseup",u)}function u(){o.off(document,"mousemove",p),o.off(document,"mouseup",u)}function p(f){if(1!=f.which)return u();e.moveTo(w+e.total/e.size*(f[l]-r))}}),o.on(this.node,"click",function(h){o.e_preventDefault(h);var l=e.inner.getBoundingClientRect();e.moveTo(e.pos+("horizontal"==e.orientation?h.clientX<l.left?-1:h.clientX>l.right?1:0:h.clientY<l.top?-1:h.clientY>l.bottom?1:0)*e.screen)}),o.on(this.node,"mousewheel",s),o.on(this.node,"DOMMouseScroll",s)}a.prototype.setPos=function(t,i){return t<0&&(t=0),t>this.total-this.screen&&(t=this.total-this.screen),!(!i&&t==this.pos||(this.pos=t,this.inner.style["horizontal"==this.orientation?"left":"top"]=t*(this.size/this.total)+"px",0))},a.prototype.moveTo=function(t){this.setPos(t)&&this.scroll(t,this.orientation)};function c(t,i,n){this.addClass=t,this.horiz=new a(t,"horizontal",n),i(this.horiz.node),this.vert=new a(t,"vertical",n),i(this.vert.node),this.width=null}a.prototype.update=function(t,i,n){var e=this.screen!=i||this.total!=t||this.size!=n;e&&(this.screen=i,this.total=t,this.size=n);var s=this.screen*(this.size/this.total);s<10&&(this.size-=10-s,s=10),this.inner.style["horizontal"==this.orientation?"width":"height"]=s+"px",this.setPos(this.pos,e)},c.prototype.update=function(t){if(null==this.width){var i=window.getComputedStyle?window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle;i&&(this.width=parseInt(i.height))}var n=this.width||0,e=t.scrollWidth>t.clientWidth+1,s=t.scrollHeight>t.clientHeight+1;return this.vert.node.style.display=s?"block":"none",this.horiz.node.style.display=e?"block":"none",s&&(this.vert.update(t.scrollHeight,t.clientHeight,t.viewHeight-(e?n:0)),this.vert.node.style.bottom=e?n+"px":"0"),e&&(this.horiz.update(t.scrollWidth,t.clientWidth,t.viewWidth-(s?n:0)-t.barLeft),this.horiz.node.style.right=s?n+"px":"0",this.horiz.node.style.left=t.barLeft+"px"),{right:s?n:0,bottom:e?n:0}},c.prototype.setScrollTop=function(t){this.vert.setPos(t)},c.prototype.setScrollLeft=function(t){this.horiz.setPos(t)},c.prototype.clear=function(){var t=this.horiz.node.parentNode;t.removeChild(this.horiz.node),t.removeChild(this.vert.node)},o.scrollbarModel.simple=function(t,i){return new c("CodeMirror-simplescroll",t,i)},o.scrollbarModel.overlay=function(t,i){return new c("CodeMirror-overlayscroll",t,i)}}(v(91382))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.