1import{a as D}from"./chunk-OYDTF42X.js";import{d as N}from"./chunk-WSC4F3KB.js";import"./chunk-E3JG5HGV.js";import"./chunk-VXXKXU2C.js";import"./chunk-IX6G3U3V.js";import"./chunk-FH6NFQDQ.js";import{a as U,b as A}from"./chunk-UPWALAQF.js";import{a as R,k as $,n as B,p as E,q as L,r as F,s as H}from"./chunk-GVOAVW7N.js";import{$a as r,Ba as P,Bb as O,Bc as T,Cb as b,Db as i,Eb as o,Ec as j,Fb as g,Fc as z,Hc as k,Ia as M,Ub as c,Vb as u,Wa as C,Wb as w,Xa as f,Yb as S,Z as x,_b as I,ab as y,ac as l,bc as m,da as s,g as _,ia as v,o as h,ub as p}from"./chunk-7UUCD5GI.js";var q=(()=>{let e=class e{constructor(){this.http=s(R),this.translateService=s(E),this.apiUrl=U.apiUrl,this.resurcesPath="api/links"}getResources(){let t=this.translateService.currentLang;return t||(t="ka"),this.http.get(`${this.apiUrl}${t}/${this.resurcesPath}`)}};e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=x({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var K=(n,e)=>e.id,Q=n=>({reverse_row_flex:n});function V(n,e){if(n&1&&(i(0,"div",3)(1,"div",4)(2,"a",5)(3,"h1"),c(4),i(5,"mat-icon"),c(6,"open_in_new"),o()()(),g(7,"p",6),l(8,"safehtml"),o(),i(9,"figure",7),g(10,"img",8),o()()),n&2){let d=e.$implicit,t=e.$index;p("ngClass",I(7,Q,t%2!==0)),r(2),p("href",d.url,f),r(2),w("",d.title," "),r(3),p("innerHTML",m(8,5,d.description),C),r(3),p("src",d.cover,f)}}var he=(()=>{let e=class e{constructor(t){this.platformId=t,this.resourcesService=s(q),this.resourceStream$=new _,this.destroyRef=s(P)}ngOnInit(){k(this.platformId)&&this.resourcesService.getResources().pipe(A(this.destroyRef)).subscribe({next:t=>{this.resourceStream$=h(t.data),window.scrollTo(0,0)},error:t=>{console.error(t)}})}};e.\u0275fac=function(a){return new(a||e)(y(M))},e.\u0275cmp=v({type:e,selectors:[["app-resources"]],standalone:!0,features:[S],decls:14,vars:8,consts:[[1,"container"],[1,"naviagion_title_header","padding_bottom_none"],["routerLink","/"],[1,"resources_group_flex",3,"ngClass"],[1,"left_resource"],["target","_blank",1,"cursour_pointer",3,"href"],[3,"innerHTML"],[1,"right_resource"],["alt","archive",3,"src"]],template:function(a,G){a&1&&(i(0,"section",0)(1,"div",1)(2,"h1",2),c(3),l(4,"translate"),o(),i(5,"span"),c(6,"-"),o(),i(7,"p"),c(8),l(9,"translate"),o()(),i(10,"div"),O(11,V,11,9,"div",3,K),l(13,"async"),o()()),a&2&&(r(3),u(m(4,2,"statements.main_page")),r(5),u(m(9,4,"resources.resources")),r(3),b(m(13,6,G.resourceStream$)))},dependencies:[D,z,T,j,B,$,N,H,F,L],styles:['.resources_group_flex[_ngcontent-%COMP%]{display:flex;gap:64px;align-items:center;padding-bottom:64px;padding-top:64px;border-bottom:4px solid #b81b1b}.resources_group_flex[_ngcontent-%COMP%]:last-child{border-bottom:none}.padding_bottom_none[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:64px}.reverse_row_flex[_ngcontent-%COMP%]{flex-direction:row-reverse}.right_resource[_ngcontent-%COMP%]{width:577px;position:relative}.right_resource[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:top center}.cursour_pointer[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none}.left_resource[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;flex:1;max-width:767px;width:100%}.left_resource[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;align-items:center;color:#000;gap:4px;font-family:var(--font-family);font-size:var(--Title-Primary, 24px);font-style:normal;font-weight:700;line-height:150%;letter-spacing:.48px;text-transform:uppercase;-moz-font-feature-settings:"case";-webkit-font-feature-settings:"case";font-feature-settings:"case" on}.left_resource[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#000;font-family:var(--font-family);font-size:var(--Body-Primary, 16px);font-style:normal;font-weight:400;line-height:150%;letter-spacing:.32px}.figcaption_center[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media screen and (max-width: 1024px){.resources_group_flex[_ngcontent-%COMP%]{flex-direction:column-reverse;gap:16px;padding-top:32px;padding-bottom:32px}.right_resource[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:top center}.right_resource[_ngcontent-%COMP%]{width:100%}.right_resource[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:cover;object-position:top center}.left_resource[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:var(--Title-Pr
1imary, 20px);letter-spacing:.4px}.left_resource[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:var(--Body-Primary, 14px);letter-spacing:.28px}}@media screen and (max-width: 768px){.padding_bottom_none[_ngcontent-%COMP%]{margin-bottom:0}.resources_group_flex[_ngcontent-%COMP%]{gap:16px;padding-top:24px;padding-bottom:24px}.left_resource[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:var(--Title-Primary, 16px);letter-spacing:.32px}.left_resource[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:var(--Body-Primary, 14px);letter-spacing:.28px}}']});let n=e;return n})();export{he as ResourcesComponent};
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.