import{b as o,a as v}from"./p-10aa7556.js";const a=()=>o(v.formId,v.mode),i=(o="")=>{var a;return o?v.locks.some((v=>v===o)):!!(null===(a=v.locks)||void 0===a?void 0:a.length)},l=o=>{var a,i;return((null===(i=null===(a=v.checkout)||void 0===a?void 0:a.line_items)||void 0===i?void 0:i.data)||[]).find((v=>{var a,i;return(null===(i=null===(a=null==v?void 0:v.price)||void 0===a?void 0:a.product)||void 0===i?void 0:i.id)===o}))};export{i as a,a as c,l as g}