1"use strict";(globalThis.webpackChunk_vb_frontend=globalThis.webpackChunk_vb_frontend||[]).push([[9586],{8149(e,t,n){n.d(t,{A:()=>s});var o=n(9347),l=n(4331),a=n(9552);const i={class:"row"},s={__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,n=(0,o.computed)(()=>t.variant&&`news-list--${t.variant}`);return(t,s)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["news-list",n.value])},[(0,o.createElementVNode)("div",i,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.list,(n,i)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(n.colClass||"col"),key:`${i}-${n.id}`},[n?((0,o.openBlock)(),(0,o.createBlock)(a.A,{key:0,class:(0,o.normalizeClass)(n.newsClass),data:n,"highlight-match-by":e.highlightMatchBy,"show-more-news-button":(0,o.unref)(l.K)(e.variant,i),"skip-img-lazy":e.skipImgLazy,target:e.target},{action:(0,o.withCtx)(()=>[(0,o.renderSlot)(t.$slots,"action",(0,o.normalizeProps)((0,o.guardReactiveProps)({id:n.id})))]),_:2},1032,["class","data","highlight-match-by","show-more-news-button","skip-img-lazy","target"])):(0,o.createCommentVNode)("",!0)],2))),128))])],2))}}},8177(e,t,n){n.d(t,{A:()=>u});var o=n(9347),l=n(8407);const a={class:"section"},i=["src","alt"],s={class:"section__title-container"},r={class:"section__title-content"},c={key:0,class:"section__title"},d={key:0,class:"section__tools"},m={key:2,class:"section__body"},u={__name:"SectionBlock",props:{bgImageAlt:String,bgImageClass:String,bgImageSrc:String,headClass:String,title:String,titleHref:String},setup:e=>(t,n)=>((0,o.openBlock)(),(0,o.createElementBlock)("section",a,[e.bgImageSrc?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["section__bg-image",e.bgImageClass])},[(0,o.createElementVNode)("img",{src:e.bgImageSrc,alt:e.bgImageAlt},null,8,i)],2)):(0,o.createCommentVNode)("",!0),t.$slots.head||t.$slots.title||e.title||t.$slots.tools?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,class:(0,o.normalizeClass)(["section__head",e.headClass])},[(0,o.createElementVNode)("div",s,[(0,o.createElementVNode)("div",r,[t.$slots.title||e.title?((0,o.openBlock)(),(0,o.createElementBlock)("h2",c,[e.title?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:0},[e.title?((0,o.openBlock)(),(0,o.createBlock)(l.A,{key:0,title:e.title,"title-href":e.titleHref},null,8,["title","title-href"])):(0,o.createCommentVNode)("",!0)],64)):(0,o.renderSlot)(t.$slots,"title",{key:1})])):(0,o.createCommentVNode)("",!0),(0,o.renderSlot)(t.$slots,"under-the-title")])]),t.$slots.tools?((0,o.openBlock)(),(0,o.createElementBlock)("div",d,[(0,o.renderSlot)(t.$slots,"tools")])):(0,o.createCommentVNode)("",!0),(0,o.renderSlot)(t.$slots,"head")],2)):(0,o.createCommentVNode)("",!0),(0,o.renderSlot)(t.$slots,"subHead"),t.$slots.body?((0,o.openBlock)(),(0,o.createElementBlock)("div",m,[(0,o.renderSlot)(t.$slots,"body")])):(0,o.createCommentVNode)("",!0),(0,o.renderSlot)(t.$slots,"foot")]))}},6163(e,t,n){n.d(t,{A:()=>s});var o=n(9347);const l={class:"section__title"},a=["href"],i={key:1},s={__name:"SectionBlockTitle",props:{title:String,titleHref:String},setup:e=>(t,n)=>((0,o.openBlock)(),(0,o.createElementBlock)("h2",l,[e.titleHref?((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:"link-secondary",href:e.titleHref},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(e.title),1)],8,a)):((0,o.openBlock)(),(0,o.createElementBlock)("span",i,(0,o.toDisplayString)(e.title),1))]))}},1969(e,t,n){n.d(t,{c:()=>o});const o=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"}})}
1,6917(e,t,n){n.d(t,{$d:()=>b,C$:()=>p,DN:()=>s,FF:()=>B,K1:()=>I,Kw:()=>c,NY:()=>N,Rl:()=>C,SG:()=>a,SZ:()=>r,Sr:()=>k,TP:()=>l,UI:()=>E,Ut:()=>m,VG:()=>d,VT:()=>o,Z5:()=>x,_A:()=>i,_Z:()=>v,cw:()=>u,i7:()=>h,j4:()=>S,kq:()=>L,rQ:()=>g,sw:()=>A,tW:()=>w,tx:()=>_,vx:()=>y,xL:()=>f});const o="https://www.lrt.lt",l="https://www.lrt.lt",a=!1,i="6LcThNcUAAAAABDTmIZlL_eA5BLeCrP3J6gkzEem",s="https://api.lrt.lt",r="",c="/api/json/list-categories/lrtlt",d="/api/json/list-categories/lituanica",m="/api/search?get_terms=1",u="/api/search?get_terms=1&heritage=1",h=["true","1",1,!0].includes("false"),p="/paieska",k="/api/search",g="/api/json/rds",v="/servisai/orai/forecast",_="/static/data/weather",B="1",w="/servisai/orai",y="/orai",f="Orai {nl} | {ad} - LRT",b="https://www.lrt.lt/orai/{c}",C="https://paveldas-api.lrt.lt",E="true"==="MISSING_ENV_VAR".HERITAGE_IS_LOGGED_IN,S="/api/json/get-feed-items",L="/api/json/tvprog-now",N="/static/tags/region-tags.json",A="0000-0000-000-0001",I="https://archyvai.lrt.lt",x="/paveldas/paieska"},5627(e,t,n){n.d(t,{Tm:()=>o,Tr:()=>a,sq:()=>l});const o="[email protected]",l={xxl:"1287x836",xl:"756x425",lg:"615x345",md:"393x221",sm:"282x158",xs:"150x84"},a=Object.freeze({ASC:"asc",DESC:"desc"})},8016(e,t,n){n.d(t,{k:()=>o});const o=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"})},1701(e,t,n){n.d(t,{Eh:()=>i,R4:()=>s,eY:()=>l,kb:()=>a,sG:()=>r});var o=n(1969);const l=(e,t)=>{const n=Object.keys(o.c).find(n=>{var l,a;return(null===(l=o.c[n])||void 0===l?void 0:l.channelId)===e||(null===(a=o.c[n])||void 0===a?void 0:a.className)===t});return n?o.c[n]:null},a=e=>[o.c.EPIKA_SERIAL.channelId,o.c.EPIKA_VOD.channelId].includes(e),i=e=>13===e.id,s=e=>31===e.id,r=e=>i(e)||s(e)}
1,9655(e,t,n){n.d(t,{ff:()=>l,kG:()=>i,sL:()=>a});const o=e=>e instanceof Date&&!isNaN(e),l=e=>{const t=new Date(e);if(!o(t))return!0;return Math.floor((new Date-t)/1e3)/31536e3/2592e3/86400>1},a=({date:e,tr:t})=>{const n=+e.slice(0,4),l=+e.slice(5,7),a=+e.slice(8,10),i=+e.slice(11,13),s=+e.slice(14,16),r=new Date(n,l-1,a,i,s);if(!o(r))return null;const c=Math.floor((new Date-r)/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}`)))))},i=e=>{const t=new Date(null);return t.setSeconds(e),t.toISOString().slice(11,19).replace(/^00:/,"")}},4331(e,t,n){n.d(t,{K:()=>l});var o=n(8016);const l=(e,t)=>0===t&&[o.k["1x-left-3"],o.k["1x-right-3"],o.k["1x-left-1-4"],o.k["1x-right-1-4"]].includes(e)},3830(e,t,n){n.d(t,{x:()=>a});var o=n(4166),l=n(6917);const a=async()=>{try{var e;const t=await o.A.get(l.kq);return(null==t||null===(e=t.data)||void 0===e?void 0:e.channels)||[]}catch(e){return console.error("Error fetching live channels:",e),[]}}},9808(e,t,n){n.d(t,{D:()=>r,r:()=>m});var o=n(5690),l=n(6917),a=n(1701),i=n(9655),s=n(5627);const r=(e,t=s.sq.lg)=>e.full_img?e.full_img:(0,a.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,n=!!e.is_movie,o=!!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&&{...n&&{category:"Filmai",href:"https://epika.lrt.lt/filmai",target:"_blank"},...o&&{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 n=!!e.is_audio,o=!!e.is_epika,l=n?((e,t)=>{const{category_img_path_prefix:n}=e;if(!n){const{imagePathHorizontal:e}=t||{};return e}return`${e.category_img_path_prefix}${s.sq.lg}${e.category_img_path_postfix}`})(e,t):null;return{hasArticleAudioVideo:!!e.article_has_audiovideo,isAudio:n,isEpika:o,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:l,duration:e.duration_str??(e.duration_sec&&(0,i.kG)(e.duration_sec))??null,heritage:1===e.heritage,href:e.url||null,imagePath:r(e),n18:e.n18,photoCount:e.photo_count||0,photoId:e.photo_id||null,readCount:e.read_count||0,imageAlt:e.imageAlt,showPlayIconPlaceholderText:!1}},m=e=>{const t=(0,a.eY)(e.channel,e.channelClass)||{},n=e.url||"",i=(0,o.J)(n),s=!e.hideMediaBlock;return e.url=l.SG?i:n,{badgesHtml:e.badges_html||"",channelData:t,id:e.id,infoBlock:c(e),mediaBlock:s&&d(e,t),fullHref:i,href:e.url,fbShareCount:e.fb_share_count||0,title:e.title,postfix:e.subtitle,target:e.target}}},6643(e,t,n){n.d(t,{f:()=>o});const o={data:()=>({keydownCallback:null}),methods:{watchEscapeButtonHandler(e){27===e.keyCode&&this.keydownCallback&&this.keydownCallback()},registerKeydown(e,{suffix:t}={}){this.keydownCallback=e,document.addEventListener(this.getEventName("keydown",t),this.watchEscapeButtonHandler)},unregisterKeydown({suffix:e}={}){document.removeEventListener(this.getEventName("keydown",e),this.watchEscapeButtonHandler),this.keydownCallback=null},getEventName(e,t){return this.suffix?`${e}:${t}`:e}}}},1211(e,t,n){n.d(t,{A:()=>l});var o=n(9347);const l={__name:"LiveIcon",props:{size:{type:String,default:"",validator:e=>["","xs"].includes(e)}},setup(e){const t=e,n=(0,o.computed)(()=>["live-icon",t.size&&`live-icon--${t.size}`]);return(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)("span",{class:(0,o.normalizeClass)(n.value)},[...t[0]||(t[0]=[(0,o.createElementVNode)("span",{class:"live-icon__ring"},null,-1),(0,o.createElementVNode)("span",{class:"live-icon__circle"},null,-1)])],2))}}}
1,6730(e,t,n){n.d(t,{A:()=>a});var o=n(9347);const l={key:0,class:"loading__pulse-explosion"},a={__name:"Loading",props:{size:{type:String,validator:e=>["sm"].includes(e)}},setup(e){const t=e,n=(0,o.computed)(()=>[t.size&&`loading--${t.size}`]),a=(0,o.computed)(()=>"sm"!==t.size);return(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["loading",n.value])},[t[0]||(t[0]=(0,o.createElementVNode)("div",{class:"loading__pulse-center"},null,-1)),a.value?((0,o.openBlock)(),(0,o.createElementBlock)("div",l)):(0,o.createCommentVNode)("",!0)],2))}}},4716(e,t,n){n.d(t,{A:()=>u});var o=n(9347),l=n(5886);const a=["href"],i=["innerHTML"],s={key:1,class:"channel-item-2__channel-name"},r={class:"channel-item-2__progress-wrapper"},c={class:"channel-item-2__time"},d={class:"channel-item-2__progress"},m={class:"channel-item-2__title"},u={__name:"ChannelItem",props:{channel:{type:Object,required:!0},variant:{type:String,required:!1}},setup(e){const t=e,n=(0,o.computed)(()=>"secondary"===t.variant),u=(0,o.computed)(()=>{var e,o;const l=[];return n.value?[]:(null!==(e=t.channel)&&void 0!==e&&e.allow_lt&&l.push({text:"Tik Lietuvoje",variant2:"outline-light-gray"}),null!==(o=t.channel)&&void 0!==o&&o.block_all&&l.push({text:"Transliacija internetu negalima",variant2:"danger-light"}),l)});return(t,h)=>((0,o.openBlock)(),(0,o.createElementBlock)("a",{class:(0,o.normalizeClass)(["channel-item-2",[e.channel.channel_class,{"channel-item-2--secondary":n.value}]]),href:e.channel.href},[n.value?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,innerHTML:e.channel.logo_svg},null,8,i)),n.value?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,(0,o.toDisplayString)(e.channel.channel_title),1)):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",r,[(0,o.createElementVNode)("span",c,(0,o.toDisplayString)(e.channel.time_start)+" - "+(0,o.toDisplayString)(e.channel.time_end),1),(0,o.createElementVNode)("span",d,[(0,o.createElementVNode)("span",{style:(0,o.normalizeStyle)(`width: ${e.channel.proc}%;`)},null,4)])]),(0,o.createElementVNode)("div",m,(0,o.toDisplayString)(e.channel.title),1),u.value.length>0?((0,o.openBlock)(),(0,o.createBlock)(l.A,{key:2,list:u.value},null,8,["list"])):(0,o.createCommentVNode)("",!0)],10,a))}}},9517(e,t,n){n.d(t,{A:()=>r});var o=n(9347),l=n(6730),a=n(4716),i=n(3830),s=n(1701);const r={__name:"ChannelItemListBlock",props:{channel:Object,pageId:Number,trackChannelType:Boolean,variantClass:{type:String,default:"default"}},setup(e){const t=e,n=(0,o.ref)([]),r=(0,o.ref)(!1),c=(0,o.computed)(()=>[t.variantClass&&`channel-item-list-2--${t.variantClass}`]);return(0,o.onMounted)(()=>(async()=>{try{r.value=!0;const e=await(0,i.x)();n.value=e.filter(e=>t.trackChannelType&&(0,s.R4)({id:t.pageId})?!!e.is_radio:!t.trackChannelType||!(0,s.Eh)({id:t.pageId})||!e.is_radio)}catch(e){console.error(e)}finally{r.value=!1}})()),(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",null,[r.value?((0,o.openBlock)(),(0,o.createBlock)(l.A,{key:0,class:"d-flex justify-center"})):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:1,class:(0,o.normalizeClass)(["channel-item-list-2",c.value])},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(n.value,(e,t)=>((0,o.openBlock)(),(0,o.createBlock)(a.A,{key:t,channel:e},null,8,["channel"]))),128))],2))]))}}},5575(e,t,n){n.d(t,{A:()=>o});const o=n(3560).A},5604(e,t,n){n.d(t,{A:()=>o});const o=n(4712).A},8407(e,t,n){n.d(t,{A:()=>o});const o=n(7408).A},6011(e,t,n){n.r(t),n.d(t,{default:()=>D});var o=n(9347);var l=n(9517);var a=n(5604);const i={name:"MainMenuBody",components:{SectionBlock:a.A}};var s=n(6262);const r=(0,s.A)(i,[["render",function(e,t,n,l,a,i){const s=(0,o.resolveComponent)("SectionBlock");return(0,o.openBlock)(),(0,o.createBlock)(s,{class:"main-menu-body mb-0 px-32 py-40 px-lg-50 px-xl-60 grow-1"},{body:(0,o.withCtx)(()=>[(0,o.renderSlot)(e.$slots,"body",{},void 0,!0)]),foot:(0,o.withCtx)(()=>[(0,o.renderSlot)(e.$slots,"foot",{},void 0,!0)]),_:3})}],["__scopeId","data-v-6a23b4c1"]]),c={name:"MainMenuChannelItemList",components:{ChannelItemListBlock:l.A,MainMenuBody:r},props:{pageId:Number}},d=(0,s.A)(c,[["render",function(e,t,n,l,a,i){const s=(0,o.resolveComponent)("ChannelItemListBlock"),r=(0,o.resolveComponent)("MainMenuBody");return(0,o.openBlock)(),(0,o.createBlock)(r,null,{body:(0,o.withCtx)(()=>[(0,o.createVNode)(s,{"track-channel-type":"","page-id":n.pageId},null,8,["page-id"])]),_:1})}]]);const m=["href","target","data-offset"],u={class:"d-inline-flex align-center"},h={key:0,class:"menu-block-button__svg-forward",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p={class:"d-flex align-items-center"},k={key:1,class:"menu-block-button__svg-back mr-16",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g={key:0,class:"menu-block-button__svg-forward",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var v=n(1211);const _={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};const B={},w=(0,s.A)(B,[["render",function(e,t){return(0,o.openBlock)(),(0,o.createElementBlock)("svg",_,[...t[0]||(t[0]=[(0,o.createElementVNode)("path",{d:"M3.5 12.5L12.5 3.5",stroke:"#222659","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),(0,o.createElementVNode)("path",{d:"M5.1875 3.5H12.5V10.8125",stroke:"#222659","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])}]]),y={name:"MenuBlockButton",components:{LiveIcon:v.A,SvgIconArrowTopRight:w},props:{hasArrow:Boolean,hasSecondaryArrow:Boolean,isLink:Boolean,isHighlighted:Boolean,liveIconClass:String,showBackButton:Boolean,showLiveIcon:Bo
1olean,target:{type:String,default:"_self"},href:String,text:String,textSizeSmall:Boolean,offset:Number}},f=(0,s.A)(y,[["render",function(e,t,n,l,a,i){const s=(0,o.resolveComponent)("SvgIconArrowTopRight"),r=(0,o.resolveComponent)("LiveIcon");return n.isLink?((0,o.openBlock)(),(0,o.createElementBlock)("a",{key:0,class:(0,o.normalizeClass)(["menu-block-button",{"menu-block-button--highlighted":n.isHighlighted,"menu-block-button--sm":n.textSizeSmall}]),href:n.href,target:n.target,"data-offset":n.offset,onClick:t[0]||(t[0]=t=>e.$emit("click"))},[e.$slots.default?(0,o.renderSlot)(e.$slots,"default",{key:0},void 0,!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("span",u,[n.hasSecondaryArrow?((0,o.openBlock)(),(0,o.createBlock)(s,{key:0,class:"mr-8"})):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.text),1)]),n.hasArrow?((0,o.openBlock)(),(0,o.createElementBlock)("svg",h,[...t[2]||(t[2]=[(0,o.createElementVNode)("path",{d:"M8.75 18.75L15.5 12L8.75 5.25",stroke:"#97A2B6","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),(0,o.createElementVNode)("path",{d:"M8.75 18.75L15.5 12L8.75 5.25",stroke:"black","stroke-opacity":"0.46","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(0,o.createCommentVNode)("",!0)],64))],10,m)):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:1,class:(0,o.normalizeClass)(["menu-block-button btn--reset",{"menu-block-button--highlighted":n.isHighlighted,"menu-block-button--sm":n.textSizeSmall}]),type:"button",onClick:t[1]||(t[1]=t=>e.$emit("click"))},[e.$slots.default?(0,o.renderSlot)(e.$slots,"default",{key:0},void 0,!0):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)("span",p,[n.showLiveIcon?((0,o.openBlock)(),(0,o.createBlock)(r,{key:0,size:"xs",class:(0,o.normalizeClass)(n.liveIconClass)},null,8,["class"])):(0,o.createCommentVNode)("",!0),n.showBackButton?((0,o.openBlock)(),(0,o.createElementBlock)("svg",k,[...t[3]||(t[3]=[(0,o.createElementVNode)("path",{d:"M20.25 12H3.75",stroke:"#97A2B6","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),(0,o.createElementVNode)("path",{d:"M20.25 12H3.75",stroke:"black","stroke-opacity":"0.46","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),(0,o.createElementVNode)("path",{d:"M10.5 5.25L3.75 12L10.5 18.75",stroke:"#97A2B6","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),(0,o.createElementVNode)("path",{d:"M10.5 5.25L3.75 12L10.5 18.75",stroke:"black","stroke-opacity":"0.46","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(n.text),1)]),n.hasArrow?((0,o.openBlock)(),(0,o.createElementBlock)("svg",g,[...t[4]||(t[4]=[(0,o.createElementVNode)("path",{d:"M8.75 18.75L15.5 12L8.75 5.25",stroke:"#97A2B6","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),(0,o.createElementVNode)("path",{d:"M8.75 18.75L15.5 12L8.75 5.25",stroke:"black","stroke-opacity":"0.46","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):(0,o.createCommentVNode)("",!0)],64)),(0,o.renderSlot)(e.$slots,"after",{},void 0,!0)],2))}],["__scopeId","data-v-355535ea"]]);var b=n(1701);const C={name:"MainMenuLinks",components:{MenuBlockButton:f},props:{forceButton:Boolean,links:{type:Array,default:()=>[]},twoColumns:Boolean},data:()=>({selectedId:null}),computed:{localLinks(){return this.links.map(e=>{const t=!this.forceButton&&!(0,b.sG)(e),n=t?e.url:void 0,o=e.newWindow&&t?"_blank":void 0;return{...e,isLink:t,link:n,target:o}})}},methods:{onClick(e){this.selectedId=!this.selectedId&&(0,b.sG)(e)?e.id:null,e.isLink||this.$emit("click",e)}}},E=(0,s.A)(C,[["render",function(e,t,n,l,a,i){const s=(0,o.resolveComponent)("MenuBlockButton");return(0,o.openBlock)(),(0,o.createElementBlock)("ul",{class:(0,o.normalizeClass)(["main-menu-links",{"main-menu-links--two-columns":n.twoColumns}])},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(i.localLinks,(e,t)=>((0,o.openBlock)(),(0,o.createElementBlock)("li",{key:t,class:"main-menu-links__item"}
1,[(0,o.createVNode)(s,{"has-arrow":"","is-highlighted":e.id===a.selectedId,"is-link":e.isLink,href:e.url,text:e.name,target:e.target,onClick:t=>i.onClick(e)},null,8,["is-highlighted","is-link","href","text","target","onClick"])]))),128))],2)}],["__scopeId","data-v-ab57f5ea"]]);var S=n(4166);const L={name:"MainMenuNewsList",components:{MainMenuBody:r,NewsList:n(5575).A,SectionBlock:a.A},props:{item:{type:Object,default:()=>({})}},data:()=>({articles:[]}),async created(){var e;const t=null===(e=this.item)||void 0===e||null===(e=e.variation)||void 0===e||null===(e=e.articlesVariation)||void 0===e?void 0:e.articleApiUrl;t&&await this.fetchNews(t)},methods:{async fetchNews(e){try{const t=await S.A.get(e);this.articles=t.data.items||[]}catch(e){this.articles=[]}}}},N=(0,s.A)(L,[["render",function(e,t,n,l,a,i){const s=(0,o.resolveComponent)("news-list"),r=(0,o.resolveComponent)("MainMenuBody");return(0,o.openBlock)(),(0,o.createBlock)(r,null,{body:(0,o.withCtx)(()=>[(0,o.createVNode)(s,{list:a.articles,variant:"menu"},null,8,["list"])]),_:1})}],["__scopeId","data-v-3c20d512"]]),A={class:"main-menu-tags"},I={class:"section__title section__title--sm"},x={class:"main-menu-tags__list"},M=["href","title","target"],V={__name:"MainMenuTags",props:{tags:{type:Array,default:()=>[]},title:{type:String,required:!0}},setup:e=>(t,n)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",A,[(0,o.createElementVNode)("h3",I,(0,o.toDisplayString)(e.title),1),(0,o.createElementVNode)("ul",x,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.tags,e=>((0,o.openBlock)(),(0,o.createElementBlock)("li",{key:e.id,class:"main-menu-tags__item"},[(0,o.createElementVNode)("a",{href:e.href,title:e.title,target:e.target,class:(0,o.normalizeClass)(["main-menu-tags__link",{"main-menu-tags__link--danger":e.isImportant}])},(0,o.toDisplayString)(e.title),11,M)]))),128))])]))},z=(0,s.A)(V,[["__scopeId","data-v-680526da"]]);var $=n(69),j=n(0),T=n(6643);const H={name:"MainMenu",components:{MainMenuChannelItemList:d,MainMenuContentWrapper:$.A,MainMenuLinks:E,MainMenuNewsList:N,MainMenuTags:z,MainMenuWrapper:j.A},mixins:[T.f],props:["buttonElement","itemElement","item"],data:()=>({clickedLinkItem:null}),computed:{showContentWrapper(){return this.showTags||this.showChildrenLinks},showNewsList(){var e;return"articles"===(null===(e=this.item)||void 0===e||null===(e=e.variation)||void 0===e?void 0:e.variationType)},showChildrenLinks(){var e;return!(null===(e=this.item.subitems)||void 0===e||!e.length)},showTags(){var e;return"tags"===(null===(e=this.item)||void 0===e||null===(e=e.variation)||void 0===e?void 0:e.variationType)}},mounted(){setTimeout(()=>{this.openMenu()},50),this.buttonElement.addEventListener("click",()=>{this.openMenu()})},methods:{onClick(e){this.clickedLinkItem||!(0,b.sG)(e)?this.clickedLinkItem=null:this.clickedLinkItem=e},openMenu(){this.itemElement.classList.add("is-opened"),this.registerKeydown(this.onClose)},onClose(){this.itemElement.classList.add("is-closing"),this.itemElement.classList.remove("is-opened"),this.unregisterKeydown(),setTimeout(()=>{this.itemElement.classList.remove("is-closing")},150)}}},D=(0,s.A)(H,[["render",function(e,t,n,l,a,i){const s=(0,o.resolveComponent)("MainMenuTags"),r=(0,o.resolveComponent)("MainMenuLinks"),c=(0,o.resolveComponent)("MainMenuChannelItemList"),d=(0,o.resolveComponent)("MainMenuNewsList"),m=(0,o.resolveComponent)("MainMenuContentWrapper"),u=(0,o.resolveComponent)("MainMenuWrapper");return(0,o.openBlock)(),(0,o.createBlock)(u,{onClose:i.onClose},{default:(0,o.withCtx)(()=>{var e;return[i.showTags?((0,o.openBlock)(),(0,o.createBlock)(s,{key:0,title:null===(e=n.item)||void 0===e||null===(e=e.variation)||void 0===e||null===(e=e.tagsVariation)||void 0===e?void 0:e.tagTitle,tags:n.item.tags},null,8,["title","tags"])):(0,o.createCommentVNode)("",!0),i.showContentWrapper?((0,o.openBlock)(),(0,o.createBlock)(m,{key:1,title:n.item.name},{default:(0,o.withCtx)(()=>{var e;return[i.showChildrenLinks?((0,o.openBlock)(),(0,o.createBlock)(r,{key:0,"force-button":!!a.clickedLinkItem,links:n.item.sub
1items,"two-columns":i.showTags,onClick:i.onClick},null,8,["force-button","links","two-columns","onClick"])):(0,o.createCommentVNode)("",!0),a.clickedLinkItem?((0,o.openBlock)(),(0,o.createBlock)(c,{key:1,"page-id":null===(e=a.clickedLinkItem)||void 0===e?void 0:e.id},null,8,["page-id"])):i.showNewsList?((0,o.openBlock)(),(0,o.createBlock)(d,{key:2,item:n.item},null,8,["item"])):(0,o.createCommentVNode)("",!0)]},void 0,!0),_:1},8,["title"])):(0,o.createCommentVNode)("",!0)]},void 0,!0),_:1},8,["onClose"])}]])},69(e,t,n){n.d(t,{A:()=>c});var o=n(9347);const l={class:"main-menu-content-wrapper"},a={class:"section__head py-24 px-32"},i={class:"section__title section__title--sm"},s={key:0,class:"section__tools"};const r={name:"MainMenuContentWrapper",props:{bodyVariant:String,title:{type:String,required:!0}},computed:{bodyClass(){return[this.bodyVariant&&`main-menu-content-wrapper__body--${this.bodyVariant}`]}}};const c=(0,n(6262).A)(r,[["render",function(e,t,n,r,c,d){return(0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("h3",i,(0,o.toDisplayString)(n.title),1),e.$slots.tools?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.renderSlot)(e.$slots,"tools",{},void 0,!0)])):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["main-menu-content-wrapper__body",d.bodyClass])},[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)],2)])}],["__scopeId","data-v-f40b7084"]])},0(e,t,n){n.d(t,{A:()=>r});var o=n(9347);const l={class:"main-menu-wrapper"},a={class:"main-menu-wrapper__container container"},i={class:"main-menu-wrapper__body"};const s={name:"MainMenuWrapper"};const r=(0,n(6262).A)(s,[["render",function(e,t,n,s,r,c){return(0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.createElementVNode)("div",{class:"main-menu-wrapper__overlay",onClick:t[0]||(t[0]=t=>e.$emit("close"))}),(0,o.createElementVNode)("div",a,[(0,o.createElementVNode)("div",i,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)])])])}],["__scopeId","data-v-46ea38ab"]])},3560(e,t,n){n.d(t,{A:()=>o.A});var o=n(8149)},4712(e,t,n){n.d(t,{A:()=>o.A});var o=n(8177)},7408(e,t,n){n.d(t,{A:()=>o.A});var o=n(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.