1import{_ as P}from"./BslQMBqp.js";import{_ as D}from"./DzPsfkhI.js";import{p as N,c as E,aC as G,aG as S,aH as H}from"./DdjJ_Nrq.js";import{_ as M}from"./u2HcJ9WD.js";import{_ as O}from"./Dd_ShnRE.js";import{u as Q,j as R,a as W}from"./BbdHyzsU.js";import{d as j,v as q,aP as z,aq as I,c,C as d,D as m,V as t,P as e,F as T,h as s,E as J,M as K,N as X}from"./BasuKg0Z.js";import"./qmPqbzSe.js";import"./BvX6F4D6.js";import"./Den8WvNv.js";import"./COU9MbMk.js";const Y={class:"course-grid flex w-full bg-white dark:bg-dark-card"},ls=j({__name:"index",async setup(Z){let a,u;const p={filter:"",level:"",search:"",cursor:""},f=q(),{values:l,setValues:g,setFieldValue:h}=N({formOptions:{initialValues:p},onLoadingData:()=>B(),onBeforeSetQueryItems:(i,o)=>{if(i.cursor===o.cursor)return{cursor:""}}}),{data:_,status:b,execute:B,error:y}=([a,u]=z(async()=>I("search-assessments",async()=>(await f.assessments.index({pages:9,...l}))._data,{default:()=>[]})),a=await a,u(),a),n=c(()=>_.value?.data||[]),v=c(()=>_.value?.meta),A=c(()=>[{name:"Home",to:{name:"edna"}},{name:"Assessments"}]);return Q(),R(A),(i,o)=>{const k=P,w=D,x=G,C=S,$=M,U=O,V=H,F=E,L=W;return m(),d(L,null,{default:t(()=>[e(w,{hero:"",label:"Enterprise DNA","big-title":"Assessments",title:"",subtitle:"Test your skills, measure your proficiency, and identify skill gaps with comprehensive data-driven evaluations.",buttons:[],image:"/assets/banners/default/Assessments.svg","redirect-path":"/learning-assessments"},{"after-content":t(()=>[e(k,{"redirect-path":"/learning-assessments"})]),_:1}),T("div",Y,[e(F,null,{default:t(()=>[e(x,{items:[{name:"Assessments",url:"/assessments"}],class:"mb-4 -mt-6"}),e(C,{"initial-filters":s(l),onUpdate:s(g)},null,8,["initial-filters","onUpdate"]),e(V,{navigation:s(v),status:s(b),errors:s(y),items:s(n),"show-not-found":s(n)&&!s(n)?.length,onSetPage:o[0]||(o[0]=r=>s(h)("cursor",r))},{default:t(()=>[e(U,{count:3,class:"py-6"},{default:t(()=>[(m(!0),J(K,null,X(s(n),r=>(m(),d($,{key:r.id,card:r,class:"dark:bg-blue-700"},null,8,["card"]))),128))]),_:1})]),_:1},8,["navigation","status","errors","items","show-not-found"])]),_:1})])]),_:1})}}});
1export{ls 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.