import"./p-8dccb656.js";import{a as s}from"./p-401e165e.js";import{a as r}from"./p-259c3935.js";const t="surecart/v1/customers/me",e=(e="live")=>r({path:s(t,{mode:e,expand:["shipping_address","billing_address"]})}),a=["name","line_1","line_2","city","state","postal_code"],n=[...a,"country"],o=s=>!s||a.every((e=>!s[e])),c=s=>!(!s||Array.isArray(s))&&n.some((e=>!!s[e]));export{e as g,c as h,o as i};