[{"__symbolic":"module","version":3,"metadata":{"GhContribCalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"providers":[{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator"},{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher"}],"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"},"arguments":["error"]}]}],"showControls":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["show-controls"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator"}]}]],"parameters":[null,{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher"},{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator"}]}],"day":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["d"]}]}],"formatterFn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["formatter-fn"]}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["locale"]}]}],"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["m"]}]}],"to":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["to"]}]}],"translations":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["translations"]}]}],"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["user"]}]}],"year":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["y"]}]}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"transformAtIndex":[{"__symbolic":"method"}],"updateRange":[{"__symbolic":"method"}],"setupData":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"GhContribCalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy"},"member":"OnPush"},"providers":[{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator"},{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher"}],"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"},"arguments":["error"]}]}],"showControls":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["show-controls"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator"}]}]],"parameters":[null,{"__symbolic":"reference","module":"../CalendarFetcher/CalendarFetcher","name":"CalendarFetcher"},{"__symbolic":"reference","module":"../Translate/Translator","name":"Translator"}]}],"day":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["d"]}]}],"formatterFn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["formatter-fn"]}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["locale"]}]}],"month":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["m"]}]}],"to":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["to"]}]}],"translations":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["translations"]}]}],"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["user"]}]}],"year":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["y"]}]}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"transformAtIndex":[{"__symbolic":"method"}],"updateRange":[{"__symbolic":"method"}],"setupData":[{"__symbolic":"method"}]}}}}]