(window.webpackJsonp=window.webpackJsonp||[]).push([[10,21],{472:function(t,e,r){var content=r(475);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(14).default)("40e94157",content,!0,{sourceMap:!1})},474:function(t,e,r){"use strict";r(472)},475:function(t,e,r){var n=r(13)(!1);n.push([t.i,".project-list__tab{padding-top:1rem;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-gap:1.25rem;gap:1.25rem}.project-list__tabs{border:none}.project-list__tabs .w-tabs__bar{display:none}.project-list__tabs .w-tabs__content{padding:0}.project-list__pagination{margin-top:1rem}.project-list .project-tile{grid-column:span 12/span 12}@media(min-width:901px){.project-list .project-tile{grid-column:span 6/span 6}}@media(min-width:1201px){.project-list .project-tile{grid-column:span 3/span 3}}",""]),t.exports=n},476:function(t,e,r){"use strict";r.r(e);r(101),r(40);var n=r(18),o=r(0).a.extend({name:"ProjectList",props:{projects:{type:Array,required:!0},rows:{type:Number,required:!0}},data:function(){return{currentPage:0}},computed:{projectsPerPage:function(){return 4*this.rows},pageCount:function(){return Math.ceil(this.projects.length/this.projectsPerPage)},pageContents:function(){return Object(n.chunk)(this.projects,this.projectsPerPage).map((function(t){return{title:"Bruh",content:t}}))}},methods:{openPage:function(t){this.$refs.tabs.openTab({_index:t})}}}),c=(r(474),r(2)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"project-list"},[t.projects.length?r("w-tabs",{ref:"tabs",staticClass:"project-list__tabs",attrs:{items:t.pageContents},scopedSlots:t._u([{key:"item-content",fn:function(e){var n=e.item;return[r("div",{staticClass:"project-list__tab"},t._l(n.content,(function(t){return r("ProjectTile",{key:t.id,attrs:{project:t}})})),1)]}}]),model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}}):r("div",{staticClass:"project-list__empty"},[t._t("empty")],2),t._v(" "),t.projects.length>t.projectsPerPage?r("VindiPagination",{staticClass:"project-list__pagination",attrs:{value:t.currentPage,total:t.pageCount,visible:5},on:{input:t.openPage}}):t._e()],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ProjectTile:r(274).default,VindiPagination:r(273).default})},499:function(t,e,r){var content=r(524);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(14).default)("da602836",content,!0,{sourceMap:!1})},523:function(t,e,r){"use strict";r(499)},524:function(t,e,r){var n=r(13)(!1);n.push([t.i,".starred-projects{margin-bottom:3.5rem}",""]),t.exports=n},562:function(t,e,r){"use strict";r.r(e);var n=r(0).a.extend({name:"StarredProjects",props:{starred:{type:Array,required:!0}}}),o=(r(523),r(2)),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("section",{staticClass:"starred-projects"},[r("VindiTitle",{attrs:{icon:"mdi mdi-star"}},[t._v("\n\t\t"+t._s(t.$t("HOMEPAGE_SECTION_STARRED"))+"\n\t")]),t._v(" "),r("ProjectTileList",{attrs:{projects:t.starred,rows:1}})],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{VindiTitle:r(272).default,ProjectTileList:r(476).default})}}]);