import{i as l,m as e}from"./sdks-Iaiwpgkq.js";var a={all:()=>["scores"],list:l=>[...a.all(),l]};function o({include:o,location:n,geographyId:s}){const{client:t,locale:r}=l(),c={locationScoresRounding:!1,include:o};return s?c.geographyIds=[s]:(c.lat=n.lat,c.lng=n.lng,c.geographyLevels=["20","30"]),e({queryKey:a.list({...c,locale:r}),queryFn:async()=>t.getScores(c),staleTime:1/0,enabled:!!n?.lat&&!!n?.lng||!!s})}export{o as t};
//# sourceMappingURL=useScores-Bhpjw7vl.js.map