import{F as m,P as h,_ as p,R as f,m as a,a1 as v,S as C}from"./vendor-Dd8T34zR.js";import{b8 as b}from"./index-Vd7lvnU9.js";import{u as _}from"./useCheckout-OiXWgHHw.js";const x=m({__name:"proceed-to",props:{disabled:{type:Boolean,default:!1},to:{},testId:{}},setup(t){const e=t,{loading:o,changing:n,hasValidationErrors:s}=b(),{loading:l,changing:d}=_(),c=a(()=>o.value||l.value),i=a(()=>n.value||d.value),u=a(()=>e.disabled||c.value||i.value||s.value);return(r,k)=>{const g=h("VcButton");return f(),p(g,{"data-test-id":t.testId,to:t.to,disabled:u.value,"full-width":"",class:"mt-4 print:!hidden"},{default:v(()=>[C(r.$slots,"default")]),_:3},8,["data-test-id","to","disabled"])}}});export{x as _};
//# sourceMappingURL=proceed-to.vue_vue_type_script_setup_true_lang-B_CiGIGe.js.map
