HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/www/7923.82a75615208416da.js
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7923,1337],{81337:(C,f,l)=>{l.d(f,{O:()=>e});var a=l(2978),_=l(56610),g=l(77897);function r(d,v){if(1&d&&a.nrm(0,"img",5),2&d){const m=a.XpG();a.FS9("src",m.emptySettingsSlide.urlImage,a.B4B)}}function u(d,v){if(1&d&&(a.j41(0,"p"),a.EFF(1),a.k0s()),2&d){const m=a.XpG();a.R7$(1),a.SpI(" ",m.emptySettingsSlide.text," ")}}let e=(()=>{class d{constructor(){this.emptySettingsSlide=[],this.slideOpts={allowSlidePrev:!1,allowSlideNext:!1,initialSlide:1,speed:400}}ngOnInit(){}static#e=this.\u0275fac=function(x){return new(x||d)};static#n=this.\u0275cmp=a.VBU({type:d,selectors:[["app-empty-component"]],inputs:{emptySettingsSlide:"emptySettingsSlide"},decls:6,vars:3,consts:[["pager","false",3,"options"],[1,"slide_center"],[1,"slide"],["alt","image_camponent",3,"src",4,"ngIf"],[4,"ngIf"],["alt","image_camponent",3,"src"]],template:function(x,E){1&x&&(a.j41(0,"ion-slides",0)(1,"ion-slide",1)(2,"div",2),a.DNE(3,r,1,1,"img",3),a.j41(4,"ion-label"),a.DNE(5,u,2,1,"p",4),a.k0s()()()()),2&x&&(a.Y8G("options",E.slideOpts),a.R7$(3),a.Y8G("ngIf",E.emptySettingsSlide.showImage),a.R7$(2),a.Y8G("ngIf",E.emptySettingsSlide.showText))},dependencies:[_.bT,g.he,g.q3,g.tR],styles:["ion-slides[_ngcontent-%COMP%]{height:100%}.swiper-slide[_ngcontent-%COMP%]{display:block}.swiper-slide[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-top:2.8rem}.swiper-slide[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:50%;max-width:40%;margin:60px 0 40px;pointer-events:none}b[_ngcontent-%COMP%]{font-weight:500}p[_ngcontent-%COMP%]{padding:0 40px;font-size:14px;line-height:1.5;color:var(--ion-color-step-600, #60646b)}p[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{color:var(--ion-text-color, #000000)}.slide_center[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"]})}return d})()},67923:(C,f,l)=>{l.r(f),l.d(f,{ExperienceDetailPageModule:()=>z});var a=l(56610),_=l(37222),g=l(22882),r=l(77897),u=l(36075),e=l(2978),d=l(73793),v=l(54171),m=l(7125),x=l(46898),E=l(1519),R=l(29885),P=l(69942),I=l(81337),$=l(60822);const D=["content"];function y(t,s){if(1&t&&e.nrm(0,"app-empty-component",5),2&t){const n=e.XpG();e.Y8G("emptySettingsSlide",n.emptySettingsSlide)}}function S(t,s){if(1&t&&(e.j41(0,"ion-item",18),e.nrm(1,"ion-radio",19),e.j41(2,"ion-label",20),e.EFF(3),e.nI1(4,"formatCurrency"),e.k0s()()),2&t){const n=s.$implicit,i=e.XpG(3);e.R7$(1),e.Y8G("value",n),e.R7$(2),e.JRh(e.i5U(4,2,n.price,i.currency))}}function T(t,s){if(1&t){const n=e.RV6();e.j41(0,"ion-card")(1,"ion-card-header")(2,"ion-card-title"),e.EFF(3),e.k0s()(),e.j41(4,"ion-card-content",11)(5,"div",12),e.EFF(6),e.k0s(),e.j41(7,"ion-radio-group",13),e.bIt("ionChange",function(o){const p=e.eBV(n).$implicit,h=e.XpG(2);return e.Njj(h.handleChange(o,p))}),e.DNE(8,S,5,5,"ion-item",14),e.k0s(),e.j41(9,"ion-item",15)(10,"p",16)(11,"ion-button",17),e.bIt("click",function(){const c=e.eBV(n).$implicit,p=e.XpG(2);return e.Njj(p.goToEnrollExperience(p.type,c.enroll))}),e.EFF(12),e.nI1(13,"translate"),e.k0s()()()()()}if(2&t){const n=s.$implicit,i=e.XpG(2);e.R7$(3),e.JRh(n.name),e.R7$(3),e.JRh(n.description),e.R7$(1),e.Y8G("allowEmptySelection",!0)("formControl",i.radioControl),e.R7$(1),e.Y8G("ngForOf",n.prices),e.R7$(3),e.Y8G("disabled",!n.enroll),e.R7$(1),e.JRh(e.bMT(13,7,"EXPERIENCE.DETAIL.ENROLL"))}}function F(t,s){if(1&t){const n=e.RV6();e.j41(0,"div",6)(1,"ion-content",null,7)(3,"ion-refresher",8),e.bIt("ionRefresh",function(o){e.eBV(n);const c=e.XpG();return e.Njj(c.doRefresh(o))}),e.nrm(4,"ion-refresher-content",9),e.k0s(),e.DNE(5,T,14,9,"ion-card",10),e.k0s()()}if(2&t){const n=e.XpG();e.R7$(5),e.Y8G("ngForOf",n.experience.plans)}}function G(t,s){1&t&&(e.j41(0,"ion-segment-button",27)(1,"ion-label"),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&t&&(e.R7$(2),e.JRh(e.bMT(3,1,"EXPERIENCE.DETAIL.PLANS")))}function M(t,s){1&t&&(e.j41(0,"ion-segment-button",28)(1,"ion-label"),e.EFF(2),e.nI1(3,"translate"),e.k0s()()),2&t&&(e.R7$(2),e.JRh(e.bMT(3,1,"EXPERIENCE.DETAIL.ACADEMY_PLANS")))}function j(t,s){if(1&t&&(e.j41(0,"div",32)(1,"p")(2,"b"),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"p"),e.EFF(6),e.k0s()()),2&t){const n=e.XpG(3);e.R7$(3),e.JRh(e.bMT(4,2,"EXPERIENCE.DETAIL.APPLY_TO")),e.R7$(3),e.JRh(n.experience.apply_to)}}function O(t,s){if(1&t&&(e.j41(0,"div",32)(1,"p")(2,"b"),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.j41(5,"p"),e.EFF(6),e.k0s()()),2&t){const n=e.XpG(3);e.R7$(3),e.JRh(e.bMT(4,2,"EXPERIENCE.DETAIL.INCLUDES")),e.R7$(3),e.JRh(n.experience.includes)}}function b(t,s){if(1&t&&(e.j41(0,"div",32)(1,"p")(2,"b"),e.EFF(3),e.nI1(4,"translate"),e.k0s()(),e.nrm(5,"p",29),e.k0s()),2&t){const n=e.XpG(3);e.R7$(3),e.JRh(e.bMT(4,2,"EXPERIENCE.DETAIL.WHEN")),e.R7$(2),e.Y8G("innerHTML",n.experience.when,e.npT)}}function N(t,s){if(1&t&&(e.j41(0,"div")(1,"ion-card")(2,"ion-card-header")(3,"ion-card-title"),e.EFF(4),e.nI1(5,"translate"),e.k0s(),e.nrm(6,"p",29),e.k0s(),e.nrm(7,"p",30),e.j41(8,"ion-card-content"),e.DNE(9,j,7,4,"div",31),e.DNE(10,O,7,4,"div",31),e.DNE(11,b,6,4,"div",31),e.k0s()()()),2&t){const n=e.XpG(2);e.R7$(4),e.Lme(" ",e.bMT(5,6,"EXPERIENCE.DETAIL.ABOUT_OUR")," ",n.experience.name," "),e.R7$(2),e.Y8G("innerHTML",n.experience.description,e.npT),e.R7$(3),e.Y8G("ngIf",n.experience.apply_to),e.R7$(1),e.Y8G("ngIf",n.experience.includes),e.R7$(1),e.Y8G("ngIf",n.experience.when)}}function X(t,s){if(1&t&&(e.j41(0,"ion-accordion",33)(1,"ion-item",18),e.nrm(2,"ion-radio",19),e.j41(3,"ion-label",20),e.EFF(4),e.nI1(5,"formatCurrency"),e.k0s()(),e.j41(6,"div",38),e.EFF(7),e.k0s()()),2&t){const n=s.$implicit,i=e.XpG(4);e.FS9("value",n.id),e.R7$(2),e.Y8G("value",n),e.R7$(2),e.JRh(e.i5U(5,4,n.price,i.currency)),e.R7$(3),e.JRh(n.description)}}function Y(t,s){if(1&t){const n=e.RV6();e.j41(0,"ion-card")(1,"ion-accordion-group")(2,"ion-accordion",33)(3,"ion-item",34)(4,"ion-card-title"),e.EFF(5),e.k0s()(),e.j41(6,"div",35)(7,"ion-card-content",11)(8,"ion-accordion-group",36)(9,"ion-radio-group",13),e.bIt("ionChange",function(o){const p=e.eBV(n).$implicit,h=e.XpG(3);return e.Njj(h.handleChange(o,p))}),e.DNE(10,X,8,7,"ion-accordion",37),e.k0s()(),e.nrm(11,"p",30),e.j41(12,"ion-item",15)(13,"p",16)(14,"ion-button",17),e.bIt("click",function(){const c=e.eBV(n).$implicit,p=e.XpG(3);return e.Njj(p.goToEnrollExperience(p.type,c.enroll))}),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()()()()()()}if(2&t){const n=s.$implicit,i=e.XpG(3);e.R7$(2),e.FS9("value",n.id),e.R7$(3),e.JRh(n.name),e.R7$(4),e.Y8G("allowEmptySelection",!0)("formControl",i.radioControl),e.R7$(1),e.Y8G("ngForOf",n.prices),e.R7$(4),e.Y8G("disabled",!n.enroll),e.R7$(1),e.SpI(" ",e.bMT(16,7,"EXPERIENCE.DETAIL.ENROLL"),"")}}function k(t,s){if(1&t&&(e.j41(0,"div"),e.DNE(1,Y,17,9,"ion-card",10),e.k0s()),2&t){const n=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",n.experience.plans)}}function L(t,s){if(1&t&&(e.j41(0,"ion-accordion",33)(1,"ion-item",18),e.nrm(2,"ion-radio",19),e.j41(3,"ion-label",20),e.EFF(4),e.nI1(5,"formatCurrency"),e.k0s()(),e.j41(6,"div",38),e.EFF(7),e.k0s()()),2&t){const n=s.$implicit,i=e.XpG(4);e.FS9("value",n.id),e.R7$(2),e.Y8G("value",n),e.R7$(2),e.JRh(e.i5U(5,4,n.price,i.currency)),e.R7$(3),e.JRh(n.description)}}function A(t,s){if(1&t){const n=e.RV6();e.j41(0,"ion-card")(1,"ion-accordion-group")(2,"ion-accordion",33)(3,"ion-item",34)(4,"ion-card-title"),e.EFF(5),e.k0s()(),e.j41(6,"div",35)(7,"ion-card-content",11)(8,"ion-accordion-group",36)(9,"ion-radio-group",13),e.bIt("ionChange",function(o){const p=e.eBV(n).$implicit,h=e.XpG(3);return e.Njj(h.handleChange(o,p))}),e.DNE(10,L,8,7,"ion-accordion",37),e.k0s()(),e.nrm(11,"p",30),e.j41(12,"ion-item",15)(13,"p",16)(14,"ion-button",17),e.bIt("click",function(){const c=e.eBV(n).$implicit,p=e.XpG(3);return e.Njj(p.goToEnrollExperience(p.type,c.enroll,c.type))}),e.EFF(15),e.nI1(16,"translate"),e.k0s()()()()()()()()}if(2&t){const n=s.$implicit,i=e.XpG(3);e.R7$(2),e.FS9("value",n.id),e.R7$(3),e.JRh(n.name),e.R7$(4),e.Y8G("allowEmptySelection",!0)("formControl",i.radioControl),e.R7$(1),e.Y8G("ngForOf",n.prices),e.R7$(4),e.Y8G("disabled",!n.enroll),e.R7$(1),e.SpI(" ",e.bMT(16,7,"EXPERIENCE.DETAIL.ENROLL"),"")}}function U(t,s){if(1&t&&(e.j41(0,"div"),e.DNE(1,A,17,9,"ion-card",10),e.k0s()),2&t){const n=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",n.experience.academy_plans)}}function B(t,s){if(1&t){const n=e.RV6();e.j41(0,"div",6)(1,"ion-segment",21),e.bIt("ionChange",function(o){e.eBV(n);const c=e.XpG();return e.Njj(c.segmentChanged(o))}),e.j41(2,"ion-segment-button",22)(3,"ion-label"),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.DNE(6,G,4,3,"ion-segment-button",23),e.DNE(7,M,4,3,"ion-segment-button",24),e.k0s(),e.j41(8,"ion-content")(9,"ion-refresher",8),e.bIt("ionRefresh",function(o){e.eBV(n);const c=e.XpG();return e.Njj(c.doRefresh(o))}),e.nrm(10,"ion-refresher-content",9),e.k0s(),e.j41(11,"div",25),e.DNE(12,N,12,8,"div",26),e.DNE(13,k,2,1,"div",26),e.DNE(14,U,2,1,"div",26),e.k0s()()()}if(2&t){const n=e.XpG();e.R7$(1),e.Y8G("value",n.segment),e.R7$(3),e.JRh(e.bMT(5,8,"EXPERIENCE.DETAIL.INFO")),e.R7$(2),e.Y8G("ngIf",n.experience.plans&&n.experience.plans.length),e.R7$(1),e.Y8G("ngIf",n.experience.academy_plans&&n.experience.academy_plans.length),e.R7$(4),e.Y8G("ngSwitch",n.segment),e.R7$(1),e.Y8G("ngSwitchCase","info"),e.R7$(1),e.Y8G("ngSwitchCase","plans"),e.R7$(1),e.Y8G("ngSwitchCase","academy_plans")}}const J=[{path:"",component:(()=>{class t{constructor(n,i,o,c,p,h,W,K,Q,Z,q,ee){this.translateService=n,this.utilsService=i,this.navCtrl=o,this.cityProvider=c,this.modalCtrl=p,this.experienceService=h,this.alertController=W,this.commsService=K,this.route=Q,this.userService=Z,this.router=q,this.corporateIdentityService=ee,this.closeModal=new e.bkB,this.offset=0,this.take=10,this.params={},this.type="children",this.segment="info",this.loadingExperience=!0,this.experience={},this.radioControl=new _.MJ,this.currency=this.corporateIdentityService.getCurrency()}ngOnInit(){this.emptySettingsSlide={showImage:!1,urlImage:"",showText:!0,text:this.translateService.instant("EXPERIENCE.DETAIL.LOADING")},this.type=this.route.snapshot.paramMap.get("type")??"children",this.experienceId=Number(this.route.snapshot.paramMap.get("id")),this.loadInit(0,!0),this.filteredResults$=this.radioControl.valueChanges.pipe((0,d.F)()),this.radioControl.valueChanges.pipe((0,d.F)((n,i)=>n===i)).subscribe(n=>{this.radioControl.setValue(n)})}loadInit(n=0,i=!1){(!this.utilsService.loadingPage||i)&&(this.utilsService.loadingPage=!0,setTimeout(()=>(this.time=(new Date).getTime(),new Promise((o,c)=>{this.utilsService.presentLoading(this.translateService.instant("all.loading")).then(()=>{Promise.all([this.experienceService.detail(this.experienceId).then(p=>{this.loadingExperience=!1,this.experience=p})]).then(()=>{this.utilsService.closeAllAlerts(),this.utilsService.loadingPage=!1,o(!1)}).catch(p=>{this.utilsService.closeAllAlerts(),this.loadingExperience=!1,this.utilsService.loadingPage=!1,console.log("Error loadInit ExperienceDetailPage",p),c(p)})})})),n))}doRefresh(n){setTimeout(()=>{this.loadInit(100,!0),n.target.complete()},500)}segmentChanged(n){this.segment=n.detail.value,this.experience&&this.clearSelection()}handleChange(n,i){if(this.clearSelection(),!n.detail.value)return i.enroll=0,void(this.experienceService.plan=null);let o=n.detail.value;i.enroll=o.id,this.experienceService.plan={id:i.id,name:i.name,price:o.price,experienceId:this.experienceId}}clearSelection(){this.experience.plans.forEach(n=>{n.enroll=0})}goToEnrollExperience(n,i,o){this.userService.validateAlertsUseApp("document")&&this.router.navigate(o?[`/experience/${n}/enroll/${i}/${o}`]:[`/experience/${n}/enroll/${i}`])}static#e=this.\u0275fac=function(i){return new(i||t)(e.rXU(g.c$),e.rXU(v.T),e.rXU(r.q9),e.rXU(m.h),e.rXU(r.W3),e.rXU(x.y),e.rXU(r.hG),e.rXU(E.p),e.rXU(u.nX),e.rXU(R.D),e.rXU(u.Ix),e.rXU(P.r))};static#n=this.\u0275cmp=e.VBU({type:t,selectors:[["app-experience-detail"]],viewQuery:function(i,o){if(1&i&&(e.GBs(r.Ax,5),e.GBs(D,5)),2&i){let c;e.mGM(c=e.lsd())&&(o.infiniteScroll=c.first),e.mGM(c=e.lsd())&&(o.content=c.first)}},outputs:{closeModal:"closeModal"},decls:8,vars:5,consts:[[1,"ion-no-border"],["slot","start",3,"defaultHref"],[1,"ion-text-center"],[3,"emptySettingsSlide",4,"ngIf"],["class","content",4,"ngIf"],[3,"emptySettingsSlide"],[1,"content"],["content",""],["slot","fixed",3,"ionRefresh"],["pullingIcon","arrow-down-outline","refreshingSpinner","ios"],[4,"ngFor","ngForOf"],[1,"plan-content"],["slot","content",1,"description-unique-plan"],[3,"allowEmptySelection","formControl","ionChange"],["class","price-plan","slot","header","color","light","lines","none",4,"ngFor","ngForOf"],["lines","none"],["slot","end"],["fill","solid","color","primary",1,"enroll",3,"disabled","click"],["slot","header","color","light","lines","none",1,"price-plan"],["slot","start","mode","md",1,"radio",3,"value"],[1,"price"],["mode","md",3,"value","ionChange"],["value","info"],["value","plans",4,"ngIf"],["value","academy_plans",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["value","plans"],["value","academy_plans"],[3,"innerHTML"],[1,"line"],["class","paragraph",4,"ngIf"],[1,"paragraph"],[3,"value"],["slot","header","color","light","lines","none",1,"plan-title"],["slot","content"],[1,"accordion"],[3,"value",4,"ngFor","ngForOf"],["slot","content",1,"description"]],template:function(i,o){1&i&&(e.j41(0,"ion-header",0)(1,"ion-toolbar"),e.nrm(2,"ion-back-button",1),e.j41(3,"ion-title",2),e.EFF(4),e.k0s()()(),e.DNE(5,y,1,1,"app-empty-component",3),e.DNE(6,F,6,1,"div",4),e.DNE(7,B,15,10,"div",4)),2&i&&(e.R7$(2),e.Mz_("defaultHref","/experience/",o.type,""),e.R7$(2),e.JRh(o.experience.name),e.R7$(1),e.Y8G("ngIf",o.loadingExperience),e.R7$(1),e.Y8G("ngIf",!o.loadingExperience&&o.experience.unique_plan),e.R7$(1),e.Y8G("ngIf",!o.loadingExperience&&!o.experience.unique_plan))},dependencies:[a.Sq,a.bT,a.ux,a.e1,_.BC,r.xk,r.YH,r.el,r.Jm,r.b_,r.I9,r.ME,r.tN,r.W9,r.eU,r.uz,r.he,r.KO,r.f0,r.To,r.Ki,r.Gp,r.eP,r.BC,r.ai,r.uR,r.Je,r.tY,_.l_,I.O,g.D9,$.P],styles:["ion-content[_ngcontent-%COMP%]{--background: #f9f9f9 !important}ion-card[_ngcontent-%COMP%]{box-shadow:0 1px 6px gray;margin-top:15px;margin-bottom:15px;border-radius:10px}ion-card-title[_ngcontent-%COMP%]{display:flex;color:#565656;margin-bottom:3px;font-size:14px;font-weight:700;line-height:20px;text-align:left}ion-card-content[_ngcontent-%COMP%]{padding-bottom:5px;color:#565656}ion-segment-button[_ngcontent-%COMP%]{--ripple-color: transparent !important;--ripple-duration: 0ms !important}.content[_ngcontent-%COMP%]{height:100%}.line[_ngcontent-%COMP%]{height:1px;background-color:#ddd;margin:0 10px}.paragraph[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin-bottom:15px}.paragraph[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.description-unique-plan[_ngcontent-%COMP%]{padding:0 15px}.plan-title[_ngcontent-%COMP%]{font-size:16px!important;font-weight:700;line-height:20px;text-align:left}.plan-content[_ngcontent-%COMP%]{padding:5px}.accordion[_ngcontent-%COMP%]{margin-bottom:15px}.price-plan[_ngcontent-%COMP%]{height:40px}.radio[_ngcontent-%COMP%]{margin-right:20px}.price[_ngcontent-%COMP%]{color:#565656;font-size:14px;font-weight:700;line-height:20px;text-align:left}.description[_ngcontent-%COMP%]{padding:0 15px 0 60px;text-align:justify}.enroll[_ngcontent-%COMP%]{margin-top:15px;text-transform:uppercase}"]})}return t})()}];let w=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#n=this.\u0275mod=e.$C({type:t});static#t=this.\u0275inj=e.G2t({imports:[u.iI.forChild(J),u.iI]})}return t})();var V=l(55553),H=l(41683);let z=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#n=this.\u0275mod=e.$C({type:t});static#t=this.\u0275inj=e.G2t({imports:[a.MD,_.YN,r.bv,w,g.h,_.X1,V.h,H.Y]})}return t})()}}]);