PageSourceSearch

https://venezuelafintech.org/assets/js/ResourcesList-D77Y2bBG.js

js venezuelafintech.org collected 2026-10-08 13:21:55 UTC 3,447 bytes, 1 lines download raw bytes

1import{j as e,aw as N,r as c}from"./vendor-react-BVdfRfne.js";import{B as P}from"./badge-DKT1KUDf.js";import{B as C}from"./index-Dgf_X5Xy.js";import{S as k}from"./SearchBar-Ts30lAmS.js";import{P as w,a as b,b as l,c as S,d as A,e as L,f as R}from"./pagination-D5IPoBR1.js";import"./vendor-others-CcG9WWGM.js";import"./vendor-react-dom-B42Rp7IX.js";import"./vendor-radix-CUXzpucC.js";import"./vendor-spline-C_ut2MMB.js";import"./XIcon-BYOTMXdq.js";import"./select-B-bDCQNl.js";const B=({title:r,subtitle:d,categories:a})=>e.jsxs("div",{className:"rounded-2xl px-4 py-8 bg-[#FAFAFA] space-y-2",children:[e.jsx("h3",{className:"text-lg font-semibold text-black",children:r}),e.jsx("p",{className:"text-xs text-[#71767A]",children:d}),e.jsx("div",{className:"flex gap-2",children:a.map(o=>e.jsx(P,{variant:"dark",children:o},o))}),e.jsx("div",{className:"flex justify-end",children:e.jsxs(C,{variant:"outlinePrimary",className:"text-black px-12",disabled:!0,children:[e.jsx(N,{className:"size-4 shrink-0",strokeWidth:2,"aria-hidden":!0}),"Descargar"]})})]}),E=[],Y=()=>{const[r,d]=c.useState(""),[a,o]=c.useState({year:"",topic:"",verticalParentKey:""}),[t,h]=c.useState(1),m=6,u=c.useMemo(()=>E.filter(s=>{const i=r===""||s.title.toLowerCase().includes(r.toLowerCase())||s.subtitle.toLowerCase().includes(r.toLowerCase()),v=a.year===""||s.year===a.year,g=a.topic===""||s.categories.some(y=>y===a.topic);return i&&v&&g}),[r,a]),n=Math.ceil(u.length/m),p=(t-1)*m,f=p+m,j=u.slice(p,f),x=s=>{h(s)};return c.useMemo(()=>{h(1)},[r,a]),e.jsxs("div",{className:"container space-y-8",children:[e.jsx(k,{onSearchChange:d,onFiltersChange:o}),j.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"grid lg:grid-cols-2 gap-6",children:j.map((s,i)=>e.jsx(B,{...s},`${s.title}-${i}`))}),n>1&&e.jsx("div",{className:"flex justify-center",children:e.jsx(w,{children:e.jsxs(b,{children:[e.jsx(l,{children:e.jsx(S,{href:"#",onClick:s=>{s.preventDefault(),t>1&&x(t-1)},className:t===1?"pointer-events-none opacity-50":""})}),Array.from({length:n},(s,i)=>i+1).map(s=>s===1||s===n||s>=t-1&&s<=t+1?e.jsx(l,{children:e.jsx(A,{href:"#",isActive:t===s,onClick:i=>{i.preventDefault(),x(s)},children:s})},s):s===t-2||s===t+2?e.jsx(l,{children:e.jsx(L,{})},s):null),e.jsx(l,{children:e.jsx(R,{href:"#",onClick:s=>{s.preventDefault(),t<n&&x(t+1)},className:t===n?"pointer-events-none opacity-50":""})})]})})})]}):e.jsxs("div",{className:"flex flex-col items-center justify-center py-20 space-y-6 text-center",children:[e.jsx("div",{className:"flex items-center justify-center w-20 h-20 rounded-full bg-primary/10",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-10 text-primary",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"})})}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("h3",{className:"text-xl font-semibold text-gray-800",children:"Recursos próximamente"}),e.jsx("p",{className:"text-gray-500 max-w-md",children:"Estamos preparando una biblioteca de recursos educativos sobre fintech, regulación e innovación financiera. ¿Tienes material valioso para compartir?"})]})]})]})};export{Y 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.