1var Knoema;(function(n){var t;(function(n){var t=function(){function t(){this._filterForData=!1;this._groupViews=!1}return t.prototype.init=function(n,t,i){i&&(this._filterForData=!0)},t.prototype.isGroupingViewItem=function(n){if(n.type==="Resource")switch(n.resource.type){case"Presentation":case"GeoPlayground":case"Page":return!0}return!1},t.prototype.group=function(t){var s=t.items,u=[],r,i,o,f,e,h,c;if(this._filterForData){for(f=0;f<s.length;f++)r=s[f],this.isGroupingViewItem(r)||u.push(r);s=u;u=[]}for(f=0;f<s.length;f++)r=s[f],this.isGroupingViewItem(r)?(i=null,this._groupViews&&(o=u.length,o>=1&&u[o-1].type=="GroupedViews"?i=u[o-1]:o>=2&&u[o-2].type=="GroupedViews"&&(i=u[o-2]),i&&i.items.length>=4&&(i=null)),i?typeof i.isLowWeight=="undefined"&&(i.isLowWeight=r.isLowWeight):(i={type:"GroupedViews",items:[],weight:r.weight},i.isLowWeight=r.isLowWeight,r.extraParameters&&(i.extraParameters=r.extraParameters),i.searchResultId=r.searchResultId,u.push(i)),r.teaserType&&(i.teaserType=r.teaserType),i.items.push(r)):u.push(r);for(f=0;f<u.length;f++){if(e=u[f],e.index=f,e.items)for(h=0;h<e.items.length;h++)c=e.items[h],c.index=f,c.subindex=h;e.type=="TimeSeries"&&(e.dataDescriptor=JSON.stringify(n.DataUtils.timeSeriesItemMakeDataDescriptor(e)))}t.items=u;t.totalItems=u.length},t}();n.Grouper=t})(t=n.Search||(n.Search={}))})(Knoema||(Knoema={}))
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.