PageSourceSearch

https://espace-sante.pleyel-sante.fr/6954.2464b95fc6e43cb4.js

js pleyel-sante.fr collected 2026-10-02 01:04:40 UTC 28,914 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6954],{46954:(Z,C,s)=>{s.r(C),s.d(C,{ContactPageModule:()=>Oe});var _=s(69808),d=s(34182),l=s(4881),A=s(45642),m=s(41719),g=s(97582),e=s(72096),r=s(92340),c=s(70672),h=s(9545),x=s(38168),O=s(637),k=s(87859),J=s(83807),L=s(42227),I=s(82032),b=s(3488),S=s(46635),w=s(70796),R=s(42504),Q=s(24862),Y=s(16232),D=s(31251),G=s(22737),H=s(61730),q=s(42045),F=s(69451),z=s(47237);const K=["map"],B=["ionContent"];function V(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",9)(1,"ion-button",10),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setTab(o.Tab.UserAgency))}),e.TgZ(2,"ion-label"),e._uU(3),e.qZA()(),e.TgZ(4,"ion-button",10),e.NdJ("click",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.setTab(o.Tab.NearestAgency))}),e.TgZ(5,"ion-label"),e._uU(6),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("color",t.tab===t.Tab.UserAgency?"primary":"light"),e.xp6(2),e.Oqu(t.env.contactLabelBtnMonAgence),e.xp6(1),e.Q6J("color",t.tab===t.Tab.NearestAgency?"primary":"light"),e.xp6(2),e.Oqu(t.env.contactLabelBtnAgenceProche)}}function j(n,a){if(1&n&&(e.TgZ(0,"ion-select-option",25),e._uU(1),e.qZA()),2&n){const t=a.$implicit;e.Q6J("value",t.region),e.xp6(1),e.Oqu(t.region)}}const E=function(){return{showBackdrop:!1,backdropDismiss:!0}},N=function(){return{}};function W(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"ion-item",21)(1,"ion-label",22),e._uU(2,"S\xe9lection une r\xe9gion"),e.qZA(),e.TgZ(3,"ion-select",23),e.NdJ("ngModelChange",function(o){e.CHM(t);const u=e.oxw(2);return e.KtG(u.userRegion=o)})("ionChange",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onRegionChange())}),e.YNc(4,j,2,2,"ion-select-option",24),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("ngModel",t.userRegion)("interface",t.isWideScreen?"popover":"action-sheet")("interfaceOptions",t.isWideScreen?e.DdM(5,E):e.DdM(6,N))("placeholder",t.regionSelectPlaceholder),e.xp6(1),e.Q6J("ngForOf",t.regionList)}}function $(n,a){if(1&n&&(e.TgZ(0,"ion-label",22),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Oqu(t.agencySelectLabel)}}function X(n,a){if(1&n&&(e.TgZ(0,"ion-select-option",25),e._uU(1),e.qZA()),2&n){const t=a.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t.nom)}}function ee(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"ion-item",21),e.YNc(1,$,2,1,"ion-label",26),e.TgZ(2,"ion-select",23),e.NdJ("ngModelChange",function(o){e.CHM(t);const u=e.oxw(2);return e.KtG(u.userAgency=o)})("ionChange",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.onAgencieChange())}),e.YNc(3,X,2,2,"ion-select-option",24),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.agencySelectLabel),e.xp6(1),e.Q6J("ngModel",t.userAgency)("interface",t.isWideScreen?"popover":"action-sheet")("interfaceOptions",t.isWideScreen?e.DdM(6,E):e.DdM(7,N))("placeholder",t.agencySelectPlaceholder),e.xp6(1),e.Q6J("ngForOf",t.allAgencies)}}
1function te(n,a){if(1&n&&(e.TgZ(0,"div",27),e._UZ(1,"ion-icon",28),e.TgZ(2,"div")(3,"div",29),e._uU(4),e.qZA(),e._UZ(5,"div",30),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(4),e.Oqu(t.env.contactLabelHoraire),e.xp6(1),e.Q6J("innerHTML",t.getAgency().horaire,e.oJD)}}function ne(n,a){if(1&n&&(e.TgZ(0,"div",34),e._UZ(1,"ion-icon",35),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(3),e.Oqu(t.getAgency().telephone)}}function oe(n,a){if(1&n&&(e.TgZ(0,"span",36)(1,"span",37)(2,"span",38),e._uU(3),e.qZA(),e.TgZ(4,"span",39),e._uU(5,"Appel gratuit"),e.qZA()()()),2&n){const t=e.oxw(3);e.xp6(3),e.Oqu(t.getAgency().telephone)}}function ie(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"ion-button",31),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.call(o.getAgency().telephone))}),e.YNc(1,ne,4,1,"div",32),e.YNc(2,oe,6,1,"span",33),e.qZA()}if(2&n){const t=e.oxw(2);e.ekj("greenNumberSpace",t.env.mutuelleCode===t.mutuelle.REMPART),e.xp6(1),e.Q6J("ngIf",t.env.mutuelleCode!==t.mutuelle.REMPART),e.xp6(1),e.Q6J("ngIf",t.env.mutuelleCode===t.mutuelle.REMPART)}}function ce(n,a){if(1&n&&(e.TgZ(0,"ion-button",40)(1,"div",34),e._UZ(2,"ion-icon",41),e.TgZ(3,"span"),e._uU(4),e.qZA()()()),2&n){const t=e.oxw(2);e.Q6J("href","mailto:"+t.getAgency().email),e.xp6(4),e.Oqu(t.getAgency().email)}}function ae(n,a){1&n&&(e.TgZ(0,"ion-button",42),e._UZ(1,"ion-icon",43),e._uU(2," Prendre rendez-vous "),e.qZA())}function se(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",44)(1,"ion-button",45),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.takeAppointement())}),e._uU(2," Prendre un rendez-vous "),e.qZA()()}}function re(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",44)(1,"div",46)(2,"ion-button",47),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.gotoLink(o.env.appointmentInlineURL))}),e._uU(3," Prendre RDV "),e._UZ(4,"br"),e._uU(5," en ligne "),e.qZA(),e.TgZ(6,"ion-button",48),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.gotoLink(o.env.appointmentAgencyURL))}),e._uU(7," Prendre RDV "),e._UZ(8,"br"),e._uU(9," en agence "),e.qZA()()()}}function le(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",44)(1,"div",46)(2,"ion-button",47),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.gotoLink(o.env.appointmentInlineURL))}),e._uU(3," Prendre RDV "),e._UZ(4,"br"),e._uU(5," en ligne "),e.qZA(),e.TgZ(6,"ion-button",48),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.gotoLink(o.env.appointmentAgencyURL))}),e._uU(7," Prendre RDV "),e._UZ(8,"br"),e._uU(9," en agence "),e.qZA()()()}}function ge(n,a){if(1&n&&e._UZ(0,"app-error-state",49),2&n){const t=e.oxw(2);e.Q6J("message",t.geolocationError)}}const T=function(n){return[n]},de=function(n,a,t){return[n,a,t]};function ue(n,a){if(1&n&&(e.TgZ(0,"div",11),e.YNc(1,W,5,7,"ion-item",12),e.YNc(2,ee,4,8,"ion-item",12),e._UZ(3,"div",13),e.TgZ(4,"div",14),e._uU(5),e.qZA(),e.YNc(6,te,6,2,"div",15),e.YNc(7,ie,3,4,"ion-button",16),e._UZ(8,"br"),e.YNc(9,ce,5,2,"ion-button",17),e.YNc(10,ae,3,0,"ion-button",18),e.YNc(11,se,3,0,"div",19),e.YNc(12,re,10,0,"div",19),e.YNc(13,le,10,0,"div",19),e.YNc(14,ge,1,1,"app-error-state",20),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",e.VKq(12,T,t.mutuelle.CIM.LMF).includes(t.env.mutuelleCode)),e.xp6(1),e.Q6J("ngIf",e.kEZ(14,de,t.mutuelle.CIM.COMPLEVIE,t.mutuelle.REMPART,t.mutuelle.CIM.LMF).includes(t.env.mutuelleCode)),e.xp6(1),e.Q6J("innerHTML","COMPLEVIE"===t.env.mutuelleCode?t.getAgency().ville:t.getAgency().nom,e.oJD),e.xp6(2),e.hij(" ",t.getAgency().adresse," "),e.xp6(1),e.Q6J("ngIf",t.getAgency().horaire),e.xp6(1),e.Q6J("ngIf",t.getAgency().telephone),e.xp6(2),e.Q6J("ngIf",t.getAgency().email),e.xp6(1),e.Q6J("ngIf",t.canMakeAppointments),e.xp6(1),e.Q6J("ngIf",t.env.contactRdv),e.xp6(1),e.Q6J("ngIf",t.env.mutuelleCode===t.mutuelle.CIM.LMF),e.xp6(1),e.Q6J("ngIf",t.env.mutuelleCode===t.mutuelle.CIM.LMF),e.xp6(1),e.Q6J("ngIf",t.state===t.State.Loaded&&null===t.userLocation)}}function pe(n,a){if(1&n&&(e.TgZ(0,"ion-button",50),e._uU(1),e._UZ(2,"ion-icon",51),e.qZA()),2&n){const t=e.oxw();e.Q6J("href",t.getMapUri()),e.xp6(1),e.hij(" ",t.env.contactBtnLabelYAller," ")}}function _e(n,a){1&n&&(e.TgZ(0,"div",52)(1,"div",53),e._UZ(2,"div",54,55),e.qZA()())}function he(n,a){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",t.env.agencySelectPlaceholder," ")}}function me(n,a){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Oqu(t.searchedAgency.adresse)}}function fe(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"div",58)(1,"ion-list",59)(2,"div",60)(3,"div",61)(4,"ion-item",62),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.openSearchAgency())}),e._UZ(5,"ion-icon",63),e.TgZ(6,"ion-label",64),e.YNc(7,he,2,1,"span",8),e.YNc(8,me,2,1,"span",8),e.qZA(),e._UZ(9,"
1ion-icon",65)(10,"ion-ripple-effect"),e.qZA()()()()()}if(2&n){const t=e.oxw(2);e.xp6(7),e.Q6J("ngIf",!t.searchedAgency),e.xp6(1),e.Q6J("ngIf",t.searchedAgency)}}function ve(n,a){if(1&n&&(e.TgZ(0,"div",27),e._UZ(1,"ion-icon",28),e.TgZ(2,"div"),e._UZ(3,"div",30),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(3),e.Q6J("innerHTML",t.specificAgency.horaire,e.oJD)}}function Ce(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"ion-button",31),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(3);return e.KtG(o.call(o.specificAgency.telephone))}),e.TgZ(1,"div",34),e._UZ(2,"ion-icon",35),e.TgZ(3,"span"),e._uU(4),e.qZA()()()}if(2&n){const t=e.oxw(3);e.xp6(4),e.Oqu(t.specificAgency.telephone)}}function xe(n,a){if(1&n&&(e.TgZ(0,"ion-button",40)(1,"div",34),e._UZ(2,"ion-icon",41),e.TgZ(3,"span"),e._uU(4),e.qZA()()()),2&n){const t=e.oxw(3);e.Q6J("href","mailto:"+t.specificAgency.email),e.xp6(4),e.Oqu(t.specificAgency.email)}}function Ae(n,a){if(1&n&&(e.TgZ(0,"div",66),e._UZ(1,"div",67),e.TgZ(2,"ion-card"),e._UZ(3,"div",13),e.TgZ(4,"div",14),e._uU(5),e.qZA(),e.YNc(6,ve,4,1,"div",15),e.YNc(7,Ce,5,1,"ion-button",68),e._UZ(8,"br"),e.YNc(9,xe,5,2,"ion-button",17),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("innerHTML",t.specificAgency.nom,e.oJD),e.xp6(2),e.Oqu(t.specificAgency.adresse),e.xp6(1),e.Q6J("ngIf",t.specificAgency.horaire),e.xp6(1),e.Q6J("ngIf",t.specificAgency.telephone),e.xp6(2),e.Q6J("ngIf",t.specificAgency.email)}}function be(n,a){if(1&n){const t=e.EpF();e.TgZ(0,"ion-button",31),e.NdJ("click",function(){e.CHM(t);const o=e.oxw(3);return e.KtG(o.call(o.searchedAgency.telephone))}),e.TgZ(1,"div",34),e._UZ(2,"ion-icon",35),e.TgZ(3,"span"),e._uU(4),e.qZA()()()}if(2&n){const t=e.oxw(3);e.xp6(4),e.Oqu(t.searchedAgency.telephone)}}function Pe(n,a){if(1&n&&(e.TgZ(0,"ion-button",40)(1,"div",34),e._UZ(2,"ion-icon",41),e.TgZ(3,"span"),e._uU(4),e.qZA()()()),2&n){const t=e.oxw(3);e.Q6J("href","mailto:"+t.searchedAgency.email),e.xp6(4),e.Oqu(t.searchedAgency.email)}}function Me(n,a){if(1&n&&(e.TgZ(0,"ion-card",11),e._UZ(1,"div",13),e.YNc(2,be,5,1,"ion-button",68),e._UZ(3,"br"),e.YNc(4,Pe,5,2,"ion-button",17),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("innerHTML",t.searchedAgency.adresse,e.oJD),e.xp6(1),e.Q6J("ngIf",t.searchedAgency.telephone),e.xp6(2),e.Q6J("ngIf",t.searchedAgency.email)}}function ye(n,a){if(1&n&&(e.ynx(0),e.YNc(1,fe,11,2,"div",56),e.YNc(2,Ae,10,5,"div",57),e.YNc(3,Me,5,3,"ion-card",5),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.env.displaySearchAgency),e.xp6(1),e.Q6J("ngIf",t.specificAgency),e.xp6(1),e.Q6J("ngIf",t.searchedAgency)}}var f=(()=>{return(n=f||(f={})).UserAgency="user",n.NearestAgency="nearest",f;var n})();const Te=[{path:"",component:(()=>{class n{constructor(t,i,o,u,p,P,v,M,y,Le,Ie,Ee,Ne){this.navCtrl=t,this.modalCtrl=i,this.dataService=o,this.loading=u,this.globalVars=p,this.mapService=P,this.router=v,this.navigationService=M,this.appRateService=y,this.nativeService=Le,this.emoaService=Ie,this.geolocationService=Ee,this.inAppBrowser=Ne,this.State=h.ZM,this.state=h.ZM.Lo
1ading,this.geolocationError=null,this.userLocation=null,this.userAgency=null,this.userRegion=null,this.nearestAgency=null,this.tab=[c.c.CIM.LMF,c.c.CIM.LMDB].includes(r.N.mutuelleCode)?f.NearestAgency:f.UserAgency,this.Tab=f,this.allAgencies=[],this.allAgenciesSave=[],this.env=r.N,this.mutuelle=c.c,this.canMakeAppointments=!1,this.agencySelectLabel="S\xe9lectionner une autre agence",this.agencySelectPlaceholder="S\xe9lectionnez une agence...",this.searchedAgency=void 0,this.regionSelectPlaceholder="S\xe9lectionnez une r\xe9gion...",this.regionList=[],this.initMap=()=>{const U=this.userLocation||this.userAgency.coordonnees;this.mapGoogle=(0,x.y9)(this.map.nativeElement,{center:new google.maps.LatLng(U.lat,U.lng),zoom:12})},this.isDesktop=r.N.isDesktop,this.isWideScreen=(0,O.O)(O.U.lg)}ngOnInit(){this.initContactPage(),this.appRateService.collectBrowsedPage("contact"),[c.c.REMPART].includes(this.env.mutuelleCode)&&(this.agencySelectLabel=void 0,this.agencySelectPlaceholder="S\xe9lectionner une agence")}ionViewDidEnter(){this.globalVars.setNavigation(new L.W(!1,!1,r.N.menuAgenceText))}log(t){this.env.production||console.log(t)}initContactPage(){return(0,g.mG)(this,void 0,void 0,function*(){try{if(this.state=h.ZM.Lo
1ading,r.N.mutuelleCode===c.c.MUTCOM){const o=yield this.dataService.getAllAgenceCoordonnees().toPromise();for(const u of o)this.allAgencies.push(new b.b(u,r.N.mutuelleCode)),this.specificAgency=this.allAgencies.find(p=>"000"===p.id);return void(this.state=h.ZM.Loaded)}if(yield Promise.all([(0,x.M4)(),this.mapGeolocaliseUser()]),this.env.mutuelleCode===c.c.CIM.LMF&&(this.regionList=yield this.dataService.getAgenceRegion().toPromise()),this.env.options.contact.userAgency){const o=yield this.dataService.getAgenceAdherent().toPromise();if(this.log("1. AGENCE ADHERENT OK"),0===o.length)return console.error("/getAgenceAdherent returned an empty dataset"),void(this.state=h.ZM.Error);o[0].isRattachement=!0,this.userAgency=new b.b(o[0]),r.N.mutuelleCode===c.c.AMPLI&&(this.userAgency.nom="Si\xe8ge social de la mutuelle")}const t=yield this.getNearestAgency(this.userLocation);if(null!==t){this.log("3. AGENCE PROCHE LOCALIZED : OK");const o=new b.b(t);console.log(o),this.env.options.contact.userAgency?this.userAgency.id!==o.id&&(o.isProche=!0,this.nearestAgency=o):this.userAgency=o,r.N.mutuelleCode===c.c.AMPLI&&((this.userAgency||this.nearestAgency).nom="Si\xe8ge social de la mutuelle")}this.env.mutuelleCode===c.c.MDS&&this.navigationService.isServiceAvailable(I.t.Appointments).then(o=>this.canMakeAppointments=o).catch(console.error),this.state=h.ZM.Lo
1aded,yield this.untilMapNativeElementIsAvailable(),this.initMap(),this.log("3. INIT MAP : OK"),null!==this.userLocation&&(this.addMarkerUserPosition(this.userLocation),this.log("4. MARKER USER ADDED OK"));for(const o of[...this.allAgencies,this.userAgency,this.nearestAgency])o&&this.addMarker(o.nom,o.adresse,o.coordonnees);const i=this.nearestAgency||this.userAgency;i&&this.userLocation&&(console.log("set center"),console.log(i.coordonnees),console.log(this.userLocation),this.setCenter([i.coordonnees,this.userLocation])),this.env.mutuelleCode===c.c.EMOA&&this.setTab(this.Tab.NearestAgency),this.state=h.ZM.Loaded}catch(t){console.error(t),this.state=h.ZM.Error,this.httpError=t}})}untilMapNativeElementIsAvailable(){return(0,k.A)(()=>!(!this.map||!this.map.nativeElement))}addMarkerUserPosition(t){(0,x._q)(this.mapGoogle,t,"Vous \xeates ici",x.Jv)}addMarker(t,i,o){const u=(0,x._q)(this.mapGoogle,o,t,this.env.mapMarkerUrl);google.maps.event.addListener(u,"click",()=>{this.infoWindow.setContent(`<h3 class="mt-0">${t}</h3>${i}`),this.infoWindow.open(this.map,u)})}mapGeolocaliseUser(){return(0,g.mG)(this,void 0,void 0,function*(){try{this.geolocationError=null;const t=yield this.geolocationService.getCurrentPosition(10,50);this.userLocation={lat:t.coords.latitude,lng:t.coords.longitude},this.log(`2. USER LOCATION LOADED : OK: ${this.userLocation.lat}, ${this.userLocation.lng}`)}catch(t){switch(console.error(t),t.code||null){case 1:this.geolocationError="La demande de permission d'acc\xe9der \xe0 votre position a \xe9t\xe9 refus\xe9e.";break;case 3:this.geolocationError="Nous n'avons pas r\xe9ussi \xe0 d\xe9terminer votre localisation dans le temps imparti.";break;default:this.geolocationError="Nous n'avons pas r\xe9ussi \xe0 d\xe9terminer votre localisation."}this.userLocation=null}})}getNearestAgency(t){return(0,g.mG)(this,void 0,void 0,function*(){try{let i;this.env.mutuelleCode===c.c.EMOA?(i=yield this.emoaService.getAllAgencies().toPromise(),t||(t=this.userLocation={lat:i[0].AGE_COORDONNEE.split(",")[0],lng:i[0].AGE_COORDONNEE.split(",")[1]})):i=yield this.dataService.getAllAgenceCoordonnees().toPromise();let o=1e6,u=null;for(const p of i)if((null===this.userLocation||[c.c.CIMUT.COMPLEVIE,c.c.REMPART,c.c.CIM.LMF,c.c.CIM.LMDB,c.c.CIM.CLP,c.c.CIM.PLEYEL,c.c.CIM.KERIALIS,c.c.CIM.AUDIENS].includes(this.env.mutuelleCode))&&(this.allAgencies.push(new b.b(p)),this.allAgenciesSave.push(new b.b(p))),""!==p.AGE_COORDONNEE){const P=p.AGE_COORDONNEE.split(",",2),v=null!==t?(0,x.Sp)(t.lat,t.lng,P[0],P[1]):0;v<o&&(u=p,o=v)}return[c.c.CIMUT.COMPLEVIE,c.c.REMPART,c.c.CIM.LMF].includes(this.env.mutuelleCode)&&(this.allAgencies=this.allAgencies.filter(p=>p!==u)),o>100&&![c.c.EMOA,c.c.CIM.LMDB,c.c.CIM.LMF,c.c.CIM.KLESIA].includes(this.env.mutuelleCode)?null:u}catch(i){return console.error(i),null}})}setTab(t){const i=this.getAgency(t);!i||(this.tab=t,this.setCenter([i.coordonnees,this.userLocation]))}getAgency(t=null){return this.env.options.contact.showTab?(t||this.tab)===f.UserAgency?this.userAgency:this.nearestAgency:this.userAgency}call(t){this.nativeService.call(t)}getMapUri(){const t=this.getAgency();if(t)return this.mapService.getMapHref(t.adresse,t.coordonnees)}setCenter(t){const i=this.ionContent.nativeElement.getBoundingClientRect().top,o=this.ionContent.nativeElement.clientHeight,u=this.map.nativeElement.getBoundingClientRect().top,v={bottom:this.map.nativeElement.clientHeight-(o-(u-i)),top:0,left:0,right:0},M=new google.maps.LatLngBounds;for(const y of t)y&&M.extend(new google.maps.LatLng(y.lat,y.lng));this.mapGoogle.fitBounds(M,v),this.mapGoogle.setZoom(this.mapGoogle.getZoom()-6),this.mapGoogle.panToBounds(M,v)}takeAppointement(){this.router.navigateByUrl("/nav/rdv")}onAgencieChange(){this.setCenter([this.userAgency.coordonnees])}onRegionChange(){this.allAgencies=this.allAgenciesSave.filter(t=>t.region===this.userRegion)}gotoLink(t){return(0,g.mG)(this,void 0,void 0,function*(){J.Z.AlertPresent("Info",`Attention, vous allez sortir de ${this.isDesktop?"votre espace adh\xe9rent":"votre application mobile"} afin d'\xeatre redirig\xe9 vers un site partenaire.<br>\n      Nous vous recommandons de toujours v\xe9rifier les r\xe8gles RGPD des sites que vous visitez.`,[{text:"OK",handler:()=>{this.inAppBrowser.create(t,"_system").show()}},{text:"Non",handler:()=>{}}])})}openSearchAgency(){return(0,g.mG)(this,void 0,void 0,function*(){const t=yield this.modalCtrl.create({component:S.g,swipeToClose:!0,presentingElement:document.querySelector("ion-router-outlet")});return t.onDidDismiss().then(i=>{null!==i&&(this.searchedAgency=i.data)}),yield t.present()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(l.SH),e.Y36(l.IN),e.Y36(w.D),e.Y36(R.b),e.Y36(L.u),e.Y36(Q.S),e.Y36(m.F0),e.Y36(I.f),e.Y36(Y.I),e.Y36(D.R),e.Y36(G.C),e.Y36(H._),e.Y36(q.i))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-contact"]],viewQuery:function(t,i){if(1&t&&(e.Gf(K,5,e.SBq),e.Gf(B,5,e.SBq)),2&t){let o;e.iGM(o=e.CRH())&&(i.map=o.first),e.iGM(o=e.CRH())&&(i.ionContent=o.first)}},decls:9,vars:18,consts:[[1,"contact",3,"fullscreen"],["ionContent",""],[1,"content-scroller"],["errorMessage","Il nous est actuellement impossible de localiser votre agence. Merci de r\xe9essayer ult\xe9rieurement.",3,"state","httpError","handleEmpty","retry"],["class","btn-tabs",4,"ngIf"],["class","agence",4,"ngIf"],["class","btn-carte",3,"href",4,"ngIf"],["class","block-carte",4,"ngIf"],[4,"ngIf"],[1,"btn-tabs"],[3,"color","click"],[1,"agence"],["class","form-item fade-through delay-3 min-padding",4,"ngIf"],[1,"agence-name",3,"innerHTML"],[1,"agence-address"],["class","agence-horaires mt-3",4,"ngIf"],["fill","clear","class","contact-button",3,"greenNumberSpace","click",4,"ngIf"],["fill","clear","class","contact-button",3,"href",4,"ngIf"],["color","primary","href","https://app.apenday.com/mutuelles-du-soleil/meetings/decouvrez-nos-offres",4,"ngIf"],["class","d-flex justify-content-center",4,"ngIf"],["title","Erreur de g\xe9olocalisation",3,"message",4,"ngIf"],[1,"form-item","fade-through","delay-3","min-padding"],["position","floating"],["okText","Ok","cancelText","Annuler",1,"form-item-label",3,"ngModel","interface","interfaceOptions","placeholder","ngModelChange","ionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["position","floating",4,"ngIf"],[1,"agence-horaires","mt-3"],["src","/assets/svg/horaires.svg",1,"icon"],[1,"agence-title"],[1,"agence-horaire",3,"innerHTML"],["fill","clear",1,"contact-button",3,"click"],["class","agence-contact-title",4,"ngIf"],["class","greenNumber",4,"ngIf"],[1,"agence-contact-title"],["src","/assets/svg/t\xe9l\xe9phone.svg",1,"icon"],[1,"greenNumber"],[1,"tel"],[1,"value"],[1,"type"],["fill","clear",1,"contact-button",3,"href"],["src","/assets/svg/messagerie.svg",1,"icon"],["color","primary","href","https://app.apenday.com/mutuelles-du-soleil/meetings/decouvrez-nos-offres"],["icon","calendar-outline","slot","start"],[1,"d-flex","justify-content-center"],["color","secondary","size","small",1,"btn-rdv",3,"click"],[1,"contact-buttons-container"],["color","primary","expand","block","size","small",1,"btn",3,"click"],["ccolor","primary","expand","block","size","small",1,"btn",3,"click"],["title","Erreur de g\xe9olocalisation",3,"message"],[1,"btn-carte",3,"href"],["src","/assets/svg/carte.svg",1,"icon"],[1,"block-carte"],[1,"h-100"],["id","map"],["map",""],["class","form-wrap",4,"ngIf"],["class","agence fixed",4,"ngIf"],[1,"form-wrap"],[1,"form-list","bg-transparent"],[1,"row"],[1,"col-md-6"],[1,"form-item","select","ion-activatable","ripple-parent",3,"click"],["src","/assets/svg/m\xe9decine-g\xe9n\xe9raliste.svg",1,"form-icon"],[1,"form-item-label"],["src","/assets/svg/chevron-droite.svg",1,"chevron"],[1,"agence","fixed"],[1,"separator"],["fill","clear","class","contact-button",3,"click",4,"ngIf"]],template:function(t,i){1&t&&(e.TgZ(0,"ion-content",0,1)(2,"div",2),e._UZ(3,"app-ui-state",3),e.YNc(4,V,7,4,"div",4),e.YNc(5,ue,15,18,"div",5),e.qZA(),e.YNc(6,pe,3,2,"ion-button",6),e.YNc(7,_e,4,0,"div",7),e.YNc(8,ye,4,3,"ng-container",8),e.qZA()),2&t&&(e.ekj("plt-desktop",i.isDesktop),e.Q6J("fullscreen",!0),e.xp6(3),e.Q6J("state",i.state)("httpError",i.httpError)("handleEmpty",!1)("retry",i.initContactPage.bind(i)),e.xp6(1),e.Q6J("ngIf",i.state===i.State.Loaded&&i.userAgency&&i.nearestAgency&&i.env.options.contact.userAgency.showTab),e.xp6(1),e.Q6J("ngIf",i.state===i.State.Loaded&&i.getAgency()),e.xp6(1),e.Q6J("ngIf",i.state===i.State.Loaded&&null!==i.env.contactBtnLabelYAller&&!e.VKq(12,T,i.mutuelle.MUTCOM).includes(i.env.mutuelleCode)),e.xp6(1),e.Q6J("ngIf",i.state===i.State.Loaded&&!e.VKq(14,T,i.mutuelle.MUTCOM).includes(i.env.mutuelleCode)),e.xp6(1),e.Q6J("ngIf",e.VKq(16,T,i.mutuelle.MUTCOM).includes(i.env.mutuelleCode)))},dependencies:[_.sg,_.O5,d.JJ,d.On,l.YG,l.PM,l.W2,l.gu,l.Ie,l.Q$,l.q_,l.H$,l.t9,l.n0,l.QI,F.R,z._],styles:["#map[_ngcontent-%COMP%]{height:100%!important;width:100%;margin:0!important}#map[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:12px!important}.content-scroller[_ngcontent-%COMP%]{justify-content:initial;height:auto}.agence[_ngcontent-%COMP%]{padding:18px 25px}.agence.fixed[_ngcontent-%COMP%]{position:fixed;bottom:0}.agence[_ngcontent-%COMP%]   ion-card[_ngcontent-%COMP%]{padding:20px;box-shadow:0 4px 8px rgba(0,0,0,.1),0 -1px 3px rgba(0,0,0,.1) inset;margin:10px;
1transition:box-shadow .3s ease-in-out}.separator[_ngcontent-%COMP%]{margin:20px 0;height:1px;background:var(--ion-color-dark)}.agence-name[_ngcontent-%COMP%]{color:var(--ion-color-primary-shade);font-weight:600;font-size:20px;margin-bottom:5px}.agence-horaires[_ngcontent-%COMP%]{display:flex;align-items:center}.agence-horaires[_ngcontent-%COMP%]   .agence-title[_ngcontent-%COMP%]{color:var(--ion-color-dark);font-size:14px;font-weight:600}.agence-horaires[_ngcontent-%COMP%]   .agence-horaire[_ngcontent-%COMP%]{color:var(--ion-color-grey);font-size:13px;white-space:pre-line}.agence-address[_ngcontent-%COMP%]{color:var(--ion-color-primary-shade);font-size:14px}.agence-contact-title[_ngcontent-%COMP%]{color:var(--ion-color-secondary);font-weight:600;font-size:14px;display:flex;align-items:center;margin:5px 0;text-transform:lowercase}.agence-contact-title[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{color:var(--ion-color-secondary)}.contact-button[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;margin-left:-10px}.icon[_ngcontent-%COMP%]{color:var(--ion-color-grey);font-size:18px;margin-right:10px}.btn-carte[_ngcontent-%COMP%]{position:absolute;z-index:2;--background: var(--ion-color-secondary);--border-radius: 10px;--padding-end: 5px;font-weight:400;color:#fff}.btn-carte[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{color:var(--ion-color-white);padding-left:10px}.block-carte[_ngcontent-%COMP%]{height:75vh}.plt-desktop[_ngcontent-%COMP%]   .btn-carte[_ngcontent-%COMP%]{display:none}.plt-desktop[_ngcontent-%COMP%]   .block-carte[_ngcontent-%COMP%]{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%}.plt-desktop[_ngcontent-%COMP%]   .content-scroller[_ngcontent-%COMP%]{position:absolute;z-index:2;top:20px;left:20px;width:400px;overflow:hidden;box-shadow:var(--ion-card-shadow);border-radius:4px;background:var(--ion-card-background-translucent);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}@supports not ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))){.plt-desktop[_ngcontent-%COMP%]   .content-scroller[_ngcontent-%COMP%]{background:var(--ion-card-background-translucent-opaque)}}.greenNumberSpace[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.greenNumber[_ngcontent-%COMP%]{font-family:sans-serif;display:inline-block;font-weight:700}.greenNumber[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{color:#fff;background:green;padding:6px;margin:0;border:1px solid green;-webkit-border-top-right-radius:.5em;-webkit-border-bottom-right-radius:.5em;-moz-border-radius-topright:.5em;-moz-border-radius-bottomright:.5em;border-top-right-radius:.5em;border-bottom-right-radius:.5em}.greenNumber[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:green;padding:6px;margin:0;border:1px solid green;-webkit-border-top-left-radius:.5em;-webkit-border-bottom-left-radius:.5em;-moz-border-radius-topleft:.5em;-moz-border-radius-bottomleft:.5em;border-top-left-radius:.5em;border-bottom-left-radius:.5em}.contact-buttons[_ngcontent-%COMP%]{margin:auto}.contact-buttons-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin-bottom:10px}.contact-buttons-container[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{padding:4px;height:50px;outline:none}.contact-buttons-container[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:nth-child(1){margin-right:10px}.contact-buttons-container[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:nth-child(2){margin-left:10px}"]}),n})()}];let Ze=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[m.Bz.forChild(Te),m.Bz]}),n})(),Oe=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[_.ez,d.u5,l.Pc,Ze,A.K]}),n})()},87859:(Z,C,s)=>{s.d(C,{A:()=>_});const _=(d,l=5e3,A=150)=>new Promise((m,g)=>{const e=Date.now(),r=()=>{d()?m():Date.now()-e>l?g():setTimeout(r,A)};r()})},42504:(Z,C,s)=>{s.d(C,{b:()=>m});var _=s(97582),d=s(72096),l=s(4881);let A=(()=>{class g{constructor(){this.progress=0,this.indeterminate=!1}ngOnInit(){this.onProgressInit(this)}setProgress(r){this.progress=r}setIndeterminate(r){this.indeterminate=r}}return g.\u0275fac=function(r){return new(r||g)},g.\u0275cmp=d.Xpm({type:g,selectors:[["app-progress-popover"]],inputs:{text:"text",onProgressInit:"onProgressInit"},decls:4,vars:3,consts:[[1,"py-3","px-4","bg-white"],[1,"mt-1","font-weight-500"],[1,"mb-1",3,"value","type"]],template:function(r,c){1&r&&(d.TgZ(0,"div",0)(1,"p",1),d._uU(2),d.qZA(),d._UZ(3,"ion-progress-bar",2),d.qZA()),2&r&&(d.xp6(2),d.Oqu(c.text),d.xp6(1),d.Q6J("value",c.progress)("type",c.indeterminate?"indeterminate":"determinate"))},dependencies:[l.X7],encapsulation:2}),g})(),m=(()=>{class g{constructor(r,c){this.loadingController=r,this.popoverController=c,this.isLoading=!1,this.loadingPopover=null,this.loadingPopoverProgress=null,this.BaseDuration=5e3}loadingPresent(r="Chargement en cours"){return(0,_.mG)(this,void 0,void 0,function*(){return this.isLoading=!0,yield this.loadingController.create({duration:this.BaseDuration,message:r}).then(c=>{c.present().then(()=>{this.isLoading||c.dismiss().then(()=>{})})})})}loadingDismiss(){return(0,_.mG)(this,void 0,void 0,function*(){return this.isLoading=!1,yield this.loadingController.dismiss().then(()=>{})})}setLoadingPopoverProgress(r){const c=this.loadingPopoverProgress;c?c.setProgress(r):console.log("Could not set progress, component is null")}setLoadingPopoverIsIndeterminate(r){const c=this.loadingPopoverProgress;c?c.setIndeterminate(r):console.log("Could not set progress, component is null")}presentLoadingPopover(r){return(0,_.mG)(this,void 0,void 0,function*(){return this.loadingPopover=yield this.popoverController.create({component:A,componentProps:{text:r,onProgressInit:c=>this.loadingPopoverProgress=c},translucent:!0,backdropDismiss:!1,showBackdrop:!0}),yield this.loadingPopover.present()})}hideLoadingPopover(){null!==this.loadingPopover&&this.loadingPopover.dismiss().then(()=>{this.loadingPopover=null,this.loadingPopoverProgress=null}).catch(()=>{})}}return g.\u0275fac=function(r){return new(r||g)(d.LFG(l.HT),d.LFG(l.Dh))},g.\u0275prov=d.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()}}]);

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.