1import{_ as j}from"./B6NBpaJt.js";import{_ as k,f as $,c,k as f,o as d,a as t,m as S,F as _,l as x,t as v,z as L,u as T,n as V,j as r,b as p,s as B}from"#entry";import{_ as z}from"./BKmsoi9I.js";import{_ as A}from"./DE1gD2jH.js";import{_ as F}from"./pB-ZKDrQ.js";import{u as I}from"./DSZQsdm2.js";import"./CT9Xu5Us.js";import"./CYDHnhZn.js";import"./Na3wRgYA.js";import"./QRGWt3NJ.js";const M={key:0,class:"lg:pl-9 lg:gap-1 grid w-full"},N={class:"bg-adjara text-white"},C={class:"relative max-h-[320px] overflow-y-auto pr-2 scroller"},E={class:"space-y-3 font-adjara-mt text-sm"},D=["id"],H={class:"shrink-0 w-12 text-sm tabular-nums text-white/50"},P={class:"min-w-0 flex-1"},q={class:"truncate text-sm"},R={key:0,class:"text-xs text-white font-adjara-mt rounded-lg bg-[#F3352F] px-2 py-0.5"},G={__name:"TvProgram",props:{programs:{default:()=>[],type:Array}},setup(m){const n=s=>{const[a,l,i]=s.split(":").map(Number);return a*3600+l*60+i},u=(s=>{const a=new Date,l=a.getHours()*3600+a.getMinutes()*60+a.getSeconds();for(let i=0;i<s.length;i++){const b=n(s[i].start_at),y=i<s.length-1?n(s[i+1].start_at):24*3600;if(l>=b&&l<y)return{index:i,show:s[i],isLive:!0}}return{index:-1,show:null,isLive:!1}})(m.programs).index,h=s=>s===u,e=()=>{u!==-1&&L(()=>{const s=document.getElementById(`program_${u}`);s&&s.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})})};$(()=>{e()});const w=s=>{const[a,l]=s.split(":");return`${a.padStart(2,"0")}:${l}`};return(s,a)=>m.programs?(d(),c("div",M,[t("div",N,[a[1]||(a[1]=t("div",{class:"mb-7"},[t("h3",{class:"text-2xl tracking-wide font-adjara-mt"}," TV áá ááá ááá ")],-1)),t("div",C,[t("ul",E,[(d(!0),c(_,null,x(m.programs,(l,i)=>(d(),c(_,{key:i},[t("li",{id:`program_${i}`,class:"flex items-start gap-3"},[t("span",H,v(w(l.start_at)),1),t("div",P,[t("p",q,v(l?.show?.title),1)]),h(i)?(d(),c("div",R," Live ")):f("",!0)],8,D),a[0]||(a[0]=t("div",{class:"mt-3 h-px w-full bg-white/10"},null,-1))],64))),128))])]),a[2]||(a[2]=t("div",{class:"mt-4"},[t("button",{type:"button",class:"w-full rounded-md bg-adjara-muted px-4 py-2 mt-7 mb-8 text-sm text-black font-medium transition font-adjara-mt"}," á¡á á£áá áá ááá ááá ")],-1))]),a[3]||(a[3]=S('<div class="rounded-lg bg-adjara-muted overflow-hidden" data-v-7d9c8a85><div class="rounded-lg bg-adjara-muted overflow-hidden" data-v-7d9c8a85><div class="flex justify-between p-6" data-v-7d9c8a85><img src="'+j+'" alt="RFain" class="" data-v-7d9c8a85><div class="flex flex-col items-center justify-start text-5xl text-black font-adjara-mt font-bold gap-3" data-v-7d9c8a85> 13° <span class="text-sm text-adjara-gray font-normal text-black" data-v-7d9c8a85>29 ááá </span></div></div><div class="py-3 font-adjara-mt text-sm bg-adjara-divider text-black text-center" data-v-7d9c8a85>áááá£áá </div></div></div><div class="hidden lg:block border-l-adjara-yellow" data-v-7d9c8a85></div>',2))])):f("",!0)}},J=k(G,[["__scopeId","data-v-7d9c8a85"]]),K={class:"bg-adjara-main text-white lg:py-10 relative overflow-hidden"},O={class:"adjara-container mx-auto"},Q={class:"grid grid-cols-1 lg:grid-cols-12 gap-9 relative z-10"},U={class:"live-player col-span-12 lg:col-span-9"},W={class:"live-player-info flex flex-col lg:flex-row gap-4 lg:gap-10 mt-8 justify-between"},X={class:"font-adjara-mt text-lx lg:text-2xl text-white uppercase"},Y={class:"flex w-full lg:w-fit justify-between lg:justify-end items-center gap-4 roun
1ded-md border-2 border-solid border-white/20 p-4 cursor-pointer"},Z={class:""},tt=["href"],et={class:"col-span-12 lg:col-span-3 relative"},st={class:"adjara-container mx-auto mt-8 lg:mt-20 !px-0"},at={class:"grid grid-cols-1 lg:grid-cols-12 gap-9 relative z-10"},lt={class:"col-span-9"},it={class:"py-6 lg:py-12"},ot={class:"py-6 lg:py-12"},rt={class:"py-6 lg:py-12"},nt={class:"hidden lg:flex col-span-3 flex-col justify-start gap-8"},ft={__name:"television",async setup(m){let n,g;T({title:"Adjara TV",meta:[{name:"description",content:"My amazing site."}],bodyAttrs:{class:"test"}});const{data:o,error:u}=([n,g]=V(()=>I("/v1/tv")),n=await n,g(),n);return(h,e)=>{const w=J,s=z,a=A;return d(),c("div",null,[t("section",K,[t("div",O,[t("div",Q,[t("div",U,[e[3]||(e[3]=t("div",{class:"relative rounded-lg overflow-hidden aspect-video"},[t("iframe",{src:"https://tv.myvideo.ge/embed.html?chan=adjara&dvr=false",class:"aspect-video"})],-1)),t("div",W,[t("div",null,[t("div",X,v(r(o)?.live_show?.current_show?.show?.title),1),e[0]||(e[0]=t("div",{class:"mt-2 uppercase text-adjara-yellow"},"live",-1))]),t("div",Y,[t("div",Z,[e[1]||(e[1]=t("div",{class:"uppercase text-adjara-yellow font-adjara-mt text-xs"}," á¨áááááá ",-1)),t("a",{href:`/show/${r(o)?.live_show?.next_show?.show?.slug}`,class:"text-white font-adjara-mt tracking-[0.96px]"},v(r(o)?.live_show?.next_show?.show?.title),9,tt)]),e[2]||(e[2]=t("div",null,[t("svg",{width:"19",height:"14",viewBox:"0 0 19 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M1 1L7 7L1 13",stroke:"white","stroke-opacity":"0.2","stroke-width":"2"}),t("path",{d:"M11 1L17 7L11 13",stroke:"white","stroke-opacity":"0.2","stroke-width":"2"})])],-1))])])]),t("div",et,[e[4]||(e[4]=t("div",{class:"hidden lg:block absolute left-0 top-0 h-full w-[1px] bg-adjara-divider/20"},null,-1)),p(w,{programs:r(o)?.programs?.program},null,8,["programs"])])]),e[5]||(e[5]=t("img",{src:F,alt:"",class:"absolute right-6 -bottom-48 z-0"},null,-1))])]),t("div",st,[t("div",at,[t("div",lt,[p(s,{title:"á¡ááá®ááááá",permalink:{url:"/news",title:"á§ááááá¡ ááá®áá"},type:"news",items:r(o)?.last_news,"has-arrow":!0,"per-page":3,"mobile-per-page":1.6,"tablet-per-page":2.6},null,8,["items"]),e[6]||(e[6]=t("div",{class:"w-full h-0.25 bg-adjara-divider"},null,-1)),t("div",it,[p(s,{title:"áááááªááááá",permalink:{url:"/show",title:"á§ááááá¡ ááá®áá"},type:"show",items:r(o)?.tv_shows,"has-arrow":!0,"per-page":3,"mobile-per-page":1.6,"tablet-per-page":2.6},null,8,["items"])]),e[7]||(e[7]=t("div",{class:"w-full h-0.25 bg-adjara-divider"},null,-1)),t("div",ot,[p(s,{title:r(o)?.category?.cat?.title,permalink:{url:"#",title:"á§ááááá¡ ááá®áá"},type:"news",items:r(o)?.category?.news,"has-arrow":!0,"per-page":3,"mobile-per-page":1.6,"tablet-per-page":2.6},null,8,["title","items"])]),t("div",rt,[p(s,{title:"á á£áá ááááá",permalink:{url:"#",title:"á§ááááá¡ ááá®áá"},type:"news",items:r(o)?.rubric,"has-arrow":!0,"per-page":3,"mobile-per-page":1.6,"tablet-per-page":2.6},null,8,["items"])]),e[8]||(e[8]=t("div",{class:"w-full h-0.25 bg-adjara-divider mb-20"},null,-1))]),t("div",nt,[(d(!0),c(_,null,x(r(o)?.sidebar,l=>(d(),B(a,{key:l.id,square:!1,playbutton:!0,thumbnail:l?.thumbnail,title:l?.title,desc:l?.schedule,permalink:`/show/${l.id}`},null,8,["thumbnail","title","desc","permalink"]))),128))])])])])}}};export{ft 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.