PageSourceSearch

https://maasy.ai/assets/usePipelineByStage-CznIexb5.js

js maasy.ai collected 2026-09-24 13:57:28 UTC 973 bytes, 2 lines download raw bytes

1import{z as o,s as d}from"./index-CuMcGkrh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b8beec55-4d2b-48ba-8197-a2de4473f494",e._sentryDebugIdIdentifier="sentry-dbid-b8beec55-4d2b-48ba-8197-a2de4473f494")}catch{}})();function c(e){return o({queryKey:["crm-pipeline",e??"all"],queryFn:async()=>{let a=d.from("crm_oportunidades").select("*, crm_empresas(id, nombre_legal, industria, sitio_web, tamano, pais, enrichment_data), crm_contactos(id, nombre, apellido, email, telefono, cargo, enrichment_data)").order("created_at",{ascending:!1});e&&(a=a.eq("project_id",e));const{data:t,error:i}=await a;if(i)throw i;const r={};return(t||[]).forEach(s=>{const n=(s.fase||"Lead Calificado").trim();r[n]||(r[n]=[]),r[n].push(s)}),r}})}export{c as u};
2//# sourceMappingURL=usePipelineByStage-CznIexb5.js.map

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.