PageSourceSearch

https://bs.enu.kz/_nuxt/nC8JJ0gY.js

js enu.kz collected 2026-09-24 08:58:44 UTC 3,288 bytes, 1 lines download raw bytes

1import{_ as R,p as x,r as o,d as U,b as V,q as Y,v as F,x as j,e as q,h as r,m as _,f as t,i,t as f,F as k,j as G,l as S,E as C,D as I,G as H,o as c,C as J,k as K}from"./DEPA4I7s.js";import{T as O}from"./BbSTu-Ku.js";import{U as Q,m as W}from"./taFqXfeo.js";import{N as X}from"./CUDJdONR.js";import{f as Z}from"./dCqWjeqi.js";import{B as E,f as L}from"./B30l6KTG.js";import{N as ee}from"./DDuahLet.js";import"./DkWwP9Nz.js";import"./BFRejEI0.js";import"./DXj86wwA.js";import"./D9K5M1w2.js";import"./BllMVXAq.js";import"./tPmEOZ7B.js";const te={class:"container"},se={key:0,class:"container"},ae={key:0,class:"loading"},oe={key:1},le={class:"title"},ie={class:"lists"},ne={class:"title"},re={class:"date"},ce={key:0,class:"no_data"},ue={class:"show_more"},me={class:"btn_light_blue"},de={__name:"index",setup(ve){const{$host:m}=x(),M=o(null),g=o(null),p=o(null),d=o([]);o([]),o(0);const u=o([]),{t:s,locale:y}=U(),l=o({page:1,rows:6,lang:y,searchText:null,filter:{},categoryId:null,slug:m}),$=W;V();const b=Y();o(!1);const h=o(!1),N=new X,w=F();j(),q({title:s("allNews")+" | "+s("titleEnu"),meta:[{property:"og:title",content:s("allNews")+" | "+s("titleEnu")},{property:"og:description",content:s("allNews")+" | "+s("titleEnu")}]}),(async()=>{h.value=!0;const e=`news:list:${m||"main"}:${JSON.stringify(l.value)}`,{data:n,error:v}=await I(e,()=>N.getArchiveNews(l.value),{default:()=>({items:[],total:0}),dedupe:"defer"});u.value=n.value,u.value&&u.value.items&&u.value.items.map(a=>{a.main_image_file?a.imageUrl=E()+L+a.main_image_file.thumb:a.imageUrl=E()+L+a.image1}),h.value=!1,v.value&&console.log(v.value)})(),(async()=>{const{data:e,error:n}=await I(`news:categories:${m||"main"}:${y.value}`,()=>N.getCategories(),{default:()=>[],dedupe:"defer"});d.value=e.value,d.value&&d.value[0].id&&d.value.unshift({id:null,slug:null,nameKz:"Барлығы",nameRu:"Все",nameEn:"All"}),n.value&&console.log(n.value)})();const A=()=>{x().$emitter.$emit("updateNews",l.value)},D=e=>{p.value===e?(p.value=null,l.value.filter.year=null):(p.value=e,l.value.filter.year=e),console.log("index component"),A()},P=e=>{g.value===e?(g.value=null,l.value.filter.month=null):(g.value=e,l.value.filter.month=e),A()},T=e=>{b.push(w({name:"news-category-slug",params:{slug:e.slug}}))},B=e=>p.value===e,z=e=>g.value===e;return(e,n)=>{const v=H;return c(),r(k,null,[_(O,{onCatId:T,onSelectYear:D,onSelectMonth:P,isMonthActive:z,isActive:B,categoryId:t(M),title:t(s)("allNews"),filterList:t($),categories:t(m)?[]:t(d)},null,8,["categoryId","title","filterList","categories"]),i("div",te,[_(ee,{lazyParams:t(l)},null,8,["lazyParams"])]),t(m)?S("",!0):(c(),r("div",se,[t(h)?(c(),r("div",ae,n[0]||(n[0]=[i("img",{src:J,alt:"Loading..."},null,-1)]))):(c(),r("div",oe,[i("h1",le,f(t(s)("newsArchive")),1),i("div",ie,[(c(!0),r(k,null,G(t(u).items,a=>(c(),r("div",{class:"item",key:a},[_(v,{to:t(w)({name:"news-archive-id",params:{id:a.id}})},{default:C(()=>[i("div",ne,f(a.title),1)]),_:2},1032,["to"]),i("div",re,f(t(Z)(a.publish_date)),1)]))),128))]),t(u).items?S("",!0):(c(),r("div",ce,f(t(s)("noData")),1)),i("div",ue,[i("button",me,[_(v,{to:t(w)("/news/archive")},{default:C(()=>[K(f(t(s)("showMore")),1)]),_:1},8,["to"])])])]))])),_(Q)],64)}}},Le=R(de,[["__scopeId","data-v-d175a273"]]);export{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.