import{k as t,a0 as s,s as l}from"./m2W8DxR4.js";import{u as o}from"./Wxbikq7x.js";function k(){const{get:r}=o(),{locale:e}=t();return s({staleTime:1e3*60*60,key:l(()=>["countries",e.value]),query:async()=>{try{return(await r("countries")).data.data}catch(n){return console.error(n instanceof Error?n.message:"Unknown error"),[]}}})}function m(){const{get:r}=o(),{locale:e}=t();return s({staleTime:1e3*60*60,key:l(()=>["services",e.value]),query:async()=>{try{return(await r("services")).data.data}catch(n){return console.error(n instanceof Error?n.message:"Unknown error"),[]}}})}function y(){const{get:r}=o();return s({staleTime:1e3*60*60,key:["socialIcons"],query:async()=>{try{const n=(await r("general")).data.data??{snapchat_link:null,facebook_link:null,instagram_link:null,tiktok_link:null,X_link:null,linkedIn_link:null,youtube_link:null};return[{name:"snapchat",link:n.snapchat_link},{name:"facebook",link:n.facebook_link},{name:"instagram",link:n.instagram_link},{name:"tiktok",link:n.tiktok_link},{name:"X",link:n.X_link},{name:"linkedIn",link:n.linkedIn_link},{name:"youtube",link:n.youtube_link}].filter(a=>a.link!==null&&a.link!==void 0&&a.link!=="")}catch(e){return console.error(e instanceof Error?e.message:"Unknown error"),[]}}})}export{m as a,k as b,y as u};
