import"./p-445fd8b4.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])),i=s=>!(!s||Array.isArray(s))&&n.some((e=>!!s[e]));export{e as g,i as h,o as i};