"use strict"; var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _typeof = "function" == typeof Symbol && "symbol" == _typeof2(Symbol.iterator) ? function (e) { return typeof e === "undefined" ? "undefined" : _typeof2(e); } : function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e === "undefined" ? "undefined" : _typeof2(e); };!function (e) { if ("object" === ("undefined" == typeof exports ? "undefined" : _typeof(exports)) && "undefined" != typeof module) module.exports = e();else if ("function" == typeof define && define.amd) define([], e);else { ("undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this).GitHubCalendar = e(); } }(function () { return function o(s, u, i) { function c(t, e) { if (!u[t]) { if (!s[t]) { var r = "function" == typeof require && require;if (!e && r) return r(t, !0);if (l) return l(t, !0);var n = new Error("Cannot find module '" + t + "'");throw n.code = "MODULE_NOT_FOUND", n; }var a = u[t] = { exports: {} };s[t][0].call(a.exports, function (e) { return c(s[t][1][e] || e); }, a, a.exports, o, s, u, i); }return u[t].exports; }for (var l = "function" == typeof require && require, e = 0; e < i.length; e++) { c(i[e]); }return c; }({ 1: [function (e, t, r) { var m = e("github-calendar-parser"), g = e("elly"), h = e("add-subtract-date"), y = e("formatoid"), M = "MMM D, YYYY", v = "MMMM D";function x(e) { return e + " " + (1 === e ? "day" : "days"); }t.exports = function (p, e, b) { p = g(p), (b = b || {}).summary_text = b.summary_text || 'Summary of pull requests, issues opened, and commits made by @' + e + "", !1 === b.global_stats && (p.style.minHeight = "175px"), b.proxy = b.proxy || function (e) { return "https://urlreq.appspot.com/req?method=GET&url=" + e; };return function f() { return fetch(b.proxy("https://github.com/users/" + e + "/contributions")).then(function (e) { return e.text(); }).then(function (e) { var t = document.createElement("div");t.innerHTML = e;var r = t.querySelector(".js-yearly-contributions");if (g(".position-relative h2", r).remove(), r.querySelector(".float-left.text-gray").innerHTML = b.summary_text, r.querySelector("include-fragment")) setTimeout(f, 500);else { if (!0 === b.responsive) { var n = r.querySelector("svg.js-calendar-graph-svg"), a = n.getAttribute("width"), o = n.getAttribute("height");n.removeAttribute("height"), n.setAttribute("width", "100%"), n.setAttribute("viewBox", "0 0 " + a + " " + o); }if (!1 !== b.global_stats) { var s = m(g("svg", r).outerHTML), u = s.current_streak ? y(s.current_streak_range[0], v) + " – " + y(s.current_streak_range[1], v) : s.last_contributed ? "Last contributed in " + y(s.last_contributed, v) + "." : "Rock - Hard Place", i = s.longest_streak ? y(s.longest_streak_range[0], v) + " – " + y(s.longest_streak_range[1], v) : s.last_contributed ? "Last contributed in " + y(s.last_contributed, v) + "." : "Rock - Hard Place", c = g("