1(this["webpackJsonpchatcast-client"]=this["webpackJsonpchatcast-client"]||[]).push([[20],{1227:function(t,e,n){"use strict";n.r(e);var a=n(4),c=n.n(a),r=n(8),i=n(5),o=n(9),s=n(17),u=n(14),l=n(15),p=n(0),h=n.n(p),d=n(37),b=n(29),f=n(76),m=n(2),v=n(3),k=n(882),j=n.n(k),g=n(42),O=n(898),y=n.n(O),x=n(899),w=n.n(x),E=n(900),_=n.n(E),I=n(901);function L(){var t=Object(m.a)(["\n width: 100vw;\n overflow: hidden;\n padding-bottom: 45px;\n"]);return L=function(){return t},t}function T(){var t=Object(m.a)(["\n height: 0;\n padding-bottom: 39.5%;\n "]);return T=function(){return t},t}function S(){var t=Object(m.a)(["\n height: 0;\n padding-bottom: 300px;\n "]);return S=function(){return t},t}function D(){var t=Object(m.a)(["\n ","\n ","\n .slick-slide {\n width: 100vw !important;\n max-width: 768px !important;\n }\n"]);return D=function(){return t},t}var U=[{link:"/channel/sabay",imgUrl:n.n(I).a},{link:"/channel/futuring",imgUrl:_.a},{link:"/channel/startups",imgUrl:w.a},{link:"/channel/public_relations",imgUrl:y.a}],A=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"componentDidMount",value:function(){["https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.css","https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick-theme.min.css"].forEach((function(t){if(!document.querySelector('[href="'.concat(t,'"]'))){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.head.appendChild(e)}}))}},{key:"render",value:function(){var t={autoplay:!0,autoplaySpeed:5e3,dots:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,centerMode:!0,variableWidth:!0,arrows:!0,swipe:!0,draggable:!0};return h.a.createElement(R,null,h.a.createElement(C,t,U.map((function(t){return h.a.createElement("a",{href:t.link,key:t.link},h.a.createElement("img",{alt:"\u30d0\u30ca\u30fc\u753b\u50cf",src:t.imgUrl}))}))))}}]),n}(h.a.Component),C=Object(v.c)(j.a)(D(),g.b.desktop(Object(v.b)(S())),g.b.tablet(Object(v.b)(T()))),R=v.c.div(L()),M=n(630),N=n(35),P=n(650),G=n(38),W=n(25),B=n(113),F=n(75),H=function(){function t(e){Object(i.a)(this,t),this.dispatch=e}return Object(o.a)(t,[{key:"updateRecentEpisodes",value:function(t){this.dispatch(Object(B.e)(t))}},{key:"updateRecommendEpisodes",value:function(t){this.dispatch(Object(B.f)(t))}},{key:"updateMyFeedEpisodes",value:function(t){this.dispatch(Object(B.d)(t))}},{key:"updateLives",value:function(t){this.dispatch(Object(B.c)(t))}}]),t}(),J=Object(W.b)((function(t){var e=t.pages,n=t.loginData,a=t.switchingUser;return{top:e.top,currentUser:Object(F.a)(n,a)}}),(function(t){return{actions:new H(t)}})),Y=n(364),q=function(t){Object(u.a)(n,t);var e=Object(l.a)(n);function n(t){var a;return Object(i.a)(this,n),(a=e.call(this,t)).tabPathes=void 0,a.checkLiveChatTimerId=void 0,a.handleSelect=a.handleSelect.bind(Object(s.a)(a)),a.tabPathes=Object(Y.a)(a.props).map((function(t){return t.path})),a}return Object(o.a)(n,[{key:"componentDidMount",value:function(){var t=Object(r.a)(c.a.mark((function t(){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.checkNeedsLoad();case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"componentWillUnmount",value:function(){clearTimeout(this.checkLiveChatTimerId)}},{key:"render",value:function(){var t=Object(Y.a)(this.props);return h.a.createElement(h.a.Fragment,null,h.a.createElement(A,null),h.a.createElement(N.a,{maxWidth:G.a.EPISODE_LIST},h.a.createElement(P.a,{onSelect:this.handleSelect,selectedIndex:this.getTabIndex()},h.a.createElement(M.b,null,t.map((function(t,e){return h.a.createElement(M.a,{key:e},t.title)}))),t.map((function(t,e){return h.a.createElement(M.c,{key:e},t.component)})))))}},{key:"getTabIndex",value:function(){return this.props.match.params.path&&this.tabPathes.indexOf(this.props.match.params.path)||0}},{key:"handleSelect",value:function(t){var e=this.tabPathes[t]||"";this.props.match.params.path!==e&&this.props.history.push(e)}},{key:"checkNeedsLoad",value:function(){var t=Object(r.a)(c.a.mark((function t(){var e,n=this;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(!(e=this.props.top.lives.updatedAt)||e+3e4<Date.now())&&this.loadLiveInfo(),this.checkLiveChatTimerId=setTimeout((function(){n.checkNeedsLoad()}),1e3);case 3:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"loadLiveInfo",value:function(){var t=Object(r.a)(c.a.mark((function t(){var e,n;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=b.a.build(f.c),t.next=3,e.fetchLiveChatRooms().catch(d.a);case 3:-1!==(n=t.sent)&&this.props.actions.updateLives(n.reverse());case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),n}(h.a.Component);e.default=J(q)},650:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var a=n(2),c=n(3),r=n(630),i=n(6);function o(){var t=Object(a.a)(["\n .react-tabs__tab-list {\n display: flex;\n margin: 0 0 10px;\n padding: 0;\n color: ",";\n font-weight: 400;\n }\n\n .react-tabs__tab {\n list-style: none;\n cursor: pointer;\n flex-grow: 1;\n text-align: center;\n border-bottom: 1px solid ",";\n transition: 0.3s;\n min-height: 44px;\n line-height: 3;\n }\n\n .react-tabs__tab--selected {\n color: ",";\n border-bottom: 2px solid ",';\n }\n\n .react-tabs__tab--disabled {\n color: GrayText;\n cursor: default;\n }\n\n .react-tabs__tab:focus {\n }\n\n .react-tabs__tab:focus:after {\n content: "";\n position: absolute;\n height: 5px;\n left: -4px;\n right: -4px;\n bottom: -5px;\n background: ',";\n }\n\n .react-tabs__tab-panel {\n display: none;\n }\n\n .react-tabs__tab-panel--selected {\n display: block;\n }\n"]);return o=function(){return t},t}var s=Object(c.c)(r.d)(o(),i.a.DIMGRAY,i.a.LIGHT_GRAY,i.a.BRAND,i.a.BRAND,i.a.WHITE)},898:function(t,e,n){t.exports=n.p+"static/media/1.bf5217f1.jpg"},899:function(t,e,n){t.exports=n.p+"static/media/2.12483a17.jpg"},900:function(t,e,n){t.exports=n.p+"static/media/3.5d6129cc.jpg"},901:function(t,e,n){t.exports=n.p+"static/media/4.1f357ca8.png"}}]); 2//# sourceMappingURL=20.e578de02.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.