1"use strict";(self["webpackChunkrankedin"]=self["webpackChunkrankedin"]||[]).push([[4093],{68800:function(t,e,s){s.d(e,{A:function(){return c}});var n=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.model.LogoUrls.length>0,expression:"model.LogoUrls.length > 0"}],staticClass:"logos"},t._l(t.model.LogoUrls,function(t){return e("a",{attrs:{href:"#"}},[e("img",{attrs:{src:t}})])}),0)},a=[],i={props:["model"],name:"eventLogos"},o=i,r=s(81656),l=(0,r.A)(o,n,a,!1,null,"84cb2360",null),c=l.exports},72453:function(t,e,s){s.r(e),s.d(e,{default:function(){return T}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tournamen-info-div"},[e("section",[e("event-name",{attrs:{eventType:t.nomenclatures.EventTypes.Tournament,eventId:t.tournamentId}})],1),e("section",{staticClass:"clear"},[e("div",{staticClass:"wrap visible"},[e("div",{staticClass:"tab-content"},[t.isLoaded?e("div",{staticClass:"row ais"},[e("div",{staticClass:"content col-12 col-lg-8"},[e("div",{staticClass:"box"},[e("event-controls",{attrs:{eventId:t.tournamentId,eventType:t.nomenclatures.EventTypes.Tournament,controllerName:"tournament"}}),e("table",{staticClass:"clear condensed secondLeft d-inline-block"},[t.info.Prize?e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Prize"]))]),e("td",{staticClass:"px-2"},[e("span",{staticClass:"label px-2 py-1 label-info"},[t._v(t._s(t.info.Prize))])])]):t._e(),e("tr",{staticClass:"row-club-organizer"},[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Shared_Ranking"]))]),e("td",{staticClass:"px-2"},[t._l(t.info.Rankings,function(s,n){return[n>0?[t._v(" , ")]:t._e(),null!=s.ImageUrl?e("img",{attrs:{src:s.ImageUrl,alt:"Org img"}}):t._e(),e("router-link",{attrs:{to:`/${t.layout.language}/ranking/${s.Id}`}},[t._v(t._s(s.Name))]),s.IsApproved?t._e():[e("Label",{attrs:{type:"notapproved"}})]]})],2)]),e("tr",{staticClass:"row-club-organizer"},[t.info.HasConnectedClub?e("th",{staticClass:"px-2 text-right"},[t._v(" "+t._s(t.translations["shared_Organizer"])+" ")]):t._e(),t.info.HasConnectedClub?e("td",{staticClass:"px-2"},[null!=t.info.ClubImageUrl?e("img",{attrs:{src:t.info.ClubImageUrl}}):t._e(),e("router-link",{attrs:{to:t.info.ClubUrl}},[t._v(" "+t._s(t.info.ClubName)+" ")])],1):t._e()]),e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Shared_Closing_date"])+" ")]),e("td",{staticClass:"px-2"},[t._v(t._s(t.momentFunc(t.info.ClosingDate)))]),e("th",{staticClass:"text-right"}),e("td")]),e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Shared_Start_date"])+" ")]),e("td",{staticClass:"px-2"},[t._v(t._s(t.momentFunc(t.info.StartDate)))]),e("th",{staticClass:"text-right"}),e("td")]),e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Shared_End_date"])+" ")]),e("td",{staticClass:"px-2"},[t._v(t._s(t.momentFunc(t.info.EndDate)))]),e("th",{staticClass:"text-right"}),e("td")]),e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(" "+t._s(t.translations["tournament_Shared_Location"])+" ")]),e("td",{staticClass:"px-2"},[t._v(t._s(t.info.LocationName)),e("br"),t._v(t._s(t.info.Address)+"  "),e("a",{attrs:{target:"_blank",href:t.googleMapExternalUrl}},[e("span",{staticClass:"icon icon-pin-map-fill"})])]),e("th",{staticClass:"text-right"}),e("td")]),e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Shared_Classes"]))]),e("td",{staticClass:"px-2"},[t.info.Classes.length>0?[t._l(t.info.Classes,function(e,s){return[s>0?[t._v(" , ")]:t._e(),t._v(" "+t._s(e.Name)+" ")]})]:e("span",[t._v(t._s(t.translations["tournament_T5"]))])],2)]),t.info.HasPayment?e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["tournament_Shared_Entry_fee"])+" ")]),e("td",{staticClass:"px-2"},[e("div",{staticClass:"payment-summary",on:{click:t.toggleFees}},[t.feeShown?t._e():e("span",{staticClass:"collapse-toggle payment-summary-toggle"},[t._v(t._s(t.translations["shared_Show"])+" "),e("i",{staticClass:"icon icon-sort-down"})]),t.feeShown?e("span",{staticClass:"collapse-toggle payment-summary-toggle"},[t._v(t._s(t.translations["shared_Hide"])+" "),e("i",{staticClass:"icon icon-sort-up"})]):t._e(),e("span",{staticClass:"payment-summary-method"},[t._v(t._s(t.translations["shared_PaymentMethod"])+": "),e("span",{staticClass:"payment-summary-value"},[t._v(t._s(t.paymentMethodLabel))]),t.safePaymentExternalUrl?e("a",{staticClass:"payment-summary-link",attrs:{href:t.safePaymentExternalUrl,target:"_blank",rel:"noopener noreferrer"}},[t._v(" ["+t._s(t.translations["tournament_ClickHereToPay"])+"] ")]):t._e()])]),t.feeShown?e("div",[t.info.IsPayFirstNextFree?e("div",[t._v(" "+t._s(t.translations["tournament_PayFirst_NextFree"]))]):t._e(),e("br"),e("div",[t._l(t.info.Fees,function(s){return e("div",{staticClass:"text-center"},[t._v(" "+t._s(s.Price)+" "+t._s(s.CurrencyCode)+" - "+t._s(s.ClassName)+" ")])}),e("br"),t.info.HasDoubleClass?e("div",{domProps:{innerHTML:t._s(t.translations["tournaments_DoublesPaySeparately"])}}):t._e()],2)]):t._e()]),e("th",{staticClass:"text-right"}),e("td")]):t._e()])],1),e("div",{staticClass:"box regulations-box"},[e("table",{staticClass:"regulations-table clear condensed secondLeft d-inline-block"},[e("tr",[e("th",{staticClass:"text-right px-2"},[t._v(t._s(t.translations["events_21"]))]),e("td",{staticClass:"px-2"},[e("div",{staticClass:"rin-event-regulations",class:{collapsed:!t.regulationsShown&&!t.noRegulationsShown},on:{click:function(e){t.regulationsShown=!0}}},[e("event-regulations",{staticClass:"rin-event-regulations-content",attrs:{eventtype:"tournament"},on:{loadedRegulations:t.checkRegulations}}
1)],1),t.noRegulationsShown?t._e():e("div",{staticClass:"regulations-toggle collapse-toggle",on:{click:t.toggleRegulations}},[t.regulationsShown?t._e():e("span",[t._v(t._s(t.translations["shared_ShowMore"])+" "),e("i",{staticClass:"icon icon-sort-down",staticStyle:{"vertical-align":"baseline","margin-right":"5em"}})]),t.regulationsShown?e("span",[t._v(t._s(t.translations["shared_Hide"])+" "),e("i",{staticClass:"icon icon-sort-up",staticStyle:{"vertical-align":"baseline","margin-right":"5em"}})]):t._e()])]),e("th",{staticClass:"text-right"}),e("td")])])]),e("event-logos",{attrs:{model:t.logos}})],1),e("div",{staticClass:"sidebar col-12 col-lg-4"},[t.tournamentPicture?e("div",{staticClass:"event-banner text-center col-auto"},[e("img",{attrs:{src:t.tournamentPicture}})]):t._e(),e("h5",{staticClass:"mb-2 mx-4 admin-heading"},[t._v(t._s(t.translations["shared_1"]))]),e("div",[e("side-bar-admins",{attrs:{admins:t.admins,returnUrl:t.$route.path,eventName:t.eventName}})],1),t.referees.length?e("h5",{staticClass:"mb-2 mx-4 admin-heading"},[t._v(" "+t._s(t.translations["shared_Referee"])+" ")]):t._e(),t.referees.length?e("div",[e("sideBarReferees",{attrs:{referees:t.referees}})],1):t._e(),t.shouldShowAds?e("div",[e("AdSlot",{attrs:{dataAdSlot:"5291731418",insstyle:"display:inline-block;width:300px;height:600px",adWidth:"300px",adHeight:"600px",isMobileOnly:!1}})],1):t._e()])]):e("div",{staticClass:"row"},[t._m(0)])])])])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col text-center"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])])}],i=s(95093),o=s.n(i),r=s(95353),l=s(86080),c=s(50463),u=s(68800),m=s(99880),d=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebarUserList"},t._l(t.referees,function(s){return e("div",{staticClass:"sidebarUserListSingle box"},[e("div",{staticClass:"row aic flex-row"},[e("div",{staticClass:"img col-2"},[e("router-link",{attrs:{to:s.Url}},[e("img",{attrs:{src:s.Picture}})])],1),e("div",{staticClass:"details col-5"},[e("p",{staticClass:"name"},[e("router-link",{attrs:{to:s.Url}},[t._v(t._s(s.Name))])],1),e("p",{staticClass:"flag"},[e("i",{class:"flag-icon flag-icon-"+s.CountryShort,staticStyle:{"font-size":"2em"}}),t._v(" "+t._s(s.CountryShort.toUpperCase()))])])])])}),0)},h=[],g=s(69537),_={name:"tournament-side-bar-referees",components:{BaseButton:g.A},props:["referees"],data(){return{}},computed:{...(0,r.L8)(["layout","translations","nomenclatures"])},methods:{}},p=_,f=s(81656),v=(0,f.A)(p,d,h,!1,null,"be9db798",null),C=v.exports,y=s(82692),x=s(53538),b=s(739),P=s(41669),S={components:{"event-controls":c.A,"event-logos":u.A,sideBarAdmins:m.A,"event-name":l.A,sideBarReferees:C,Label:b.A,EventRegulations:y.A,AdSlot:x.A},name:"infoTab",data(){return{tournamentId:0,eventNameModel:{},info:{},logos:{},admins:{},referees:{},isLoaded:!1,feeShown:!1,regulationsShown:!1,noRegulationsShown:!1,tournamentPicture:""}},computed:{...(0,r.L8)(["layout","translations","nomenclatures"]),...(0,r.L8)("monetization",["shouldShowAds"]),eventState:function(){return this.$store.state.eventIndex.eventHeaderInfo.EventState},posterUrl:function(){return this.$store.state.eventIndex.tournamentInfo.PosterUrl},googleMapExternalUrl:function(){return`https://maps.google.com/?ll=${this.googleMapMarkerPosition.lat},${this.googleMapMarkerPosition.lng}`},googleMapMarkerPosition:function(){return this.isLoaded?{lat:this.info.Latitude,lng:this.info.Longtitude}:{lat:10,lng:10}},isExternalOnlinePayment:function(){return Number(this.info.PaymentType)===Number(this.nomenclatures.PaymentTypes.ExternalOnlinePayment)},paymentMethodLabel:function(){if(this.isExternalOnlinePayment&&this.info.PaymentTypeLabelName)return this.info.PaymentTypeLabelName;const t=this.getPaymentTypeTranslationKey(this.info.PaymentType);return t&&(this.translations[t]||this.nomenclatures.PaymentTypes[this.info.PaymentType])||""},safePaymentExternalUrl:function(){if(!this.isExternalOnlinePayment||!this.info.PaymentExternalURL)return null;try{const t=new URL(this.info.PaymentExternalURL),e=t.protocol.toLowerCase();return"http:"!==e&&"https:"!==e?null:t.toString()}catch{return null}},eventName:function(){return encodeURIComponent(this.info.TournamentName)}},mounted(){this.tournamentId=this.$route.params.id,this.loadTournamentInfo()},methods:{checkRegulations(t){this.noRegulationsShown=!t},loadTournamentInfo:function(){this.$http.get(`${this.nomenclatures.ApiDomain}/tournament/GetInfoAsync?id=`+this.tournamentId+"&language="+this.layout.language).then(t=>{this.info=t.data.TournamentSidebarModel,this.logos=t.data.EventLogosModel,this.tournamentPicture=this.logos.LogoUrls[0],this.logos.LogoUrls.shift(),this.admins=t.data.TournamentSidebarModel.AdminCarouselVm.AdminsList,this.referees=t.data.RefereesList,this.initShare(),this.isLoaded=!0})},momentFunc:function(t){return o()(t).format("DD/MM/YYYY HH:mm")},initShare:function(){P(function(){var t=document.createElement("script");t.src="https://static.addtoany.com/menu/page.js",document.getElementsByTagName("head")[0].appendChild(t),P(".embed-event").click(function(){P("#share-modal").modal("hide"),P("#embed-modal").modal("show")})})},toggleFees:function(){this.feeShown=!this.feeShown},toggleRegulations:function(){this.regulationsShown=!this.regulationsShown},getPaymentTypeTranslationKey:function(t){const e=Number(t);return e===Number(this.nomenclatures.PaymentTypes.Cash)?"EPaymentType_Cash":e===Number(this.nomenclatures.PaymentTypes.BankTransfer)?"EPaymentType_BankTransfer":e===Number(this.nomenclatures.PaymentTypes.Stripe)?"Payment_CreditCard":e===Number(this.nomenclatures.PaymentTypes.ExternalOnlinePayment)?"EPaymentType_ExternalOnlinePayment":null},initMap:function(){const t={lat:42.6042858,lng:.5228286},e=new google.maps.Map(document.getElementById("map"),{zoom:4,center:t});new google.maps.Marker({position:t,map:e})}}},w=S,L=(0,f.A)(w,n,a,!1,null,"b9a2bb16",null),T=L.exports}}]);
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.