1(window.webpackJsonp=window.webpackJsonp||[]).push([[11,136,232],{347:function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return t[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=".",e(e.s=10)}([function(t,e){t.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(t){return t.toLocaleLowerCase()}},"!":{escape:!0}}},function(t,e,n){"use strict";function r(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}var a=n(2),o=n(0),i=n.n(o);e.a=function(t,e){var o=e.value;if((Array.isArray(o)||"string"==typeof o)&&(o={mask:o,tokens:i.a}),"INPUT"!==t.tagName.toLocaleUpperCase()){var u=t.getElementsByTagName("input");if(1!==u.length)throw new Error("v-mask directive requires 1 input, found "+u.length);t=u[0]}t.oninput=function(e){if(e.isTrusted){var i=t.selectionEnd,u=t.value[i-1];for(t.value=n.i(a.a)(t.value,o.mask,!0,o.tokens);i<t.value.length&&t.value.charAt(i-1)!==u;)i++;t===document.activeElement&&(t.setSelectionRange(i,i),setTimeout((function(){t.setSelectionRange(i,i)}),0)),t.dispatchEvent(r("input"))}};var s=n.i(a.a)(t.value,o.mask,!0,o.tokens);s!==t.value&&(t.value=s,t.dispatchEvent(r("input")))}},function(t,e,n){"use strict";var r=n(6),a=n(5);e.a=function(t,e){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments[3];return Array.isArray(e)?n.i(a.a)(r.a,e,i)(t,e,o,i):n.i(r.a)(t,e,o,i)}},function(t,e,n){"use strict";function r(t){t.component(s.a.name,s.a),t.directive("mask",i.a)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),o=n.n(a),i=n(1),u=n(7),s=n.n(u);n.d(e,"TheMask",(function(){return s.a})),n.d(e,"mask",(function(){return i.a})),n.d(e,"tokens",(function(){return o.a})),n.d(e,"version",(function(){return l}));var l="0.11.1";e.default=r,"undefined"!=typeof window&&window.Vue&&window.Vue.use(r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),a=n(0),o=n.n(a),i=n(2);e.default={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:function(){return o.a}}},directives:{mask:r.a},data:function(){return{lastValue:null,display:this.value}},watch:{value:function(t){t!==this.lastValue&&(this.display=t)},masked:function(){this.refresh(this.display)}},computed:{config:function(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput:function(t){t.isTrusted||this.refresh(t.target.value)},refresh:function(t){this.display=t,(t=n.i(i.a)(t,this.mask,this.masked,this.tokens))!==this.lastValue&&(this.lastValue=t,this.$emit("input",t))}}}},function(t,e,n){"use strict";function r(t,e,n){return e=e.sort((function(t,e){return t.length-e.length})),function(r,a){for(var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=0;i<e.length;){var u=e[i];i++;var s=e[i];if(!(s&&t(r,s,!0,n).length>u.length))return t(r,u,o,n)}return""}}e.a=r},function(t,e,n){"use strict";function r(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments[3];t=t||"",e=e||"";for(var a=0,o=0,i="";a<e.length&&o<t.length;){var s=r[u=e[a]],l=t[o];s&&!s.escape?(s.pattern.test(l)&&(i+=s.transform?s.transform(l):l,a++),o++):(s&&s.escape&&(u=e[++a]),n&&(i+=u),l===u&&o++,a++)}for(var c="";a<e.length&&n;){var u;if(r[u=e[a]]){c="";break}c+=u,a++}return i+c}e.a=r},function(t,e,n){var r=n(8)(n(4),n(9),null,null);t.exports=r.exports},function(t,e){t.exports=function(t,e,n,r){var a,o=t=t||{},i=typeof t.default;"object"!==i&&"function"!==i||(a=t,o=t.default);var u="function"==typeof o?o.options:o;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n),r){var s=u.computed||(u.computed={});Object.keys(r).forEach((function(t){var e=r[t];s[t]=function(){return e}}))}return{esModule:a,exports:o,options:u}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{directives:[{name:"mask",rawName:"v-mask",value:t.config,expression:"config"}],attrs:{type:"text"},domProps:{value:t.display},on:{input:t.onInput}})},staticRenderFns:[]}},function(t,e,n){t.exports=n(3)}])},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n(43),n(53);function r(t){return window.location.host.includes("localhost")?"http://localhost:63582/v2":window.location.host.includes("-h")?"https://app-site-s2p-bff-hml.azurewebsites.net/v2":"https://app-site-s2p-bff-prod.azurewebsites.net/v2"}},374:function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=".",e(e.s=9)}([function(t,e,n){"use strict";e.a={prefix:"",suffix:"",thousands:",",decimal:".",precision:2}},function(t,e,n){"use strict";var r=n(2),i=n(5),u=n(0);e.a=function(t,e){if(e.value){var o=n.i(i.a)(u.a,e.value);if("INPUT"!==t.tagName.toLocaleUpperCase()){var a=t.getElementsByTagName("input");1!==a.length||(t=a[0])}t.oninput=function(){var e=t.value.length-t.selectionEnd;t.value=n.i(r.a)(t.value,o),e=Math.max(e,o.suffix.length),e=t.value.length-e,e=Math.max(e,o.prefix.length+1),n.i(r.b)(t,e),t.dispatchEvent(n.i(r.c)("change"))},t.onfocus=function(){n.i(r.b)(t,t.value.length-o.suffix.length)}
1,t.oninput(),t.dispatchEvent(n.i(r.c)("input"))}}},function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.a;"number"==typeof t&&(t=t.toFixed(o(e.precision)));var n=t.indexOf("-")>=0?"-":"",a=d(l(u(t),e.precision)).split("."),p=a[0],r=a[1];return p=c(p,e.thousands),e.prefix+n+s(p,r,e.decimal)+e.suffix}function i(t,e){var n=t.indexOf("-")>=0?-1:1,i=l(u(t),e);return parseFloat(i)*n}function u(t){return d(t).replace(/\D+/g,"")||"0"}function o(t){return a(0,t,20)}function a(t,e,n){return Math.max(t,Math.min(e,n))}function l(t,e){var n=Math.pow(10,e);return(parseFloat(t)/n).toFixed(o(e))}function c(t,e){return t.replace(/(\d)(?=(?:\d{3})+\b)/gm,"$1"+e)}function s(t,e,n){return e?t+n+e:t}function d(t){return t?t.toString():""}function p(t,e){var n=function(){t.setSelectionRange(e,e)};t===document.activeElement&&(n(),setTimeout(n,1))}function f(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}var m=n(0);n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return f}))},function(t,e,n){"use strict";function r(t,e){e&&Object.keys(e).map((function(t){a.a[t]=e[t]})),t.directive("money",o.a),t.component("money",u.a)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(6),u=n.n(i),o=n(1),a=n(0);n.d(e,"Money",(function(){return u.a})),n.d(e,"VMoney",(function(){return o.a})),n.d(e,"options",(function(){return a.a})),n.d(e,"VERSION",(function(){return l}));var l="0.8.1";e.default=r,"undefined"!=typeof window&&window.Vue&&window.Vue.use(r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(0),u=n(2);e.default={name:"Money",props:{value:{required:!0,type:[Number,String],default:0},masked:{type:Boolean,default:!1},precision:{type:Number,default:function(){return i.a.precision}},decimal:{type:String,default:function(){return i.a.decimal}},thousands:{type:String,default:function(){return i.a.thousands}},prefix:{type:String,default:function(){return i.a.prefix}},suffix:{type:String,default:function(){return i.a.suffix}}},directives:{money:r.a},data:function(){return{formattedValue:""}},watch:{value:{immediate:!0,handler:function(t,e){var r=n.i(u.a)(t,this.$props);r!==this.formattedValue&&(this.formattedValue=r)}}},methods:{change:function(t){this.$emit("input",this.masked?t.target.value:n.i(u.d)(t.target.value,this.precision))}}}},function(t,e,n){"use strict";e.a=function(t,e){return t=t||{},e=e||{},Object.keys(t).concat(Object.keys(e)).reduce((function(n,r){return n[r]=void 0===e[r]?t[r]:e[r],n}),{})}},function(t,e,n){var r=n(7)(n(4),n(8),null,null);t.exports=r.exports},function(t,e){t.exports=function(t,e,n,r){var i,u=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(i=t,u=t.default);var a="function"==typeof u?u.options:u;if(e&&(a.render=e.render,a.staticRenderFns=e.staticRenderFns),n&&(a._scopeId=n),r){var l=a.computed||(a.computed={});Object.keys(r).forEach((function(t){var e=r[t];l[t]=function(){return e}}))}return{esModule:i,exports:u,options:a}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{directives:[{name:"money",rawName:"v-money",value:{precision:t.precision,decimal:t.decimal,thousands:t.thousands,prefix:t.prefix,suffix:t.suffix},expression:"{precision, decimal, thousands, prefix, suffix}"}],staticClass:"v-money",attrs:{type:"tel"},domProps:{value:t.formattedValue},on:{change:t.change}})},staticRenderFns:[]}},function(t,e,n){t.exports=n(3)}])},572:function(t,e,n){"use strict";n.r(e);n(42);var r=n(347),o=n(374),l={name:"InputModel",directives:{mask:r.mask,money:o.VMoney},props:{type:{type:String,default:"text"},value:{type:String,default:""},error:{type:String,default:""}},data:function(){return{isActive:!1,inputLength:0,money:{decimal:",",thousands:".",prefix:"R$ ",precision:2,masked:!1}}},methods:{handleInputLength:function(){var t=this.$refs.inputRef.value;this.inputLength=t.length},updateValue:function(t,e){this.$emit("input",t),this.$emit("keypress",e),this.handleInputLength()}}},c=n(3),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"flex w-full flex-col rounded-[4px] border-2 bg-neutral-off-white transition-colors duration-150 hover:border-primary-blue-500",class:"".concat(t.isActive?"border-primary-blue-500":"border-transparent"," ").concat(t.error?"bg-red-300":"bg-neutral-off-white")},[e("div",{staticClass:"mx-4 mb-[10px] mt-2 flex flex-col gap-[6px]"},[e("label",{staticClass:"text-overline font-extrabold uppercase",class:"".concat(t.error?"text-red-800":t.inputLength>0?"text-primary-blue-500":"text-neutral-gray-dark")},[t._t("default")],2),t._v(" "),"bankslip"===t.type?e("input",{directives:[{name:"mask",rawName:"v-mask",value:["#####.##### #####.###### #####.###### # ##############"],expression:"['#####.##### #####.###### #####.###### # ##############']"}],ref:"inputRef",staticClass:"h-6 w-full border-none bg-neutral-off-white outline-none",class:"".concat(t.error?"bg-red-300 text-red-600":"bg-neutral-off-white"),attrs:{maxlength:"54"},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value,0)},focus:function(e){t.isActive=!0},focusout:function(e){t.isActive=!1},change:t.handleInputLength}}):t._e(),t._v(" "),"cpf/cnpj"===t.type?e("input",{directives:[{name:"mask",rawName:"v-mask",value:["###.###.###-##","XX.XXX.XXX/XXXX-##"],expression:"['###.###.###-##', 'XX.XXX.XXX/XXXX-##']"}],ref:"inputRef",staticClass:"h-6 w-full border-none bg-neutral-off-white outline-none",class:"".concat(t.error?"bg-red-300 text-red-600":"bg-neutral-off-white"),attrs:{type:t.type,maxlength:"18"},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value,1)},focus:function(e){t.isActive=!0},focusout:function(e){t.isActive=!1},change:t.handleInputLength}}):t._e(),t._v(" "),"date"===t.type?e("input",{directives:[{name:"mask",rawName:"v-mask",value:"##/##/####",expression:"'##/##/####'"}],ref:"inputRef",staticClass:"h-6 w-full border-none outline-none",class:"".concat(t.error?"bg-red-300 text-red-600":"bg-neutral-off-white"),attrs:{maxlength:"10"},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value,2)},focus:function(e){t.isActive=!0},focusout:function(e){t.isActive=!1},change:t.handleInputLength}}):t._e(),t._v(" "),"currency"===t.type?e("input",{directives:[{name:"money",rawName:"v-money",value:t.money,expression:"money"}],ref:"inputRef",staticClass:"h-6 w-full border-none bg-neutral-off-white outline-none",class:"".concat(t.error?"bg-red-300 text-red-600":"bg-neutral-off-white"),attrs:{type:t.type,maxlength:"32"},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value,3)},focus:function(e){t.isActive=!0},focusout:function(e){t.isActive=!1},change:t.handleInputLength}}):t._e()])]),t._v(" "),t.error?e("span",{staticClass:"text-red-500 text-sm"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e()])}),[],!1,null,null,null);e.default=component.exports},638:function(t,e,n){"use strict";n.r(e);n(42);var r=n(11),o=(n(43),n(45),n(24),n(53),n(46),n(63),n(54)),l=n.n(o),c=n(347),d=n(572),f=n(349),m={name:"DDA",directives:{mask:c.mask},components:{InputModel:d.default},data:function(){return{showData:!1,showError:!1,isLoading:!1,digitableLine:null,identity:null,dueDate:null,amount:null,dda:{DigitableLine:null,Name:null,Identity:null,Amount:null,DueDate:null,TransactionStatus:null,ProductDescription:null,ProductQuantity:null},errors:{digitableLine:null,identity:null,dueDate:null,amount:null}}},computed:{isEnabled:function(){return this.identity&&this.digitableLine}},beforeMount:function(){this.resetDda()},methods:{consultarDDA:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,data,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.showError=!1,t.preventDefault(),e.isValidForm()){n.next=4;break}return n.abrupt("return");case 4:return r={DigitableLine:e.getRawDocument(e.digitableLine),Identity:e.getRawDocument(e.identity),DueDate:e.getDateFromString(e.dueDate),Amount:e.getAmount(e.amount)},e.isLoading=!0,n.prev=6,n.next=9,l.a.post("".concat(Object(f.a)(e),"/DDA"),r);case 9:o=n.sent,data=o.data.HasError?null:o.data.ResponseDetail,n.next=16;break;case 13:n.prev=13,n.t0=n.catch(6),data=null;case 16:if(null!=data){n.next=20;break}return e.isLoading=!1,e.showError=!0,n.abrupt("return");case 20:e.dda={DigitableLine:data.DigitableLine,Name:data.Name,Identity:data.Identity,Amount:data.Amount,DueDate:data.DueDate,TransactionStatus:data.TransactionStatus,ProductDescription:data.ProductDescription,ProductQuantity:data.ProductQuantity},e.isLoading=!1,e.showData=!0;case 23:case"end":return n.stop()}}),n,null,[[6,13]])})))()},isValidForm:function(){var t=!0;return this.errors={digitableLine:null,identity:null,dueDate:null,amount:null},this.isValidDigitableLine(this.digitableLine)||(this.errors.digitableLine="Informe uma linha digitável válida",t=!1),this.isValidDocument(this.identity)||(this.errors.identity="Informe um CPF / CNPJ válido",t=!1),this.isValidDate(this.dueDate)||(this.errors.dueDate="Informe uma data de vencimento válida",t=!1),!!t},isValidDate:function(t){var e=!0;if(!t)return!0;10!==t.length&&(e=!1);var n=t.split("/"),r=parseInt(n[0]),o=parseInt(n[1]),l=parseInt(n[2]);((o<1||o>12)&&(e=!1),(r<1||r>
131)&&(e=!1),(4===o||6===o||9===o||11===o)&&r>30&&(e=!1),(l<1800||l>9999)&&(e=!1),2===o)&&((r>29||29===r&&!(l%4==0&&l%100!=0||l%400==0))&&(e=!1));return!!e},isValidDigitableLine:function(t){var e=!0;if(t||(e=!1),e){var n=this.getRawDocument(t);47!==n.length&&(e=!1),/^\d+$/.test(n)||(e=!1)}return!!e},isValidDocument:function(t){var e=!0;if(t||(e=!1),e){var n=this.getRawDocument(t);11!==n.length&&14!==n.length&&(e=!1)}return!!e},getDateFromString:function(t){if(!t)return null;var e=t.split("/"),n=parseInt(e[0]),r=parseInt(e[1]),o=parseInt(e[2]);return new Date(Date.UTC(o,r-1,n))},getRawDocument:function(t){return t.replace(/[^\d]/g,"")},getAmount:function(t){var e=t.substring(3),n=(e.includes(".")?e.replace(".",""):e).replace(",","."),r=parseFloat(n);return 0===r?null:r},getCurrency:function(t){return Intl.NumberFormat("de-DE",{minimumFractionDigits:2,maximumFractionDigits:2}).format(t)},truncate:function(t,e){return t.length>e?"".concat(t.slice(0,e),"..."):t},setError:function(t){switch(t){case 0:this.errors.digitableLine="";break;case 1:this.errors.identity="";break;case 2:this.errors.dueDate="";break;case 3:this.errors.amount=""}},resetDda:function(){this.digitableLine=null,this.identity=null,this.dueDate=null,this.amount=null,this.dda={DigitableLine:null,Name:null,Identity:null,Amount:null,DueDate:null,TransactionStatus:null,ProductDescription:null,ProductQuantity:null},this.showData=!1,this.showError=!1,this.isLoading=!1}}},v=n(3),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"lg:mb-16 flex items-center bg-primary-blue-500 bg-dda bg-no-repeat sm:h-[784px]"},[e("div",{staticClass:"container mx-auto flex flex-col gap-[38px] px-4 py-20 sm:flex-row sm:justify-between sm:gap-0"},[e("div",{staticClass:"flex max-w-[519px] flex-col gap-[19px] text-neutral-white"},[e("div",{staticClass:"flex h-[60px] max-w-[65px] items-center justify-center rounded-[4px] bg-neutral-white"},[e("svg-icon",{staticClass:"h-[31px] w-[42.63px] text-primary-blue-500",attrs:{name:"icons/bar-code"}})],1),t._v(" "),e("h3",{staticClass:"text-h3 font-bold"},[t._v("\n A gente te ajuda a identificar os boletos em seu DDA.\n ")]),t._v(" "),e("p",{staticClass:"text-base"},[t._v("\n Utilize o Débito Direto Autorizado (DDA) para rastrear todos os boletos emitidos em seu CPF ou CNPJ.\n ")])]),t._v(" "),t.showError?[e("div",{staticClass:"flex flex-col gap-6 w-full max-w-[628px] rounded-2xl bg-neutral-white px-4 shadow-default sm:px-16 py-36"},[e("p",{staticClass:"font-bold text-center text-2xl"},[t._v("\n Ops, não encontramos nenhum resultado para a sua consulta ð\n ")]),t._v(" "),t._m(0),t._v(" "),e("button",{staticClass:"button-lg flex items-center justify-center bg-primary-blue-500 text-neutral-white mt-6",on:{click:t.resetDda}},[t._v("\n Tentar novamente\n ")])])]:t._e(),t._v(" "),t.showData||t.showError?t._e():[e("div",{staticClass:"flex w-full max-w-[628px] flex-col items-center gap-6 rounded-2xl bg-neutral-white px-4 py-9 shadow-default sm:gap-12 sm:p-16"},[e("p",{staticClass:"max-w-[312px] text-start text-base font-bold sm:text-center"},[t._v("\n Preencha os campos para realizar a consulta de boleto em seu DDA\n ")]),t._v(" "),e("form",{staticClass:"flex w-full flex-col gap-[33px] sm:max-w-[500px] sm:gap-6",on:{submit:function(e){return e.preventDefault(),t.consultarDDA.apply(null,arguments)}}},[e("InputModel",{attrs:{type:"bankslip",error:t.errors.digitableLine},on:{keypress:t.setError},model:{value:t.digitableLine,callback:function(e){t.digitableLine=e},expression:"digitableLine"}},[t._v("Código digitável do boleto")]),t._v(" "),e("InputModel",{attrs:{type:"cpf/cnpj",error:t.errors.identity},on:{keypress:t.setError},model:{value:t.identity,callback:function(e){t.identity=e},expression:"identity"}},[t._v("CPF ou CNPJ")]),t._v(" "),e("InputModel",{attrs:{type:"date",error:t.errors.dueDate},on:{keypress:t.setError},model:{value:t.dueDate,callback:function(e){t.dueDate=e},expression:"dueDate"}},[t._v("Data de vencimento")]),t._v(" "),e("InputModel",{attrs:{type:"currency",error:t.errors.amount},on:{keypress:t.setError},model:{value:t.amount,callback:function(e){t.amount=e},expression:"amount"}},[t._v("Valor (R$)")]),t._v(" "),t.isLoading?t._e():e("button",{class:"button-lg flex items-center justify-center ".concat(t.isEnabled?"bg-primary-blue-500 text-neutral-white":"bg-gray-200 text-neutral-500 disabled:pointer-events-none"),attrs:{type:"submit",disabled:!t.isEnabled}},[t._v("\n Consultar boleto\n ")]),t._v(" "),t.isLoading?e("button",{staticClass:"flex h-14 w-full items-center justify-center rounded-md bg-blue-600 p-2 text-lg font-semibold text-white md:p-8 cursor-default",style:{backgroundColor:"#0052EA"},attrs:{disabled:!0}},[e("div",{attrs:{role:"status"}},[e("svg",{staticClass:"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",attrs:{"aria-hidden":"true",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}}),t._v(" "),e("path",{attrs:{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
11071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"}})])])]):t._e()],1)])],t._v(" "),t.showData&&!t.showError?[e("div",{staticClass:"flex w-full max-w-[628px] flex-col rounded-2xl bg-neutral-white px-4 shadow-default sm:px-16 py-10"},[e("p",{staticClass:"font-bold text-center mb-6"},[t._v("\n Encontramos os seguintes dados\n ")]),t._v(" "),e("div",{staticClass:"flex flex-col gap-6"},[e("div",[e("label",{staticClass:"font-extrabold text-primary-blue-600"},[t._v("\n Linha digitável do Boleto:\n ")]),t._v(" "),e("input",{directives:[{name:"mask",rawName:"v-mask",value:["#####.##### #####.###### #####.###### # ##############"],expression:"['#####.##### #####.###### #####.###### # ##############']"}],staticClass:"w-full border-none outline-none cursor-default bg-white text-primary-blue-600 font-medium",attrs:{disabled:""},domProps:{value:t.dda.DigitableLine}})]),t._v(" "),e("div",[e("label",{staticClass:"font-extrabold text-primary-blue-600"},[t._v("\n Produtos:\n ")]),t._v(" "),e("input",{staticClass:"w-full border-none outline-none cursor-default bg-white text-primary-blue-600 font-medium",attrs:{disabled:""},domProps:{value:"".concat(t.dda.ProductQuantity,"x ").concat(t.dda.ProductDescription," R$ ").concat(t.getCurrency(t.dda.Amount))}})]),t._v(" "),e("div",[e("label",{staticClass:"font-extrabold text-primary-blue-600"},[t._v("\n Nome do Comerciante:\n ")]),t._v(" "),e("input",{staticClass:"w-full border-none outline-none cursor-default bg-white text-primary-blue-600 font-medium",attrs:{disabled:""},domProps:{value:t.dda.Name}})]),t._v(" "),e("div",[e("label",{staticClass:"font-extrabold text-primary-blue-600"},[t._v("\n Data:\n ")]),t._v(" "),e("input",{directives:[{name:"mask",rawName:"v-mask",value:"##/##/####",expression:"'##/##/####'"}],staticClass:"w-full border-none outline-none cursor-default bg-white text-primary-blue-600 font-medium",attrs:{disabled:""},domProps:{value:t.dda.DueDate}})]),t._v(" "),e("div",[e("label",{staticClass:"font-extrabold text-primary-blue-600"},[t._v("\n CPF/CNPJ do Comerciante:\n ")]),t._v(" "),e("input",{directives:[{name:"mask",rawName:"v-mask",value:["###.###.###-##","XX.XXX.XXX/XXXX-##"],expression:"['###.###.###-##', 'XX.XXX.XXX/XXXX-##']"}],staticClass:"w-full border-none outline-none cursor-default bg-white text-primary-blue-600 font-medium",attrs:{disabled:""},domProps:{value:t.dda.Identity}})]),t._v(" "),e("div",[e("label",{staticClass:"font-extrabold text-primary-blue-600"},[t._v("\n Status da Transação:\n ")]),t._v(" "),e("input",{staticClass:"w-full border-none outline-none cursor-default bg-white text-primary-blue-600 font-medium",attrs:{disabled:""},domProps:{value:t.dda.TransactionStatus}})]),t._v(" "),e("p",{staticClass:"text-sm text-gray-400"},[t._v("\n Caso não reconheça a compra, por gentileza entrar em contato com o comerciante para maiores informações.\n ")]),t._v(" "),e("button",{staticClass:"button-lg flex items-center justify-center bg-primary-blue-500 text-neutral-white",on:{click:t.resetDda}},[t._v("\n Consultar outro boleto\n ")])])])]:t._e()],2)])}),[function(){var t=this,e=t._self._c;return e("p",{staticClass:"px-16 text-center text-gray-400"},[t._v("\n Mas não se preocupe, escrevemos um artigo que pode te ajudar a resolver esse problema.\n "),e("br"),t._v("\n Confira "),e("a",{staticClass:"text-primary-blue-500 cursor-pointer",attrs:{href:"https://www.blog.safe2pay.com.br/post/dda-o-que-e-como-funciona"}},[t._v("clicando aqui")]),t._v(".\n ")])}],!1,null,null,null);e.default=component.exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.