import{F as m,m as a,P as h,_ as p,R as f,a1 as v,S as C}from"./vendor-3e8OGtgt.js";import{b6 as b}from"./index-D8gWJXbr.js";import{u as _}from"./useCheckout-CHO_XUT0.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-prQdLsnz.js.map
