PageSourceSearch

https://finanzasellibro.com/assets/Influencers-DpPQ-1nQ.js

js finanzasellibro.com collected 2026-09-25 11:35:32 UTC 8,715 bytes, 11 lines download raw bytes

1import{j as a}from"./query-mU0fktwi.js";import{a as d,r as p}from"./react-vendor-BgUoP55m.js";import{c as j,C as k,u as E,s as _,P as z,B as x}from"./index-B6tf_AuD.js";import{B as I}from"./badge-B9xwnHz9.js";import{I as S,L}from"./linkedin--I8i6VZX.js";import{G as C}from"./globe-B2K9iq36.js";import{L as b}from"./router-Dj6qTnzj.js";import{L as T}from"./loader-circle-Cluiytz5.js";import"./ui-core-C-w72VNb.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const D=j("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const U=j("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);var N={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},v=d.createContext&&d.createContext(N),B=["attr","size","title"];function A(e,r){if(e==null)return{};var t=M(e,r),n,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)n=o[s],!(r.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(t[n]=e[n])}return t}function M(e,r){if(e==null)return{};var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(r.indexOf(n)>=0)continue;t[n]=e[n]}return t}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},m.apply(this,arguments)}function y(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,n)}return t}function f(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?y(Object(t),!0).forEach(function(n){W(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function W(e,r,t){return r=q(r),r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function q(e){var r=G(e,"string");return typeof r=="symbol"?r:r+""}function G(e,r){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function w(e){return e&&e.map((r,t)=>d.createElement(r.tag,f({key:t},r.attr),w(r.child)))}function R(e){return r=>d.createElement(Y,m({attr:f({},e.attr)},r),w(e.child))}function Y(e){var r=t=>{var{attr:n,size:s,title:o}=e,i=A(e,B),l=s||t.size||"1em",c;return t.className&&(c=t.className),e.className&&(c=(c?c+" ":"")+e.className),d.createElement("svg",m({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,n,i,{className:c,style:f(f({color:e.color||t.color},t.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&d.createElement("title",null,o),e.children)};return v!==void 0?d.createElement(v.Consumer,null,t=>r(t)):r(N)}function F(e){return R({attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},child:[]}]})(e)}const H=({name:e,bio:r,specialty:t,photoUrl:n,instagramUrl:s,youtubeUrl:o,tiktokUrl:i,linkedinUrl:l,websiteUrl:c,testimonial:g})=>{const h=[{url:s,icon:S,label:"Instagram"},{url:o,icon:U,label:"YouTube"},{url:i,icon:F,label:"TikTok"},{url:l,icon:L,label:"LinkedIn"},{url:c,icon:C,label:"Sitio Web"}].filter(u=>u.url);return a.jsxs(k,{className:"p-6 hover:shadow-2xl transition-all duration-300 border-2 hover:border-primary/50 bg-card h-full flex flex-col",children:[a.jsxs("div",{className:"flex flex-col items-center text-center mb-4",children:[a.jsx("div",{className:"w-24 h-24 rounded-full overflow-hidden mb-4 border-4 border-primary/20",children:n?a.jsx("img",{src:n,alt:e,className:"w-full h-full object-cover"}):a.jsx("div",{className:"w-full h-full bg-gradient-to-br from-primary/20 to-accent/20 flex items-center justify-center",children:a.jsx("span",{className:"text-3xl font-bold text-primary",children:e.charAt(0)})})}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:e}),t&&a.jsx(I,{variant:"secondary",className:"mb-3",children:t})]}),a.jsx("p",{className:"text-muted-foreground mb-4 flex-grow",children:r}),g&&a.jsx("div",{className:"bg-accent/10 p-4 rounded-lg mb-4 border-l-4 border-primary",children:a.jsxs("p",{className:"text-sm italic text-muted-foreground",children:['"',g,'"']})}),h.length>0&&a.jsx("div",{className:"flex gap-3 justify-center pt-4 border-t border-border/50",children:h.map((u,O)=>{const P=u.icon;return a.jsx("a",{href:u.url,target:"_blank",rel:"noopener noreferrer",className:"p-2 rounded-full bg-primary/10 hover:bg-primary/20 text-primary transition-colors","aria-label":u.label,children:a.jsx(P,{className:"w-5 h-5"})},O)})})]})};function te(){const[e,r]=p.useState([]),[t,n]=p.useState(!0),{toast:s}=E();p.useEffect(()=>{o();const i=setTimeout(()=>n(!1),4e3);return()=>clearTimeout(i)},[]);const o=async()=>{try{const{data:i,error:l}=await _.from("influencers_public").select("*").order("display_order",{ascending:!0});if(l)throw l;r(i||[])}catch{s({title:"Error",description:"No se pudieron cargar los influencers",variant:"destructive"})}finally{n(!1)}};return a.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-background via-accent/5 to-background",children:[a.jsx(z,{title:"Influencers de Finanzas Personales | Finanzas El Libro",description:"Descubrí influencers especializados en finanzas personales para seguir aprendiendo después de leer el libro.",slug:"/influencers",noIndex:!0}),a.jsx("div",{className:"bg-gradient-to-r from-primary/10 via-accent/10 to-primary/10 border-b border-border/50",children:a.jsxs("div",{className:"container mx-auto px-4 py-16 text-center",children:[a.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-4 leading-tight bg-gradient-to-r from-primary to-accent bg-clip-text text-transparent",children:"Seguí Aprendiendo con Estos Expertos"}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto mb-8",children:"Después de leer el libro, profundizá tus conocimientos con estos influencers especializados en finanzas personales"}),a.jsx(b,{to:"/influencer/registro",children:a.jsxs(x,{size:"lg",className:"gap-2",children:[a.jsx(D,{className:"w-5 h-5"}),"¿Sos influencer? Registrate aquí"]})})]})}),a.jsx("div",{className:"container mx-auto px-4 py-16",children:t?a.jsx("div",{className:"flex justify-center items-center py-20",children:a.jsx(T,{className:"w-8 h-8 animate-spin text-primary"})}):e.length===0?a.jsxs("div",{className:"text-center py-20",children:[a.jsx("p",{className:"text-xl text-muted-foreground mb-6",children:"Todavía no hay influencers registrados"}),a.jsx(b,{to:"/influencer/registro",children:a.jsx(x,{children:"Sé el primero en registrarte"})})]}):a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(i=>a.jsx(H,{name:i.name,bio:i.bio,specialty:i.specialty||void 0,photoUrl:i.photo_url||void 0,instagramUrl:i.instagram_url||void 0,youtubeUrl:i.youtube_url||void 0,tiktokUrl:i.tiktok_url||void 0,linkedinUrl:i.linkedin_url||void 0,websiteUrl:i.website_url||void 0,testimonial:i.testimonial||void 0},i.id))})}),a.jsx("div",{className:"container mx-auto px-4 pb-16 text-center",children:a.jsx(b,{to:"/",children:a.jsx(x,{variant:"outline",size:"lg",children:"Volver al inicio"})})})]})}export{te as default};

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.