PageSourceSearch

https://crecimiento-poderoso-web.lovable.app/assets/dashboard-BSNcl-PU.js

js crecimiento-poderoso-web.lovable.app collected 2026-10-03 03:27:01 UTC 18,730 bytes, 1 lines download raw bytes

vendor: 5,061 bytes, line 1
1import{n as e}from"./chunk-Bh1tDfsg.js";import{G as t,o as n}from"./useStore-D5L8P9yy.js";import{n as r}from"./auth-middleware-DbwRWj6Y.js";import{i,o as a,r as o,t as s}from"./agreement-pdf-vqzpsQyq.js";import{T as c,_ as l,a as u,b as d,c as f,d as p,f as m,g as h,h as g,i as _,l as v,m as y,n as b,o as x,p as S,r as C,s as w,u as T,v as E,w as D,y as O}from"./index-C_kwsRo6.js";import{a as k,n as A,r as j,t as M}from"./site-chrome-DJjIYWlM.js";import{a as N,i as P,o as F,r as I}from"./meetings.functions-DVukeiNe.js";import{t as ee}from"./copy-DPGxUBgv.js";import{t as te}from"./download-JJ6-XYaW.js";var ne=class extends O{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=x(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),R(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return z(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return z(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof m(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!y(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&B(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||m(this.options.enabled,this.#t)!==m(t.enabled,this.#t)||S(this.options.staleTime,this.#t)!==S(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||m(this.options.enabled,this.#t)!==m(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return H(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(T)),t}#g(){this.#b();let e=S(this.options.staleTime,this.#t);if(w.isServer()||this.#r.isStale||!v(e))return;let t=h(this.#r.dataUpdatedAt,e)+1;this.#d=l.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(w.isServer()||m(this.options.enabled,this.#t)===!1||!v(this.#p)||this.#p===0)&&(this.#f=l.setInterval(()=>{(this.options.refetchIntervalInBackground||E.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(l.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(l.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&R(e,t),o=i&&B(e,n,t,r);(a||o)&&(l={...l,..._(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:h,status:g}=l;d=l.data;let v=!1;if(t.placeholderData!==void 0&&d===void 0&&g===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,v=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(g=`success`,d=p(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!v)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=p(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,h=Date.now(),g=`error`);let y=l.fetchStatus===`fetching`,b=g===`pending`,S=g===`error`,C=b&&y,w=d!==void 0,T={status:g,fetchStatus:l.fetchStatus,isPending:b,isSuccess:g===`success`,isError:S,isInitialLoading:C,isLoading:C,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:h,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdate
1Count:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:y,isRefetching:y&&!b,isLoadingError:S&&!w,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:S&&w,isStale:V(e,t),refetch:this.refetch,promise:this.#o,isEnabled:m(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=T.data!==void 0,r=T.status===`error`&&!t,i=e=>{r?e.reject(T.error):t&&e.resolve(T.data)},a=()=>{i(this.#o=T.promise=x())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||T.data!==o.value)&&a();break;case`rejected`:(!r||T.error!==o.reason)&&a();break}}return T}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!y(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){u.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function L(e,t){return m(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&m(t.retryOnMount,e)===!1)}function R(e,t){return L(e,t)||e.state.data!==void 0&&z(e,t,t.refetchOnMount)}function z(e,t,n){if(m(t.enabled,e)!==!1&&S(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&V(e,t)}return!1}function B(e,t,n,r){return(e!==t||m(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&V(e,n)}function V(e,t){return m(t.enabled,e)!==!1&&e.isStaleByTime(S(t.staleTime,e))}function H(e,t){return!y(e.getCurrentResult(),t)}var U=class extends O{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),y(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&f(t.mutationKey)!==f(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??C();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){u.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},W=e(t(),1),G=W.createContext(!1),K=()=>W.useContext(G);G.Provider;var q=n();function J(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Y=W.createContext(J()),X=()=>
1W.useContext(Y),re=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?g(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},ie=e=>{W.useEffect(()=>{e.clearReset()},[e])},ae=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||g(n,[e.error,r])),oe=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},se=(e,t)=>e.isLoading&&e.isFetching&&!t,ce=(e,t)=>e?.suspense&&t.isPending,Z=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function le(e,t,n){let r=K(),i=X(),a=b(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,oe(o),re(o,i,s),ie(i);let l=!a.getQueryCache().get(o.queryHash),[d]=W.useState(()=>new t(a,o)),f=d.getOptimisticResult(o),p=!r&&c;if(W.useSyncExternalStore(W.useCallback(e=>{let t=p?d.subscribe(u.batchCalls(e)):T;return d.updateResult(),t},[d,p]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),W.useEffect(()=>{d.setOptions(o)},[o,d]),ce(o,f))throw Z(o,d,i);if(ae({result:f,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw f.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,f),o.experimental_prefetchInRender&&!w.isServer()&&se(f,r)&&(l?Z(o,d,i):s?.promise)?.catch(T).finally(()=>{d.updateResult()}),o.notifyOnChangeProps?f:d.trackResult(f)}function Q(e,t){return le(e,ne,t)}function $(e,t){let n=b(t),[r]=W.useState(()=>new U(n,e));W.useEffect(()=>{r.setOptions(e)},[r,e]);let i=W.useSyncExternalStore(W.useCallback(e=>r.subscribe(u.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=W.useCallback((e,t)=>{r.mutate(e,t).catch(T)},[r]);if(i.error&&g(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var ue=k(`inbox`,[[`polyline`,{points:`22 12 16 12 14 15 10 15 8 12 2 12`,key:`o97t9d`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}]]),de=k(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),fe=k(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),pe=k(`phone`,[[`path`,{d:`M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384`,key:`9njp5v`}]]),me=[{value:`nuevo`,label:`Nuevo`},{value:`agendado`,label:`Agendado`},{value:`reunion_realizada`,label:`Reunión realizada`},{value:`cerrado`,label:`Cerrado`},{value:`descartado`,label:`Descartado`}];function he(){let e=c(),[t,n]=(0,W.useState)(!1),l=b(),u=a(I),f=a(P),p=a(o),{data:m,isLoading:h,error:g}=Q({queryKey:[`meeting-requests`],queryFn:()=>u()}),{data:_}=Q({queryKey:[`agreements`],queryFn:()=>p()}),v=_?.agreements??[],y=$({mutationFn:e=>f({data:e}),onSuccess:()=>l.invalidateQueries({queryKey:[`meeting-requests`]})}),x=m?.requests??[],S=x.filter(e=>e.slot_date).length;return(0,q.jsxs)(`div`,{className:`min-h-screen text-foreground`,children:[(0,q.jsx)(A,{}),(0,q.jsxs)(`section`,{className:`mx-auto max-w-6xl px-6 py-14`,children:[(0,q.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-4`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`h1`,{className:`text-4xl font-black md:text-5xl`,children:[`Panel de `,(0,q.jsx)(`span`,{className:`text-gold-gradient`,children:`solicitudes`})]}),(0,q.jsx)(`p`,{className:`mt-2 text-muted-foreground`,children:`Cada pedido de reunión llega aquí y se notifica a [email protected].`})]}),(0,q.jsxs)(j,{variant:`outlineGold`,onClick:async()=>{await d.auth.signOut(),e({to:`/auth`})},children:[(0,q.jsx)(de,{className:`size-4`}),` Salir`]})]}),(0,q.jsxs)(`div`,{className:`mt-8 grid gap-4 sm:grid-cols-3`,children:[(0,q.jsxs)(`div`,{className:`rounded-3xl border border-border bg-card p-6`,children:[(0,q.jsx)(ue,{className:`size-6 text-gold`}),(0,q.jsx)(`p`,{className:`mt-3 text-4xl font-black`,children:x.length}),(0,q.jsx)(`p`,{className:`text-sm font-semibold text-muted-foreground`,children:`Solicitudes recibidas`})]}),(0,q.jsxs)(`div`,{className:`rounded-3xl border border-gold/50 bg-card p-6`,children:[(0,q.jsx)(N,{className:`size-6 text-gold`}),(0,q.jsx)(`p`,{className:`mt-3 text-4xl font-black`,children:S}),(0,q.jsx)(`p`,{className:`text-sm font-semibold text-muted-foreground`,children:`Entrevistas agendadas`})]}),(0,q.jsxs)(`div`,{className:`rounded-3xl border border-gold/50 bg-card p-6`,children:[(0,q.jsx)(F,{className:`size-6 text-gold`}),(0,q.jsx)(`p`,{className:`mt-3 text-4xl font-black`,children:v.length}),(0,q.jsx)(`p`,{className:`text-sm font-semibold text-muted-foreground`,children:`Clientes confirmados`})]})]}),(0,q.jsxs)(`div`,{className:`mt-4 rounded-[2rem] border border-gold/50 bg-card p-7`,children:[(0,q.jsxs)(`h2`,{className:`flex items-center gap-2 text-2xl font-extrabold`,children:[(0,q.jsx)(i,{className:`size-5 text-gold`}),` Acuerdo de inicio`]}),(0,q.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`Página privada: no aparece en el sitio público. Ábrela para mostrarla durante la entrevista o copia el enlace y envíaselo al entrevistado para que elija su nivel y firme.`}),(0,q.jsxs)(`div`,{className:`mt-5 flex flex-wrap gap-3`,children:[(0,q.jsx)(j,{asChild:!0,variant:`hero`,children:(0,q.jsx)(D,{to:`/valores`,children:`Abrir acuerdo`})}),(0,q.jsxs)(j,{variant:`outlineGold`,onClick:()=>{navigator.clipboard.writeText(`${window.location.origin}/valores`),n(!0),setTimeout(()=>n(!1),2e3)},children:[(0,q.jsx)(ee,{className:`size-4`}),` `,t?`Enlace copiado`:`Copiar enlace`]})]}),(0,q.jsxs)(`div`,{className:`mt-4 rounded-[2rem] border border-gold/50 bg-card p-7`,children:[(0,q.jsxs)(`h2`,{className:`flex items-center gap-2 text-2xl font-extrabold`,children:[(0,q.jsx)(F,{className:`size-5 text-gold`}),` Clientes confirmados`]}),(0,q.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`Acuerdos firmados digitalmente. Descarga la copia en PDF con los datos, el nivel contratado, los términos y la firma.`}),(0,q.jsxs)(`div`,{className:`mt-5 space-y-3`,children:[v.map(e=>(0,q.jsxs)(`div`,{className:`flex flex-wrap items-center justify-between gap-4 roun
1ded-2xl border border-border p-5`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`text-lg font-extrabold`,children:e.empresa}),(0,q.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[e.nivel,` · `,e.monto||`valor a confirmar`,` · firmado por `,e.firmante]}),(0,q.jsxs)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:[e.email,e.telefono?` · ${e.telefono}`:``,` ·`,` `,new Date(e.created_at).toLocaleString(`es-US`)]})]}),(0,q.jsxs)(j,{variant:`outlineGold`,onClick:()=>s(e),children:[(0,q.jsx)(te,{className:`size-4`}),` PDF del acuerdo`]})]},e.id)),v.length===0&&(0,q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Todavía no hay acuerdos firmados.`})]})]})]}),h&&(0,q.jsx)(`p`,{className:`mt-10 text-muted-foreground`,children:`Cargando solicitudes…`}),g&&(0,q.jsx)(`p`,{className:`mt-10 font-semibold text-destructive`,children:`No se pudieron cargar las solicitudes. Verifica que tu usuario tenga permiso de administrador.`}),(0,q.jsxs)(`div`,{className:`mt-8 space-y-4`,children:[x.map(e=>(0,q.jsxs)(`article`,{className:`rounded-[2rem] border border-border bg-card p-7`,children:[(0,q.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-4`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`h2`,{className:`flex items-center gap-2 text-2xl font-extrabold`,children:[(0,q.jsx)(r,{className:`size-5 text-gold`}),` `,e.empresa]}),(0,q.jsx)(`p`,{className:`mt-1 font-semibold`,children:e.nombre})]}),(0,q.jsxs)(`div`,{className:`text-right text-sm text-muted-foreground`,children:[(0,q.jsx)(`p`,{children:new Date(e.created_at).toLocaleString(`es-US`)}),e.slot_date&&(0,q.jsxs)(`p`,{className:`mt-1 font-bold text-gold`,children:[`Entrevista: `,e.slot_date,` · `,e.slot_time]})]})]}),(0,q.jsxs)(`div`,{className:`mt-4 flex flex-wrap gap-5 text-sm font-medium`,children:[(0,q.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,q.jsx)(fe,{className:`size-4 text-gold`}),` `,e.email]}),e.telefono&&(0,q.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,q.jsx)(pe,{className:`size-4 text-gold`}),` `,e.telefono]}),e.empleados&&(0,q.jsxs)(`span`,{children:[`Empleados: `,e.empleados]})]}),e.mensaje&&(0,q.jsx)(`p`,{className:`mt-4 text-muted-foreground`,children:e.mensaje}),(0,q.jsx)(`div`,{className:`mt-5 flex flex-wrap gap-2`,children:me.map(t=>(0,q.jsx)(`button`,{type:`button`,disabled:y.isPending,onClick:()=>y.mutate({id:e.id,status:t.value}),className:`rounded-full border px-4 py-2 text-xs font-bold transition-colors ${e.status===t.value?`border-gold bg-gold-gradient text-ink`:`border-border hover:border-gold/60`}`,children:t.label},t.value))})]},e.id)),!h&&!g&&x.length===0&&(0,q.jsx)(`p`,{className:`text-muted-foreground`,children:`Todavía no hay solicitudes.`})]})]}),(0,q.jsx)(M,{})]})}export{he as component};

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.