PageSourceSearch

https://www.flashscore.si/res/_fs/build/liveCommentary-updater.e0e0127.js

js flashscore.si collected 2026-09-25 09:42:47 UTC 6,416 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflashscore=self.webpackChunkflashscore||[]).push([[94834],{85020(e,t,i){i.d(t,{getInstanceOfSoccerLiveCommentaryUpdater:()=>C});var r=i(46796),s=i(33136),o=i(15375),h=i(49660);class n{constructor(e,t){this.groups=void 0,this.providerNote=void 0,this.groups=e,this.providerNote=t}getGroups(){return this.groups}getProviderNote(){return this.providerNote}hasAnyComments(){return this.getGroups().some(e=>e.getRows().length>0)}}class l{constructor(){this.groups=[],this.providerNote=""}addGroup(e){return this.groups=[...this.groups,e],this}setProviderNote(e){return this.providerNote=e,this}build(){return new n(this.groups,this.providerNote)}}class a{constructor(e,t){this.liveCommentary=void 0,this.signature=void 0,this.liveCommentary=e,this.signature=t}getLiveCommentary(){return this.liveCommentary}getSignature(){return this.signature}}class u{constructor(){this.liveCommentaryBuilder=new l,this.signature=""}setSignature(e){return this.signature=e,this}setLiveCommentaryBuilder(e){return this.liveCommentaryBuilder=e,this}build(){return new a(this.liveCommentaryBuilder.build(),this.signature)}}class m{constructor(e,t,i){this.headline=void 0,this.urlIdent=void 0,this.rows=void 0,this.headline=e,this.urlIdent=t,this.rows=i}getHeadline(){return this.headline}getUrlIdent(){return this.urlIdent}getRows(){return this.rows}}class d{constructor(){this.headline="",this.urlIdent="",this.rows=[]}setHeadline(e){return this.headline=e,this}addRows(e){return this.rows=[...this.rows,e],this}setUrlIdent(e){return this.urlIdent=e,this}build(){return new m(this.headline,this.urlIdent,this.rows)}}class g{constructor(e,t,i,r,s,o,h,n,l,a){this.time=void 0,this.timeTitle=void 0,this.incidentType=void 0,this.text=void 0,this.isBold=void 0,this.isImportant=void 0,this.highlightImageResolution=void 0,this.highlightImageUrl=void 0,this.homeScore=void 0,this.awayScore=void 0,this.time=e,this.timeTitle=t,this.incidentType=i,this.text=r,this.isBold=s,this.isImportant=o,this.highlightImageResolution=h,this.highlightImageUrl=n,this.homeScore=l,this.awayScore=a}getTime(){return this.time}getTimeTitle(){return this.timeTitle}getIncidentType(){return this.incidentType}getText(){return this.text}getIsBold(){return this.isBold}getIsImportant(){return this.isImportant}getHighlightImageUrl(){return this.highlightImageUrl}hasScore(){return Boolean(this.getHomeScore())&&Boolean(this.getAwayScore())}getHomeScore(){return this.homeScore}getAwayScore(){return this.awayScore}}class v{constructor(){this.time="",this.timeTitle="",this.incidentType=null,this.text="",this.isBold=!1,this.isImportant=!1,this.highlightImageResolution="",this.highlightImageUrl="",this.homeScore="",this.awayScore=""}setTime(e){return this.time=e,this}setTimeTitle(e){return this.timeTitle=e,this}setIncidentType(e){return this.incidentType=e,this}setText(e){return this.text=e,this}setIsBold(e){return this.isBold=e,this}setIsImportant(e){return this.isImportant=e,this}setHighlightImageResolution(e){return this.highlightImageResolution=e,this}setHighlightImageUrl(e){return this.highlightImageUrl=e,this}setHomeScore(e){return this.homeScore=e,this}setAwayScore(e){return this.awayScore=e,this}build(){return new g(this.time,this.timeTitle,this.incidentType,this.text,this.isBold,this.isImportant,this.highlightImageResolution,this.highlightImageUrl,this.homeScore,this.awayScore)}}var c=i(58034),y=i(24979);class p extends h.M{constructor(){super(...arguments),this.liveCommentaryFeedBuilder=new u,this.liveCommentaryBuilder=new l,this.allLiveCommentaryGroupBuilder=new d,this.importantLiveCommentaryGroupBuilder=new d,this.liveCommentaryRowBuilder=null}startFeed(){this.liveCommentaryBuilder=new l,this.liveCommentaryFeedBuilder=new u,this.allLiveCommentaryGroupBuilder=new d,this.importantLiveCommentaryGroupBuilder=new d}startLiveCommentaryRow(){this.liveCommentaryRowBuilder=new v}endLiveCommentaryRow(){if(this.liveCommentaryRowBuilder){var e=this.liveCommentaryRowBuilder.build();this.allLiveCommentaryGroupBuilder.addRows(e),e.getIsImportant()&&this.importantLiveCommentaryGroupBuilder.addRows(e),this.liveCommentaryRowBuilder=null}}parse(e,t){var i,r,s,o,h,n,l,a,u;switch(e){case c.UZx:this.liveCommentaryFeedBuilder.setSignature(t);break;case c.r8d:this.allLiveCommentaryGroupBuilder.setHeadline("TRANS_LIVE_COMMENTARY_BOOKMARK_ALL"),this.allLiveCommentaryGroupBuilder.setUrlIdent("TRANS_DETAIL_BOOKMARK_URL_IDENT_LIVE_COMMENTARY_ALL"),this.importantLiveCommentaryGroupBuilder.setHeadline("TRANS_LIVE_COMMENTARY_BOOKMARK_IMPORTANT"),this.importantLiveCommentaryGroupBuilder.setUrlIdent("TRANS_DETAIL_BOOKMARK_URL_IDENT_LIVE_COMMENTARY_IMPORTANT");break;case c.pIp:this.endLiveCommentaryRow(),this.startLiveCommentaryRow(),null==(i=this.liveCommentaryRowBuilder)||i.setTime(t);break;case c.Mbv:null==(r=this.liveCommentaryRowBuilder)||r.setTimeTitle(t);break;case c.UkY:var m;if((0,y.e)(t))null==(m=this.liveCommentaryRowBuilder)||m.setIncidentType(t);break;case c.rMK:null==(s=this.liveCommentaryRowBuilder)||s.setText(t);break;case c.uTK:null==(o=this.liveCommentaryRowBuilder)||o.setIsBold(this.getBooleanValueOf(t));break;case c.Qem:null==(h=this.liveCommentaryRowBuilder)||h.setIsImportant(this.getBooleanValueOf(t));break;case c.piV:null==(n=this.liveCommentaryRowBuilder)||n.setHighlightImageResolution(t);break;case c.CwD:null==(l=this.liveCommentaryRowBuilder)||l.setHighlightImageUrl(t);break;case c.Oby:null==(a=this.liveCommentaryRowBuilder)||a.setHomeScore(t);break;case c.T0G:null==(u=this.liveCommentaryRowBuilder)||u.setAwayScore(t);break;case c.Zeq:this.liveCommentaryBuilder.setProviderNote(t)}}endFeed(){this.endLiveCommentaryRow(),this.liveCommentaryBuilder.addGroup(this.allLiveCommentaryGroupBuilder.build()),this.liveCommentaryBuilder.addGroup(this.importantLiveCommentaryGroupBuilder.build()),this.liveCommentaryFeedBuilder.setLiveCommentaryBuilder(this.liveCommentaryBuilder)}getParsedModel(){return this.liveCommentaryFeedBuilder.build()}}function C(e,t,i,o){var h=new p,n=o?e.getSoccerLiveCommentaryOldPreviewFeed():e.getSoccerLiveCommentaryOldFeed(),l=new s.Q(n,t,h);return new w(i,l,r.z.STATIC_COMMENT_HASH)}class w extends o.V{constructor(e,t,i){super(e);var r=this.createInitialRequestObservable(t),s=this.createDataObserverFromGameFeed(i,t);this.combineDataObservables(null,[r,s])}getSignature(){var e=this.dataBehaviorSubject.getValue();return e?e.getSignature():""}}}}]);

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.