PageSourceSearch

https://kajakkenusport.hu/_nuxt/EnpD105c.js

js kajakkenusport.hu collected 2026-10-02 11:17:54 UTC 2,628 bytes, 1 lines download raw bytes

1import{_ as h}from"./vjbAD46Q.js";import{o as t,c as s,a as i,t as g,g as k,i as p,A as f,u as w,y as x,z as y,k as V,f as z,H as $,b,h as c,F as j,r as A,j as B}from"./B851tP_g.js";import"./vw-e2SJI.js";const T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='72px'%20height='72px'%20viewBox='0%200%2072%2072'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cg%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(-1353,%20-555)'%20stroke='%2300FF96'%20stroke-width='7'%3e%3cg%20transform='translate(1250,%20251)'%3e%3cg%20transform='translate(60,%20257)'%3e%3cg%20transform='translate(43,%2047)'%3e%3cpath%20d='M29.5,20.6536067%20L51.8220266,36%20L29.5,51.3463933%20L29.5,20.6536067%20Z'%3e%3c/path%3e%3ccircle%20cx='36'%20cy='36'%20r='32.5'%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F=i("img",{class:"training-video-item__play",src:T,alt:"Videó megtekintése"},null,-1),L={key:0,class:"training-video-item__counter"},I={class:"training-video-item__title"},C={__name:"Item",props:{trainingVideo:{type:Object,required:!0}},setup(e){const o=e;
1async function a(){await f(`/oktatovideok/${o.trainingVideo.slug}`)}return(d,n)=>(t(),s("article",{class:"training-video-item",onClick:a},[i("div",{class:"training-video-item__image",style:p({backgroundImage:e.trainingVideo.featured_image_url?`url('${e.trainingVideo.featured_image_url}')`:"none"})},[F,e.trainingVideo.videos_count>1?(t(),s("div",L,g(e.trainingVideo.videos_count)+" videó ",1)):k("",!0)],4),i("h2",I,g(e.trainingVideo.title),1)]))}},N=C,O={class:"tr-videos wrapper"},S={class:"tr-videos__header"},q=i("h1",{class:"tr-videos__title"},"Oktatóvideók",-1),H={class:"tr-videos__user"},K={key:0,class:"tr-videos__container"},U={class:"training-videos"},D={key:1,class:"tr-videos__request-login"},Z={__name:"index",setup(e){w({title:"Oktatóvideók",bodyAttrs:{class:"body--tr-videos"}});const o=x(),{isLoggedIn:a,token:d}=y(o),n=V([]),m=z(()=>n.value.length>0);return $(a,async(l,u)=>{if(l){const r=await $fetch("/api/training_videos",{method:"get",headers:{Authorization:`Bearer ${d.value}`}});n.value=r}else n.value=[]},{immediate:!0}),(l,u)=>{const r=h,v=N;return t(),s("div",O,[i("header",S,[q,i("div",H,[b(r)])]),c(a)&&c(m)?(t(),s("div",K,[i("div",U,[(t(!0),s(j,null,A(c(n),_=>(t(),B(v,{"training-video":_,key:_.id},null,8,["training-video"]))),128))])])):(t(),s("div",D," Az oktatóvideók megtekintéséhez, kérjük, jelentkezzen be a Kajak-Kenu Ablak azonosítójával. "))])}}};export{Z 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.