import{c as t}from"./CVq-Ik9t.js";async function g(){return t.get("/languages")}async function i(){return t.get("/admin/languages")}async function o(a,n){const s=a.startsWith("/")?a.slice(1):a;return t.post(`/pages/${s}/translate`,n)}async function r(a,n){const s=a.startsWith("/")?a.slice(1):a;return t.post(`/pages/${s}/adopt-language`,{lang:n})}async function l(a,n,s){const e=a.startsWith("/")?a.slice(1):a;return t.post(`/pages/${e}/sync`,{source_lang:n,target_lang:s})}export{i as a,r as b,o as c,g,l as s};
