PageSourceSearch

https://st-gedeon.qc.ca/7754.0e78445ae2dd4524.js

js st-gedeon.qc.ca collected 2026-10-02 13:16:10 UTC 17,682 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpc=self.webpackChunkpc||[]).push([[7754],{77754:(D,I,o)=>{o.r(I),o.d(I,{BoutiqueComponent:()=>X});var E=o(49823),g=o(89417),T=o(49484),f=o(84572),t=o(54438),m=o(64075),n=o(88141),x=o(5964),P=o(25558),A=o(98377),$=o(78568),e=o(51188),i=o(10916),r=o(9310),p=o(89079),C=o(88834),b=o(60177),S=o(81405),L=o(88974),B=o(75824),U=o(84529);const u=(c,h)=>h.value.id,v=c=>({"filter-searche-global-active":c});function O(c,h){if(1&c&&t.nrm(0,"vplus-loading-spinner",5),2&c){const a=t.XpG();t.Y8G("loadingFailed",a.dataLoadingFailed)}}function N(c,h){1&c&&(t.j41(0,"div",11)(1,"p",12),t.pXf(2,1),t.k0s(),t.j41(3,"p",13),t.pXf(4,2),t.k0s(),t.j41(5,"a",14),t.pXf(6,3),t.k0s()()),2&c&&(t.R7$(5),t.Y8G("color","primary"))}function k(c,h){if(1&c){const a=t.RV6();t.j41(0,"button",22),t.bIt("click",function(){t.eBV(a);const l=t.XpG().$implicit,_=t.XpG(3);return t.Njj(_.increaseQte(l))}),t.pXf(1,4),t.k0s()}}function y(c,h){if(1&c){const a=t.RV6();t.j41(0,"div",23)(1,"div",24)(2,"button",25),t.bIt("click",function(){t.eBV(a);const l=t.XpG().$implicit,_=t.XpG(3);return t.Njj(_.decreaseQte(l))}),t.nrm(3,"i",26),t.k0s(),t.j41(4,"input",27),t.bIt("blur",function(){t.eBV(a);const l=t.XpG().$implicit,_=t.XpG(3);return t.Njj(_.onBlurQte(l))}),t.k0s(),t.j41(5,"button",25),t.bIt("click",function(){t.eBV(a);const l=t.XpG().$implicit,_=t.XpG(3);return t.Njj(_.increaseQte(l))}),t.nrm(6,"i",28),t.k0s()(),t.j41(7,"button",29),t.bIt("click",function(){t.eBV(a);const l=t.XpG().$implicit,_=t.XpG(3);return t.Njj(_.retirer(l))}),t.nrm(8,"i",30),t.k0s()()}}function j(c,h){if(1&c&&(t.j41(0,"div",16)(1,"div",17),t.nrm(2,"img",18),t.k0s(),t.j41(3,"div",19),t.EFF(4),t.k0s(),t.j41(5,"div",20),t.EFF(6),t.nI1(7,"vplusCurrency"),t.k0s(),t.DNE(8,k,2,0,"button",21)(9,y,9,0),t.k0s()),2&c){const a=h.$implicit,s=t.XpG(3);t.Y8G("formGroup",a),t.R7$(2),t.Y8G("src",null!=a.value&&null!=a.value.image&&a.value.image.url?a.value.image.url:"assets/img/article-sport-artwork.svg",t.B4B)("alt",a.value.nom),t.R7$(2),t.JRh(a.value.nom),t.R7$(2),t.JRh(t.i5U(7,6,a.value.prix,s.localisation)),t.R7$(2),t.vxM(8,0==+a.get("qte").value?8:9)}}function W(c,h){if(1&c&&(t.j41(0,"div",15),t.Z7z(1,j,10,9,"div",16,u),t.k0s()),2&c){const a=t.XpG(2);t.R7$(),t.Dyx(a.articlesFA.controls)}}function Q(c,h){if(1&c&&(t.j41(0,"div",8)(1,"div",9)(2,"h1",10),t.pXf(3,0),t.k0s(),t.DNE(4,N,7,1,"div",11)(5,W,3,0),t.k0s()()),2&c){const a=t.XpG();t.R7$(4),t.vxM(4,0===a.articlesFA.controls.length?4:5)}}let X=(()=>{var c;class h{constructor(){this.fb=(0,t.WQX)(g.ok),this.activiteService=(0,t.WQX)(T.Z),this.localisationService=(0,t.WQX)(A.A),this.store=(0,t.WQX)(r.il),this.destroyRef=(0,t.WQX)(t.abz),this.panierService=(0,t.WQX)($.T),this.localisation=this.localisationService.getCurrentLocalisation(),this.articlesFA=this.fb.array([]),this.selectIsSearchHeaderVisible$=this.store.select(E.selectIsSearchHeaderVisible),this.dataLoaded=!1,this.dataLoadingFailed=!1}ngOnInit(){this.store.select(E.selectCurrentUser).pipe((0,n.M)(s=>this.user=s),(0,x.p)(s=>!(null!=s&&s.perId)),(0,P.n)(()=>this.panierService.chargerPanier(null)),(0,p.pQ)(this.destroyRef)).subscribe(),(0,f.z)([this.activiteService.getArticleList(),this.panierService.panier$]).pipe((0,p.pQ)(this.destroyRef)).subscribe(([s,l])=>{const _=s.filter(d=>d.isActif&&d.isPublic).map(d=>{var M,R;const F=null!==(M=null===(R=l.find(V=>V.article.id===d.id))||void 0===R?void 0:R.quantite)&&void 0!==M?M:0;return this.fb.group({id:[d.id],nom:[d.nom],prix:[d.prix],image:[d.image],qte:[F]})});this.articlesFA=this.fb.array(_),this.dataLoaded=!0},()=>{this.dataLoadingFailed=!0})}increaseQte(s){(0,m.fKT)(s),this.synchroniserPanier(s)}decreaseQte(s){(0,m.XOW)(s),this.synchroniserPanier(s)}onBlurQte(s){(0,m.T6x)(s),this.synchroniserPanier(s)}retirer(s){var l;const _=s.get("id").value;this.panierService.retirerArticle(null===(l=this.user)||void 0===l?void 0:l.perId,_).subscribe()}synchroniserPanier(s){var l;const _=s.get("id").value,d=Number(s.get("qte").value);this.panierService.modifierQuantite(null===(l=this.user)||void 0===l?void 0:l.perId,_,d).subscribe()}onContentClick(){this.store.dispatch(E.Actions.setIsSearchHeaderVisible({payload:!1}))}}return(c=h).\u0275fac=function(s){return new(s||c)},c.\u0275cmp=t.VBU({type:c,selectors:[["vplus-boutique"]],standalone:!0,features:[t.Jv_([T.Z]),t.aNF],decls:5,vars:10,consts:()=>{let a,s,l,_,d;return a="Boutique",s="Aucun article n'est disponible pour le moment.",l=" Nous mettons r\xE9guli\xE8rement notre catalogue \xE0 jour. Revenez bient\xF4t pour d\xE9couvrir nos nouveaut\xE9s. ",_="Retour \xE0 l'accueil",d=" Ajouter au panier ",[a,s,l,_,d,[3,"loadingFailed"],[1,"hide-desktop","mobile-header",3,"headerTitle","returnButtonType","menuId"],["id","boutique",3,"click","ngClass"],[1,"main-page-container"],[1,"boutique-page"],[1,"boutique-page-titre","newsfeed-header"],[1,"boutique-vide"],[1,"boutique-vide-titre"],[1,"boutique-vide-texte"],["routerLink","/accueil","mat-raised-button","",1,"custom-button-standard",3,"color"],[1,"boutique-grille"],[1,"article-carte",3,"formGroup"],[1,"article-carte-image"],[3,"src","alt"],[1,"article-carte-nom"],[1,"article-carte-prix"],["type","button",1,"btn-ajouter"],["type","button",1,"btn-ajouter",3,"click"],[1,"compteur"],[1,"qte-stepper"],["type","button",3,"click"],[1,"icon-delete"],["type","number","formControlName","qte","readonly","",3,"blur"],[1,"icon-add"],["type","button","aria-label","Retirer du panier",1,"compteur-retirer",3,"click"],[1,"icon-poubelle"]]},template:function(s,l){1&s&&(t.DNE(0,O,1,1,"vplus-loading-spinner",5),t.nrm(1,"vplus-mobile-header",6),t.j41(2,"ion-content",7),t.nI1(3,"async"),t.bIt("click",function(){return l.onContentClick()}),t.DNE(4,Q,6,1,"div",8),t.k0s()),2&s&&(t.vxM(0,l.dataLoaded?-1:0),t.R7$(),t.Y8G("headerTitle","")("returnButtonType","home-button")("menuId","boutique"),t.R7$(),t.Y8G("ngClass",t.eq3(8,v,t.bMT(3,6,l.selectIsSearchHeaderVisible$))),t.R7$(2),t.vxM(4,l.dataLoaded?4:-1))},dependencies:[g.X1,g.me,g.Q0,g.BC,g.cb,g.j4,g.JD,e.iI,e.Wk,i.G,C.It,b.YU,S.f,L.W9,L.oY,B.N,b.Jj,U.a],styles:['.boutique-page[_ngcontent-%COMP%]{width:100%;max-width:1200px;margin:0 auto;padding:32px 24px 64px}.boutique-page-titre[_ngcontent-%COMP%]{font-size:32px;font-weight:600}a.custom-button-standard.custom-button-standard.custom-button-standard[_ngcontent-%COMP%]{display:inline-flex!important;max-width:-moz-fit-content!important;max-width:fit-content!important}.boutique-grille[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:32px 28px}.boutique-vide[_ngcontent-%COMP%]{text-align:center;padding:64px 24px;max-width:480px;margin:0 auto}.boutique-vide-titre[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:#111827;margin-bottom:8px}.boutique-vide-texte[_ngcontent-%COMP%]{font-size:14px;color:#6b7280;margin-bottom:24px}.boutique-vide[_ngcontent-%COMP%]   .btn-ajouter[_ngcontent-%COMP%]{width:auto;padding:12px 28px}
1.article-carte[_ngcontent-%COMP%]{display:flex;flex-direction:column}.article-carte-image[_ngcontent-%COMP%]{width:100%;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#f3f4f6;margin-bottom:14px;display:flex;align-items:center;justify-content:center}.article-carte-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.article-carte-nom[_ngcontent-%COMP%]{font-size:16px;font-weight:600;margin-bottom:4px}.article-carte-prix[_ngcontent-%COMP%]{font-size:15px;margin-bottom:14px}.btn-ajouter[_ngcontent-%COMP%]{background:var(--primary-color);color:#fff;border:none;border-radius:999px;padding:12px 0;font-size:14px;font-weight:600;cursor:pointer;width:100%}.btn-ajouter[_ngcontent-%COMP%]:hover{filter:brightness(.92)}.btn-ajouter[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.compteur[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.compteur-retirer[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:999px;background:var(--primary-color);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;color:#fff;font-size:15px}.compteur-retirer[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.qte-stepper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--primary-color);border-radius:999px;padding:8px 16px;flex:1}.qte-stepper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:none;border:none;color:var(--primary-color);cursor:pointer;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0}.qte-stepper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{color:#6b7280;cursor:not-allowed}.qte-stepper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.qte-stepper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:32px;border:none;text-align:center;font-size:14px;font-weight:600;background:transparent;-moz-appearance:textfield}.qte-stepper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .qte-stepper[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}@media (max-width: 599px){.boutique-page[_ngcontent-%COMP%]{padding:20px 16px 48px}.boutique-page-titre[_ngcontent-%COMP%]{font-size:22px;margin-bottom:16px}.boutique-grille[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0}.article-carte[_ngcontent-%COMP%]{display:grid;grid-template-columns:107px 1fr;grid-template-areas:"image nom" "image prix" "image action";-moz-column-gap:16px;column-gap:16px;row-gap:2px;align-items:start;padding:20px 0;border-bottom:1px solid #e5e7eb}.article-carte[_ngcontent-%COMP%]:first-child{padding-top:0}.article-carte-image[_ngcontent-%COMP%]{grid-area:image;width:107px;height:80px;aspect-ratio:unset;border-radius:12px;margin-bottom:0;align-self:center}.article-carte-nom[_ngcontent-%COMP%]{grid-area:nom;font-size:15px;margin-bottom:0;align-self:end}.article-carte-prix[_ngcontent-%COMP%]{grid-area:prix;font-size:14px;margin-bottom:8px;align-self:start}.btn-ajouter[_ngcontent-%COMP%]{grid-area:action;width:auto;padding:10px 24px}.compteur[_ngcontent-%COMP%]{grid-area:action}.qte-stepper[_ngcontent-%COMP%]{flex:0 0 auto;padding:6px 14px}}']}),h})()},49276:(D,I,o)=>{o.d(I,{JP:()=>P,YS:()=>S,_6:()=>C,_z:()=>n,be:()=>m});var E=o(97586),g=o.n(E),T=o(92995),f=o(64075);class t{assignValues(v){Object.assign(this,v)}}class m extends t{assignValues(v){super.assignValues(v),this.nomLong=`${this.nom} (${g()(this.dateDebut).format("DD/MM/YY")} au ${g()(this.dateFin).format("DD/MM/YY")})`}}class n extends t{}class x extends t{get sitesNom(){return this.sites.map(v=>v.nom).join(", ")}format(){this.sites=this.sites.map(v=>{const O=new n;return O.assignValues(v),O})}}class P extends t{format(){this.inscriptions=this.inscriptions.map(v=>{const O=new x;return O.assignValues(v),O.format(),O})}}class C{constructor(){this.id=(0,f.SiN)(),this.eveTypId=T.dD.Reservation,this.eveActId=(0,f.SiN)(),this.participants=[],this.factures=[],this.activiteLocalisations=[]}}class S{}},49484:(D,I,o)=>{o.d(I,{Z:()=>x});
1var E=o(49276),T=(o(53387),o(72609)),f=o(54438),t=o(98377),m=o(96354);const n="/activite";let x=(()=>{var P;class A{constructor(){this.backend=(0,f.WQX)(T.m3),this.localisationService=(0,f.WQX)(t.A)}getProgrammationEnligneList(e=null){return this.backend.get(`${n}/pc/programmations-enligne?progId=${e}&localisation=${this.localisationService.getCurrentLocalisation()}`).pipe((0,m.T)(i=>i.map(p=>{const C=new E.JP;return C.assignValues(p),C.format(),C})))}getInscriptionEnligneList(e){return this.backend.get(`${n}/pc/inscriptions-enligne?progId=${e}&localisation=${this.localisationService.getCurrentLocalisation()}`).pipe((0,m.T)(i=>({periodes:i.periodes.map(C=>{const b=new E.be;return b.assignValues(C),b}),sites:i.sites.map(C=>{const b=new E._z;return b.assignValues(C),b})})))}getSiteList(){return this.backend.get(`${n}/pc/sites`).pipe((0,m.T)(e=>e.map(r=>{const p=new E._z;return p.assignValues(r),p})))}getAdhesion(e){return this.backend.get(`${n}/pc/adhesion?localisation=${this.localisationService.getCurrentLocalisation()}`,{id:e,isFromPcOrAchatTdb:!0})}checkDisponibiliteAdhesionMembre(e,i,r){return this.backend.put(`${n}/pc/disponibilite-adhesion-membre`,{adhId:e,perId:i,perCourriel:r})}checkDisponibiliteEntree(e,i,r){return this.backend.put(`${n}/pc/disponibilite-entree`,{eveActId:e,perId:i,perCourriel:r})}getLimiteAndNbrAdhesion(e){return this.backend.get(`${n}/pc/adhesion-check-limite?adhId=${e}`)}createAdhesionMembreCheckout(e,i){return this.backend.put(`${n}/pc/adhesion-membre-checkout`,{adhesionMembre:e,payment:i,localisation:this.localisationService.getCurrentLocalisation()})}insertAdhesionMmembreList(e){return this.backend.put(`${n}/pc/adhesion-membres`,e)}getActiviteReservationList(){return this.backend.get(`${n}/pc/activites-reservation?isFromPC=true`)}getActiviteReservation(e){return this.backend.get(`${n}/pc/activite-reservation?id=${e}&localisation=${this.localisationService.getCurrentLocalisation()}`)}getNomLocalise(e){var i;return null==e||null===(i=e.localisations)||void 0===i||null===(i=i.find(r=>r.lclzTag===this.localisationService.getCurrentLocalisation()))||void 0===i?void 0:i.nom}loadActiviteReservation(e){return this.getActiviteReservation(e).pipe((0,m.T)(i=>(i.nom=this.getNomLocalise(i),i)))}loadActiviteEntree(e){return this.loadActiviteInscription(e,"inscriptionEntree")}loadActiviteSession(e){return this.loadActiviteInscription(e,"inscriptionSession")}loadActiviteInscription(e,i){return this.getActivite(e).pipe((0,m.T)(r=>{const p=null==r?void 0:r[i];return p&&(p.inscNom=this.getNomLocalise(p)),r}))}getActivitePcRouteBySlug(e){return this.backend.get(`${n}/pc/activite-route-by-slug?slug=${encodeURIComponent(e)}&localisation=${this.localisationService.getCurrentLocalisation()}`)}getActivite(e){return this.backend.get(`${n}/pc/activite?localisation=${this.localisationService.getCurrentLocalisation()}`,{id:e,isIndisponibilite:!1,isFromPcOrAchatTdb:!0})}createEvenementEnregistrementCheckout(e,i){return this.backend.put(`${n}/pc/evenement-enregistrement-checkout`,{evenementEnregistrement:e,payment:i,localisation:this.localisationService.getCurrentLocalisation()})}insertEvenementEnregistrementList(e){return this.backend.put(`${n}/pc/evenement-enregistrements`,e)}getPlageListActiviteEntree(e){return this.backend.get(`${n}/pc/activite-entree-plages?actId=${e}`)}getCapaciteAndNbrParticipants(e){return this.backend.get(`${n}/pc/activite-capacite-nbr-participants?eveActId=${e}`)}createSessionEnregistrementCheckout(e,i){return this.backend.put(`${n}/pc/session-enregistrement-checkout`,{sessionEnregistrement:e,payment:i,localisation:this.localisationService.getCurrentLocalisation()})}payInstallment(e){return this.backend.post(`${n}/pc/facture/installment`,{payment:e})}insertSessionEnregistrementList(e){return this.backend.put(`${n}/pc/session-enregistrements`,e)}getCapaciteAndNbrParticipantsSession(e,i){return this.backend.get(`${n}/pc/session-capacite-nbr-participants`,{sesId:e,sesHoldGroupeId:i})}getCapaciteAndNbrParticipantsSessionMulti(e,i,r=!0){return this.backend.get(`${n}/pc/session-multi-capacite-nbr-participants`,{sesConfigId:e,sesHoldGroupeId:i,isFromPC:r})}getSessionsInscrites(e=[]){return this.backend.get(`${n}/pc/sessions-inscrites`,{perIds:e})}getParticipant(e,i=null,r=null,p=null){return this.backend.get(`${n}/pc/participant`,{perId:e,catId:i,eveHeureDebut:r,eveHeureFin:p})}checkDisponibiliteSession(e,i,r){return this.backend.put(`${n}/pc/disponibilite-session`,{sesId:e,perId:i,perCourriel:r})}getEvenements(e,i){return this.backend.get(`${n}/pc/evenements-plage?startDate=${e}&endDate=${i}`).pipe((0,m.T)(r=>r.evenements))}checkDisponibiliteReservation(e){const i=encodeURIComponent(JSON.stringify(e));return this.backend.get(`${n}/pc/disponibilite-reservation?evenement=${i}`)}createReservationEnregistrementCheckout(e,i){return this.backend.put(`${n}/pc/reservation-enregistrement-checkout`,{reservationEnregistrement:e,payment:i,localisation:this.localisationService.getCurrentLocalisation()})}upsertReservation(e,i){return this.backend.put(`${n}/pc/reservation`,{reservation:e,timezone:i})}getParticipantActivites(e){return this.backend.get(`${n}/pc/participant-activites?perId=${e}&localisation=${this.localisationService.getCurrentLocalisation()}`)}cancelEvenement(e){return this.backend.delete(`${n}/pc/reservation?id=${e}`)}deleteSessionEnregistrement(e){return this.backend.delete(`${n}/pc/session-enregistrement?id=${e}`)}getParticipantsSessionEnregistrementInscritByFamId(e,i,r){return this.backend.get(`${n}/pc/participants-session-enregistrement-inscrit-famille?famId=${e}&actId=${i}&ftbId=${r}`)}getParticipantsEvenementEnregistrementInscritByFamId(e,i,r){return this.backend.get(`${n}/pc/participants-evenement-enregistrement-inscrit-famille?famId=${e}&actId=${i}&ftbId=${r}`)}getParticipantsAdhesionInscritByFamId(e,i,r){return this.backend.get(`${n}/pc/participants-adhesion-inscrit-famille?famId=${e}&adhId=${i}&ftbId=${r}`)}createSessionHold(e){return this.backend.put(`${n}/pc/session-hold`,e)}releaseSessionHold(e){return this.backend.delete(`${n}/pc/session-hold/${e}`)}getEnregistrementRenseigSuppPC(e){return this.backend.get(`${n}/pc/enregistrement-renseignement-sup`,e)}updateRegistrationRenseigSupp(e){return this.backend.put(`${n}/pc/enregistrement-renseignement-sup`,e)}getArticleList(){return this.backend.get(`${n}/pc/articles`)}}return(P=A).\u0275fac=function(e){return new(e||P)},P.\u0275prov=f.jDH({token:P,factory:P.\u0275fac}),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.