import{F as m,m as a,P as h,_ as p,R as f,a1 as v,S as C}from"./vendor-d3O24IFR.js";import{a_ as _}from"./index-DtNTt4xe.js";import{u as b}from"./useCheckout-Duk0rK2Z.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}=_(),{loading:l,changing:d}=b(),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-Cmisn3Tv.js.map
