import{b5 as l,a3 as i}from"./index-BGo1APpE.js";import{F as u,m,_ as d,R as p,e as _,a1 as C,a2 as f,a0 as h}from"./vendor-sJIIH5Cr.js";import{u as k,a as v}from"./useCheckout-vKY3Jg1X.js";import{_ as y}from"./proceed-to.vue_vue_type_script_setup_true_lang-Ck2o8LGj.js";const D=u({__name:"place-order",setup(b){const{hasOnlyUnselectedLineItems:e}=l(),{paymentMethod:a,isValidCheckout:t,createOrderFromCart:s}=k(),{isCanFinalizePayment:o}=v(),{isAuthenticated:n}=i(),r=m(()=>e.value||!t.value||n.value&&a.value?.allowCartPayment&&!o.value);return(c,F)=>(p(),d(y,{disabled:r.value,onClick:_(s)},{default:C(()=>[f(h(c.$t("common.buttons.place_order")),1)]),_:1},8,["disabled","onClick"]))}});export{D as _};
//# sourceMappingURL=place-order.vue_vue_type_script_setup_true_lang-Cq387no0.js.map
