New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

v-github-activity

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-github-activity - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

src/components/SkeletonHeaderScreen.vue

16

CHANGELOG.md

@@ -0,2 +1,18 @@

### v2.1.0
- 🎇 Skeleton Screens added to show loading
- 🎇 Event `status` to expose status and errors
- 🔮 Vuepress documentation
- 🔮 Imporvements on GHService and FormatTools
### v2.0.0 - Boxer
- 🔮 Moved from `fetch` to `axios` to work on nuxt sir
- 🎇 Support `OAUTH_TOKEN` from GitHub to increase the `rate_limit`
# ⚠️ POSSIBLY BREAKING
- 🎇 `token` prop
### v1.0.2
- 🎇 Added README

@@ -3,0 +19,0 @@ - 🔮 Github Icon nows hide on mobile

2

dist/v-github-activity.esm.js

@@ -1,1 +0,1 @@

import e from"axios";var t=function(t,n){var a;return n&&(a={Authorization:"token "+n}),e.get("https://api.github.com/users/"+t,{headers:a}).then(function(e){return e.data}).catch(function(e){return e})},n=function(t,n){var a;return n&&(a={Authorization:"token "+n}),e.get("https://api.github.com/users/"+t+"/events",{headers:a}).then(function(e){return e.data}).catch(function(e){return e})},a={name:"github-feed",props:{login:{required:!0},token:{required:!1}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var e=this;t(this.login,this.token).then(function(t){e.user=t,n(e.login,e.token).then(function(t){e.loading=!1,e.error=!1,e.events=t}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}};var s,i=function(e,t,n,a,s,i,o,v,r,l){"boolean"!=typeof o&&(r=v,v=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),a&&(d._scopeId=a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,v(e))}),c)if(d.functional){var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,c):[c]}return n},o="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var v={};var r=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[n("div",{staticClass:"header"},[n("svg",{staticClass:"github-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])])]),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-6a5725f8_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}.github-icon{display:none!important}}",map:void 0,media:void 0})},a,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=o?t.media||"default":e,a=v[n]||(v[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===s&&(s=document.head||document.getElementsByTagName("head")[0]),s.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(i),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var r=a.ids.size-1,l=document.createTextNode(i),c=a.element.childNodes;c[r]&&a.element.removeChild(c[r]),c.length?a.element.insertBefore(l,c[r]):a.element.appendChild(l)}}}(e,t)}},void 0),l=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var s,i,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},v=[],r=t.max||6e4;for(s in o)v.length<r&&((i=Math.floor(o[s]))||t.zero)&&v.push(i+" "+(1==i?s:s+"s"));return r=", ",(s=v.length)>1&&t.and&&(2==s&&(r=" "),v[--s]="and "+v[s]),i=v.join(r),t.suffix&&(i+=n<0?" ago":" from now"),i},c=function(e){return e.substr(e.length-6)},d=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)])},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:l,hash:c,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),h=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),m=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},["repository"===e.event.payload.ref_type?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:l,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),p=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),_=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),u=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},["opened"===e.event.payload.action?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),f=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),g=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0),w=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:l,hash:c}},void 0,!1,void 0,void 0,void 0),b=i({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:l}},void 0,!1,void 0,void 0,void 0);var y={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",r),t.component("push-event",d),t.component("pull-request-event",h),t.component("create-event",m),t.component("watch-event",_),t.component("delete-event",p),t.component("issues-event",u),t.component("issue-comment-event",f),t.component("commit-comment-event",w),t.component("fork-event",g),t.component("public-event",b))}},C=null;"undefined"!=typeof window?C=window.Vue:"undefined"!=typeof global&&(C=global.Vue),C&&C.use(y);export default y;export{w as CommitCommentEvent,m as CreateEvent,p as DeleteEvent,g as ForkEvent,r as GithubFeed,f as IssueCommentEvent,u as IssuesEvent,b as PublicEvent,h as PullRequestEvent,d as PushEvent,_ as WatchEvent};
import e from"axios";e.interceptors.response.use(function(e){return e.data},function(e){return Promise.reject(e)});var t=function(t,n){var a;return n&&(a={Authorization:"token "+n}),e.get("https://api.github.com/users/"+t,{headers:a})},n=function(t,n){var a;return n&&(a={Authorization:"token "+n}),e.get("https://api.github.com/users/"+t+"/events",{headers:a})},a={name:"github-feed",props:{login:{required:!0},token:{required:!1}},data:function(){return{user:{},events:[],loading:!0,error:!1}},mounted:function(){var e=this;t(this.login,this.token).then(function(t){e.user=t,n(e.login,e.token).then(function(t){e.loading=!1,e.error=!1,e.events=t,e.$emit("status",!1,null)})}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0,e.$emit("status",!0,t)})}};var i,s=function(e,t,n,a,i,s,o,r,v,l){"boolean"!=typeof o&&(v=r,r=o,o=!1);var d,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),a&&(c._scopeId=a),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,v(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=d):t&&(d=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),d)if(c.functional){var h=c.render;c.render=function(e,t){return d.call(t),h(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,d):[d]}return n},o="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var r={};var v=function(e){return function(e,t){return function(e,t){var n=o?t.media||"default":e,a=r[n]||(r[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var s=t.source;if(t.map&&(s+="\n/*# sourceURL="+t.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===i&&(i=document.head||document.getElementsByTagName("head")[0]),i.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(s),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var v=a.ids.size-1,l=document.createTextNode(s),d=a.element.childNodes;d[v]&&a.element.removeChild(d[v]),d.length?a.element.insertBefore(l,d[v]):a.element.appendChild(l)}}}(e,t)}},l=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[e.loading?n("skeleton-header-screen",{staticClass:"header"}):n("div",{staticClass:"header"},[n("svg",{staticClass:"github-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])])],1),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[e.loading?n("div",{staticClass:"event-list"},e._l(3,function(e){return n("skeleton-screen",{key:e})}),1):n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-a81d5050_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px){.event-octicon{display:none!important}.github-icon{display:none!important}}",map:void 0,media:void 0})},a,void 0,!1,void 0,v,void 0),d=s({render:function(){var e=this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"github-event post"},[t("div",{staticClass:"event-octicon avatar"}),this._v(" "),t("div",{staticClass:"event-text line"}),this._v(" "),t("ul",[t("li",{staticClass:"event-text event-detail line",staticStyle:{"list-style":"none"}}),this._v(" "),t("li",{staticClass:"event-text event-detail line",staticStyle:{"list-style":"none"}})])])}]},function(e){e&&e("data-v-df53a898_0",{source:".post .avatar[data-v-df53a898]{float:left;width:16px;height:16px;background-color:#ccc;border-radius:25%;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-avatar-data-v-df53a898 1.6s infinite linear}.post .line[data-v-df53a898]{float:left;height:12px;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-lines-data-v-df53a898 1.6s infinite linear}.post .avatar+.line[data-v-df53a898]{display:block;width:50%}.post ul li~.line[data-v-df53a898]{display:block;background-color:#ddd;height:10px;width:40%}@keyframes shine-lines-data-v-df53a898{0%{background-position:100%}100%,40%{background-position:-150%}}@keyframes shine-avatar-data-v-df53a898{0%{background-position:100%}100%,40%{background-position:-150%}}",map:void 0,media:void 0})},{name:"skeleton-screen"},"data-v-df53a898",!1,void 0,v,void 0),c=s({render:function(){var e=this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"skeleton-header"},[t("div",{staticClass:"event-octicon avatar"}),this._v(" "),t("div",{staticClass:"event-text line"}),this._v(" "),t("br"),this._v(" "),t("ul",[t("li",{staticClass:"event-text event-detail line",staticStyle:{"list-style":"none"}})])])}]},function(e){e&&e("data-v-b23b839c_0",{source:".skeleton-header .avatar[data-v-b23b839c]{float:left;width:35px;height:35px;background-color:#ccc;border-radius:100%;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-avatar-data-v-b23b839c 1.6s infinite linear}.skeleton-header .line[data-v-b23b839c]{float:left;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-lines-data-v-b23b839c 1.6s infinite linear}.skeleton-header .avatar+.line[data-v-b23b839c]{height:26px;display:block;width:50%}.skeleton-header ul li~.line[data-v-b23b839c]{display:block;background-color:#ddd;height:10px;width:40%}@keyframes shine-lines-data-v-b23b839c{0%{background-position:100%}100%,40%{background-position:-150%}}@keyframes shine-avatar-data-v-b23b839c{0%{background-position:100%}100%,40%{background-position:-150%}}",map:void 0,media:void 0})},{name:"skeleton-header-screen"},"data-v-b23b839c",!1,void 0,v,void 0),h=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var i,s,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},r=[],v=t.max||6e4;for(i in o)r.length<v&&((s=Math.floor(o[i]))||t.zero)&&r.push(s+" "+(1==s?i:i+"s"));return v=", ",(i=r.length)>1&&t.and&&(2==i&&(v=" "),r[--i]="and "+r[i]),s=r.join(v),t.suffix&&(s+=n<0?" ago":" from now"),s},p=function(e){return e.substr(e.length-6)},m=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)])},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:h,hash:p,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),_=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0),u=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},["repository"===e.event.payload.ref_type?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:h,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),f=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0),g=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0),b=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},["opened"===e.event.payload.action?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0),y=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0),w=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0),x=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:h,hash:p}},void 0,!1,void 0,void 0,void 0),C=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:h}},void 0,!1,void 0,void 0,void 0);var k={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",l),t.component("push-event",m),t.component("pull-request-event",_),t.component("create-event",u),t.component("watch-event",g),t.component("delete-event",f),t.component("issues-event",b),t.component("issue-comment-event",y),t.component("commit-comment-event",x),t.component("fork-event",w),t.component("public-event",C),t.component("skeleton-screen",d),t.component("skeleton-header-screen",c))}},z=null;"undefined"!=typeof window?z=window.Vue:"undefined"!=typeof global&&(z=global.Vue),z&&z.use(k);export default k;export{x as CommitCommentEvent,u as CreateEvent,f as DeleteEvent,w as ForkEvent,l as GithubFeed,y as IssueCommentEvent,b as IssuesEvent,C as PublicEvent,_ as PullRequestEvent,m as PushEvent,c as SkeletonHeaderScreen,d as SkeletonScreen,g as WatchEvent};

@@ -1,1 +0,1 @@

var githubFeed=function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n=function(e,n){var a;return n&&(a={Authorization:"token "+n}),t.get("https://api.github.com/users/"+e,{headers:a}).then(function(e){return e.data}).catch(function(e){return e})},a=function(e,n){var a;return n&&(a={Authorization:"token "+n}),t.get("https://api.github.com/users/"+e+"/events",{headers:a}).then(function(e){return e.data}).catch(function(e){return e})},s={name:"github-feed",props:{login:{required:!0},token:{required:!1}},data:function(){return{user:{},events:[],loading:!1,error:!1}},created:function(){var e=this;n(this.login,this.token).then(function(t){e.user=t,a(e.login,e.token).then(function(t){e.loading=!1,e.error=!1,e.events=t}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0})}};var i,o=function(e,t,n,a,s,i,o,v,r,l){"boolean"!=typeof o&&(r=v,v=o,o=!1);var c,d="function"==typeof n?n.options:n;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,s&&(d.functional=!0)),a&&(d._scopeId=a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):t&&(c=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,v(e))}),c)if(d.functional){var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var m=d.beforeCreate;d.beforeCreate=m?[].concat(m,c):[c]}return n},v="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var r={};var l=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[n("div",{staticClass:"header"},[n("svg",{staticClass:"github-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])])]),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-6a5725f8_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}.github-icon{display:none!important}}",map:void 0,media:void 0})},s,void 0,!1,void 0,function(e){return function(e,t){return function(e,t){var n=v?t.media||"default":e,a=r[n]||(r[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var s=t.source;if(t.map&&(s+="\n/*# sourceURL="+t.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===i&&(i=document.head||document.getElementsByTagName("head")[0]),i.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(s),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var o=a.ids.size-1,l=document.createTextNode(s),c=a.element.childNodes;c[o]&&a.element.removeChild(c[o]),c.length?a.element.insertBefore(l,c[o]):a.element.appendChild(l)}}}(e,t)}},void 0),c=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var s,i,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},v=[],r=t.max||6e4;for(s in o)v.length<r&&((i=Math.floor(o[s]))||t.zero)&&v.push(i+" "+(1==i?s:s+"s"));return r=", ",(s=v.length)>1&&t.and&&(2==s&&(r=" "),v[--s]="and "+v[s]),i=v.join(r),t.suffix&&(i+=n<0?" ago":" from now"),i},d=function(e){return e.substr(e.length-6)},h=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)])},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:c,hash:d,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),m=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0),p=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},["repository"===e.event.payload.ref_type?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:c,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),_=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0),u=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0),f=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},["opened"===e.event.payload.action?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0),g=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0),b=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0),w=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:c,hash:d}},void 0,!1,void 0,void 0,void 0),y=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:c}},void 0,!1,void 0,void 0,void 0);var C={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",l),t.component("push-event",h),t.component("pull-request-event",m),t.component("create-event",p),t.component("watch-event",u),t.component("delete-event",_),t.component("issues-event",f),t.component("issue-comment-event",g),t.component("commit-comment-event",w),t.component("fork-event",b),t.component("public-event",y))}},x=null;return"undefined"!=typeof window?x=window.Vue:"undefined"!=typeof global&&(x=global.Vue),x&&x.use(C),e.CommitCommentEvent=w,e.CreateEvent=p,e.DeleteEvent=_,e.ForkEvent=b,e.GithubFeed=l,e.IssueCommentEvent=g,e.IssuesEvent=f,e.PublicEvent=y,e.PullRequestEvent=m,e.PushEvent=h,e.WatchEvent=u,e.default=C,e}({},axios);
var githubFeed=function(e,t){"use strict";(t=t&&t.hasOwnProperty("default")?t.default:t).interceptors.response.use(function(e){return e.data},function(e){return Promise.reject(e)});var n=function(e,n){var a;return n&&(a={Authorization:"token "+n}),t.get("https://api.github.com/users/"+e,{headers:a})},a=function(e,n){var a;return n&&(a={Authorization:"token "+n}),t.get("https://api.github.com/users/"+e+"/events",{headers:a})},i={name:"github-feed",props:{login:{required:!0},token:{required:!1}},data:function(){return{user:{},events:[],loading:!0,error:!1}},mounted:function(){var e=this;n(this.login,this.token).then(function(t){e.user=t,a(e.login,e.token).then(function(t){e.loading=!1,e.error=!1,e.events=t,e.$emit("status",!1,null)})}).catch(function(t){console.warn(t),e.loading=!1,e.error=!0,e.$emit("status",!0,t)})}};var s,o=function(e,t,n,a,i,s,o,r,v,l){"boolean"!=typeof o&&(v=r,r=o,o=!1);var d,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),a&&(c._scopeId=a),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,v(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=d):t&&(d=o?function(){t.call(this,l(this.$root.$options.shadowRoot))}:function(e){t.call(this,r(e))}),d)if(c.functional){var h=c.render;c.render=function(e,t){return d.call(t),h(e,t)}}else{var m=c.beforeCreate;c.beforeCreate=m?[].concat(m,d):[d]}return n},r="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var v={};var l=function(e){return function(e,t){return function(e,t){var n=r?t.media||"default":e,a=v[n]||(v[n]={ids:new Set,styles:[]});if(!a.ids.has(e)){a.ids.add(e);var i=t.source;if(t.map&&(i+="\n/*# sourceURL="+t.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),a.element||(a.element=document.createElement("style"),a.element.type="text/css",t.media&&a.element.setAttribute("media",t.media),void 0===s&&(s=document.head||document.getElementsByTagName("head")[0]),s.appendChild(a.element)),"styleSheet"in a.element)a.styles.push(i),a.element.styleSheet.cssText=a.styles.filter(Boolean).join("\n");else{var o=a.ids.size-1,l=document.createTextNode(i),d=a.element.childNodes;d[o]&&a.element.removeChild(d[o]),d.length?a.element.insertBefore(l,d[o]):a.element.appendChild(l)}}}(e,t)}},d=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"feed"},[n("div",{staticClass:"header-wrapper"},[e.loading?n("skeleton-header-screen",{staticClass:"header"}):n("div",{staticClass:"header"},[n("svg",{staticClass:"github-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),e._v(" "),n("a",{staticClass:"github-profile",attrs:{href:e.user.html_url,target:"_blank"}},[n("div",{staticStyle:{"font-size":"26px","line-height":"30px"}},[e._v("\n "+e._s(e.user.name)+"\n ")]),e._v(" "),n("div",{staticClass:"github-username"},[e._v("\n "+e._s(e.user.login)+"\n ")])])])],1),e._v(" "),n("div",{staticClass:"events-wrapper"},[n("div",{staticClass:"feed-list"},[e.loading?n("div",{staticClass:"event-list"},e._l(3,function(e){return n("skeleton-screen",{key:e})}),1):n("div",{staticClass:"event-list"},e._l(e.events,function(t){return n("div",{key:t.id},["PushEvent"===t.type?n("push-event",{attrs:{event:t}}):e._e(),e._v(" "),"PullRequestEvent"===t.type?n("pull-request-event",{attrs:{event:t}}):e._e(),e._v(" "),"CreateEvent"===t.type?n("create-event",{attrs:{event:t}}):e._e(),e._v(" "),"WatchEvent"===t.type?n("watch-event",{attrs:{event:t}}):e._e(),e._v(" "),"DeleteEvent"===t.type?n("delete-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssuesEvent"===t.type?n("issues-event",{attrs:{event:t}}):e._e(),e._v(" "),"IssueCommentEvent"===t.type?n("issue-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"ForkEvent"===t.type?n("fork-event",{attrs:{event:t}}):e._e(),e._v(" "),"CommitCommentEvent"===t.type?n("commit-comment-event",{attrs:{event:t}}):e._e(),e._v(" "),"PublicEvent"===t.type?n("public-event",{attrs:{event:t}}):e._e()],1)}),0)])])])},staticRenderFns:[]},function(e){e&&e("data-v-a81d5050_0",{source:".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px){.event-octicon{display:none!important}.github-icon{display:none!important}}",map:void 0,media:void 0})},i,void 0,!1,void 0,l,void 0),c=o({render:function(){var e=this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"github-event post"},[t("div",{staticClass:"event-octicon avatar"}),this._v(" "),t("div",{staticClass:"event-text line"}),this._v(" "),t("ul",[t("li",{staticClass:"event-text event-detail line",staticStyle:{"list-style":"none"}}),this._v(" "),t("li",{staticClass:"event-text event-detail line",staticStyle:{"list-style":"none"}})])])}]},function(e){e&&e("data-v-df53a898_0",{source:".post .avatar[data-v-df53a898]{float:left;width:16px;height:16px;background-color:#ccc;border-radius:25%;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-avatar-data-v-df53a898 1.6s infinite linear}.post .line[data-v-df53a898]{float:left;height:12px;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-lines-data-v-df53a898 1.6s infinite linear}.post .avatar+.line[data-v-df53a898]{display:block;width:50%}.post ul li~.line[data-v-df53a898]{display:block;background-color:#ddd;height:10px;width:40%}@keyframes shine-lines-data-v-df53a898{0%{background-position:100%}100%,40%{background-position:-150%}}@keyframes shine-avatar-data-v-df53a898{0%{background-position:100%}100%,40%{background-position:-150%}}",map:void 0,media:void 0})},{name:"skeleton-screen"},"data-v-df53a898",!1,void 0,l,void 0),h=o({render:function(){var e=this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"skeleton-header"},[t("div",{staticClass:"event-octicon avatar"}),this._v(" "),t("div",{staticClass:"event-text line"}),this._v(" "),t("br"),this._v(" "),t("ul",[t("li",{staticClass:"event-text event-detail line",staticStyle:{"list-style":"none"}})])])}]},function(e){e&&e("data-v-b23b839c_0",{source:".skeleton-header .avatar[data-v-b23b839c]{float:left;width:35px;height:35px;background-color:#ccc;border-radius:100%;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-avatar-data-v-b23b839c 1.6s infinite linear}.skeleton-header .line[data-v-b23b839c]{float:left;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-lines-data-v-b23b839c 1.6s infinite linear}.skeleton-header .avatar+.line[data-v-b23b839c]{height:26px;display:block;width:50%}.skeleton-header ul li~.line[data-v-b23b839c]{display:block;background-color:#ddd;height:10px;width:40%}@keyframes shine-lines-data-v-b23b839c{0%{background-position:100%}100%,40%{background-position:-150%}}@keyframes shine-avatar-data-v-b23b839c{0%{background-position:100%}100%,40%{background-position:-150%}}",map:void 0,media:void 0})},{name:"skeleton-header-screen"},"data-v-b23b839c",!1,void 0,l,void 0),m=function(e,t){t=t||{};var n=new Date(e).getTime()-Date.now(),a=Math.abs(n);if(a<6e4)return"just now";var i,s,o={year:a/31536e6,month:a%31536e6/2592e6,day:a%2592e6/864e5,hour:a%864e5/36e5,minute:a%36e5/6e4},r=[],v=t.max||6e4;for(i in o)r.length<v&&((s=Math.floor(o[i]))||t.zero)&&r.push(s+" "+(1==s?i:i+"s"));return v=", ",(i=r.length)>1&&t.and&&(2==i&&(v=" "),r[--i]="and "+r[i]),s=r.join(v),t.suffix&&(s+=n<0?" ago":" from now"),s},p=function(e){return e.substr(e.length-6)},_=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n pushed to\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/tree/"+e.branch(e.event.payload.ref),target:"_blank"}},[e._v(e._s(e.branch(e.event.payload.ref)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",e._l(e.event.payload.commits,function(t){return n("li",{key:t.sha,staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+t.sha,target:"_blank"}},[e._v(e._s(e.hash(t.sha)))]),e._v("\n "+e._s(t.message)+"\n ")])}),0)])},staticRenderFns:[]},void 0,{name:"push-event",props:{event:{required:!0}},methods:{fromNow:m,hash:p,branch:function(e){return e.replace("refs/heads/","")}}},void 0,!1,void 0,void 0,void 0),u=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" pull request"),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.pull_request.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e.event.payload.pull_request.merged?n("b",[e._v("[MERGED]")]):e._e(),e._v("\n "+e._s(e.event.payload.pull_request.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"pull-request-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0),f=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},["repository"===e.event.payload.ref_type?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n created "+e._s(e.event.payload.ref_type)+"\n "),"repository"!==e.event.payload.ref_type?n("span",[n("a",{staticClass:"event-link",attrs:{href:e.link(e.event),target:"_blank"}},[e._v(e._s(e.event.payload.ref))]),e._v("\n at")]):e._e(),e._v(" "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"create-event",props:{event:{required:!0}},methods:{fromNow:m,link:function(e){return"branch"===e.payload.ref_type?"https://github.com/"+e.repo.name+"/tree/"+e.payload.ref:"https://github.com/"+e.repo.name+"/releases/tag/"+e.payload.ref}}},void 0,!1,void 0,void 0,void 0),g=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 12 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n deleted "+e._s(e.event.payload.ref_type)+"\n "),n("a",{staticClass:"event-link",attrs:{href:"#"}},[e._v(e._s(e.event.payload.ref))]),e._v(" at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"delete-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0),b=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n starred\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"watch-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0),y=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},["opened"===e.event.payload.action?n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 14 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}})]):n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n "+e._s(e.event.payload.action)+" issue\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e(),e._v(" "),n("ul",[n("li",{staticClass:"event-text event-detail",staticStyle:{"list-style":"none"}},[e._v("\n "+e._s(e.event.payload.issue.title)+"\n ")])])])},staticRenderFns:[]},void 0,{name:"issues-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0),w=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on "+e._s(e.event.payload.issue.pull_request?"pull request":"issue")+"\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.issue.html_url,target:"_blank"}},[e._v("\n #"+e._s(e.event.payload.issue.number))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"issue-comment-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0),x=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n forked\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))]),e._v("\n to\n "),n("a",{staticClass:"event-link",attrs:{href:e.event.payload.forkee.html_url,target:"_blank"}},[e._v(e._s(e.event.payload.forkee.full_name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"fork-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0),C=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[n("a",{staticClass:"event-link",attrs:{href:e.event.payload.comment.html_url,target:"_blank"}},[e._v("\n commented\n ")]),e._v("\n on commit\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name+"/commit/"+e.event.payload.comment.commit_id,target:"_blank"}},[e._v("\n "+e._s(e.hash(e.event.payload.comment.commit_id)))]),e._v("\n at\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"commit-comment-event",props:{event:{required:!0}},methods:{fromNow:m,hash:p}},void 0,!1,void 0,void 0,void 0),k=o({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"github-event"},[n("svg",{staticClass:"event-octicon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"}},[n("path",{attrs:{"fill-rule":"evenodd",d:"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z"}})]),e._v(" "),e.event?n("div",{staticClass:"event-text",staticStyle:{display:"inline-block"}},[n("a",{staticStyle:{"text-transform":"capitalize"}},[e._v(e._s(e.event.actor.login))]),e._v(" "),n("b",[e._v("\n open sourced\n "),n("a",{staticClass:"event-link",attrs:{href:"https://github.com/"+e.event.repo.name,target:"_blank"}},[e._v(e._s(e.event.repo.name))])])]):e._e(),e._v(" "),e.event?n("div",{staticClass:"event-time"},[e._v("\n "+e._s(e.fromNow(e.event.created_at))+"\n ")]):e._e()])},staticRenderFns:[]},void 0,{name:"public-event",props:{event:{required:!0}},methods:{fromNow:m}},void 0,!1,void 0,void 0,void 0);var z={install:function e(t){e.installed||(e.installed=!0,t.component("github-feed",d),t.component("push-event",_),t.component("pull-request-event",u),t.component("create-event",f),t.component("watch-event",b),t.component("delete-event",g),t.component("issues-event",y),t.component("issue-comment-event",w),t.component("commit-comment-event",C),t.component("fork-event",x),t.component("public-event",k),t.component("skeleton-screen",c),t.component("skeleton-header-screen",h))}},S=null;return"undefined"!=typeof window?S=window.Vue:"undefined"!=typeof global&&(S=global.Vue),S&&S.use(z),e.CommitCommentEvent=C,e.CreateEvent=f,e.DeleteEvent=g,e.ForkEvent=x,e.GithubFeed=d,e.IssueCommentEvent=w,e.IssuesEvent=y,e.PublicEvent=k,e.PullRequestEvent=u,e.PushEvent=_,e.SkeletonHeaderScreen=h,e.SkeletonScreen=c,e.WatchEvent=b,e.default=z,e}({},axios);

@@ -1,2 +0,4 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _interopDefault(e){return(e&&(typeof e==='object')&&'default'in e)?e['default']:e}var axios=_interopDefault(require('axios'));var service = {
'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _interopDefault(e){return(e&&(typeof e==='object')&&'default'in e)?e['default']:e}var axios=_interopDefault(require('axios'));axios.interceptors.response.use(function (response) { return response.data; }, function (error) { return Promise.reject(error); });
var service = {
user: function (login, token) {

@@ -6,6 +8,3 @@ var headers;

return axios
.get(("https://api.github.com/users/" + login), { headers: headers })
.then(function (response) { return response.data; })
.catch(function (e) { return e; })
return axios.get(("https://api.github.com/users/" + login), { headers: headers })
},

@@ -15,6 +14,3 @@ events: function (login, token) {

if (token) { headers = { Authorization: ("token " + token) }; }
return axios
.get(("https://api.github.com/users/" + login + "/events"), { headers: headers })
.then(function (response) { return response.data; })
.catch(function (e) { return e; })
return axios.get(("https://api.github.com/users/" + login + "/events"), { headers: headers })
}

@@ -32,6 +28,6 @@ };//

events: [],
loading: false,
loading: true,
error: false
}); },
created: function created() {
mounted: function mounted() {
var this$1 = this;

@@ -41,16 +37,10 @@

.user(this.login, this.token)
.then(function (response) {
this$1.user = response;
service
.events(this$1.login, this$1.token)
.then(function (events) {
this$1.loading = false;
this$1.error = false;
this$1.events = events;
})
.catch(function (e) {
console.warn(e);
this$1.loading = false;
this$1.error = true;
});
.then(function (res) {
this$1.user = res;
service.events(this$1.login, this$1.token).then(function (events) {
this$1.loading = false;
this$1.error = false;
this$1.events = events;
this$1.$emit('status', false, null);
});
})

@@ -61,2 +51,3 @@ .catch(function (e) {

this$1.error = true;
this$1.$emit('status', true, e);
});

@@ -201,3 +192,3 @@ }

/* template */
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"feed"},[_vm._ssrNode("<div class=\"header-wrapper\"><div class=\"header\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"35\" height=\"35\" viewBox=\"0 0 16 16\" class=\"github-icon\"><path fill-rule=\"evenodd\" d=\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z\"></path></svg> <a"+(_vm._ssrAttr("href",_vm.user.html_url))+" target=\"_blank\" class=\"github-profile\"><div style=\"font-size: 26px; line-height: 30px\">"+_vm._ssrEscape("\n "+_vm._s(_vm.user.name)+"\n ")+"</div> <div class=\"github-username\">"+_vm._ssrEscape("\n "+_vm._s(_vm.user.login)+"\n ")+"</div></a></div></div> "),_vm._ssrNode("<div class=\"events-wrapper\">","</div>",[_vm._ssrNode("<div class=\"feed-list\">","</div>",[_vm._ssrNode("<div class=\"event-list\">","</div>",_vm._l((_vm.events),function(event){return _vm._ssrNode("<div>","</div>",[(event.type === 'PushEvent')?_c('push-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PullRequestEvent')?_c('pull-request-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CreateEvent')?_c('create-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'WatchEvent')?_c('watch-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'DeleteEvent')?_c('delete-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssuesEvent')?_c('issues-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssueCommentEvent')?_c('issue-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'ForkEvent')?_c('fork-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CommitCommentEvent')?_c('commit-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PublicEvent')?_c('public-event',{attrs:{"event":event}}):_vm._e()],2)}),0)])])],2)};
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"feed"},[_vm._ssrNode("<div class=\"header-wrapper\">","</div>",[(_vm.loading)?_c('skeleton-header-screen',{staticClass:"header"}):_c('div',{staticClass:"header"},[_c('svg',{staticClass:"github-icon",attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"35","height":"35","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","d":"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"}})]),_vm._v(" "),_c('a',{staticClass:"github-profile",attrs:{"href":_vm.user.html_url,"target":"_blank"}},[_c('div',{staticStyle:{"font-size":"26px","line-height":"30px"}},[_vm._v("\n "+_vm._s(_vm.user.name)+"\n ")]),_vm._v(" "),_c('div',{staticClass:"github-username"},[_vm._v("\n "+_vm._s(_vm.user.login)+"\n ")])])])],1),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"events-wrapper\">","</div>",[_vm._ssrNode("<div class=\"feed-list\">","</div>",[(_vm.loading)?_vm._ssrNode("<div class=\"event-list\">","</div>",_vm._l((3),function(i){return _c('skeleton-screen',{key:i})}),1):_vm._ssrNode("<div class=\"event-list\">","</div>",_vm._l((_vm.events),function(event){return _vm._ssrNode("<div>","</div>",[(event.type === 'PushEvent')?_c('push-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PullRequestEvent')?_c('pull-request-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CreateEvent')?_c('create-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'WatchEvent')?_c('watch-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'DeleteEvent')?_c('delete-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssuesEvent')?_c('issues-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'IssueCommentEvent')?_c('issue-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'ForkEvent')?_c('fork-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'CommitCommentEvent')?_c('commit-comment-event',{attrs:{"event":event}}):_vm._e(),_vm._ssrNode(" "),(event.type === 'PublicEvent')?_c('public-event',{attrs:{"event":event}}):_vm._e()],2)}),0)])])],2)};
var __vue_staticRenderFns__ = [];

@@ -208,3 +199,3 @@

if (!inject) { return }
inject("data-v-6a5725f8_0", { source: ".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px) and (-webkit-min-device-pixel-ratio:2){.event-octicon{display:none!important}.github-icon{display:none!important}}", map: undefined, media: undefined });
inject("data-v-a81d5050_0", { source: ".feed{position:relative;display:table;height:500px;min-height:200px;width:100%;min-width:100%;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Arial,sans-serif;font-size:1rem;color:#373a3c}.header-wrapper{display:table-row;height:1px}.header{display:table-cell;top:1px;left:1px;padding:10px;border-bottom:1px solid #ddd}.github-icon{display:inline-flex;float:left;padding:9px 0 0;width:35px;height:35px}.github-username{font-size:20px;font-style:normal;font-weight:300;line-height:24px;color:#666}.github-profile{display:inline-flexbox;float:left;margin:0 auto;padding:6px 10px 5px;color:#495961;font-size:20px;text-decoration:none;margin-left:10px}.github-profile:hover{color:#495961;text-decoration:none}.events-wrapper{height:100%;display:table-row}.feed-list{overflow-y:auto;position:relative;display:table-cell}.event-list{overflow-y:scroll;max-height:500px;width:100%;min-height:100px}.github-event{border-top:1px solid #f1f1f1;padding:1em 0 0;padding:1.5em 0 1.5em 25px}.event-octicon{color:#bbb;fill:#bbb;margin-right:10px}.event-time{display:inline-block;font-size:12px;margin-left:3px;color:#bbb}.event-link{color:#1798d8}.event-link:hover{color:#1798d8}.event-text{font-size:13px}.event-detail{color:#666}@media only screen and (min-device-width:320px) and (max-device-width:480px){.event-octicon{display:none!important}.github-icon{display:none!important}}", map: undefined, media: undefined });

@@ -215,3 +206,3 @@ };

/* module identifier */
var __vue_module_identifier__ = "data-v-6a5725f8";
var __vue_module_identifier__ = "data-v-a81d5050";
/* functional template */

@@ -230,2 +221,90 @@ var __vue_is_functional_template__ = false;

server
);//
//
//
//
//
//
//
//
//
//
//
var script$1 = {
name: 'skeleton-screen'
};/* script */
var __vue_script__$1 = script$1;
/* template */
var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event post"},[_vm._ssrNode("<div class=\"event-octicon avatar\"></div> <div class=\"event-text line\"></div> <ul><li class=\"event-text event-detail line\" style=\"list-style: none\"></li> <li class=\"event-text event-detail line\" style=\"list-style: none\"></li></ul>")])};
var __vue_staticRenderFns__$1 = [];
/* style */
var __vue_inject_styles__$1 = function (inject) {
if (!inject) { return }
inject("data-v-df53a898_0", { source: ".post .avatar[data-v-df53a898]{float:left;width:16px;height:16px;background-color:#ccc;border-radius:25%;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-avatar-data-v-df53a898 1.6s infinite linear}.post .line[data-v-df53a898]{float:left;height:12px;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-lines-data-v-df53a898 1.6s infinite linear}.post .avatar+.line[data-v-df53a898]{display:block;width:50%}.post ul li~.line[data-v-df53a898]{display:block;background-color:#ddd;height:10px;width:40%}@keyframes shine-lines-data-v-df53a898{0%{background-position:100%}100%,40%{background-position:-150%}}@keyframes shine-avatar-data-v-df53a898{0%{background-position:100%}100%,40%{background-position:-150%}}", map: undefined, media: undefined });
};
/* scoped */
var __vue_scope_id__$1 = "data-v-df53a898";
/* module identifier */
var __vue_module_identifier__$1 = "data-v-df53a898";
/* functional template */
var __vue_is_functional_template__$1 = false;
var SkeletonScreen = normalizeComponent_1(
{ render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
__vue_inject_styles__$1,
__vue_script__$1,
__vue_scope_id__$1,
__vue_is_functional_template__$1,
__vue_module_identifier__$1,
undefined,
server
);//
//
//
//
//
//
//
//
//
//
//
var script$2 = {
name: 'skeleton-header-screen'
};/* script */
var __vue_script__$2 = script$2;
/* template */
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"skeleton-header"},[_vm._ssrNode("<div class=\"event-octicon avatar\"></div> <div class=\"event-text line\"></div> <br> <ul><li class=\"event-text event-detail line\" style=\"list-style: none\"></li></ul>")])};
var __vue_staticRenderFns__$2 = [];
/* style */
var __vue_inject_styles__$2 = function (inject) {
if (!inject) { return }
inject("data-v-b23b839c_0", { source: ".skeleton-header .avatar[data-v-b23b839c]{float:left;width:35px;height:35px;background-color:#ccc;border-radius:100%;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-avatar-data-v-b23b839c 1.6s infinite linear}.skeleton-header .line[data-v-b23b839c]{float:left;background-image:linear-gradient(90deg,#ddd 0,#e8e8e8 40px,#ddd 80px);background-size:600px;animation:shine-lines-data-v-b23b839c 1.6s infinite linear}.skeleton-header .avatar+.line[data-v-b23b839c]{height:26px;display:block;width:50%}.skeleton-header ul li~.line[data-v-b23b839c]{display:block;background-color:#ddd;height:10px;width:40%}@keyframes shine-lines-data-v-b23b839c{0%{background-position:100%}100%,40%{background-position:-150%}}@keyframes shine-avatar-data-v-b23b839c{0%{background-position:100%}100%,40%{background-position:-150%}}", map: undefined, media: undefined });
};
/* scoped */
var __vue_scope_id__$2 = "data-v-b23b839c";
/* module identifier */
var __vue_module_identifier__$2 = "data-v-b23b839c";
/* functional template */
var __vue_is_functional_template__$2 = false;
var SkeletonHeaderScreen = normalizeComponent_1(
{ render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
__vue_inject_styles__$2,
__vue_script__$2,
__vue_scope_id__$2,
__vue_is_functional_template__$2,
__vue_module_identifier__$2,
undefined,
server
);var MIN = 60e3;

@@ -284,11 +363,7 @@ var HOUR = MIN * 60;

var hash = function (sha) {
return sha.substr(sha.length - 6)
};
var hash = function (sha) { return sha.substr(sha.length - 6); };
var branch = function (ref) {
return ref.replace('refs/heads/', '')
};//
var branch = function (ref) { return ref.replace('refs/heads/', ''); };//
var script$1 = {
var script$3 = {
name: 'push-event',

@@ -304,93 +379,6 @@ props: {

};/* script */
var __vue_script__$1 = script$1;
/* template */
var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n pushed to\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/tree/' + _vm.branch(_vm.event.payload.ref)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.branch(_vm.event.payload.ref)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul>"+(_vm._ssrList((_vm.event.payload.commits),function(commit){return ("<li class=\"event-text event-detail\" style=\"list-style: none\"><a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + commit.sha))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.hash(commit.sha)))+"</a>"+_vm._ssrEscape("\n "+_vm._s(commit.message)+"\n ")+"</li>")}))+"</ul>")])};
var __vue_staticRenderFns__$1 = [];
/* style */
var __vue_inject_styles__$1 = undefined;
/* scoped */
var __vue_scope_id__$1 = undefined;
/* module identifier */
var __vue_module_identifier__$1 = "data-v-28cf7da8";
/* functional template */
var __vue_is_functional_template__$1 = false;
/* style inject */
/* style inject SSR */
var PushEvent = normalizeComponent_1(
{ render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
__vue_inject_styles__$1,
__vue_script__$1,
__vue_scope_id__$1,
__vue_is_functional_template__$1,
__vue_module_identifier__$1,
undefined,
undefined
);//
var script$2 = {
name: 'pull-request-event',
props: {
event: { required: true }
},
methods: {
fromNow: fromNow
}
};/* script */
var __vue_script__$2 = script$2;
/* template */
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" pull request")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.pull_request.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+((_vm.event.payload.pull_request.merged)?("<b>[MERGED]</b>"):"<!---->")+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.pull_request.title)+"\n ")+"</li></ul>")])};
var __vue_staticRenderFns__$2 = [];
/* style */
var __vue_inject_styles__$2 = undefined;
/* scoped */
var __vue_scope_id__$2 = undefined;
/* module identifier */
var __vue_module_identifier__$2 = "data-v-844fb8da";
/* functional template */
var __vue_is_functional_template__$2 = false;
/* style inject */
/* style inject SSR */
var PullRequestEvent = normalizeComponent_1(
{ render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
__vue_inject_styles__$2,
__vue_script__$2,
__vue_scope_id__$2,
__vue_is_functional_template__$2,
__vue_module_identifier__$2,
undefined,
undefined
);//
var script$3 = {
name: 'create-event',
props: {
event: { required: true }
},
methods: {
fromNow: fromNow,
link: function link(event) {
if (event.payload.ref_type === 'branch') {
return 'https://github.com/' + event.repo.name + '/tree/' + event.payload.ref
} else {
return 'https://github.com/' + event.repo.name + '/releases/tag/' + event.payload.ref
}
}
}
};/* script */
var __vue_script__$3 = script$3;
/* template */
var __vue_render__$3 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode(((_vm.event.payload.ref_type === 'repository')?("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z\"></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 10 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg>"))+" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n created "+_vm._s(_vm.event.payload.ref_type)+"\n ")+((_vm.event.payload.ref_type !== 'repository')?("<span><a"+(_vm._ssrAttr("href",_vm.link(_vm.event)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a>\n at</span>"):"<!---->")+" <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$3 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n pushed to\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/tree/' + _vm.branch(_vm.event.payload.ref)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.branch(_vm.event.payload.ref)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul>"+(_vm._ssrList((_vm.event.payload.commits),function(commit){return ("<li class=\"event-text event-detail\" style=\"list-style: none\"><a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + commit.sha))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.hash(commit.sha)))+"</a>"+_vm._ssrEscape("\n "+_vm._s(commit.message)+"\n ")+"</li>")}))+"</ul>")])};
var __vue_staticRenderFns__$3 = [];

@@ -403,3 +391,3 @@

/* module identifier */
var __vue_module_identifier__$3 = "data-v-bdac5782";
var __vue_module_identifier__$3 = "data-v-28cf7da8";
/* functional template */

@@ -413,3 +401,3 @@ var __vue_is_functional_template__$3 = false;

var CreateEvent = normalizeComponent_1(
var PushEvent = normalizeComponent_1(
{ render: __vue_render__$3, staticRenderFns: __vue_staticRenderFns__$3 },

@@ -426,3 +414,3 @@ __vue_inject_styles__$3,

var script$4 = {
name: 'delete-event',
name: 'pull-request-event',
props: {

@@ -438,3 +426,3 @@ event: { required: true }

/* template */
var __vue_render__$4 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n deleted "+_vm._s(_vm.event.payload.ref_type)+"\n ")+"<a href=\"#\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a> at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$4 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" pull request")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.pull_request.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+((_vm.event.payload.pull_request.merged)?("<b>[MERGED]</b>"):"<!---->")+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.pull_request.title)+"\n ")+"</li></ul>")])};
var __vue_staticRenderFns__$4 = [];

@@ -447,3 +435,3 @@

/* module identifier */
var __vue_module_identifier__$4 = "data-v-e73a7c6a";
var __vue_module_identifier__$4 = "data-v-844fb8da";
/* functional template */

@@ -457,3 +445,3 @@ var __vue_is_functional_template__$4 = false;

var DeleteEvent = normalizeComponent_1(
var PullRequestEvent = normalizeComponent_1(
{ render: __vue_render__$4, staticRenderFns: __vue_staticRenderFns__$4 },

@@ -470,3 +458,3 @@ __vue_inject_styles__$4,

var script$5 = {
name: 'watch-event',
name: 'create-event',
props: {

@@ -476,3 +464,10 @@ event: { required: true }

methods: {
fromNow: fromNow
fromNow: fromNow,
link: function link(event) {
if (event.payload.ref_type === 'branch') {
return 'https://github.com/' + event.repo.name + '/tree/' + event.payload.ref
} else {
return 'https://github.com/' + event.repo.name + '/releases/tag/' + event.payload.ref
}
}
}

@@ -483,3 +478,3 @@ };/* script */

/* template */
var __vue_render__$5 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 14 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n starred\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$5 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode(((_vm.event.payload.ref_type === 'repository')?("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z\"></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 10 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg>"))+" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n created "+_vm._s(_vm.event.payload.ref_type)+"\n ")+((_vm.event.payload.ref_type !== 'repository')?("<span><a"+(_vm._ssrAttr("href",_vm.link(_vm.event)))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a>\n at</span>"):"<!---->")+" <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$5 = [];

@@ -492,3 +487,3 @@

/* module identifier */
var __vue_module_identifier__$5 = "data-v-4ba90b32";
var __vue_module_identifier__$5 = "data-v-bdac5782";
/* functional template */

@@ -502,3 +497,3 @@ var __vue_is_functional_template__$5 = false;

var WatchEvent = normalizeComponent_1(
var CreateEvent = normalizeComponent_1(
{ render: __vue_render__$5, staticRenderFns: __vue_staticRenderFns__$5 },

@@ -515,3 +510,3 @@ __vue_inject_styles__$5,

var script$6 = {
name: 'issues-event',
name: 'delete-event',
props: {

@@ -527,3 +522,3 @@ event: { required: true }

/* template */
var __vue_render__$6 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode(((_vm.event.payload.action === 'opened')?("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 14 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z\"></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z\"></path></svg>"))+" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" issue\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.issue.title)+"\n ")+"</li></ul>")])};
var __vue_render__$6 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 12 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n deleted "+_vm._s(_vm.event.payload.ref_type)+"\n ")+"<a href=\"#\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.ref))+"</a> at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$6 = [];

@@ -536,3 +531,3 @@

/* module identifier */
var __vue_module_identifier__$6 = "data-v-c8871f1c";
var __vue_module_identifier__$6 = "data-v-e73a7c6a";
/* functional template */

@@ -546,3 +541,3 @@ var __vue_is_functional_template__$6 = false;

var IssuesEvent = normalizeComponent_1(
var DeleteEvent = normalizeComponent_1(
{ render: __vue_render__$6, staticRenderFns: __vue_staticRenderFns__$6 },

@@ -559,3 +554,3 @@ __vue_inject_styles__$6,

var script$7 = {
name: 'issue-comment-event',
name: 'watch-event',
props: {

@@ -571,3 +566,3 @@ event: { required: true }

/* template */
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>"+_vm._ssrEscape("\n on "+_vm._s(_vm.event.payload.issue.pull_request ? 'pull request' : 'issue')+"\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 14 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n starred\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$7 = [];

@@ -580,3 +575,3 @@

/* module identifier */
var __vue_module_identifier__$7 = "data-v-7cdfed8c";
var __vue_module_identifier__$7 = "data-v-4ba90b32";
/* functional template */

@@ -590,3 +585,3 @@ var __vue_is_functional_template__$7 = false;

var IssueCommentEvent = normalizeComponent_1(
var WatchEvent = normalizeComponent_1(
{ render: __vue_render__$7, staticRenderFns: __vue_staticRenderFns__$7 },

@@ -603,3 +598,3 @@ __vue_inject_styles__$7,

var script$8 = {
name: 'fork-event',
name: 'issues-event',
props: {

@@ -615,3 +610,3 @@ event: { required: true }

/* template */
var __vue_render__$8 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 10 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n forked\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a>\n to\n <a"+(_vm._ssrAttr("href",_vm.event.payload.forkee.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.forkee.full_name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$8 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode(((_vm.event.payload.action === 'opened')?("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 14 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z\"></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z\"></path></svg>"))+" "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.action)+" issue\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->")+" <ul><li class=\"event-text event-detail\" style=\"list-style: none\">"+_vm._ssrEscape("\n "+_vm._s(_vm.event.payload.issue.title)+"\n ")+"</li></ul>")])};
var __vue_staticRenderFns__$8 = [];

@@ -624,3 +619,3 @@

/* module identifier */
var __vue_module_identifier__$8 = "data-v-7e1b7c8f";
var __vue_module_identifier__$8 = "data-v-c8871f1c";
/* functional template */

@@ -634,3 +629,3 @@ var __vue_is_functional_template__$8 = false;

var ForkEvent = normalizeComponent_1(
var IssuesEvent = normalizeComponent_1(
{ render: __vue_render__$8, staticRenderFns: __vue_staticRenderFns__$8 },

@@ -647,3 +642,3 @@ __vue_inject_styles__$8,

var script$9 = {
name: 'commit-comment-event',
name: 'issue-comment-event',
props: {

@@ -653,4 +648,3 @@ event: { required: true }

methods: {
fromNow: fromNow,
hash: hash
fromNow: fromNow
}

@@ -661,3 +655,3 @@ };/* script */

/* template */
var __vue_render__$9 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>\n on commit\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + _vm.event.payload.comment.commit_id))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n "+_vm._s(_vm.hash(_vm.event.payload.comment.commit_id)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$9 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>"+_vm._ssrEscape("\n on "+_vm._s(_vm.event.payload.issue.pull_request ? 'pull request' : 'issue')+"\n ")+"<a"+(_vm._ssrAttr("href",_vm.event.payload.issue.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n #"+_vm._s(_vm.event.payload.issue.number))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$9 = [];

@@ -670,3 +664,3 @@

/* module identifier */
var __vue_module_identifier__$9 = "data-v-71c27444";
var __vue_module_identifier__$9 = "data-v-7cdfed8c";
/* functional template */

@@ -680,3 +674,3 @@ var __vue_is_functional_template__$9 = false;

var CommitCommentEvent = normalizeComponent_1(
var IssueCommentEvent = normalizeComponent_1(
{ render: __vue_render__$9, staticRenderFns: __vue_staticRenderFns__$9 },

@@ -693,3 +687,3 @@ __vue_inject_styles__$9,

var script$a = {
name: 'public-event',
name: 'fork-event',
props: {

@@ -705,3 +699,3 @@ event: { required: true }

/* template */
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n open sourced\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 10 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n forked\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a>\n to\n <a"+(_vm._ssrAttr("href",_vm.event.payload.forkee.html_url))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.payload.forkee.full_name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$a = [];

@@ -714,3 +708,3 @@

/* module identifier */
var __vue_module_identifier__$a = "data-v-40b16c12";
var __vue_module_identifier__$a = "data-v-7e1b7c8f";
/* functional template */

@@ -724,3 +718,3 @@ var __vue_is_functional_template__$a = false;

var PublicEvent = normalizeComponent_1(
var ForkEvent = normalizeComponent_1(
{ render: __vue_render__$a, staticRenderFns: __vue_staticRenderFns__$a },

@@ -734,2 +728,83 @@ __vue_inject_styles__$a,

undefined
);//
var script$b = {
name: 'commit-comment-event',
props: {
event: { required: true }
},
methods: {
fromNow: fromNow,
hash: hash
}
};/* script */
var __vue_script__$b = script$b;
/* template */
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event",staticStyle:{"padding-bottom":"0.5em !important"}},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b><a"+(_vm._ssrAttr("href",_vm.event.payload.comment.html_url))+" target=\"_blank\" class=\"event-link\">\n commented\n </a>\n on commit\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name + '/commit/' + _vm.event.payload.comment.commit_id))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape("\n "+_vm._s(_vm.hash(_vm.event.payload.comment.commit_id)))+"</a>\n at\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$b = [];
/* style */
var __vue_inject_styles__$b = undefined;
/* scoped */
var __vue_scope_id__$b = undefined;
/* module identifier */
var __vue_module_identifier__$b = "data-v-71c27444";
/* functional template */
var __vue_is_functional_template__$b = false;
/* style inject */
/* style inject SSR */
var CommitCommentEvent = normalizeComponent_1(
{ render: __vue_render__$b, staticRenderFns: __vue_staticRenderFns__$b },
__vue_inject_styles__$b,
__vue_script__$b,
__vue_scope_id__$b,
__vue_is_functional_template__$b,
__vue_module_identifier__$b,
undefined,
undefined
);//
var script$c = {
name: 'public-event',
props: {
event: { required: true }
},
methods: {
fromNow: fromNow
}
};/* script */
var __vue_script__$c = script$c;
/* template */
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"github-event"},[_vm._ssrNode("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"event-octicon\"><path fill-rule=\"evenodd\" d=\"M4.79 6.11c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.33.52a.651.651 0 0 0-.92 0C.48 1.48.01 2.74.01 3.99c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1A1.62 1.62 0 1 0 6.4 4c-.01.89.72 1.62 1.62 1.62zM14.59.53a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.59.53zM8.02 6.92c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.21 6.62c-.38.2-.78.3-1.19.3zm-.01.48L9.02 11h-2l.99-3.6zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z\"></path></svg> "+((_vm.event)?("<div class=\"event-text\" style=\"display: inline-block;\"><a style=\"text-transform: capitalize;\">"+_vm._ssrEscape(_vm._s(_vm.event.actor.login))+"</a> <b>\n open sourced\n <a"+(_vm._ssrAttr("href",'https://github.com/' + _vm.event.repo.name))+" target=\"_blank\" class=\"event-link\">"+_vm._ssrEscape(_vm._s(_vm.event.repo.name))+"</a></b></div>"):"<!---->")+" "+((_vm.event)?("<div class=\"event-time\">"+_vm._ssrEscape("\n "+_vm._s(_vm.fromNow(_vm.event.created_at))+"\n ")+"</div>"):"<!---->"))])};
var __vue_staticRenderFns__$c = [];
/* style */
var __vue_inject_styles__$c = undefined;
/* scoped */
var __vue_scope_id__$c = undefined;
/* module identifier */
var __vue_module_identifier__$c = "data-v-40b16c12";
/* functional template */
var __vue_is_functional_template__$c = false;
/* style inject */
/* style inject SSR */
var PublicEvent = normalizeComponent_1(
{ render: __vue_render__$c, staticRenderFns: __vue_staticRenderFns__$c },
__vue_inject_styles__$c,
__vue_script__$c,
__vue_scope_id__$c,
__vue_is_functional_template__$c,
__vue_module_identifier__$c,
undefined,
undefined
);function install(Vue) {

@@ -749,2 +824,4 @@ if (install.installed) { return }

Vue.component('public-event', PublicEvent);
Vue.component('skeleton-screen', SkeletonScreen);
Vue.component('skeleton-header-screen', SkeletonHeaderScreen);
}

@@ -764,2 +841,2 @@

GlobalVue.use(plugin);
}exports.CommitCommentEvent=CommitCommentEvent;exports.CreateEvent=CreateEvent;exports.DeleteEvent=DeleteEvent;exports.ForkEvent=ForkEvent;exports.GithubFeed=GithubFeed;exports.IssueCommentEvent=IssueCommentEvent;exports.IssuesEvent=IssuesEvent;exports.PublicEvent=PublicEvent;exports.PullRequestEvent=PullRequestEvent;exports.PushEvent=PushEvent;exports.WatchEvent=WatchEvent;exports.default=plugin;
}exports.CommitCommentEvent=CommitCommentEvent;exports.CreateEvent=CreateEvent;exports.DeleteEvent=DeleteEvent;exports.ForkEvent=ForkEvent;exports.GithubFeed=GithubFeed;exports.IssueCommentEvent=IssueCommentEvent;exports.IssuesEvent=IssuesEvent;exports.PublicEvent=PublicEvent;exports.PullRequestEvent=PullRequestEvent;exports.PushEvent=PushEvent;exports.SkeletonHeaderScreen=SkeletonHeaderScreen;exports.SkeletonScreen=SkeletonScreen;exports.WatchEvent=WatchEvent;exports.default=plugin;
{
"name": "v-github-activity",
"version": "2.0.0",
"version": "2.1.0",
"description": "Componente Vue para mostrar la actividad reciente de github",

@@ -37,3 +37,5 @@ "author": "amaury.tobiasqr@gmail.com",

"build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife",
"prepare": "npm run build"
"prepare": "npm run build",
"docs:build": "cross-env DEPLOY_ENV=GH_PAGES vuepress build docs",
"docs:dev": "vuepress dev docs"
},

@@ -50,2 +52,3 @@ "peerDependencies": {

"@vue/test-utils": "1.0.0-beta.29",
"@vuepress/plugin-register-components": "^1.1.0",
"babel-eslint": "^10.0.3",

@@ -55,3 +58,3 @@ "chai": "^4.2.0",

"eslint": "^6.4.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.2.3",

@@ -67,3 +70,4 @@ "minimist": "^1.2.0",

"vue": "^2.6.10",
"vue-template-compiler": "^2.6.10"
"vue-template-compiler": "^2.6.10",
"vuepress": "^1.1.0"
},

@@ -70,0 +74,0 @@ "dependencies": {

import GithubFeed from './components/GithubFeed.vue'
import SkeletonScreen from './components/SkeletonScreen.vue'
import SkeletonHeaderScreen from './components/SkeletonHeaderScreen.vue'
import PushEvent from './components/events/PushEvent.vue'

@@ -27,2 +30,4 @@ import PullRequestEvent from './components/events/PullRequestEvent.vue'

Vue.component('public-event', PublicEvent)
Vue.component('skeleton-screen', SkeletonScreen)
Vue.component('skeleton-header-screen', SkeletonHeaderScreen)
}

@@ -55,5 +60,7 @@

CommitCommentEvent,
PublicEvent
PublicEvent,
SkeletonScreen,
SkeletonHeaderScreen
}
export default plugin
'use strict'
import axios from 'axios'
axios.interceptors.response.use(response => response.data, error => Promise.reject(error))

@@ -9,6 +10,3 @@ export default {

return axios
.get(`https://api.github.com/users/${login}`, { headers })
.then(response => response.data)
.catch(e => e)
return axios.get(`https://api.github.com/users/${login}`, { headers })
},

@@ -18,7 +16,4 @@ events: (login, token) => {

if (token) headers = { Authorization: `token ${token}` }
return axios
.get(`https://api.github.com/users/${login}/events`, { headers })
.then(response => response.data)
.catch(e => e)
return axios.get(`https://api.github.com/users/${login}/events`, { headers })
}
}

@@ -56,10 +56,6 @@ 'use strict'

const hash = sha => {
return sha.substr(sha.length - 6)
}
const hash = sha => sha.substr(sha.length - 6)
const branch = ref => {
return ref.replace('refs/heads/', '')
}
const branch = ref => ref.replace('refs/heads/', '')
export { fromNow, hash, branch }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc