(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-07c4f949"],{"0333":function(t,a,e){},1236:function(t,a,e){"use strict";var r=e("0333"),n=e.n(r);n.a},4949:function(t,a,e){"use strict";e.r(a);var r=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("layout",[e("header-no-carousel"),e("ExtraMaterials")],1)},n=[],i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("b-row",[t.materials.length>0&&!t.loading?e("b-col",{attrs:{md:"12"}},t._l(t.materialsList,(function(a){return e("b-row",{key:a.id,staticClass:"material-list"},[e("a",{attrs:{href:a.attachment_url,target:"_blank"}},[e("b-col",{staticClass:"text-center",attrs:{md:"12"}},[t._v(" "+t._s(a.title)+" ")])],1)])})),1):t._e(),0!=t.materials.length||t.loading?t._e():e("b-col",{attrs:{md:"12"}},[e("b-alert",{attrs:{show:"",variant:"warning"}},[t._v("Não há material para download")])],1),t.loading?e("b-col",{attrs:{md:"12"}},[e("b-spinner",{attrs:{type:"grow",label:"Loading..."}})],1):t._e()],1)},o=[],s=(e("ac1f"),e("841c"),e("5717")),c=s["a"].build(),l={data:function(){return{materials:[],loading:!1}},computed:{materialsList:function(){return this.materials}},methods:{search:function(){this.loading=!0;var t=this;c.search({has_attachment:!0}).then((function(a){t.loading=!1,t.materials=a})).catch((function(a){t.$fire({title:"Erro ao buscar Materiais",icon:"error"}),t.loading=!1}))}},mounted:function(){this.search()}},u=l,f=(e("1236"),e("2877")),d=Object(f["a"])(u,i,o,!1,null,"4052f841",null),h=d.exports,m=e("f21f"),b={components:{ExtraMaterials:h,Layout:m["a"]}},p=b,_=Object(f["a"])(p,r,n,!1,null,null,null);a["default"]=_.exports},5717:function(t,a,e){"use strict";e.d(a,"a",(function(){return c}));var r=e("d4ec"),n=e("262e"),i=e("2caf"),o=e("ade3"),s=e("9d56"),c=function(t){Object(n["a"])(e,t);var a=Object(i["a"])(e);function e(){return Object(r["a"])(this,e),a.apply(this,arguments)}return e}(s["a"]);Object(o["a"])(c,"resource","/support-material")},f21f:function(t,a,e){"use strict";var r=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("nav-bar",{attrs:{id:"nav"}}),e("b-container",{attrs:{id:"container-no-carousel"}},[t._t("default")],2),e("custom-footer",{attrs:{id:"footer"}})],1)},n=[],i=e("bde8"),o=e("9fe9"),s={components:{NavBar:i["a"],CustomFooter:o["a"]}},c=s,l=e("2877"),u=Object(l["a"])(c,r,n,!1,null,null,null);a["a"]=u.exports}}]);
//# sourceMappingURL=chunk-07c4f949.808b185c.js.map