{"size": 3895, "ext": "js", "max_stars_repo_path": "docs/dist/render.min.js", "max_stars_repo_name": "Somanathan1987/landscape", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/dist/render.min.js", "max_issues_repo_name": "Somanathan1987/landscape", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/dist/render.min.js", "max_forks_repo_name": "Somanathan1987/landscape", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 3895.0, "max_line_length": 3895, "alphanum_fraction": 0.6518613607}
var render=function(e){var t={};function n(r){if(t[r])return t[r].exports;var u=t[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)n.d(r,u,function(t){return e[t]}.bind(null,u));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=13)}([function(e,t,n){"use strict";t.__esModule=!0,t.selectMany=function(e,t,n){for(var r=[],u=0,i=0,o=0,a=e;o<a.length;o++)for(var l=a[o],s=0,c=t(l,i++);s<c.length;s++){var f=c[s];r[u++]=n(f,l)}return r}},function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),u=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,a=i.length;o<a;o++,u++)r[u]=i[o];return r};t.__esModule=!0;var u=n(2),i=n(3),o=n(0);t.getTable=function(e,t,n){for(var a=o.selectMany(e,(function(e){return e.usage}),(function(e,r){return{detail:r.detail,xValue:e.dimensions[t.name],yValue:e.dimensions[n.name],status:e.status}})),l=r([[new i.Cell(new u.Detail,"xAxis")]],t.values.map((function(e){return[new i.Cell(new u.Detail("",e),"xAxis")]}))),s=r([l],n.values.map((function(e){return r([[new i.Cell(new u.Detail("",e),"yAxis")]],t.values.map((function(t){return a.filter((function(n){return n.xValue===t&&n.yValue===e})).map((function(e){return new i.Cell(e.detail,e.status)}))})))}))),c=function(e){for(var t=s[e].length;t--;)0===s[e][t].length&&s[e][t].push(new i.Cell(new u.Detail,"empty"));var n=s[e].map((function(e){return e.length||1})),o=n.reduce((function(e,t){return function(e,t){return e*t/function e(t,n){return n?e(n,t%n):t}(e,t)}(e,t)}),1);o>1&&s.splice.apply(s,r([e,1],function(e){for(var t=[],n=0;n<e;++n)t.push(n);return t}(o).map((function(t){return n.map((function(n,r){return 0===s[e][r].length?[]:[s[e][r][Math.floor(t/o*n)].clone(o)]}))}))))},f=s.length;f--;)c(f);var p=s.map((function(e){return e.map((function(e){return e[0]}))})),d=p.length,h=p[0].length;for(f=d;f--;)for(var v=h;v--;){var g=p[f][v],y=!1;if(!y&&f){var m=p[f-1][v];m.detail.name===g.detail.name&&m.style===g.style&&m.colspan===g.colspan&&(m.rowspan+=g.rowspan,m.height+=g.height,p[f].splice(v,1),y=!0)}if(!y&&v){var _=p[f][v-1];_.detail.name===g.detail.name&&_.style===g.style&&_.rowspan===g.rowspan&&(_.colspan+=g.colspan,p[f].splice(v,1),y=!0)}}return p}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e,t){void 0===e&&(e=""),void 0===t&&(t=""),this.id=e,this.name=t};t.Detail=r},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t,n,r,u){void 0===n&&(n=1),void 0===r&&(r=1),void 0===u&&(u=1),this.detail=e,this.style=t,this.colspan=n,this.rowspan=r,this.split=u,this.height=100,this.height=100/u}return e.prototype.clone=function(t){return new e(this.detail,this.style,this.colspan,this.rowspan,t)},e}();t.Cell=r},function(e,t,n){"use strict";function r(e,t){return e+"<tr>"+t.reduce(u,"")+"</tr>"}function u(e,t){return e+'<td class="'+t.style+" height"+Math.round(t.height/10)+'" colspan="'+t.colspan+'" rowspan="'+t.rowspan+'">'+(t.detail.name||"")+"</td>"}t.__esModule=!0,t.getHTML=function(e){return e.reduce(r,"")}},,,,,,,,,function(e,t,n){e.exports=n(14)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(1);t.getTable=r.getTable;var u=n(4);t.getHTML=u.getHTML}]);