PageSourceSearch

https://espace-sante.pleyel-sante.fr/2643.1c4bc2f267a6349d.js

js pleyel-sante.fr collected 2026-10-02 01:03:14 UTC 10,371 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2643,177,7237,5642],{45642:(P,C,n)=>{n.d(C,{K:()=>M});var s=n(69808),t=n(34182),g=n(4881),h=n(91061),u=n(72096);let M=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=u.oAB({type:c}),c.\u0275inj=u.cJS({imports:[s.ez,g.Pc,t.u5,h.d]}),c})()},42065:(P,C,n)=>{n.d(C,{s:()=>t});var s=n(72096);let t=(()=>{class g{constructor(){}ngOnInit(){}}return g.\u0275fac=function(u){return new(u||g)},g.\u0275cmp=s.Xpm({type:g,selectors:[["app-empty-state"]],inputs:{title:"title",description:"description"},decls:5,vars:2,consts:[[1,"empty-state","text-center","text-muted","ion-padding"]],template:function(u,M){1&u&&(s.TgZ(0,"div",0)(1,"h2"),s._uU(2),s.qZA(),s.TgZ(3,"p"),s._uU(4),s.qZA()()),2&u&&(s.xp6(2),s.Oqu(M.title),s.xp6(2),s.Oqu(M.description))},styles:[".empty-state[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:75%}.empty-state[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1em}.empty-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.95em}"]}),g})()},69451:(P,C,n)=>{n.d(C,{R:()=>M});var s=n(92340),t=n(72096),g=n(69808),h=n(4881);function u(c,v){if(1&c){const i=t.EpF();t.TgZ(0,"ion-button",5),t.NdJ("click",function(){t.CHM(i);const e=t.oxw();return t.KtG(e.retry())}),t._uU(1,"R\xe9essayer"),t.qZA()}}let M=(()=>{class c{ngOnChanges(i){i.httpError&&this.generateContent()}generateContent(){let e,i="warning-outline",p="Erreur";if(this.message)e=this.message;else if(e=`Une erreur est survenue lors du chargement${this.what?` ${this.what}`:""}.`,this.httpError)switch(this.httpError.code){case 400:p="Requ\xeate invalide",e+=" L'action que vous tentez d'entreprendre ne semble pas valide.",i="receipt-outline";break;case 403:p="Acc\xe8s refus\xe9",e+=" Vous n'avez pas la permission d'acc\xe9der \xe0 cette ressource.",i="hand-right-outline";break;case 404:p="Ressource introuvable",e+=" La ressource que vous tentez d'atteindre n'existe pas.",i="trail-sign-outline";break;case 503:p="Maintenance en cours",e+=" Une maintenance est en cours, veuillez r\xe9essayer dans quelques secondes.",i="build-outline";break;case 500:p="Erreur interne",e+=" Nous travaillons pour r\xe9parer cela au plus vite.",i="pulse-outline";break;case-1:navigator.onLine?(p="Probl\xe8me de connexion",e+=" Un probl\xe8me de connexion a \xe9t\xe9 d\xe9tect\xe9 : votre appareil est-il bien connect\xe9 \xe0 internet ?",i="cloud-offline-outline"):(p="Panne de r\xe9seau",e+=" Il semble que votre appareil ne soit pas connect\xe9 \xe0 internet.",i="cloud-offline-outline");break;default:s.N.production||console.warn(`Could not generate a nice error for status code ${this.httpError.code}`)}else s.N.production||console.warn("No httpError was provided: could not generate a nice error message.");this.viewTitle=this.title||p,this.viewIcon=i,this.viewMessage=e}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275cmp=t.Xpm({type:c,selectors:[["app-error-state"]],inputs:{what:"what",title:"title",message:"message",retry:"retry",httpError:"httpError"},features:[t.TTD],decls:7,vars:4,consts:[[1,"error-state","my-4","px-4","text-muted","text-center","w-75","mx-auto",2,"max-width","500px"],[1,"mb-0"],["color","primary",1,"flex-shrink-0","align-middle",3,"icon"],[1,"mt-1","mb-2"],["size","small","color","primary","class","--box-shadow-card-lighter",3,"click",4,"ngIf"],["size","small","color","primary",1,"--box-shadow-card-lighter",3,"click"]],template:function(i,p){1&i&&(t.TgZ(0,"div",0)(1,"h2",1),t._UZ(2,"ion-icon",2),t._uU(3),t.qZA(),t.TgZ(4,"p",3),t._uU(5),t.qZA(),t.YNc(6,u,2,0,"ion-button",4),t.qZA()),2&i&&(t.xp6(2),t.Q6J("icon",p.viewIcon),t.xp6(1),t.hij(" ",p.viewTitle," "),t.xp6(2),t.Oqu(p.viewMessage),t.xp6(1),t.Q6J("ngIf",!!p.retry))},dependencies:[g.O5,h.YG,h.gu],styles:[".error-state[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1em}.error-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.85em}.error-state[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{width:28px;height:28px}"]}),c})()},47237:(P,C,n)=>{n.d(C,{_:()=>O});var s=n(9545),t=n(72096),g=n(69808),h=n(4881),u=n(42065),M=n(69451);let c=(()=>
1{class r{constructor(){}}return r.\u0275fac=function(l){return new(l||r)},r.\u0275cmp=t.Xpm({type:r,selectors:[["app-unavailable-state"]],decls:6,vars:0,consts:[[1,"error-state","my-4","px-4","text-muted","text-center","w-75","mx-auto",2,"max-width","500px"],[1,"mb-0"],["name","cloud-offline-outline","color","primary",1,"flex-shrink-0","align-middle"],[1,"mt-1","mb-2"]],template:function(l,d){1&l&&(t.TgZ(0,"div",0)(1,"h2",1),t._UZ(2,"ion-icon",2),t._uU(3," Service momentan\xe9ment indisponible "),t.qZA(),t.TgZ(4,"p",3),t._uU(5,"merci de votre compr\xe9hension"),t.qZA()())},dependencies:[h.gu],styles:[".error-state[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1em}.error-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.85em}.error-state[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%]{width:28px;height:28px}"]}),r})();function v(r,f){if(1&r&&(t.TgZ(0,"div",4),t._UZ(1,"ion-spinner",5),t.TgZ(2,"ion-label"),t._uU(3),t.qZA()()),2&r){const l=t.oxw();t.xp6(3),t.Oqu(l.loadingMessage||"Chargement...")}}function i(r,f){if(1&r&&t._UZ(0,"app-empty-state",6),2&r){const l=t.oxw();t.Q6J("title",l.emptyTitle)("description",l.emptyDescription)}}function p(r,f){if(1&r&&t._UZ(0,"app-error-state",7),2&r){const l=t.oxw();t.Q6J("retry",l.retry)("what",l.what)("title",l.errorTitle)("message",l.errorMessage)("httpError",l.httpError)}}function e(r,f){1&r&&t._UZ(0,"app-unavailable-state")}let O=(()=>{class r{constructor(){this.State=s.ZM,this.handleLoading=!0,this.handleEmpty=!0,this.handleError=!0}}return r.\u0275fac=function(l){return new(l||r)},r.\u0275cmp=t.Xpm({type:r,selectors:[["app-ui-state"]],inputs:{state:"state",httpError:"httpError",handleLoading:"handleLoading",handleEmpty:"handleEmpty",handleError:"handleError",collection:"collection",retry:"retry",what:"what",loadingMessage:"loadingMessage",errorTitle:"errorTitle",errorMessage:"errorMessage",emptyTitle:"emptyTitle",emptyDescription:"emptyDescription"},decls:4,vars:4,consts:[["class","mt-4 mb-4 text-muted w-75 mx-auto loading-state",4,"ngIf"],[3,"title","description",4,"ngIf"],[3,"retry","what","title","message","httpError",4,"ngIf"],[4,"ngIf"],[1,"mt-4","mb-4","text-muted","w-75","mx-auto","loading-state"],["color","primary"],[3,"title","description"],[3,"retry","what","title","message","httpError"]],template:function(l,d){1&l&&(t.YNc(0,v,4,1,"div",0),t.YNc(1,i,1,2,"app-empty-state",1),t.YNc(2,p,1,5,"app-error-state",2),t.YNc(3,e,1,0,"app-unavailable-state",3)),2&l&&(t.Q6J("ngIf",d.handleLoading&&d.state===d.State.Loading),t.xp6(1),t.Q6J("ngIf",d.handleEmpty&&d.state===d.State.Loaded&&d.collection&&!d.collection.length),t.xp6(1),t.Q6J("ngIf",d.handleError&&d.state===d.State.Error),t.xp6(1),t.Q6J("ngIf",d.state===d.State.Unavailable))},dependencies:[g.O5,h.Q$,h.PQ,u.s,M.R,c],styles:[".loading-state[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;color:var(--ion-color-grey)}.loading-state[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{margin-left:15px}"]}),r})()},82643:(P,C,n)=>{n.r(C),n.d(C,{MCAMagazinesPageModule:()=>U});var s=n(69808),t=n(34182),g=n(4881),h=n(45642),u=n(41719),M=n(97582),c=n(92340),v=n(9545),i=n(42227),p=n(79881),e=n(72096),O=n(67299),r=n(42504),f=n(70659),l=n(78451),d=n(47237);function T(a,E){if(1&a){const o=e.EpF();e.TgZ(0,"div",5)(1,"div",6),e._uU(2),e.qZA(),e.TgZ(3,"div",7)(4,"img",8),e.NdJ("click",function(){const y=e.CHM(o).$implicit,_=e.oxw(2);return e.KtG(_.open(y))}),e.qZA()()()}if(2&a){const o=E.$implicit,m=e.oxw(2);e.xp6(2),e.Oqu(o.title),e.xp6(1),e.ekj("side-card",m.isDesktop)("mt-1",m.isDesktop)("pb-4",m.isDesktop),e.xp6(1),e.Q6J("src",o.thumbnail,e.LSH)("alt",o.title)}}function z(a,E){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,T,5,9,"div",4),e.qZA()),2&a){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.magazines)}}const A=[{path:"",component:(()=>{class a{constructor(o,m,x,y,_){this.mcaService=o,this.loadingService=m,this.fileService=x,this.toaster=y,this.globalVars=_,this.state=v.ZM.Loading,this.State=v.ZM,this.magazines=[],this.isDesktop=c.N.isDesktop}ngOnInit(){this.load()}load(){return(0,M.mG)(this,void 0,void 0,function*(){this.state=v.ZM.Loading,this.magazines=[];try{this.magazines=yield this.mcaService.getMagazines().toPromise(),this.state=v.ZM.Loaded}catch(o){console.error(o),this.state=v.ZM.Error,this.httpError=o}})}ionViewDidEnter(){this.globalVars.setNavigation(new i.W(!1,!1,"Magazines Mutualistes"))}open(o){return(0,M.mG)(this,void 0,void 0,function*(){const m=y=>{console.error(y),this.loadingService.hideLoadingPopover(),this.toaster.danger(`Le magazine ${o.title} n'a pas pu \xeatre t\xe9l\xe9charg\xe9`,"Une erreur est survenue")},x=this.fileService.getProgressHandler(y=>{const _=new Blob([y],{type:"application/pdf"});this.fileService.openFromBlob(_,(0,p.f)(o.title)+".pdf","application/pdf").catch(Z=>m(Z))},"download");yield this.loadingService.presentLoadingPopover(`T\xe9l\xe9chargement du magazine ${o.title}`),this.mcaService.downloadMagazine(o).subscribe(x,m)})}}return a.\u0275fac=function(o){return new(o||a)(e.Y36(O.B),e.Y36(r.b),e.Y36(f.I),e.Y36(l.M),e.Y36(i.u))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-mca-magazine"]],decls:4,vars:5,consts:[[1,"mca-magazines"],[1,"page-container"],["what","des magazines Mutualistes","emptyTitle","Magazines indisponibles",3,"state","httpError","collection","retry"],[4,"ngIf"],["class","document-item",4,"ngFor","ngForOf"],[1,"document-item"],[1,"side-title"],[1,"document-item-content"],["loading","lazy",3,"src","alt","click"]],template:function(o,m){1&o&&(e.TgZ(0,"ion-content",0)(1,"div",1),e._UZ(2,"app-ui-state",2),e.YNc(3,z,2,1,"div",3),e.qZA()()),2&o&&(e.xp6(2),e.Q6J("state",m.state)("httpError",m.httpError)("c
1ollection",m.magazines)("retry",m.load.bind(m)),e.xp6(1),e.Q6J("ngIf",m.state===m.State.Loaded))},dependencies:[s.sg,s.O5,g.W2,d._],styles:[".mca-magazines[_ngcontent-%COMP%]   .side-title[_ngcontent-%COMP%]{margin-top:15px}"]}),a})()}];let S=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[u.Bz.forChild(A),u.Bz]}),a})(),U=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[s.ez,t.u5,g.Pc,S,h.K]}),a})()}}]);

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.