exports.ids = [20];
exports.modules = {

/***/ 133:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return MDXContent; });
/* harmony import */ var _temp_rhlConfig__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(115);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81);
/* harmony import */ var _introduction_less__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(442);
/* harmony import */ var _introduction_less__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_introduction_less__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _components_ImgWidthBase__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(376);
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }





/* @jsx mdx */




var makeShortcode = function makeShortcode(name) {
  return function MDXDefaultShortcode(props) {
    console.warn("Component " + name + " was not imported, exported, or provided by MDXProvider as global scope");
    return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("div", props);
  };
};

var layoutProps = {};
var MDXLayout = "wrapper";
function MDXContent(_ref) {
  var components = _ref.components,
      props = _objectWithoutProperties(_ref, ["components"]);

  return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(MDXLayout, _extends({}, layoutProps, props, {
    components: components,
    mdxType: "MDXLayout"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h1", {
    "className": "__internal",
    "id": "介绍"
  }, "\u4ECB\u7ECD", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h1"
  }, {
    "href": "#%E4%BB%8B%E7%BB%8D",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("ul", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "RcPress \u662F\u4E00\u4E2A\u57FA\u4E8E React.js \u7684\u9759\u6001\u6587\u6863\u751F\u6210\u5668\u3002"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "\u4F7F\u7528 ", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://ant.design/",
    "target": "_blank"
  }), "Ant Design"), "\u8BBE\u8BA1\u6784\u5EFA\uFF0C \u5E76\u4E14\u5B83\u7684\u914D\u7F6E\u9879\u501F\u9274\u4E86", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://rcpress.vuejs.org/",
    "target": "_blank"
  }), "Vuepress"))), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("div", {
    className: "pic-plus"
  }, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(_components_ImgWidthBase__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
    url: "antd-icon.svg",
    width: 120,
    mdxType: "ImgWidthBase"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("span", null, "+"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])(_components_ImgWidthBase__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], {
    url: "react-icon.svg",
    width: 120,
    mdxType: "ImgWidthBase"
  })), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h2", {
    "className": "__internal",
    "id": "特点"
  }, "\u7279\u70B9", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#%E7%89%B9%E7%82%B9",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("ul", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "\u53EA\u9700\u8981\u7B80\u5355\u914D\u7F6E\u548C\u4F1A\u4E00\u4E9B markdown \u77E5\u8BC6\u5C31\u80FD\u5FEB\u901F\u4E0A\u624B\uFF0C\u719F\u6089", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://rcpress.vuejs.org/",
    "target": "_blank"
  }), "Vuepress"), "\u7684\u7528\u6237\u4F7F\u7528\u8D77\u6765\u66F4\u662F\u5F97\u5FC3\u5E94\u624B"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "\u652F\u6301\u7528 markdown \u8BED\u6CD5\u6E32\u67D3\u6210\u5E38\u7528\u7684 Ant Design \u7EC4\u4EF6\uFF0C\u5982", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://www.yvescoding.com/rcpress/zh/guide/markdown#%E6%8F%90%E7%A4%BA%E6%A1%86%EF%BC%88alert%EF%BC%89",
    "target": "_blank"
  }), "Alert")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "\u652F\u652F\u6301", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://github.com/mdx-js/mdx",
    "target": "_blank"
  }), "mdx"), " ,\u652F\u6301", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://www.yvescoding.com/rcpress/zh/guide/theme#custom-layout",
    "target": "_blank"
  }), "\u81EA\u5B9A\u4E49\u5E03\u5C40"), "(\u4F8B\u5982\u81EA\u5B9A\u4E49\u7F51\u7AD9\u5934\u90E8\uFF0C\u5E95\u90E8\uFF0C \u9996\u9875\u7B49)")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h2", {
    "className": "__internal",
    "id": "技术栈"
  }, "\u6280\u672F\u6808", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#%E6%8A%80%E6%9C%AF%E6%A0%88",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("ul", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://ant.design/docs/react/introduce-cn",
    "target": "_blank"
  }), "Ant Design")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "markdown"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://github.com/mdx-js/mdx",
    "target": "_blank"
  }), "mdx")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://reactjs.org/",
    "target": "_blank"
  }), "React"))), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h2", {
    "className": "__internal",
    "id": "支持环境"
  }, "\u652F\u6301\u73AF\u5883", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#%E6%94%AF%E6%8C%81%E7%8E%AF%E5%A2%83",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("ul", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "\u73B0\u4EE3\u6D4F\u89C8\u5668\u548C IE11\u3002"), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "\u652F\u6301\u670D\u52A1\u7AEF\u6E32\u67D3\u3002")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("h2", {
    "className": "__internal",
    "id": "版本"
  }, "\u7248\u672C", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "h2"
  }, {
    "href": "#%E7%89%88%E6%9C%AC",
    "aria-hidden": true,
    "className": "anchor"
  }), "#")), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("ul", null, Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("li", _extends({
    parentName: "ul"
  }, {
    "className": "__internal"
  }), "rcpress \u7248\u672C\uFF1A", Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("a", _extends({
    parentName: "li"
  }, {
    "href": "https://www.npmjs.org/package/@rcpress/core.svg",
    "target": "_blank"
  }), Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__[/* mdx */ "b"])("img", _extends({
    parentName: "a"
  }, {
    "src": "https://img.shields.io/npm/v/@rcpress/core.svg?style=flat-square",
    "alt": "npm package"
  }))))));
}
;
MDXContent.isMDXComponent = true;
MDXContent = MDXContent;

/***/ }),

/***/ 236:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(0);

// CONCATENATED MODULE: ../@rcpress/core/lib/web/shared/noop.js
/* harmony default export */ var noop = ({});
var noop_noop = function noop() {};
// CONCATENATED MODULE: ../@rcpress/core/lib/web/serviceWorker/SWUpdateEvent.js
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; }

var SWUpdateEvent =
/*#__PURE__*/
function () {
  function SWUpdateEvent(registration) {
    _classCallCheck(this, SWUpdateEvent);

    Object.defineProperty(this, 'registration', {
      value: registration,
      configurable: true,
      writable: true
    });
  }
  /**
   * Check if the new service worker exists or not.
   */


  _createClass(SWUpdateEvent, [{
    key: "update",
    value: function update() {
      return this.registration.update();
    }
    /**
     * Activate new service worker to work 'location.reload()' with new data.
     */

  }, {
    key: "skipWaiting",
    value: function skipWaiting() {
      var worker = this.registration.waiting;

      if (!worker) {
        return Promise.resolve();
      }

      console.log('[rcpress:sw] Doing worker.skipWaiting().');
      return new Promise(function (resolve, reject) {
        var channel = new MessageChannel();

        channel.port1.onmessage = function (event) {
          console.log('[rcpress:sw] Done worker.skipWaiting().');

          if (event.data.error) {
            reject(event.data.error);
          } else {
            resolve(event.data);
          }
        };

        worker.postMessage({
          type: 'skip-waiting'
        }, [channel.port2]);
      });
    }
  }]);

  return SWUpdateEvent;
}();


// EXTERNAL MODULE: D:/antdsite/node_modules/register-service-worker/index.js
var register_service_worker = __webpack_require__(238);

// CONCATENATED MODULE: ../@rcpress/core/lib/web/serviceWorker/index.js
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return useSWHook; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return serviceWorker_useSWRegistry; });




var swUpdateObject = {
  ready: noop_noop,
  cached: noop_noop,
  updated: noop_noop,
  offline: noop_noop,
  error: noop_noop
};
var useSWHook = function useSWHook() {
  var dispatch = function dispatch(args) {
    swUpdateObject[args.type] = args.payload;
  };

  return [swUpdateObject, dispatch];
};
var serviceWorker_useSWRegistry = function useSWRegistry() {
  var state = swUpdateObject;
  Object(external_react_["useEffect"])(function () {
    // Register service worker
    if ( true && window.location.protocol === 'https:') {
      Object(register_service_worker["a" /* register */])("".concat("/", "/service-worker.js"), {
        ready: function ready() {
          console.log('[rcpress:sw] Service worker is active.');
          state.ready();
        },
        cached: function cached(registration) {
          console.log('[rcpress:sw] Content has been cached for offline use.');
          state.cached(new SWUpdateEvent(registration));
        },
        updated: function updated(registration) {
          console.log('[rcpress:sw] Content updated.');
          state.updated(new SWUpdateEvent(registration));
        },
        offline: function offline() {
          console.log('[rcpress:sw] No internet connection found. App is running in offline mode.');
          state.offline();
        },
        error: function error(err) {
          console.error('[rcpress:sw] Error during service worker registration:', err);
          state.error(err);
        }
      });
    }
  }, []);
};

/***/ }),

/***/ 237:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _serviceWorker__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(236);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _serviceWorker__WEBPACK_IMPORTED_MODULE_0__["a"]; });

/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _context__WEBPACK_IMPORTED_MODULE_1__["b"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _context__WEBPACK_IMPORTED_MODULE_1__["a"]; });






/***/ }),

/***/ 238:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return register; });
/* unused harmony export unregister */
// Register a service worker to serve assets from local cache.

// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on the "N+1" visit to a page, since previously
// cached resources are updated in the background.

var isLocalhost = function () { return Boolean(
  window.location.hostname === 'localhost' ||
    // [::1] is the IPv6 localhost address.
    window.location.hostname === '[::1]' ||
    // 127.0.0.1/8 is considered localhost for IPv4.
    window.location.hostname.match(
      /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
    )
); }

function register (swUrl, hooks) {
  if ( hooks === void 0 ) hooks = {};

  var registrationOptions = hooks.registrationOptions; if ( registrationOptions === void 0 ) registrationOptions = {};
  delete hooks.registrationOptions

  var emit = function (hook) {
    var args = [], len = arguments.length - 1;
    while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];

    if (hooks && hooks[hook]) {
      hooks[hook].apply(hooks, args)
    }
  }

  if ('serviceWorker' in navigator) {
    window.addEventListener('load', function () {
      if (isLocalhost()) {
        // This is running on localhost. Lets check if a service worker still exists or not.
        checkValidServiceWorker(swUrl, emit, registrationOptions)
        navigator.serviceWorker.ready.then(function (registration) {
          emit('ready', registration)
        })
      } else {
        // Is not local host. Just register service worker
        registerValidSW(swUrl, emit, registrationOptions)
      }
    })
  }
}

function registerValidSW (swUrl, emit, registrationOptions) {
  navigator.serviceWorker
    .register(swUrl, registrationOptions)
    .then(function (registration) {
      emit('registered', registration)
      if (registration.waiting) {
        emit('updated', registration)
        return
      }
      registration.onupdatefound = function () {
        emit('updatefound', registration)
        var installingWorker = registration.installing
        installingWorker.onstatechange = function () {
          if (installingWorker.state === 'installed') {
            if (navigator.serviceWorker.controller) {
              // At this point, the old content will have been purged and
              // the fresh content will have been added to the cache.
              // It's the perfect time to display a "New content is
              // available; please refresh." message in your web app.
              emit('updated', registration)
            } else {
              // At this point, everything has been precached.
              // It's the perfect time to display a
              // "Content is cached for offline use." message.
              emit('cached', registration)
            }
          }
        }
      }
    })
    .catch(function (error) {
      emit('error', error)
    })
}

function checkValidServiceWorker (swUrl, emit, registrationOptions) {
  // Check if the service worker can be found.
  fetch(swUrl)
    .then(function (response) {
      // Ensure service worker exists, and that we really are getting a JS file.
      if (response.status === 404) {
        // No service worker found.
        emit('error', new Error(("Service worker not found at " + swUrl)))
        unregister()
      } else if (response.headers.get('content-type').indexOf('javascript') === -1) {
        emit('error', new Error(
          "Expected " + swUrl + " to have javascript content-type, " +
          "but received " + (response.headers.get('content-type'))))
        unregister()
      } else {
        // Service worker found. Proceed as normal.
        registerValidSW(swUrl, emit, registrationOptions)
      }
    })
    .catch(function (error) {
      if (!navigator.onLine) {
        emit('offline')
      } else {
        emit('error', error)
      }
    })
}

function unregister () {
  if ('serviceWorker' in navigator) {
    navigator.serviceWorker.ready.then(function (registration) {
      registration.unregister()
    })
  }
}


/***/ }),

/***/ 376:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _rcpress_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(237);
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }




var resolvePathWithBase = function resolvePathWithBase(filePath, base) {
  return (base + '/' + filePath).replace(/\/\//g, '/');
};

/* harmony default export */ __webpack_exports__["a"] = (function (_ref) {
  var url = _ref.url,
      width = _ref.width,
      height = _ref.height,
      rest = _objectWithoutProperties(_ref, ["url", "width", "height"]);

  return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_rcpress_core__WEBPACK_IMPORTED_MODULE_1__[/* SiteContext */ "a"].Consumer, null, function (ctx) {
    return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("img", _extends({}, rest, {
      src: resolvePathWithBase(url, ctx.siteData.base || '/'),
      width: width,
      height: height
    }));
  });
});

/***/ }),

/***/ 442:
/***/ (function(module, exports) {



/***/ })

};;
//# sourceMappingURL=20.server-bundle.js.map