text: module.exports =
  /******/ (function(modules) { // webpackBootstrap
  /******/ 	// The module cache
  /******/ 	var installedModules = require('../../../ssr-module-cache.js');
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/
  /******/ 		// Check if module is in cache
  /******/ 		if(installedModules[moduleId]) {
  /******/ 			return installedModules[moduleId].exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = installedModules[moduleId] = {
  /******/ 			i: moduleId,
  /******/ 			l: false,
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		var threw = true;
  /******/ 		try {
  /******/ 			modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  /******/ 			threw = false;
  /******/ 		} finally {
  /******/ 			if(threw) delete installedModules[moduleId];
  /******/ 		}
  /******/
  /******/ 		// Flag the module as loaded
  /******/ 		module.l = true;
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /******/
  /******/ 	// expose the modules object (__webpack_modules__)
  /******/ 	__webpack_require__.m = modules;
  /******/
  /******/ 	// expose the module cache
  /******/ 	__webpack_require__.c = installedModules;
  /******/
  /******/ 	// define getter function for harmony exports
  /******/ 	__webpack_require__.d = function(exports, name, getter) {
  /******/ 		if(!__webpack_require__.o(exports, name)) {
  /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
  /******/ 		}
  /******/ 	};
  /******/
  /******/ 	// define __esModule on exports
  /******/ 	__webpack_require__.r = function(exports) {
  /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  /******/ 		}
  /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
  /******/ 	};
  /******/
  /******/ 	// create a fake namespace object
  /******/ 	// mode & 1: value is a module id, require it
  /******/ 	// mode & 2: merge all properties of value into the ns
  /******/ 	// mode & 4: return value when already ns object
  /******/ 	// mode & 8|1: behave like require
  /******/ 	__webpack_require__.t = function(value, mode) {
  /******/ 		if(mode & 1) value = __webpack_require__(value);
  /******/ 		if(mode & 8) return value;
  /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  /******/ 		var ns = Object.create(null);
  /******/ 		__webpack_require__.r(ns);
  /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  /******/ 		return ns;
  /******/ 	};
  /******/
  /******/ 	// getDefaultExport function for compatibility with non-harmony modules
  /******/ 	__webpack_require__.n = function(module) {
  /******/ 		var getter = module && module.__esModule ?
  /******/ 			function getDefault() { return module['default']; } :
  /******/ 			function getModuleExports() { return module; };
  /******/ 		__webpack_require__.d(getter, 'a', getter);
  /******/ 		return getter;
  /******/ 	};
  /******/
  /******/ 	// Object.prototype.hasOwnProperty.call
  /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  /******/
  /******/ 	// __webpack_public_path__
  /******/ 	__webpack_require__.p = "";
  /******/
  /******/
  /******/ 	// Load entry module and return exports
  /******/ 	return __webpack_require__(__webpack_require__.s = 3);
  /******/ })
  /************************************************************************/
  /******/ ({
  
  /***/ "06NB":
  /***/ (function(module, exports) {
  
  module.exports = require("slugify");
  
  /***/ }),
  
  /***/ 3:
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("Jyeg");
  
  
  /***/ }),
  
  /***/ "4Q3z":
  /***/ (function(module, exports) {
  
  module.exports = require("next/router");
  
  /***/ }),
  
  /***/ "5Yp1":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Layout; });
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HJQg");
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("8cHP");
  /* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_routes__WEBPACK_IMPORTED_MODULE_2__);
  /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("xnum");
  /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_3__);
  /* harmony import */ var nprogress__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("GvLQ");
  /* harmony import */ var nprogress__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(nprogress__WEBPACK_IMPORTED_MODULE_4__);
  /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("4Q3z");
  /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_5__);
  
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement;
  
  
  
  
  
  next_router__WEBPACK_IMPORTED_MODULE_5___default.a.onRouteChangeStart = url => {
    nprogress__WEBPACK_IMPORTED_MODULE_4___default.a.start();
  };
  
  next_router__WEBPACK_IMPORTED_MODULE_5___default.a.onRouteChangeComplete = () => nprogress__WEBPACK_IMPORTED_MODULE_4___default.a.done();
  
  next_router__WEBPACK_IMPORTED_MODULE_5___default.a.onRouteChangeError = () => nprogress__WEBPACK_IMPORTED_MODULE_4___default.a.done();
  
  class Layout extends react__WEBPACK_IMPORTED_MODULE_1___default.a.Component {
    render() {
      const {
        children,
        title
      } = this.props;
      return __jsx("div", {
        className: "jsx-302219873"
      }, __jsx(next_head__WEBPACK_IMPORTED_MODULE_3___default.a, null, __jsx("title", {
        className: "jsx-302219873"
      }, title), __jsx("meta", {
        name: "viewport",
        content: "width=device-width",
        className: "jsx-302219873"
      })), __jsx("header", {
        className: "jsx-302219873"
      }, __jsx(_routes__WEBPACK_IMPORTED_MODULE_2__["Link"], {
        route: "home"
      }, __jsx("a", {
        className: "jsx-302219873"
      }, "Podcasts"))), children, __jsx(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default.a, {
        id: "692669389"
      }, ["header.jsx-302219873{color:#fff;background:#8756ca;padding:15px;text-align:center;}", "header.jsx-302219873 a.jsx-302219873{color:#fff;-webkit-text-decoration:none;text-decoration:none;}"]), __jsx(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default.a, {
        id: "3670687205"
      }, ["body{margin:0;font-family:system-ui;background:white;}", "#nprogress{pointer-events:none;}", "#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px;}", "#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1.0;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translate(0px,-4px);}", "#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px;}", "#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite;}", ".nprogress-custom-parent{overflow:hidden;position:relative;}", ".nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute;}", "@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);}}", "@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}", "@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}"]));
    }
  
  }
  
  /***/ }),
  
  /***/ "8cHP":
  /***/ (function(module, exports, __webpack_require__) {
  
  const routes = module.exports = __webpack_require__("90Kz")();
  
  routes.add('home', '/', 'index').add('channel', '/:slug.:id', 'channel').add('podcast', '/:slugChannel.:idChannel/:slug.:id', 'podcast');
  
  /***/ }),
  
  /***/ "90Kz":
  /***/ (function(module, exports) {
  
  module.exports = require("next-routes");
  
  /***/ }),
  
  /***/ "GvLQ":
  /***/ (function(module, exports) {
  
  module.exports = require("nprogress");
  
  /***/ }),
  
  /***/ "HJQg":
  /***/ (function(module, exports) {
  
  module.exports = require("styled-jsx/style");
  
  /***/ }),
  
  /***/ "Jyeg":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var isomorphic_fetch__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("W+0S");
  /* harmony import */ var isomorphic_fetch__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(isomorphic_fetch__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var _components_Layout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("5Yp1");
  /* harmony import */ var _components_PodcastPlayer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("dY2h");
  /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Y0NT");
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  
  
  
  
  /* harmony default export */ __webpack_exports__["default"] = (class extends react__WEBPACK_IMPORTED_MODULE_0___default.a.Component {
    static async getInitialProps({
      query,
      res
    }) {
      let id = query.id;
  
      try {
        let fetchClip = await fetch(`https://api.audioboom.com/audio_clips/${id}.mp3`);
  
        if (fetchClip.status >= 400) {
          res.statusCode = fetchClip.status;
          return {
            clip: null,
            statusCode: fetchClip.status
          };
        }
  
        let clip = (await fetchClip.json()).body.audio_clip;
        return {
          clip,
          statusCode: 200
        };
      } catch (e) {
        return {
          clip: null,
          statusCode: 503
        };
      }
    }
  
    render() {
      const {
        clip,
        statusCode
      } = this.props;
  
      if (statusCode !== 200) {
        return __jsx(_error__WEBPACK_IMPORTED_MODULE_4__["default"], {
          statusCode: statusCode
        });
      }
  
      return __jsx(_components_Layout__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], {
        title: clip.title
      }, __jsx(_components_PodcastPlayer__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], {
        clip: clip
      }));
    }
  
  });
  
  /***/ }),
  
  /***/ "W+0S":
  /***/ (function(module, exports) {
  
  module.exports = require("isomorphic-fetch");
  
  /***/ }),
  
  /***/ "Y0NT":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Error; });
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HJQg");
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var _components_Layout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("5Yp1");
  /* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("8cHP");
  /* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_routes__WEBPACK_IMPORTED_MODULE_3__);
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement;
  
  
  
  class Error extends react__WEBPACK_IMPORTED_MODULE_1___default.a.Component {
    static getInitialProps({
      res,
      err
    }) {
      const statusCode = res ? res.statusCode : err ? err.statusCode : null;
      return {
        statusCode
      };
    }
  
    render() {
      const {
        statusCode
      } = this.props;
      return __jsx(_components_Layout__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], {
        title: "Oh no :("
      }, statusCode === 404 ? __jsx("div", {
        className: "jsx-1949451712" + " " + "message"
      }, __jsx("h1", {
        className: "jsx-1949451712"
      }, "Esta p\xE1gina no existe :("), __jsx("p", {
        className: "jsx-1949451712"
      }, __jsx(_routes__WEBPACK_IMPORTED_MODULE_3__["Link"], {
        route: "home"
      }, __jsx("a", {
        className: "jsx-1949451712"
      }, "Volver a la home")))) : __jsx("div", {
        className: "jsx-1949451712" + " " + "message"
      }, __jsx("h1", {
        className: "jsx-1949451712"
      }, "Hubo un problema :("), __jsx("p", {
        className: "jsx-1949451712"
      }, "Intenta nuevamente en unos segundos")), __jsx(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default.a, {
        id: "1949451712"
      }, [".message.jsx-1949451712{padding:100px 30px;text-align:center;}", "h1.jsx-1949451712{margin-bottom:2em;}", "a.jsx-1949451712{color:#8756ca;}"]));
    }
  
  }
  
  /***/ }),
  
  /***/ "cDcd":
  /***/ (function(module, exports) {
  
  module.exports = require("react");
  
  /***/ }),
  
  /***/ "dY2h":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PodcastPlayer; });
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("HJQg");
  /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("8cHP");
  /* harmony import */ var _routes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_routes__WEBPACK_IMPORTED_MODULE_2__);
  /* harmony import */ var _helpers_slug__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("mqlx");
  
  
  var __jsx = react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement;
  
  
  class PodcastPlayer extends react__WEBPACK_IMPORTED_MODULE_1___default.a.Component {
    render() {
      const {
        clip,
        onClose
      } = this.props;
      return __jsx("div", {
        className: "jsx-3928628942" + " " + "modal"
      }, __jsx("div", {
        className: "jsx-3928628942" + " " + 'clip'
      }, __jsx("nav", {
        className: "jsx-3928628942"
      }, onClose ? __jsx("a", {
        onClick: onClose,
        className: "jsx-3928628942"
      }, "< Volver") : __jsx(_routes__WEBPACK_IMPORTED_MODULE_2__["Link"], {
        route: "channel",
        params: {
          slug: Object(_helpers_slug__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(clip.channel.title),
          id: clip.channel.id
        },
        prefetch: true
      }, __jsx("a", {
        className: "jsx-3928628942" + " " + 'close'
      }, "< Volver"))), __jsx("picture", {
        className: "jsx-3928628942"
      }, __jsx("div", {
        style: {
          backgroundImage: `url(${clip.urls.image || clip.channel.urls.logo_image.original})`
        },
        className: "jsx-3928628942"
      })), __jsx("div", {
        className: "jsx-3928628942" + " " + 'player'
      }, __jsx("h3", {
        className: "jsx-3928628942"
      }, clip.title), __jsx("h6", {
        className: "jsx-3928628942"
      }, clip.channel.title), __jsx("audio", {
        controls: true,
        autoPlay: true,
        className: "jsx-3928628942"
      }, __jsx("source", {
        src: clip.urls.high_mp3,
        type: "audio/mpeg",
        className: "jsx-3928628942"
      })))), __jsx(styled_jsx_style__WEBPACK_IMPORTED_MODULE_0___default.a, {
        id: "3928628942"
      }, ["nav.jsx-3928628942{background:none;}", "nav.jsx-3928628942 a.jsx-3928628942{display:inline-block;padding:15px;color:white;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;}", ".clip.jsx-3928628942{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;background:#8756ca;color:white;}", "picture.jsx-3928628942{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:auto;padding:10%;}", "picture.jsx-3928628942 div.jsx-3928628942{width:100%;height:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat;}", ".player.jsx-3928628942{padding:30px;background:rgba(0,0,0,0.3);text-align:center;}", "h3.jsx-3928628942{margin:0;}", "h6.jsx-3928628942{margin:0;margin-top:1em;}", "audio.jsx-3928628942{margin-top:2em;width:100%;}", ".modal.jsx-3928628942{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999;}"]));
    }
  
  }
  
  /***/ }),
  
  /***/ "mqlx":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return slug; });
  /* harmony import */ var slugify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("06NB");
  /* harmony import */ var slugify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(slugify__WEBPACK_IMPORTED_MODULE_0__);
  
  function slug(name) {
    return slugify__WEBPACK_IMPORTED_MODULE_0___default()(name, {
      lower: true
    }).replace(/[^\w\-]+/g, '');
  }
  
  /***/ }),
  
  /***/ "xnum":
  /***/ (function(module, exports) {
  
  module.exports = require("next/head");
  
  /***/ })
  
  /******/ });