(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-221d9713"],{"32c7":function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"card",class:t.item.class},[e("a",{attrs:{href:t.item.url,target:t.item.target,rel:"noreferrer"}},[e("div",{staticClass:"card-content"},[e("div",{staticClass:"media"},[t.item.logo?e("div",{staticClass:"media-left"},[e("figure",{staticClass:"image is-48x48"},[e("img",{attrs:{src:t.item.logo,alt:t.item.name+" logo"}})])]):t._e(),t.item.icon?e("div",{staticClass:"media-left"},[e("figure",{staticClass:"image is-48x48"},[e("i",{class:["fa-fw",t.item.icon],staticStyle:{"font-size":"35px"}})])]):t._e(),e("div",{staticClass:"media-content"},[e("p",{staticClass:"title is-4"},[t._v(t._s(t.item.name))]),e("p",{staticClass:"subtitle is-6"},[t.item.subtitle?[t._v(" "+t._s(t.item.subtitle)+" ")]:t._e()],2)]),t.status?e("div",{staticClass:"status",class:t.status},[t._v(" "+t._s(t.status)+" ")]):t._e()]),t.item.tag?e("div",{staticClass:"tag",class:t.item.tagstyle},[e("strong",{staticClass:"tag-text"},[t._v("#"+t._s(t.item.tag))])]):t._e()])])])])},i=[],c=e("1da1"),n=(e("96cf"),e("d3b7"),{name:"Ping",props:{item:Object},data:function(){return{status:null}},created:function(){this.fetchStatus()},methods:{fetchStatus:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(){var s,e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s="".concat(this.item.url),fetch(s,{method:"HEAD",cache:"no-cache",credentials:"include"}).then((function(t){if(!t.ok)throw Error(t.statusText);e.status="online"})).catch((function(){e.status="offline"}));case 2:case"end":return t.stop()}}),t,this)})));function s(){return t.apply(this,arguments)}return s}()}}),r=n,l=(e("ab04"),e("2877")),u=Object(l["a"])(r,a,i,!1,null,"586faa04",null);s["default"]=u.exports},ab04:function(t,s,e){"use strict";e("cecc")},cecc:function(t,s,e){}}]);
//# sourceMappingURL=chunk-221d9713.77b24586.js.map