PageSourceSearch

https://zt-rada.gov.ua/vue/assets/PagePhotoReport-fe82cebc.js

js zt-rada.gov.ua collected 2026-10-02 04:39:36 UTC 2,123 bytes, 1 lines download raw bytes

1import{_ as m,W as _,a as b,o as i,c as r,b as o,f as p,h as f,F as g,d as P,e as v,r as n}from"./MainNav-4b1bc24f.js";import{P as L}from"./PostCard-fba8e314.js";import{P as y}from"./Pagination-7377982f.js";import{S,s as B}from"./sidebarNavList-fdb2261c.js";import"./no-image-40f94a54.js";const N={name:"PagePhotoReport",components:{Sidebar:S,Pagination:y,PostCard:L},data(){return{sidebarNavList:B,isLoading:!0,posts:[],pagination:{page:1,pageSize:15}}},methods:{..._("breadcrumbs",["setBreadcrumbs"]),getPostsList(){this.isLoading=!0;const s=5;let a="posts?populate=*&sort[0]=date:desc";return a+=`&filters[category][id][$eq]=${s}`,this.pagination.page&&(a+=`&pagination[page]=${this.pagination.page}`),this.pagination.pageSize&&(a+=`&pagination[pageSize]=${this.pagination.pageSize}`),b(a,{type:"get"}).then(t=>{t.status===200&&t.data&&(this.posts=t.data,this.pagination=t.meta.pagination),t.status==="error"&&console.log("Error message: ",t.data.message)})}},created(){var s;this.setBreadcrumbs({list:this.$route.meta.breadcrumbs}),this.pagination.page=parseInt((s=this.$route.query)==null?void 0:s.p,10)||1,this.getPostsList().finally(()=>{this.isLoading=!1})},watch:{$route(s,a){var t;this.pagination.page=parseInt((t=s.query)==null?void 0:t.p,10)||1,this.getPostsList().finally(()=>{document.querySelector("body").scrollIntoView({behavior:"smooth"}),this.isLoading=!1})}}},$={class:"col-lg-9 bd"},q=o("h1",{class:"bb bgl"},"Фоторепортажі",-1),k={class:"position-relative"},w={key:0,class:"loading-wrap"},z={class:"row prsscntrarchv"},C={class:"col-lg-3 sdbr"};function I(s,a,t,R,e,V){const d=n("ui-spinner"),l=n("post-card"),u=n("pagination"),h=n("sidebar");return i(),r(g,null,[o("div",$,[q,o("div",k,[e.isLoading?(i(),r("div",w,[p(d)])):f("",!0),o("div",z,[(i(!0),r(g,null,P(e.posts,c=>(i(),v(l,{id:c.id,post:c.attributes,type:"photoReport"},null,8,["id","post"]))),256))])]),p(u,{page:e.pagination.page,totalPages:e.pagination.pageCount??1,visiblePage:3},null,8,["page","totalPages"])]),o("div",C,[p(h,{list:e.sidebarNavList},null,8,["list"])])],64)}const j=m(N,[["render",I]]);export{j 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.