[{"__symbolic":"module","version":4,"metadata":{"GhContribCalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":39,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":40,"character":19},"member":"OnPush"},"providers":[{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator","line":41,"character":14},{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher","line":41,"character":26}],"selector":"gh-contrib-calendar","styles":[":host{border-width:1px;border-style:solid;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;max-width:712px;line-height:21px;display:block;text-align:center;padding:8px;font-size:1em;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%;font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.gh-calendar-container{overflow-x:auto;height:118px}.gh-footer{height:21px}.gh-calendar{width:676px;height:104px}.gh-calendar-month{font-size:10px}.gh-calendar-wday{font-size:9px}.gh-calendar-day{width:10px;height:10px}.flex{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.flex.col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.flex.row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.flex.sp-bw{-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}"],"template":"<div class=\"flex col\"><gh-loading-bar [style.visibility]=\"_numLoading &gt; 0 ? &quot;visible&quot; : &quot;hidden&quot;\"></gh-loading-bar><ng-container *ngIf=\"data|async as data\"><div class=\"gh-calendar-container\"><svg class=\"gh-calendar\"><g transform=\"translate(16,20)\"><g [attr.transform]=\"transformAtIndex(gi)\" *ngFor=\"let g of data.gs; index as gi\"><rect class=\"gh-calendar-day\" *ngFor=\"let rect of g; index as ri\" [attr.x]=\"13 - gi\" [attr.y]=\"12 * ri\" [ngClass]=\"'l-' + rect.fill\" (mouseenter)=\"_enteredRect=rect\" (mouseleave)=\"_enteredRect=null\"></rect></g><text class=\"gh-calendar-month\" y=\"-10\" [attr.x]=\"mth.x\" *ngFor=\"let mth of data.months\">{{tr.translate(mth.txt)}}</text><text class=\"gh-calendar-wday\" text-anchor=\"start\" dx=\"-14\" dy=\"20\">{{tr.translate('Monday')}}</text><text class=\"gh-calendar-wday\" text-anchor=\"start\" dx=\"-14\" dy=\"44\">{{tr.translate('Wednesday')}}</text><text class=\"gh-calendar-wday\" text-anchor=\"start\" dx=\"-14\" dy=\"69\">{{tr.translate('Friday')}}</text></g></svg></div><div class=\"gh-footer flex row sp-bw\"><div><button *ngIf=\"showControls\" chevron-btn chevron=\"left\" (click)=\"updateRange(-1)\"></button></div><gh-contrib-calendar-details *ngIf=\"_enteredRect\" [tr]=\"tr\" [date]=\"_enteredRect.date\" [count]=\"_enteredRect.count\"></gh-contrib-calendar-details><div><button *ngIf=\"showControls\" chevron-btn chevron=\"right\" (click)=\"updateRange(1)\" [disabled]=\"atMaxRange\"></button></div></div></ng-container></div>"}]}],"members":{"error":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":58,"character":3},"arguments":["error"]}]}],"showControls":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3},"arguments":["show-controls"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":89,"character":22},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":89,"character":29}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":90,"character":22},"arguments":[{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher","line":90,"character":29}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":91,"character":22},"arguments":[{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator","line":91,"character":29}]}]],"parameters":[null,{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher","line":90,"character":55},{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator","line":91,"character":45}]}],"day":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3},"arguments":["d"]}]}],"formatterFn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3},"arguments":["formatter-fn"]}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3},"arguments":["locale"]}]}],"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":140,"character":3},"arguments":["m"]}]}],"to":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":146,"character":3},"arguments":["to"]}]}],"translations":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":161,"character":3},"arguments":["translations"]}]}],"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":172,"character":3},"arguments":["user"]}]}],"year":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":187,"character":3},"arguments":["y"]}]}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"transformAtIndex":[{"__symbolic":"method"}],"updateRange":[{"__symbolic":"method"}],"setupData":[{"__symbolic":"method"}]}}}}]