1import{bo as l,bp as _,bh as d,be as f,bf as u,bg as s,bj as a,bk as i,bq as b,br as D,bs as r}from"./_EsZVVg9.js";import{C as n}from"./v0-9Fqs6.js";import{R as c}from"./rWUwAF7R.js";import"./DOcJICED.js";import"./BvEueam4.js";import"./BZFCW_LC.js";import"./B4wlGpwE.js";import"./BMVEEE2Y.js";import"./DPOKx3CL.js";import"./Bii2ooBM.js";import"./D4Hqk9tz.js";import"./BILo_GaG.js";import"./CIR3dMIJ.js";import"./CC4QoRwP.js";import"./CltgUrgU.js";import"./ACJoWdB-.js";import"./DqRksPPf.js";import"./CGpoW0Jn.js";import"./CVv4IKZp.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a15203dc-35ab-4b7b-b5ac-fffd67a4d5dd",t._sentryDebugIdIdentifier="sentry-dbid-a15203dc-35ab-4b7b-b5ac-fffd67a4d5dd")}catch{}})();const I={name:"FenigePreAuthForm",components:{CompanyHeader:n,CompanyHeaderClean:d,RingLoader:c},middleware:[_],data(){return{threeDSMethodURL:"",threeDSMethodData:"",transactionId:"",cardId:"",intervalId:null}},mounted(){this.threeDSMethodURL=(this._.provides[r]||this.$route).params.threeDSMethodURL,this.threeDSMethodData=(this._.provides[r]||this.$route).params.threeDSMethodData,this.transactionId=(this._.provides[r]||this.$route).params.transactionId,this.cardId=(this._.provides[r]||this.$route).params.cardId,this.buildFormAndRedirect(),this.setUpInitialization()},beforeUnmount(){this.intervalId&&clearInterval(this.intervalId)},methods:{buildFormAndRedirect(){try{const t=this.$refs.preAuth,e=document.createElement("iframe");e.classList.add("hidden"),e.name="threeDSMethodIframe",e.id="threeDSMethodIframe",t.appendChild(e),this.$refs.threeDSMethodData.value=this.threeDSMethodData;const o=this.$refs.threeDSMethodForm;o.action=this.threeDSMethodURL,o.target="threeDSMethodIframe",o.method="post",setTimeout(()=>o.submit(),600)}catch{console.error("ctdsff")}},async check3DSInitialization(){try{const{url:t}=await D({transactionId:this.transactionId,cardId:this.cardId},localStorage.getItem("ato"));window.location.href=t}catch{console.error("itdstf")}},setUpInitialization(){this.intervalId=b(()=>this.check3DSInitialization(),1e4)}}},y={class:"card-details page"},g={class:"card-details__page"},S={class:"payment-processing"},v={class:"payment-processing__header"},M={class:"payment-processing__description"},$={ref:"preAuth",style:{display:"none"}},w={ref:"threeDSMethodForm",class:""},R={id:"threeDSMethodData",ref:"threeDSMethodData",type:"hidden",name:"threeDSMethodData"};function C(t,e,o,A,L,U){const h=d,p=n,m=c;return f(),u("div",y,[s(h,{class:"card-details__company-header"}),s(p,{class:"card-details__mobile-header"}),a("div",g,[a("div",S,[s(m,{class:"payment-processing__loader"}),a("h3",v,i(t.$t("pages.card.processing")),1),a("p",M,i(t.$t("pages.card.wait")),1)])]),a("div",$,[a("form",w,[a("input",R,null,512)],512)],512)])}const X=l(I,[["render",C]]);export{X as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.