PageSourceSearch

https://neptun.bme.hu/hallgatoi/chunk-P6H4EUCF.js

js bme.hu collected 2026-09-24 08:26:21 UTC 7,063 bytes, 1 lines download raw bytes

1import{a as C}from"./chunk-GF5CUI6K.js";import{$ as H,$a as $,$b as D,Ab as Q,B as A,E as G,Fe as ee,G as h,Jg as re,Kb as P,M as y,Mb as _,Nb as v,R as B,Rf as ne,Se as z,Ua as c,Wc as q,Xg as ae,Ya as R,Yg as se,Zg as ce,_b as U,_g as ge,ah as le,bg as ie,ca as u,cf as te,eb as V,g as _e,hg as oe,ia as b,ib as p,ie as J,ih as me,je as K,k as j,kb as N,ke as W,kh as ue,la as s,le as E,o as k,p as m,q as a,rb as g,rc as ve,s as L,sa as M,sb as l,ta as w,tb as O,wc as Y,xb as x,xe as X,yc as Z,zb as T}from"./chunk-IVN2VXRW.js";var pe={error:{generalError:"Az oldal jelenleg nem el\xE9rhet\u0151",generalErrorDescription:"Pl: szerver p\xE1nik, nincs adatb\xE1zis, elt\xE9r a db \xE9s a szerver id\u0151 minimum 1 perccel, nem lehet loggolni a rendszerben, AD licensz lej\xE1rt, SSL",imprintError:"Az ellen\u0151rz\xE9s k\xF6zben tal\xE1lt hib\xE1s lenyomatok:",sslError:"A kapcsolatod nem priv\xE1t",refresh:"Friss\xEDt\xE9s",refreshPage:"Friss\xEDtsd az oldalt, vagy l\xE1togass vissza k\xE9s\u0151bb!",copyToClipboard:"M\xE1sol\xE1s v\xE1g\xF3lapra"},notification:{refreshPage:"Friss\xEDtsd az oldalt, vagy l\xE1togass vissza k\xE9s\u0151bb!"},button:{close:"Bez\xE1r\xE1s"},global:{warning:"Figyelmeztet\xE9s"}};var fe=_e(ve());var he=(()=>{class t{static{this.GetTranslationsEndpoint="Translations"}constructor(e,o,n,r,f){this.http=e,this.translocoService=o,this.cacheService=n,this.store=r,this.adapter=f,this.currentLanguage$=this.store.select(ne.currentLanguage)}saveLanguage(e){return this.http.post(`${z.settings.apiServer.url}SetLanguage`,{lcid:e})}selectLanguageByLCID(e,o){let n=e.find(r=>r.lcid===o)??e[re.ZERO];return this.setLanguage(n,!1)}setLanguage(e,o=!0){this.cacheService.invalidateCache();let n=e.code.toLowerCase();return this.translocoService.setActiveLang(n),this.adapter.setLocale(n),fe.locale(n),this.store.select(ae.isAuthenticated).pipe(H(r=>A(()=>r,this.saveLanguage(e.lcid),L(null))),u(()=>o&&location.reload()),y(1))}getTranslations(){return this.currentLanguage$.pipe(G(Boolean),B(e=>this.http.get(`${z.settings.apiServer.url}${t.GetTranslationsEndpoint}?lcid=${e.lcid}`).pipe(u(o=>this.store.dispatch(new te(o))),h(()=>L(pe)))),y(1))}static{this.\u0275fac=function(o){return new(o||t)(s(q),s(X),s(oe),s(J),s(ie))}}static{this.\u0275prov=b({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Se=(t,i)=>({"h-100":t,"language-dropdown--has-globe-icon no-box-shadow":i}),Ie=t=>["globe-icon",t],Le=(t,i)=>({"icon-chevron-bottom":t,"icon-chevron-top":i});function ye(t,i){if(t&1){let e=x();g(0,"button",8),T("click",function(){let n=M(e).$implicit,r=Q();return w(r.selectLanguage(n))}),g(1,"span",9),_(2),l(),g(3,"span",10),_(4),l()()}if(t&2){let e=i.$implicit;c(2),v(e.code),c(2),v(e.name)}}var Ue=(()=>{class t{get componentClass(){return!0}constructor(e){this.translationService=e,this.hasGlobeIcon=!1,this.dropdownGuid="19915f11-1b97-46b8-9378-a48706cfebe3",this.Icons=ee}selectLanguage(e){this.translationService.setLanguage(e).subscribe()}closed(){}static{this.\u0275fac=function(o){return new(o||t)(R(he))}}static{this.\u0275cmp=$({type:t,selectors:[["neptun-language-dropdown"]],hostVars:2,hostBindings:function(o,n){o&2&&N("neptun-language-dropdown",n.componentClass)},inputs:{languages:"languages",currentLanguage:"currentLanguage",fullHeight:"fullHeight",hasGlobeIcon:"hasGlobeIcon"},decls:9,vars:17,consts:[["menuTrigger","matMenuTrigger"],["menu","matMenu"],["id","language-dropdown-button","neptun-button","","color","lightgrey","accent","flat",1,"menu-trigger",3,"isResponsive","hasSmallPadding","matMenuTriggerFor","ngClass","id"],[3,"ngClass"],[1,"text-uppercase"],[1,"icon-open-indicator",3,"ngClass"],["xPosition","before",3,"closed"],["
1id","language-item-button","mat-menu-item","","class","menu-item",3,"click",4,"ngFor","ngForOf"],["id","language-item-button","mat-menu-item","",1,"menu-item",3,"click"],[1,"menu-item__language-code","text-uppercase","font-semi-bold"],[1,"menu-item__language-name"]],template:function(o,n){if(o&1){let r=x();g(0,"button",2,0),O(2,"i",3),g(3,"span",4),_(4),l(),O(5,"i",5),l(),g(6,"mat-menu",6,1),T("closed",function(){return M(r),w(n.closed())}),V(8,ye,5,2,"button",7),l()}if(o&2){let r=P(1),f=P(7);p("isResponsive",!1)("hasSmallPadding",!0)("matMenuTriggerFor",f)("ngClass",D(9,Se,n.fullHeight,n.hasGlobeIcon))("id",n.dropdownGuid),c(2),p("ngClass",U(12,Ie,n.hasGlobeIcon?n.Icons.Globe1:"")),c(2),v(n.currentLanguage==null?null:n.currentLanguage.code),c(),p("ngClass",D(14,Le,!r.menuOpen,r.menuOpen)),c(3),p("ngForOf",n.languages)}},dependencies:[se,le,Y,ge,Z,ce],styles:["[_nghost-%COMP%]{z-index:101;display:block}.neptun-card[_ngcontent-%COMP%]{padding:0}.menu-trigger[_ngcontent-%COMP%]{color:#444;background-color:#fff;border-radius:8px;box-shadow:0 8px 32px #00000014}button.menu-trigger.language-dropdown--has-globe-icon[_ngcontent-%COMP%]{color:#213055;background-color:#f2f3fb;box-shadow:none;height:48px}button.menu-trigger[_ngcontent-%COMP%]   .globe-icon[_ngcontent-%COMP%]{margin-left:0;font-size:24px}button.menu-trigger[_ngcontent-%COMP%]   .text-uppercase[_ngcontent-%COMP%]{line-height:1}button.menu-trigger[_ngcontent-%COMP%]     .mdc-button__label{display:flex;justify-content:unset;align-items:center;flex-direction:row;gap:unset}.menu-item[_ngcontent-%COMP%]{background-color:#fff;border-bottom:1px solid #f2f3fb}.menu-item[_ngcontent-%COMP%]:last-child{border-bottom:none}.menu-item[_ngcontent-%COMP%]:hover   .menu-item__language-name[_ng
1content-%COMP%], .menu-item[_ngcontent-%COMP%]:hover   .menu-item__language-code[_ngcontent-%COMP%]{color:#0943d9}.menu-item__language-name[_ngcontent-%COMP%]{font-size:13px;color:#444;font-weight:400}.menu-item__language-code[_ngcontent-%COMP%]{font-size:13px;font-weight:800;margin-right:16px;color:#213055}"],changeDetection:0})}}return t})();var be={instituteImage:me,isLoginButtonDisabled:!1};var F=(function(t){return t.GetInstituteImage="[Login] Get institute image",t.SetLoginButtonDisabledStatus="[Login] Set login button disabled status",t})(F||{});var S;(function(t){class i{static{this.type=F.GetInstituteImage}}t.GetInstituteImage=i})(S||(S={}));var d=class I{constructor(i){this.loginService=i}static instituteImage(i){return i.instituteImage}static isLoginButtonDisabled(i){return i.isLoginButtonDisabled}getInstituteImage(i){return this.loginService.getInstituteImage().pipe(u(e=>{i.patchState({instituteImage:{data:e}})}),h(()=>(i.patchState({instituteImage:ue}),k)))}static{this.\u0275fac=function(e){return new(e||I)(s(C))}}static{this.\u0275prov=b({token:I,factory:I.\u0275fac})}};m([K(S.GetInstituteImage),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",j)],d.prototype,"getInstituteImage",null);m([E(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Object)],d,"instituteImage",null);m([E(),a("design:type",Function),a("design:paramtypes",[Object]),a("design:returntype",Boolean)],d,"isLoginButtonDisabled",null);d=m([W({name:"login",defaults:be}),a("design:paramtypes",[C])],d);export{he as a,Ue as b,S as c,d};

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.