import{i as e,m as a}from"./sdks-Iaiwpgkq.js";var l={all:()=>["geographies"],list:e=>[...l.all(),e]};function t({location:t,geogID:n,externalId:r,include:s}){const{client:g}=e();return a({queryKey:l.list(t),queryFn:async()=>{const e={};return n?e.geogId=n:(e.lat=t?.lat,e.lng=t?.lng),r&&(e.externalId=r),s&&(e.include=s),(await g.getGeographies(e)).geographies},enabled:!!t?.lat&&!!t?.lng||!!n})}export{t};
//# sourceMappingURL=useGeographies-C3RMc_Uw.js.map