import{a as o}from"./redux-vendor-B7uoacJt.js";import{L as y,j as c,h as a}from"./index-Vwb3Bce5.js";const m=o("FREE_BUYING_PAYMENT",async(s,{dispatch:u})=>{var r,t;try{u(y());const{data:e,status:n}=await c.get(`direct-buying-payment/?province_kill_request_key=${s}`);return u(a()),{data:e,status:n}}catch(e){return u(a()),{error:((t=(r=e.response)==null?void 0:r.data)==null?void 0:t.result)||"خطایی رخ داده است"}}});export{m as f};
