PageSourceSearch

https://magyarnemzet.hu/chunk-B5EYZA65.js

js magyarnemzet.hu collected 2026-09-27 21:29:05 UTC 7,473 bytes, 1 lines download raw bytes

1import{s as pe}from"./chunk-LKFJZLXA.js";import{Ra as se,aa as re,nb as le}from"./chunk-7KJDKZOW.js";import"./chunk-TJJ2CLDT.js";import{$a as ie,Hb as ne,Jb as oe,Kb as ae,O as X,U as Z,aa as ee,ba as te}from"./chunk-CALGC7HT.js";import{A as I,Dc as Y,Eb as M,Fa as a,Gb as x,Gd as y,Hc as J,I as A,La as C,M as E,Na as $,Vb as D,X as R,Ya as d,Zd as W,_a as u,_c as b,a as k,aa as B,ab as P,b as w,bb as v,bc as O,cb as S,cc as q,da as L,db as p,dc as G,ea as m,eb as r,ec as H,fb as c,gb as s,ha as j,ia as F,id as Q,kd as K,ma as N,nb as z,pb as V,rb as g,rc as U,u as T,w as f}from"./chunk-FHVMA77W.js";var ce=(()=>{class e{constructor(t){this.reqService=t}getOlympicsSchedules(){let n={countryCode_filter:"hun",startDate_filter:y(new Date,"yyyy-MM-dd")};return this.reqService.get("/olympics/events/2024",{params:n})}static{this.\u0275fac=function(n){return new(n||e)(L(W))}}static{this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var me=()=>{let e=m(K),o=m(ce);return I({schedules:o.getOlympicsSchedules().pipe(f(({data:t})=>t),A(t=>(e.navigate(["/404"],{skipLocationChange:!0}).then(),T(()=>t)))),olympicImportantSidebar:m(re).getLayout().pipe(E(1))})};var de=()=>({margin:"var(--ad-margin)",background:"var(--ad-bg)",padding:"var(--ad-padding)"});function ye(e,o){if(e&1&&s(0,"kesma-olimpia-hungarian-competitions",5),e&2){let t=o.$implicit,n=g();p("styleID",n.OlimpicPortalEnum.OlimpicMNO)("isDetailPage",!0)("headerDateOverride",t[0].startDate.toString())("data",t)}}function _e(e,o){if(e&1){let t=z();r(0,"button",12),V("click",function(){j(t);let i=g();return F(i.showAllDates=!0)}),r(1,"span"),x(2,"Mutass t\xF6bbet"),c()()}}function fe(e,o){if(e&1&&s(0,"kesma-olimpia-hungarian-competitions",5),e&2){let t=o.$implicit,n=g(2);p("styleID",n.OlimpicPortalEnum.OlimpicMANDINER)("isDetailPage",!0)("headerDateOverride",t[0].startDate.toString())("data",t)}}function Ce(e,o){if(e&1&&(v(0,fe,1,4,"kesma-olimpia-hungarian-competitions",5,P),O(2,"slice")),e&2){let t=g();S(G(2,0,t.groupedSchedules,4))}}function Oe(e,o){e&1&&s(0,"kesma-advertisement-adocean",13),e&2&&(M(D(3,de)),p("ad",o))}function Pe(e,o){if(e&1&&s(0,"app-layout",10),e&2){let t=o,n=g();p("adPageType",n.adPageType)("configuration",t.content)("layoutType",n.LayoutPageType.SIDEBAR)("structure",t.struct)}}function ve(e,o){e&1&&s(0,"kesma-advertisement-adocean",13),e&2&&(M(D(3,de)),p("ad",o))}var ue=(()=>{class e{constructor(t,n,i){this.route=t,this.adStore=n,this.cdr=i,this.adPageType=X.column_sport_all_articles_and_sub_pages,this.showAllDates=!1,this.olympicImportantSidebarLayout$=this.route.data.pipe(f(({data:l})=>l.olympicImportantSidebar)),this.OlimpicPortalEnum=ee,this.LayoutPageType=Z,this.destroyRef=m(N)}ngOnInit(){this.route.data.pipe(b(this.destroyRef),R(()=>this.initAds())).subscribe(({data:t})=>{this.groupedSchedules=this.groupSchedulesByStartDate(t.schedules)})}groupSchedulesByStartDate(t){return t.map(i=>w(k({},i),{startDate:i.startDate?new Date(i.startDate):void 0})).reduce((i,l)=>{let _=y(l?.startDate??new Date,"yyyy-MM-dd"),h=i.findIndex(ge=>y(ge?.[0]?.startDate??new Date,"yyyy-MM-dd")===_);return h===-1?i.push([l]):i[h].push(l),i},[])}initAds(){this.resetAds(),this.adStore.advertisemenets$.pipe(b(this.destroyRef)).subscribe(t=>{this.adverts=this.adStore.separateAdsByMedium(t,this.adPageType),this.cdr.detectChanges()})}resetAds(){this.adverts=void 0,this.cdr.detectChanges()}static{this.\u0275fac=function(n){return new(n||e)(C(Q),C(te),C(U))}}static{this.\u0275cmp=$({type:e,selectors:[["app-sport-olympics-schedules"]],decls:21,vars:13,consts:[[1,"wrapper"],[1,"wrapper","with-aside","main-content"],[1,"left-column"],[3,"link"],[1,"title"],[3,"styleID","isDetailPage","headerDateOverride","data"],[1,"load-more-btn"],[3,"styleID"],[1,"ads"],[3,"ad","style"],["secondary_pageType","column_sport_all_articles_and_sub_pages",1,"olympic-important-sidebar",3,"adPageType","configuration","layoutType","structure"],[3,"style","ad"],[1,"load-more-btn",3,"click"],[3,"ad"]],template:function(n,i){if(n&1&&(r(0,"section")(1,"div",0),s(2,"app-olympics-header"),c(),r(3,"div",1)(4,"div",2),s(5,"kesma-olimpia-page-banner",3),r(6,"h2",4),x(7,"A magyar csapat versenysz\xE1mai"),c(),v(8,ye,1,4,"kesma-olimpia-hungarian-competitions",5,P),O(10,"slice"),d(11,_e,3,0,"button",6),d(12,Ce,3,3),s(13,"kesma-olimpia-navigator",7),r(14,"div",8),d(15,Oe,1,4,"kesma-advertisement-adocean",9),c()(),r(16,"aside"),d(17,Pe,1,4,"app-layout",10),O(18,"async"),c()(),r(19,"div",8),d(20,ve,1,4,"kesma-advertisement-adocean",11),c()()),n&2){let l,_,h;a(5),p("link","/olimpia-2024/magyar-csapat"),a(3),S(H(10,7,i.groupedSchedules,0,4)),a(3),u((i.groupedSchedules==null?null:i.groupedSchedules.length)>4&&!i.showAllDates?11:-1),a(),u(i.showAllDates?12:-1),a(),p("styleID",i.OlimpicPortalEnum.OlimpicMNO),a(2),u((l
1=i.adverts==null||i.adverts.desktop==null?null:i.adverts.desktop.roadblock_3)?15:-1,l),a(2),u((_=q(18,11,i.olympicImportantSidebarLayout$))?17:-1,_),a(3),u((h=i.adverts==null||i.adverts.mobile==null?null:i.adverts.mobile.mobilrectangle_3)?20:-1,h)}},dependencies:[se,oe,ne,ae,ie,pe,Y,J],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .content-element{margin-bottom:0!important}[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{gap:24px}@media(max-width:991.98px){[_nghost-%COMP%]   .wrapper[_ngcontent-%COMP%]{padding:0 16px}}[_nghost-%COMP%]   .main-content[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]   .main-content[_ngcontent-%COMP%]   .left-column[_ngcontent-%COMP%]{margin-top:32px}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#020617;font-size:32px;font-weight:700;line-height:40px}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:.24px;margin-top:-8px;margin-bottom:8px}}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   kesma-olimpia-hungarian-competitions[_ngcontent-%COMP%]{margin-bottom:24px}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   kesma-olimpia-hungarian-competitions[_ngcontent-%COMP%]{margin-bottom:16px}}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .load-more-btn[_ngcontent-%COMP%]{width:300px;height:32px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:8px;color:#0c7c84;font-family:var(--kui-font-gothic-a1);font-size:14px;font-weight:400;line-height:18px;border-radius:2px;border:1px solid #0c7c84;transition:.3s}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .load-more-btn[_ngcontent-%COMP%]{width:280px;margin-bottom:24px}}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .load-more-btn[_ngcontent-%COMP%]:hover{border-color:#020617;background:#020617;color:#f8fafc}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   .load-more-btn[_ngcontent-%COMP%]:hover   kesma-icon[_ngcontent-%COMP%]{color:#f8fafc}[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   kesma-olimpia-navigator[_ngcontent-%COMP%]{margin:16px 0 24px}@media(max-width:991.98px){[_nghost-%COMP%]   .left-column[_ngcontent-%COMP%]   kesma-olimpia-navigator[_ngcontent-%COMP%]{margin:4px 0 16px}}"],changeDetection:0})}}return e})();var Ke=[{path:"",component:ue,runGuardsAndResolvers:"paramsOrQueryParamsChange",resolve:{data:me},canActivate:[le]}];export{Ke as OLYMPICS_SCHEDULES_ROUTES};

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.