import{k as d,c,o as m,b as i,F as p}from"./app-BidmlC59.js";const l={__name:"PaymentRedirect",props:{action:String,method:String,inputs:Object},setup(r){const o=r;return d(()=>{const t=document.createElement("form");t.method=o.method,t.action=o.action,Object.entries(o.inputs).forEach(([e,a])=>{const n=document.createElement("input");n.type="hidden",n.name=e,n.value=a,t.appendChild(n)}),document.body.appendChild(t),t.submit()}),(t,e)=>(m(),c(p,null,[e[0]||(e[0]=i("div",{style:{width:"100%","text-align":"center","margin-top":"40px",direction:"rtl"}},"در حال هدایت به درگاه پرداخت...",-1)),e[1]||(e[1]=i("div",{style:{width:"100%","text-align":"center","margin-top":"20px",direction:"rtl"}},"(فیلترشکن قبل از پرداخت باید خاموش باشد)",-1))],64))}};export{l as default};
