1"use strict";(self.webpackChunkesanum=self.webpackChunkesanum||[]).push([[4452],{4452:(R,C,s)=>{s.d(C,{w:()=>Q,z:()=>k});var e=s(55062),a=s(22012),A=s(30800),y=s(30567),z=s(56498),T=s(7625),F=s(40537),f=s(67090),S=s(57318),O=s(74248),m=s(15941),l=s(84727),M=s(75121),J=s(62324),B=s(25409),D=s(98060),G=s(63689),Z=s(84227),W=s(38574),H=s(32848),j=s(29097),V=s(61292),X=s(14506),q=s(62769),N=s(73546),ee=s(74104),ne=s(56271),te=s(16195),oe=s(91668),se=s(33617),ie=s(72911),ce=s(16159),re=s(49251),g=s(70655),ae=s(17489),$=s(79368),E=s(52150),Y=s(6399),de=s(75935);let u=class{constructor(t){(0,ae.merge)(this,t)}};(0,g.gn)([(0,E.E)({serializer:new Y.n($.I$)}),(0,g.w6)("design:type",String)],u.prototype,"keywords",void 0),(0,g.gn)([(0,E.E)({serializer:new Y.n($.I$)}),(0,g.w6)("design:type",String)],u.prototype,"tags",void 0),(0,g.gn)([(0,E.E)({serializer:new A.PrimitiveSerializer}),(0,g.w6)("design:type",Object)],u.prototype,"status",void 0),(0,g.gn)([(0,E.E)({serializer:new de.H}),(0,g.w6)("design:type",Number)],u.prototype,"page",void 0),u=(0,g.gn)([(0,E.o)(),(0,g.w6)("design:paramtypes",[Object])],u);var x,v,le=s(68474),h=s(24006),U=s(46511),K=s(93007),_=s(36895),fe=s(61539),ge=s(18570),pe=s(7370),ue=s(17110),me=s(2536),he=s(72891),_e=s(84665),Ce=s(92253),Ee=s(53685),xe=s(59758),ve=s(14378),ye=s(93984),Te=s(10394),Fe=s(95811);function Se(o,t){if(1&o){const n=e.EpF();e.TgZ(0,"sn-informer",5),e.NdJ("ok",function(){e.CHM(n);const c=e.oxw();return e.KtG(c.error=null)}),e._UZ(1,"sn-informer-message",6),e.qZA()}if(2&o){const n=e.oxw();e.Q6J("placement",n.ui.placement.absolute),e.xp6(1),e.Q6J("message",n.error.toString())}}function Oe(o,t){if(1&o&&(e.TgZ(0,"sn-col",12)(1,"sn-card",13)(2,"sn-stack",9),e._UZ(3,"sn-skeleton",14)(4,"sn-skeleton",15)(5,"sn-skeleton",14),e.qZA()()()),2&o){const n=e.oxw(3);e.Q6J("tablet",(null==n.feed.cardsLayout?null:n.feed.cardsLayout.columns)>0?12/(null==n.feed.cardsLayout?null:n.feed.cardsLayout.columns):6),e.xp6(1),e.Q6J("width",n.ui.width.fluid)("height",n.ui.height.fluid)("padding",n.ui.gutter.large),e.xp6(1),e.Q6J("align",n.ui.align.stretch),e.xp6(1),e.Q6J("lines",1),e.xp6(1),e.Q6J("type",n.ui.skeleton.type.image)("width",n.config.device.mobile?"100%":"318px")("height","230px"),e.xp6(1),e.Q6J("lines",2)}}function Ne(o,t){if(1&o&&(e.TgZ(0,"sn-stack",9)(1,"sn-row",10),e.YNc(2,Oe,6,10,"sn-col",11),e.ALo(3,"toArray"),e.qZA()()),2&o){const n=e.oxw(2);e.Q6J("align",n.ui.align.stretch),e.xp6(1),e.Q6J("align",n.ui.align.stretch)("gutter",n.ui.gutter.tiny)("spacing",n.ui.gutter.small),e.xp6(1),e.Q6J("ngForOf",e.lcZ(3,5,8))}}function Ie(o,t){if(1&o&&(e.TgZ(0,"sn-block",17),e._UZ(1,"esn-empty",18),e.qZA()),2&o){const n=e.oxw(3);e.Q6J("width",n.ui.width.fluid),e.xp6(1),e.Q6J("layout",n.mode===n.feedMode.search?n.emptyLayouts.search:n.emptyLayouts.standart)}}function be(o,t){if(1&o&&e.YNc(0,Ie,2,2,"sn-block",16),2&o){const n=e.oxw(2);e.Q6J("ngIf",n.mode!==n.feedMode.search||(null==n.keywordsControl.value?null:n.keywordsControl.value.length)>0)}}function Ae(o,t){if(1&o&&(e.YNc(0,Ne,4,7,"sn-stack",7),e.YNc(1,be,1,1,"ng-template",null,8,e.W1O)),2&o){const n=e.MAs(2),i=e.oxw();e.Q6J("ngIf",i.progress.collections)("ngIfElse",n)}}function ze(o,t){if(1&o&&e._UZ(0,"esn-verbose-info",21),2&o){const n=e.oxw().conference,i=e.oxw();e.Q6J("editLink","/admin/events/conference/"+n.id+"/view/")("position",i.verboseInfoPosition.left)}}function Me(o,t){if(1&o){const n=e.EpF();e.TgZ(0,"sn-col",12),e.YNc(1,ze,1,2,"esn-verbose-info",19),e.TgZ(2,"esn-conference-card",20),e.NdJ("tag",function(c){e.CHM(n);const r=e.oxw();return e.KtG(r.form.patchValue({tags:[c],page:1}))}),e.ALo(3,"includes"),e.qZA()()}if(2&o){const n=t.conference,i=e.oxw();e.Q6J("tablet",(null==i.feed.cardsLayout?null:i.feed.cardsLayout.columns)>0?12/(null==i.feed.cardsLayout?null:i.feed.cardsLayout.columns):6),e.xp6(1),e.Q6J("ngIf",i.consts.verboseMode),e.xp6(1),e.Q6J("conference",n)("path",i.path)("route",i.route)("origin",i.mode!==i.feedMode.search&&e.xi3(3,6,i.feed.usingSiteContext,i.nestedSiteContext.conference)?null:n.origin)}}function Je(o,t){if(1&o&&(e.TgZ(0,"sn-col",12),e.ALo(1,"breakpoint"),e._UZ(2,"esn-embedded-feed",27),e.qZA()),2&o){const n=e.oxw(2).$implicit,i=e.oxw().index,c=e.oxw();e.Q6J("tablet",e.lcZ(1,3,c.breakpoint.mobile)?12:+n.columnSpan),e.xp6(2),e.Q6J("embeddedFeed",n.entity)("index",i+c.offset)}}function we(o,t){if(1&o&&(e.ynx(0),e.YNc(1,Je,3,5,"sn-col",26),e.ALo(2,"embeddedFeedHasEntities"),e.BQk()),2&o){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,n.entity))}}function Qe(o,t){if(1&o&&(e.TgZ(0,"sn-col",12),e.ALo(1,"breakpoint"),e._UZ(2,"esn-embedded-entity",28),e.qZA()),2&o){const n=e.oxw().$implicit,i=e.oxw().index,c=e.oxw();e.Q6J("tablet",e.lcZ(1,7,c.breakpoint.mobile)?12:+n.columnSpan),e.xp6(2),e.Q6J("entity",n.entity)("route",c.route)("feed",c.feed)("siteContext",c.siteContext)("sections",c.sections)("index",i+c.offset)}}function Pe(o,t){if(1&o&&(e.ynx(0,23),e.ALo(1,"modelType"),e.YNc(2,we,3,3,"ng-container",24),e.YNc(3,Qe,3,9,"sn-col",25),e.BQk()),2&o){const n=t.$
1implicit,i=e.oxw(2);e.Q6J("ngSwitch",e.lcZ(1,2,n.entity)),e.xp6(2),e.Q6J("ngSwitchCase",i.modelType.embeddedFeed)}}function Le(o,t){if(1&o&&(e.YNc(0,Pe,4,4,"ng-container",22),e.ALo(1,"getEmbeddedEntity")),2&o){const n=t.index,i=e.oxw();e.Q6J("ngForOf",e.xi3(1,1,i.embedded,n))}}const Re=function(o,t,n){return{feed:o,collectionType:t,siteContext:n}};function De(o,t){if(1&o&&(e._UZ(0,"esn-search-filter",32),e.ALo(1,"deserialize")),2&o){const n=e.oxw(2);e.Q6J("state",e.xi3(1,1,e.kEZ(4,Re,n.feed,n.collectionType.conferences,n.siteContext),n.searchFilterInput))}}function Ze(o,t){1&o&&e.GkF(0)}function $e(o,t){1&o&&e.GkF(0)}const Ye=function(o,t){return{conference:o,index:t}};function Ue(o,t){if(1&o&&(e.ynx(0),e.YNc(1,$e,1,0,"ng-container",36),e.BQk()),2&o){const n=t.ngIf,i=e.oxw().$implicit;e.oxw(3);const c=e.MAs(4);e.xp6(1),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.WLB(2,Ye,n,i))}}const Ke=function(o){return{index:o}};function ke(o,t){if(1&o&&(e.ynx(0),e.YNc(1,Ze,1,0,"ng-container",36),e.YNc(2,Ue,2,5,"ng-container",37),e.BQk()),2&o){const n=t.$implicit,i=e.oxw(3),c=e.MAs(6);e.xp6(1),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(3,Ke,n+1)),e.xp6(1),e.Q6J("ngIf",i.conferences[n])}}function Be(o,t){if(1&o){const n=e.EpF();e.TgZ(0,"sn-block",38)(1,"sn-pager",39),e.NdJ("action",function(c){e.CHM(n);const r=e.oxw(3);return e.KtG(r.trackPager(c))}),e.qZA()()}if(2&o){const n=e.oxw(3);e.Q6J("padding",n.ui.gutter.none),e.xp6(1),e.Q6J("count",n.count)("mode",n.ui.pager.mode.page)("size",n.config.device.mobile?1:4)("pageSize",n.pageSizeControl.value||(null==n.feed?null:n.feed.pageSize))("attributes",n.pagerAttributes)}}function Ge(o,t){if(1&o&&(e.ynx(0),e.TgZ(1,"sn-row",33),e.ALo(2,"breakpoint"),e.YNc(3,ke,3,5,"ng-container",34),e.ALo(4,"toArray"),e.qZA(),e.YNc(5,Be,2,6,"sn-block",35),e.BQk()),2&o){const n=e.oxw(2);e.xp6(1),e.Q6J("spacing",n.ui.gutter.small)("gutter",e.lcZ(2,5,n.ui.breakpoint.mobile)?n.ui.gutter.none:n.ui.gutter.tiny)("align",n.ui.align.stretch),e.xp6(2),e.Q6J("ngForOf",e.lcZ(4,7,n.pageSizeControl.value||(null==n.feed?null:n.feed.pageSize))),e.xp6(2),e.Q6J("ngIf",n.feed.usePagination&&n.count>(n.pageSizeControl.value||(null==n.feed?null:n.feed.pageSize)))}}function We(o,t){if(1&o&&(e.TgZ(0,"sn-stack",29),e.YNc(1,De,2,8,"esn-search-filter",30),e.ALo(2,"section"),e.YNc(3,Ge,6,9,"ng-container",31),e.qZA()),2&o){const n=e.oxw(),i=e.MAs(2);e.Q6J("formGroup",n.form)("align",n.ui.align.stretch),e.xp6(1),e.Q6J("ngIf",e.Dn7(2,5,n.conferencesFeedSections.conferenceSearchFilter,n.feed,n.sections)),e.xp6(2),e.Q6J("ngIf",n.conferences.length>0&&!n.progress.collections&&(n.mode!==n.feedMode.search||(null==n.keywordsControl.value?null:n.keywordsControl.value.length)>0))("ngIfElse",i)}}class Q extends le.Q{constructor(t,n,i,c,r){super(),this.feedService=t,this.fb=n,this.logger=i,this.route=c,this.config=r,this.callToSignupContext=W.c,this.consts={verboseMode:X.U1},this.nestedSiteContext=N.Re,this.progress={collections:!1},this.count=0,this.verboseInfoPosition=V.Q,this.breakpoint=a.UoH,this.modelType=ee.B,this.feedMode=D.$,this.emptyLayouts=H.J,this.snapshots={},this.conferences=[],this.embedded=[],this.features=[N.EE.embedding],this.keywordsControl=this.fb.control([]),this.pageSizeControl=this.fb.control(10),this.form=this.fb.group({keywords:this.keywordsControl,tags:this.fb.control([]),status:this.fb.control(null),page:this.fb.control(1),pageSize:this.pageSizeControl}),this.fetchers={conferences:null,entities:null},this.updated=new e.vpe}get offset(){const{page:t,pageSize:n}=this.form.getRawValue();return(t-1)*n}set state(t){this.logger.debug("input conferences state",t);const{feed:n,siteContext:i,keywords:c,tags:r,status:d,page:p,pageSize:I}=t;[this.feed,this.siteContext]=[n,i],this.form.patchValue({keywords:c||[],tags:r||[],status:d||null,page:p||1,pageSize:I||10},{emitEvent:!1}),this.load()}ngOnInit(){this.logger.info("created"),this.form.valueChanges.pipe((0,T.R)(this.destroy$)).subscribe(({keywords:t,tags:n,status:i,page:c})=>{this.load();const r=new u({keywords:(null==t?void 0:t.length)>0?t:void 0,tags:(null==n?void 0:n.length)>0?n:void 0,status:i||void 0,page:c>1?c:void 0});this.logger.debug("output state",r),this.updated.emit(r)}),this.config.userToken$.pipe((0,T.R)(this.destroy$)).subscribe(()=>{this.logger.debug("user token was changed"),this.load()})}ngOnDestroy(){this.logger.debug("destroyed"),super.ngOnDestroy()}getFilter(){var t;const{keywords:n,tags:i,status:c,page:r,pageSize:d}=this.form.getRawValue();return new G.l({keywords:n,tags:i,status:c,page:r,pageSize:10!==d?d:(null===(t=this.feed)||void 0===t?void 0:t.pageSize)||d})}checkEmbedding(t){var n;return((null===(n=this.feed)||void 0===n?void 0:n.hasEmbedding)||this.features.includes(N.EE.embedding))&&t.empty()}load(){const t=this.getFilter();this.checkEmbedding(t)||(this.embedded=[],this.snapshots.entities=null);let n=[];(()=>{let i=this.loadConferences(t);i&&n.push(i)})(),this.checkEmbedding(t)&&(()=>{let i=this.loadEntities();i&&n.push(i)})(),n.length>0&&(this.progress.collections=!0,(0,y.D)(n).pipe((0,F.x)(()=>this.progress.collections=!1)).subscribe(()=>null,i=>this.error=i))}loadConferences(t){var n,i;if(this.logger.debug("load conferences"),!this.feed||!this.siteContext)return this.logger.debug("data is not enough"),null;const c=JSON.stringify({feed:this.feed.code,siteContext:this.siteContext,userToken:null===(n=this.config.userToken)||void 0===n?void 0:n.access_token,filter:t});if(c===this.snapshots.conferences)return this.logger.debug("conferences snapshot was not changed",c),null;this.snapshots.conferences=c;const r=[];return this.checkEmbedding(t)&&r.push(N.EE.excludeEmbeddedEntites),null===(i=this.fetchers.conferences)||void 0===i||i.unsubscribe(),new z.y(d=>{this.fetchers.conferences=this.feedService.bindContext(this.siteContext).getConferences(this.feed.code,t,r).subscribe(p=>{[this.conferences,this.count]=[p.results,p.count],d.next(p),d.complete()},p=>d.error(p))})}loadEntities(){var t,n;if(this.logger.debug("load embedded entities"),!this.feed||!this.siteContext)return this.logger.debug("data is not enough"),null;let{page:i,pageSize:c}=this.form.getRawValue();10===c&&this.feed.pageSize>0&&(c=this.feed.pageSize);const{specialtyMatching:r}
1=(0,A.deserialize)((0,ie.Rs)(this.route.snapshot),ne.F),d=(i-1)*c,I=new B.E({from:d,to:d+c,context:J.n.conferences,specialtyMatching:r}),P=JSON.stringify({feed:this.feed.code,siteContext:this.siteContext,userToken:null===(t=this.config.userToken)||void 0===t?void 0:t.access_token,filter:I});return P===this.snapshots.entities?(this.logger.debug("entities snapshot was not changed",P),null):(this.snapshots.entities=P,null===(n=this.fetchers.entities)||void 0===n||n.unsubscribe(),new z.y(L=>{this.fetchers.entities=this.feedService.bindContext(this.siteContext).getEmbeddedEntities(this.feed.code,I).subscribe(b=>{this.embedded=b,L.next(b),L.complete()},b=>L.error(b))}))}}(x=Q).\u0275fac=function(t){return new(t||x)(e.Y36(Z.q),e.Y36(h.QS),e.Y36(U.Kf),e.Y36(K.gz),e.Y36(M.X))},x.\u0275dir=e.lG2({type:x,inputs:{state:"state"},outputs:{updated:"updated"},features:[e.qOj]});class k extends Q{constructor(t,n,i,c,r,d){super(t,n,i,c,r),this.analytics=d,this.ui=a.UI,this.conferencesFeedSections=ce.d,this.searchFilterInput=j.I,this.collectionType=q.b,this.analyticsCategory=S.N,this.analyticsAction=O.m,this.analyticsOwner=m.K,this.pagerAttributes=oe._K,this.dataOwnerType=m.K.feed,this.sections=[],this.mode=D.$.standart}get dataOwnerId(){var t;return(null===(t=this.feed)||void 0===t?void 0:t.id)||null}get dataOwnerTitle(){var t;return(null===(t=this.feed)||void 0===t?void 0:t.title)||null}ngOnInit(){if(super.ngOnInit(),this.code){const t=(0,se.f)(this);this.feedService.bindContext(t).get(this.code).subscribe(n=>this.state=new re.I({feed:n,siteContext:t,status:this.status,pageSize:this.pageSize}))}}trackPager(t){this.analytics.track(new l.qo({category:S.N.pageElement,action:(0,te.w)(t),label:"Pager of conferences-feed",owner:this.feed?{id:this.feed.id,type:m.K.feed}:null}))}}(v=k).\u0275fac=function(t){return new(t||v)(e.Y36(Z.q),e.Y36(h.QS),e.Y36(U.Kf),e.Y36(K.gz),e.Y36(M.X),e.Y36(f.o))},v.\u0275cmp=e.Xpm({type:v,selectors:[["esn-conferences-feed"]],hostVars:5,hostBindings:function(t,n){2&t&&e.uIk("data-container-type",n.dataOwnerType)("data-ch-owner-type",n.dataOwnerType)("data-container-id",n.dataOwnerId)("data-ch-owner-id",n.dataOwnerId)("data-ch-owner-title",n.dataOwnerTitle)},inputs:{sections:"sections",route:"route",path:"path",code:"code",infocenter:"infocenter",conference:"conference",blog:"blog",status:"status",pageSize:"pageSize",mode:"mode"},features:[e.qOj],decls:8,vars:3,consts:function(){let o,t;return o="Keine Events gefunden, die auf Ihre Anfrage passen!",t="Bitte versuchen Sie es mit anderen Suchbegriffen.",[[3,"placement","ok",4,"ngIf"],["emptyDateTemplate",""],["conferenceRenderTemplate",""],["embeddedEntitiesTemplate",""],[3,"formGroup","align",4,"ngIf","ngIfElse"],[3,"placement","ok"],[3,"message"],[3,"align",4,"ngIf","ngIfElse"],["noDataTemplate",""],[3,"align"],[3,"align","gutter","spacing"],[3,"tablet",4,"ngFor","ngForOf"],[3,"tablet"],[3,"width","height","padding"],[3,"lines"],[3,"type","width","height"],[3,"width",4,"ngIf"],[3,"width"],["message",o,"description",t,3,"layout"],[3,"editLink","position",4,"ngIf"],[3,"conference","path","route","origin","tag"],[3,"editLink","position"],[3,"ngSwitch",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"tablet",4,"ngSwitchDefault"],[3,"tablet",4,"ngIf"],["chOrder","",3,"embeddedFeed","index"],[3,"entity","route","feed","siteContext","sections","index"],[3,"formGroup","align"],["formControlName","keywords",3,"state",4,"ngIf"],[4,"ngIf","ngIfElse"],["formControlName","keywords",3,"state"],[3,"spacing","gutter","align"],[4,"ngFor","ngForOf"],[3,"padding",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"padding"],["formControlName","page",3,"count","mode","size","pageSize","attributes","action"]]},template:function(t,n){if(1&t&&(e.YNc(0,Se,2,2,"sn-informer",0),e.YNc(1,Ae,3,2,"ng-template",null,1,e.W1O),e.YNc(3,Me,4,9,"ng-template",null,2,e.W1O),e.YNc(5,Le,2,4,"ng-template",null,3,e.W1O),e.YNc(7,We,4,9,"sn-stack",4)),2&t){const i=e.MAs(2);e.Q6J("ngIf",n.error),e.xp6(7),e.Q6J("ngIf",!!n.feed)("ngIfElse",i)}},dependencies:[_.sg,_.O5,_.tP,_.RF,_.n9,_.ED,h.JJ,h.JL,h.sg,h.u,a.v_G,a.AkF,a.iok,a.Yp0,a.ZlA,a.mMx,a.PRd,a._eU,a.aAT,fe.c,ge.g,pe.T,ue.r,me.V,he.q,_e.S,a.oXc,Ce.x,Ee.$,xe.T,ve.Z,ye.YS,Te.o,Fe.CI],styles:["[_nghost-%COMP%]{display:block;position:relative}"]})},16159:(R,C,s)=>{s.d(C,{d:()=>e});var e=(()=>((e||(e={})).conferenceSearchFilter="conference_search_filter",e))()},49251:(R,C,s)=>{s.d(C,{I:()=>l});var e=s(70655),a=s(30800),y=s(17489),T=s(17787),F=s(79368),f=s(52150),S=s(91719),O=s(6399),m=s(75935);let l=class{constructor(J){(0,y.merge)(this,J)}};(0,e.gn)([(0,f.E)(),(0,e.w6)("design:type",S.D)],l.prototype,"siteContext",void 0),(0,e.gn)([(0,f.E)(),(0,e.w6)("design:type",T.f)],l.prototype,"feed",void 0),(0,e.gn)([(0,f.E)({serializer:new O.n(F.I$)}),(0,e.w6)("design:type",Array)],l.prototype,"keywords",void 0),(0,e.gn)([(0,f.E)({serializer:new O.n(F.I$)}),(0,e.w6)("design:type",Array)],l.prototype,"tags",void 0),(0,e.gn)([(0,f.E)({serializer:new a.PrimitiveSerializer}),(0,e.w6)("design:type",Object)],l.prototype,"status",void 0),(0,e.gn)([(0,f.E)({serializer:new m.H}),(0,e.w6)("design:type",Number)],l.prototype,"page",void 0),(0,e.gn)([(0,f.E)({serializer:new m.H}),(0,e.w6)("design:type",Number)],l.prototype,"pageSize",void 0),(0,e.gn)([(0,f.E)({serializer:new a.PrimitiveSerializer}),(0,e.w6)("design:type",String)],l.prototype,"ordering",void 0),l=(0,e.gn)([(0,f.o)(),(0,e.w6)("design:paramtypes",[Object])],l)}}]);
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.