<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c262b"],{"49a1":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[0===t.videos.length&amp;&amp;t.viewOnly?t._e():a("v-data-iterator",{attrs:{items:t.videos,"sort-by":"unix","sort-desc":!0,"items-per-page":4},scopedSlots:t._u([{key:"default",fn:function(e){return[a("v-row",{attrs:{dense:""}},t._l(e.items,(function(e){return a("v-col",{key:e.id,attrs:{cols:"12",sm:"6",md:"4",xl:"3"}},[a("v-card",{staticClass:"flexcard",attrs:{height:"100%"}},[e.t&amp;&amp;e.t.length&gt;1?a("v-card-text",{staticClass:"text-center pb-0"},[a("div",{staticClass:"title"},[a("fit-text",[t._v(t._s(e.t[0]))])],1),a("div",[t._v("vs")]),a("div",{staticClass:"title"},[a("fit-text",[t._v(t._s(e.t[1]))])],1)]):a("v-card-title",[a("fit-text",[t._v(t._s(e.props.title))])],1),a("v-card-text",{staticClass:"grow pt-0 caption"},[a("div",[t._v(t._s(e.props.organization))]),a("div",[t._v(t._s(e.props.tournament)+" ("+t._s(t._f("localDate")(e.props.dateTime))+")")]),a("div",[t._v(t._s(e.props.division))]),a("div",[t._v(t._s(e.props.round)+" | "+t._s(e.props.subround)+" | "+t._s(e.props.match))])]),a("v-divider"),a("v-card-actions",{staticClass:"justify-space-between"},[a("v-btn",{attrs:{text:"",small:"",color:"color3 color3Text--text"},on:{click:function(a){return a.stopPropagation(),t.watch(e)}}},[t._v(" watch replay"),a("v-icon",{staticClass:"ml-2",attrs:{small:""}},[t._v("fas fa-tv")])],1),a("v-btn",{attrs:{color:"color3",text:"","x-small":"",to:{name:e.poolId?"pool-sheet":"bracket-home",params:{tournamentId:e.tournamentId,divisionId:e.divisionId,dayId:e.props.roundId,poolId:e.poolId,bracketId:e.bracketId}}}},[t._v(" Jump to the "+t._s(e.poolId?"Pool Sheet":"Bracket")+" "),a("v-icon",{staticClass:"ml-3"},[t._v("fas fa-caret-right")])],1)],1),t.editCapabale?a("v-btn",{attrs:{color:"error","x-small":"",text:""},on:{click:function(a){a.stopPropagation(),t.selected=e}}},[t._v("remove")]):t._e()],1),a("div")],1)})),1)]}}],null,!1,4007097782)}),0===t.videos.length&amp;&amp;t.viewOnly?a("div",{staticClass:"text-center pa-3 pt-0"},[t._v(" "+t._s(t.player.firstName)+" doesn't have any match streams yet. ")]):t._e(),t.editCapabale?a("vbl-confirm-dialog",{attrs:{ask:!!t.selected,loading:t.deleteing},on:{deny:function(e){t.selected=null},confirm:t.doDelete}}):t._e()],1)},i=[],o=(a("99af"),a("d81d"),a("d3b7"),a("ac1f"),a("5319"),a("1276"),a("5530")),n=a("c1df"),l=a.n(n),d=a("f4c0"),c=a("2f62"),r={props:["player","active","viewOnly"],data:function(){return{loading:!1,loaded:!1,deleteing:!1,uploading:!1,videos:[],selected:null}},computed:Object(o["a"])(Object(o["a"])({},Object(c["c"])(["user"])),{},{editCapabale:function(){return this.user&amp;&amp;this.user.vbl}}),methods:{setVideos:function(t){this.videos=t.map((function(t){return t.unix=l()(t.props.dateTime.replace("Z","")).unix(),t.t=t.props.title.split(" vs "),t}))},loadVideos:function(){var t=this;this.loaded||(this.loading=!0,this.$VBL.player.streams.get(this.player.id).then((function(e){t.setVideos(e.data)})).catch((function(t){console.log(t.response)})).finally((function(){t.loading=!1})))},watch:function(t){var e=this;this.loading=!0,this.$http.get("".concat(d["a"],"/livestream/watch/").concat(t.id)).then((function(t){window.open(t.data,"_blank")})).finally((function(){e.loading=!1}))},doDelete:function(){var t=this;this.deleteing=!0,this.$VBL.player.streams.setShow(this.player.id,this.selected.id,!1).then((function(e){t.setVideos(e.data),t.selected=!1})).catch((function(t){console.log(t.response)})).finally((function(){t.deleteing=!1}))}},watch:{active:"loadVideos"},mounted:function(){this.active&amp;&amp;this.loadVideos()}},p=r,v=a("2877"),u=a("6544"),f=a.n(u),h=a("8336"),_=a("b0af"),m=a("99d9"),b=a("62ad"),g=a("a523"),w=a("c377"),x=a("ce7e"),y=a("132d"),V=a("0fd9"),C=Object(v["a"])(p,s,i,!1,null,"283afb9b",null);e["default"]=C.exports;f()(C,{VBtn:h["a"],VCard:_["a"],VCardActions:m["a"],VCardText:m["b"],VCardTitle:m["c"],VCol:b["a"],VContainer:g["a"],VDataIterator:w["a"],VDivider:x["a"],VIcon:y["a"],VRow:V["a"]})}}]);
//# sourceMappingURL=chunk-2d0c262b.41c83b59.js.map</pre></body></html>