text: webpackHotUpdate(4,{
  
  /***/ "./pages/channel.js":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  /* WEBPACK VAR INJECTION */(function(module) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator__ = __webpack_require__("./node_modules/@babel/runtime/regenerator/index.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator__);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_styled_jsx_style__ = __webpack_require__("./node_modules/styled-jsx/style.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_styled_jsx_style___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_styled_jsx_style__);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_isomorphic_fetch__ = __webpack_require__("./node_modules/isomorphic-fetch/fetch-npm-browserify.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_isomorphic_fetch___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_isomorphic_fetch__);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_next_link__ = __webpack_require__("./node_modules/next/link.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_next_link___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_next_link__);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react__ = __webpack_require__("./node_modules/react/index.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react__);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_Layout__ = __webpack_require__("./components/Layout.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_item_podcast__ = __webpack_require__("./components/item-podcast.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_item_serie__ = __webpack_require__("./components/item-serie.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__components_container_grid__ = __webpack_require__("./components/container-grid.js");
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__error__ = __webpack_require__("./pages/_error.js");
  
  var _jsxFileName = "E:\\next\\podcast\\pages\\channel.js";
  
  
  function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
  
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
  
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
  
  function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
  
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
  
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _next(value) { step("next", value); } function _throw(err) { step("throw", err); } _next(); }); }; }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  
  
  
  
  
  
  
  
  
  
  var Channel =
  /*#__PURE__*/
  function (_Component) {
    _inherits(Channel, _Component);
  
    function Channel() {
      var _ref;
  
      var _temp, _this;
  
      _classCallCheck(this, Channel);
  
      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
        args[_key] = arguments[_key];
      }
  
      return _possibleConstructorReturn(_this, (_temp = _this = _possibleConstructorReturn(this, (_ref = Channel.__proto__ || Object.getPrototypeOf(Channel)).call.apply(_ref, [this].concat(args))), Object.defineProperty(_assertThisInitialized(_this), "state", {
        configurable: true,
        enumerable: true,
        writable: true,
        value: {
          openPodcast: null
        }
      }), Object.defineProperty(_assertThisInitialized(_this), "openPodcast", {
        configurable: true,
        enumerable: true,
        writable: true,
        value: function value(event, podcast) {
          event.preventDefault();
  
          _this.setState({
            openPodcast: podcast
          });
        }
      }), _temp));
    }
  
    _createClass(Channel, [{
      key: "render",
      value: function render() {
        var _this2 = this;
  
        var _props = this.props,
            channel = _props.channel,
            audioClip = _props.audioClip,
            series = _props.series,
            statusCode = _props.statusCode;
        var openPodcast = this.state.openPodcast;
  
        if (statusCode !== 200) {
          return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9__error__["default"], {
            statusCode: statusCode,
            __source: {
              fileName: _jsxFileName,
              lineNumber: 59
            }
          });
        }
  
        return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5__components_Layout__["a" /* default */], {
          title: channel.title,
          __source: {
            fileName: _jsxFileName,
            lineNumber: 63
          }
        }, __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("picture", {
          __source: {
            fileName: _jsxFileName,
            lineNumber: 65
          },
          className: "jsx-1473630316"
        }, __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div", {
          style: {
            backgroundImage: "url(".concat(channel.urls.banner_image.original, ")"),
            backgroundPosition: 'center'
          },
          __source: {
            fileName: _jsxFileName,
            lineNumber: 66
          },
          className: "jsx-1473630316" + " " + "cover"
        })), openPodcast && __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div", {
          __source: {
            fileName: _jsxFileName,
            lineNumber: 77
          },
          className: "jsx-1473630316" + " " + "modal"
        }), __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("h1", {
          __source: {
            fileName: _jsxFileName,
            lineNumber: 82
          },
          className: "jsx-1473630316"
        }, channel.title), __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8__components_container_grid__["a" /* default */], {
          title: "Ultimos Podcast",
          __source: {
            fileName: _jsxFileName,
            lineNumber: 84
          }
        }, audioClip.map(function (clip) {
          return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6__components_item_podcast__["a" /* default */], {
            clip: clip,
            onPress: _this2.openPodcast,
            __source: {
              fileName: _jsxFileName,
              lineNumber: 86
            }
          });
        })), __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8__components_container_grid__["a" /* default */], {
          title: "Series",
          __source: {
            fileName: _jsxFileName,
            lineNumber: 90
          }
        }, series.map(function (serie) {
          return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__components_item_serie__["a" /* default */], {
            serie: serie,
            __source: {
              fileName: _jsxFileName,
              lineNumber: 93
            }
          });
        })), __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_styled_jsx_style___default.a, {
          styleId: "1473630316",
          css: ".cover.jsx-1473630316{width:100%;height:350px;}.modal.jsx-1473630316{position:'fixed';top:0;left:0;right:0;bottom:0;z-index:99999;background:white;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhZ2VzXFxjaGFubmVsLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtHNEIsQUFHbUMsQUFJTSxXQUhKLE1BSVAsTUFDQyxDQUpWLE1BS1csUUFDQyxTQUNLLGNBQ0csaUJBQ3BCIiwiZmlsZSI6InBhZ2VzXFxjaGFubmVsLmpzIiwic291cmNlUm9vdCI6IkU6XFxuZXh0XFxwb2RjYXN0Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICdpc29tb3JwaGljLWZldGNoJ1xyXG5pbXBvcnQgTGluayBmcm9tICduZXh0L2xpbmsnXHJcbmltcG9ydCBSZWFjdCwgeyBDb21wb25lbnQgfSBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCBMYXlvdXQgZnJvbSAnLi4vY29tcG9uZW50cy9MYXlvdXQnO1xyXG5pbXBvcnQgSXRlbVBvZGNhc3QgZnJvbSAnLi4vY29tcG9uZW50cy9pdGVtLXBvZGNhc3QnO1xyXG5pbXBvcnQgSXRlbVNlcmllIGZyb20gJy4uL2NvbXBvbmVudHMvaXRlbS1zZXJpZSc7XHJcbmltcG9ydCBDb250YWluZXJHcmlkIGZyb20gJy4uL2NvbXBvbmVudHMvY29udGFpbmVyLWdyaWQnO1xyXG5pbXBvcnQgRXJyb3Ig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cblxyXG4gICAgICAgIGlmIChzdGF0dXNDb2RlICE9PSAyMDApIHtcclxuICAgICAgICAgICAgcmV0dXJuIDxFcnJvciBzdGF0dXNDb2RlPXtzdGF0dXNDb2RlfSAvPlxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIChcclxuICAgICAgICAgICAgPExheW91dCB0aXRsZT17Y2hhbm5lbC50aXRsZX0+XHJcblxyXG4gICAgICAgICAgICAgICAgPHBpY3R1cmUgPlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXZcclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPVwiY292ZXJcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBzdHlsZT17e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZEltYWdlOiBgdXJsKCR7Y2hhbm5lbC51cmxzLmJhbm5lcl9pbWFnZS5vcmlnaW5hbH0pYCxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmRQb3NpdGlvbjogJ2NlbnRlcidcclxuICAgICAgICAgICAgICAgICAgICAgICAgfX1cclxuICAgICAgICAgICAgICAgICAgICA+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L3BpY3R1cmU+XHJcblxyXG4gICAgICAgICAgICAgICAgeyBcclxuICAgICAgICAgICAgICAgICAgICBvcGVuUG9kY2FzdCAmJlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPVwibW9kYWxcIj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgPGgxPntjaGFubmVsLnRpdGxlfTwvaDE+XHJcblxyXG4gICAgICAgICAgICAgICAgPENvbnRhaW5lckdyaWQgdGl0bGU9XCJVbHRpbW9zIFBvZGNhc3RcIj5cclxuICAgICAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGF1ZGlvQ2xpcC5tYXAoKGNsaXApID0+IDxJdGVtUG9kY2FzdCBjbGlwPXtjbGlwfSBvblByZXNzPXt0aGlzLm9wZW5Qb2RjYXN0fSAvPilcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICA8L0NvbnRhaW5lckdyaWQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPENvbnRhaW5lckdyaWQgdGl0bGU9XCJTZXJpZXNcIj5cclxuICAgICAgICAgICAgICAgICAgICB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHNlcmllcy5tYXAoKHNlcmllKSA9PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPEl0ZW1TZXJpZSBzZXJpZT17c2VyaWV9PjwvSXRlbVNlcmllPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICApXHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgPC9Db250YWluZXJHcmlkPlxyXG5cclxuXHJcbiAgICAgICAgICAgICAgICA8c3R5bGUganN4PntgXHJcbiAgICAgICAgICAgICAgICAgICAgLmNvdmVye1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDoxMDAlO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6MzUwcHg7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgIC5tb2RhbHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcG9zaXRpb246J2ZpeGVkJztcclxuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOjA7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQ6MDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHQ6MDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgYm90dG9tOjA7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHotaW5kZXg6OTk5OTk7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQ6d2hpdGU7XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgYH08L3N0eWxlPlxyXG5cclxuICAgICAgICAgICAgPC9MYXlvdXQ+XHJcbiAgICAgICAgKTtcclxuICAgIH1cclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQ2hhbm5lbDsiXX0= */\n/*@ sourceURL=pages\\channel.js */"
        }));
      }
    }], [{
      key: "getInitialProps",
      value: function () {
        var _getInitialProps = _asyncToGenerator(
        /*#__PURE__*/
        __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default.a.mark(function _callee(_ref2) {
          var query, res, idChannel, _ref3, _ref4, reqChannel, reqSeries, reqAudios, dataChannel, channel, dataAudio, audioClip, dataSeries, series;
  
          return __WEBPACK_IMPORTED_MODULE_0__babel_runtime_regenerator___default.a.wrap(function _callee$(_context) {
            while (1) {
              switch (_context.prev = _context.next) {
                case 0:
                  query = _ref2.query, res = _ref2.res;
                  idChannel = query.id;
                  _context.prev = 2;
                  _context.next = 5;
                  return Promise.all([fetch("https://api.audioboom.com/channels/".concat(idChannel)), fetch("https://api.audioboom.com/channels/".concat(idChannel, "/child_channels")), fetch("https://api.audioboom.com/channels/".concat(idChannel, "/audio_clips"))]);
  
                case 5:
                  _ref3 = _context.sent;
                  _ref4 = _slicedToArray(_ref3, 3);
                  reqChannel = _ref4[0];
                  reqSeries = _ref4[1];
                  reqAudios = _ref4[2];
  
                  if (!(reqChannel.status >= 400)) {
                    _context.next = 13;
                    break;
                  }
  
                  res.statusCode = reqChannel.status;
                  return _context.abrupt("return", {
                    channel: null,
                    audioClip: null,
                    series: null,
                    statusCode: reqChannel.status
                  });
  
                case 13:
                  _context.next = 15;
                  return reqChannel.json();
  
                case 15:
                  dataChannel = _context.sent;
                  channel = dataChannel.body.channel;
                  _context.next = 19;
                  return reqAudios.json();
  
                case 19:
                  dataAudio = _context.sent;
                  audioClip = dataAudio.body.audio_clips;
                  _context.next = 23;
                  return reqSeries.json();
  
                case 23:
                  dataSeries = _context.sent;
                  series = dataSeries.body.channels;
                  return _context.abrupt("return", {
                    channel: channel,
                    audioClip: audioClip,
                    series: series,
                    statusCode: 200
                  });
  
                case 28:
                  _context.prev = 28;
                  _context.t0 = _context["catch"](2);
                  return _context.abrupt("return", {
                    channel: null,
                    audioClip: null,
                    series: null,
                    statusCode: 503
                  });
  
                case 31:
                case "end":
                  return _context.stop();
              }
            }
          }, _callee, this, [[2, 28]]);
        }));
  
        return function getInitialProps(_x) {
          return _getInitialProps.apply(this, arguments);
        };
      }()
    }]);
  
    return Channel;
  }(__WEBPACK_IMPORTED_MODULE_4_react__["Component"]);
  
  /* harmony default export */ __webpack_exports__["default"] = (Channel);
      (function (Component, route) {
        if(!Component) return
        if (false) return
        module.hot.accept()
        Component.__route = route
  
        if (module.hot.status() === 'idle') return
  
        var components = next.router.components
        for (var r in components) {
          if (!components.hasOwnProperty(r)) continue
  
          if (components[r].Component.__route === route) {
            next.router.update(r, Component)
          }
        }
      })(typeof __webpack_exports__ !== 'undefined' ? __webpack_exports__.default : (module.exports.default || module.exports), "/channel")
    
  /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__("./node_modules/webpack/buildin/harmony-module.js")(module)))
  
  /***/ })
  
  })
  //# sourceMappingURL=4.47b0ecbaacebb45c60af.hot-update.js.map