import"./p-d6eb762b.js";import{I as o}from"./p-d30b6245.js";import"./p-888f7794.js";import"./p-be8a42cb.js";import"./p-9f421a09.js";import"./p-05b65720.js";import"./p-9b3f323d.js";import"./p-90edb445.js";import"./p-427c7543.js";import"./p-7dfab099.js";function i(o){var i,r,n,p,t,l,d;const u=null!==(l=null!==(n=null===(r=null===(i=o.data.body)||void 0===i?void 0:i.content)||void 0===r?void 0:r.description)&&void 0!==n?n:null===(t=null===(p=o.data.body)||void 0===p?void 0:p.content)||void 0===t?void 0:t.type)&&void 0!==l?l:null===(d=o.data.body)||void 0===d?void 0:d.type;return u?u.replace(".","").toLowerCase():o.level}function r(o){return null==o.value||"string"==typeof o.value}function n(o){return null!=o}function p(i){var r;return Array.isArray(i)?i.reduce(((o,i)=>o+(i.price?i.price:0)),0):o.is(i)?null!==(r=i.price)&&void 0!==r?r:0:i}export{p as a,i as g,r as h,n as i}