PageSourceSearch

http://ikerlan.es/assets/ListadoCasosDeExito-8cecee1f.js

js ikerlan.es collected 2026-10-02 05:36:19 UTC 2,643 bytes, 1 lines download raw bytes

1import{h as H,i as I,u as U,r,t as B,d as J,j as t,M as _,v as K,L as Q}from"./index-66bfbf28.js";import{F as X}from"./FilterSelect-3f9864a2.js";import{g as Y,F as Z,d as ee,e as te,v as se,u as ae}from"./FormList-1b76c060.js";import{C as ne}from"./CardList-17ad2770.js";import{C as re,a as oe}from"./CardMainContent-9708d8e6.js";import{C as ie}from"./CardMainFooter-06a6d2b5.js";import{i as le}from"./motion-3473a743.js";import{c as S}from"./CardMain.module-a4c29866.js";import{m as ce}from"./motion-ea72f2ce.js";import"./Intro-62a537ad.js";import"./BlockLoader-e6279abe.js";import"./Pagination-6c1d58b7.js";import"./index-1b6c0d18.js";const de="_cardContent_j1asd_1",ue="_heading_j1asd_5",w={cardContent:de,heading:ue},Le=({block:c})=>{const{field_vista:m,field_titulo:f}=c;let{url:p=null,rows:l=null,pager:g=null,exposed:d=null}=H(m);const N=I(f),{t:V,i18n:M}=U();l=b(l);const[v,y]=r.useState(l),[A,k]=r.useState(g),[D,E]=r.useState(!1),[x,P]=r.useState(Y(d)),[T,O]=r.useState(!0),R=r.useRef(null),L=async e=>{const a=await ee(e,p,E),s=b(
1a.rows);y(s),k(a.pager)},W=async e=>{const a={...te(R.current),page:e},s={...x,...a};await L(s)},$=(e,a)=>{const s={[a]:e};P(o=>ae(o,s))},q=(e,a)=>{const{label:s,plugin_id:o,valores:F=null,value:n}=a;let i=se(F),u="";e==="cliente"?(i.unshift({text:n||"All",value:""}),u=""):e==="sector"?(i.unshift({text:n||"All",value:""}),u=""):e==="tecnologia"&&(i.unshift({text:n||"All",value:""}),u="");let C;switch(o){case"numeric":case"taxonomy_index_tid":C=t.jsx(X,{uniqueId:e,name:e,label:s,options:i,defaultOption:u,handleOnChange:$});break;default:C="";break}return C},h=B(),j=h==null?void 0:h.find(e=>e.uuid==="4418fd38-2a2f-4e7f-9cbf-90f9eecc1ddc"),z=(j==null?void 0:j.relative)??J(M.locale),G=()=>t.jsx(ne,{columns:3,children:v.map((e,a)=>{const{title:s,intro:o,image:F,url:n}=e,i=`${a}-${s}`;return t.jsx(ce.li,{...le,children:t.jsxs(re,{children:[t.jsx(_,{transform:K,content:F,tagName:"figure",className:S.card__img}),t.jsxs(oe,{className:w.cardContent,children:[t.jsx(Q,{to:n||z,className:S["card__link-primary"],children:s&&t.jsx(_,{content:s,tagName:"h3",className:w.heading,blockList:"a"})}),o&&t.jsx(_,{content:o,noWrap:!0})]}),t.jsx(ie,{children:t.jsx("span",{className:S["btn-primary"],children:V("Solicitar más información")})})]})},i)})});return r.useEffect(()=>{if(T){O(!1);return}L(x)},[x]),t.jsx(Z,{ref:R,sectionTagName:"section",title:N,filterData:d,renderFormField:q,loading:D,viewRows:v,RenderedList:G,dataPager:A,handleGoToPage:W})},b=(c=[])=>c.length<=0?[]:c.map((m,f)=>{const{title:p,intro:l,imagen:g,enlace:d}=m;return{key:f,url:d,image:g,intro:l,title:p}});
1export{Le 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.