{"version":3,"sources":["webpack:///src/views/web/checkout/OrderTypes/components/Barcode.vue","webpack:///./src/views/web/checkout/OrderTypes/components/Barcode.vue?7e46","webpack:///./src/views/web/checkout/OrderTypes/components/Barcode.vue","webpack:///src/views/web/checkout/OrderTypes/Boleto.vue","webpack:///./src/views/web/checkout/OrderTypes/Boleto.vue?9c3e","webpack:///./src/views/web/checkout/OrderTypes/Boleto.vue","webpack:///src/views/web/checkout/OrderTypes/Pix.vue","webpack:///./src/views/web/checkout/OrderTypes/Pix.vue?684f","webpack:///./src/views/web/checkout/OrderTypes/Pix.vue","webpack:///src/views/web/checkout/OrderNotApprovedWrapper.vue","webpack:///./src/views/web/checkout/OrderNotApprovedWrapper.vue?b9e3","webpack:///./src/views/web/checkout/OrderNotApprovedWrapper.vue","webpack:///src/views/web/checkout/OrderNotApproved.vue","webpack:///./src/views/web/checkout/OrderNotApproved.vue?2a3a","webpack:///./src/views/web/checkout/OrderNotApproved.vue","webpack:///./src/views/web/checkout/OrderNotApprovedWrapper.vue?d52d","webpack:///./src/views/web/checkout/OrderNotApprovedWrapper.vue?2da5"],"names":["props","mounted","_this","_asyncToGenerator","_regeneratorRuntime","mark","_callee","scripts","loadScript","i","wrap","_context","prev","next","src","Promise","resolve","reject","script","document","createElement","type","onload","onerror","head","appendChild","length","Boleto","line","toSVG","stop","render","_vm","this","_h","$createElement","_c","_self","staticStyle","attrs","staticRenderFns","__vue_template_functional__","__vue_styles__","__vue_scopeId__","__vue_module_identifier__","Component","components","Barcode","data","formatterHelper","FormatterHelper","checkoutService","CheckoutService","computed","_objectSpread","mapGetters","dueAt","Date","charges","due_at","toLocaleDateString","barcode","replaceAll","methods","download","getTicket","url","then","blob","filename","concat","toISOString","replace","window","URL","createObjectURL","link","setAttribute","href","body","click","removeChild","copy","navigator","clipboard","writeText","$store","commit","staticClass","_v","_s","formatMoney","selectedInstallment","total_value","total_amount","style","disableButton","on","copyPixCode","qr_code_copy_and_paste","base_64","qr_code","qr_code_url","_m","loading","GetSocialMediaLink","SocialMedia","hasProjectIncentivized","campaign","Object","cartService","CartService","gotoCampaignLP","$router","push","name","Routes","app","CampaignLandingPage","gotoDashboard","DashboardPF","created","cartSuccess","finishedCartId","cartId","getCartById","haveProjects","campaignProjectList","some","el","project","incentiveLawId","checkoutValue","cart_id","payment_method","method","_t","_e","Whatsapp","Facebook","Linkedin","Twitter","injectStyle","context","OrderNotApprovedWrapper","Pix","mapActions","destroyed","cart","localStorage","getItem","cartObject","JSON","parse","cartItems","forEach","item","removeToCart","$route","query","params","scopedSlots","_u","key","fn","proxy","content","__esModule","default","module","locals","exports","add"],"mappings":"uRAIe,GACfA,MAAA,SACAC,QAAA,eAAAC,EAAA,YAAAC,eAAAC,iBAAAC,MAAA,SAAAC,IAAA,IAAAC,EAMAC,EAAAC,EAAA,OAAAL,iBAAAM,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,OAAAL,EAAA,SAAAM,GACA,WAAAC,SAAA,SAAAC,EAAAC,GACA,IAAAC,EAAAC,SAAAC,cAAA,UACAF,EAAAJ,MACAI,EAAAG,KAAA,kBACAH,EAAAI,OAAAN,EACAE,EAAAK,QAAAN,EACAE,SAAAK,KAAAC,YAAAP,OAZAX,EAAA,CACA,4BAgBAE,EAAA,cAAAA,EAAAF,EAAAmB,QAAA,CAAAf,EAAAE,KAAA,eAAAF,EAAAE,KAAA,EACAL,EAAAD,EAAAE,IAAA,OADAA,IAAAE,EAAAE,KAAA,eAIA,IAAAc,OAAAzB,EAAA0B,MAAAC,MAAA,qCAAAlB,EAAAmB,UAAAxB,MAtBAH,KCNI4B,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,CAAC,MAAQ,QAAQC,MAAM,CAAC,GAAK,cAC/IC,EAAkB,G,YCKlBC,GAA8B,EAE9BC,EAAiB,KAEjBC,EAAkB,KA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AAS,WAAa,IAAIhB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,0BAA0B,CAACG,MAAM,CAAC,OAASP,EAAIuG,OAAO,KAAOvG,EAAIgB,MAAMiH,YAAYjI,EAAIkI,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,WAAW,MAAO,CAAChI,EAAG,SAAS,CAACG,MAAM,CAAC,KAAOP,EAAIgB,UAAUqH,OAAM,GAAM,CAACF,IAAI,MAAMC,GAAG,WAAW,MAAO,CAAChI,EAAG,MAAM,CAACG,MAAM,CAAC,KAAOP,EAAIgB,UAAUqH,OAAM,GAAM,CAACF,IAAI,OAAOC,GAAG,WAAW,MAAO,CAAChI,EAAG,SAASiI,OAAM,QAC1Z,EAAkB,GCKlB,GAA8B,EAE9B,EAAiB,KAEjB,EAAkB,KAElB,EAA4B,KAE5B,EAAY,eACd,EACA,EACA,EACA,EACA,EACA,EACA,GAGa,eAAiB,S,uBCrBhC,IAAIC,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOhK,EAAI6J,EAAS,MAC7DA,EAAQI,SAAQD,EAAOE,QAAUL,EAAQI,QAE5C,IAAIE,EAAM,EAAQ,QAAqEJ,QAC1EI,EAAI,WAAYN,GAAS,EAAM,K,qBCT5CK,EAAUF,EAAOE,QAAU,EAAQ,OAAR,EAA+D,GAK1FA,EAAQzD,KAAK,CAACuD,EAAOhK,EAAI,qMAAsM","file":"assets/js/chunk-630e201e.js","sourcesContent":["<template>\n  <div id=\"barcode\" style=\"width: 100%;\"></div>\n</template>\n<script>\nexport default {\n  props: [\"line\"],\n  async mounted() {\n    var scripts = [\n      \"/boleto/js/boleto.min.js\",\n    ];\n\n    // Função para carregar um script e retornar uma Promise\n    function loadScript(src) {\n      return new Promise((resolve, reject) => {\n        const script = document.createElement(\"script\");\n        script.src = src;\n        script.type = \"text/javascript\";\n        script.onload = resolve;\n        script.onerror = reject;\n        document.head.appendChild(script);\n      });\n    }\n\n    // load scripts await loading\n    for (let i = 0; i < scripts.length; i++) {\n      await loadScript(scripts[i]);\n    }\n\n    new Boleto(this.line).toSVG('#barcode');\n  }\n};\n</script>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"width\":\"100%\"},attrs:{\"id\":\"barcode\"}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Barcode.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Barcode.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-19744b76\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Barcode.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n  __vue_script__,\n  __vue_render__,\n  __vue_static_render_fns__,\n  __vue_template_functional__,\n  __vue_styles__,\n  __vue_scopeId__,\n  __vue_module_identifier__\n)\n\nexport default Component.exports\n","<template>\n  <div class=\"order-approved-content\">\n    <h1>Agora é só pagar o boleto abaixo:</h1>\n    <v-divider></v-divider>\n    <div class=\"active-installment\">\n      <div class=\"installment\">\n        <p>{{ dueAt }}</p>\n        <p>R$ {{ formatterHelper.formatMoney(selectedInstallment ? selectedInstallment.total_value: data.total_amount) }}</p>\n      </div>\n      <div class=\"active-installment-actions\" style=\"justify-content: center;\">\n        <v-btn class=\"btn btn-primary\" @click=\"copy\"\n          :style=\"!disableButton ? { 'background-color': 'rgba(var(--theme-primaria)) !important' } : {}\">\n          <i class=\"fal fa-copy\"></i>\n          Copiar código de barras\n        </v-btn>\n        <v-btn class=\"btn btn-primary\"\n          :style=\"!disableButton ? { 'background-color': 'rgba(var(--theme-primaria)) !important' } : {}\"\n          @click=\"download\">\n          <i class=\"fal fa-download\"></i>\n          Baixar boleto\n        </v-btn>\n        \n      </div>\n      <!-- <img v-if=\"data.charges[0].barcode\" :src=\"data.charges[0].barcode\" alt=\"\" srcset=\"\"> -->\n      <barcode :line=\"data.charges[0].line\"/>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapGetters } from \"vuex\";\nimport Barcode from \"@/views/web/checkout/OrderTypes/components/Barcode.vue\";\n\nimport FormatterHelper from \"@/scripts/helpers/formatter.helper\";\nimport CheckoutService from \"@/scripts/services/checkout.service\";\n\nexport default {\n  props: [\"params\", \"data\"],\n  components: {\n    'barcode': Barcode\n  },\n  data() {\n    return {\n      formatterHelper: new FormatterHelper(),\n      checkoutService: new CheckoutService()\n    };\n  },\n  computed: {\n    ...mapGetters([\n      \"checkoutValue\",\n      \"selectedInstallment\"\n    ]),\n    dueAt() {\n      return new Date(this.data.charges[0].due_at).toLocaleDateString('en-GB');\n    },\n    barcode() {\n      const data = this.data.charges[0].line;\n      return data.replaceAll('.','').replaceAll(' ','');\n    }\n  },\n  methods: {\n    download() {\n      this.checkoutService.getTicket(this.data.charges[0].url).then((blob) => {\n        const filename = `boleto-${new Date().toISOString().replace(/\\D/g, '')}.pdf`;\n\n        const url = window.URL.createObjectURL(blob);\n        const link = document.createElement(\"a\");\n\n        link.setAttribute('download', filename);\n        link.href = url;\n\n        document.body.appendChild(link);\n\n        link.click();\n\n        document.body.removeChild(link);\n      })\n    },\n    copy() {\n      navigator.clipboard.writeText(this.data.charges[0].line)\n      this.$store.commit(\n        \"SET_SNACKBAR_SUCCESS_MESSAGE\",\n        \"Código de barras copiado com sucesso!\"\n      );\n    }\n  },\n};\n</script>\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order-approved-content\"},[_c('h1',[_vm._v(\"Agora é só pagar o boleto abaixo:\")]),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('div',{staticClass:\"active-installment\"},[_c('div',{staticClass:\"installment\"},[_c('p',[_vm._v(_vm._s(_vm.dueAt))]),_vm._v(\" \"),_c('p',[_vm._v(\"R$ \"+_vm._s(_vm.formatterHelper.formatMoney(_vm.selectedInstallment ? _vm.selectedInstallment.total_value: _vm.data.total_amount)))])]),_vm._v(\" \"),_c('div',{staticClass:\"active-installment-actions\",staticStyle:{\"justify-content\":\"center\"}},[_c('v-btn',{staticClass:\"btn btn-primary\",style:(!_vm.disableButton ? { 'background-color': 'rgba(var(--theme-primaria)) !important' } : {}),on:{\"click\":_vm.copy}},[_c('i',{staticClass:\"fal fa-copy\"}),_vm._v(\"\\n        Copiar código de barras\\n      \")]),_vm._v(\" \"),_c('v-btn',{staticClass:\"btn btn-primary\",style:(!_vm.disableButton ? { 'background-color': 'rgba(var(--theme-primaria)) !important' } : {}),on:{\"click\":_vm.download}},[_c('i',{staticClass:\"fal fa-download\"}),_vm._v(\"\\n        Baixar boleto\\n      \")])],1),_vm._v(\" \"),_c('barcode',{attrs:{\"line\":_vm.data.charges[0].line}})],1)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Boleto.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Boleto.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5048b65f\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Boleto.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n  __vue_script__,\n  __vue_render__,\n  __vue_static_render_fns__,\n  __vue_template_functional__,\n  __vue_styles__,\n  __vue_scopeId__,\n  __vue_module_identifier__\n)\n\nexport default Component.exports\n","<template>\n  <div class=\"order-approved-content\">\n    <h1>Agora é só pagar com o código Pix abaixo:</h1>\n    <v-divider></v-divider>\n    <div class=\"order-approved-content-value\">\n      <p>Valor do Pix</p>\n      <p>\n        <strong style=\"color: rgba(var(--theme-primaria));\">R$ {{ formatterHelper.formatMoney(this.selectedInstallment.total_value) }}</strong>\n      </p>\n    </div>\n    <div>\n      <img v-if=\"!data.charges[0].base_64\" width=\"226px\" :src=\"data.charges[0].qr_code_url\" :alt=\"`QR Code`\" />\n      <img v-else width=\"226px\" :src=\"'data:image/png;base64,'+data.charges[0].qr_code\" :alt=\"`QR Code`\" />\n    </div>\n\n    <!-- <div class=\"order-approved-content-expiration\">\n      <p>O código expira em</p>\n      <p>\n        <strong>12:54</strong>\n      </p>\n    </div> -->\n\n    <p>\n      <strong>Ou copie e cole o código PIX</strong>\n    </p>\n\n    <div class=\"order-approved-content-copy\">\n      {{ data.charges[0].qr_code_copy_and_paste }}\n    </div>\n\n    <div class=\"order-approved-content-copy-action\">\n      <v-btn @click=\"copyPixCode\" class=\"btn btn-primary full\"\n      :style=\"!disableButton ? {'background-color': 'rgba(var(--theme-primaria)) !important'} : {}\"\n      >\n        <i class=\"fal fa-copy\"></i>\n        Copiar código Pix\n      </v-btn>\n    </div>\n  </div>\n</template>\n\n<script>\n// VUEX\nimport { mapGetters } from \"vuex\";\n\n// Helpers\nimport FormatterHelper from \"@/scripts/helpers/formatter.helper\";\n\nexport default {\n  props: [\"params\",\"data\"],\n  data() {\n    return {\n      formatterHelper: new FormatterHelper(),\n    };\n  },\n  computed: {\n    ...mapGetters([\n      \"checkoutValue\",\n      \"selectedInstallment\"\n    ]),\n  },\n  methods: {\n    copyPixCode() {\n      navigator.clipboard.writeText(this.data.charges[0].qr_code_copy_and_paste);\n      this.$store.commit(\n        \"SET_SNACKBAR_SUCCESS_MESSAGE\",\n        \"Código PIX copiado com sucesso!\"\n      );\n    },\n  },\n};\n</script>\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"order-approved-content\"},[_c('h1',[_vm._v(\"Agora é só pagar com o código Pix abaixo:\")]),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('div',{staticClass:\"order-approved-content-value\"},[_c('p',[_vm._v(\"Valor do Pix\")]),_vm._v(\" \"),_c('p',[_c('strong',{staticStyle:{\"color\":\"rgba(var(--theme-primaria))\"}},[_vm._v(\"R$ \"+_vm._s(_vm.formatterHelper.formatMoney(this.selectedInstallment.total_value)))])])]),_vm._v(\" \"),_c('div',[(!_vm.data.charges[0].base_64)?_c('img',{attrs:{\"width\":\"226px\",\"src\":_vm.data.charges[0].qr_code_url,\"alt\":\"QR Code\"}}):_c('img',{attrs:{\"width\":\"226px\",\"src\":'data:image/png;base64,'+_vm.data.charges[0].qr_code,\"alt\":\"QR Code\"}})]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"order-approved-content-copy\"},[_vm._v(\"\\n    \"+_vm._s(_vm.data.charges[0].qr_code_copy_and_paste)+\"\\n  \")]),_vm._v(\" \"),_c('div',{staticClass:\"order-approved-content-copy-action\"},[_c('v-btn',{staticClass:\"btn btn-primary full\",style:(!_vm.disableButton ? {'background-color': 'rgba(var(--theme-primaria)) !important'} : {}),on:{\"click\":_vm.copyPixCode}},[_c('i',{staticClass:\"fal fa-copy\"}),_vm._v(\"\\n      Copiar código Pix\\n    \")])],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"Ou copie e cole o código PIX\")])])}]\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Pix.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./Pix.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-200e248c\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./Pix.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n  __vue_script__,\n  __vue_render__,\n  __vue_static_render_fns__,\n  __vue_template_functional__,\n  __vue_styles__,\n  __vue_scopeId__,\n  __vue_module_identifier__\n)\n\nexport default Component.exports\n","<template>\n  <v-layout checkout-container d-flex justify-center align-center>\n    <v-layout checkout-content d-flex flex-column align-center>\n      <v-card>\n        <v-progress-linear\n          :active=\"loading\"\n          :indeterminate=\"true\"\n          color=\"blue\"\n        ></v-progress-linear>\n        <v-card-text :style=\"`opacity: ${loading ? 0.6 : 1};`\">\n          <div class=\"card-layout\">\n            <div class=\"order-approved-head\">\n              <i class=\"fas fa-times-circle\" style=\"color: red\"></i>\n              <h1>Pagamento não aprovado!</h1>\n              <p>Valor total de <strong style=\"color: rgba(var(--theme-primaria));\">R$ {{formatterHelper.formatMoney(checkoutValue)}}</strong></p>\n              <div class=\"order-info\">\n                <h2>\n                  Pedido n° <strong style=\"color: rgba(var(--theme-primaria));\">{{ data.cart_id }}</strong> não foi processado.\n                </h2>\n                <p v-if=\"data.payment_method === 'boleto'\">\n                  Estamos aguardando o pagamento, a confirmação do pagamento poderá levar até 2 dias úteis.\n                </p>\n                <p v-else>\n                  Esta doação foi reprovada pela operadora, entre em contato com o seu banco.\n                </p>\n              </div>\n            </div>\n            <slot v-if=\"method !== 'none'\" :name=\"method\"></slot>\n          </div>\n          <div class=\"order-approved-campaign\">\n            <div class=\"order-approved-campaign-details\">\n              <p>Compartilhe a campanha</p>\n              <h3 style=\"color: rgba(var(--theme-primaria));\">FLA-ANJO 2023</h3>\n              <p>através das mídias sociais abaixo:</p>\n            </div>\n            <div class=\"order-approved-campaign-social\">\n              <a :href=\"GetSocialMediaLink(SocialMedia.Whatsapp, campaign, hasProjectIncentivized ? 'incentivado' : 'semIncentivo')\" target=\"_blank\" class=\"social\">\n                <i class=\"fab fa-whatsapp\"></i>\n              </a>\n              <a :href=\"GetSocialMediaLink(SocialMedia.Facebook, campaign, hasProjectIncentivized ? 'incentivado' : 'semIncentivo')\" target=\"_blank\" class=\"social\">\n                <i class=\"fab fa-facebook-f\"></i>\n              </a>\n              <a :href=\"GetSocialMediaLink(SocialMedia.Linkedin, campaign, hasProjectIncentivized ? 'incentivado' : 'semIncentivo')\" target=\"_blank\" class=\"social\">\n                <i class=\"fab fa-linkedin-in\"></i>\n              </a>\n              <a :href=\"GetSocialMediaLink(SocialMedia.Twitter, campaign, hasProjectIncentivized ? 'incentivado' : 'semIncentivo')\" target=\"_blank\" class=\"social\">\n                <i class=\"fab fa-twitter\"></i>\n              </a>\n            </div>\n          </div>\n        </v-card-text>\n\n        <v-divider></v-divider>\n\n        <v-card-actions class=\"box-shadow\">\n          <v-btn \n              :disabled=\"loading\" \n              class=\"btn btn-primary outline\"\n              @click=\"gotoCampaignLP\"\n              :style=\"[!disableButton ? {'color': 'rgba(var(--theme-primaria)) !important'}: {},\n                        !disableButton ? {'border-color': 'rgba(var(--theme-primaria)) !important'} : {}]\"\n              >\n            <i class=\"fal fa-angle-left\"></i>\n            Voltar para a campanha\n          </v-btn>\n          <v-spacer></v-spacer>\n          <v-btn :loading=\"loading\" class=\"btn btn-primary\"\n            @click=\"gotoDashboard\"\n            :style=\"!disableButton ? {'background-color': 'rgba(var(--theme-primaria)) !important'} : {}\"\n          >\n            Suas doações\n            <i class=\"fal fa-angle-right\"></i>\n          </v-btn>\n        </v-card-actions>\n      </v-card>\n    </v-layout>\n  </v-layout>\n</template>\n\n<style scoped>\n.box-shadow {\n  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n  border-top: 1px solid #E0E1E2 !important;\n}\n</style>\n\n<script>\n// VUEX\nimport { mapGetters } from \"vuex\";\n\n// Helpers\nimport FormatterHelper from \"@/scripts/helpers/formatter.helper\";\n\n// Enums\nimport { Routes } from \"@/scripts/models/enums/routes.enum\";\nimport {\n  SocialMedia,\n  GetSocialMediaLink\n} from \"@/scripts/models/enums/socialMedias.enum\";\n\n// Services\nimport CartService from \"@/scripts/services/cart.service\";\n\nexport default {\n  props: [\"method\",\"data\"],\n  computed: {\n    ...mapGetters([\n      \"checkoutValue\",\n      \"cartSuccess\"\n    ]),\n  },\n  data() {\n    return {\n      formatterHelper: new FormatterHelper(),\n      loading: false,\n      GetSocialMediaLink: GetSocialMediaLink,      \n      SocialMedia: SocialMedia,\n      hasProjectIncentivized: false,\n      campaign: Object,      \n      cartService: new CartService(null),\n    };\n  },\n  methods: {\n    gotoCampaignLP() {\n      this.$router.push({ name: Routes.app.CampaignLandingPage });\n    },\n    gotoDashboard() {\n      this.$router.push({ name: Routes.app.DashboardPF });\n    },\n  },\n  created() {    \n    if (!this.cartSuccess) return\n\n    const finishedCartId = this.cartSuccess.cartId;\n\n    this.campaign = this.cartSuccess.campaign;\n    \n    this.cartService.getCartById(finishedCartId).then(data => {\n      const haveProjects = data && data.campaign && data.campaign.campaignProjectList;\n\n      if (!haveProjects) {\n        this.hasProjectIncentivized = false;\n        return;\n      }\n\n      this.hasProjectIncentivized = data.campaign.campaignProjectList.some((el) => el.project.incentiveLawId != null);\n    });\n    \n  }\n};\n</script>\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-layout',{attrs:{\"checkout-container\":\"\",\"d-flex\":\"\",\"justify-center\":\"\",\"align-center\":\"\"}},[_c('v-layout',{attrs:{\"checkout-content\":\"\",\"d-flex\":\"\",\"flex-column\":\"\",\"align-center\":\"\"}},[_c('v-card',[_c('v-progress-linear',{attrs:{\"active\":_vm.loading,\"indeterminate\":true,\"color\":\"blue\"}}),_vm._v(\" \"),_c('v-card-text',{style:((\"opacity: \" + (_vm.loading ? 0.6 : 1) + \";\"))},[_c('div',{staticClass:\"card-layout\"},[_c('div',{staticClass:\"order-approved-head\"},[_c('i',{staticClass:\"fas fa-times-circle\",staticStyle:{\"color\":\"red\"}}),_vm._v(\" \"),_c('h1',[_vm._v(\"Pagamento não aprovado!\")]),_vm._v(\" \"),_c('p',[_vm._v(\"Valor total de \"),_c('strong',{staticStyle:{\"color\":\"rgba(var(--theme-primaria))\"}},[_vm._v(\"R$ \"+_vm._s(_vm.formatterHelper.formatMoney(_vm.checkoutValue)))])]),_vm._v(\" \"),_c('div',{staticClass:\"order-info\"},[_c('h2',[_vm._v(\"\\n                Pedido n° \"),_c('strong',{staticStyle:{\"color\":\"rgba(var(--theme-primaria))\"}},[_vm._v(_vm._s(_vm.data.cart_id))]),_vm._v(\" não foi processado.\\n              \")]),_vm._v(\" \"),(_vm.data.payment_method === 'boleto')?_c('p',[_vm._v(\"\\n                Estamos aguardando o pagamento, a confirmação do pagamento poderá levar até 2 dias úteis.\\n              \")]):_c('p',[_vm._v(\"\\n                Esta doação foi reprovada pela operadora, entre em contato com o seu banco.\\n              \")])])]),_vm._v(\" \"),(_vm.method !== 'none')?_vm._t(_vm.method):_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"order-approved-campaign\"},[_c('div',{staticClass:\"order-approved-campaign-details\"},[_c('p',[_vm._v(\"Compartilhe a campanha\")]),_vm._v(\" \"),_c('h3',{staticStyle:{\"color\":\"rgba(var(--theme-primaria))\"}},[_vm._v(\"FLA-ANJO 2023\")]),_vm._v(\" \"),_c('p',[_vm._v(\"através das mídias sociais abaixo:\")])]),_vm._v(\" \"),_c('div',{staticClass:\"order-approved-campaign-social\"},[_c('a',{staticClass:\"social\",attrs:{\"href\":_vm.GetSocialMediaLink(_vm.SocialMedia.Whatsapp, _vm.campaign, _vm.hasProjectIncentivized ? 'incentivado' : 'semIncentivo'),\"target\":\"_blank\"}},[_c('i',{staticClass:\"fab fa-whatsapp\"})]),_vm._v(\" \"),_c('a',{staticClass:\"social\",attrs:{\"href\":_vm.GetSocialMediaLink(_vm.SocialMedia.Facebook, _vm.campaign, _vm.hasProjectIncentivized ? 'incentivado' : 'semIncentivo'),\"target\":\"_blank\"}},[_c('i',{staticClass:\"fab fa-facebook-f\"})]),_vm._v(\" \"),_c('a',{staticClass:\"social\",attrs:{\"href\":_vm.GetSocialMediaLink(_vm.SocialMedia.Linkedin, _vm.campaign, _vm.hasProjectIncentivized ? 'incentivado' : 'semIncentivo'),\"target\":\"_blank\"}},[_c('i',{staticClass:\"fab fa-linkedin-in\"})]),_vm._v(\" \"),_c('a',{staticClass:\"social\",attrs:{\"href\":_vm.GetSocialMediaLink(_vm.SocialMedia.Twitter, _vm.campaign, _vm.hasProjectIncentivized ? 'incentivado' : 'semIncentivo'),\"target\":\"_blank\"}},[_c('i',{staticClass:\"fab fa-twitter\"})])])])]),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card-actions',{staticClass:\"box-shadow\"},[_c('v-btn',{staticClass:\"btn btn-primary outline\",style:([!_vm.disableButton ? {'color': 'rgba(var(--theme-primaria)) !important'}: {},\n                      !_vm.disableButton ? {'border-color': 'rgba(var(--theme-primaria)) !important'} : {}]),attrs:{\"disabled\":_vm.loading},on:{\"click\":_vm.gotoCampaignLP}},[_c('i',{staticClass:\"fal fa-angle-left\"}),_vm._v(\"\\n          Voltar para a campanha\\n        \")]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('v-btn',{staticClass:\"btn btn-primary\",style:(!_vm.disableButton ? {'background-color': 'rgba(var(--theme-primaria)) !important'} : {}),attrs:{\"loading\":_vm.loading},on:{\"click\":_vm.gotoDashboard}},[_vm._v(\"\\n          Suas doações\\n          \"),_c('i',{staticClass:\"fal fa-angle-right\"})])],1)],1)],1)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","function injectStyle (context) {\n  require(\"!!vue-style-loader!css-loader?minimize!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5a5559e5\\\",\\\"scoped\\\":true,\\\"sourceMap\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./OrderNotApprovedWrapper.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./OrderNotApprovedWrapper.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./OrderNotApprovedWrapper.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5a5559e5\\\",\\\"hasScoped\\\":true,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./OrderNotApprovedWrapper.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-5a5559e5\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n  __vue_script__,\n  __vue_render__,\n  __vue_static_render_fns__,\n  __vue_template_functional__,\n  __vue_styles__,\n  __vue_scopeId__,\n  __vue_module_identifier__\n)\n\nexport default Component.exports\n","<template>\n  <OrderNotApprovedWrapper :method=\"method\" :data=\"data\">\n    <template #boleto>\n      <Boleto :data=\"data\" />\n    </template>\n    <template #pix>\n      <Pix :data=\"data\" />\n    </template>\n    <template #none>\n      <Pix />\n    </template>\n  </OrderNotApprovedWrapper>\n</template>\n\n<script>\nimport Boleto from \"./OrderTypes/Boleto.vue\";\nimport Pix from \"./OrderTypes/Pix.vue\";\nimport OrderNotApprovedWrapper from \"./OrderNotApprovedWrapper.vue\";\nimport { mapActions } from \"vuex\";\n\nexport default {\n  components: { OrderNotApprovedWrapper, Boleto, Pix },\n  data() {\n    return {};\n  },\n  methods: {\n    ...mapActions([\"removeToCart\"]),\n\n  },\n\n  destroyed() {\n    const cart = localStorage.getItem(\"cart\");\n\n    const cartObject = JSON.parse(cart);\n\n    cartObject.cartItems.forEach((item) => {\n      this.removeToCart(item);\n    });\n  },\n\n  computed: {\n    method() {\n      const method = this.$route.query.method || \"none\";\n      return method;\n    },\n    data() {\n      return this.$route.params.data || \"none\";\n    }\n\n\n  },\n};\n</script>\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('OrderNotApprovedWrapper',{attrs:{\"method\":_vm.method,\"data\":_vm.data},scopedSlots:_vm._u([{key:\"boleto\",fn:function(){return [_c('Boleto',{attrs:{\"data\":_vm.data}})]},proxy:true},{key:\"pix\",fn:function(){return [_c('Pix',{attrs:{\"data\":_vm.data}})]},proxy:true},{key:\"none\",fn:function(){return [_c('Pix')]},proxy:true}])})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./OrderNotApproved.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./OrderNotApproved.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-704f94d8\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./OrderNotApproved.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n  __vue_script__,\n  __vue_render__,\n  __vue_static_render_fns__,\n  __vue_template_functional__,\n  __vue_styles__,\n  __vue_scopeId__,\n  __vue_module_identifier__\n)\n\nexport default Component.exports\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/index.js?minimize!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"id\\\":\\\"data-v-5a5559e5\\\",\\\"scoped\\\":true,\\\"sourceMap\\\":false}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./OrderNotApprovedWrapper.vue\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"7eb75508\", content, true, {});","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\\n.box-shadow[data-v-5a5559e5] {\\n  -webkit-box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\\n          box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\\n  border-top: 1px solid #E0E1E2 !important;\\n}\\n\", \"\"]);\n\n// exports\n"],"sourceRoot":""}