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/1442.18d69e925da5bd09.js
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1442,1519,3900,6757,9138,5553,767,9990,7934,315],{55553:(O,v,s)=>{s.d(v,{h:()=>o});var e=s(77897),u=s(56610),M=s(41683),m=s(13721),f=s(22882),h=s(37222),E=s(36594),c=s(2978);let o=(()=>{class p{static#e=this.\u0275fac=function(n){return new(n||p)};static#t=this.\u0275mod=c.$C({type:p});static#n=this.\u0275inj=c.G2t({imports:[u.MD,e.bv,m.h,M.Y,f.h.forChild(),h.YN,E.rJ]})}return p})()},68053:(O,v,s)=>{s.d(v,{T:()=>c});var e=s(2978),u=s(77897),M=s(7125),m=s(56610),f=s(22882);function h(o,p){if(1&o&&e.nrm(0,"img",5),2&o){const g=e.XpG();e.FCK("src","",g.image,"?_dc=",g.time,"",e.B4B)}}function E(o,p){if(1&o&&e.nrm(0,"img",6),2&o){const g=e.XpG();e.yjJ("src","",g.cityProvider._urlGallery,"popups/",g.image,"?_dc=",g.time,"",e.B4B)}}let c=(()=>{class o{constructor(g,t){this.modalCtrl=g,this.cityProvider=t}ngOnInit(){this.time=(new Date).getTime()}cancel(){this.modalCtrl.dismiss()}static#e=this.\u0275fac=function(t){return new(t||o)(e.rXU(u.W3),e.rXU(M.h))};static#t=this.\u0275cmp=e.VBU({type:o,selectors:[["app-modal-inapp"]],decls:9,vars:5,consts:[[1,"content"],["onerror","this.style.display='none';","class","image_popup","alt","popup",3,"src",4,"ngIf"],["class","image_popup","alt","popup",3,"src",4,"ngIf"],[1,"ion-text-center"],["size","default",3,"click"],["onerror","this.style.display='none';","alt","popup",1,"image_popup",3,"src"],["alt","popup",1,"image_popup",3,"src"]],template:function(t,n){1&t&&(e.j41(0,"ion-content",0),e.DNE(1,h,1,2,"img",1),e.DNE(2,E,1,3,"img",2),e.k0s(),e.j41(3,"ion-footer")(4,"ion-item")(5,"ion-label",3)(6,"ion-button",4),e.bIt("click",function(){return n.cancel()}),e.EFF(7),e.nI1(8,"translate"),e.k0s()()()()),2&t&&(e.R7$(1),e.Y8G("ngIf",n.image.includes("http")),e.R7$(1),e.Y8G("ngIf",!n.image.includes("http")),e.R7$(5),e.JRh(e.bMT(8,3,"all.close")))},dependencies:[m.bT,u.Jm,u.W9,u.M0,u.uz,u.he,f.D9],styles:["ion-content[_ngcontent-%COMP%]{scrollbar-width:none!important}.content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none;overflow:hidden}.image_popup[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-flow:column;margin:auto}"]})}return o})()},87445:(O,v,s)=>{s.d(v,{$:()=>_});var e=s(2978),u=s(77897),M=s(7125),m=s(26173),f=s(83254),h=s(56610),E=s(22882);function c(a,d){if(1&a&&(e.j41(0,"ion-title"),e.EFF(1),e.k0s()),2&a){const i=e.XpG();e.R7$(1),e.JRh(i.popup.title)}}function o(a,d){if(1&a){const i=e.RV6();e.j41(0,"img",12),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.openAction(l.popup))}),e.k0s()}if(2&a){const i=e.XpG();e.FCK("src","",i.popup.image,"?_dc=",i.time,"",e.B4B)}}function p(a,d){if(1&a){const i=e.RV6();e.j41(0,"img",13),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.openAction(l.popup))}),e.k0s()}if(2&a){const i=e.XpG();e.yjJ("src","",i.cityProvider._urlGallery,"popups/",i.popup.image,"?_dc=",i.time,"",e.B4B)}}function g(a,d){if(1&a&&(e.j41(0,"ion-text",14)(1,"h5",15),e.EFF(2),e.k0s()()),2&a){const i=e.XpG();e.R7$(2),e.JRh(i.popup.msj)}}function t(a,d){if(1&a){const i=e.RV6();e.j41(0,"ion-button",16),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.openAction(l.popup))}),e.EFF(1),e.k0s()}if(2&a){const i=e.XpG();e.R7$(1),e.SpI(" ",i.popup.text_button_ok," ")}}function n(a,d){if(1&a){const i=e.RV6();e.j41(0,"ion-button",16),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.openAction(l.popup))}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&a&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"all.open")," "))}function r(a,d){if(1&a){const i=e.RV6();e.j41(0,"ion-button",17),e.bIt("click",function(){e.eBV(i);const l=e.XpG();return e.Njj(l.cancel())}),e.EFF(1),e.nI1(2,"translate"),e.k0s()}2&a&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"all.close")," "))}let _=(()=>{class a{constructor(i,P,l,D){this.modalCtrl=i,this.cityProvider=P,this.homeProvider=l,this.analyticsService=D}ngOnInit(){this.time=(new Date).getTime(),document.body.classList.add("modal-open")}cancel(i=!0){i&&this.analyticsService.logEvent("Popup Close: "+this.popup.title,"Popup","close",this.popup);let P=document.body.getElementsByClassName("modal-popup");(!P||1==P.length)&&document.body.classList.remove("modal-open"),this.modalCtrl.dismiss()}openAction(i){!i||!i.type_action_id||(this.analyticsService.logEvent("Popup Click: "+i.title,"Popup","click",i),this.homeProvider.openAction(i.type_action_id,i.value,i.target),this.cancel(!1))}static#e=this.\u0275fac=function(P){return new(P||a)(e.rXU(u.W3),e.rXU(M.h),e.rXU(m.X),e.rXU(f.c))};static#t=this.\u0275cmp=e.VBU({type:a,selectors:[["app-modal-popup"]],inputs:{popup:"popup"},decls:16,vars:7,consts:[[1,"ion-text-center"],[4,"ngIf"],["slot","end"],["expand","block","size","large","color","light",3,"click"],["name","close-circle-outline"],[1,"content"],[1,"container"],["onerror","this.style.display='none';","class","image-popup","alt","popup",3,"src","click",4,"ngIf"],["class","image-popup","alt","popup",3,"src","click",4,"ngIf"],["color","dark","class","ion-text-center",4,"ngIf"],["expand","block","size","default","class","press-effect",3,"click",4,"ngIf"],["expand","block","size","default",3,"click",4,"ngIf"],["onerror","this.style.display='none';","alt","popup",1,"image-popup",3,"src","click"],["alt","popup",1,"image-popup",3,"src","click"],["color","dark",1,"ion-text-center"],[1,"not-margin"],["expand","block","size","default",1,"press-effect",3,"click"],["expand","block","size","default",3,"click"]],template:function(P,l){1&P&&(e.j41(0,"ion-toolbar",0),e.DNE(1,c,2,1,"ion-title",1),e.j41(2,"ion-buttons",2)(3,"ion-button",3),e.bIt("click",function(){return l.cancel()}),e.nrm(4,"ion-icon",4),e.k0s()()(),e.j41(5,"ion-content",5)(6,"div",6),e.DNE(7,o,1,2,"img",7),e.DNE(8,p,1,3,"img",8),e.DNE(9,g,3,1,"ion-text",9),e.k0s()(),e.j41(10,"ion-footer")(11,"ion-item")(12,"ion-label",0),e.DNE(13,t,2,1,"ion-button",10),e.DNE(14,n,3,3,"ion-button",10),e.DNE(15,r,3,3,"ion-button",11),e.k0s()()()),2&P&&(e.R7$(1),e.Y8G("ngIf",!l.popup.hide_name),e.R7$(6),e.Y8G("ngIf",l.popup.image.includes("http")),e.R7$(1),e.Y8G("ngIf",!l.popup.image.includes("http")),e.R7$(1),e.Y8G("ngIf",l.popup.msj),e.R7$(4),e.Y8G("ngIf",l.popup.type_action_id&&l.popup.text_button_ok),e.R7$(1),e.Y8G("ngIf",l.popup.type_action_id&&!l.popup.text_button_ok),e.R7$(1),e.Y8G("ngIf",!l.popup.type_action_id))},dependencies:[h.bT,u.Jm,u.QW,u.W9,u.M0,u.iq,u.uz,u.he,u.IO,u.BC,u.ai,E.D9],styles:["ion-content[_ngcontent-%COMP%]{scrollbar-width:none!important}.content[_ngcontent-%COMP%]::-webkit-scrollbar{display:none;overflow:hidden}.container[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center;height:100%;width:100%}.image-popup[_ngcontent-%COMP%]{width:100%;display:flex;flex-flow:column;margin:auto}"]})}return a})()},73012:(O,v,s)=>{s.d(v,{u:()=>f});var e=s(73308),u=s(2978),M=s(3366),m=s(54171);let f=(()=>{class h{constructor(c,o){this.api=c,this.utilsService=o,this.categories=[],this.businesses=[],this.centerFirstMarker=!1,this.userHaveBusiness=!1,this.loadingBusiness=!0}getCategories(c){var o=this;return(0,e.A)(function*(){return o.categories=[],new Promise(function(){var p=(0,e.A)(function*(g,t){(yield o.api.get("business/getCategories/"+c,yield o.utilsService.getAccessToken())).subscribe(r=>{o.categories=r,g(r)},r=>{console.error("Error getCategories",r),t(r)})});return function(g,t){return p.apply(this,arguments)}}())})()}registerBusiness(c){var o=this;return(0,e.A)(function*(){let p=yield o.utilsService.getAccessToken();return new Promise(function(){var g=(0,e.A)(function*(t,n){(yield o.api.post("business/register",c,p)).subscribe(r=>{t(r)},r=>{console.error("Error registerBusiness",r),n(r)})});return function(t,n){return g.apply(this,arguments)}}())})()}getBusinesses(c){var o=this;return(0,e.A)(function*(){o.params=c;let p=yield o.utilsService.getAccessToken();return c.reset&&(o.businesses=[]),new Promise(function(){var g=(0,e.A)(function*(t,n){(yield o.api.get("business/getBusinesses",p,c)).subscribe(_=>{o.loadingBusiness=!1,c.reset?o.businesses=_:o.businesses.push(..._),c.user&&_.length&&(o.userHaveBusiness=!0),o.centerFirstMarker=!(!c.search&&1!=_.length),t(o.businesses)},_=>{console.error("Error getBusinesses",_),n(_)})});return function(t,n){return g.apply(this,arguments)}}())})()}deleteBusiness(c){var o=this;return(0,e.A)(function*(){let p=yield o.utilsService.getAccessToken();return new Promise(function(){var g=(0,e.A)(function*(t,n){(yield o.api.delete("business/delete/"+c,p)).subscribe(r=>{t(r)},r=>{console.error("Error registerBusiness",r),n(r)})});return function(t,n){return g.apply(this,arguments)}}())})()}getParameters(){var c=this;return(0,e.A)(function*(){return new Promise(function(){var o=(0,e.A)(function*(p,g){(yield c.api.get("business/getParameters",yield c.utilsService.getAccessToken())).subscribe(n=>{p(n)},n=>{console.error("Error getParemeters",n),g(n)})});return function(p,g){return o.apply(this,arguments)}}())})()}getScoringOptions(){var c=this;return(0,e.A)(function*(){return new Promise(function(){var o=(0,e.A)(function*(p,g){(yield c.api.get("business/getScoringOptions",yield c.utilsService.getAccessToken())).subscribe(n=>{p(n)},n=>{console.error("Error getParemeters",n),g(n)})});return function(p,g){return o.apply(this,arguments)}}())})()}registerScoring(c){var o=this;return(0,e.A)(function*(){let p=yield o.utilsService.getAccessToken();return new Promise(function(){var g=(0,e.A)(function*(t,n){(yield o.api.post("business/scoreRegistry",c,p)).subscribe(r=>{t(r)},r=>{console.error("Error registerScoring",r),n(r)})});return function(t,n){return g.apply(this,arguments)}}())})()}static#e=this.\u0275fac=function(o){return new(o||h)(u.KVO(M.G),u.KVO(m.T))};static#t=this.\u0275prov=u.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},1519:(O,v,s)=>{s.d(v,{p:()=>o});var e=s(73308),u=s(87445),M=s(68053),m=s(2978),f=s(3366),h=s(57291),E=s(54171),c=s(77897);let o=(()=>{class p{constructor(t,n,r,_){this.api=t,this.storage=n,this.utilsService=r,this.modalController=_}getBookcase(t){return this.api.get("comms/bookcase_embed",t)}presentModal(t){var n=this;return(0,e.A)(function*(){return yield(yield n.modalController.create({component:u.$,cssClass:"modal-popup",showBackdrop:!1,swipeToClose:!1,backdropDismiss:!1,componentProps:{popup:t}})).present()})()}presentInapp(t){var n=this;return(0,e.A)(function*(){var r=n;r.closePopup(r.popup),r.modalController.create({component:M.T,cssClass:"modal-popup",showBackdrop:!1,swipeToClose:!1,backdropDismiss:!1,componentProps:{image:t.image}}).then(_=>{_.present(),_.addEventListener("ionModalDidPresent",a=>{a.target&&a.target.addEventListener("focusout",d=>{d.sourceCapabilities&&r.popup&&r.closePopup(r.popup)})}),r.popup=_})})()}presentPopup(t,n){var r=this;return(0,e.A)(function*(){var _=r;_.closePopup(_.popup),_.modalController.create({component:t,cssClass:"modal-popup",showBackdrop:!1,swipeToClose:!0,backdropDismiss:!0,componentProps:{object:n}}).then(a=>{a.present(),a.addEventListener("ionModalDidPresent",d=>{d.target&&d.target.addEventListener("focusout",i=>{i.sourceCapabilities&&_.popup&&_.closePopup(_.popup)})}),_.popup=a})})()}closePopup(t){t&&t.dismiss()}getRadio(t){return this.api.get("comms/radio_embed",t)}getSocialNetworkAccounts(t){return this.api.get("comms/social_network_accounts",t)}getTiktok(t){return this.api.get("comms/video_tiktok",t)}getYoutube(t,n){return this.api.get("comms/video_youtube"+(n?"/"+n:""),t)}getYoutubeData(){var t=this;return(0,e.A)(function*(){return new Promise(function(){var n=(0,e.A)(function*(r,_){(yield t.api.get("comms/video_youtube",yield t.utilsService.getAccessToken())).subscribe(d=>{r(d)},d=>{_(d)})});return function(r,_){return n.apply(this,arguments)}}())})()}getInstagram(t,n){return this.api.get("comms/photo_instagram"+(n?"/"+n:""),t)}getTwitter(t){return this.api.get("comms/official_twitter",t)}getFacebook(t){return this.api.get("comms/official_facebook",t)}getBanners(t){var n=this;return(0,e.A)(function*(){return new Promise(function(){var r=(0,e.A)(function*(_,a){(yield n.api.get("comms/getBanners/"+t,yield n.utilsService.getAccessToken())).subscribe({next:i=>{_(i)},error:i=>{a(i)},complete:()=>{}})});return function(_,a){return r.apply(this,arguments)}}())})()}getPopups(t){var n=this;return(0,e.A)(function*(){n.storage.get("popups").then(r=>new Promise(function(){var _=(0,e.A)(function*(a,d){let i=r||[];(yield n.api.get("comms/getPopups/"+t,yield n.utilsService.getAccessToken())).subscribe({next:l=>{l.forEach(D=>{if(0===D.frequency)n.openPopup(D);else{let y=i.find(b=>b.id===D.id);if(y&&y.views===y.frequency)return;y?y.views+=1:(D.views=1,i.push(D)),n.openPopup(D)}}),n.storage.set("popups",i),a(l)},error:l=>{d(l)},complete:()=>{}})});return function(a,d){return _.apply(this,arguments)}}()))})()}openPopup(t){this.presentModal(t)}static#e=this.\u0275fac=function(n){return new(n||p)(m.KVO(f.G),m.KVO(h.n),m.KVO(E.T),m.KVO(c.W3))};static#t=this.\u0275prov=m.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},58025:(O,v,s)=>{s.d(v,{r:()=>m});var e=s(99406),u=s(2978),M=s(77897);let m=(()=>{class f{constructor(E){this.platform=E,this.tabChangeObserver=null,this.tabChange=e.c.create(c=>{this.tabChangeObserver=c})}changeTabInContainerPage(E){this.tabChangeObserver.next(E)}static#e=this.\u0275fac=function(c){return new(c||f)(u.KVO(M.OD))};static#t=this.\u0275prov=u.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()}}]);