PageSourceSearch

https://www.esanum.de/6666.48b3cf350c0cbf86.js

js esanum.de collected 2026-10-01 13:07:23 UTC 11,358 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkesanum=self.webpackChunkesanum||[]).push([[6666,9134],{36132:(x,m,e)=>{e.d(m,{k:()=>t});var u,i=e(36895),c=e(30868),l=e(55062);class t{}(u=t).\u0275fac=function(y){return new(y||u)},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({imports:[i.ez,c.pu]})},56666:(x,m,e)=>{e.r(m),e.d(m,{PlaylistPageRoutingModule:()=>z,getPlaylistMeta:()=>Q});var g,i=e(93007),c=e(18945),l=e(75179),u=e(12391),t=e(55062);class y{constructor(n){this.playlistsService=n}resolve(n,_){return this.playlistsService.get(n.params.PLAYLIST_SLUG)}}(g=y).\u0275fac=function(n){return new(n||g)(t.LFG(u.c))},g.\u0275prov=t.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"});var E,R=e(7625),I=e(68474),A=e(36895),M=e(22012),p=e(91890);function S(r,n){if(1&r){const _=t.EpF();t.TgZ(0,"sn-informer",2),t.NdJ("ok",function(){t.CHM(_);const s=t.oxw();return t.KtG(s.error=null)}),t._UZ(1,"sn-informer-message",3),t.qZA()}if(2&r){const _=t.oxw();t.xp6(1),t.Q6J("message",_.error.toString())}}class v extends I.Q{constructor(n){super(),this.route=n}ngOnInit(){this.route.data.pipe((0,R.R)(this.destroy$)).subscribe(({playlist:n})=>this.playlist=n)}}(E=v).\u0275fac=function(n){return new(n||E)(t.Y36(i.gz))},E.\u0275cmp=t.Xpm({type:E,selectors:[["esn-playlist-page"]],features:[t.qOj],decls:5,vars:9,consts:[[3,"ok",4,"ngIf"],[3,"playlist","video"],[3,"ok"],[3,"message"]],template:function(n,_){1&n&&(t.YNc(0,S,2,1,"sn-informer",0),t._UZ(1,"esn-video-playlist",1),t.ALo(2,"async"),t.ALo(3,"async"),t.ALo(4,"async")),2&n&&(t.Q6J("ngIf",!!_.error),t.xp6(1),t.Q6J("playlist",_.playlist)("video",t.lcZ(2,3,_.route.queryParams).playlist==_.playlist.slug||t.lcZ(3,5,_.route.queryParams).playlist==_.playlist.id?+t.lcZ(4,7,_.route.queryParams).video:null))},dependencies:[A.O5,M.ZlA,M.mMx,p.T,A.Ov],styles:["[_nghost-%COMP%]{display:block}"]});var f,G=e(56498),U=e(67090),O=e(75121),T=e(19134),C=e(23960),b=e(80393),N=e(75020),$=e(46511);class V extends T.an{constructor(n,_,B,s,a,o,h,d,P){super(_,B,s,a,o,h,d,P),this.playlistsService=n}checkObjectAccess(n,_){let B=n.params.PLAYLIST_SLUG;return new G.y(s=>this.playlistsService.checkAccess(B).subscribe(a=>s.next({pk:B,access:a}),a=>this.router.navigate([a instanceof N.d?"/404":"/"]).then(()=>s.error(a))))}}(f=V).\u0275fac=function(n){return new(n||f)(t.LFG(u.c),t.LFG(O.X),t.LFG(M.Z7U),t.LFG(C.w),t.LFG(t.zs3),t.LFG(U.o),t.LFG(i.F0),t.LFG(b.U),t.LFG($.Kf))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"});var L,j,Z=e(77075);class J{}function Q({playlist:{title:r}}){return{title:r}}(L=J).\u0275fac=function(n){return new(n||L)},L.\u0275mod=t.oAB({type:L}),L.\u0275inj=t.cJS({imports:[A.ez,M.k85,Z.VideoPlaylistModule]});class z{}(j=z).\u0275fac=function(n){return new(n||j)},j.\u0275mod=t.oAB({type:j}),j.\u0275inj=t.cJS({providers:[V],imports:[J,i.Bz.forChild([{path:":PLAYLIST_SLUG",component:v,resolve:{playlist:y},canActivate:[V],canDeactivate:[l.e],data:{meta:Q,directory:{owner:c.Q.playlist}}}])]})},21437:(x,m,e)=>{e.r(m),e.d(m,{VideoPlayerModule:()=>O});var v,U,i=e(36895),c=e(24006),l=e(22012),u=e(31838),t=e(6410),g=e(36132),y=e(87383),R=e(40022),I=e(34980),A=e(58032),M=e(77490),p=e(85166),E=e(14421),S=e(55062);class G{}(v=G).\u0275fac=function(C){return new(C||v)},v.\u0275mod=S.oAB({type:v}),v.\u0275inj=S.cJS({imports:[i.ez]});class O{getElement(C){return E.p}getComponent(C){if("VideoPlayerComponent"===C)return E.p;console.error("Unknown lazy-loaded component")}}(U=O).\u0275fac=function(C){return new(C||U)},U.\u0275mod=S.oAB({type:U}),U.\u0275inj=S.cJS({providers:[M.u],imports:[i.ez,c.UX,c.u5,l.hJ1,l.nDK,l.QX1,l.k85,l.IaM,l.Fme,l.iNp,A.z,p.o,I.n,u.mZ,t.Q,g.k,y.S,R.r,G]})},77075:(x,m,e)=>{e.r(m),e.d(m,{VideoPlaylistModule:()=>E});var p,i=e(36895),c=e(22012),l=e(6410),u=e(21437),t=e(34980),g=e(58032),y=e(35117),R=e(85166),I=e(91890),A=e(40022),M=e(55062);class E{getElement(v){return I.T}getComponent(v){if("VideoPlaylistComponent"===v)return I.T;console.error("Unknown lazy-loaded component")}}(p=E).\u0275fac=function(v){return new(v||p)},p.\u0275mod=M.oAB({type:p}),p.\u0275inj=M.cJS({imports:[i.ez,c.dIW,c.hJ1,c.QX1,c.k85,c.IaM,c.Fme,c.iNp,c.MUX,g.z,y.g,R.o,t.n,l.Q,A.r,u.VideoPlayerModule]})},87383:(x,m,e)=>{e.d(m,{S:()=>g});var t,i=e(36895),c=e(22012),l=e(85166),u=e(55062);class g{}(t=g).\u0275fac=function(R){return new(R||t)},t.\u0275mod=u.oAB({type:t}),t.\u0275inj=u.cJS({imports:[i.ez,c.LOH,c.iNp,l.o]})},19134:(x,m,e)=>{e.d(m,{an:()=>_});var L,i=e(70655),c=e(22012),l=e(30800),t=e(17489),y=e(56498),R=e(36787),I=e(87224),A=e(92198),M=e(31126),p=e(57318),E=e(74248),S=e(84727),v=e(99700),G=e(77740),U=e(79368),O=e(52150),T=e(79333),C=e(47308),b=e(71479),N=e(764
101),$=e(94639),f=e(43455),V=e(41277),Z=e(22107);class z{}(L=z).identified="Identified",L.guests="Guests",L.logged="Logined";let r=class{constructor(s={}){(0,t.merge)(this,s)}};(0,i.gn)([(0,O.E)({serializer:new b.V}),(0,i.w6)("design:type",Date)],r.prototype,"created",void 0),(0,i.gn)([(0,O.E)(),(0,i.w6)("design:type",Number)],r.prototype,"sharedObjectsCount",void 0),(0,i.gn)([(0,O.E)(),(0,i.w6)("design:type",Number)],r.prototype,"sharedFlushTimeHours",void 0),r=(0,i.gn)([(0,O.o)(),(0,i.w6)("design:paramtypes",[Object])],r);let n=class{constructor(s={}){(0,t.merge)(this,s)}};(0,i.gn)([(0,O.E)(),(0,i.w6)("design:type",Number)],n.prototype,"accessTime",void 0),(0,i.gn)([(0,O.E)(),(0,i.w6)("design:type",Number)],n.prototype,"accessRepeatCount",void 0),n=(0,i.gn)([(0,O.o)(),(0,i.w6)("design:paramtypes",[Object])],n);class _{constructor(s,a,o,h,d,P,D,W){this.config=s,this.modal=a,this.navigation=o,this.injector=h,this.analytics=d,this.router=P,this.signals=D,this.logger=W}canActivate(s,a){return[this.route,this.state]=[s,a],new y.y(o=>this.checkAccess(o)).pipe((0,I.P)())}hasAccess(){const{requiredGroups:s,userSignup:a,mandatoryFields:o,deniedReason:h}=this.objectAccess.access,d=-1!==s.indexOf(z.identified),P=-1!==s.indexOf(z.guests);if(!d&&!P||this.config.userToken||!a)if(-1===s.indexOf(z.logged)||this.config.userToken)if(this.config.userToken&&o.length)this.checkMandatoryFields();else switch(h){case C.b.accessDenied:this.accessDenied();break;case C.b.approbationNeeded:this.callToApprobation()}else this.pleaseSingin();else this.userSignup()}get stateKey(){let{pk:s}=this.objectAccess;return M.unique(`object_${s}`)}loadState(){const s=localStorage[this.stateKey];if(s)try{return(0,l.deserialize)(JSON.parse(s),n)}catch(a){}return null}saveState(s){localStorage.setItem(this.stateKey,JSON.stringify((0,l.serialize)(s)))}get stateSharedKey(){let{id:s}=this.objectAccess.access;return M.unique(`permission_${s}`)}loadSharedState(){const s=localStorage[this.stateSharedKey];let a=null;if(s)try{a=(0,l.deserialize)(JSON.parse(s),r)}catch(o){}return a&&(0,$.Af)(a.created,new Date)<a.sharedFlushTimeHours?a:null}saveSharedState(s){localStorage.setItem(this.stateSharedKey,JSON.stringify((0,l.serialize)(s)))}trackAccess(){let{accessTime:s,accessRepeatInterval:a,accessRepeatCount:o,success:h}=this.objectAccess.access;const d_repeat=!!a||!!o,P=this.loadState()||new n({accessTime:s,accessRepeatCount:o});if(s=Math.max(0,P.accessTime),this.logger.debug(`access time ${s}`),!h){this.logger.debug("check access");let D=null,W=()=>{s>0?(void 0!==localStorage[G.D3]&&(s-=1,this.logger.debug(`set access time ${s}`),this.saveState((0,t.merge)(P,{accessTime:s}))),D=setTimeout(W,1e3)):this.hasAccess()};this.signals.signals$.pipe((0,A.h)(F=>F instanceof N.u&&F.route===this.route),(0,I.P)()).subscribe(()=>clearTimeout(D));const K=this.loadSharedState();(P.accessRepeatCount>0&&(!K||K.sharedObjectsCount>0)||!d_repeat)&&W()}}checkAccess(s=null){this.checkObjectAccess(this.route,this.state).subscribe(a=>{this.logger.debug(`check access for ${this.state.url}`),this.objectAccess=a;const{access:o}=a;o.isActive?(o.success||this.router.navigate(["/403",{source:(0,V.J)()}]),null==s||s.next(o.success)):(this.trackAccess(),null==s||s.next(!0))},a=>{this.logger.debug(a),null==s||s.next(!1)})}canceled(){let{cancelUrl:s,accessTime:a,accessRepeatInterval:o,accessRepeatCount:h,sharedObjectsCount:d,sharedFlushTimeHours:P}=this.objectAccess.access;const D_repeat=!!o||!!h,D_shared=!!d||!!P;if(h=(this.loadState()||{accessTime:a,accessRepeatCount:h}).accessRepeatCount,this.logger.debug(`access repeat count ${a}`),D_repeat){if(this.saveState(new n({accessTime:o,accessRepeatCount:Math.max(0,--h)})),h>0)this.trackAccess();else if(D_shared){const K=this.loadSharedState()||new r({created:new Date,sharedObjectsCount:d,sharedFlushTimeHours:P});d=K.sharedObjectsCount,this.logger.debug(`shared objects count ${d}`),this.saveSharedState(new r({created:K.created,sharedObjectsCount:Math.max(0,--d),sharedFlushTimeHours:P}))}}else s?U.hp.test(s)?document.location.href=s:this.router.navigate([s]):this.router.navigate(["/"])}openModal(s,a=new c.yBV,o=null){this.signals.signals$.pipe((0,A.h)(d=>d instanceof N.u&&d.route===this.route),(0,I.P)()).subscribe(()=>this.modal.close());const h=()=>{try{this.modal.open(s,(0,t.merge)(a,{closed:d=>{d===c.UI.modal.closedReason.user&&(null==o||o.call(null),this.canceled())}}))}catch(d){setTimeout(()=>h(),1e3)}};h()}accessDenied(){const{message:s,labels:a}=this.objectAccess.access;(0,f.y)(T.c.accessDenied,this.injector).subscribe(o=>{o.instance.message=s;const h="Sie haben hier keinen Zugriff";this.openModal(o,{title:{text:(null==a?void 0:a.title)||h}})})}pleaseSingin(){(0,f.y)(T.c.pleaseSignin,this.injector).subscribe(s=>{s.instance.signin.subscribe(()=>{this.modal.close(),this.checkAccess()});const a="Ihr esanum Login";this.openModal(s,{title:{text:a}})})}callToApprobation(){(0,f.y)(T.c.callToApprobation,this.injector).subscribe(s=>{const a="Aufruf zur Genehmigung";this.openModal(s,{title:{text:a}})})}
1userSignup(){(0,f.y)(T.c.userSignup,this.injector).subscribe(s=>{const{userSignup:a}=this.objectAccess.access,{instance:o}=s;o.userSignup=a,o.checkFilled().subscribe(h=>{if(h)return void this.checkAccess();const{slug:d,firstStep:P}=a;if(P){const{context:K,pk:F,siteContext:H,feed:Y}=this.objectAccess,X=new v.n({context:K,pk:F,siteContext:H,feed:Y,url:(0,Z.qC)(this.route)}),k=btoa(JSON.stringify((0,l.serialize)(X)));this.router.navigate(["/signup",d,{target:k},P.slug]).then(()=>null)}else{var D,W;(0,R.T)(o.canceled,o.completed.pipe((0,A.h)(H=>!H))).subscribe(()=>this.modal.close());const K={canceled:()=>{this.analytics.track(new S.qo({category:p.N.signup,action:E.m.rejected,label:`${a.title} (${a.id})`}))}};o.canceled.subscribe(()=>{K.canceled(),this.canceled()}),o.completed.subscribe(()=>this.checkAccess()),o.listenFilled();const F="Hinweis";this.openModal(s,{title:{text:null!==(D=a.sections)&&void 0!==D&&D.includes("title")&&(null===(W=a.labels)||void 0===W?void 0:W.title)||F},closeOutside:!1},()=>K.canceled())}})})}checkMandatoryFields(){(0,f.y)(T.c.mandatoryFields,this.injector).subscribe(s=>{const{mandatoryFields:a}=this.objectAccess.access;s.instance.fields=a,(0,R.T)(s.instance.canceled,s.instance.saved).subscribe(()=>this.modal.close()),s.instance.saved.subscribe(()=>this.checkAccess()),s.instance.canceled.subscribe(()=>this.canceled());const o="Erforderliche Daten hinzuf\xFCgen";this.openModal(s,{title:{text:o},closeOutside:!1})})}}},35117:(x,m,e)=>{e.d(m,{g:()=>u});var l,i=e(36895),c=e(55062);class u{}(l=u).\u0275fac=function(g){return new(g||l)},l.\u0275mod=c.oAB({type:l}),l.\u0275inj=c.cJS({imports:[i.ez]})}}]);

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.