PageSourceSearch

https://www.tigosports.com.bo/2659.0b4b8de456f754ac.js

js tigosports.com.bo collected 2026-10-01 14:58:33 UTC 16,864 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2659],{6764:(V,S,i)=>{i.d(S,{P:()=>x});var p=i(10467),a=i(10375),I=i(79924),y=i(97586),h=i.n(y),t=i(2615),L=i(29330),B=i(40935),E=i(98911);let x=(()=>{var U;class f{constructor(r,c,v){this.httpClient=r,this.storage=c,this.imageCacheService=v,this.isAdaptable=I.Es,this.carrouselLimit=10,this.contPage=1}getEvents(r,c,v,O){var l=this;return(0,p.A)(function*(){let u=[],b=[],M=0,P="";1===r&&(l.contPage=1),P=v?`${a.YH}/${v}/${l.contPage++}/${l.carrouselLimit}`:`${a.YH}/${l.contPage++}/${l.carrouselLimit}`;try{const A=yield l.httpClient.get(P,{params:O}).toPromise();for(const n of A){let m={contentful_id:n.contentful_id,title:n.contentful_data.fields.name,image:l.getImage(n,c),createdAt:n.contentful_data.sys.createdAt,championship_id:n.contentful_data.fields.league?n.contentful_data.fields.league.sys.id:"",championship_name:n.league,sport_name:n.sport?n.sport:"",video_title:n.contentful_data.fields.name,content_id:n.contentful_id,home_team_id:n.home_team_data?n.home_team_data.contentful_id:"",home_team:n.home_team_data?n.home_team_data.json.fields.name:"",away_team_id:n.away_team_data?n.away_team_data.contentful_id:"",away_team:n.away_team_data?n.away_team_data.json.fields.name:"",total_length:n.contentful_data?n.contentful_data.fields.totalLength?n.contentful_data.fields.totalLength:n.contentful_data?.fields?.videoTime:0,session_id:"",video_quality:"",content_category:"other content",content_type:n.contentful_data.sys.contentType.sys.id,schedule:l.getFormattedSchedule(new Date(n.created_at))};M+=1,M<=l.carrouselLimit&&b.push(m)}u=A?b:[]}catch{}return u})()}getCategoryList(){var r=this;return(0,p.A)(function*(){return yield r.httpClient.get(`${a.m9}`).toPromise()})()}getFormattedSchedule(r){let c=r.getDate(),v=r.getMonth(),O=r.getFullYear(),l=h()(r).format("HH:mm"),u="";return r&&(u=`${c}/${v+1}/${O} ${l}`),u}getImage(r,c){let v=c?.highlights?c.highlights:c.default;return c?.status&&!0===c.status&&r?.verticalThumbnailsS3?v+r.verticalThumbnailsS3:`https:${r.contentful_data.fields.vertical_thumbnails.file.fields.file.url}`}getOtherContentCache(r,c,v,O){var l=this;return(0,p.A)(function*(){try{let u=l.storage.getOtherContentValues();return u?h()().diff(u.createdAt,"hours",!0)>=2&&(yield l.saveDataBannerCache(r,c,v,O)):yield l.saveDataBannerCache(r,c,v,O),u=l.storage.getOtherContentValues(),u?.data}catch{}})()}saveDataBannerCache(r,c,v,O){var l=this;return(0,p.A)(function*(){let u=yield l.getEvents(r,c,v,O);l.storage.setOtherContentValues(u)})()}static#t=U=()=>
1(this.\u0275fac=function(c){return new(c||f)(t.KVO(L.Qq),t.KVO(B.w),t.KVO(E.n))},this.\u0275prov=t.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return U(),f})()},22849:(V,S,i)=>{i.d(S,{H:()=>R});var p=i(10467),a=i(21419),I=i(79924),y=i(15083),h=i(2615),t=i(73664),L=i(6764),B=i(45035),E=i(57343),x=i(40935),U=i(42248),f=i(74624),K=i(77500),r=i(80062),c=i(65750),v=i(53424),O=i(47038),l=i(72200);const u=_=>({"segment-tv-vertical":_}),b=_=>({"tv-control":_});function M(_,C){if(1&_){const s=t.RV6();t.qex(0),t.j41(1,"div",10)(2,"button",11),t.bIt("click",function(){h.eBV(s);const o=t.XpG(2);return h.Njj(o.moreContent())}),t.EFF(3,"Ver m\xe1s"),t.k0s()(),t.bVm()}if(2&_){const s=t.XpG(2);t.R7$(2),t.AVh("focus-button",!s.isAdaptable),t.Y8G("ngClass",t.eq3(3,b,!s.isAdaptable))}}function P(_,C){if(1&_){const s=t.RV6();t.j41(0,"div",12),t.bIt("click",function(){h.eBV(s);const o=t.XpG(2);return h.Njj(o.handleScrollSegment(-250))}),t.nrm(1,"ion-img",13),t.k0s()}}function A(_,C){if(1&_&&t.nrm(0,"div",14),2&_){const s=t.XpG(2);t.Aen(t.VFN("min-width: ",s.widthBanner,"px; min-height: ",s.heightBanner,"px; margin-right: ",s.marginBanner,"em;"))}}function n(_,C){if(1&_){const s=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){const o=h.eBV(s).$implicit,g=t.XpG(2);return h.Njj(g.viewDetail(o))}),t.j41(1,"ion-img",16),t.bIt("ionError",function(){const o=h.eBV(s).$implicit,g=t.XpG(2);return h.Njj(g.onImageError(o))}),t.k0s(),t.nrm(2,"img",17),t.j41(3,"div",18)(4,"ion-label",19),t.EFF(5),t.k0s()()()}if(2&_){const s=C.$implicit,e=t.XpG(2);t.Y8G("ngClass",t.eq3(6,b,!e.isAdaptable))("id","other-content-"+s.contentful_id),t.R7$(),t.Y8G("alt",t.mNQ(s.id))("src",s.image?s.image:e.loadingImg),t.R7$(4),t.JRh(s.title)}}function m(_,C){if(1&_){const s=t.RV6();t.j41(0,"div",20),t.bIt("click",function(){h.eBV(s);const o=t.XpG(2);return h.Njj(o.handleScrollSegment(250))}),t.nrm(1,"ion-img",13),t.k0s()}}function d(_,C){if(1&_){const s=t.RV6();t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3"),t.EFF(4),t.k0s()(),t.DNE(5,M,4,5,"ng-container",4),t.k0s(),t.j41(6,"ion-grid")(7,"ion-row"),t.DNE(8,P,2,0,"div",5),t.j41(9,"ion-col")(10,"ion-segment",6),t.bIt("scroll",function(o){h.eBV(s);const g=t.XpG();return h.Njj(g.doSomethingOnScroll(o))}),t.DNE(11,A,1,5,"div",7)(12,n,6,8,"div",8),t.k0s()(),t.DNE(13,m,2,0,"div",9),t.k0s()()()}if(2&_){const s=t.XpG();t.R7$(4),t.JRh(s.title),t.R7$(),t.Y8G("ngIf","home"==s.id_ev),t.R7$(3),t.Y8G("ngIf",s.isWeb&&s.others.length>3),t.R7$(2),t.Y8G("id",t.mNQ(s.id_ev))("ngClass",t.eq3(9,u,!s.isAdaptable)),t.R7$(),t.Y8G("ngIf",s.bannerAvailable&&s.isAdaptable),t.R7$(),t.Y8G("ngForOf",s.others),t.R7$(),t.Y8G("ngIf",s.isWeb&&s.others.length>3)}}let R=(()=>{var _;class C{constructor(e,o,g,D,T,W,j,$,G,X,w){this.otherContentService=e,this.platform=o,this.storage=g,this.navController=D,this.segmentAnalytics=T,this.videoStreamingService=W,this.eventDetailService=j,this.devicesService=$,this.textManagementV2Service=G,this.adsServices=X,this.loadingService=w,this.others=[],this.showOtherContent=!1,this.isAdaptable=I.Es,this.loadingImg="../../../../assets/graphics/pictures/load-img.png",this.isWeb="web"===y.Ii.getPlatform(),this.pageNumber=2,this.showafter=!1,this.temporaryobj=[],this.bannerAvailable=!0,this.widthBanner=0,this.heightBanner=0,this.marginBanner=0,this.idDiv=I.vG,this.isLoadRefreshSlot=!1}ngOnInit(){var e=this;return(0,p.A)(function*(){e.textsV2=yield e.textManagementV2Service.getTexts(),e.slotOtherContentValue(),e.assetDomain=e.textsV2?.ASSET_DOMAIN;try{let o;o=e.isMoreContent?yield e.otherContentService.getEvents(1,e.assetDomain,e.id_category,e.queryParams):e.data,o.length>0&&(e.others=o.length>0?o:[],e.showOtherContent=o.length)}catch{}})()}doSomethingOnScroll(e){var o=this;return(0,p.A)(function*(){if(Math.round(e.target.offsetWidth+e.target.scrollLeft)===e.target.scrollWidth){const D=yield o.otherContentService.getEvents(o.pageNumber,o.assetDomain,o.id_category,o.queryParams);o.pageNumber++,o.others.push(...D)}})()}ngOnChanges(e){this.data=[];const o=e.data,g=e.bannerAdvertising;o&&(this.others=o.currentValue,this.showOtherContent=o.currentValue.length>0,this.pageNumber=2,this.showafter=this.showOtherContent,this.temporaryobj=this.others),this.showafter&&(this.showOtherContent=this.showafter,this.others=this.temporaryobj),this.others.length>0&&this.showOtherContent&&g&&this.isAdaptable&&setTimeout(()=>{this.loadScript(g.currentValue)},1e3)}ngOnDestroy(){this.isAdaptable&&(this.RemoveSlot(),this.slotData?.unsubscribe())}viewDetail(e){var o=this;return(0,p.A)(function*(){let D;o.storage.getAccessToken();const T={championship_id:e.championship_id,championship_name:e.championship_id,airdate:e.createdAt,sport_name:e.sport_name,video_title:e.video_title,journey:"player",content_id:e.contentful_id,home_team_id:e.home_team_id,home_team:e.home_team,away_team_id:e.away_team_id,away_team:e.away_team,total_length:e.total_length,video_position:0,session_id:e.session_id,video_quality:e.video_quality,content_category:e.content_category,content_type:"highlights"};yield o.segmentAnalytics.eventTrack(a.$l,T),o.videoStreamingService.setEventCategory(e.content_category);let W="";W="gameSchedules"===e.content_type?"game":"highlights",D=`/detail/${e.contentful_id}/${W}`,o.storage.setPreviousRoute(D),o.navController.navigateRoot(D)})()}handleScrollSegment(e){let o=document.getElementById(this.id_ev);o.scrollLeft=o.scrollLeft+e}moreContent(){this.navController.navigateForward("otros-contenidos")}loadScript(e){var o=this;return(0,p.A)(function*(){const g=y.Ii.getPlatform();if(e[g]){let D=[];if(D=o.platform.is("mobileweb")||y.Ii.isNativePlatform()&&o.platform.platforms().indexOf("android")>=0?e.android:e[g],o.isAdaptable){const T=yield o.adsServices.tagsBanners("OtrosContenidos",D,o.idDiv,o.slot);o.bannerAvailable=T?.available??!1,o.marginBanner=T?.marginBanner??0,o.heightBanner=T?.height??0,o.widthBanner=T?.width??0,o.slot=T?.slot??null,o.loadingService.setLoading(!1,"OtherContentAdGoogleUpdated")}}})()}RemoveSlot(){this.isLoadRefreshSlot=!1,this.adsServices.removeSlotBanner(this.slot),this.slot=null}slotOtherContentValue(){this.slotData=this.adsServices.sendDataOtherContent$.subscribe(e=>{this.loadingService.setLoading(!0,"OtherContentAdGoogleUpdated"),e?.iframe||e?.advertiserId||!e?.isEmpty||this.isLoadRefreshSlot||!this.slot?this.isLoadRefreshSlot&&!e?.iframe&&e?.isEmpty&&!e?.advertiserId?(this.bannerAvailable=!1,this.loadingService.setLoading(!1,"OtherContentAdGoogleUpdated")):this.loadingService.setLoading(!1,"OtherContentAdGoogleUpdated"):(this.isLoadRefreshSlot=!0,this.adsServices.refreshSlot(this.slot))})}onImageError(e){e.image=this.loadingImg}static#t=_=()=>(this.\u0275fac=function(o){return new(o||C)(t.rXU(L.P),t.rXU(B.OD),t.rXU(x.w),t.rXU(B.q9),t.rXU(U.M),t.rXU(f.n),t.rXU(K.d),t.rXU(r.N),t.rXU(c.M),t.rXU(v.g),t.rXU(O.U))},this.\u0275cmp=t.VBU({type:C,selectors:[["app-other-content"]],hostBindings:function(o,g){1&o&&t.bIt("scroll",function(T){return g.doSomethingOnScroll(T)},t.tSv)},inputs:{data:"data",title:"title",id_category:"id_category",id_ev:"id_ev",isMoreContent:"isMoreContent",bannerAdvertising:"bannerAdvertising",queryParams:"queryParams"},standalone:!1,features:[t.OA$],decls:1,vars:1,consts:[["class","eventCardsVertical",4,"ngIf"],[1,"eventCardsVertical"],[1,"row"],[1,"col"],[4,"ngIf"],["class","carrousel__arrow arrowLeft","tabindex","0",3,"click",4,"ngIf"],["scrollable","",1,"tv-row","tv-control-none","tv-otherContents-rows",3,"scroll","id","ngClass"],["
1id","div-gpt-ad-1661900411589-0",3,"style",4,"ngIf"],["class","eventCardsVertical__Item","value","item.title","tabindex","7",3,"ngClass","id","click",4,"ngFor","ngForOf"],["class","carrousel__arrow arrowRight","tabindex","2",3,"click",4,"ngIf"],[1,"col","d-flex","d-flex","justify-content-end","text-center","tv-row"],["id","view-more-otherContent","tabindex","8",1,"view-more",3,"click","ngClass"],["tabindex","0",1,"carrousel__arrow","arrowLeft",3,"click"],["src","assets/graphics/options/buttons/ico_arrow.svg"],["id","div-gpt-ad-1661900411589-0"],["value","item.title","tabindex","7",1,"eventCardsVertical__Item",3,"click","ngClass","id"],[3,"ionError","src","alt"],["src","assets/graphics/options/buttons/ico_play_internal.svg","alt","",1,"icoPlayInternal"],[1,"eventCardsVertical__Info"],[1,"infoTitle"],["tabindex","2",1,"carrousel__arrow","arrowRight",3,"click"]],template:function(o,g){1&o&&t.DNE(0,d,14,11,"div",0),2&o&&t.Y8G("ngIf",g.showOtherContent)},dependencies:[l.YU,l.Sq,l.bT,E.hU,E.lO,E.KW,E.he,E.ln,E.Gp,E.Je],styles:[".view-more[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer;margin-right:10px;font-size:100%;font:normal normal medium 28px/37px Roboto;background-color:transparent;margin-top:3%;height:2rem;color:#fff}.focus-button[_ngcontent-%COMP%]:focus{border:3px solid #FFFFFF}@media (max-width: 615px){.view-more[_ngcontent-%COMP%]{margin-top:1%}}"]}))}return _(),C})()},28131:(V,S,i)=>{i.d(S,{I:()=>b});var p=i(10467),a=i(73664),I=i(21419),y=i(79924),h=i(15083),t=i(2615),L=i(42248),B=i(40935),E=i(37589),x=i(38132),U=i(45035),f=i(57343),K=i(4051),r=i(66667),c=i(64371),v=i(96563),O=i(72200);const l=(M,P,A)=>({"native-top":M,"no-native":P,"toolbar-ios":A});function u(M,P){if(1&M){const A=a.RV6();a.j41(0,"div",11)(1,"ion-button",14),a.bIt("click",function(){t.eBV(A);const m=a.XpG();return t.Njj(m.openSelectAccount())}),a.nrm(2,"ion-icon",15),a.k0s()()}if(2&M){const A=a.XpG();a.R7$(2),a.Y8G("src",A.selectAccount.toolbarIcon??"assets/graphics/options/toolbar/ico_profile1.svg")("ngClass",A.getRoute()?"settings":"")}}let b=(()=>{var M;class P{constructor(n,m,d,R,_,C,s,e,o){this.segmentAnalytics=n,this.storage=m,this.route=d,this.platform=R,this.modalService=_,this.textManagementService=C,this.chromecastservice=s,this.activatedRoute=e,this.playerService=o,this.EVENT_TRACK_057=I.O0,this.initLogoTigoSports=y.SS,this.isadaptable=y.Es,this.native=h.Ii.isNativePlatform(),this.ios=h.Ii.getPlatform().includes("ios"),this.hideButton=!1,this.clodemodaldevicecontrol=new a.bkB,this.ValidateAndroidChromecast().then()}ngOnDestroy(){this.sub?.unsubscribe(),this.datachromecast&&this.platform.platforms().indexOf("android")>=0&&(this.datachromecast?.unsubscribe(),this.isDeviceControl?.unsubscribe())}ngOnInit(){var n=this;return(0,p.A)(function*(){n.texts=yield n.textManagementService.getTexts(),n.selectAccount=n.texts.MENUSETTINGS.selectAccount,n.isLogged=n.storage.getAccessToken(),n.sub=n.playerService.hideToolbarButton$.subscribe(m=>{n.hideButton=m})})()}eventTrack(n,m){var d=this;return(0,p.A)(function*(){yield d.segmentAnalytics.eventTrack(n,m)})()}getRoute(){return!!this.route.url.includes("ajustes")}goToSettings(){this.eventTrack(I.O0,{journey:"settings"}),this.eventTrack(I.Bx,{flag:"settings",link_url:"/ajustes",journey:"user interface"}),this.validateReplaceUrl("/ajustes")}openSelectAccount(){var n=this;return(0,p.A)(function*(){yield n.modalService.messageSelectAccount(null,null,!0)})()}goToHome(){this.route.navigate(["/inicio"],{replaceUrl:!0})}validateReplaceUrl(n){"1"==this.storage.getVideoActive()&&(this.route.navigate([n],{replaceUrl:!0}),this.storage.setVideoActive("0"))}ValidateAndroidChromecast(){var n=this;return(0,p.A)(function*(){if(n.activatedRoute.snapshot.params.id&&n.activatedRoute.snapshot.params.type&&n.route.url.includes("detail/")&&n.platform.platforms().indexOf("android")>=0&&n.isadaptable&&h.Ii.isNativePlatform()){const{CHROMECAST:R}=yield n.textManagementService.getTexts();R?.enable?(console.log("ENTRA A CHROmecast"),n.appid=R?.appId,n.ValidateIsInitializedChromecast().then()):n.storage.setStatusInitChromecast("false")}})()}ValidateIsInitializedChromecast(){var n=this;return(0,p.A)(function*(){n.appid&&(yield n.chromecastservice.initializePlugin(n.appid).then(()=>{n.storage.setStatusInitChromecast("true")}).catch(()=>{n.storage.removeStatusInitChromecast()}))})()}static#t=M=()=>(this.\u0275fac=function(m){return new(m||P)(a.rXU(L.M),a.rXU(B.w),a.rXU(E.Ix),a.rXU(U.OD),a.rXU(K.$),a.rXU(r.c),a.rXU(c.R),a.rXU(E.nX),a.rXU(v.x))},this.\u0275cmp=a.VBU({type:P,selectors:[["app-main-mobile-toolbar"]],outputs:{clodemodaldevicecontrol:"clodemodaldevicecontrol"},standalone:!1,decls:16,vars:8,consts:[[1,"d-lg-none"],[3,"ngClass"],[1,"container"],[1,"row","justify-content-between"],[1,"col-auto","align-self-center","cursor-toolbar"],["
1width","160","height","40",3,"click","src"],[1,"col-auto","align-self-center"],[1,"row"],[1,"col-auto","toolbar-option",2,"display","none"],["expand","full","color","tertiary",1,"m-0","p-0"],["src","assets/graphics/options/toolbar/ico_cast.svg"],[1,"col-auto","toolbar-option"],["expand","full","routerLink","/ajustes",1,"m-0","p-0",3,"click"],["src","assets/graphics/options/toolbar/ico_settings.svg",3,"ngClass"],["expand","full",1,"m-0","p-0",3,"click"],[2,"width","28px",3,"src","ngClass"]],template:function(m,d){1&m&&(a.j41(0,"div",0)(1,"ion-header")(2,"ion-toolbar",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"img",5),a.bIt("click",function(){return d.goToHome()}),a.k0s()(),a.j41(7,"div",6)(8,"div",7)(9,"div",8)(10,"ion-button",9),a.nrm(11,"ion-icon",10),a.k0s()(),a.nVh(12,u,3,2,"div",11),a.j41(13,"div",11)(14,"ion-button",12),a.bIt("click",function(){return d.goToSettings()}),a.nrm(15,"ion-icon",13),a.k0s()()()()()()()()()),2&m&&(a.R7$(2),a.Y8G("ngClass",a.sMw(4,l,d.native&&!d.ios,!d.native,d.ios)),a.R7$(4),a.Y8G("src",d.initLogoTigoSports,a.B4B),a.R7$(6),a.vxM(null!=d.selectAccount&&d.selectAccount.on&&!d.hideButton&&d.isLogged?12:-1),a.R7$(3),a.Y8G("ngClass",d.getRoute()?"settings":""))},dependencies:[O.YU,x.Wk,f.Jm,f.eU,f.iq,f.ai,f.N7],styles:["ion-toolbar[_ngcontent-%COMP%]{--background: #001EB4 !important}.native-top[_ngcontent-%COMP%]{padding-top:0!important}.toolbar-ios[_ngcontent-%COMP%]{padding-top:0!important;margin-top:env(safe-area-inset-top)!important}.no-native[_ngcontent-%COMP%]{padding-top:0!important}.cursor-toolbar[_ngcontent-%COMP%]{cursor:pointer}.top-bar-mobile[_ngcontent-%COMP%]{margin-top:var(--ion-safe-area-top);padding-top:15px!important}.toolbar-option[_ngcontent-%COMP%]{font-size:14px;padding-right:0}.toolbar-option[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{--background-hover: transparent !important;--ripple-color: transparent;--box-shadow: none}.settings[_ngcontent-%COMP%]{color:#ffc409}"]}))}return M(),P})()}}]);

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.