1import{_ as Q,x as X,r as n,d as Y,w as Z,o,h as l,i as u,t as c,g as T,L as D,F as h,j as I,z as L,k as p,f as i,l as f,m as b,E as w,D as S,W as x}from"./DgkDjtrN.js";import{s as B,a as ee}from"./DF7zvOV2.js";import"./DnN6oj2o.js";import"./PPHqeVFS.js";const ae={class:"title"},se={key:1},te={key:0,class:"categories_btns"},oe=["onClick"],le={class:"tab-content"},ne={class:"tags"},ce=["onClick"],ie={class:"num"},re={key:1,id:"list_score"},ue={key:0,class:"list_links"},de={class:"small_title"},ve=["onClick"],_e={key:2,class:"content"},ge={key:0},pe={key:1,class:"no_data"},ye={__name:"ScoreListBlock",props:["title","blockId","pageId"],async setup(F){let V,z;X();const E=F,N=n(0),W=n(0),A=n(0),$=n();n();const y=n(),m=n(),d=n(),v=n(),k=new x,C=n(!1),P=n(!1),_=n(!1),{t:g,locale:me}=Y(),M=async(a,t)=>{N.value=t,$.value=a.id,await R(a.id)},R=async a=>{P.value=!0,m.value=null,d.value=null,v.value=null;const{data:t,pending:e,error:s}=await S(async()=>k.getPassingScoreFields({score_category_id:a}),"$nMsTGRB9Uu");t.value&&(m.value=t.value,U(m.value[0],0,a)),P.value=e.value,s.value&&console.log(s.value)},U=(a,t,e)=>{W.value=t,q(a.id,e)},j=(a,t,e)=>{A.value=t,J(e,a.id,a.field_id)},q=async(a,t)=>{_.value=!0,d.value=null;const{data:e,pending:s,error:r}=await S(async()=>k.getPassingScoreDirections({edu_field_id:a,score_category_id:t}),"$04WwybraTy");e.value&&(d.value=e.value,j(d.value[0],0,t)),_.value=s.value,r.value&&console.log(r.value)},J=async(a,t,e)=>{_.value=!0,v.value=null;let s={score_category_id:a,direction_id:t,field_id:e};const{data:r,pending:O,error:H}=await S(async()=>k.getPassingScores(s),"$HW7vUPpnd2");r.value&&(v.value=r.value),_.value=O.value,H.value&&console.log(H.value)},K=async()=>{C.value=!0;let a={page_id:E.pageId,block_id:E.blockId};const{data:t,pending:e,error:s}=await S(async()=>k.getPassingScoreCategories(a),"$hTbamdsnbD");t.value&&(y.value=t.value,await M(y.value[0],0)),C.value=e.value,s.value&&console.log(s.value)};[V,z]=Z(()=>K()),await V,z();const G=()=>{window.matchMedia("(max-width: 700px)").matches&&document.getElementById("list_score").scrollIntoView({behavior:"smooth"})};return(a,t)=>(o(),l(h,null,[u("div",ae,c(F.title.block["title_"+a.$i18n.locale]),1),C.value?(o(),T(D,{key:0})):(o(),l("div",se,[y.value?(o(),l("div",te,[(o(!0),l(h,null,I(y.value,(e,s)=>(o(),l("div",{class:L(["cat_btn",{active:N.value===s}]),key:s,onClick:r=>{G(),M(e,s)}},c(e["name_"+a.$i18n.locale]),11,oe))),128)),u("div",le,[u("div",ne,[(o(!0),l(h,null,I(m.value,(e,s)=>(o(),l("div",{class:L(["tag",{active:W.value===s}]),key:s,onClick:r=>{G(),U(e,s,$.value)}},[p(c(e["name_"+a.$i18n.locale])+" ",1),u("div",ie,c(e.total),1)],10,ce))),128))]),P.value?(o(),T(D,{key:0})):(o(),l("div",re,[d.value?(o(),l("div",ue,[u("div",de,c(i(g)("directions")),1),(o(!0),l(h,null,I(d.value,(e,s)=>(o(),l("ul",{key:s},[u("li",null,[u("a",{onClick:r=>j(e,s,$.value),class:L({active:A.value===s})},[p(c(e["name_"+a.$i18n.locale])+" ",1),u("span",null,c(e.total?e.total:0),1)],10,ve)])]))),128))])):f("",!0),_.value?(o(),T(D,{key:1})):(o(),l("div",_e,[v.value?(o(),l("div",ge,[b(i(ee),{class:"landing_table",value:v.value,responsiveLayout:"scroll"},{default:w(()=>[b(i(B),{field:"code",header:i(g)("nameEducationalPrograms")},{body:w(({data:e})=>[p(c(e["name_"+a.$i18n.locale]),1)]),_:1},8,["header"]),b(i(B),{field:"prof_pred1",header:i(g)("kazakhLanguageInstruction")},{body:w(({data:e})=>[p(c(e.passing_score.kz_group_score),1)]),_:1},8,["header"]),b(i(B),{field:"prof_pred2",header:i(g)("russianLanguageInstruction")},{body:w(({data:e})=>[p(c(e.passing_score.ru_group_score),1)]),_:1},8,["header"])]),_:1},8,["value"])])):f("",!0),v.value?f("",!0):(o(),l("div",pe,c(i(g)("noData")),1))]))]))])])):f("",!0)]))],64))}},we=Q(ye,[["__scopeId","data-v-d9c9435c"]]);export{we 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.