PageSourceSearch

https://www.wasafibet.co.tz/js/m-boosted.js

js wasafibet.co.tz collected 2026-10-08 07:22:27 UTC 4,194 bytes, 1 lines download raw bytes

1import{_ as S}from"./locked.js";import{t as T,i as A,s as j,f as k,o,g as i,F as h,j as b,O as m,l,n as d,p as M,K as R}from"./vendor.js";import{b as x,u as O,e as y}from"./index.js";const V={class:"games-slide mt-4"},z=["onClick"],F={class:"l"},H={key:0,class:"t live"},I={key:1,class:"t live"},E={key:0},K={key:2,class:"t"},L=["onClick"],P={class:"n"},q={class:"n-1"},G={class:"n-2"},J={class:"s"},Q={class:"s-1"},U={class:"s-2"},W=["onClick","disabled"],X={class:"t"},Y={key:0,class:"b"},Z={key:1,class:"b",style:{"text-align":"-webkit-center"}},ss={key:1,class:"markets markets-1"},es=["onClick"],ts={__name:"m-boosted",props:["sportsbook_info"],setup(g){const v=g,{sportsbook_info:r}=T(v),w=A("diff"),{appRef:_,onAlert:C}=O(),{betslip:n}=j(y()),{onBetslipSelection:$}=y(),p=k(()=>_&&_.config!=null?_.config:""),f=k(()=>{let e=r.value&&r.value.boosted!=null?r.value.boosted:[];for(let s=0;s<e.length;s++){let a=w(e[s].start_time);a=Math.ceil(Number(a)/60),e[s].diff=Number(a),e[s].status_desc=e[s].status==1&&(!e[s].status_desc||e[s].status_desc=="null")?"live":e[s].status_desc;var t=e[s].result&&e[s].result!="null"?e[s].result.split(":"):[];e[s].home_score=t.length!=0&&!(t[0]=="null"||!t[0])?t[0]:"",e[s].away_score=t.length!=0&&!(t[1]=="null"||!t[1])?t[1]:"",e[s].m_market=e[s].markets!=null&&e[s].markets&&e[s].markets.length!=0&&e[s].markets[0].lines!=null&&e[s].markets[0].lines&&e[s].markets[0].lines.length!=0?{sub_type_id:e[s].markets[0].sub_type_id,odd_type:e[s].markets[0].odd_type,specifiers:e[s].markets[0].lines[0].specifiers,outcomes:e[s].markets[0].lines[0].outcomes}:""}return e});function B(e,t){let s="";if(n.value[e]!=null){let a=n.value[e].outcome_name.replace(/\s+/g,""),c=n.value[e].parent_match_id+""+n.value[e].sub_type_id+a,u=t.outcome_name.replace(/\s+/g,""),N=e+""+t.sub_type_id+u;c==N&&(s="active")}return s}function D(e,t){let s=p.value&&p.value.betslip!=null?p.value.betslip:32,a=n.value?Object.values(n.value):[],c=e.parent_match_id;if(a.length>=s&&n.value[c]==null)C({status_code:400,message:"A maximum of "+s+" selections is allowed in the betslip",status_description:""});else{let u={outcome_id:t.outcome_id,outcome_key:t.outcome_key,outcome_name:t.outcome_name,odd_value:t.odd_value,prev_odd_value:t.odd_value,status:t.status,live:t.live,sub_type_id:e.m_market.sub_type_id,odd_type:e.m_market.odd_type,specifiers:t.specifiers,parent_match_id:e.parent_match_id,home_team:e.home_team,away_team:e.away_team,start_time:e.start_time,sport_id:e.sport_id,sport_name:e.sport_name,competition_id:e.competition_id,competition_name:e.competition_name,sportsbook:"sportsbook",jackpot:0,rebet:0,booking_code:"",time_stamp:new Date().getTime(),timestamp:new Date().getTime()};$({selection:u})}}return(e,t)=>(o(),i("div",V,[(o(!0),i(h,null,b(f.value,s=>(o(),i("div",{class:m(["game",{fill:f.value.length==1}])},[l("div",{onClick:a=>e.$router.push("/sportevent/"+s.parent_match_id),class:"meta"},[l("div",F,d(s.category_name)+" / "+d(s.competition_name),1),s.diff>-60&&s.diff<0?(o(),i("div",H," STARTS IN • "+d(Math.abs(s.diff))+"' ",1)):s.status==1?(o(),i("div",I,[M(d(e.$filters.uppercase(s.status_desc)),1),s.periodic_time?(o(),i("span",E," • "+d(s.periodic_time)+"'",1)):R("",!0)])):(o(),i("div",K,d(e.$filters.fdDDMMHHmm(s.start_time)),1))],8,z),l("div",{onClick:a=>e.$router.push("/sportevent/"+s.parent_match_id),class:"teams"},[l("div",P,[l("div",q,d(s.home_team),1),l("div",G,d(s.away_team),1)]),l("div",J,[l("div",Q,d(s.home_score),1),l("div",U,d(s.away_score),1)])],8,L),s.m_market?(o(),i("div",{key:0,class:m(["markets","markets-"+s.m_market.outcomes.length])},[(o(!0),i(h,null,b(s.m_market.outcomes,a=>(o(),i("button",{onClick:c=>D(s,a),class:m({active:B(s.parent_match_id,a)}),disabled:a.status!=1,key:s.parent_match_id+""+s.m_market.sub_type_id+a.outcome_id},[l("span",X,d(a.outcome_key),1),a.status==1?(o(),i("span",Y,d(a.odd_value),1)):(o(),i("span",Z,t[0]||(t[0]=[l("img",{src:S},null,-1)])))],10,W))),128))],2)):(o(),i("div",ss,[l("button",{onClick:a=>e.$router.push("/sportevent/"+s.parent_match_id)},t[1]||(t[1]=[l("span",{class:"b"},"Bet now",-1)]),8,es)]))],2))),256))]))}},ls=x(ts,[["__scopeId","data-v-316e2906"]]);export{ls as default};

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.