PageSourceSearch

https://enu.kz/_nuxt/axhGCdBD.js

js enu.kz collected 2026-10-01 10:28:58 UTC 1,500 bytes, 1 lines download raw bytes

1import{G as k}from"./CPjW8vEz.js";import{f as E}from"./jc6m43xI.js";import{d as R,p as x,u as z,w as A,c as b,o as i,h as w,m as G,f as c,g as K}from"./DgkDjtrN.js";import{u as v}from"./-R6SFMM_.js";import"./DnN6oj2o.js";const $={class:"container"},B={__name:"PhotoGallery",props:{tags:{type:Array,default:null}},async setup(o){let a,l;const{locale:s,t:p}=R(),{$host:_}=x(),r=o,f={page:0,rows:50,lang:s.value,searchText:null,filter:{},categoryId:null,slug:_,tags:r.tags?r.tags:null},u=z().public.smartEnuApi,g=u.replace(/\/$/,""),{data:d}=([a,l]=A(()=>v(`${g}/web/photoGallery/public/list`,{method:"POST",body:f},"$maSJLgTpW0")),a=await a,l(),a);function h(t){const e=s.value;return e==="kk"||e==="kz"?t.titleKz||t.titleRu||t.titleEn||"":e==="en"?t.titleEn||t.titleRu||t.titleKz||"":t.titleRu||t.titleKz||t.titleEn||""}function m(t){const e=s.value;return e==="kk"||e==="kz"?t.contentKz||t.contentRu||t.contentEn||"":e==="en"?t.contentEn||t.contentRu||t.contentKz||"":t.contentRu||t.contentKz||t.contentEn||""}const y=b(()=>{var e;const t=(e=d.value)==null?void 0:e.items;return!Array.isArray(t)||t.length===0?null:t.map(n=>({id:n.id,imageUrl:n.main_image_file?u+E+(n.main_image_file.thumb||n.main_image_file.filepath||n.main_image_file.original_file_path):null,date:n.publish_date||null,title:h(n),text:m(n)}))});return(t,e)=>(i(),w("div",$,[G(k,{title:c(p)("photoGallery"),items:c(y),rows:9},null,8,["title","items"])]))}},S={__name:"index",setup(o){return(a,l)=>(i(),K(B))}};export{S 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.