(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{771:function(a,b,c){"use strict";c.r(b);var d=function(){var a=this,b=a.$createElement,c=a._self._c||b;return c("div",{staticClass:"content-box"},[a.certificates?[a.setTitle?c("h4",{staticClass:"footer-title text-small text-bold visible-block bottom-margin-x-small"},[a._v("Certificados")]):a._e(),a._v(" "),a.certificates.banners_certificado&&a.certificates.certificates_status==a.types.TpCert_Custom||a.certificates.banners_certificado&&a.certificates.certificates_status==a.types.TpCert_Futura||a.certificates.eBitCertificate.ebit_status||a.certificates.certificates_status==a.types.TpCert_Enable?[c("div",{staticClass:"content-box flex"},[a.certificates.banners_certificado&&a.certificates.certificates_status==a.types.TpCert_Custom?a._l(a.certificates.banners_certificado,function(a,b){return c("div",{key:b},[a.link?[c("a",{attrs:{href:a.link,target:"_blank"}},[c("img",{staticClass:"right-margin-x-small bottom-margin-x-small",attrs:{src:a.image,alt:a.title}})])]:[c("img",{staticClass:"right-margin-x-small bottom-margin-x-small",attrs:{src:a.image,alt:a.title}})]],2)}):a._e(),a._v(" "),a.certificates.certificates_status==a.types.TpCert_Futura?[c("img",{staticClass:"right-margin-x-small bottom-margin-x-small",attrs:{src:"catalog/view/theme/vista/image/certificado-ssl.png",alt:"Site Seguro - Certificado SSL",height:"50px",width:"150px"}})]:a._e(),a._v(" "),a.certificates.eBitCertificate.ebit_status==a.types.TpCert_Enable?[c("a",{staticClass:"margin-x-small",attrs:{id:"seloEbit",href:"http://www.ebit.com.br/"+a.certificates.eBitCertificate.ebit_store_id,target:"_blank","data-noop":"redir(this.href);",title:"Ebit"}})]:a._e()],2)]:a._e()]:a._e()],2)};d._withStripped=!0;var e=c(387),f=c(575),g=Object(f.a)({name:"CustomCertificates",data:function(){return{certificates:e.a.state.customCertificates,language:e.a.state.languages}},computed:{types:function(){return{TpCert_Disable:0,TpCert_Enable:1,TpCert_Futura:1,TpCert_Custom:2}},setTitle:function(){var a;return!(null===(a=parseInt(this.certificates.certificates_status)!==this.types.TpCert_Disable)||void 0===a)&&a}},methods:{loadScriptEbit:function(){var a=document.createElement("script");a.async=!0,a.src="https://imgs.ebit.com.br/ebitBR/selo-ebit/js/getSelo.js?".concat(this.certificates.eBitCertificate.ebit_store_id).concat(this.certificates.eBitCertificate.ebit_store_id?"&lightbox=true":""),document.head.appendChild(a)}},mounted:function(){this.certificates.eBitCertificate.ebit_status==this.types.TpCert_Enable?this.loadScriptEbit():null}},d,[],!1,null,"1848a1a2",null);g.options.__file="assets/components/components/TheFooter/CustomFooter/CustomCertificates.vue";b["default"]=g.exports}}]);