PageSourceSearch

https://www.lrt.lt/js/chunk-5985.596e61ace7d4a99415cc.js

js lrt.lt collected 2026-09-24 08:36:37 UTC 27,914 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk_vb_frontend=globalThis.webpackChunk_vb_frontend||[]).push([[5985],{8149(e,t,a){a.d(t,{A:()=>r});var l=a(9347),o=a(4331),i=a(9552);const n={class:"row"},r={__name:"NewsList",props:{highlightMatchBy:String,skipImgLazy:Boolean,list:{type:Array,default:()=>[]},target:{type:String,default:"_self"},variant:{type:String,default:"2-4-4"}},setup(e){const t=e,a=(0,l.computed)(()=>t.variant&&`news-list--${t.variant}`);return(t,r)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(["news-list",a.value])},[(0,l.createElementVNode)("div",n,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.list,(a,n)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(a.colClass||"col"),key:`${n}-${a.id}`},[a?((0,l.openBlock)(),(0,l.createBlock)(i.A,{key:0,class:(0,l.normalizeClass)(a.newsClass),data:a,"highlight-match-by":e.highlightMatchBy,"show-more-news-button":(0,l.unref)(o.K)(e.variant,n),"skip-img-lazy":e.skipImgLazy,target:e.target},{action:(0,l.withCtx)(()=>[(0,l.renderSlot)(t.$slots,"action",(0,l.normalizeProps)((0,l.guardReactiveProps)({id:a.id})))]),_:2},1032,["class","data","highlight-match-by","show-more-news-button","skip-img-lazy","target"])):(0,l.createCommentVNode)("",!0)],2))),128))])],2))}}},8177(e,t,a){a.d(t,{A:()=>m});var l=a(9347),o=a(8407);const i={class:"section"},n=["src","alt"],r={class:"section__title-container"},s={class:"section__title-content"},c={key:0,class:"section__title"},d={key:0,class:"section__tools"},u={key:2,class:"section__body"},m={__name:"SectionBlock",props:{bgImageAlt:String,bgImageClass:String,bgImageSrc:String,headClass:String,title:String,titleHref:String},setup:e=>(t,a)=>((0,l.openBlock)(),(0,l.createElementBlock)("section",i,[e.bgImageSrc?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(["section__bg-image",e.bgImageClass])},[(0,l.createElementVNode)("img",{src:e.bgImageSrc,alt:e.bgImageAlt},null,8,n)],2)):(0,l.createCommentVNode)("",!0),t.$slots.head||t.$slots.title||e.title||t.$slots.tools?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:(0,l.normalizeClass)(["section__head",e.headClass])},[(0,l.createElementVNode)("div",r,[(0,l.createElementVNode)("div",s,[t.$slots.title||e.title?((0,l.openBlock)(),(0,l.createElementBlock)("h2",c,[e.title?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[e.title?((0,l.openBlock)(),(0,l.createBlock)(o.A,{key:0,title:e.title,"title-href":e.titleHref},null,8,["title","title-href"])):(0,l.createCommentVNode)("",!0)],64)):(0,l.render
1Slot)(t.$slots,"title",{key:1})])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(t.$slots,"under-the-title")])]),t.$slots.tools?((0,l.openBlock)(),(0,l.createElementBlock)("div",d,[(0,l.renderSlot)(t.$slots,"tools")])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(t.$slots,"head")],2)):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(t.$slots,"subHead"),t.$slots.body?((0,l.openBlock)(),(0,l.createElementBlock)("div",u,[(0,l.renderSlot)(t.$slots,"body")])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(t.$slots,"foot")]))}},6163(e,t,a){a.d(t,{A:()=>r});var l=a(9347);const o={class:"section__title"},i=["href"],n={key:1},r={__name:"SectionBlockTitle",props:{title:String,titleHref:String},setup:e=>(t,a)=>((0,l.openBlock)(),(0,l.createElementBlock)("h2",o,[e.titleHref?((0,l.openBlock)(),(0,l.createElementBlock)("a",{key:0,class:"link-secondary",href:e.titleHref},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.title),1)],8,i)):((0,l.openBlock)(),(0,l.createElementBlock)("span",n,(0,l.toDisplayString)(e.title),1))]))}},1969(e,t,a){a.d(t,{c:()=>l});const l=Object.freeze({LRT_HD:{channelId:0,className:"h-channel-tv-hd",imagePathHorizontal:"/images/bg/bg-media-block-logo-lrt-hd-horizontal.jpg",logo:"SvgLogoTvHd"},HD_PLUS:{channelId:1,className:"h-channel-plus-hd",imagePathHorizontal:"/images/bg/bg-media-block-logo-hd-plus-horizontal.jpg",logo:"SvgLogoPlusHd",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-plius"},LITUANICA:{channelId:2,className:"h-channel-lituanica",imagePathHorizontal:"/images/bg/bg-media-block-logo-lituanica-horizontal.jpg",logo:"SvgLogoLituanica",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-lituanica"},RADIO:{channelId:3,className:"h-channel-radio",imagePathHorizontal:"/images/bg/bg-media-block-logo-radio-horizontal.jpg",logo:"SvgLogoRadio",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-radijas"},CLASSIC:{channelId:4,className:"h-channel-classic",imagePathHorizontal:"/images/bg/bg-media-block-logo-classic-horizontal.jpg",logo:"SvgLogoClassic",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-klasika"},OPUS:{channelId:5,className:"h-channel-opus",imagePathHorizontal:"/images/bg/bg-media-block-logo-opus-horizontal.jpg",logo:"SvgLogoOpus",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-opus"},LRT:{channelId:6,className:"h-channel-lrt",imagePathHorizontal:"/images/bg/bg-media-block-logo-lrt-horizontal.jpg",logo:"SvgLogoLrt",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-televizija"},LRT100:{channelId:36,className:"h-channel-lrt-100",imagePathHorizontal:"/images/bg/bg-media-block-logo-lrt-horizontal.jpg",logo:"SvgLogoLrt",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-100"},PODCAST:{channelId:7,className:"h-channel-podcast",imagePathHorizontal:"/images/bg/bg-media-block-logo-lrt-horizontal.jpg",logo:"SvgLogoLrt",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-televizija"},EPIKA_VOD:{channelId:101,className:"h-channel-epika",logo:"SvgLogoLrt",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-televizija"},EPIKA_SERIAL:{channelId:102,className:"h-channel-epika",logo:"SvgLogoLrt",url:"https://www.lrt.lt/mediateka/tiesiogiai/lrt-televizija"}})},5627(e,t,a){a.d(t,{Tm:()=>l,Tr:()=>i,sq:()=>o});const l="[email protected]",o={xxl:"1287x836",xl:"756x425",lg:"615x345",md:"393x221",sm:"282x158",xs:"150x84"},i=Object.freeze({ASC:"asc",DESC:"desc"})},8016(e,t,a){a.d(t,{k:()=>l});const l=Object.freeze({"1x-left-3":"1x-left-3","1x-right-3":"1x-right-3","1x-left-1-4":"1x-left-1-4","1x-right-1-4":"1x-right-1-4"})},6162(e,t,a){a.d(t,{Af:()=>n,JN:()=>g,Lr:()=>o,NB:()=>i,WA:()=>s,cH:()=>m,iy:()=>r,xI:()=>l});const l="desc",o="asc",i="relevance",n="order",r="sort_by",s=[n,r],c={key:n,value:l,label:"Naujausi"},d={key:n,value:o,label:"Seniausi"},u={key:r,value:i,label:"Aktualiausi"},m=[c,d,{key:r,value:"views",label:"Populiariausi"},u],g=[c,d]},1701(e,t,a){a.d(t,{Eh:()=>n,R4:()=>r,eY:()=>o,kb:()=>i,sG:()=>s});var l=a(1969);const o=(e,t)=>{const a=Object.keys(l.c).find(a=>{var o,i;return(null===(o=l.c[a])||void 0===o?void 0:o.channelId)===e||(null===(i=l.c[a])||void 0===i?void 0:i.className)===t});return a?l.c[a]:null},i=e=>[l.c.EPIKA_SERIAL.channelId,l.c.EPIKA_VOD.channelId].includes(e),n=e=>13===e.id,r=e=>31===e.id,s=e=>n(e)||r(e)},9655(e,t,a){a.d(t,{ff:()=>o,kG:()=>n,sL:()=>i});const l=e=>e instanceof Date&&!isNaN(e),o=e=>{const t=new Date(e);if(!l(t))return!0;return Math.floor((new Date-t)/1e3)/31536e3/2592e3/86400>1},i=({date:e,tr:t})=>{const a=+e.slice(0,4),o=+e.slice(5,7),i=+e.slice(8,10),n=+e.slice(11,13),r=+e.slice(14,16),s=new Date(a,o-1,i,n,r);if(!l(s))return null;const c=Math.floor((new Date-s)/1e3);let d=c/31536e3;return c<0?null:d>1?t.date.xBefore(`${Math.floor(d)} ${t.date.y}`):(d=c/2592e3,d>1?t.date.xBefore(`${Math.floor(d)} ${t.date.mon}`):(d=c/86400,d>1?t.date.xBefore(`${Math.floor(d)} ${t.date.d}`):(d=c/3600,d>1?t.date.xBefore(`${Math.floor(d)} ${t.date.h}`):(d=c/60,d>1?t.date.xBefore(`${Math.floor(d)} ${t.date.min}`):t.date.xBefore(`${Math.floor(c)} ${t.date.sec}`)))))},n=e=>{const t=new Date(null);return t.setSeconds(e),t.toISOString().slice(11,19).replace(/^00:/,"")}},4331(e,t,a){a.d(t,{K:()=>o});var l=a(8016);const o=(e,t)=>0===t&&[l.k["1x-left-3"],l.k["1x-right-3"],l.k["1x-left-1-4"],l.k["1x-right-1-4"]].includes(e)},9808(e,t,a){a.d(t,{D:()=>s,r:()=>u});var l=a(5690),o=a(6917),i=a(1701),n=a(9655),r=a(5627);const s=(e,t=r.sq.lg)=>e.full_img?e.full_img:(0,i.kb)(e.channel)?e.img:e.img_path_prefix?`${e.img_path_prefix}${t}${e.img_path_postfix}`:"/images/no-image.png",c=e=>{const t=!!e.is_epika,a=!!e.is_movie,l=!!e.is_series;return{isAudio:!!e.is_audio,isVideo:!!e.is_video,category:e.category_title||null,hideIcon:!1,href:e.category_url||null,text:e.item_date,isEpika:t,...t&&{...a&&{category:"Filmai",href:"https://epika.lrt.lt/filmai",target:"_blank"}
1,...l&&{category:"Serialai",href:"https://epika.lrt.lt/serialai",target:"_blank"},text:e.epika_valid_days&&e.epika_valid_days>0?`Įrašas pasiekiamas dar ${e.epika_valid_days} d.`:""}}},d=(e,t)=>{const a=!!e.is_audio,l=!!e.is_epika,o=a?((e,t)=>{const{category_img_path_prefix:a}=e;if(!a){const{imagePathHorizontal:e}=t||{};return e}return`${e.category_img_path_prefix}${r.sq.lg}${e.category_img_path_postfix}`})(e,t):null;return{hasArticleAudioVideo:!!e.article_has_audiovideo,isAudio:a,isEpika:l,isForDisabled:1===e.gestures||1===e.cc||1===e.specialsound,isHorizontal:!!e.photo_horizontal,isHorizontalSmall:!!e.photo_horizontal_small,isPhoto:!!e.photo_id,isVideo:!!e.is_video,isPhotoVertical:e.img_w_h<1,isPhotoSquare:[1,"1","1.0"].includes(e.img_w_h),isPlayButton:!!e.is_audio||!!e.is_video,backgroundImagePath:o,duration:e.duration_str??(e.duration_sec&&(0,n.kG)(e.duration_sec))??null,heritage:1===e.heritage,href:e.url||null,imagePath:s(e),n18:e.n18,photoCount:e.photo_count||0,photoId:e.photo_id||null,readCount:e.read_count||0,imageAlt:e.imageAlt,showPlayIconPlaceholderText:!1}},u=e=>{const t=(0,i.eY)(e.channel,e.channelClass)||{},a=e.url||"",n=(0,l.J)(a),r=!e.hideMediaBlock;return e.url=o.SG?n:a,{badgesHtml:e.badges_html||"",channelData:t,id:e.id,infoBlock:c(e),mediaBlock:r&&d(e,t),fullHref:n,href:e.url,fbShareCount:e.fb_share_count||0,title:e.title,postfix:e.subtitle,target:e.target}}},1916(e,t,a){a.d(t,{A:()=>o});var l=a(9347);const o={__name:"ButtonGroup",props:{variant:String,listClass:String,wrap:Boolean},setup(e){const t=e,a=(0,l.computed)(()=>["button-group",t.variant&&`button-group--${t.variant}
1`,t.wrap&&"button-group--wrap"].filter(Boolean));return(t,o)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(a.value)},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["button-group__list",e.listClass])},[(0,l.renderSlot)(t.$slots,"default")],2),(0,l.renderSlot)(t.$slots,"after-list")],2))}}},5575(e,t,a){a.d(t,{A:()=>l});const l=a(3560).A},5604(e,t,a){a.d(t,{A:()=>l});const l=a(4712).A},8407(e,t,a){a.d(t,{A:()=>l});const l=a(7408).A},5165(e,t,a){a.r(t),a.d(t,{default:()=>Y});var l=a(9347),o=a(8135),i=a(5579),n=a(5950),r=a(1615),s=a(9019),c=a(6162);const d={__name:"NewsSectionSortingXl",emits:["change"],setup(e,{emit:t}){const a=t,o=(0,l.ref)(!1),d=(0,l.ref)({[c.Af]:c.xI}),u=(0,l.computed)(()=>({key:c.Af,value:d.value[c.Af]})),m=(0,l.computed)(()=>{const{label:e}=c.JN.find(e=>e.key===u.value.key&&e.value===u.value.value);return e}),g=(0,l.computed)(()=>c.JN.map(e=>({...e})));return(e,t)=>((0,l.openBlock)(),(0,l.createBlock)(n.A,null,{default:(0,l.withCtx)(()=>[(0,l.createVNode)(i.A,{expanded:o.value,"onUpdate:expanded":t[0]||(t[0]=e=>o.value=e),"is-right-position":"","show-left-arrow":"",variant:"blue",label:m.value},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(g.value,(e,t)=>((0,l.openBlock)(),(0,l.createBlock)(s.A,{key:`sorting-${t}`,item:e,class:(0,l.normalizeClass)({"is-selected":e.value===u.value.value&&e.key===u.value.key})},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(r.A,{text:e.label,onClick:t=>(e=>{d.value[c.Af]=e.value;const t={[c.Af]:e.value};a("change",t),o.value=!1})(e)},null,8,["text","onClick"])],void 0,!0),_:2},1032,["item","class"]))),128))],void 0,!0),_:1},8,["expanded","label"])],void 0,!0),_:1}))}};var u=a(6262);const m=(0,u.A)(d,[["__scopeId","data-v-c8e7f628"]]),g={width:"92",height:"32",viewBox:"0 0 92 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};const v={},p=(0,u.A)(v,[["render",function(e,t){return(0,l.openBlock)(),(0,l.createElementBlock)("svg",g,[...t[0]||(t[0]=[(0,l.createStaticVNode)('<path fill-rule="evenodd" clip-rule="evenodd" d="M14.8173 17.4109C16.6895 16.9101 17.3857 15.2058 17.3857 13.8545C17.3857 11.5117 15.7633 9.93799 13.3488 9.93799H8.41602V12.311H12.9776C13.9886 12.311 14.6684 12.9395 14.6684 13.8545C14.6684 14.7695 13.9886 15.3844 12.9776 15.3844H9.59571V17.7553H12.1082L14.4268 22.0072H17.4882L14.8173 17.4109Z" fill="#1C2142"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M18.5723 9.94043V12.3097H21.7735V22.0051H24.4391V12.3097H27.6395V9.94043H18.5723Z" fill="#1C2142"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M3.20002 19.6358V9.94043H0.536133V22.0051H8.41504V19.6358H3.20002Z" fill="#1C2142"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M35.625 31.9449H38.3191V0H35.625V31.9449Z" fill="#DE2487"></path><path d="M47.8247 19.0337C47.5255 19.0321 47.2326 19.1203 46.983 19.2869C46.7335 19.4536 46.5386 19.6914 46.423 19.97C46.3074 20.2487 46.2763 20.5558 46.3337 20.8523C46.3911 21.1488 46.5344 21.4214 46.7454 21.6356C46.9564 21.8498 47.2257 21.9959 47.519 22.0555C47.8123 22.115 48.1166 22.0852 48.3932 21.97C48.6697 21.8547 48.9062 21.6592 49.0726 21.4081C49.239 21.157 49.3278 20.8617 49.3278 20.5595C49.3237 20.1575 49.1643 19.7731 48.8835 19.488C48.6027 19.203 48.2228 19.04 47.8247 19.0337Z" fill="#1C2142"></path><path d="M53.9623 9.84277H51.5713V21.8866H53.9623V9.84277Z" fill="#1C2142"></path><path d="M60.9309 19.5988L60.8313 19.6994C60.6256 19.8532 60.3745 19.9325 60.1186 19.9245C59.6985 19.9245 59.4258 19.5868 59.4258 19.0621V15.2606H61.1459V13.1196H59.4258V10.7695H59.163L55.6152 14.2112V15.2606H57.0088V19.6692C57.0088 21.2373 57.8928 22.1017 59.4955 22.1017C60.5566 22.1017 61.122 21.7901 61.4107 21.5288L61.4465 21.4946L60.9309 19.5988Z" fill="#1C2142"></path><path d="M91.4643 31.89H90.1602V25.7642H91.4643V31.89Z" fill="#1C2142"></path><path d="M89.5941 31.89H88.1063L87.7297 30.8522H85.1031L84.7173 31.89H83.2295L85.599 25.7642H87.2338L89.5941 31.89ZM87.3715 29.7042L86.4164 27.0683L85.4612 29.7042H87.3715Z" fill="#1C2142"></path><path d="M81.3861 31.89H79.7513L77.3818 25.7642H78.8697L80.5687 30.4756L82.2586 25.7642H83.7465L81.3861 31.89Z" fill="#1C2142"></path><path d="M75.1264 31.89H73.8222V29.3827L71.4619 25.7642H72.9497L74.4743 28.2255L75.9805 25.7642H77.4683L75.1264 29.3827V31.89Z" fill="#1C2142"></path><path d="M70.907 31.89H69.5936V29.3184H66.7006V31.89H65.3965V25.7642H66.7006V28.1704H69.5936V25.7642H70.907V31.89Z" fill="#1C2142"></path><path d="M62.0582 32.0002C60.2214 32.0002 58.7979 30.7144 58.7979 28.8316C58.7979 26.9489 60.2214 25.6631 62.0582 25.6631C63.4083 25.6631 64.1889 26.3978 64.6206 27.1601L63.5001 27.7112C63.243 27.2152 62.6919 26.8203 62.0582 26.8203C60.9469 26.8203 60.1387 27.6744 
160.1387 28.8316C60.1387 29.9888 60.9469 30.8429 62.0582 30.8429C62.6919 30.8429 63.243 30.4572 63.5001 29.9521L64.6206 30.4939C64.1798 31.2562 63.4083 32.0002 62.0582 32.0002Z" fill="#1C2142"></path><path d="M58.1499 31.89H56.6529L55.4497 29.7133H54.4946V31.89H53.1904V25.7642H56.0559C57.3325 25.7642 58.1131 26.5999 58.1131 27.7388C58.1131 28.8225 57.4335 29.4011 56.7722 29.5572L58.1499 31.89ZM55.863 28.5653C56.3865 28.5653 56.7814 28.2531 56.7814 27.7388C56.7814 27.2244 56.3865 26.9122 55.863 26.9122H54.4946V28.5653H55.863Z" fill="#1C2142"></path><path d="M52.6244 31.89H51.1365L50.76 30.8522H48.1333L47.7476 31.89H46.2598L48.6293 25.7642H50.2641L52.6244 31.89ZM50.4018 29.7042L49.4467 27.0683L48.4915 29.7042H50.4018Z" fill="#1C2142"></path>',15)])])}]]),h={class:"news-section-heritage-bar"},k={href:"/paveldas",class:"d-block"},f={__name:"NewsSectionHeritageBar",setup:e=>(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",h,[(0,l.createElementVNode)("a",k,[(0,l.createVNode)(p)]),t[0]||(t[0]=(0,l.createElementVNode)("div",null,[(0,l.createElementVNode)("a",{href:"/paveldas"},"Sužinok daugiau")],-1))]))},_=(0,u.A)(f,[["__scopeId","data-v-b1b6663a"]]),b={class:"d-flex justify-content-between border-bottom border-light pb-16"},C={class:"d-flex align-items-center"},B={key:1,class:"text-size-12 text-dark"},S={class:"d-flex"},y={__name:"NewsSectionCategoryFilter",props:{heritageTotalCount:[Number,String],loading:Boolean,totalCount:[Number,String]},emits:["update:category-filter-params"],setup(e,{emit:t}){const a=t,r=e,s=(0,l.ref)(0),d=(0,l.ref)({[c.Af]:c.xI}),u=(0,l.ref)([{count:void 0,id:"all",isSelected:!0,title:"Visi įrašai",value:void 0},{count:void 0,id:"heritage",isSelected:!1,title:"LRT Archyvai įrašai",value:1}]),g=(0,l.computed)(()=>"heritage"===v.value[0].id||1===s.value&&!!v.value[1].count),v=(0,l.computed)(()=>{const{count:e}=u.value[0],{count:t}=u.value[1];return t?e===t?[u.value[1]]:u.value:[u.value[0]]}),p=(e,t,a)=>{if(void 0!==a||void 0!==u.value[e].count)return!1;u.value[e].count=parseInt(t)},h=()=>{var e;a("update:category-filter-params",{...s.value&&{heritage:1},...d.value,...e})},k=e=>{d.value=e,h()},f=e=>{const t="all"===e.id?0:1;if(r.loading||t===s.value)return;const a=(0,o.A)(u.value);s.value=t,a[0].isSelected=!1,a[1].isSelected=!1,a[t].isSelected=!0,u.value=(0,o.A)(a),h()};return(0,l.watch)(()=>r.totalCount,(e,t)=>{p(0,+e,t)}),(0,l.watch)(()=>r.heritageTotalCount,(e,t)=>{p(1,+e,t)}),(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.createElementVNode)("div",b,[(0,l.createElementVNode)("div",C,[v.value.length>1?((0,l.openBlock)(),(0,l.createBlock)(n.A,{key:0},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(i.A,{"alternative-text":`${v.value[s.value].title}: ${v.value[s.value].count}`,"close-on-select":"","hide-checkbox":"","id-key":"value",label:"Rodomi","label-key":"title","list-size":"lg",list:v.value,"selected-index":s.value,onChange:f},null,8,["alternative-text","list","selected-index"])],void 0,!0),_:1})):v.value[0].count?((0,l.openBlock)(),(0,l.createElementBlock)("span",B,[(0,l.createTextVNode)((0,l.toDisplayString)(v.value[0].title)+": ",1),(0,l.createElementVNode)("strong",null,(0,l.toDisplayString)(v.value[0].count),1)])):(0,l.createCommentVNode)("",!0)]),(0,l.createElementVNode)("div",S,[(0,l.createVNode)(m,{onChange:k})])]),g.value?((0,l.openBlock)(),(0,l.createBlock)(_,{key:0,class:"mt-30"})):(0,l.createCommentVNode)("",!0)]))}};var w=a(5627),V=a(4926);const x=["value"],H=["value","selected"],N={__name:"NewsSectionOrder",props:{modelValue:String},emits:["update:model-value"],setup(e,{emit:t}){const a=t,o=e,{$tr:i}=(0,V.U)(),n=(0,l.ref)(o.modelValue),r=(0,l.ref)([{text:null==i?void 0:i.label.newestFirst,value:w.Tr.DESC},{text:null==i?void 0:i.label.newestLast,value:w.Tr.ASC}]),s=(0,l.computed)(()=>o.modelValue?"custom-select--purple":"custom-select--light"),c=()=>{a("update:model-value",n.value)};return(0,l.watch)(()=>o.modelValue,e=>{n.value=e}),(t,a)=>(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("select",{"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),class:(0,l.normalizeClass)(["custom-select custom-select-sm",s.value]),value:e.modelValue,onChange:c},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(r.value,t=>((0,l.openBlock)(),(0,l.createElementBlock)("option",{key:t.value,value:t.value,selected:t.value===e.modelValue},(0,l.toDisplayString)(t.text),9,H))),128))],42,x)),[[l.vModelSelect,n.value]])}},A=(0,u.A)(N,[["__scopeId","data-v-18e69344"]]);var L=a(1916);const E={__name:"NewsSectionTabs",props:{activeVariant:{type:String,default:"purple"},dataTabs:String,dataTabsWithDropdown:Boolean,moreHref:String,variant:{type:String,default:""}},emits:["click","update:more-href"],setup(e,{emit:t}){const a=t,o=e,s=(0,l.ref)(0),c=(0,l.computed)(()=>(e=>{var t;const{list:a,param:l,title:o}=(null===(t=window.lrtNewsSection)||void 0===t?void 0:t.tabs[e])||{};return{param:l,list:a||[],title:o}})(o.dataTabs)),d=(0,l.computed)(()=>c.value.list[s.value]),u=(0,l.computed)(()=>[c.value.param,...c.value.list.map(e=>
1e.key).filter(Boolean)]),m=(0,l.computed)(()=>u.value.reduce((e,t)=>(e[t]=void 0,e),{})),g=(e,t,l={})=>{const o={...m.value,[e]:t};a("click",o),a("update:more-href",l.moreHref)},v=e=>{s.value=c.value.list.findIndex(t=>t.value===e.value),g(c.value.param,e.value,e)};return(0,l.onBeforeMount)(()=>{var e;a("update:more-href",null===(e=d.value)||void 0===e?void 0:e.moreHref)}),(t,a)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",null,[(0,l.createVNode)(L.A,{wrap:"",class:(0,l.normalizeClass)({"d-none d-md-block":e.dataTabsWithDropdown})},{default:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(c.value.list,(t,a)=>((0,l.openBlock)(),(0,l.createBlock)(r.A,{key:a,text:t.label,variant:s.value===a?e.activeVariant:e.variant,onClick:e=>((e,t)=>{s.value=e;const a=t.key||c.value.param,l=t.value;g(a,l,t)})(a,t)},null,8,["text","variant","onClick"]))),128))],void 0,!0),_:1},8,["class"]),e.dataTabsWithDropdown?((0,l.openBlock)(),(0,l.createBlock)(n.A,{key:0,class:"d-md-none"},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(i.A,{"close-on-select":"","hide-checkbox":"","is-full-width":"","id-key":"value","label-key":"label","alternative-text":d.value.label,label:c.value.title,list:c.value.list,"selected-index":s.value,onChange:v},null,8,["alternative-text","label","list","selected-index"])],void 0,!0),_:1})):(0,l.createCommentVNode)("",!0)]))}},I=(0,u.A)(E,[["__scopeId","data-v-5bc94534"]]),z=["href"],T={key:1},$={__name:"NewsSectionTitle",props:{title:String,titleUrl:String},setup:e=>(t,a)=>e.titleUrl?((0,l.openBlock)(),(0,l.createElementBlock)("a",{key:0,class:"link-secondary",href:e.titleUrl},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e.title),1)],8,z)):((0,l.openBlock)(),(0,l.createElementBlock)("span",T,(0,l.toDisplayString)(e.title),1))};var D=a(6730);const M=["href","title"],P={__name:"Tag",props:{href:String,title:String},setup:e=>(t,a)=>((0,l.openBlock)(),(0,l.createElementBlock)("a",{class:"tag-list__item",href:e.href,title:e.title},[(0,l.createElementVNode)("span",null,"# "+(0,l.toDisplayString)(e.title),1)],8,M))},U={class:"tag-list"},j={__name:"TagList",props:{list:Array},setup:e=>(t,a)=>((0,l.openBlock)(),(0,l.createElementBlock)("div",U,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.list,(e,t)=>((0,l.openBlock)(),(0,l.createBlock)(P,{key:t,href:e.href,title:e.title},null,8,["href","title"]))),128))]))};var Z=a(5575),F=a(5604),R=a(6656),O=a(6917);const K={key:2,class:"article-content article-content--xxs mt-30 mb-0"},W={class:"my-0"},q=["href"],G={class:"btn__text"},J=["disabled"],Q={key:0,class:"btn__text"},Y={__name:"NewsSection",props:{dataAuthorId:String,dataCount:{type:String,default:"22"},dataHiding:Boolean,dataId:String,dataLoadingCount:String,dataMoreButtonUrl:String,dataQueryParams:String,dataShowCategoryFilter:Boolean,dataSlug:String,dataSorting:String,dataTabs:String,dataTabsWithDropdown:Boolean,dataTag:String,dataTagUrl:String,dataTemplate:{type:String,default:"3-4-3-4-4-4"},dataTerm:String,dataTitle:String,dataTitleUrl:String},setup(e){const t=e,{$tr:a}=(0,V.U)(),o=(0,l.ref)(null),i=(0,l.ref)(t.dataSorting||w.Tr.DESC),n=(0,l.ref)(1),r=(0,l.ref)(!0),s=(0,l.ref)(!1),c=(0,l.ref)([]),d=(0,l.ref)(null),u=(0,l.ref)(null),m=(0,l.ref)(void 0),g=(0,l.ref)(void 0),v=(0,l.ref)(void 0),p=(0,l.ref)(0),h=(0,l.ref)(2),k=(0,l.computed)(()=>t.dataLoadingCount||t.dataCount),f=(0,l.computed)(()=>!r.value&&!!c.value.length),_=(0,l.computed)(()=>!!d.value&&parseInt(d.value.total_found)>parseInt(d.value.total)),b=(0,l.computed)(()=>{var e;return t.dataTitle||(null===(e=u.value)||void 0===e?void 0:e.title)}),C=(0,l.computed)(()=>{if(t.dataQueryParams)return t.dataQueryParams.split(";").filter(Boolean).reduce((e,t)=>{const[a,l]=t.split("=");return a&&l&&(e[a]=l),e},{})}),B=(0,l.computed)(()=>({page:n.value,count:1===n.value?t.dataCount:k.value,order:i.value,...t.dataSlug&&{slug:t.dataSlug},...t.dataAuthorId&&{author_id:t.dataAuthorId},...C.value,...g.value})),S=(0,l.computed)(()=>r.value||s.value||c.value.length),x=(0,l.computed)(()=>!S.value),H=(0,l.computed)(()=>t.dataMoreButtonUrl||v.value),N=e=>{g.value=e,r.value=!0,n.value=1,T(!1)},L=e=>{i.value=e,r.value=!0,n.value=1,T()},E=e=>{r.value=!0,n.value=1,T(!1,e)},z=()=>{s.value||(s.value=!0,n.value++,T(!0,{},!0))},T=async(e=!1,t={},a=!1)=>{try{var l;const{data:i,headers:n}=await R.A.getFullResponseByUrl(O.Sr,{params:{...B.value,...t}});if(!await M(a,n.age,e,t))return;if(m.value=parseInt((null===(l=i.facets)||void 0===l?void 0:l.heritage)||0),d.value=i.meta,u.value=i.slug_info||null,e){const e=c.value.length;c.value=c.value.concat(i.items),(e=>{var t;const a=null===(t=o.value)||void 0===t?void 0:t.$el.querySelector(`div:nth-child(${e}) .news__title a`);a&&a.focus()})(e)}else c.value=i.items}catch(e){console.error(e)}finally{r.value=!1,s.value=!1}},M=async(e,t,a,l)=>!e||(t>
15&&p.value<h.value?(p.value++,T(a,l,!0),!1):(t<=5&&(p.value=0),!0));return(0,l.onMounted)(()=>{t.dataShowCategoryFilter&&(i.value=void 0),T()}),(t,n)=>!e.dataHiding||f.value?((0,l.openBlock)(),(0,l.createBlock)(F.A,{key:0,id:e.dataId},(0,l.createSlots)({subHead:(0,l.withCtx)(()=>{var t;return[e.dataTabs?((0,l.openBlock)(),(0,l.createBlock)(I,{key:0,"more-href":v.value,"onUpdate:moreHref":n[0]||(n[0]=e=>v.value=e),class:"mt-30","data-tabs":e.dataTabs,"data-tabs-with-dropdown":e.dataTabsWithDropdown,onSortingChange:L,onClick:E},null,8,["more-href","data-tabs","data-tabs-with-dropdown"])):e.dataShowCategoryFilter?((0,l.openBlock)(),(0,l.createBlock)(y,{key:1,class:"mt-30","category-filter-params":g.value,loading:r.value,"total-count":null===(t=d.value)||void 0===t?void 0:t.total_found,"heritage-total-count":m.value,"onUpdate:categoryFilterParams":N},null,8,["category-filter-params","loading","total-count","heritage-total-count"])):(0,l.createCommentVNode)("",!0)]}),body:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(["position-relative pb-150",{"pb-180":r.value}])},[r.value?((0,l.openBlock)(),(0,l.createBlock)(D.A,{key:0,class:"search-block__loading"})):(0,l.createCommentVNode)("",!0),S.value?((0,l.openBlock)(),(0,l.createBlock)(Z.A,{key:1,ref_key:"itemsList",ref:o,class:(0,l.normalizeClass)(["mt-30",{"news-list--loading":r.value}]),list:c.value,variant:e.dataTemplate},null,8,["class","list","variant"])):(0,l.createCommentVNode)("",!0),x.value?((0,l.openBlock)(),(0,l.createElementBlock)("div",K,[(0,l.createElementVNode)("p",W,(0,l.toDisplayString)((0,l.unref)(a).text.noResult),1)])):(0,l.createCommentVNode)("",!0)],2)]),foot:(0,l.withCtx)(()=>[H.value?((0,l.openBlock)(),(0,l.createElementBlock)("a",{key:0,class:"btn btn--lg section__button",href:H.value,tabindex:0},[(0,l.createElementVNode)("span",G,(0,l.toDisplayString)((0,l.unref)(a).button.more),1)],8,q)):_.value?((0,l.openBlock)(),(0,l.createElementBlock)("button",{key:1,class:"btn btn--lg section__button",type:"button",tabindex:0,disabled:s.value,onClick:z},[s.value?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("span",Q,(0,l.toDisplayString)((0,l.unref)(a).button.more),1)),s.value?((0,l.openBlock)(),(0,l.createBlock)(D.A,{key:1})):(0,l.createCommentVNode)("",!0)],8,J)):(0,l.createCommentVNode)("",!0)]),_:2},[b.value?{name:"title",fn:(0,l.withCtx)(()=>[(0,l.createVNode)($,{title:b.value,"title-url":e.dataTitleUrl},null,8,["title","title-url"])]),key:"0"}:void 0,e.dataSorting||e.dataTag&&e.dataTagUrl?{name:"tools",fn:(0,l.withCtx)(()=>[e.dataSorting?((0,l.openBlock)(),(0,l.createBlock)(A,{key:0,"model-value":i.value,"onUpdate:modelValue":L},null,8,["model-value"])):(0,l.createCommentVNode)("",!0),e.dataTag&&e.dataTagUrl?((0,l.openBlock)(),(0,l.createBlock)(j,{key:1,list:[{href:e.dataTagUrl,title:e.dataTag}]},null,8,["list"])):(0,l.createCommentVNode)("",!0)]),key:"1"}:void 0]),1032,["id"])):(0,l.createCommentVNode)("",!0)}}},3560(e,t,a){a.d(t,{A:()=>l.A});var l=a(8149)},4712(e,t,a){a.d(t,{A:()=>l.A});var l=a(8177)},7408(e,t,a){a.d(t,{A:()=>l.A});var l=a(6163)}}]);

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.