1"use strict";(self.webpackChunkkenesh=self.webpackChunkkenesh||[]).push([[9234],{9234:function(t,e,a){a.r(e),a.d(e,{default:function(){return y}});var n=a(6252),s=a(3577),i=a(2262),o=a(2201),c=a(4082),l=a(9983),u=a(9244),r=a(7996);const p={class:"section section-post bg-grey"},d={class:"container"},g={class:"section-header"},m={class:"row align-items-end justify-content-between"},f={class:"col-12 col-md-9"},h={class:"section section-post"},v={class:"container"},w={class:"section-body mt-0"},_={class:"section-footer"};var y={__name:"Appeal",setup(t){const e=(0,o.yj)(),a=(0,o.tv)(),y=(0,i.qj)({}),P=(0,i.qj)([]),b=(0,i.iH)(0),k=(0,i.qj)({currentPage:1,totalCount:0,perPage:10}),q=t=>{k.currentPage=t,a.push({name:e.name,query:{p:t}})};async function C(){const t=API_SERVER+"/posts",e={category:[102],factions:y.id,page:k.currentPage-1,limit:k.perPage},a=await(0,r.Z)(t,e);b.value=a.header.totalCount,P.splice(0,P.length,...a.data)}return(0,n.bv)((async()=>{const t=e.params.id;await async function(t){const e=await async function(t){const e=API_SERVER+"/factions/"+t,n=await(0,c.Z)(e);return n||a.push({name:"notFound",params:{catchAll:"notFound"}})}(t);(0,l.Z)(e,y)}(t),k.currentPage=e.query.p?parseInt(e.query.p):1,await C()})),(0,n.YP)(k,(()=>{C()})),(t,e)=>{const a=(0,n.up)("BreadcrumbItem"),o=(0,n.up)("Breadcrumb"),c=(0,n.up)("FactionHeader"),l=(0,n.up)("PostItemList"),r=(0,n.up)("Pagination");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",p,[(0,n._)("div",d,[(0,n.Wm)(o,null,{default:(0,n.w5)((()=>[(0,n.Wm)(a,{title:t.$t("faction.factions"),to:{name:"factions.index"}},null,8,["title","to"])])),_:1}),(0,n._)("div",g,[(0,n._)("div",m,[(0,n._)("div",f,[(0,n._)("h3",null,(0,s.zw)((0,i.SU)(u.Z)(y.titleKg,y.titleRu)),1)])])]),(0,n.Wm)(c,{class:"mt-5",factionId:y.id,active:"appeals"},null,8,["factionId"])])]),(0,n._)("div",h,[(0,n._)("div",v,[(0,n._)("div",w,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(P,(t=>((0,n.wg)(),(0,n.iD)("ul",{class:"list-group",key:t.id},[(0,n.Wm)(l,{id:t.id,title:(0,i.SU)(u.Z)(t.titleKg,t.titleRu),"publish-date":t.publishDate,to:{name:"posts.show",params:{id:t.id}}},null,8,["id","title","publish-date","to"])])))),128))]),(0,n._)("div",_,[(0,n._)("nav",null,[k.totalCount>0?((0,n.wg)(),(0,n.j4)(r,{key:0,"total-count":k.totalCount,"per-page":k.perPage,"current-page":k.currentPage,onPageChange:q},null,8,["total-count","per-page","current-page"])):(0,n.kq)("v-if",!0)])])])])],64)}}}}}]); 2//# sourceMappingURL=9234-c6e5ba79c037fa44dc4a.js.map
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.