1import{s as e,a9 as s}from"./index-B58ZFblL.js";import"./react-daO8XSXc.js";import"./supabase-CWGMQrOR.js";import"./framer-CJI0BPWU.js";import"./lucide-DgiROqw5.js";const n=a=>a instanceof Error?a.name:typeof a,d=async(a,r)=>{const{error:o}=await e.from(s).update({idioma:r,updated_at:new Date().toISOString()}).eq("user_id",a);if(o)return console.error("Falha ao gravar o idioma:",n(o)),!1;const{error:t}=await e.auth.updateUser({data:{idioma:r}});return t&&console.error("Falha ao gravar o idioma na conta:",n(t)),!0};export{d as gravarIdioma};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.