PageSourceSearch

https://programydovoleb.cz/assets/do-2029a73f.js

js programydovoleb.cz collected 2026-09-25 05:58:06 UTC 4,712 bytes, 1 lines download raw bytes

1import{c as _,t as N,N as C,a8 as w,R as V,a9 as S,ae as A,B as E,u as Z,a as O,b as P,d as z,n as T,e as j,s as F,f as R,H as q,z as D,I as H,g as K,r as a,o as d,h as u,i as l,w as r,q as e,j as p,v as o,F as L,k as G,l as i,m as J,x as M,y as Q,_ as U}from"./index-4c34f2fb.js";const W={name:"layout-volby-prehled-stran",props:["id"],data:function(){return{cdn:_,today:N,showAll:!0,sortByIndex:"NAZEV",mainOnly:!1}},components:{NewsItem:C,NewsBlock:w,ReportForm:V,PartyPreview:S,CandidateStats:A,SearchParty:E},computed:{$store:function(){return Z()},enums:function(){return O()},about:function(){var n=this.enums.elections.find(t=>t.hash==="senatni-volby");return{key:n.key,data:n}},data:function(){var n=this.$store.getters.pdv("elections/activity/senat-summary/"+this.id);return n},link:function(){return"/volby/senatni-volby/"+this.id+"/"}},methods:{url:P,date:z,number:T,truncate:j,sortBy:F,domain:R,colorByItem:q,logoByItem:D,unique:H},mounted:function(){window.scrollTo(0,1),K("Přehled stran")},watch:{id:function(){window.scrollTo(0,1)}}},m=n=>(M("data-v-5bcd83ba"),n=n(),Q(),n),X={class:"layout-volby"},Y={key:0},x=m(()=>e("div",{class:"p-line _05"},null,-1)),nn=m(()=>e("div",{class:"p-gap _1"},null,-1)),en={class:"smaller"},sn=m(()=>e("thead",null,[e("tr",null,[e("th"),e("th"),e("th",{class:"text-right"},"Člen"),e("th",{class:"text-right"},"Nom"),e("th",{class:"text-right"},"Samo"),e("th",{class:"text-right"},"Koal"),e("th",{class:"text-right"},"Podp")])],-1)),tn=m(()=>e("div",{class:"p-gap"},null,-1));function on(n,t,ln,an,rn,dn){const c=a("p-list-linear"),y=a("p-area"),b=a("p-image"),g=a("router-link"),v=a("p-loader"),$=a("p-block"),h=a("p-logo"),B=a("p-anchors"),I=a("top-tasks"),f=a("p-list"),k=a("p-layout-divided");return d(),u("div",X,[l(k,null,{main:r(()=>[l($,{headline:"Přehled stran",level:1,subheadline:"Senátní volby "+(n.data?n.data.cis.volby[0].datum_label||n.data.cis.volby[0].datum.split("-")[0]:"")},{default:r(()=>[l(v,{rule:n.data},{default:r(()=>[n.data?(d(),u("div",Y,[l(y,{class:"smallest"},{default:r(()=>[l(c,{class:"nebo"},{default:r(()=>[e("span",null,[p("Seřadit "),e("button",{class:o(["inline",{"green strong":n.sortByIndex==="NAZEV"}]),onClick:t[0]||(t[0]=s=>n.sortByIndex="NAZEV")},"podle názvu",2)]),e("span",null,[e("button",{class:o(["inline",{"green strong":n.sortByIndex==="$members"}]),onClick:t[1]||(t[1]=s=>n.sortByIndex="$members")},"členství",2)]),e("span",null,[e("button",{class:o(["inline",{"green strong":n.sortByIndex==="$nominees"}]),onClick:t[2]||(t[2]=s=>n.sortByIndex="$nominees")},"nominace",2)]),e("span",null,[e("button",{class:o(["inline",{"green strong":n.sortByIndex==="$solemn"}]),onClick:t[3]||(t[3]=s=>n.sortByIndex="$solemn")},"samostatné",2)]),e("span",null,[e("button",{class:o(["inline",{"green strong":n.sortByIndex==="$coal"}]),onClick:t[4]||(t[4]=s=>n.sortByIndex="$coal")},"koaliční kandidátky",2)]),e("span",null,[e("button",{class:o(["inline",{"green strong":n.sortByIndex==="$support"}]),onClick:t[5]||(t[5]=s=>n.sortByIndex="$support")},"podpory",2)])]),_:1}),x,l(c,{class:"nebo"},{default:r(()=>[e("span",null,[p("Zobrazit "),e("button",{class:o(["inline",{"green strong":n.mainOnly===!1}]),onClick:t[6]||(t[6]=s=>n.mainOnly=!1)},"všechny",2)]),e("span",null,[e("button",{class:o(["inline",{"green strong":n.mainOnly===!0}]),onClick:t[7]||(t[7]=s=>n.mainOnly=!0)},"jen ty nejvíce aktivní",2)])]),_:1})]),_:1}),nn,e("table",en,[sn,e("tbody",null,[(d(!0),u(L,null,G(n.sortBy(n.data.list,n.sortByIndex,null,n.sortByIndex==="NAZEV",n.sortByIndex!=="NAZEV").filter(s=>n.mainOnly?s.$members>8||s.$nominees>8||s.$coal+s.$solemn>8||s.$support>8:!0),s=>(d(),u("tr",null,[e("td",null,[l(b,{src:n.logoByItem(s,{cis:{strany:[s]}}),class:"rounded _ar"},null,8,["src"])]),e("td",null,[l(g,{to:n.link+"aktivita/"+s.VSTRANA},{default:r(()=>[p(i(n.truncate(s.NAZEV,8)),1)]),_:2},1032,["to"])]),e("td",{class:o(["text-right",{strong:n.sortByIndex==="$members"}])},i(n.number(s.$members)),3),e("td",{class:o(["text-right",{strong:n.sortByIndex==="$nominees"}])},i(n.number(s.$nominees)),3),e("td",{class:o(["text-right",{strong:n.sortByIndex==="$solemn"}])},i(n.number(s.$solemn)),3),e("td",{class:o(["text-right",{strong:n.sortByIndex==="$coal"}])},i(n.number(s.$coal)),3),e("td",{class:o(["text-right",{strong:n.sortByIndex==="$support"}])},i(n.number(s.$support)),3)]))),256))])])])):J("",!0)]),_:1},8,["rule"])]),_:1},8,["subheadline"])]),anchors:r(()=>[l(h,{data:{logo:n.cdn+"icon/senatni-volby.svg"},size:"12rem"},null,8,["data"]),tn,l(B)]),aside:r(()=>[l(f,{height:"1.5"},{default:r(()=>[e("div",null,[l(I)])]),_:1})]),_:1})])}const mn=U(W,[["render",on],["__scopeId","data-v-5bcd83ba"]]);export{mn 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.