webpackHotUpdate(4,{

/***/ "./pages/index.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_react__ = __webpack_require__("./node_modules/react/cjs/react.development.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__module__ = __webpack_require__("./module/index.js");


var _createClass = 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _jsxFileName = '/Users/hakonmartinholmsenkrogh/www/react-layout/pages/index.js';


(function () {
  var enterModule = __webpack_require__("./node_modules/react-hot-loader/patch.js").enterModule;

  enterModule && enterModule(module);
})();

function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { 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 { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } 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; }





var left = function left() {
  return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
    'aside',
    {
      __source: {
        fileName: _jsxFileName,
        lineNumber: 5
      }
    },
    'Left menu'
  );
};
var right = function right() {
  return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
    'aside',
    {
      __source: {
        fileName: _jsxFileName,
        lineNumber: 6
      }
    },
    'Right menu'
  );
};

var Test = function (_React$Component) {
  _inherits(Test, _React$Component);

  function Test() {
    var _ref,
        _this2 = this;

    var _temp, _this, _ret;

    _classCallCheck(this, Test);

    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Test.__proto__ || Object.getPrototypeOf(Test)).call.apply(_ref, [this].concat(args))), _this), _this.showLeft = _asyncToGenerator( /*#__PURE__*/__WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.mark(function _callee() {
      var shown;
      return __WEBPACK_IMPORTED_MODULE_0_babel_runtime_regenerator___default.a.wrap(function _callee$(_context) {
        while (1) {
          switch (_context.prev = _context.next) {
            case 0:
              console.log('Showing left');
              _context.next = 3;
              return Object(__WEBPACK_IMPORTED_MODULE_3__module__["b" /* showLeft */])();

            case 3:
              shown = _context.sent;

              console.log('Shown?', shown);

            case 5:
            case 'end':
              return _context.stop();
          }
        }
      }, _callee, _this2);
    })), _temp), _possibleConstructorReturn(_this, _ret);
  }

  _createClass(Test, [{
    key: 'render',
    value: function render() {
      return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
        'div',
        {
          className: 'jsx-1785368916',
          __source: {
            fileName: _jsxFileName,
            lineNumber: 17
          }
        },
        __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_styled_jsx_style___default.a, {
          styleId: '1202458469',
          css: 'body{margin:0;}.crystallize-layout__menu{background:#f0f0f0;}aside{padding:20px;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhZ2VzL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCMkIsQUFHc0IsQUFJVSxBQUlOLFNBUGYsSUFRQSxNQUpBIiwiZmlsZSI6InBhZ2VzL2luZGV4LmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9oYWtvbm1hcnRpbmhvbG1zZW5rcm9naC93d3cvcmVhY3QtbGF5b3V0Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IENyeXN0YWxsaXplTGF5b3V0LCB7IHNob3dSaWdodCwgc2hvd0xlZnQgfSBmcm9tICcuLi9tb2R1bGUnO1xuXG5jb25zdCBsZWZ0ID0gKCkgPT4gPGFzaWRlPkxlZnQgbWVudTwvYXNpZGU+O1xuY29uc3QgcmlnaHQgPSAoKSA9PiA8YXNpZGU+UmlnaHQgbWVudTwvYXNpZGU+O1xuXG5jbGFzcyBUZXN0IGV4dGVuZHMgUmVhY3QuQ29tcG9uZW50IHtcbiAgc2hvd0xlZnQgPSBhc3luYyAoKSA9PiB7XG4gICAgY29uc29sZS5sb2coJ1Nob3dpbmcgbGVmdCcpO1xuICAgIGNvbnN0IHNob3duID0gYXdhaXQgc2hvd0xlZnQoKTtcbiAgICBjb25zb2xlLmxvZygnU2hvd24/Jywgc2hvd24pO1xuICB9O1xuXG4gIHJlbmRlcigpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGRpdj5cbiAgICAgICAgPHN0eWxlIGpzeCBnbG9iYWw+e2BcbiAgICAgICAgICBib2R5IHtcbiAgICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAuY3J5c3RhbGxpemUtbGF5b3V0X19tZW51IHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICNmMGYwZjA7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgYXNpZGUge1xuICAgICAgICAgICAgcGFkZGluZzogMjBweDtcbiAgICAgICAgICB9XG4gICAgICAgIGB9PC9zdHlsZT5cbiAgICAgICAgPHN0eWxlIGpzeD57YFxuICAgICAgICAgIG1haW4ge1xuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICAgICAgbWluLWhlaWdodDogMTUwdmg7XG4gICAgICAgICAgICBwYWRkaW5nLXRvcDogNDV2aDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBoMSB7XG4gICAgICAgICAgICBtYXJnaW46IDAgMCAxNXB4O1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IDEwcHg7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgYnV0dG9uIHtcbiAgICAgICAgICAgIG1hcmdpbjogMCAxMHB4O1xuICAgICAgICAgIH1cbiAgICAgICAgYH08L3N0eWxlPlxuICAgICAgICA8bWFpbj5cbiAgICAgICAgICA8aDE+UmVhY3QgbGF5b3V0PC9oMT5cbiAgICAgICAgICA8YnV0dG9uIG9uQ2xpY2s9e3RoaXMuc2hvd0xlZnR9PlNob3cgbGVmdDwvYnV0dG9uPlxuICAgICAgICAgIDxidXR0b24gb25DbGljaz17c2hvd1JpZ2h0fT5TaG93IHJpZ2h0PC9idXR0b24+XG4gICAgICAgIDwvbWFpbj5cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4gKFxuICA8Q3J5c3RhbGxpemVMYXlvdXQgbGVmdD17bGVmdH0gcmlnaHQ9e3JpZ2h0fSBzcGVlZD1cIjUwMFwiPlxuICAgIDxUZXN0IC8+XG4gIDwvQ3J5c3RhbGxpemVMYXlvdXQ+XG4pO1xuIl19 */\n/*@ sourceURL=pages/index.js */'
        }),
        __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_styled_jsx_style___default.a, {
          styleId: '1804375960',
          css: 'main.jsx-1785368916{text-align:center;min-height:150vh;padding-top:45vh;}h1.jsx-1785368916{margin:0 0 15px;padding-top:10px;}button.jsx-1785368916{margin:0 10px;}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInBhZ2VzL2luZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQThCb0IsQUFHK0IsQUFNRixBQUtGLGNBQ2hCLEVBTG1CLEVBTkEsZUFPbkIsRUFObUIsaUJBQ25CIiwiZmlsZSI6InBhZ2VzL2luZGV4LmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9oYWtvbm1hcnRpbmhvbG1zZW5rcm9naC93d3cvcmVhY3QtbGF5b3V0Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IENyeXN0YWxsaXplTGF5b3V0LCB7IHNob3dSaWdodCwgc2hvd0xlZnQgfSBmcm9tICcuLi9tb2R1bGUnO1xuXG5jb25zdCBsZWZ0ID0gKCkgPT4gPGFzaWRlPkxlZnQgbWVudTwvYXNpZGU+O1xuY29uc3QgcmlnaHQgPSAoKSA9PiA8YXNpZGU+UmlnaHQgbWVudTwvYXNpZGU+O1xuXG5jbGFzcyBUZXN0IGV4dGVuZHMgUmVhY3QuQ29tcG9uZW50IHtcbiAgc2hvd0xlZnQgPSBhc3luYyAoKSA9PiB7XG4gICAgY29uc29sZS5sb2coJ1Nob3dpbmcgbGVmdCcpO1xuICAgIGNvbnN0IHNob3duID0gYXdhaXQgc2hvd0xlZnQoKTtcbiAgICBjb25zb2xlLmxvZygnU2hvd24/Jywgc2hvd24pO1xuICB9O1xuXG4gIHJlbmRlcigpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGRpdj5cbiAgICAgICAgPHN0eWxlIGpzeCBnbG9iYWw+e2BcbiAgICAgICAgICBib2R5IHtcbiAgICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICAuY3J5c3RhbGxpemUtbGF5b3V0X19tZW51IHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICNmMGYwZjA7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgYXNpZGUge1xuICAgICAgICAgICAgcGFkZGluZzogMjBweDtcbiAgICAgICAgICB9XG4gICAgICAgIGB9PC9zdHlsZT5cbiAgICAgICAgPHN0eWxlIGpzeD57YFxuICAgICAgICAgIG1haW4ge1xuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICAgICAgbWluLWhlaWdodDogMTUwdmg7XG4gICAgICAgICAgICBwYWRkaW5nLXRvcDogNDV2aDtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBoMSB7XG4gICAgICAgICAgICBtYXJnaW46IDAgMCAxNXB4O1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IDEwcHg7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgYnV0dG9uIHtcbiAgICAgICAgICAgIG1hcmdpbjogMCAxMHB4O1xuICAgICAgICAgIH1cbiAgICAgICAgYH08L3N0eWxlPlxuICAgICAgICA8bWFpbj5cbiAgICAgICAgICA8aDE+UmVhY3QgbGF5b3V0PC9oMT5cbiAgICAgICAgICA8YnV0dG9uIG9uQ2xpY2s9e3RoaXMuc2hvd0xlZnR9PlNob3cgbGVmdDwvYnV0dG9uPlxuICAgICAgICAgIDxidXR0b24gb25DbGljaz17c2hvd1JpZ2h0fT5TaG93IHJpZ2h0PC9idXR0b24+XG4gICAgICAgIDwvbWFpbj5cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgKCkgPT4gKFxuICA8Q3J5c3RhbGxpemVMYXlvdXQgbGVmdD17bGVmdH0gcmlnaHQ9e3JpZ2h0fSBzcGVlZD1cIjUwMFwiPlxuICAgIDxUZXN0IC8+XG4gIDwvQ3J5c3RhbGxpemVMYXlvdXQ+XG4pO1xuIl19 */\n/*@ sourceURL=pages/index.js */'
        }),
        __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
          'main',
          {
            className: 'jsx-1785368916',
            __source: {
              fileName: _jsxFileName,
              lineNumber: 47
            }
          },
          __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
            'h1',
            {
              className: 'jsx-1785368916',
              __source: {
                fileName: _jsxFileName,
                lineNumber: 48
              }
            },
            'React layout'
          ),
          __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
            'button',
            { onClick: this.showLeft, className: 'jsx-1785368916',
              __source: {
                fileName: _jsxFileName,
                lineNumber: 49
              }
            },
            'Show left'
          ),
          __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
            'button',
            { onClick: __WEBPACK_IMPORTED_MODULE_3__module__["c" /* showRight */], className: 'jsx-1785368916',
              __source: {
                fileName: _jsxFileName,
                lineNumber: 50
              }
            },
            'Show right'
          )
        )
      );
    }
  }, {
    key: '__reactstandin__regenerateByEval',
    value: function __reactstandin__regenerateByEval(key, code) {
      this[key] = eval(code);
    }
  }]);

  return Test;
}(__WEBPACK_IMPORTED_MODULE_2_react___default.a.Component);

var _default = function _default() {
  return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(
    __WEBPACK_IMPORTED_MODULE_3__module__["a" /* default */],
    { left: left, right: right, speed: '500', __source: {
        fileName: _jsxFileName,
        lineNumber: 58
      }
    },
    __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(Test, {
      __source: {
        fileName: _jsxFileName,
        lineNumber: 59
      }
    })
  );
};

/* harmony default export */ __webpack_exports__["default"] = (_default);
;

(function () {
  var reactHotLoader = __webpack_require__("./node_modules/react-hot-loader/patch.js").default;

  var leaveModule = __webpack_require__("./node_modules/react-hot-loader/patch.js").leaveModule;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(left, 'left', '/Users/hakonmartinholmsenkrogh/www/react-layout/pages/index.js');
  reactHotLoader.register(right, 'right', '/Users/hakonmartinholmsenkrogh/www/react-layout/pages/index.js');
  reactHotLoader.register(Test, 'Test', '/Users/hakonmartinholmsenkrogh/www/react-layout/pages/index.js');
  reactHotLoader.register(_default, 'default', '/Users/hakonmartinholmsenkrogh/www/react-layout/pages/index.js');
  leaveModule(module);
})();

;
    (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), "/")
  
/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__("./node_modules/next/node_modules/webpack/buildin/harmony-module.js")(module)))

/***/ })

})
//# sourceMappingURL=4.4dc76164fd9c846319d0.hot-update.js.map