(function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{enumerable:!0,get:d})},b.r=function(a){'undefined'!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:'Module'}),Object.defineProperty(a,'__esModule',{value:!0})},b.t=function(a,c){if(1&c&&(a=b(a)),8&c)return a;if(4&c&&'object'==typeof a&&a&&a.__esModule)return a;var d=Object.create(null);if(b.r(d),Object.defineProperty(d,'default',{enumerable:!0,value:a}),2&c&&'string'!=typeof a)for(var e in a)b.d(d,e,function(b){return a[b]}.bind(null,e));return d},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='view/public/',b(b.s=553)})({23:function(a,b){'use strict';b.a=function(a){'loading'===document.readyState?document.addEventListener('DOMContentLoaded',function(){a()}):a()}},553:function(a,b,c){'use strict';c.r(b);var d=c(23);Object(d.a)(function(){function a(){g.value&&h.value?c.removeAttribute('disabled',!0):c.setAttribute('disabled',!0)}function b(a){var b=this;a.preventDefault();f||(this.classList.add('btn-loading'),this.disabled=!0,f=!0,window.axiosApi({method:'get',url:d,params:{pagseguro_email:g.value,pagseguro_token:h.value}}).then(function(a){var b=a.data;notificationMsg(b.message,b.type)}).catch(function(a){console.log(a)}).finally(function(){b.classList.remove('btn-loading'),b.disabled=!1,f=!1}))}var c=document.querySelector('.js-validate-credentials'),d=c.dataset.url,f=!1,g=document.querySelector('input[name="pagseguro_email"]'),h=document.querySelector('input[name="pagseguro_token"]');a(),g.addEventListener('change',a),h.addEventListener('change',a),c.addEventListener('click',b)})}});