PageSourceSearch

https://res.365scores.com/static/js/proposition-bets-widget.e970bf88.chunk.js

js 365scores.com collected 2026-09-24 09:26:29 UTC 35,066 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkcra=self.webpackChunkcra||[]).push([[5115],{68905:function(e,t,o){o.d(t,{L:function(){return f}});var i=o(89379),r=(o(49198),o(52049)),n=o(96580),s=o.n(n),l=o(64467),a=o(47015),c=o(81832),p=o(12265),u=o(51910),d=o(85582),m=(0,r.PA)((function(e){var t=e.game,o=e.controller,r=e.className,n=e.shouldRenderEntityLogo,m=void 0===n||n,A=o.state,v=A.device.isSmallView,g=A.terms,h=A.includeSportType,_=g.FM_VS_NEWWEB,y=g.FM_AT_NEWWEB,k=t.linkModel,P=t.homeCompetitor,f=t.awayCompetitor,T=t.domainModel,S=t.date,w=t.gameLinkModel,I=T.isHomeAwayInverted?y:_,C={className:s()(a.A.game_header_container,r,(0,l.A)((0,l.A)((0,l.A)({},a.A.small_view,v),a.A.partial,!m),a.A.clickable,!m&&k)),model:w||k,routeProps:{dataSource:{game:{apiModel:T.apiModel,homeCompetitor:T.homeCompetitor,awayCompetitor:T.awayCompetitor,sport:T.sport,competition:T.competition,startTime:T.startTime}}}},B={className:s()(a.A.entity_logo),width:24,height:24},b={className:s()(a.A.competitor_name)};return(0,d.jsxs)(c.N,(0,i.A)((0,i.A)({},C),{},{children:[m?(0,d.jsx)(p.X,(0,i.A)((0,i.A)({},B),{},{entity:P})):null,(0,d.jsx)(u.g,(0,i.A)((0,i.A)({},b),{},{text:P.shortName||P.name})),(0,d.jsx)("div",{className:s()(a.A.competition_separator),children:I}),m?(0,d.jsx)(p.X,(0,i.A)((0,i.A)({},B),{},{entity:f})):null,(0,d.jsx)(u.g,(0,i.A)((0,i.A)({},b),{},{text:f.shortName||f.name})),m?(0,d.jsx)("div",{className:s()(a.A.header_date),children:"".concat(S).concat(h?" | ".concat(t.domainModel.sport.name):"")}):null]}))})),A="entity-header_header_button__x26Cw",v="entity-header_logo__Vdf4w",g="entity-header_competition__bh0J8",h=(0,r.PA)((function(e){var t=e.entity,o=e.title,r=e.className,n=e.onClick,l=t.name,a=o||l,u={className:s()(A,r),model:t.linkModel,onClick:n},m={className:s()(v),entity:t,width:24,height:24};return(0,d.jsxs)(c.N,(0,i.A)((0,i.A)({},u),{},{children:[(0,d.jsx)(p.X,(0,i.A)({},m)),(0,d.jsx)("div",{className:s()(g),children:a})]}))})),_=o(24673),y=o(31023),k=o(35251),P=(0,r.PA)((function(e){var t=e.entity,o=e.title,r=e.controller,n=e.className,s=e.source,l=t instanceof _.t,a={game:t,className:n,controller:r},c={entity:t,className:n,title:o,onClick:function onClick(){return r.action(y.TH.entityClick,{entityId:t.id,entityName:t.nameForURL,entityType:k.uq.ANALYTICS.ENTITY_DISPLAY_TYPES[t.objectType],source:s,sportTypeId:t.sport.id,currentLinkModel:r.state.currentLinkModel}),!0}};return l?(0,d.jsx)(m,(0,i.A)({},a)):(0,d.jsx)(h,(0,i.A)({},c))})),f=(0,r.PA)((function(e){var t=e.controller,o=e.title,r=e.entity,n=e.className,l=e.source,a=e.TitleTag,c=void 0===a?k.qb.div:a,p={entity:r,title:o,className:n,controller:t,source:l};return r?(0,d.jsx)(P,(0,i.A)({},p)):(0,d.jsx)(c,{className:s()(n),children:o})}))},701:function(e,t,o){o.d(t,{v:function(){return g}});var i=o(89379),r=(o(49198),"base_title_bookie_logo__-KzvT"),n="base_title_small_view__xU2sC",s="base_title_element__t+Yyt",l=o(96580),a=o.n(l),c=o(64467),p=o(52049),u=o(35251),d=o(60939),m=o(78286),A=o(85582),v=(0,p.PA)((function(e){var t,o,s,l=e.controller,p=e.bookmaker,v=e.source,g=e.sportTypeId,h=null===l||void 0===l||null===(t=l.state)||void 0===t||null===(o=t.currentLinkModel)||void 0===o?void 0:o.name,_=null===l||void 0===l||null===(s=l.state)||void 0===s?void 0:s.device.isSmallView,y=(0,m.N)(l,{bookieId:null===p||void 0===p?void 0:p.id,bookieName:null===p||void 0===p?void 0:p.name,urlLink:null===p||void 0===p?void 0:p.link,widget:u.uq.ANALYTICS.WIDGET_TYPES[h],impressionType:u.uq.ANALYTICS.BETS_IMPRESSION_TYPES.odds,hasOdds:!!p,currentLinkModelName:h,source:v}),k=y.bookieHrefModel,P=y.onBookieClick,f={controller:l,betsImpressionParams:{bookieId:null===p||void 0===p?void 0:p.id,bookieName:null===p||void 0===p?void 0:p.name,sportTypeId:g},className:a()((0,c.A)({},n,_),r),bookmaker:p,logoWidth:60,bookieHrefModel:k,clickable:p&&P,onClick:function onClick(){return null===P||void 0===P?void 0:P(p)}};return p?(0,A.jsx)(d.T,(0,i.A)({},f)):null})),g=function BaseSideTitle(e){var t=e.controller,o=e.bookmaker,r=e.ElementComponent,n={controller:t,bookmaker:o,source:e.source,sportTypeId:e.sportTypeId};return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(v,(0,i.A)({},n)),r?(0,A.jsx)("div",{className:a()(s),children:r}):null]})}},73494:function(e,t,o){o.d(t,{Z:function(){return m}});var i=o(89379),r=o(64467),n=(o(49198),o(68905)),s=o(701),l=o(52049),a=o(96580),c=o.n(a),p=o(47491),u=o(35251),d=o(85582),m=(0,l.PA)((function(e){var t,o,l=e.controller,a=e.title,m=e.entity,A=e.bookmaker,v=e.className,g=e.ElementComponent,h=e.source,_=e.sportTypeId,y=e.onClick,k=e.TitleTag,P=e.shouldRenderSideElement,f=void 0===P||P,T=k||(null!==l&&void 0!==l&&null!==(t=l.device)&&void 0!==t&&t.isSmallView?u.qb.h2:u.qb.h3),S={className:c()(p.A.title_container,(0,r.A)({},p.A.small_view,null===l||void 0===l||null===(o=l.device)||void 0===o?void 0:o.isSmallView),(0,r.A)({},p.A.no_entity,!m),v),onClick:function onClick(){return null===y||void 0===y?void 0:y()}},w={title:a,entity:m,controller:l,className:p.A.title,TitleTag:T,source:h},I={controller:l,bookmaker:A,ElementComponent:g,source:h,sportTypeId:_};return a||m?(0,d.jsxs)("div",(0,i.A)((0,i.A)({},S),{},{children:[(0,d.jsx)(n.L,(0,i.A)({},w)),f?(0,d.jsx)(s.v,(0,i.A)({},I)):null]})):null}))},8081:function(e,t,o){o.d(t,{g:function(){return d}});var i=o(89379),r=(o(49198),o(81832)),n=o(63555),s=o(44522),l=o(85582),a=function SeeAllFooterButton(e){return(0,l.jsxs)("div",{className:"see-all-footer-button-container",children:[(0,l.jsxs)("span",{children:["\xa0 \xa0 \xa0",e.buttonLabel,"\xa0"]}),(0,l.jsx)("span",{children:e.isRtl?(0,l.jsx)(n.U,{className:"see-all-footer-button-arrow"}):(0,l.jsx)(s.b,{className:"see-all-footer-button-arrow"})})]})},c=(o(17007),o(31023)),p=o(96580),u=o.n(p),d=function SeeAllFooterWidget(e){var t=e.buttonLabel,o=e.isRtl,n=e.linkModel,s=e.routeProps,p=e.onClick,d=e.noFollow,m=e.controller,A=e.source,v=e.shouldSe
1ndAnalyticsEvent,g=e.className,h=m.state,_=m.domUtils,y=h.appState.settings,k=h.currentLinkModel,P=y.isWidget,f=y.bootstrapSettings.blockInnerLinks,T=!P||!f,S={buttonLabel:t,isRtl:o},w={className:u()("see-all-footer",g),model:n,routeProps:s,shouldScrollToTop:!0,onClick:function onClick(){return v&&function sendAnalyticsEvent(){m.action(c.TH.onSeeAllClick,{source:A,currentLinkModel:k})}(),_.scrollToTop(),!p||p()},noFollow:d};return T?(0,l.jsx)(r.N,(0,i.A)((0,i.A)({},w),{},{children:(0,l.jsx)(a,(0,i.A)({},S))})):null}},83231:function(e,t,o){o.d(t,{L:function(){return u}});var i=o(36755),r=o(10467),n=o(23029),s=o(92901),l=o(39874),a=o(85501),c=o(4693),p=o(78227),u=function(e){function PropositionBetsPopupDisplayHandler(){var e;(0,n.A)(this,PropositionBetsPopupDisplayHandler);for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=(0,l.A)(this,PropositionBetsPopupDisplayHandler,[].concat(o))).type=p.W.ACTION_TYPES.onPopupClick,e}return(0,a.A)(PropositionBetsPopupDisplayHandler,e),(0,s.A)(PropositionBetsPopupDisplayHandler,[{key:"action",value:function(){var e=(0,r.A)((0,i.A)().mark((function _callee(e){var t;return(0,i.A)().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:e&&!this.state.appState.settings.isWidget?(this.state.popupDisplay.athleteId=null===e||void 0===e?void 0:e.athleteId,this.state.popupDisplay.lineTypeId=null===e||void 0===e?void 0:e.lineTypeId,this.state.popupDisplay.gameId=null===e||void 0===e?void 0:e.gameId):null===(t=this.state.popupDisplay)||void 0===t||t.clear();case 1:case"end":return o.stop()}}),_callee,this)})));return function action(t){return e.apply(this,arguments)}}()}])}(c.n)},9735:function(e,t,o){o.d(t,{V:function(){return c}});var i=o(23029),r=o(92901),n=o(39874),s=o(85501),l=o(57203),a=o(35251),c=function(e){function BetsImageRequestParam
1s(){var e;return(0,i.A)(this,BetsImageRequestParams),(e=(0,n.A)(this,BetsImageRequestParams)).resourceName="".concat(e.resourceName,"/Odds"),e.ratio=1,e}return(0,s.A)(BetsImageRequestParams,e),(0,r.A)(BetsImageRequestParams,[{key:"defaultFormat",get:function get(){return a.Zb.SVG}}])}(l.l)},51082:function(e,t,o){o.d(t,{V:function(){return c}});o(49198);var i=o(88911),r=o(36976),n=o(96580),s=o.n(n),l=o(56066),a=o(85582),c=function KeyboardArrowDown(e){var t=e.style,o=e.className;return(0,a.jsx)(r.B,{className:s()(o,l.A.default),style:t,children:(0,a.jsx)(i.w,{d:"M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"})})}},63555:function(e,t,o){o.d(t,{U:function(){return c}});o(49198);var i=o(88911),r=o(36976),n=o(96580),s=o.n(n),l=o(56066),a=o(85582),c=function KeyboardArrowLeft(e){var t=e.className,o=e.onClick,n=e.style;return(0,a.jsx)(r.B,{className:s()(t,l.A.default),style:n,onClick:function onClick(){return o&&o()},children:(0,a.jsx)(i.w,{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})})}},44522:function(e,t,o){o.d(t,{b:function(){return c}});o(49198);var i=o(88911),r=o(36976),n=o(56066),s=o(96580),l=o.n(s),a=o(85582),c=function KeyboardArrowRight(e){var t=e.className,o=e.style,s=e.onClick;return(0,a.jsx)(r.B,{className:l()(t,n.A.default),style:o,onClick:function onClick(){return s&&s()},children:(0,a.jsx)(i.w,{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"})})}},75875:function(e,t,o){o.d(t,{w:function(){return c}});o(49198);var i=o(88911),r=o(36976),n=o(96580),s=o.n(n),l=o(56066),a=o(85582),c=function KeyboardArrowUp(e){var t=e.style,o=e.className;return(0,a.jsx)(r.B,{className:s()(o,l.A.default),style:t,children:(0,a.jsx)(i.w,{d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"})})}},7447:function(e,t,o){o.d(t,{X:function(){return p}});var i=o(89379),r=o(36755),n=o(10467),s=o(49198),l=o(74350),a=o(85582),c=(0,l.k)((0,n.A)((0,r.A)().mark((function _callee(){return(0,r.A)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all([o.e(4100),o.e(9493),o.e(613),o.e(9419),o.e(6494),o.e(7659),o.e(1597),o.e(7141),o.e(3764),o.e(5551),o.e(8797),o.e(3733),o.e(5577),o.e(5468)]).then(o.bind(o,66346)));case 1:case"end":return e.stop()}}),_callee)})))),p=function PropositionBetsDetailsModuleAsync(e){return(0,a.jsx)(s.Suspense,{fallback:(0,a.jsx)("div",{}),children:(0,a.jsx)(c,(0,i.A)({},e))})}},35362:function(e,t,o){o.r(t),o.d(t,{PropositionBetsWidgetComponent:function(){return st},PropositionBetsWidgetComponentProps:function(){return nt},default:function(){return at}});var i=o(89379),r=o(64467),n=o(92901),s=o(23029),l=o(39874),a=o(85501),c=o(49198),p=o(50204),u=o(60436),d=o(94790),m=o(3580),A=o(80256),v=function(e){function PropositionBetsWidgetTerms(){return(0,s.A)(this,PropositionBetsWidgetTerms),(0,l.A)(this,PropositionBetsWidgetTerms,arguments)}return(0,a.A)(PropositionBetsWidgetTerms,e),(0,n.A)(PropositionBetsWidgetTerms)}(o(67).h),g=function(e){function PropositionBetsWidgetRemoteConfig(){return(0,s.A)(this,PropositionBetsWidgetRemoteConfig),(0,l.A)(this,PropositionBetsWidgetRemoteConfig,arguments)}return(0,a.A)(PropositionBetsWidgetRemoteConfig,e),(0,n.A)(PropositionBetsWidgetRemoteConfig)}(o(81879).C),h=o(35251),_=function(e){function PropositionBetsWidgetConfig(e,t){var o;return(0,s.A)(this,PropositionBetsWidgetConfig),(o=(0,l.A)(this,PropositionBetsWidgetConfig,["propositionBetsWidget",null,e,t])).source=h.uq.ANALYTICS.SOURCES.propositionBets,o}return(0,a.A)(PropositionBetsWidgetConfig,e),(0,n.A)(PropositionBetsWidgetConfig)}(A.O);_.injectables=[v,g];var y,k,P,f,T=o(22300),S=o(54167),w=o(793),I=o(31279),C=o(88358),B=o(15448),b=o(48841),E=o(49116),W=o(58272),N=o(30396),j=o(8791),x=o(8670),O=o(63990),M=o(76108),R=o(31023),L=o(21924),D=o(78227),Y=o(53552),H=o(49351),G=(f=function(e){function PropositionBetsWidgetState(e,t,o,i,r,n,a){var c;return(0,s.A)(this,PropositionBetsWidgetState),c=(0,l.A)(this,PropositionBetsWidgetState,[e,t,o,i,r,n,a]),(0,S.A)(c,"bets",k,c),(0,S.A)(c,"popupDisplay",P,c),c.popupDisplay=new Y.m,(0,I.Gn)(c),c}return(0,a.A)(PropositionBetsWidgetState,e),(0,n.A)(PropositionBetsWidgetState,[{key:"isPopulated",get:function get(){var e,t;return!this.props.isPreview||(null===(e=this.dataSource)||void 0===e||null===(t=e.propositionBets)||void 0===t?void 0:t.length)>0}},{key:"isVisible",get:function get(){var e,t,o;return(null===(e=this.popupDisplay)||void 0===e?void 0:e.athleteId)>0&&(null===(t=this.popupDisplay)||void 0===t?void 0:t.lineTypeId)>0&&(null===(o=this.popupDisplay)||void 0===o?void 0:o.gameId)>0}},{key:"previewBets",get:function get(){var e;return null===(e=this.bets)||void 0===e?void 0:e.slice(0,D.W.previewBets)}},{key:"game",get:function get(){var e;return null===(e=this.dataSource.games)||void 0===e?void 0:e.first()}},{key:"statusGroup",get:function get(){var e;return null===(e=this.game)||void 0===e?void 0:e.statusGroup}},{key:"isScheduled",get:function get(){return this.statusGroup===h.ep.scheduled}},{key:"isLive",get:function get(){return this.statusGroup===h.ep.started}},{key:"isEnded",get:function get(){return this.statusGroup===h.ep.ended}},{key:"isGameRoute",get:function get(){var e;return(null===(e=this.currentLinkModel)||void 0===e?void 0:e.name)===R.V2.game}},{key:"gameCenterLinkModel",get:function get(){var e,t=null;if((null===(e=this.game)||void 0===e?void 0:e.id)>0){var o=new H.Z({id:this.game.id});t=new L.L(this.game.matchupId,this.game.sport.nameForURL,this.game.competition.nameForURL,this.game.nameForUrl,o,this.game.isFollow)}return t}},{key:"bookmaker",get:function get(){var e,t=null===(e=this.dataSource.bookmakers)||void 0===e?void 0:e.first();return t?new M.w(t):null}},{key:"title",get:function get(){return this.props.isPreview?this.terms.WEB_PROPS_FILTER_PROPS:null}},{key:"shouldRenderEmptyState",get:function get(){return!this.props.isPreview&&!this.bets}},{key:"shouldRenderPreview",get:function get(){return this.props.isPreview}},{key:"sportTypeId",get:function get(){var e;return null===(e=this.appState.context.sportType)||void 0===e?void 0:e.id}},{key:"topBookmakerId",get:function get(){return this.appState.topBookmakerId}}])}(C.R),f.injectables=[].concat((0,u.A)(B.d.injectables),[b.e,E.t,W.i,N.B,j.h,x.B,_]),y=f,k=(0,w.A)(y.prototype,"bets",[I.sH],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,w.A)(y.prototype,"popupDisplay",[I.sH],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,w.A)(y.prototype,"isPopulated",[I.$Z],Object.getOwnPropertyDescriptor(y.prototype,"isPopulated"),y.prototype),(0,w.A)(y.prototype,"isVisible",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"isVisible"),y.prototype),(0,w.A)(y.prototype,"previewBets",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"previewBets"),y.prototype),(0,w.A)(y.prototype,"game",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"game"),y.prototype),(0,w.A)(y.prototype,"statusGroup",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"statusGroup"),y.prototype),(0,w.A)(y.prototype,"isScheduled",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"isScheduled"),y.prototype),(0,w.A)(y.prototype,"isLive",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"isLive"),y.prototype),(0,w.A)(y.prototype,"isEnded",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"isEnded"),y.prototype),(0,w.A)(y.prototype,"isGameRoute",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"isGameRoute"),y.prototype),(0,w.A)(y.prototype,"bookmaker",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"bookmaker"),y.prototype),(0,w.A)(y.prototype,"title",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"title"),y.prototype),(0,w.A)(y.prototype,"shouldRenderEmptyState",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"shouldRenderEmptyState"),y.prototype),(0,w.A)(y.prototype,"shouldRenderPreview",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"shouldRenderPreview"),y.prototype),(0,w.A)(y.prototype,"sportTypeId",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"sportTypeId"),y.prototype),(0,w.A)(y.prototype,"topBookmakerId",[I.EW],Object.getOwnPropertyDescriptor(y.prototype,"topBookmakerId"),y.prototype),y),F=function(e){function PropositionBetsWidgetStore(){return(0,s.A)(this,PropositionBetsWidgetStore),(0,l.A)(this,PropositionBetsWidgetStore,arguments)}return(0,a.A)(PropositionBetsWidgetStore,e),(0,n.A)(PropositionBetsWidgetStore)}(T.T);F.injectables=[_,G];var U=o(4718),V=o(36755),q=o(10467),X=o(5182),K=o(30274),Z=o(21872),z=o(69359),$=function(e){function PropositionBetsWidgetFetchHandler(){return(0,s.A)(this,PropositionBetsWidgetFetchHandler),(0,l.A)(this,PropositionBetsWidgetFetchHandler,arguments)}return(0,a.A)(PropositionBetsWidgetFetchHandler,e),(0,n.A)(PropositionBetsWidgetFetchHandler,[{key:"onLoaded",value:function onLoaded(){(0,X.A)(PropositionBetsWidgetFetchHandler,"onLoaded",this,3)([]),this.store.setComponentState(R.bo.loading),this.action()}}
1,{key:"requestParams",get:function get(){var e=this.controller.props.gameId,t=this.state.appState.topBookmakerId,o=this.controller.props.isPreview;return new Z.u(e,null,t,!o)}},{key:"action",value:function(){var e=(0,q.A)((0,V.A)().mark((function _callee(){var e,t,o;return(0,V.A)().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,X.A)(PropositionBetsWidgetFetchHandler,"fetch",this,3)([]);case 2:return o=i.sent,this.controller.action(R.TH.populateData,{dataSource:o}),null===(e=(t=this.controller.props).onWidgetVisible)||void 0===e||e.call(t,this.state.isPopulated),i.abrupt("return",o);case 6:case"end":return i.stop()}}),_callee,this)})));return function action(){return e.apply(this,arguments)}}()},{key:"onDidUpdate",value:function(){var e=(0,q.A)((0,V.A)().mark((function _callee2(e,t){return(0,V.A)().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if((0,X.A)(PropositionBetsWidgetFetchHandler,"onDidUpdate",this,3)([e,t]),!(t.competitionId!==e.competitionId)){o.next=5;break}return o.next=5,this.action();case 5:case"end":return o.stop()}}),_callee2,this)})));return function onDidUpdate(t,o){return e.apply(this,arguments)}}()},{key:"populateDelta",value:function populateDelta(e,t){this.controller.action(R.TH.populateData,{dataSource:e})}},{key:"onUnloaded",value:function onUnloaded(){(0,X.A)(PropositionBetsWidgetFetchHandler,"onUnloaded",this,3)([]),this.controller.action(D.W.ACTION_TYPES.onPopupClick)}}])}(K.x);$.injectables=[z.w];var J=o(42332),Q=o(94500),ee=function(e){function PropositionBetsWidgetPopulateDataHandler(){return(0,s.A)(this,PropositionBetsWidgetPopulateDataHandler),(0,l.A)(this,PropositionBetsWidgetPopulateDataHandler,arguments)}return(0,a.A)(PropositionBetsWidgetPopulateDataHandler,e),(0,n.A)(PropositionBetsWidgetPopulateDataHandler,[{key:"action",value:function(){var e=(0,q.A)((0,V.A)().mark((function _callee(e){var t;return(0,V.A)().wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:this.state.bets=null===(t=e.dataSource.propositionBets)||void 0===t?void 0:t.map((function(e){return new O.F(e)})),(0,X.A)(PropositionBetsWidgetPopulateDataHandler,"action",this,3)([e]);case 2:case"end":return o.stop()}}),_callee,this)})));return function action(t){return e.apply(this,arguments)}}()}])}(o(15973).h),te=o(39721),oe=o(4693),ie=o(29472),re=o(66741),ne=function(e){function PropositionBetsWidgetMarketClickEvent(e){var t;return(0,s.A)(this,PropositionBetsWidgetMarketClickEvent),(t=(0,l.A)(this,PropositionBetsWidgetMarketClickEvent,["","market_click","props"])).gameId=e.gameId,t.status=e.status,t.source=e.source,t.sportTypeId=e.sportTypeId,t.marketType=e.marketType,t.clickType=e.clickType,t}return(0,a.A)(PropositionBetsWidgetMarketClickEvent,e),(0,n.A)(PropositionBetsWidgetMarketClickEvent,[{key:"properties",get:function get(){var e=(0,X.A)(PropositionBetsWidgetMarketClickEvent,"properties",this,1);return e.gameId=this.gameId,e.status=re.r.GAME_STATUSES[this.status],e.source=this.source,e.sportTypeId=this.sportTypeId,e.marketType=this.marketType,e.clickType=this.clickType,e}}])}(ie.r),se=function(e){function PropositionBetsWidgetMarketClickEventHandler(e){var t;return(0,s.A)(this,PropositionBetsWidgetMarketClickEventHandler),(t=(0,l.A)(this,PropositionBetsWidgetMarketClickEventHandler,[e])).type=D.W.ANALYTICS.ACTION_TYPES.onMarketClick,t.eventType=ne,t}return(0,a.A)(PropositionBetsWidgetMarketClickEventHandler,e),(0,n.A)(PropositionBetsWidgetMarketClickEventHandler)}(oe.n);se.injectables=[te.c];var le=o(6100),ae=function(e){function PropositionBetsWidgetMarketShowMoreClickEvent(e){var t;return(0,s.A)(this,PropositionBetsWidgetMarketShowMoreClickEvent),(t=(0,l.A)(this,PropositionBetsWidgetMarketShowMoreClickEvent,["","market_show-more-click","props"])).gameId=e.gameId,t.status=e.status,t.source=e.source,t.competitorId=e.competitorId,t.sportTypeId=e.sportTypeId,t.marketType=e.marketType,t.clickType=e.clickType,t}return(0,a.A)(PropositionBetsWidgetMarketShowMoreClickEvent,e),(0,n.A)(PropositionBetsWidgetMarketShowMoreClickEvent,[{key:"properties",get:function get(){var e=(0,X.A)(PropositionBetsWidgetMarketShowMoreClickEvent,"properties",this,1);return e.gameId=this.gameId,e.status=re.r.GAME_STATUSES[this.status],e.source=this.source,e.competitorId=this.competitorId,e.sportTypeId=this.sportTypeId,e.marketType=this.marketType,e.clickType=this.clickType,e.subSource=le.h.TABS_LABEL.props,e}}])}(ie.r),ce=function(e){function PropositionBetsWidgetMarketShowMoreClickEventHandler(e){var t;return(0,s.A)(this,PropositionBetsWidgetMarketShowMoreClickEventHandler),(t=(0,l.A)(this,PropositionBetsWidgetMarketShowMoreClickEventHandler,[e])).type=D.W.ANALYTICS.ACTION_TYPES.onShowMoreClick,t.eventType=ae,t}return(0,a.A)(PropositionBetsWidgetMarketShowMoreClickEventHandler,e),(0,n.A)(PropositionBetsWidgetMarketShowMoreClickEventHandler)}(oe.n);ce.injectables=[te.c];var pe=o(83231),ue=function(e){function PropositionBetsWidgetHandlers(e,t,o,i,r,n,a){var c;return(0,s.A)(this,PropositionBetsWidgetHandlers),c=(0,l.A)(this,PropositionBetsWidgetHandlers),[e,t,o,i,r,n,a].forEac
1h((function(e){return c.add(e)})),c}return(0,a.A)(PropositionBetsWidgetHandlers,e),(0,n.A)(PropositionBetsWidgetHandlers)}(U.b);ue.injectables=[$,pe.L,Q.w,ee,se,ce,J.x];var de=function(e){function PropositionBetsWidgetController(){return(0,s.A)(this,PropositionBetsWidgetController),(0,l.A)(this,PropositionBetsWidgetController,arguments)}return(0,a.A)(PropositionBetsWidgetController,e),(0,n.A)(PropositionBetsWidgetController)}(d.d);de.injectables=[].concat((0,u.A)(m.i.injectables),[_,F,ue]);var me=function(e){function PropositionBetsWidgetProps(){return(0,s.A)(this,PropositionBetsWidgetProps),(0,l.A)(this,PropositionBetsWidgetProps,arguments)}return(0,a.A)(PropositionBetsWidgetProps,e),(0,n.A)(PropositionBetsWidgetProps)}(p.Q),Ae=o(56808),ve=o(96580),ge=o.n(ve),he=o(18754),_e=o(80028),ye=o(52049),ke=o(38687),Pe=o(9735),fe=o(85582),Te=(0,ye.PA)((function(e){var t=e.controller,o=t.state,r=t.terms,n=o.shouldRenderEmptyState,s=r.WEB_GAME_ODDS_EMPTY_STATE_TEXT,l={src:new Pe.V,className:ge()(he.A.empty_state_logo)};return n?(0,fe.jsxs)("div",{className:ge()(he.A.empty_state),children:[(0,fe.jsx)(ke._,(0,i.A)({},l)),(0,fe.jsx)("div",{className:ge()(he.A.empty_state_text),children:s})]}):null})),Se=o(8081),we=o(90176),Ie=(0,ye.PA)((function(e){var t=e.controller,o=e.onSeeAllClick,r=t.state,n=t.device,s=t.terms,l=r.shouldRenderPreview,a=r.isGameRoute,c={isRtl:n.isRtl,controller:t,buttonLabel:s.WEB_COMPETITION_ODDS_PREVIEW_SEE_ALL,routeProps:{tabIndex:we.W.TAB.INDEX.GAME_CENTER.propositionBets},onClick:function onClick(){return o&&o(we.W.TAB.INDEX.GAME_CENTER.propositionBets),a}};return l?(0,fe.jsx)(Se.g,(0,i.A)({},c)):null})),Ce=o(7447),Be=(0,ye.PA)((function(e){var t=e.controller,o=t.state,r=o.popupDisplay,n=o.isVisible,s={onPopupClose:function onPopupClose(){return t.action(D.W.ACTION_TYPES.onPopupClick)},athleteId:r.athleteId,lineTypeId:r.lineTypeId,gameId:r.gameId,source:h.uq.ANALYTICS.SOURCES.propositionBets};return n?(0,fe.jsx)(Ce.X,(0,i.A)({},s)):null})),be=o(5544),Ee=o(73494),We=o(12265),Ne=o(81832),je=(0,ye.PA)((function(e){var t=e.controller,o=e.currentRows,r=e.section,n=t.state,s=t.config,l=n.currentLinkModel,a=n.sportTypeId,c=s.source,p=r.competitor,u=(null===o||void 0===o?void 0:o.length)>0,d={model:null===p||void 0===p?void 0:p.linkModel,className:he.A.section_title,onClick:function onClick(){return t.action(R.TH.entityClick,{entityId:p.id,entityName:p.nameForURL,entityType:h.uq.ANALYTICS.ENTITY_DISPLAY_TYPES[p.objectType],currentLinkModel:l,sportTypeId:a,source:c})}},m={className:ge()(he.A.section_competitor_logo),entity:p,width:24,height:24};return u?(0,fe.jsx)("div",{className:ge()(he.A.section_title_container),children:(0,fe.jsxs)(Ne.N,(0,i.A)((0,i.A)({},d),{},{children:[(0,fe.jsx)(We.X,(0,i.A)({},m)),null===p||void 0===p?void 0:p.name]}))}):null})),xe=o(51082),Oe=o(75875),Me=(0,ye.PA)((function(e){var t,o=e.controller,r=e.bet,n=e.section,s=e.isPreview,l=e.onClick,a=e.fullDisplay,c=o.state,p=o.terms,u=o.config,d=c.game,m=c.sportTypeId,A=d.statusGroup,v=n.competitorId,g=r.lineTypeId,h=u.source,_=p.SEE_MORE,y=p.SEE_LESS,k=a?y:_,P=!s&&(null===n||void 0===n||null===(t=n.rows)||void 0===t?void 0:t.length)>2,f={className:ge()(he.A.section_see_more),onClick:function onClick(){T(),l(!a)}},T=function sendEvent(){return o.action(D.W.ANALYTICS.ACTION_TYPES.onShowMoreClick,{gameId:d.id,status:A,marketType:g,clickType:a?D.W.ANALYTICS.CLICK_TYPE.close:D.W.ANALYTICS.CLICK_TYPE.open,competitorId:v,sportTypeId:m,source:h})};return P?(0,fe.jsxs)("div",(0,i.A)((0,i.A)({},f),{},{children:[k,a?(0,fe.jsx)(Oe.w,{className:ge()(he.A.arrow)}):(0,fe.jsx)(xe.V,{className:ge()(he.A.arrow)})]})):null})),Re=o(13511),Le=o(71492),De=o(91894),Ye=o(29834),He=o(78286),Ge=(0,ye.PA)((function(e){var t=e.controller,o=e.row,n=e.option,s=e.hasThreeOption,l=t.state,a=t.config,c=l.bookmaker,p=l.game,u=l.sportTypeId,d=l.statusGroup,m=l.currentLinkModel,A=a.source,v=o.lineTypeId,g=(0,He.N)(t,{bookieId:null===c||void 0===c?void 0:c.id,bookieName:null===c||void 0===c?void 0:c.name,urlLink:null===c||void 0===c?void 0:c.link,widget:h.uq.ANALYTICS.WIDGET_TYPES[R.Jl.propositionBets],impressionType:h.uq.ANALYTICS.BETS_IMPRESSION_TYPES.tooltip,hasOdds:!!c,subSource:le.h.TABS_LABEL.props,status:p.statusGroup,marketType:v,buttonType:D.W.ANALYTICS.BOOKIE_BUTTON_TYPE.odds,currentLinkModelName:null===m||void 0===m?void 0:m.name,source:A}),_=g.bookieHrefModel,y=g.onBookieClick,k={bookieId:null===c||void 0===c?void 0:c.id,bookieName:null===c||void 0===c?void 0:c.name,sportTypeId:u},P={option:n,bookmaker:c,bookieHrefModel:_,onClick:function onClick(){return y()},placement:Le._M.bottom,betsImpressionParams:k,showOriginalOdds:d!==
1h.ep.ended,controller:t},f={model:_,rel:R.b$.SPONSORED_NOOPENER,className:ge()(he.A.option_cell,(0,r.A)((0,r.A)({},he.A.three_option,s),he.A.win_option,null===n||void 0===n?void 0:n.isWon)),onClick:function onClick(e){return e.stopPropagation(),y()}},T={row:o,option:n},S={controller:t,betsImpressionParams:k,option:n};return(0,fe.jsx)(Re.k,(0,i.A)((0,i.A)({},P),{},{children:(0,fe.jsxs)(Ne.N,(0,i.A)((0,i.A)({},f),{},{children:[(0,fe.jsx)(De.$,(0,i.A)({},T)),(0,fe.jsx)(Ye.a,(0,i.A)({},S))]}))}))})),Fe=(0,ye.PA)((function(e){var t,o=e.controller,i=e.row;return(0,fe.jsx)("div",{className:ge()(he.A.options,(0,r.A)({},he.A.single_option,1===i.options.length)),children:null===(t=i.options)||void 0===t?void 0:t.map((function(e){return(0,fe.jsx)(Ge,{row:i,option:e,controller:o,hasThreeOption:3===i.options.length},e.name)}))})})),Ue=o(92138),Ve=(0,ye.PA)((function(e){var t=e.controller,o=e.row,i=t.state,n=i.isScheduled,s=i.isLive,l=o.parameter,a=o.currentValue,c=o.currentValueRatio,p=D.W.PROGRESS_BAR.ANIMATION.duration*c,u=n?l:(0,Ue.r)(a,p,D.W.PROGRESS_BAR.ANIMATION.delay);return u>-1?(0,fe.jsx)("div",{className:ge()(he.A.parameter_value,(0,r.A)((0,r.A)({},he.A.parameter_value_scheduled,n),he.A.parameter_value_live,s)),children:u}):null})),qe=o(46661),Xe=o(46271),Ke=o(2950),Ze=(0,ye.PA)((function(e){var t=e.controller,o=e.row,n=t.device,s=t.state.isScheduled,l=n.isSmallView,a=o.parameterProgress,c=o.paramName,p=o.isUnderOver,u=D.W.PROGRESS_BAR.ANIMATION.duration*(a/100),d={row:o,controller:t},m={radius:l?D.W.PROGRESS_BAR.SIZES.RADIUS.mobile:D.W.PROGRESS_BAR.SIZES.RADIUS.desktop,progress:a,strokeWidth:D.W.PROGRESS_BAR.SIZES.stroke,strokeColor:(0,Xe.S)(Ke.lm.accentPrimary),strokeBGColor:D.W.PROGRESS_BAR.strokeColor,hasInitialAnimation:!0,animationDuration:u,animationDelay:D.W.PROGRESS_BAR.ANIMATION.delay};return p?(0,fe.jsxs)("div",{className:ge()(he.A.parameter_container),children:[s?null:(0,fe.jsx)(qe.b,(0,i.A)({},m)),(0,fe.jsx)(Ve,(0,i.A)({},d)),(0,fe.jsx)("div",{className:ge()(he.A.parameter_name,(0,r.A)({},he.A.parameter_name_scheduled,s)),children:c})]}):null})),ze=(0,ye.PA)((function(e){var t=e.row;return(0,fe.jsxs)("div",{className:ge()(he.A.athlete_details),children:[(0,fe.jsx)("div",{className:ge()(he.A.athlete_name),children:t.athlete.name}),t.secondaryName]})})),$e=(0,ye.PA)((function(e){var t=e.row,o={entity:t.athlete,width:40,height:40};return(0,fe.jsxs)("div",{className:ge()(he.A.athlete),children:[(0,fe.jsx)("div",{className:ge()(he.A.athlete_logo),children:(0,fe.jsx)(We.X,(0,i.A)({},o))}),(0,fe.jsx)(ze,{row:t})]})})),Je=(0,ye.PA)((function(e){var t,o,r=e.controller,n=e.row,s=r.state,l=r.config,a=s.bookmaker,c=s.game,p=s.currentLinkModel,u=s.isEnded,d=l.source,m=n.lineTypeId,A=(0,He.N)(r,{bookieId:null===a||void 0===a?void 0:a.id,bookieName:null===a||void 0===a?void 0:a.name,urlLink:null===a||void 0===a?void 0:a.link,widget:h.uq.ANALYTICS.WIDGET_TYPES[R.Jl.propositionBets],impressionType:h.uq.ANALYTICS.BETS_IMPRESSION_TYPES.tooltip,hasOdds:!!a,source:d,subSource:le.h.TABS_LABEL.props,status:c.statusGroup,marketType:m,buttonType:D.W.ANALYTICS.BOOKIE_BUTTON_TYPE.betNow,currentLinkModelName:null===p||void 0===p?void 0:p.name}),v=A.bookieHrefModel,g=A.onBookieClick,_={model:v,rel:R.b$.SPONSORED_NOOPENER,className:ge()(he.A.bet_now_button),onClick:function onClick(e){return e.stopPropagation(),g()}};return!u&&null!==a&&void 0!==a&&null!==(t=a.actionButton)&&void 0!==t&&t.label?(0,fe.jsx)(Ne.N,(0,i.A)((0,i.A)({},_),{},{children:null===a||void 0===a||null===(o=a.actionButton)||void 0===o?void 0:o.label})):null})),Qe=(0,ye.PA)((function(e){var t=e.controller,o=e.row,n=t.state,s=n.isEnded,l=n.game,a=o.athleteId,c=o.lineTypeId,p={className:ge()(he.A.row,(0,r.A)((0,r.A)({},he.A.ended_row,s),he.A.clickable_row,o.hasRecords)),onClick:function onClick(){return o.hasRecords&&t.action(D.W.ACTION_TYPES.onPopupClick,{athleteId:a,lineTypeId:c,gameId:l.id})}},u={controller:t,row:o};return(0,fe.jsxs)("div",(0,i.A)((0,i.A)({},p),{},{children:[(0,fe.jsx)($e,{row:o}),(0,fe.jsx)(Fe,(0,i.A)({},u)),(0,fe.jsx)(Ze,(0,i.A)({},u)),(0,fe.jsx)(Je,(0,i.A)({},u))]}))})),et=(0,ye.PA)((function(e){var t=e.controller,o=e.currentRows,i=e.bet;return null===o||void 0===o?void 0:o.map((function(e){return(0,fe.jsx)(Qe,{row:e,bet:i,controller:t},e.athleteId)}))})),tt=(0,ye.PA)((function(e){var t,o=e.controller,r=e.isPreview,n=e.bet,s=e.section,l=(0,c.useState)(!1),a=(0,be.A)(l,2),p=a[0],u=a[1],d=s.rows,m=s.firstDisplayRows,A=s.previewRows,v=r?A:p?d:m,g={controller:o,currentRows:v,section:s},h={controller:o,currentRows:v,bet:n},_={controller:o,isPreview:r,fullDisplay:p,section:s,bet:n,onClick:function onClick(){return u(!p)}};return(null===s||void 0===s||null===(t=s.rows)||void 0===t?void 0:t.length)>0?(0,fe.jsxs)("div",{className:ge()(he.A.section),children:[(0,fe.jsx)(je,(0,i.A)({},g)),(0,fe.jsx)(et,(0,i.A)({},h)),(0,fe.jsx)(Me,(0,i.A)({},_))]}):null})),ot=(0,ye.PA)((function(e){var t=e.controller,o=e.isPreview,i=e.bet,r=e.isExpanded,n=i.sections;return r?(0,fe.jsx)(fe.Fragment,{children:n.map((function(e){return(0,fe.jsx)(tt,{controller:t,isPreview:o,section:e,bet:i},e.competitorId)}))}):null})),it=(0,ye.PA)((function(e){var t=e.controller,o=e.bet,n=e.isPreview,s=e.isOpen,l=void 0===s||s,a=t.state,p=t.config,u=a.title,d=a.game,m=a.sportTypeId,A=d.statusGroup,v=p.source,g=(0,c.useState)(l),_=(0,be.A)(g,2),y=_[0],k=_[1],P=o.isUnderOver,f=o.lineTypeId,T={bet:o,controller:t,isPreview:n,isExpanded:y},S={controller:t,title:n?"".concat(u," - ").concat(o.name):o.name,className:ge()(he.A.bet_title),tagTitle:h.qb.h3,onClick:n?
1null:function(){w(),k(!y)}},w=function sendEvent(){return t.action(D.W.ANALYTICS.ACTION_TYPES.onMarketClick,{gameId:d.id,status:A,marketType:f,clickType:y?D.W.ANALYTICS.CLICK_TYPE.close:D.W.ANALYTICS.CLICK_TYPE.open,sportTypeId:m,source:v})};return(0,fe.jsxs)("div",{className:ge()(he.A.bet,(0,r.A)({},he.A.under_over_bet,P)),children:[(0,fe.jsx)(Ee.Z,(0,i.A)({},S)),(0,fe.jsx)(ot,(0,i.A)({},T))]})})),rt=(0,ye.PA)((function(e){var t=e.controller,o=e.isPreview,r=t.state,n=r.bets,s=r.previewBets,l=o?s:n;return null===l||void 0===l?void 0:l.map((function(e,r){var n={isOpen:0===r,controller:t,isPreview:o,bet:e};return(0,c.createElement)(it,(0,i.A)((0,i.A)({},n),{},{key:e.id}))}))})),nt=function(e){function PropositionBetsWidgetComponentProps(){return(0,s.A)(this,PropositionBetsWidgetComponentProps),(0,l.A)(this,PropositionBetsWidgetComponentProps,arguments)}return(0,a.A)(PropositionBetsWidgetComponentProps,e),(0,n.A)(PropositionBetsWidgetComponentProps)}(me),st=function PropositionBetsWidgetComponent(e){var t=e.controller,o=e.isPreview,n=e.onSeeAllClick,s=t.state,l=t.device.isSmallView,a=s.componentState,c=s.fetchingState,p={controller:t,isPreview:o},u={onSeeAllClick:n,controller:t,isPreview:o},d={when:a===R.bo.loading||c===R.sv.fetching,className:ge()(he.A.placeholder)};return(0,fe.jsxs)(_e.a,(0,i.A)((0,i.A)({},d),{},{children:[(0,fe.jsxs)("div",{className:ge()(he.A.container,(0,r.A)((0,r.A)({},he.A.small_view,l),he.A.preview,o)),children:[(0,fe.jsx)(rt,(0,i.A)({},p)),(0,fe.jsx)(Ie,(0,i.A)({},u)),(0,fe.jsx)(Te,{controller:t})]}),(0,fe.jsx)(Be,{controller:t})]}))},lt={component:st,propsType:nt,controllerType:de,shouldTriggerOnRenderComplete:!0,createModule:!0,observe:!0},at=(0,Ae.L)(lt)},47015:function(e,t){t.A={game_container:"games-list_game_container__iIJf5",small_view:"games-list_small_view__xiAKL",game_container_absent:"games-list_game_container_absent__1DpVX",game_container_popup:"games-list_game_container_popup__xZX0f",game_date:"games-list_game_date__R7hVl",entity_wrapper:"games-list_entity_wrapper__L2wY-",entity:"games-list_entity__wSt0P",home_competitor:"games-list_home_competitor__8N0Aq",away_competitor:"games-list_away_competitor__U18V-",competitor_symbol:"games-list_competitor_symbol__aXhpl",competitor_name:"games-list_competitor_name__69m6X",home_competitor_score:"games-list_home_competitor_score__tDiyK",away_competitor_score:"games-list_away_competitor_score__8eXAe",game_header_container:"games-list_game_header_container__gZgFW",partial:"games-list_partial__B5jZI",clickable:"games-list_clickable__uENzS",competition_separator:"games-list_competition_separator__GvDT+",header_date:"games-list_header_date__3V5uf",header_competitor:"games-list_header_competitor__iJK28",entity_logo:"games-list_entity_logo__OLJ73"}},47491:function(e,t){t.A={title_container:"card-title_title_container__GN6z2",small_view:"card-title_small_view__WWkTB",title:"card-title_title__M4Qdq",no_entity:"card-title_no_entity__lZIGt"}},56066:function(e,t){t.A={default:"keyboard-arrow_default__BC323"}}}]);
2//# sourceMappingURL=proposition-bets-widget.e970bf88.chunk.js.map

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.