1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3740],{61490:function(e,a,l){"use strict";l.d(a,{Z:function(){return area_heading}});var s=l(85893),t=l(32367),c=l(41664),n=l.n(c);l(67294);var i=l(11163),r=l(14416),o=l(29384),d={src:"/_next/static/media/red-pause-icon.a4497cb5.svg",height:28,width:27,blurWidth:0,blurHeight:0},u={src:"/_next/static/media/red-play-icon.646093eb.svg",height:27,width:27,blurWidth:0,blurHeight:0},area_heading=function(e){let{title:a="",id:l="",route:c="",styles:h={},isSubcategory:m=!1,hideLink:p=!1,onToggleAutoScroll:_,isAutoscrollPaused:g,linkAriaLabel:x=""}=e,v=(0,t.Z)(),b=(0,r.I0)(),w=(0,i.useRouter)(),k=x.length>0,j=k?x:v("accessibility_category_area_heading_all",{title:a}),y=g?u:d,handleOnClick=e=>{null==e||e.preventDefault(),m?b(o.Z.setSelectedSubCategory(l)):b(o.Z.setSelectedCategory(l)),w.push("/category/".concat(c.replaceAll(" ","-")))};return(0,s.jsxs)("div",{className:h["heading-wrapper"],children:[(0,s.jsx)("h2",{onClick:handleOnClick,className:h["heading-text"],children:a}),(0,s.jsxs)("div",{className:h.actions,children:["function"==typeof _&&(0,s.jsx)("button",{"aria-label":v(g?"accessibility_carousel_play":"accessibility_carousel_pause"),className:h["vid-button"],onClick:_,children:(0,s.jsx)("img",{alt:"",src:y.src})}),p?null:(0,s.jsx)(n(),{prefetch:!!parseInt("1"),href:"/category/".concat(c.replaceAll(" ","-")),onClick:handleOnClick,className:h["heading-link"],"aria-label":j,children:v("area_heading_everything_link")})]})]})}},85525:function(e,a,l){"use strict";var s=l(85893),t=l(67294),c=l(11163),n=l(32367),i=l(36111),r=l(26752),o=l(84938),d=l(25675),u=l.n(d),h=l(30381),m=l.n(h),p=l(76297),_=l(62528),g=l(25678),x=l(35111),v=l(55322),b=l(14416),w=l(21513),k=l(79975),j=l(29384),y=l(49896),f=l(31923),N=l(99584);let TeamDisplay=e=>{let{team:a,styles:l,isTwoSellers:t,isSoldOut:c=!1,handleOnClick:n,translate:i,ariaLabel:o}=e,d=c?i("sold_out_text"):i(o,{sellerTeam:null==a?void 0:a.name});return(0,s.jsxs)("div",{className:l["team-display"],children:[(0,s.jsx)("div",{className:l.logo,children:(0,s.jsx)(u(),{src:null==a?void 0:a.logo,fill:!0,loading:"lazy",sizes:"(max-width: 768px) 50vw, 20vw",alt:null==a?void 0:a.name})}),(0,s.jsx)("span",{className:l.name,children:null==a?void 0:a.name}),t&&(0,s.jsx)(r.Z,{text:i(c?"sold_out_text":"to_purchase_tickets"),styles:l,onClick:n,disabled:c,ariaLabel:d})]})};a.Z=function(e){let{styles:a=defaultStyles,id:l,name:d,opponentEventName:h="",opponentEventId:Z="",opponentIsSoldOut:C=!1,location:S,timestampStart:T,homeTeam:E,opponent:O={},watchedRecently:L=0,banner:I="",url:R="/assets/mock/test.jpeg",isTwoSellers:A=!1,isSoldOut:z=!1,sellStart:F=1/0,isSpecialEvent:D=!1,redirectUrl:P="",opponentRedirectUrl:V="",specialLabels:H=[],sellerId:W,awaySellerId:B}=e,G=(0,b.I0)(),U=(0,n.Z)(),q=(0,w.Z)(),J=(0,g.zE)(P),K=(0,g.zE)(V),M=(0,c.useRouter)(),X=(0,y.Z)(W,P),Q=(0,b.v9)(e=>e.serverTimestamp),Y=(0,g.Mj)(F,Q),[$,ee]=(0,t.useState)(Y),ea="string"==typeof I&&I.length>0,el=function(){let e=[],a=A&&z&&C;return a||z&&!A?e.push({id:"sold-out",label_name:U("tickets_soldout_label")}):Array.isArray(H)&&H.length>0&&H.forEach(a=>{var l,s,t;e.push({id:null!==(s=null===(l=a.id)||void 0===l?void 0:l.toString())&&void 0!==s?s:"custom-label",label_name:null!==(t=a.label_name)&&void 0!==t?t:""})}),e}(),handleOnClick=async()=>{if(P)J?X():window.location.href=P;else if(D){let e=_.Z.SPECIAL_EVENTS+"/"+(0,g.w6)(d)+"/"+l;M.push(e)}else M.push("".concat(_.Z.EVENTS,"/").concat((0,g.w6)(null==d?void 0:d.replaceAll("/","%2F")),"/").concat(l))},es=z?U("sold_out_text"):U("accessibility_game_card_buy_button",{homeTeam:null==E?void 0:E.name,awayTeam:null==O?void 0:O.name,time:m()(1e3*T).format(p.uO),location:null==S?void 0:S.name});return(0,s.jsxs)("div",{className:a["game-card-wrapper"],children:[ea&&(0,s.jsx)("div",{className:a["card-banner"],children:I}),(0,s.jsx)("div",{className:"".concat(a["card-background-img"]," ").concat(D?a["no-brightness"]:""),children:(0,s.jsx)(u(),{fill:!0,priority:!0,alt:"",sizes:"(max-width: 768px) 50vw, 20vw",src:null!=R?R:""})}),(0,s.jsx)("div",{className:a["labels-wrapper"],children:null==el?void 0:el.map(e=>(0,s.jsx)(v.Z,{styles:a,ariaLabel:U("accessibility-out-of-stock",{label_name:e.label_name,show_name:d}),tagName:(null==e?void 0:e.label_name)||(null==e?void 0:e.comp)},"label_".concat(l,"-").concat(e.id)))}
1),(0,s.jsxs)("div",{className:a["card-content"],children:[!D&&(0,s.jsxs)("div",{className:(0,g.Wy)(a["teams-wrapper"],A&&a["two-sellers"]),children:[(0,s.jsx)(TeamDisplay,{team:E,styles:a,isSoldOut:z,isTwoSellers:!$&&A,handleOnClick:handleOnClick,translate:U,ariaLabel:es}),(0,s.jsx)("span",{className:a["vs-text"],children:"VS"}),(0,s.jsx)(TeamDisplay,{team:O,styles:a,isTwoSellers:!$&&A,isSoldOut:C,handleOnClick:()=>{V?K?q?k.s.call.createExchangeToken({withLoader:!0,payload:{sellerId:B},onSuccess:e=>{G(j.Z.setExchangeToken(e)),window.location.href="".concat(window.location.origin,"/seller/").concat(e.vivenu_seller_id,"/auth/redirect?exchangeToken=").concat(e.token,"&redirect_uri=").concat(V)}}):G(j.Z.addPopup({type:f.Z.LOGIN_REGISTER,payload:{onLoginRegisterSuceesss:()=>{k.s.call.createExchangeToken({withLoader:!0,payload:{sellerId:B},onSuccess:e=>{G(j.Z.setExchangeToken(e)),window.location.href="".concat(window.location.origin,"/seller/").concat(e.vivenu_seller_id,"/auth/redirect?exchangeToken=").concat(e.token,"&redirect_uri=").concat(V)}})},onPopupClose:function(){N.h.getState().userData&&k.s.call.createExchangeToken({withLoader:!0,payload:{sellerId:B},onSuccess:e=>{G(j.Z.setExchangeToken(e)),window.location.href="".concat(window.location.origin,"/seller/").concat(e.vivenu_seller_id,"/auth/redirect?exchangeToken=").concat(e.token,"&redirect_uri=").concat(V)}})}}})):window.location.href=V:M.push("".concat(_.Z.EVENTS,"/").concat((0,g.w6)(null==h?void 0:h.replaceAll("/","%2F")),"/").concat(Z))},translate:U,ariaLabel:es})]}),$?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.Z,{styles:a,timestamp:F,onTimeReached:()=>{ee(!1)}}),!!d&&!!D&&(0,s.jsx)("div",{className:a["name-desktop-backgroud"],children:(0,s.jsx)("h4",{className:a["speciel-events-name-desktop"],children:d})})]}):D&&d?(0,s.jsx)("div",{className:a["name-desktop-backgroud"],children:(0,s.jsx)("h4",{className:a["speciel-events-name-desktop"],children:d})}):(0,s.jsxs)(s.Fragment,{children:[!A&&(0,s.jsx)(r.Z,{text:U(z?"sold_out_text":"to_purchase_tickets"),styles:a,disabled:z,onClick:handleOnClick,ariaLabel:U(es,{sellerTeam:null==E?void 0:E.name})}),(0,s.jsx)(o.Z,{styles:a,watchers:L})]})]}),(0,s.jsx)("div",{className:"".concat(a["card-footer"]," ").concat(D?a["special-event"]:""),children:$?(0,s.jsxs)(s.Fragment,{children:[!!d&&!!D&&(0,s.jsx)("h4",{className:a["speciel-event-name"],children:d}),(0,s.jsx)("button",{onClick:handleOnClick,className:"".concat(a["action-btn"]," ").concat(a["long-action-btn"]),"aria-label":U(es),children:U("pre_purchase_game_card_action_btn")})]}):D?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{styles:a,location:S,timestampStart:T,title:d}),(0,s.jsx)("button",{onClick:handleOnClick,className:a["action-btn"],"aria-label":U(es),children:U("special_event_btn_title")})]}):(0,s.jsx)(i.Z,{styles:a,location:S,timestampStart:T})})]})}},219:function(e,a,l){"use strict";var s=l(85893);l(67294);var t=l(26752),c=l(25675),n=l.n(c),i=l(11392),r=l.n(i),o=l(11163),d=l(62528),u=l(32367),h=l(25678);l(36111);var m=l(49896);a.Z=e=>{let{url:a="",id:l,name:c,styles:i=r(),location:p="",sellStart:_="",sellerId:g,redirectUrl:x}=e,v=(0,o.useRouter)(),b=(0,u.Z)(),w=(0,m.Z)(g,x);return(0,s.jsxs)("div",{className:i["game-purchase-card-wrapper"],children:[(0,s.jsx)("div",{className:i["game-purchase-card-img"],children:(0,s.jsx)(n(),{src:null!=a?a:"",alt:"Purchase card image",sizes:"(max-width: 768px) 50vw, 70vw",fill:!0,priority:!0})}),(0,s.jsx)("div",{className:(0,h.Wy)(i["game-purchase-card-footer"]),children:(0,s.jsx)(t.Z,{onClick:e=>{if(x)return w();let a=d.Z.SUBSCRIPTIONS+"/"+(0,h.w6)(c)+"/"+l;v.push(a)},ariaLabel:"×ר××שת ×× ××",text:b("subscription_card_btn_label"),styles:i})})]})}},48496:function(e,a,l){"use strict";var s=l(14416);a.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=(0,s.v9)(e=>e.categories),l=null==a?void 0:a.find(a=>a.id===e);return l}},11392:function(e){e.exports={"button-wrapper":"game-purchase-card_button-wrapper__BCHXq","button-text":"game-purchase-card_button-text__C_B5t","game-purchase-card-wrapper":"game-purchase-card_game-purchase-card-wrapper__EJVgK","game-purchase-card-img":"game-purchase-card_game-purchase-card-img__me8LO","game-purchase-card-footer":"game-purchase-card_game-purchase-card-footer__x3EIU","special-event":"game-purchase-card_special-event__haxRH","details-wrapper":"game-purchase-card_details-wrapper__TEhLe"}}}]);
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.