import{b9 as l,a7 as i}from"./index-PU-0vjEQ.js";import{F as u,m,_ as d,R as p,e as _,a1 as C,a2 as f,a0 as h}from"./vendor-BmRNukEL.js";import{u as k,a as v}from"./useCheckout-By_AA4n3.js";import{_ as y}from"./proceed-to.vue_vue_type_script_setup_true_lang-BaX2fUs6.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-deUKiKnH.js.map
