text: (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{283:function(t,e,n){},285:function(t,e,n){"use strict";var r=n(283);n.n(r).a},286:function(t,e,n){},287:function(t,e,n){},292:function(t,e,n){"use strict";n(138);var r={props:["items","allitems"],data:function(){return{currentPage:null,pageNumbers:[],pageNumberCount:0,items2:[],query:1,busy:!1,count:0}},methods:{loadMore:function(){if(this.count=this.offset,this.total>this.count&&0==this.busy){this.busy=!0,this.items2.splice(0);for(var i=0;i<2;i++){var t=this.allitems[this.count];this.items2.push(t),this.count++}this.busy=!1}},onResize:function(t){this.navHeight()},navHeight:function(){var t=document.getElementById("navbar").clientHeight;this.$store.commit("SET_NAVHEIGHT",t-1)}},watch:{$route:function(t){t.params,t.query;this.$route.query.page>1?(this.loadMore(),this.navHeight()):null==this.$route.query.page?(this.$route.query.page=1,this.loadMore(),this.navHeight()):(this.loadMore(),this.navHeight())},queryParam:function(){this.loadMore()}},computed:{offset:function(){return this.queryParam>1?2*Number(this.queryParam-1):0},prevpage:function(){return Number(this.queryParam)-1},nextpage:function(){return Number(this.queryParam)+1},navbarheight:function(){return this.$store.state.navheight},total:function(){return this.allitems.length},queryParam:function(){return null==this.$route.query.page?1:Number(this.$route.query.page)},blogPosts:function(){return this.$store.state.blogPosts}},updated:function(){var t=this;this.$nextTick((function(){t.navHeight(),t.$store.commit("SET_GRIDOFFSET",t.offset)}))},mounted:function(){var t=this;this.loadMore(),this.$nextTick((function(){t.navHeight(),window.addEventListener("resize",t.onResize)}))},beforeDestroy:function(){window.removeEventListener("resize",this.onResize)}},l=(n(285),n(8)),component=Object(l.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{},[n("div",{style:"margin-top:"+t.navbarheight+"px;"},[n("div",{staticClass:"col xs-col-12 md-col-9"},t._l(t.items2,(function(p,e){return t.items2[e]?n("div",{key:p.pi,staticClass:"xs-border xs-p3",style:"height:calc(50vh - 0px);"},[n("div",{staticClass:"item xs-block xs-flex xs-relative xs-flex-align-start xs-flex-justify-end xs-text-left"},[n("div",{staticClass:"xs-text-left xs-flex xs-flex-justify-end xs-flex-align-end xs-width-auto"},[n("div",{staticClass:"full-bg-link"},[n("nuxt-link",{staticClass:"xs-text-10",attrs:{to:p._path}},[t._v(t._s(p.title))]),t._v(" "),n("span",{staticClass:"xs-text-8"},[t._v("| "+t._s(p.category))])],1)]),t._v(" "),n("nuxt-link",{attrs:{to:p._path}},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:p.thumbnail,expression:"p.thumbnail"}],key:p.thumbnail,staticClass:"full-bg-image"}),t._v(" "),p.thumbnail?t._e():n("div",{staticClass:"full-bg-color"})])],1)]):t._e()})),0),t._v(" "),n("aside",{staticClass:"col xs-col-12 md-col-3 xs-p2"},[n("h3",{staticClass:"secondary-title xs-pb2"},[t._v("All Posts")]),t._v(" "),n("ul",{staticClass:"list-unstyled"},t._l(t.blogPosts,(function(e,i){return n("li",{key:"pg-"+i,staticClass:"zap-slideout-menu-item--small"},[n("nuxt-link",{attrs:{to:e._path}},[t._v(t._s(e.title))])],1)})),0)])])])}),[],!1,null,null,null);e.a=component.exports},294:function(t,e,n){"use strict";var r=n(286);n.n(r).a},295:function(t,e,n){"use strict";var r=n(287);n.n(r).a},305:function(t,e,n){"use strict";n.r(e);var r=n(292),l={data:function(){return{}},methods:{},computed:{shirt:function(){return this.$store.state.shirt}}},o=(n(294),n(8)),c=Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"clearfix"},[t._m(0),t._v(" "),n("div",{staticClass:"col xs-col-12 md-col-6 xs-p4 xs-flex-grow-1"},[n("h3",{staticClass:"xs-py3 main-title"},[t._v(t._s(t.shirt.title))]),t._v(" "),n("p",[t._v(t._s(t.shirt.body))]),t._v(" "),n("button",{staticClass:"button xs-my3"},[t._v(t._s(t.shirt.button))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col xs-col-12 md-col-6"},[e("img",{attrs:{src:"https://generative-placeholders.glitch.me/image?width=500&height=300&colors=61"}})])}],!1,null,"bacf421a",null).exports,h={watchQuery:["page"],transition:function(t,e){return e?+t.query.page>+e.query.page?"slide-right":"slide-left":"fade"},name:"Index",components:{FullGrid:r.a,Shirt:c},data:function(){return{}},methods:{},computed:{allBlogPosts:function(){return this.$store.state.blogPosts}}},d=(n(295),Object(o.a)(h,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("FullGrid",{attrs:{allitems:this.allBlogPosts}}),this._v(" "),e("hr"),this._v(" "),e("div",{staticClass:"embedsocial-instagram xs-pt1",attrs:{"data-ref":"452ee8ee5ab56640156aabd2b7d5a90a295430df"}}),this._v(" "),e("script",[this._v('\n(function(d, s, id) {\n  var js;\n  if (d.getElementById(id)) {\n    return;\n  }\n  js = d.createElement(s);\n  js.id = id;\n  js.src = "https://embedsocial.com/embedscript/in.js";\n  d.getElementsByTagName("head")[0].appendChild(js);\n})(document, "script", "EmbedSocialInstagramScript");\n  ')]),this._v(" "),e("Shirt")],1)}),[],!1,null,null,null));e.default=d.exports}}]);