(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-050020bc"],{"36fc":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("layout",[a("header-no-carousel"),a("VideoMaterials")],1)},r=[],i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("b-row",[t.materials.length>0&&!t.loading?a("b-col",{attrs:{md:"12"}},t._l(t.materialsList,(function(e){return a("b-row",{key:e.id,staticClass:"material-list"},[a("b-col",{staticClass:"text-center",attrs:{md:"12"}},[a("p",{staticClass:"text-center"},[t._v(t._s(e.title))]),a("div",{domProps:{innerHTML:t._s(e.embed)}}),a("p",{staticClass:"text-center"},[t._v(" "+t._s(e.description)+" ")])])],1)})),1):t._e(),0!=t.materials.length||t.loading?t._e():a("b-col",{attrs:{md:"12"}},[a("b-alert",{attrs:{show:"",variant:"warning"}},[t._v("Não há vídeos para exibir")])],1),t.loading?a("b-col",{attrs:{md:"12"}},[a("b-spinner",{attrs:{type:"grow",label:"Loading..."}})],1):t._e()],1)},s=[],o=(a("ac1f"),a("841c"),a("5717")),c=o["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_embed:!0}).then((function(e){t.loading=!1,t.materials=e})).catch((function(e){t.$fire({title:"Erro ao buscar Materiais",icon:"error"}),t.loading=!1}))}},mounted:function(){this.search()}},u=l,d=(a("4985"),a("2877")),f=Object(d["a"])(u,i,s,!1,null,"25cfd35e",null),b=f.exports,m=a("f21f"),h={components:{VideoMaterials:b,Layout:m["a"]}},p=h,v=Object(d["a"])(p,n,r,!1,null,null,null);e["default"]=v.exports},4985:function(t,e,a){"use strict";var n=a("b0e5"),r=a.n(n);r.a},5717:function(t,e,a){"use strict";a.d(e,"a",(function(){return c}));var n=a("d4ec"),r=a("262e"),i=a("2caf"),s=a("ade3"),o=a("9d56"),c=function(t){Object(r["a"])(a,t);var e=Object(i["a"])(a);function a(){return Object(n["a"])(this,a),e.apply(this,arguments)}return a}(o["a"]);Object(s["a"])(c,"resource","/support-material")},b0e5:function(t,e,a){},f21f:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("nav-bar",{attrs:{id:"nav"}}),a("b-container",{attrs:{id:"container-no-carousel"}},[t._t("default")],2),a("custom-footer",{attrs:{id:"footer"}})],1)},r=[],i=a("bde8"),s=a("9fe9"),o={components:{NavBar:i["a"],CustomFooter:s["a"]}},c=o,l=a("2877"),u=Object(l["a"])(c,n,r,!1,null,null,null);e["a"]=u.exports}}]);
//# sourceMappingURL=chunk-050020bc.568054d3.js.map