1"use strict";(self.webpackChunktalentrocket_angular=self.webpackChunktalentrocket_angular||[]).push([[4593],{94593(L,R,_){_.d(R,{CareerHubEventsComponent:()=>o});var l,P=_(15215),O=_(16213),g=_(31515),b=_(4419),I=_(31652),M=_(42738),T=_(68090),f=_(17536),u=_(68e3),a=_(83856),p=_(75256),h=_(88141),U=_(70256),m=_(40924),e=_(23214),d=_(74185),H=_(16717);function E(n,r){if(1&n&&e.nrm(0,"app-event-card",9),2&n){const s=r.$implicit;e.Y8G("event",s)}}function D(n,r){if(1&n&&(e.j41(0,"div",7),e.DNE(1,E,1,1,"app-event-card",8),e.k0s()),2&n){const s=e.XpG().ngIf,v=e.XpG(2);e.R7$(),e.Y8G("ngForOf",s)("ngForTrackBy",v.trackByIndex)}}function A(n,r){if(1&n&&(e.qex(0),e.DNE(1,D,2,2,"div",6),e.bVm()),2&n){const s=r.ngIf;e.R7$(),e.Y8G("ngIf",null==s?null:s.length)}}function B(n,r){1&n&&e.nrm(0,"loading")}function t(n,r){if(1&n&&(e.j41(0,"div",3)(1,"tr-page-header"),e.qex(2),e.pXf(3,1),e.bVm(),e.EFF(4),e.k0s(),e.j41(5,"div",4),e.DNE(6,A,2,1,"ng-container",5),e.nI1(7,"async"),e.DNE(8,B,1,0,"ng-template",null,0,e.C5r),e.k0s()()),2&n){const s=r.ngIf,v=e.sdS(9),i=e.XpG();e.R7$(4),e.SpI(" ",null==s?null:s.title," "),e.R7$(2),e.Y8G("ngIf",e.bMT(7,3,i.events$))("ngIfElse",v)}}let o=(class S extends f.${constructor(r,s,v,i,c,y){super(i,r),this._router=r,this._route=s,this._careerHubDataService=v,this._seoService=i,this._applicationQuery=c,this._breadcrumbService=y,this.careerHub$=this._careerHubDataService.careerHub$.pipe((0,h.M)(C=>{this._careerHub=C,this._isRouteLawSchool=this.getCanonicalUrl().includes("law-schools"),this._modulePageIDForBreadcrumb=this._isRouteLawSchool?T.gn.Lawschools:T.gn.Employers,this.checkPageBreadcrumbStatus(this._modulePageIDForBreadcrumb)&&this._breadcrumbService.breadcrumbsSubject.next(this.getBreadcrumbForUI())})),this.events$=this._careerHubDataService.events$.pipe((0,h.M)(C=>{0===C.length?this.goToCareerHubMainPage():this._seoService.applySeoElements(this)})),this._employerTypes=this._applicationQuery.getEmployerTypes(),this._modulePageIDForBreadcrumb=T.gn.Employers,this.trackByIndex=C=>C}getPageId(){return"careerHubEventsPage"}getTitle(){return this._seoService.getPageTitle(this,"eventsOf",[this._careerHub.shortTitle||this._careerHub.title])}getMetaDescription(){return this._seoService.getPageMetaDescription(this,"eventsOf",[this._careerHub.shortTitle||this._careerHub.title])}getOpenGraphImage(){return this._careerHub.backgroundPic?this._careerHub.backgroundPic:"/assets/config-images/ads/careerHub_defaultKeyVisual.jpg"}getBreadcrumbForUI(){if(this._isRouteLawSchool)return[{name:this.seoService.getI18NSectionId("lawSchoolsOverview","breadcrumbs"),url:"/llm-programme--ueberblick"},{name:this._careerHub?.shortTitle,url:this.getCanonicalUrl().split("/events")[0]}];{const r=this.getCanonicalUrl().split("/profil/")[0];return[{name:this.seoService.getI18NSectionId("employersOverview","breadcrumbs"),url:r},{name:this._careerHub?.kindOfEmployer?.title,url:`${r}/_${this.getEmployerTypeURL(this._careerHub?.kindOfEmployer?.id)}`},{name:this._careerHub?.shortTitle,url:this.getCanonicalUrl().split("/events")[0]}]}}goToCareerHubMainPage(){this._router.navigate(["../"],{relativeTo:this._route})}getEmployerTypeURL(r){return this._employerTypes.find(s=>s.id===r)?.urlString}static#e=l=()=>(this.\u0275fac=function(s){return new(s||S)(e.rXU(g.Ix),e.rXU(g.nX),e.rXU(b.f),e.rXU(u.B),e.rXU(a.j),e.rXU(M.b))},this.\u0275cmp=e.VBU({type:S,selectors:[["app-career-hub-events"]],features:[e.Vt3],decls:2,vars:3,consts:()=>{let r;return r="Events bei",[["loading",""],r,["class","container mt-2",4,"ngIf"],[1,"container","mt-2"],[1,"mt-6"],[4,"ngIf","ngIfElse"],["class","row",4,"ngIf"],[1,"row"],["class","col col-12 col-md-6 col-lg-4 mb-4",3,"event",4,"ngFor","ngForOf","ngForTrackBy"],[1,"col","col-12","col-md-6","col-lg-4","mb-4",3,"event"]]},template:function(s,v){1&s&&(e.DNE(0,t,10,5,"div",2),e.nI1(1,"async")),2&s&&e.Y8G("ngIf",e.bMT(1,1,v.careerHub$))},dependencies:[O.bT,m.L,d.y,O.Sq,I.w,U.H,H.q,O.Jj],encapsulation:2,changeDetection:0}),this)},l());o=(0,P.Cg)([(0,p.d)(),(0,P.Sn)("design:paramtypes",[g.Ix,g.nX,b.f,u.B,a.j,M.b])],o)},4419(L,R,_){_.d(R,{f:()=>d});var e,P=_(58989),O=_(31958),g=_(43336),b=_(10981),I=_(98240),M=_(76960),T=_(9511),f=_(84412),u=_(5964),a=_(96354),p=_(44668),h=_(25558),U=_(88141),m=_(23214);class d{constructor(l,E,D,A,B){this._jobDataService=l,this._eventDataService=E,this._articleService=D,this._reviewsDataService=A,this._filtersQuery=B,this._showReviews=T.cA.features.showReviews,this._showEvents=T.cA.features.showEvents,this._careerHubSource$=new f.t(null),this.careerHub$=this._careerHubSource$.asObservable().pipe((0,u.p)(t=>!!t),(0,U.M)(t=>{t.shortTitle=""===t?.shortTitle?t?.title.length>=25?t?.title.substring(0,25)+"...":t.title:t?.shortTitle}),(0,p.t)(1)),this.articles$=this.careerHub$.pipe((0,a.T)(t=>[t.type,t.title]),(0,h.n)(([t,o])=>this._articleService.getArticleCardList(0,0,{[t]:[o],communication:"b2c"})),(0,a.T)(t=>t.items),(0,p.t)(1)),this.jobs$=this.careerHub$.pipe((0,a.T)(t=>t.title),(0,h.n)(t=>this._filtersQuery.careerHubJobsFilter$.pipe((0,a.T)(({filterSet:o})=>({...o,careerHubTitle:t})))),(0,h.n)(({locality:t,jobType:o,experienceLevel:n,jobField:r,workTimeModel:s,careerHubTitle:v})=>{const i={company:[encodeURIComponent(v)]};return t?.addresses?.length&&(i.locality=t.addresses.map(c=>c.city),t?.radius>=0&&(i.radius=t.radius.toString())),i.kindOfJobAd=o.map(c=>c.id),i.workExperienceLevel=n.map(c=>c?.id),i.field=r.map(c=>c.id),i.workTimeModel=s.map(c=>c.id),this._jobDataService.getJobCardList(0,0,{...i})}),(0,a.T)(t=>t.items),(0,p.t)(1)),this.events$=this.careerHub$.pipe((0,u.p)(()=>this._showEvents),(0,a.T)(t=>t.title),(0,h.n)(t=>this._eventDataService.getEventCardList(0,0,{host:[encodeURIComponent(t)]})),(0,a.T)(t=>t.items),(0,p.t)(1)),this.reviewsCount$=this.careerHub$.pipe((0,u.p)(()=>this._showReviews),(0,a.T)(t=>t.id),(0,h.n)(t=>this._reviewsDataService.getList(10,0,(new P.Nl).set("employerID",t.toString()))),(0,p.t)(1)),this.salaries$=this.careerHub$.pipe((0,a.T)(t=>t.tabs.find(o=>"gehalt"===o?.urlString)),(0,p.t)(1))} 2//! Workaround caused by messy tranfer state logic in company.component and llm.component 3storeCareerHubData(l){this._careerHubSource$.next(l),this.careerHub$.subscribe()}getGenericTabData(l){return this.careerHub$.pipe((0,u.p)(E=>!!E.tabs.length),(0,a.T)(E=>E.tabs.find(D=>D?.urlString===l)))}static#e=e=()=>(this.\u0275fac=function(E){return new(E||d)(m.KVO(b.x),m.KVO(g.a),m.KVO(I.i),m.KVO(M.M),m.KVO(O.C))},this.\u0275prov=m.jDH({token:d,factory:d.\u0275fac,providedIn:"root"}))}e()}}]);
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.