/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 4988: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); var _g; function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } const SvgUndrawDocusaurusMountain = _ref => { let { title, titleId, ...props } = _ref; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", width: 1088, height: 687.962, viewBox: "0 0 1088 687.962", "aria-labelledby": titleId }, props), title === undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, "Easy to Use") : title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, title) : null, _g || (_g = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 12" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 11" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M961.81 454.442c-5.27 45.15-16.22 81.4-31.25 110.31-20 38.52-54.21 54.04-84.77 70.28a193 193 0 0 1-27.46 11.94c-55.61 19.3-117.85 14.18-166.74 3.99a657 657 0 0 0-104.09-13.16q-14.97-.675-29.97-.67c-15.42.02-293.07 5.29-360.67-131.57-16.69-33.76-28.13-75-32.24-125.27-11.63-142.12 52.29-235.46 134.74-296.47 155.97-115.41 369.76-110.57 523.43 7.88 102.36 78.9 198.2 198.31 179.02 362.74", "data-name": "Path 83" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#f2f2f2", d: "M930.56 564.752c-20 38.52-47.21 64.04-77.77 80.28a193 193 0 0 1-27.46 11.94c-55.61 19.3-117.85 14.18-166.74 3.99a657 657 0 0 0-104.09-13.16q-14.97-.675-29.97-.67-23.13.03-46.25 1.72c-100.17 7.36-253.82-6.43-321.42-143.29L326 177.962l62.95 161.619 20.09 51.59 55.37-75.98L493 275.962l130.2 149.27 36.8-81.27 254.78 207.919 14.21 11.59Z", "data-name": "Path 84" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "m302 282.962 26-57 36 83-31-60Z", "data-name": "Path 85", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M554.5 647.802q-14.97-.675-29.97-.67l-115.49-255.96Z", "data-name": "Path 86", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M464.411 315.191 493 292.962l130 150-132-128Z", "data-name": "Path 87", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M852.79 645.032a193 193 0 0 1-27.46 11.94L623.2 425.232Z", "data-name": "Path 88", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 3, cy: 3, r: 3, fill: "#f2f2f2", "data-name": "Ellipse 11", transform: "translate(479 98.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 3, cy: 3, r: 3, fill: "#f2f2f2", "data-name": "Ellipse 12", transform: "translate(396 201.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "#f2f2f2", "data-name": "Ellipse 13", transform: "translate(600 220.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "#f2f2f2", "data-name": "Ellipse 14", transform: "translate(180 265.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "#f2f2f2", "data-name": "Ellipse 15", transform: "translate(612 96.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "#f2f2f2", "data-name": "Ellipse 16", transform: "translate(736 192.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "#f2f2f2", "data-name": "Ellipse 17", transform: "translate(858 344.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#f2f2f2", d: "M306 121.222h-2.76v-2.76h-1.48v2.76H299v1.478h2.76v2.759h1.48V122.7H306Z", "data-name": "Path 89" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#f2f2f2", d: "M848 424.222h-2.76v-2.76h-1.48v2.76H841v1.478h2.76v2.759h1.48V425.7H848Z", "data-name": "Path 90" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M1088 613.962c0 16.569-243.557 74-544 74s-544-57.431-544-74 243.557 14 544 14 544-30.568 544-14", "data-name": "Path 91" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M1088 613.962c0 16.569-243.557 74-544 74s-544-57.431-544-74 243.557 14 544 14 544-30.568 544-14", "data-name": "Path 92", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ellipse", { cx: 544, cy: 30, fill: "#3f3d56", "data-name": "Ellipse 18", rx: 544, ry: 30, transform: "translate(0 583.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#ff6584", d: "M568 571.962c0 33.137-14.775 24-33 24s-33 9.137-33-24 33-96 33-96 33 62.863 33 96", "data-name": "Path 93" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M550 584.641c0 15.062-6.716 10.909-15 10.909s-15 4.153-15-10.909 15-43.636 15-43.636 15 28.576 15 43.636", "data-name": "Path 94", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 92, height: 18, fill: "#2f2e41", "data-name": "Rectangle 97", rx: 9, transform: "translate(489 604.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 92, height: 18, fill: "#2f2e41", "data-name": "Rectangle 98", rx: 9, transform: "translate(489 586.962)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M137 490.528c0 55.343 34.719 100.126 77.626 100.126", "data-name": "Path 95" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#6c63ff", d: "M214.626 590.654c0-55.965 38.745-101.251 86.626-101.251", "data-name": "Path 96" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#6c63ff", d: "M165.125 495.545c0 52.57 22.14 95.109 49.5 95.109", "data-name": "Path 97" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M214.626 590.654c0-71.511 44.783-129.377 100.126-129.377", "data-name": "Path 98" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#a8a8a8", d: "M198.3 591.36s11.009-.339 14.326-2.7 16.934-5.183 17.757-1.395 16.544 18.844 4.115 18.945-28.879-1.936-32.19-3.953-4.008-10.897-4.008-10.897", "data-name": "Path 99" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M234.716 604.89c-12.429.1-28.879-1.936-32.19-3.953-2.522-1.536-3.527-7.048-3.863-9.591l-.368.014s.7 8.879 4.009 10.9 19.761 4.053 32.19 3.953c3.588-.029 4.827-1.305 4.759-3.2-.498 1.142-1.867 1.855-4.537 1.877", "data-name": "Path 100", opacity: 0.2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M721.429 527.062c0 38.029 23.857 68.8 53.341 68.8", "data-name": "Path 101" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#6c63ff", d: "M774.769 595.863c0-38.456 26.623-69.575 59.525-69.575", "data-name": "Path 102" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#6c63ff", d: "M740.755 530.509c0 36.124 15.213 65.354 34.014 65.354", "data-name": "Path 103" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M774.769 595.863c0-49.139 30.773-88.9 68.8-88.9", "data-name": "Path 104" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#a8a8a8", d: "M763.548 596.348s7.565-.233 9.844-1.856 11.636-3.562 12.2-.958 11.368 12.949 2.828 13.018-19.844-1.33-22.119-2.716-2.753-7.488-2.753-7.488", "data-name": "Path 105" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M788.574 605.645c-8.54.069-19.844-1.33-22.119-2.716-1.733-1.056-2.423-4.843-2.654-6.59l-.253.01s.479 6.1 2.755 7.487 13.579 2.785 22.119 2.716c2.465-.02 3.317-.9 3.27-2.2-.343.788-1.283 1.278-3.118 1.293", "data-name": "Path 106", opacity: 0.2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#a8a8a8", d: "M893.813 618.699s11.36-1.729 14.5-4.591 16.89-7.488 18.217-3.667 19.494 17.447 6.633 19.107-30.153 1.609-33.835-.065-5.515-10.784-5.515-10.784", "data-name": "Path 107" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M933.228 628.154c-12.86 1.659-30.153 1.609-33.835-.065-2.8-1.275-4.535-6.858-5.2-9.45l-.379.061s1.833 9.109 5.516 10.783 20.975 1.725 33.835.065c3.712-.479 4.836-1.956 4.529-3.906-.375 1.246-1.703 2.156-4.466 2.512", "data-name": "Path 108", opacity: 0.2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#a8a8a8", d: "M614.26 617.881s9.587-1.459 12.237-3.875 14.255-6.32 15.374-3.095 16.452 14.725 5.6 16.125-25.448 1.358-28.555-.055-4.656-9.1-4.656-9.1", "data-name": "Path 109" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M647.524 625.856c-10.853 1.4-25.448 1.358-28.555-.055-2.367-1.076-3.827-5.788-4.39-7.976l-.32.051s1.547 7.687 4.655 9.1 17.7 1.456 28.555.055c3.133-.4 4.081-1.651 3.822-3.3-.314 1.057-1.435 1.825-3.767 2.125", "data-name": "Path 110", opacity: 0.2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#a8a8a8", d: "M122.389 613.09s7.463-1.136 9.527-3.016 11.1-4.92 11.969-2.409 12.808 11.463 4.358 12.553-19.811 1.057-22.23-.043-3.624-7.085-3.624-7.085", "data-name": "Path 111" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M148.285 619.302c-8.449 1.09-19.811 1.057-22.23-.043-1.842-.838-2.979-4.506-3.417-6.209l-.249.04s1.2 5.984 3.624 7.085 13.781 1.133 22.23.043c2.439-.315 3.177-1.285 2.976-2.566-.246.818-1.119 1.416-2.934 1.65", "data-name": "Path 112", opacity: 0.2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M383.7 601.318c0 30.22-42.124 20.873-93.7 20.873s-93.074 9.347-93.074-20.873 42.118-36.793 93.694-36.793 93.08 6.573 93.08 36.793", "data-name": "Path 113", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M383.7 593.881c0 30.22-42.124 20.873-93.7 20.873s-93.074 9.347-93.074-20.873 42.114-36.8 93.69-36.8 93.084 6.576 93.084 36.8", "data-name": "Path 114" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M360.175 475.732h91.791v37.153h-91.791Z", "data-name": "Path 40" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M277.126 597.026a21.83 21.83 0 0 1-18.908-10.927 21.829 21.829 0 0 0 18.908 32.782h21.855v-21.855Z", "data-name": "Path 41" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "m375.451 481.607 76.514-4.782v-10.928a21.854 21.854 0 0 0-21.855-21.855h-98.347l-2.732-4.735a3.154 3.154 0 0 0-5.464 0l-2.732 4.732-2.732-4.732a3.154 3.154 0 0 0-5.464 0l-2.732 4.732-2.731-4.732a3.154 3.154 0 0 0-5.464 0l-2.732 4.735h-.071l-4.526-4.525a3.153 3.153 0 0 0-5.276 1.414l-1.5 5.577-5.674-1.521a3.154 3.154 0 0 0-3.863 3.864l1.52 5.679-5.575 1.494a3.155 3.155 0 0 0-1.416 5.278l4.526 4.526v.07l-4.735 2.731a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.732a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.731a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.727a3.154 3.154 0 0 0 0 5.464l4.735 2.736-4.735 2.732a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.732a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.731a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.732a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.731a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.731a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.735a3.154 3.154 0 0 0 0 5.464l4.732 2.732-4.732 2.728a3.154 3.154 0 0 0 0 5.464l4.732 2.732a21.854 21.854 0 0 0 21.858 21.855h131.13a21.854 21.854 0 0 0 21.855-21.855v-87.42l-76.514-4.782a11.632 11.632 0 0 1 0-23.219", "data-name": "Path 42" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M408.255 618.882h32.782v-43.71h-32.782Z", "data-name": "Path 43" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M462.893 591.563a5 5 0 0 0-.7.07c-.042-.164-.081-.329-.127-.493a5.457 5.457 0 1 0-5.4-9.372q-.181-.185-.366-.367a5.454 5.454 0 1 0-9.384-5.4c-.162-.046-.325-.084-.486-.126a5.467 5.467 0 1 0-10.788 0c-.162.042-.325.08-.486.126a5.457 5.457 0 1 0-9.384 5.4 21.843 21.843 0 1 0 36.421 21.02 5.452 5.452 0 1 0 .7-10.858", "data-name": "Path 44" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M419.183 553.317h32.782v-21.855h-32.782Z", "data-name": "Path 45" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M462.893 545.121a2.732 2.732 0 1 0 0-5.464 3 3 0 0 0-.349.035c-.022-.082-.04-.164-.063-.246a2.733 2.733 0 0 0-1.052-5.253 2.7 2.7 0 0 0-1.648.566q-.09-.093-.184-.184a2.7 2.7 0 0 0 .553-1.633 2.732 2.732 0 0 0-5.245-1.07 10.928 10.928 0 1 0 0 21.031 2.732 2.732 0 0 0 5.245-1.07 2.7 2.7 0 0 0-.553-1.633q.093-.09.184-.184a2.7 2.7 0 0 0 1.648.566 2.732 2.732 0 0 0 1.052-5.253q.033-.122.063-.246a3 3 0 0 0 .349.035", "data-name": "Path 46" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M320.836 479.556a2.73 2.73 0 0 1-2.732-2.732 8.2 8.2 0 0 0-16.391 0 2.732 2.732 0 0 1-5.464 0 13.66 13.66 0 0 1 27.319 0 2.73 2.73 0 0 1-2.732 2.732", "data-name": "Path 47" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#ffff50", fillRule: "evenodd", d: "M364.546 618.881h65.565a21.854 21.854 0 0 0 21.855-21.855v-76.492h-65.565a21.854 21.854 0 0 0-21.855 21.855Z", "data-name": "Path 48" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M435.596 554.41h-54.681a1.093 1.093 0 1 1 0-2.185h54.681a1.093 1.093 0 0 1 0 2.185m0 21.855h-54.681a1.093 1.093 0 1 1 0-2.186h54.681a1.093 1.093 0 0 1 0 2.186m0 21.855h-54.681a1.093 1.093 0 1 1 0-2.185h54.681a1.093 1.093 0 0 1 0 2.185m0-54.434h-54.681a1.093 1.093 0 1 1 0-2.185h54.681a1.093 1.093 0 0 1 0 2.185m0 21.652h-54.681a1.093 1.093 0 1 1 0-2.186h54.681a1.093 1.093 0 0 1 0 2.186m0 21.855h-54.681a1.093 1.093 0 1 1 0-2.186h54.681a1.093 1.093 0 0 1 0 2.186m16.369-100.959c-.013 0-.024-.007-.037-.005-3.377.115-4.974 3.492-6.384 6.472-1.471 3.114-2.608 5.139-4.473 5.078-2.064-.074-3.244-2.406-4.494-4.874-1.436-2.835-3.075-6.049-6.516-5.929-3.329.114-4.932 3.053-6.346 5.646-1.5 2.762-2.529 4.442-4.5 4.364-2.106-.076-3.225-1.972-4.52-4.167-1.444-2.443-3.112-5.191-6.487-5.1-3.272.113-4.879 2.606-6.3 4.808-1.5 2.328-2.552 3.746-4.551 3.662-2.156-.076-3.27-1.65-4.558-3.472-1.447-2.047-3.077-4.363-6.442-4.251-3.2.109-4.807 2.153-6.224 3.954-1.346 1.709-2.4 3.062-4.621 2.977a1.094 1.094 0 0 0-.079 2.186c3.3.11 4.967-1.967 6.417-3.81 1.286-1.635 2.4-3.045 4.582-3.12 2.1-.09 3.091 1.218 4.584 3.327 1.417 2 3.026 4.277 6.263 4.394 3.391.114 5.022-2.42 6.467-4.663 1.292-2 2.406-3.734 4.535-3.807 1.959-.073 3.026 1.475 4.529 4.022 1.417 2.4 3.023 5.121 6.324 5.241 3.415.118 5.064-2.863 6.5-5.5 1.245-2.282 2.419-4.437 4.5-4.509 1.959-.046 2.981 1.743 4.492 4.732 1.412 2.79 3.013 5.95 6.365 6.071h.185c3.348 0 4.937-3.36 6.343-6.331 1.245-2.634 2.423-5.114 4.444-5.216Z", "data-name": "Path 49" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M342.691 618.882h43.71v-43.71h-43.71Z", "data-name": "Path 50" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 8", transform: "rotate(-14.98 2188.845 -1120.376)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 92.361, height: 36.462, fill: "#d8d8d8", "data-name": "Rectangle 3", rx: 2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 2", transform: "translate(1.531 23.03)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 4", rx: 1, transform: "translate(16.797)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 5", rx: 1, transform: "translate(23.12)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 6", rx: 1, transform: "translate(29.444)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 7", rx: 1, transform: "translate(35.768)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 8", rx: 1, transform: "translate(42.091)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 9", rx: 1, transform: "translate(48.415)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 10", rx: 1, transform: "translate(54.739)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 11", rx: 1, transform: "translate(61.063)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 12", rx: 1, transform: "translate(67.386)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M1.093 0h13.425a1.093 1.093 0 0 1 1.093 1.093v3.15a1.093 1.093 0 0 1-1.093 1.093H1.093A1.093 1.093 0 0 1 0 4.243v-3.15A1.093 1.093 0 0 1 1.093 0M75 0h13.426a1.093 1.093 0 0 1 1.093 1.093v3.15a1.093 1.093 0 0 1-1.093 1.093H75a1.093 1.093 0 0 1-1.093-1.093v-3.15A1.093 1.093 0 0 1 75 0", "data-name": "Path 51" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 3", transform: "translate(1.531 10.261)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M1.093 0h5.125A1.093 1.093 0 0 1 7.31 1.093v3.149a1.093 1.093 0 0 1-1.092 1.093H1.093A1.093 1.093 0 0 1 0 4.242V1.093A1.093 1.093 0 0 1 1.093 0", "data-name": "Path 52" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 13", rx: 1, transform: "translate(8.299)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 14", rx: 1, transform: "translate(14.623)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 15", rx: 1, transform: "translate(20.947)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 16", rx: 1, transform: "translate(27.271)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 17", rx: 1, transform: "translate(33.594)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 18", rx: 1, transform: "translate(39.918)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 19", rx: 1, transform: "translate(46.242)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 20", rx: 1, transform: "translate(52.565)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 21", rx: 1, transform: "translate(58.888)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 22", rx: 1, transform: "translate(65.212)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 23", rx: 1, transform: "translate(71.536)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 24", rx: 1, transform: "translate(77.859)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 25", rx: 1, transform: "translate(84.183)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 4", transform: "rotate(180 45.525 4.773)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M1.093 0h5.126a1.093 1.093 0 0 1 1.093 1.093v3.15a1.093 1.093 0 0 1-1.093 1.093H1.093A1.093 1.093 0 0 1 0 4.243v-3.15A1.093 1.093 0 0 1 1.093 0", "data-name": "Path 53" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 26", rx: 1, transform: "translate(8.299)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 27", rx: 1, transform: "translate(14.623)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 28", rx: 1, transform: "translate(20.947)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 29", rx: 1, transform: "translate(27.271)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 30", rx: 1, transform: "translate(33.594)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 31", rx: 1, transform: "translate(39.918)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 32", rx: 1, transform: "translate(46.242)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 33", rx: 1, transform: "translate(52.565)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 34", rx: 1, transform: "translate(58.889)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 35", rx: 1, transform: "translate(65.213)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 36", rx: 1, transform: "translate(71.537)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 37", rx: 1, transform: "translate(77.86)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 38", rx: 1, transform: "translate(84.183)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 39", rx: 1, transform: "translate(8.299)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 40", rx: 1, transform: "translate(14.623)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 41", rx: 1, transform: "translate(20.947)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 42", rx: 1, transform: "translate(27.271)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 43", rx: 1, transform: "translate(33.594)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 44", rx: 1, transform: "translate(39.918)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 45", rx: 1, transform: "translate(46.242)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 46", rx: 1, transform: "translate(52.565)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 47", rx: 1, transform: "translate(58.889)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 48", rx: 1, transform: "translate(65.213)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 49", rx: 1, transform: "translate(71.537)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 50", rx: 1, transform: "translate(77.86)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 51", rx: 1, transform: "translate(84.183)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 6" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M2.624 16.584h7.3a1.093 1.093 0 0 1 1.092 1.093v3.15a1.093 1.093 0 0 1-1.093 1.093h-7.3a1.093 1.093 0 0 1-1.092-1.093v-3.149a1.093 1.093 0 0 1 1.093-1.094", "data-name": "Path 54" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 5", transform: "translate(12.202 16.584)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 52", rx: 1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 53", rx: 1, transform: "translate(6.324)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 54", rx: 1, transform: "translate(12.647)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 55", rx: 1, transform: "translate(18.971)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 56", rx: 1, transform: "translate(25.295)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 57", rx: 1, transform: "translate(31.619)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 58", rx: 1, transform: "translate(37.942)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 59", rx: 1, transform: "translate(44.265)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 60", rx: 1, transform: "translate(50.589)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 61", rx: 1, transform: "translate(56.912)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 62", rx: 1, transform: "translate(63.236)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M83.053 16.584h6.906a1.093 1.093 0 0 1 1.091 1.093v3.15a1.093 1.093 0 0 1-1.091 1.093h-6.907a1.093 1.093 0 0 1-1.093-1.093v-3.149a1.093 1.093 0 0 1 1.093-1.094Z", "data-name": "Path 55" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 7", transform: "translate(1.531 29.627)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 63", rx: 1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 64", rx: 1, transform: "translate(6.324)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 65", rx: 1, transform: "translate(12.647)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 66", rx: 1, transform: "translate(18.971)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M26.387 0h30.422a1.093 1.093 0 0 1 1.093 1.093v3.151a1.093 1.093 0 0 1-1.093 1.093H26.387a1.093 1.093 0 0 1-1.093-1.093V1.093A1.093 1.093 0 0 1 26.387 0m33.594 0h3.942a1.093 1.093 0 0 1 1.093 1.093v3.151a1.093 1.093 0 0 1-1.093 1.093h-3.942a1.093 1.093 0 0 1-1.093-1.093V1.093A1.093 1.093 0 0 1 59.981 0", "data-name": "Path 56" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 67", rx: 1, transform: "translate(66.003)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 68", rx: 1, transform: "translate(72.327)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 5.336, height: 5.336, "data-name": "Rectangle 69", rx: 1, transform: "translate(84.183)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M78.254 2.273v-1.18A1.093 1.093 0 0 1 79.347 0h3.15a1.093 1.093 0 0 1 1.093 1.093v1.18Z", "data-name": "Path 57" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M83.591 3.063v1.18a1.093 1.093 0 0 1-1.093 1.093h-3.15a1.093 1.093 0 0 1-1.093-1.093v-1.18Z", "data-name": "Path 58" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 88.927, height: 2.371, fill: "#4a4a4a", "data-name": "Rectangle 70", rx: 1.085, transform: "translate(1.925 1.17)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 71", opacity: 0.136, rx: 0.723, transform: "translate(4.1 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 72", opacity: 0.136, rx: 0.723, transform: "translate(10.923 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 73", opacity: 0.136, rx: 0.723, transform: "translate(16.173 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 74", opacity: 0.136, rx: 0.723, transform: "translate(21.421 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 75", opacity: 0.136, rx: 0.723, transform: "translate(26.671 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 76", opacity: 0.136, rx: 0.723, transform: "translate(33.232 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 77", opacity: 0.136, rx: 0.723, transform: "translate(38.48 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 78", opacity: 0.136, rx: 0.723, transform: "translate(43.73 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 79", opacity: 0.136, rx: 0.723, transform: "translate(48.978 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 80", opacity: 0.136, rx: 0.723, transform: "translate(55.54 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 81", opacity: 0.136, rx: 0.723, transform: "translate(60.788 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 82", opacity: 0.136, rx: 0.723, transform: "translate(66.038 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 83", opacity: 0.136, rx: 0.723, transform: "translate(72.599 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 84", opacity: 0.136, rx: 0.723, transform: "translate(77.847 1.566)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 4.986, height: 1.581, fill: "#d8d8d8", "data-name": "Rectangle 85", opacity: 0.136, rx: 0.723, transform: "translate(83.097 1.566)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M408.256 591.563a5.4 5.4 0 0 0-.7.07c-.042-.164-.081-.329-.127-.493a5.457 5.457 0 1 0-5.4-9.372q-.181-.185-.366-.367a5.454 5.454 0 1 0-9.384-5.4c-.162-.046-.325-.084-.486-.126a5.467 5.467 0 1 0-10.788 0c-.162.042-.325.08-.486.126a5.457 5.457 0 1 0-9.384 5.4 21.843 21.843 0 1 0 36.421 21.02 5.452 5.452 0 1 0 .7-10.858", "data-name": "Path 59" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M342.691 553.317h43.71v-21.855h-43.71Z", "data-name": "Path 60" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M397.328 545.121a2.732 2.732 0 1 0 0-5.464 3 3 0 0 0-.349.035c-.022-.082-.04-.164-.063-.246a2.733 2.733 0 0 0-1.052-5.253 2.7 2.7 0 0 0-1.648.566q-.09-.093-.184-.184a2.7 2.7 0 0 0 .553-1.633 2.732 2.732 0 0 0-5.245-1.07 10.928 10.928 0 1 0 0 21.031 2.732 2.732 0 0 0 5.245-1.07 2.7 2.7 0 0 0-.553-1.633q.093-.09.184-.184a2.7 2.7 0 0 0 1.648.566 2.732 2.732 0 0 0 1.052-5.253q.033-.122.063-.246a3 3 0 0 0 .349.035", "data-name": "Path 61" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M408.256 464.531a3 3 0 0 1-.535-.055 2.8 2.8 0 0 1-.514-.153 3 3 0 0 1-.471-.251 4 4 0 0 1-.415-.339 3 3 0 0 1-.338-.415 2.7 2.7 0 0 1-.459-1.517 3 3 0 0 1 .055-.535 3 3 0 0 1 .152-.514 3 3 0 0 1 .252-.47 2.6 2.6 0 0 1 .753-.754 3 3 0 0 1 .471-.251 2.8 2.8 0 0 1 .514-.153 2.5 2.5 0 0 1 1.071 0 2.7 2.7 0 0 1 .983.4 4 4 0 0 1 .415.339 4 4 0 0 1 .339.415 3 3 0 0 1 .251.47 2.9 2.9 0 0 1 .208 1.049 2.77 2.77 0 0 1-.8 1.934 4 4 0 0 1-.415.339 2.72 2.72 0 0 1-1.519.459m21.855-1.366a2.8 2.8 0 0 1-1.935-.8 4 4 0 0 1-.338-.415 2.7 2.7 0 0 1-.459-1.519 2.8 2.8 0 0 1 .8-1.934 4 4 0 0 1 .415-.339 3 3 0 0 1 .471-.251 2.8 2.8 0 0 1 .514-.153 2.5 2.5 0 0 1 1.071 0 2.7 2.7 0 0 1 .983.4 4 4 0 0 1 .415.339 2.8 2.8 0 0 1 .8 1.934 3 3 0 0 1-.055.535 3 3 0 0 1-.153.514 4 4 0 0 1-.251.47 4 4 0 0 1-.339.415 4 4 0 0 1-.415.339 2.72 2.72 0 0 1-1.519.459", "data-name": "Path 62" })))); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgUndrawDocusaurusMountain); /***/ }), /***/ 8074: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); var _g; function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } const SvgUndrawDocusaurusReact = _ref => { let { title, titleId, ...props } = _ref; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", width: 1041.277, height: 554.141, viewBox: "0 0 1041.277 554.141", "aria-labelledby": titleId }, props), title === undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, "Powered by React") : title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, title) : null, _g || (_g = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 24" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 23", transform: "translate(-.011 -.035)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#f2f2f2", d: "M961.48 438.21q-1.74 3.75-3.47 7.4-2.7 5.67-5.33 11.12c-.78 1.61-1.56 3.19-2.32 4.77-8.6 17.57-16.63 33.11-23.45 45.89a73.21 73.21 0 0 1-63.81 38.7l-151.65 1.65h-1.6l-13 .14-11.12.12-34.1.37h-1.38l-17.36.19h-.53l-107 1.16-95.51 1-11.11.12-69 .75h-.08l-44.75.48h-.48l-141.5 1.53-42.33.46a88 88 0 0 1-10.79-.54c-1.22-.14-2.44-.3-3.65-.49a87.38 87.38 0 0 1-51.29-27.54c-18.21-20.03-31.46-43.4-40.36-68.76q-1.93-5.49-3.6-11.12c-30.81-104.15 6.75-238.52 74.35-328.44q4.25-5.64 8.64-11l.07-.08c20.79-25.52 44.1-46.84 68.93-62 44-26.91 92.75-34.49 140.7-11.9 40.57 19.12 78.45 28.11 115.17 30.55 3.71.24 7.42.42 11.11.53 84.23 2.65 163.17-27.7 255.87-47.29 3.69-.78 7.39-1.55 11.12-2.28C763 .54 836.36-6.4 923.6 8.19a189 189 0 0 1 26.76 6.4q5.77 1.86 11.12 4c41.64 16.94 64.35 48.24 74 87.46q1.37 5.46 2.37 11.11c17.11 94.34-33 228.16-76.37 321.05", "data-name": "Path 299" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M497.02 445.61a95 95 0 0 1-1.87 11.12h93.7v-11.12Zm-78.25 62.81 11.11-.09v-27.47c-3.81-.17-7.52-.34-11.11-.52Zm-232.92-62.81v11.12h198.5v-11.12Zm849.68-339.52h-74V18.6q-5.35-2.17-11.12-4v91.49H696.87V13.67c-3.73.73-7.43 1.5-11.12 2.28v90.14H429.88V63.24c-3.69-.11-7.4-.29-11.11-.53v43.38H162.9v-62c-24.83 15.16-48.14 36.48-68.93 62h-.07v.08q-4.4 5.4-8.64 11h8.64v328.44h-83q1.66 5.63 3.6 11.12h79.39v93.62a87 87 0 0 0 12.2 2.79c1.21.19 2.43.35 3.65.49a88 88 0 0 0 10.79.54l42.33-.46v-97h255.91v94.21l11.11-.12v-94.07h255.87v91.36l11.12-.12v-91.24h253.49v4.77c.76-1.58 1.54-3.16 2.32-4.77q2.63-5.45 5.33-11.12 1.73-3.64 3.47-7.4v-321h76.42q-1.01-5.69-2.37-11.12M162.9 445.61V117.17h255.87v328.44Zm267 0V117.17h255.85v328.44Zm520.48 0H696.87V117.17h253.49Z", "data-name": "Path 300", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#65617d", d: "M863.09 533.65v13l-151.92 1.4-1.62.03-57.74.53-1.38.02-17.55.15h-.52l-106.98.99-175.61 1.63h-.15l-44.65.42-.48.01-198.4 1.82v-15l46.65-28 93.6-.78 2-.01.66-.01 2-.03 44.94-.37 2.01-.01.64-.01 2-.01 14.41-.12.38-.01 35.55-.3h.29l277.4-2.34 6.79-.05h.68l5.18-.05 37.65-.31 2-.03 1.85-.02h.96l11.71-.09 2.32-.03 3.11-.02 9.75-.09 15.47-.13 2-.02 3.48-.02h.65l74.71-.64Z", "data-name": "Path 301" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M863.09 533.65v13l-151.92 1.4-1.62.03-57.74.53-1.38.02-17.55.15h-.52l-106.98.99-175.61 1.63h-.15l-44.65.42-.48.01-198.4 1.82v-15l46.65-28 93.6-.78 2-.01.66-.01 2-.03 44.94-.37 2.01-.01.64-.01 2-.01 14.41-.12.38-.01 35.55-.3h.29l277.4-2.34 6.79-.05h.68l5.18-.05 37.65-.31 2-.03 1.85-.02h.96l11.71-.09 2.32-.03 3.11-.02 9.75-.09 15.47-.13 2-.02 3.48-.02h.65l74.71-.64Z", "data-name": "Path 302", opacity: 0.2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M296.1 483.66v24.49a6.13 6.13 0 0 1-3.5 5.54 6 6 0 0 1-2.5.6l-34.9.74a6 6 0 0 1-2.7-.57 6.12 6.12 0 0 1-3.57-5.57v-25.23Z", "data-name": "Path 303" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M296.1 483.66v24.49a6.13 6.13 0 0 1-3.5 5.54 6 6 0 0 1-2.5.6l-34.9.74a6 6 0 0 1-2.7-.57 6.12 6.12 0 0 1-3.57-5.57v-25.23Z", "data-name": "Path 304", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M298.1 483.66v24.49a6.13 6.13 0 0 1-3.5 5.54 6 6 0 0 1-2.5.6l-34.9.74a6 6 0 0 1-2.7-.57 6.12 6.12 0 0 1-3.57-5.57v-25.23Z", "data-name": "Path 305" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M680.92 483.65h47.17v31.5h-47.17z", "data-name": "Rectangle 137" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M680.92 483.65h47.17v31.5h-47.17z", "data-name": "Rectangle 138", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M678.92 483.65h47.17v31.5h-47.17z", "data-name": "Rectangle 139" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M298.09 483.65v4.97l-47.17 1.26v-6.23Z", "data-name": "Path 306", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#65617d", d: "M381.35 312.36v168.2a4 4 0 0 1-3.85 3.95l-191.65 5.1h-.05a4 4 0 0 1-3.95-3.95v-173.3a4 4 0 0 1 3.95-3.95h191.6a4 4 0 0 1 3.95 3.95", "data-name": "Path 307" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M185.85 308.41v181.2h-.05a4 4 0 0 1-3.95-3.95v-173.3a4 4 0 0 1 3.95-3.95Z", "data-name": "Path 308", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#39374d", d: "M194.59 319.15h177.5V467.4l-177.5 4Z", "data-name": "Path 309" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M726.09 483.65v6.41l-47.17-1.26v-5.15Z", "data-name": "Path 310", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#65617d", d: "M788.35 312.36v173.3a4 4 0 0 1-4 3.95l-191.69-5.1a4 4 0 0 1-3.85-3.95v-168.2a4 4 0 0 1 3.95-3.95h191.6a4 4 0 0 1 3.99 3.95", "data-name": "Path 311" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M788.35 312.36v173.3a4 4 0 0 1-4 3.95v-181.2a4 4 0 0 1 4 3.95", "data-name": "Path 312", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#39374d", d: "M775.59 319.15h-177.5V467.4l177.5 4Z", "data-name": "Path 313" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#65617d", d: "M583.85 312.36v168.2a4 4 0 0 1-3.85 3.95l-191.65 5.1a4 4 0 0 1-4-3.95v-173.3a4 4 0 0 1 3.95-3.95h191.6a4 4 0 0 1 3.95 3.95", "data-name": "Path 314" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#4267b2", d: "M397.09 319.15h177.5V467.4l-177.5 4Z", "data-name": "Path 315" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M863.09 533.65v13l-151.92 1.4-1.62.03-57.74.53-1.38.02-17.55.15h-.52l-106.98.99-175.61 1.63h-.15l-44.65.42-.48.01-198.4 1.82v-15l202.51-1.33h.48l40.99-.28h.19l283.08-1.87h.29l.17-.01h.47l4.79-.03h1.46l74.49-.5 4.4-.02.98-.01Z", "data-name": "Path 316", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 51.33, cy: 51.33, r: 51.33, fill: "#fbbebe", "data-name": "Ellipse 111", transform: "translate(435.93 246.82)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#fbbebe", d: "M538.6 377.16s-99.5 12-90 0c3.44-4.34 4.39-17.2 4.2-31.85-.06-4.45-.22-9.06-.45-13.65-1.1-22-3.75-43.5-3.75-43.5s87-41 77-8.5c-4 13.13-2.69 31.57.35 48.88.89 5.05 1.92 10 3 14.7a345 345 0 0 0 9.65 33.92", "data-name": "Path 317" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#ff6584", d: "M506.13 373.09c11.51-2.13 23.7-6 34.53-1.54 2.85 1.17 5.47 2.88 8.39 3.86s6.12 1.22 9.16 1.91c10.68 2.42 19.34 10.55 24.9 20s8.44 20.14 11.26 30.72l6.9 25.83c6 22.45 12 45.09 13.39 68.3a2438 2438 0 0 1-250.84 1.43c5.44-10.34 11-21.31 10.54-33s-7.19-23.22-4.76-34.74c1.55-7.34 6.57-13.39 9.64-20.22 8.75-19.52 1.94-45.79 17.32-60.65 6.92-6.68 17-9.21 26.63-8.89 12.28.41 24.85 4.24 37 6.11 15.56 2.36 30.26 3.76 45.94.88", "data-name": "Path 318" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "m637.03 484.26-.1 1.43v.1l-.17 2.3-1.33 18.51-1.61 22.3-.46 6.28-1 13.44v.17l-107 1-175.59 1.9v.84h-.14v-1.12l.45-14.36.86-28.06.74-23.79.07-2.37a10.53 10.53 0 0 1 11.42-10.17c4.72.4 10.85.89 18.18 1.41l3 .22c42.33 2.94 120.56 6.74 199.5 2 1.66-.09 3.33-.19 5-.31 12.24-.77 24.47-1.76 36.58-3a10.53 10.53 0 0 1 11.6 11.23Z", "data-name": "Path 319", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M349.74 552.53v-.84l175.62-1.91 107-1h.3v-.17l1-13.44.43-6 1.64-22.61 1.29-17.9v-.44a10.6 10.6 0 0 0-.11-2.47.3.3 0 0 0 0-.1 10.4 10.4 0 0 0-2-4.64 10.54 10.54 0 0 0-9.42-4 937 937 0 0 1-36.58 3c-1.67.12-3.34.22-5 .31-78.94 4.69-157.17.89-199.5-2l-3-.22c-7.33-.52-13.46-1-18.18-1.41a10.54 10.54 0 0 0-11.24 8.53 11 11 0 0 0-.18 1.64l-.68 22.16-.93 28.07-.44 14.36v1.12Z", "data-name": "Path 320" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "m637.33 491.27-1.23 15.33-1.83 22.85-.46 5.72-1 12.81-.06.64v.17l-.15 1.48.11-1.48h-.29l-107 1-175.65 1.9v-.28l.49-14.36 1-28.06.64-18.65a6.36 6.36 0 0 1 3.06-5.25 6.25 6.25 0 0 1 3.78-.9c2.1.17 4.68.37 7.69.59 4.89.36 10.92.78 17.94 1.22 13 .82 29.31 1.7 48 2.42 52 2 122.2 2.67 188.88-3.17 3-.26 6.1-.55 9.13-.84a6.26 6.26 0 0 1 3.48.66 5 5 0 0 1 .86.54 6.14 6.14 0 0 1 2 2.46 3.6 3.6 0 0 1 .25.61 6.3 6.3 0 0 1 .36 2.59", "data-name": "Path 321", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M298.1 504.96v3.19a6.13 6.13 0 0 1-3.5 5.54l-40.1.77a6.12 6.12 0 0 1-3.57-5.57v-3Z", "data-name": "Path 322", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "m298.59 515.57-52.25 1v-8.67l52.25-1Z", "data-name": "Path 323" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "m298.59 515.57-52.25 1v-8.67l52.25-1Z", "data-name": "Path 324", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "m300.59 515.57-52.25 1v-8.67l52.25-1Z", "data-name": "Path 325" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M679.22 506.96v3.19a6.13 6.13 0 0 0 3.5 5.54l40.1.77a6.12 6.12 0 0 0 3.57-5.57v-3Z", "data-name": "Path 326", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "m678.72 517.57 52.25 1v-8.67l-52.25-1Z", "data-name": "Path 327", opacity: 0.1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "m676.72 517.57 52.25 1v-8.67l-52.25-1Z", "data-name": "Path 328" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M454.79 313.88c.08 7-3.16 13.6-5.91 20.07a163.5 163.5 0 0 0-12.66 74.71c.73 11 2.58 22 .73 32.9s-8.43 21.77-19 24.9c17.53 10.45 41.26 9.35 57.76-2.66 8.79-6.4 15.34-15.33 21.75-24.11a97.86 97.86 0 0 1-13.31 44.75 103.43 103.43 0 0 0 73.51-40.82c4.31-5.81 8.06-12.19 9.72-19.23 3.09-13-1.22-26.51-4.51-39.5a266 266 0 0 1-6.17-33c-.43-3.56-.78-7.22.1-10.7 1-4.07 3.67-7.51 5.64-11.22 5.6-10.54 5.73-23.3 2.86-34.88s-8.49-22.26-14.06-32.81c-4.46-8.46-9.3-17.31-17.46-22.28-5.1-3.1-11-4.39-16.88-5.64l-25.37-5.43c-5.55-1.19-11.26-2.38-16.87-1.51-9.47 1.48-16.14 8.32-22 15.34-4.59 5.46-15.81 15.71-16.6 22.86-.72 6.59 5.1 17.63 6.09 24.58 1.3 9 2.22 6 7.3 11.52 3.21 3.42 5.28 7.37 5.34 12.16", "data-name": "Path 329" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M280.139 370.832h43.635v17.662h-43.635Z", "data-name": "Path 40" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M240.66 428.493a10.38 10.38 0 0 1-8.989-5.195 10.377 10.377 0 0 0 8.988 15.584h10.391v-10.389Z", "data-name": "Path 41" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "m287.402 373.625 36.373-2.273v-5.195a10.39 10.39 0 0 0-10.39-10.389h-46.75l-1.3-2.249a1.5 1.5 0 0 0-2.6 0l-1.3 2.249-1.3-2.249a1.5 1.5 0 0 0-2.6 0l-1.3 2.249-1.3-2.249a1.5 1.5 0 0 0-2.6 0l-1.3 2.249h-.034l-2.152-2.151a1.5 1.5 0 0 0-2.508.672l-.696 2.653-2.7-.723a1.5 1.5 0 0 0-1.836 1.837l.722 2.7-2.65.71a1.5 1.5 0 0 0-.673 2.509l2.152 2.152v.033l-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.25 1.282-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3-2.249 1.3a1.5 1.5 0 0 0 0 2.6l2.249 1.3a10.39 10.39 0 0 0 10.389 10.34h62.335a10.39 10.39 0 0 0 10.39-10.39v-41.557l-36.373-2.273a5.53 5.53 0 0 1 0-11.038", "data-name": "Path 42" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M302.996 438.882h15.584v-20.779h-15.584Z", "data-name": "Path 43" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M328.97 425.895a3 3 0 0 0-.332.033q-.028-.117-.06-.234a2.594 2.594 0 1 0-2.567-4.455q-.086-.088-.174-.175a2.593 2.593 0 1 0-4.461-2.569q-.115-.031-.231-.06a2.6 2.6 0 1 0-5.128 0q-.116.029-.231.06a2.594 2.594 0 1 0-4.461 2.569 10.384 10.384 0 1 0 17.314 9.992 2.592 2.592 0 1 0 .332-5.161", "data-name": "Path 44" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M308.191 407.713h15.584v-10.389h-15.584Z", "data-name": "Path 45" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M328.969 403.818a1.3 1.3 0 1 0 0-2.6 1 1 0 0 0-.166.017l-.03-.117a1.3 1.3 0 0 0-.5-2.5 1.3 1.3 0 0 0-.783.269l-.087-.087a1.3 1.3 0 0 0 .263-.776 1.3 1.3 0 0 0-2.493-.509 5.195 5.195 0 1 0 0 10 1.3 1.3 0 0 0 2.493-.509 1.3 1.3 0 0 0-.263-.776l.087-.087a1.3 1.3 0 0 0 .783.269 1.3 1.3 0 0 0 .5-2.5q.016-.058.03-.117a1 1 0 0 0 .166.017", "data-name": "Path 46" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M261.439 372.65a1.3 1.3 0 0 1-1.3-1.3 3.9 3.9 0 0 0-7.792 0 1.3 1.3 0 1 1-2.6 0 6.494 6.494 0 0 1 12.987 0 1.3 1.3 0 0 1-1.3 1.3", "data-name": "Path 47" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#ffff50", fillRule: "evenodd", d: "M282.217 438.882h31.168a10.39 10.39 0 0 0 10.389-10.389V392.13h-31.168a10.39 10.39 0 0 0-10.389 10.389Z", "data-name": "Path 48" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M315.993 408.233h-25.994a.52.52 0 1 1 0-1.039h25.994a.52.52 0 0 1 0 1.039m0 10.389h-25.994a.52.52 0 1 1 0-1.039h25.994a.52.52 0 0 1 0 1.039m0 10.389h-25.994a.52.52 0 1 1 0-1.039h25.994a.52.52 0 0 1 0 1.039m0-25.877h-25.994a.52.52 0 1 1 0-1.039h25.994a.52.52 0 0 1 0 1.039m0 10.293h-25.994a.52.52 0 1 1 0-1.039h25.994a.52.52 0 0 1 0 1.039m0 10.389h-25.994a.52.52 0 1 1 0-1.039h25.994a.52.52 0 0 1 0 1.039m7.782-47.993h-.018c-1.605.055-2.365 1.66-3.035 3.077-.7 1.48-1.24 2.443-2.126 2.414-.981-.035-1.542-1.144-2.137-2.317-.683-1.347-1.462-2.876-3.1-2.819-1.582.054-2.344 1.451-3.017 2.684-.715 1.313-1.2 2.112-2.141 2.075-1-.036-1.533-.938-2.149-1.981-.686-1.162-1.479-2.467-3.084-2.423-1.555.053-2.319 1.239-2.994 2.286-.713 1.106-1.213 1.781-2.164 1.741-1.025-.036-1.554-.784-2.167-1.65-.688-.973-1.463-2.074-3.062-2.021a3.82 3.82 0 0 0-2.959 1.879c-.64.812-1.14 1.456-2.2 1.415a.52.52 0 0 0-.037 1.039 3.59 3.59 0 0 0 3.05-1.811c.611-.777 1.139-1.448 2.178-1.483 1-.043 1.47.579 2.179 1.582.674.953 1.438 2.033 2.977 2.089 1.612.054 2.387-1.151 3.074-2.217.614-.953 1.144-1.775 2.156-1.81.931-.035 1.438.7 2.153 1.912.674 1.141 1.437 2.434 3.006 2.491 1.623.056 2.407-1.361 3.09-2.616.592-1.085 1.15-2.109 2.14-2.143.931-.022 1.417.829 2.135 2.249.671 1.326 1.432 2.828 3.026 2.886h.088c1.592 0 2.347-1.6 3.015-3.01.592-1.252 1.152-2.431 2.113-2.479Z", "data-name": "Path 49" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M271.828 438.882h20.779v-20.779h-20.779Z", "data-name": "Path 50" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 8", transform: "rotate(-14.98 1643.944 -873.93)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 43.906, height: 17.333, fill: "#d8d8d8", "data-name": "Rectangle 3", rx: 2 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 2", transform: "translate(.728 10.948)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 4", rx: 1, transform: "translate(7.985)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 5", rx: 1, transform: "translate(10.991)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 6", rx: 1, transform: "translate(13.997)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 7", rx: 1, transform: "translate(17.003)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 8", rx: 1, transform: "translate(20.009)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 9", rx: 1, transform: "translate(23.015)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 10", rx: 1, transform: "translate(26.021)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 11", rx: 1, transform: "translate(29.028)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 12", rx: 1, transform: "translate(32.034)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M.519 0H6.9a.52.52 0 0 1 .521.52v1.5a.52.52 0 0 1-.519.519H.519A.52.52 0 0 1 0 2.017V.519A.52.52 0 0 1 .519 0m35.134 0h6.383a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519h-6.384a.52.52 0 0 1-.519-.519v-1.5A.52.52 0 0 1 35.652 0Z", "data-name": "Path 51" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 3", transform: "translate(.728 4.878)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M.519 0h2.437a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519H.519A.52.52 0 0 1 0 2.017V.519A.52.52 0 0 1 .519 0", "data-name": "Path 52" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 13", rx: 1, transform: "translate(3.945)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 14", rx: 1, transform: "translate(6.951)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 15", rx: 1, transform: "translate(9.958)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 16", rx: 1, transform: "translate(12.964)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 17", rx: 1, transform: "translate(15.97)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 18", rx: 1, transform: "translate(18.976)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 19", rx: 1, transform: "translate(21.982)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 20", rx: 1, transform: "translate(24.988)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 21", rx: 1, transform: "translate(27.994)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 22", rx: 1, transform: "translate(31)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 23", rx: 1, transform: "translate(34.006)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 24", rx: 1, transform: "translate(37.012)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 25", rx: 1, transform: "translate(40.018)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 4", transform: "rotate(180 21.642 2.269)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M.519 0h2.437a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519H.519A.52.52 0 0 1 0 2.017V.519A.52.52 0 0 1 .519 0", "data-name": "Path 53" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 26", rx: 1, transform: "translate(3.945)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 27", rx: 1, transform: "translate(6.951)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 28", rx: 1, transform: "translate(9.958)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 29", rx: 1, transform: "translate(12.964)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 30", rx: 1, transform: "translate(15.97)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 31", rx: 1, transform: "translate(18.976)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 32", rx: 1, transform: "translate(21.982)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 33", rx: 1, transform: "translate(24.988)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 34", rx: 1, transform: "translate(27.994)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 35", rx: 1, transform: "translate(31.001)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 36", rx: 1, transform: "translate(34.007)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 37", rx: 1, transform: "translate(37.013)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 38", rx: 1, transform: "translate(40.018)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 39", rx: 1, transform: "translate(3.945)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 40", rx: 1, transform: "translate(6.951)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 41", rx: 1, transform: "translate(9.958)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 42", rx: 1, transform: "translate(12.964)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 43", rx: 1, transform: "translate(15.97)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 44", rx: 1, transform: "translate(18.976)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 45", rx: 1, transform: "translate(21.982)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 46", rx: 1, transform: "translate(24.988)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 47", rx: 1, transform: "translate(27.994)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 48", rx: 1, transform: "translate(31.001)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 49", rx: 1, transform: "translate(34.007)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 50", rx: 1, transform: "translate(37.013)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 51", rx: 1, transform: "translate(40.018)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 6" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M1.247 7.883h3.47a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519h-3.47A.52.52 0 0 1 .728 9.9V8.403a.52.52 0 0 1 .519-.52", "data-name": "Path 54" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { "data-name": "Group 5", transform: "translate(5.801 7.883)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 52", rx: 1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 53", rx: 1, transform: "translate(3.006)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 54", rx: 1, transform: "translate(6.012)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 55", rx: 1, transform: "translate(9.018)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 56", rx: 1, transform: "translate(12.025)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 57", rx: 1, transform: "translate(15.031)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 58", rx: 1, transform: "translate(18.037)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 59", rx: 1, transform: "translate(21.042)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 60", rx: 1, transform: "translate(24.049)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 61", rx: 1, transform: "translate(27.055)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 62", rx: 1, transform: "translate(30.061)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M39.482 7.883h3.28a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519h-3.281a.52.52 0 0 1-.519-.521V8.403a.52.52 0 0 1 .519-.52Z", "data-name": "Path 55" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#4a4a4a", "data-name": "Group 7", transform: "translate(.728 14.084)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 63", rx: 1 }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 64", rx: 1, transform: "translate(3.006)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 65", rx: 1, transform: "translate(6.012)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 66", rx: 1, transform: "translate(9.018)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M12.543 0h14.462a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519H12.543a.52.52 0 0 1-.519-.52V.519A.52.52 0 0 1 12.543 0m15.97 0h1.874a.52.52 0 0 1 .519.519v1.5a.52.52 0 0 1-.519.519h-1.874a.52.52 0 0 1-.519-.519v-1.5A.52.52 0 0 1 28.513 0", "data-name": "Path 56" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 67", rx: 1, transform: "translate(31.376)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 68", rx: 1, transform: "translate(34.382)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.537, height: 2.537, "data-name": "Rectangle 69", rx: 1, transform: "translate(40.018)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M37.199 1.08V.519A.52.52 0 0 1 37.718 0h1.499a.52.52 0 0 1 .519.519v.561Z", "data-name": "Path 57" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M39.737 1.456v.561a.52.52 0 0 1-.519.519h-1.499a.52.52 0 0 1-.519-.519v-.561Z", "data-name": "Path 58" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 42.273, height: 1.127, fill: "#4a4a4a", "data-name": "Rectangle 70", rx: 0.564, transform: "translate(.915 .556)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 71", opacity: 0.136, rx: 0.376, transform: "translate(1.949 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 72", opacity: 0.136, rx: 0.376, transform: "translate(5.193 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 73", opacity: 0.136, rx: 0.376, transform: "translate(7.688 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 74", opacity: 0.136, rx: 0.376, transform: "translate(10.183 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 75", opacity: 0.136, rx: 0.376, transform: "translate(12.679 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 76", opacity: 0.136, rx: 0.376, transform: "translate(15.797 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 77", opacity: 0.136, rx: 0.376, transform: "translate(18.292 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 78", opacity: 0.136, rx: 0.376, transform: "translate(20.788 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 79", opacity: 0.136, rx: 0.376, transform: "translate(23.283 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 80", opacity: 0.136, rx: 0.376, transform: "translate(26.402 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 81", opacity: 0.136, rx: 0.376, transform: "translate(28.897 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 82", opacity: 0.136, rx: 0.376, transform: "translate(31.393 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 83", opacity: 0.136, rx: 0.376, transform: "translate(34.512 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 84", opacity: 0.136, rx: 0.376, transform: "translate(37.007 .744)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 2.37, height: 0.752, fill: "#d8d8d8", "data-name": "Rectangle 85", opacity: 0.136, rx: 0.376, transform: "translate(39.502 .744)" })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M302.996 425.895a3 3 0 0 0-.332.033q-.029-.117-.06-.234a2.594 2.594 0 1 0-2.567-4.455q-.086-.088-.174-.175a2.593 2.593 0 1 0-4.461-2.569q-.116-.031-.231-.06a2.6 2.6 0 1 0-5.128 0q-.115.029-.231.06a2.594 2.594 0 1 0-4.461 2.569 10.384 10.384 0 1 0 17.314 9.992 2.592 2.592 0 1 0 .332-5.161", "data-name": "Path 59" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M271.828 407.713h20.779v-10.389h-20.779Z", "data-name": "Path 60" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M297.801 403.818a1.3 1.3 0 1 0 0-2.6 1 1 0 0 0-.166.017l-.03-.117a1.3 1.3 0 0 0-.5-2.5 1.3 1.3 0 0 0-.783.269l-.087-.087a1.3 1.3 0 0 0 .263-.776 1.3 1.3 0 0 0-2.493-.509 5.195 5.195 0 1 0 0 10 1.3 1.3 0 0 0 2.493-.509 1.3 1.3 0 0 0-.263-.776l.087-.087a1.3 1.3 0 0 0 .783.269 1.3 1.3 0 0 0 .5-2.5q.016-.058.03-.117a1 1 0 0 0 .166.017", "data-name": "Path 61" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M302.997 365.507a1.4 1.4 0 0 1-.255-.026 1.3 1.3 0 0 1-.244-.073 1.4 1.4 0 0 1-.224-.119 2 2 0 0 1-.2-.161 1.5 1.5 0 0 1-.161-.2 1.3 1.3 0 0 1-.218-.722 1.4 1.4 0 0 1 .026-.255 1.5 1.5 0 0 1 .072-.244 1.4 1.4 0 0 1 .12-.223 1.3 1.3 0 0 1 .358-.358 1.4 1.4 0 0 1 .224-.119 1.3 1.3 0 0 1 .244-.073 1.2 1.2 0 0 1 .509 0 1.3 1.3 0 0 1 .468.192 2 2 0 0 1 .2.161 2 2 0 0 1 .161.2 1.3 1.3 0 0 1 .12.223 1.4 1.4 0 0 1 .1.5 1.32 1.32 0 0 1-.379.919 2 2 0 0 1-.2.161 1.4 1.4 0 0 1-.223.119 1.3 1.3 0 0 1-.5.1m10.389-.649a1.33 1.33 0 0 1-.92-.379 2 2 0 0 1-.161-.2 1.3 1.3 0 0 1-.218-.722 1.33 1.33 0 0 1 .379-.919 2 2 0 0 1 .2-.161 1.4 1.4 0 0 1 .224-.119 1.3 1.3 0 0 1 .244-.073 1.2 1.2 0 0 1 .509 0 1.3 1.3 0 0 1 .468.192 2 2 0 0 1 .2.161 1.33 1.33 0 0 1 .379.919 1.5 1.5 0 0 1-.026.255 1.3 1.3 0 0 1-.073.244 2 2 0 0 1-.119.223 2 2 0 0 1-.161.2 2 2 0 0 1-.2.161 1.3 1.3 0 0 1-.722.218", "data-name": "Path 62" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", { fill: "#61dafb", transform: "translate(466.3 278.56)" }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M263.668 117.179c0-5.827-7.3-11.35-18.487-14.775 2.582-11.4 1.434-20.477-3.622-23.382a7.86 7.86 0 0 0-4.016-1v4a4.15 4.15 0 0 1 2.044.466c2.439 1.4 3.5 6.724 2.672 13.574-.2 1.685-.52 3.461-.914 5.272a87 87 0 0 0-11.386-1.954 87.5 87.5 0 0 0-7.459-8.965c5.845-5.433 11.332-8.41 15.062-8.41V78c-4.931 0-11.386 3.514-17.913 9.611-6.527-6.061-12.982-9.539-17.913-9.539v4c3.712 0 9.216 2.959 15.062 8.356a85 85 0 0 0-7.405 8.947 84 84 0 0 0-11.4 1.972 54 54 0 0 1-.932-5.2c-.843-6.85.2-12.175 2.618-13.592a4 4 0 0 1 2.062-.466v-4a8 8 0 0 0-4.052 1c-5.039 2.9-6.168 11.96-3.568 23.328-11.153 3.443-18.415 8.947-18.415 14.757 0 5.828 7.3 11.35 18.487 14.775-2.582 11.4-1.434 20.477 3.622 23.382a7.9 7.9 0 0 0 4.034 1c4.931 0 11.386-3.514 17.913-9.611 6.527 6.061 12.982 9.539 17.913 9.539a8 8 0 0 0 4.052-1c5.039-2.9 6.168-11.96 3.568-23.328 11.111-3.42 18.373-8.943 18.373-14.752m-23.346-11.96a80 80 0 0 1-2.421 7.083 83 83 0 0 0-2.349-4.3 97 97 0 0 0-2.582-4.2c2.547.377 5.004.843 7.353 1.417Zm-8.212 19.1c-1.4 2.421-2.833 4.716-4.321 6.85a93 93 0 0 1-8.1.359c-2.708 0-5.415-.126-8.069-.341q-2.232-3.2-4.339-6.814-2.044-3.523-3.73-7.136a94 94 0 0 1 3.712-7.154c1.4-2.421 2.833-4.716 4.321-6.85a93 93 0 0 1 8.1-.359c2.708 0 5.415.126 8.069.341q2.232 3.2 4.339 6.814 2.044 3.523 3.73 7.136a101 101 0 0 1-3.712 7.15Zm5.792-2.331a77 77 0 0 1 2.474 7.136 80 80 0 0 1-7.387 1.434c.879-1.381 1.757-2.8 2.582-4.25a96 96 0 0 0 2.329-4.324Zm-18.182 19.128a74 74 0 0 1-4.985-5.738c1.614.072 3.263.126 4.931.126 1.685 0 3.353-.036 4.985-.126a70 70 0 0 1-4.931 5.738m-13.34-10.561c-2.546-.377-5-.843-7.352-1.417a80 80 0 0 1 2.421-7.083c.735 1.434 1.506 2.869 2.349 4.3s1.702 2.837 2.582 4.2m13.25-37.314a74 74 0 0 1 4.985 5.738 111 111 0 0 0-4.931-.126c-1.686 0-3.353.036-4.985.126a70 70 0 0 1 4.931-5.738M206.362 103.8a101 101 0 0 0-4.913 8.55 77 77 0 0 1-2.474-7.136 90 90 0 0 1 7.387-1.414m-16.227 22.449c-6.348-2.708-10.454-6.258-10.454-9.073s4.106-6.383 10.454-9.073c1.542-.663 3.228-1.255 4.967-1.811a86 86 0 0 0 4.034 10.92 85 85 0 0 0-3.981 10.866 54 54 0 0 1-5.021-1.826Zm9.647 25.623c-2.439-1.4-3.5-6.724-2.672-13.574.2-1.686.52-3.461.914-5.272a87 87 0 0 0 11.386 1.954 87.5 87.5 0 0 0 7.459 8.965c-5.845 5.433-11.332 8.41-15.062 8.41a4.3 4.3 0 0 1-2.026-.48Zm42.532-13.663c.843 6.85-.2 12.175-2.618 13.592a4 4 0 0 1-2.062.466c-3.712 0-9.216-2.959-15.062-8.356a85 85 0 0 0 7.405-8.947 84 84 0 0 0 11.4-1.972 50 50 0 0 1 .936 5.22Zm6.9-11.96c-1.542.663-3.228 1.255-4.967 1.811a86 86 0 0 0-4.034-10.92 85 85 0 0 0 3.981-10.866 57 57 0 0 1 5.039 1.829c6.348 2.708 10.454 6.258 10.454 9.073-.017 2.818-4.123 6.386-10.471 9.076Z", "data-name": "Path 330" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M201.718 78.072", "data-name": "Path 331" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 8.194, cy: 8.194, r: 8.194, "data-name": "Ellipse 112", transform: "translate(211.472 108.984)" }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M237.525 78.018", "data-name": "Path 332" }))))); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgUndrawDocusaurusReact); /***/ }), /***/ 1213: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); var _circle, _ellipse, _ellipse2, _path, _path2, _path3, _circle2, _circle3, _circle4, _rect, _rect2, _rect3, _rect4, _rect5, _rect6, _rect7, _path4, _ellipse3, _ellipse4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21; function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } const SvgUndrawDocusaurusTree = _ref => { let { title, titleId, ...props } = _ref; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", width: 1129, height: 663, viewBox: "0 0 1129 663", "aria-labelledby": titleId }, props), title === undefined ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, "Focus on What Matters") : title ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("title", { id: titleId }, title) : null, _circle || (_circle = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 321, cy: 321, r: 321, fill: "#f2f2f2" })), _ellipse || (_ellipse = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ellipse", { cx: 559, cy: 635.5, fill: "#3f3d56", rx: 514, ry: 27.5 })), _ellipse2 || (_ellipse2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ellipse", { cx: 558, cy: 627, opacity: 0.2, rx: 460, ry: 22 })), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M131 152.5h840v50H131z" })), _path2 || (_path2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M131 608.83a21.67 21.67 0 0 0 21.67 21.67h796.66A21.67 21.67 0 0 0 971 608.83V177.5H131ZM949.33 117.5H152.67A21.67 21.67 0 0 0 131 139.17v38.33h840v-38.33a21.67 21.67 0 0 0-21.67-21.67" })), _path3 || (_path3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M949.33 117.5H152.67A21.67 21.67 0 0 0 131 139.17v38.33h840v-38.33a21.67 21.67 0 0 0-21.67-21.67", opacity: 0.2 })), _circle2 || (_circle2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 181, cy: 147.5, r: 13, fill: "#3f3d56" })), _circle3 || (_circle3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 217, cy: 147.5, r: 13, fill: "#3f3d56" })), _circle4 || (_circle4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle", { cx: 253, cy: 147.5, r: 13, fill: "#3f3d56" })), _rect || (_rect = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 337, height: 386, x: 168, y: 213.5, fill: "#606060", rx: 5.335 })), _rect2 || (_rect2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 284, height: 22, x: 603, y: 272.5, fill: "#2e8555", rx: 5.476 })), _rect3 || (_rect3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 416, height: 15, x: 537, y: 352.5, fill: "#2e8555", rx: 5.476 })), _rect4 || (_rect4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 416, height: 15, x: 537, y: 396.5, fill: "#2e8555", rx: 5.476 })), _rect5 || (_rect5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 416, height: 15, x: 537, y: 440.5, fill: "#2e8555", rx: 5.476 })), _rect6 || (_rect6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 416, height: 15, x: 537, y: 484.5, fill: "#2e8555", rx: 5.476 })), _rect7 || (_rect7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect", { width: 88, height: 26, x: 865, y: 552.5, fill: "#3ecc5f", rx: 7.028 })), _path4 || (_path4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3f3d56", d: "M1053.103 506.116a30.1 30.1 0 0 0 3.983-15.266c0-13.797-8.544-24.98-19.083-24.98s-19.082 11.183-19.082 24.98a30.1 30.1 0 0 0 3.983 15.266 31.25 31.25 0 0 0 0 30.532 31.25 31.25 0 0 0 0 30.532 31.25 31.25 0 0 0 0 30.532 30.1 30.1 0 0 0-3.983 15.266c0 13.797 8.543 24.981 19.082 24.981s19.083-11.184 19.083-24.98a30.1 30.1 0 0 0-3.983-15.267 31.25 31.25 0 0 0 0-30.532 31.25 31.25 0 0 0 0-30.532 31.25 31.25 0 0 0 0-30.532" })), _ellipse3 || (_ellipse3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ellipse", { cx: 1038.003, cy: 460.318, fill: "#3f3d56", rx: 19.083, ry: 24.981 })), _ellipse4 || (_ellipse4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("ellipse", { cx: 1038.003, cy: 429.786, fill: "#3f3d56", rx: 19.083, ry: 24.981 })), _path5 || (_path5 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M1109.439 220.845a92 92 0 0 0 7.106-10.461l-50.14-8.235 54.228.403a91.57 91.57 0 0 0 1.746-72.426l-72.755 37.742 67.097-49.321A91.413 91.413 0 1 0 965.75 220.845a91.5 91.5 0 0 0-10.425 16.67l65.087 33.814-69.4-23.292a91.46 91.46 0 0 0 14.738 85.837 91.406 91.406 0 1 0 143.689 0 91.42 91.42 0 0 0 0-113.03" })), _path6 || (_path6 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { d: "M946.189 277.36a91 91 0 0 0 19.56 56.514 91.406 91.406 0 1 0 143.69 0c12.25-15.553-163.25-66.774-163.25-56.515", opacity: 0.1 })), _path7 || (_path7 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M330.12 342.936h111.474v45.12H330.12Z" })), _path8 || (_path8 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M229.263 490.241a26.51 26.51 0 0 1-22.963-13.27 26.51 26.51 0 0 0 22.963 39.812h26.541V490.24Z" })), _path9 || (_path9 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "m348.672 350.07 92.922-5.807v-13.27a26.54 26.54 0 0 0-26.541-26.542H295.616l-3.318-5.746a3.83 3.83 0 0 0-6.635 0l-3.318 5.746-3.317-5.746a3.83 3.83 0 0 0-6.636 0l-3.317 5.746-3.318-5.746a3.83 3.83 0 0 0-6.635 0l-3.318 5.746c-.03 0-.056.004-.086.004l-5.497-5.495a3.83 3.83 0 0 0-6.407 1.717l-1.817 6.773-6.89-1.847a3.83 3.83 0 0 0-4.691 4.693l1.844 6.891-6.77 1.814a3.832 3.832 0 0 0-1.72 6.41l5.497 5.497q-.002.041-.004.085l-5.747 3.317a3.83 3.83 0 0 0 0 6.636l5.747 3.317-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318-5.747 3.317a3.83 3.83 0 0 0 0 6.636l5.747 3.317-5.747 3.318a3.83 3.83 0 0 0 0 6.636l5.747 3.317-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318-5.747 3.317a3.83 3.83 0 0 0 0 6.636l5.747 3.317-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318-5.747 3.317a3.83 3.83 0 0 0 0 6.636l5.747 3.317-5.747 3.318a3.83 3.83 0 0 0 0 6.635l5.747 3.318a26.54 26.54 0 0 0 26.541 26.542h159.249a26.54 26.54 0 0 0 26.541-26.542V384.075l-92.922-5.807a14.126 14.126 0 0 1 0-28.197" })), _path10 || (_path10 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M388.511 516.783h39.812V463.7h-39.812Z" })), _path11 || (_path11 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M454.865 483.606a7 7 0 0 0-.848.085q-.073-.3-.154-.599a6.627 6.627 0 1 0-6.557-11.382q-.22-.225-.445-.446a6.624 6.624 0 1 0-11.397-6.564c-.196-.055-.394-.102-.59-.152a6.64 6.64 0 1 0-13.101 0c-.197.05-.394.097-.59.152a6.628 6.628 0 1 0-11.398 6.564 26.528 26.528 0 1 0 44.232 25.528 6.621 6.621 0 1 0 .848-13.186" })), _path12 || (_path12 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M401.782 437.158h39.812v-26.541h-39.812Z" })), _path13 || (_path13 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M454.865 427.205a3.318 3.318 0 0 0 0-6.635 3 3 0 0 0-.424.042c-.026-.1-.049-.199-.077-.298a3.319 3.319 0 0 0-1.278-6.38 3.28 3.28 0 0 0-2 .688q-.11-.113-.224-.223a3.3 3.3 0 0 0 .672-1.983 3.318 3.318 0 0 0-6.37-1.299 13.27 13.27 0 1 0 0 25.541 3.318 3.318 0 0 0 6.37-1.3 3.3 3.3 0 0 0-.672-1.982q.114-.11.223-.223a3.28 3.28 0 0 0 2.001.688 3.318 3.318 0 0 0 1.278-6.38c.028-.098.05-.199.077-.298a3 3 0 0 0 .424.042" })), _path14 || (_path14 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M282.345 347.581a3.32 3.32 0 0 1-3.317-3.318 9.953 9.953 0 1 0-19.906 0 3.318 3.318 0 1 1-6.636 0 16.588 16.588 0 1 1 33.177 0 3.32 3.32 0 0 1-3.318 3.318" })), _path15 || (_path15 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#ffff50", fillRule: "evenodd", d: "M335.428 516.783h79.625a26.54 26.54 0 0 0 26.541-26.542v-92.895H361.97a26.54 26.54 0 0 0-26.542 26.542Z" })), _path16 || (_path16 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M421.714 438.485h-66.406a1.327 1.327 0 0 1 0-2.654h66.406a1.327 1.327 0 0 1 0 2.654m0 26.542h-66.406a1.327 1.327 0 1 1 0-2.654h66.406a1.327 1.327 0 0 1 0 2.654m0 26.541h-66.406a1.327 1.327 0 1 1 0-2.654h66.406a1.327 1.327 0 0 1 0 2.654m0-66.106h-66.406a1.327 1.327 0 0 1 0-2.655h66.406a1.327 1.327 0 0 1 0 2.655m0 26.294h-66.406a1.327 1.327 0 0 1 0-2.654h66.406a1.327 1.327 0 0 1 0 2.654m0 26.542h-66.406a1.327 1.327 0 0 1 0-2.655h66.406a1.327 1.327 0 0 1 0 2.655m19.88-122.607c-.016 0-.03-.008-.045-.007-4.1.14-6.04 4.241-7.753 7.86-1.786 3.783-3.168 6.242-5.432 6.167-2.506-.09-3.94-2.922-5.458-5.918-1.744-3.443-3.734-7.347-7.913-7.201-4.042.138-5.99 3.708-7.706 6.857-1.828 3.355-3.071 5.394-5.47 5.3-2.557-.093-3.916-2.395-5.488-5.06-1.753-2.967-3.78-6.304-7.878-6.19-3.973.137-5.925 3.166-7.648 5.84-1.822 2.826-3.098 4.549-5.527 4.447-2.618-.093-3.97-2.004-5.535-4.216-1.757-2.486-3.737-5.3-7.823-5.163-3.886.133-5.838 2.615-7.56 4.802-1.634 2.075-2.91 3.718-5.611 3.615a1.328 1.328 0 1 0-.096 2.654c4.004.134 6.032-2.389 7.793-4.628 1.562-1.985 2.91-3.698 5.564-3.789 2.556-.108 3.754 1.48 5.567 4.041 1.721 2.434 3.675 5.195 7.606 5.337 4.118.138 6.099-2.94 7.853-5.663 1.569-2.434 2.923-4.535 5.508-4.624 2.38-.088 3.674 1.792 5.5 4.885 1.722 2.916 3.671 6.22 7.68 6.365 4.147.143 6.15-3.477 7.895-6.682 1.511-2.77 2.938-5.388 5.466-5.475 2.38-.056 3.62 2.116 5.456 5.746 1.714 3.388 3.658 7.226 7.73 7.373l.224.004c4.066 0 5.996-4.08 7.704-7.689 1.511-3.198 2.942-6.21 5.397-6.334Z" })), _path17 || (_path17 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M308.887 516.783h53.083V463.7h-53.083Z" })), _path18 || (_path18 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M388.511 483.606a7 7 0 0 0-.848.085c-.05-.2-.098-.4-.154-.599a6.627 6.627 0 1 0-6.557-11.382q-.22-.225-.444-.446a6.624 6.624 0 1 0-11.397-6.564c-.197-.055-.394-.102-.59-.152a6.64 6.64 0 1 0-13.102 0c-.196.05-.394.097-.59.152a6.628 6.628 0 1 0-11.397 6.564 26.528 26.528 0 1 0 44.231 25.528 6.621 6.621 0 1 0 .848-13.186" })), _path19 || (_path19 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#3ecc5f", fillRule: "evenodd", d: "M308.887 437.158h53.083v-26.541h-53.083Z" })), _path20 || (_path20 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fill: "#44d860", fillRule: "evenodd", d: "M375.24 427.205a3.318 3.318 0 1 0 0-6.635 3 3 0 0 0-.423.042q-.038-.15-.077-.298a3.319 3.319 0 0 0-1.278-6.38 3.28 3.28 0 0 0-2.001.688q-.11-.113-.223-.223a3.3 3.3 0 0 0 .671-1.983 3.318 3.318 0 0 0-6.37-1.299 13.27 13.27 0 1 0 0 25.541 3.318 3.318 0 0 0 6.37-1.3 3.3 3.3 0 0 0-.671-1.982q.113-.11.223-.223a3.28 3.28 0 0 0 2.001.688 3.318 3.318 0 0 0 1.278-6.38c.028-.098.05-.199.077-.298a3 3 0 0 0 .423.042" })), _path21 || (_path21 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", { fillRule: "evenodd", d: "M388.511 329.334a3.6 3.6 0 0 1-.65-.067 3.3 3.3 0 0 1-.624-.185 3.5 3.5 0 0 1-.572-.306 5 5 0 0 1-.504-.411 4 4 0 0 1-.41-.504 3.28 3.28 0 0 1-.558-1.845 3.6 3.6 0 0 1 .067-.65 4 4 0 0 1 .184-.624 3.5 3.5 0 0 1 .307-.57 3.2 3.2 0 0 1 .914-.916 3.5 3.5 0 0 1 .572-.305 3.3 3.3 0 0 1 .624-.186 3.1 3.1 0 0 1 1.3 0 3.2 3.2 0 0 1 1.195.49 5 5 0 0 1 .504.412 5 5 0 0 1 .411.504 3.4 3.4 0 0 1 .306.571 3.5 3.5 0 0 1 .252 1.274 3.36 3.36 0 0 1-.969 2.349 5 5 0 0 1-.504.411 3.3 3.3 0 0 1-1.845.558m26.542-1.66a3.4 3.4 0 0 1-2.35-.968 5 5 0 0 1-.41-.504 3.28 3.28 0 0 1-.558-1.845 3.39 3.39 0 0 1 .967-2.349 5 5 0 0 1 .505-.411 3.5 3.5 0 0 1 .572-.305 3.3 3.3 0 0 1 .623-.186 3.1 3.1 0 0 1 1.3 0 3.2 3.2 0 0 1 1.195.49 5 5 0 0 1 .504.412 3.4 3.4 0 0 1 .97 2.35 4 4 0 0 1-.067.65 3.4 3.4 0 0 1-.186.623 5 5 0 0 1-.305.57 5 5 0 0 1-.412.505 5 5 0 0 1-.504.412 3.3 3.3 0 0 1-1.844.557" }))); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgUndrawDocusaurusTree); /***/ }), /***/ 1831: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { "in": () => (/* reexport */ BlogPostProvider), OU: () => (/* reexport */ BlogSidebarItemList), Ki: () => (/* reexport */ groupBlogSidebarItemsByYear), kJ: () => (/* reexport */ useBlogListPageStructuredData), x: () => (/* reexport */ useBlogMetadata), e7: () => (/* reexport */ useBlogPost), J_: () => (/* reexport */ useBlogPostStructuredData), Gx: () => (/* reexport */ useVisibleBlogSidebarItems) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/reactUtils.js var reactUtils = __webpack_require__(9129); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useRouteContext.js var useRouteContext = __webpack_require__(9060); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-plugin-content-blog/lib/client/contexts.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useBlogMetadata(){const routeContext=(0,useRouteContext/* default */.A)();const blogMetadata=routeContext?.data?.blogMetadata;if(!blogMetadata){throw new Error("useBlogMetadata() can't be called on the current route because the blog metadata could not be found in route context");}return blogMetadata;}const Context=/*#__PURE__*/react.createContext(null);/** * Note: we don't use `PropBlogPostContent` as context value on purpose. * Metadata is currently stored inside the MDX component, but we may want to * change that in the future. */function useContextValue({content,isBlogPostPage}){return (0,react.useMemo)(()=>({metadata:content.metadata,frontMatter:content.frontMatter,assets:content.assets,toc:content.toc,isBlogPostPage}),[content,isBlogPostPage]);}/** * This is a very thin layer around the `content` received from the MDX loader. * It provides metadata about the blog post to the children tree. */function BlogPostProvider({children,content,isBlogPostPage=false}){const contextValue=useContextValue({content,isBlogPostPage});return/*#__PURE__*/(0,jsx_runtime.jsx)(Context.Provider,{value:contextValue,children:children});}/** * Returns the data of the currently browsed blog post. Gives access to * front matter, metadata, TOC, etc. * When swizzling a low-level component (e.g. the "Edit this page" link) * and you need some extra metadata, you don't have to drill the props * all the way through the component tree: simply use this hook instead. */function useBlogPost(){const blogPost=(0,react.useContext)(Context);if(blogPost===null){throw new reactUtils/* ReactContextError */.dV('BlogPostProvider');}return blogPost;} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); ;// ../packages/docusaurus-plugin-content-blog/lib/client/structuredDataUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const convertDate=dateMs=>new Date(dateMs).toISOString();function getBlogPost(blogPostContent,siteConfig,withBaseUrl){const{assets,frontMatter,metadata}=blogPostContent;const{date,title,description,lastUpdatedAt}=metadata;const image=assets.image??frontMatter.image;const keywords=frontMatter.keywords??[];const blogUrl=`${siteConfig.url}${metadata.permalink}`;const dateModified=lastUpdatedAt?convertDate(lastUpdatedAt):undefined;return{'@type':'BlogPosting','@id':blogUrl,mainEntityOfPage:blogUrl,url:blogUrl,headline:title,name:title,description,datePublished:date,...(dateModified?{dateModified}:{}),...getAuthor(metadata.authors),...getImage(image,withBaseUrl,title),...(keywords?{keywords}:{})};}function getAuthor(authors){const authorsStructuredData=authors.map(createPersonStructuredData);return{author:authorsStructuredData.length===1?authorsStructuredData[0]:authorsStructuredData};}function getImage(image,withBaseUrl,title){return image?{image:createImageStructuredData({imageUrl:withBaseUrl(image,{absolute:true}),caption:`title image for the blog post: ${title}`})}:{};}function useBlogListPageStructuredData(props){const{siteConfig}=(0,useDocusaurusContext/* default */.A)();const{withBaseUrl}=(0,useBaseUrl/* useBaseUrlUtils */.hH)();const{metadata:{blogDescription,blogTitle,permalink}}=props;const url=`${siteConfig.url}${permalink}`;// details on structured data support: https://schema.org/Blog return{'@context':'https://schema.org','@type':'Blog','@id':url,mainEntityOfPage:url,headline:blogTitle,description:blogDescription,blogPost:props.items.map(blogItem=>getBlogPost(blogItem.content,siteConfig,withBaseUrl))};}function useBlogPostStructuredData(){const blogMetadata=useBlogMetadata();const{assets,metadata}=useBlogPost();const{siteConfig}=(0,useDocusaurusContext/* default */.A)();const{withBaseUrl}=(0,useBaseUrl/* useBaseUrlUtils */.hH)();const{date,title,description,frontMatter,lastUpdatedAt}=metadata;const image=assets.image??frontMatter.image;const keywords=frontMatter.keywords??[];const dateModified=lastUpdatedAt?convertDate(lastUpdatedAt):undefined;const url=`${siteConfig.url}${metadata.permalink}`;// details on structured data support: https://schema.org/BlogPosting // BlogPosting is one of the structured data types that Google explicitly // supports: https://developers.google.com/search/docs/appearance/structured-data/article#structured-data-type-definitions return{'@context':'https://schema.org','@type':'BlogPosting','@id':url,mainEntityOfPage:url,url,headline:title,name:title,description,datePublished:date,...(dateModified?{dateModified}:{}),...getAuthor(metadata.authors),...getImage(image,withBaseUrl,title),...(keywords?{keywords}:{}),isPartOf:{'@type':'Blog','@id':`${siteConfig.url}${blogMetadata.blogBasePath}`,name:blogMetadata.blogTitle}};}/** @returns A {@link https://schema.org/Person} constructed from the {@link Author} */function createPersonStructuredData(author){return{'@type':'Person',...(author.name?{name:author.name}:{}),...(author.title?{description:author.title}:{}),...(author.url?{url:author.url}:{}),...(author.email?{email:author.email}:{}),...(author.imageURL?{image:author.imageURL}:{})};}/** @returns A {@link https://schema.org/ImageObject} */function createImageStructuredData({imageUrl,caption}){return{'@type':'ImageObject','@id':imageUrl,url:imageUrl,contentUrl:imageUrl,caption};} // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/jsUtils.js var jsUtils = __webpack_require__(29); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/routesUtils.js var routesUtils = __webpack_require__(5438); ;// ../packages/docusaurus-plugin-content-blog/lib/client/sidebarUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function isVisible(item,pathname){if(item.unlisted&&!(0,routesUtils/* isSamePath */.ys)(item.permalink,pathname)){return false;}return true;}/** * Return the visible blog sidebar items to display. * Unlisted items are filtered. */function useVisibleBlogSidebarItems(items){const{pathname}=(0,react_router/* useLocation */.zy)();return (0,react.useMemo)(()=>items.filter(item=>isVisible(item,pathname)),[items,pathname]);}function groupBlogSidebarItemsByYear(items){const groupedByYear=(0,jsUtils/* groupBy */.$z)(items,item=>{return`${new Date(item.date).getFullYear()}`;});// "as" is safe here // see https://github.com/microsoft/TypeScript/pull/56805#issuecomment-2196526425 const entries=Object.entries(groupedByYear);// We have to use entries because of https://x.com/sebastienlorber/status/1806371668614369486 // Objects with string/number keys are automatically sorted asc... // Even if keys are strings like "2024" // We want descending order for years // Alternative: using Map.groupBy (not affected by this "reordering") entries.reverse();return entries;}function BlogSidebarItemList({items,ulClassName,liClassName,linkClassName,linkActiveClassName}){return/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:ulClassName,children:items.map(item=>/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:liClassName,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{isNavLink:true,to:item.permalink,className:linkClassName,activeClassName:linkActiveClassName,children:item.title})},item.permalink))});} ;// ../packages/docusaurus-plugin-content-blog/lib/client/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /***/ }), /***/ 2375: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ VQ: () => (/* binding */ DocsPreferredVersionContextProvider), /* harmony export */ g1: () => (/* binding */ useDocsPreferredVersion) /* harmony export */ }); /* unused harmony export useDocsPreferredVersionByPluginId */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5996); /* harmony import */ var _docusaurus_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3170); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6963); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8463); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9129); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const storageKey=pluginId=>`docs-preferred-version-${pluginId}`;const DocsPreferredVersionStorage={save:(pluginId,persistence,versionName)=>{(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .createStorageSlot */ .Wf)(storageKey(pluginId),{persistence}).set(versionName);},read:(pluginId,persistence)=>(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .createStorageSlot */ .Wf)(storageKey(pluginId),{persistence}).get(),clear:(pluginId,persistence)=>{(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .createStorageSlot */ .Wf)(storageKey(pluginId),{persistence}).del();}};/** * Initial state is always null as we can't read local storage from node SSR */const getInitialState=pluginIds=>Object.fromEntries(pluginIds.map(id=>[id,{preferredVersionName:null}]));/** * Read storage for all docs plugins, assigning each doc plugin a preferred * version (if found) */function readStorageState({pluginIds,versionPersistence,allDocsData}){/** * The storage value we read might be stale, and belong to a version that does * not exist in the site anymore. In such case, we remove the storage value to * avoid downstream errors. */function restorePluginState(pluginId){const preferredVersionNameUnsafe=DocsPreferredVersionStorage.read(pluginId,versionPersistence);const pluginData=allDocsData[pluginId];const versionExists=pluginData.versions.some(version=>version.name===preferredVersionNameUnsafe);if(versionExists){return{preferredVersionName:preferredVersionNameUnsafe};}DocsPreferredVersionStorage.clear(pluginId,versionPersistence);return{preferredVersionName:null};}return Object.fromEntries(pluginIds.map(id=>[id,restorePluginState(id)]));}function useVersionPersistence(){return (0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .useThemeConfig */ .p)().docs.versionPersistence;}const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);function useContextValue(){const allDocsData=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__/* .useAllDocsData */ .Gy)();const versionPersistence=useVersionPersistence();const pluginIds=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>Object.keys(allDocsData),[allDocsData]);// Initial state is empty, as we can't read browser storage in node/SSR const[state,setState]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(()=>getInitialState(pluginIds));// On mount, we set the state read from browser storage (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{setState(readStorageState({allDocsData,versionPersistence,pluginIds}));},[allDocsData,versionPersistence,pluginIds]);// The API that we expose to consumer hooks (memo for constant object) const api=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>{function savePreferredVersion(pluginId,versionName){DocsPreferredVersionStorage.save(pluginId,versionPersistence,versionName);setState(s=>({...s,[pluginId]:{preferredVersionName:versionName}}));}return{savePreferredVersion};},[versionPersistence]);return[state,api];}function DocsPreferredVersionContextProviderUnsafe({children}){const value=useContextValue();return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:value,children:children});}/** * This is a maybe-layer. If the docs plugin is not enabled, this provider is a * simple pass-through. */function DocsPreferredVersionContextProvider({children}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(DocsPreferredVersionContextProviderUnsafe,{children:children});}function useDocsPreferredVersionContext(){const value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!value){throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV('DocsPreferredVersionContextProvider');}return value;}/** * Returns a read-write interface to a plugin's preferred version. The * "preferred version" is defined as the last version that the user visited. * For example, if a user is using v3, even when v4 is later published, the user * would still be browsing v3 docs when she opens the website next time. Note, * the `preferredVersion` attribute will always be `null` before mount. */function useDocsPreferredVersion(pluginId=_docusaurus_constants__WEBPACK_IMPORTED_MODULE_6__/* .DEFAULT_PLUGIN_ID */ .W){const docsData=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__/* .useDocsData */ .ht)(pluginId);const[state,api]=useDocsPreferredVersionContext();const{preferredVersionName}=state[pluginId];const preferredVersion=docsData.versions.find(version=>version.name===preferredVersionName)??null;const savePreferredVersionName=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(versionName=>{api.savePreferredVersion(pluginId,versionName);},[api,pluginId]);return{preferredVersion,savePreferredVersionName};}function useDocsPreferredVersionByPluginId(){const allDocsData=useAllDocsData();const[state]=useDocsPreferredVersionContext();function getPluginIdPreferredVersion(pluginId){const docsData=allDocsData[pluginId];const{preferredVersionName}=state[pluginId];return docsData.versions.find(version=>version.name===preferredVersionName)??null;}const pluginIds=Object.keys(allDocsData);return Object.fromEntries(pluginIds.map(id=>[id,getPluginIdPreferredVersion(id)]));} /***/ }), /***/ 3770: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ V: () => (/* binding */ DocsSidebarProvider), /* harmony export */ t: () => (/* binding */ useDocsSidebar) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9129); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Using a Symbol because null is a valid context value (a doc with no sidebar) // Inspired by https://github.com/jamiebuilds/unstated-next/blob/master/src/unstated-next.tsx const EmptyContext=Symbol('EmptyContext');const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(EmptyContext);/** * Provide the current sidebar to your children. */function DocsSidebarProvider({children,name,items}){const stableValue=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>name&&items?{name,items}:null,[name,items]);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:stableValue,children:children});}/** * Gets the sidebar that's currently displayed, or `null` if there isn't one */function useDocsSidebar(){const value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(value===EmptyContext){throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV('DocsSidebarProvider');}return value;} /***/ }), /***/ 4271: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $S: () => (/* binding */ useCurrentSidebarCategory), /* harmony export */ B5: () => (/* binding */ useDocRootMetadata), /* harmony export */ Nr: () => (/* binding */ findFirstSidebarItemLink), /* harmony export */ OF: () => (/* binding */ useSidebarBreadcrumbs), /* harmony export */ QB: () => (/* binding */ useLayoutDoc), /* harmony export */ Vd: () => (/* binding */ useDocsVersionCandidates), /* harmony export */ Y: () => (/* binding */ useVisibleSidebarItems), /* harmony export */ a4: () => (/* binding */ useCurrentSidebarSiblings), /* harmony export */ cC: () => (/* binding */ useDocById), /* harmony export */ d1: () => (/* binding */ filterDocCardListItems), /* harmony export */ fW: () => (/* binding */ useLayoutDocsSidebar), /* harmony export */ w8: () => (/* binding */ isActiveSidebarItem) /* harmony export */ }); /* unused harmony exports findSidebarCategory, findFirstSidebarItemCategoryLink, isVisibleSidebarItem */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9519); /* harmony import */ var _docusaurus_renderRoutes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3971); /* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5996); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5438); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(29); /* harmony import */ var _docsPreferredVersion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2375); /* harmony import */ var _docsVersion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8218); /* harmony import */ var _docsSidebar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3770); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useDocById(id){const version=(0,_docsVersion__WEBPACK_IMPORTED_MODULE_1__/* .useDocsVersion */ .r)();if(!id){return undefined;}const doc=version.docs[id];if(!doc){throw new Error(`no version doc found by id=${id}`);}return doc;}/** * Pure function, similar to `Array#find`, but works on the sidebar tree. */function findSidebarCategory(sidebar,predicate){for(const item of sidebar){if(item.type==='category'){if(predicate(item)){return item;}const subItem=findSidebarCategory(item.items,predicate);if(subItem){return subItem;}}}return undefined;}/** * Best effort to assign a link to a sidebar category. If the category doesn't * have a link itself, we link to the first sub item with a link. */function findFirstSidebarItemCategoryLink(item){if(item.href&&!item.linkUnlisted){return item.href;}for(const subItem of item.items){const link=findFirstSidebarItemLink(subItem);if(link){return link;}}return undefined;}/** * Best effort to assign a link to a sidebar item. */function findFirstSidebarItemLink(item){if(item.type==='link'&&!item.unlisted){return item.href;}if(item.type==='category'){return findFirstSidebarItemCategoryLink(item);}// Other items types, like "html" return undefined;}/** * Gets the category associated with the current location. Should only be used * on category index pages. */function useCurrentSidebarCategory(){const{pathname}=(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)();const sidebar=(0,_docsSidebar__WEBPACK_IMPORTED_MODULE_3__/* .useDocsSidebar */ .t)();if(!sidebar){throw new Error('Unexpected: cant find current sidebar in context');}const categoryBreadcrumbs=getSidebarBreadcrumbs({sidebarItems:sidebar.items,pathname,onlyCategories:true});const deepestCategory=categoryBreadcrumbs.slice(-1)[0];if(!deepestCategory){throw new Error(`${pathname} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);}return deepestCategory;}/** * Gets the category associated with the current location. Should only be used * on category index pages. */function useCurrentSidebarSiblings(){const{pathname}=(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)();const sidebar=(0,_docsSidebar__WEBPACK_IMPORTED_MODULE_3__/* .useDocsSidebar */ .t)();if(!sidebar){throw new Error('Unexpected: cant find current sidebar in context');}const categoryBreadcrumbs=getSidebarBreadcrumbs({sidebarItems:sidebar.items,pathname,onlyCategories:true});const deepestCategory=categoryBreadcrumbs.slice(-1)[0];return deepestCategory?.items??sidebar.items;}const isActive=(testedPath,activePath)=>typeof testedPath!=='undefined'&&(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_4__/* .isSamePath */ .ys)(testedPath,activePath);const containsActiveSidebarItem=(items,activePath)=>items.some(subItem=>isActiveSidebarItem(subItem,activePath));/** * Checks if a sidebar item should be active, based on the active path. */function isActiveSidebarItem(item,activePath){if(item.type==='link'){return isActive(item.href,activePath);}if(item.type==='category'){return isActive(item.href,activePath)||containsActiveSidebarItem(item.items,activePath);}return false;}function isVisibleSidebarItem(item,activePath){switch(item.type){case'category':return isActiveSidebarItem(item,activePath)||typeof item.href!=='undefined'&&!item.linkUnlisted||item.items.some(subItem=>isVisibleSidebarItem(subItem,activePath));case'link':// An unlisted item remains visible if it is active return!item.unlisted||isActiveSidebarItem(item,activePath);default:return true;}}function useVisibleSidebarItems(items,activePath){return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>items.filter(item=>isVisibleSidebarItem(item,activePath)),[items,activePath]);}/** * Get the sidebar the breadcrumbs for a given pathname * Ordered from top to bottom */function getSidebarBreadcrumbs({sidebarItems,pathname,onlyCategories=false}){const breadcrumbs=[];function extract(items){for(const item of items){if(item.type==='category'&&((0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_4__/* .isSamePath */ .ys)(item.href,pathname)||extract(item.items))||item.type==='link'&&(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_4__/* .isSamePath */ .ys)(item.href,pathname)){const filtered=onlyCategories&&item.type!=='category';if(!filtered){breadcrumbs.unshift(item);}return true;}}return false;}extract(sidebarItems);return breadcrumbs;}/** * Gets the breadcrumbs of the current doc page, based on its sidebar location. * Returns `null` if there's no sidebar or breadcrumbs are disabled. */function useSidebarBreadcrumbs(){const sidebar=(0,_docsSidebar__WEBPACK_IMPORTED_MODULE_3__/* .useDocsSidebar */ .t)();const{pathname}=(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)();const breadcrumbsOption=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__/* .useActivePlugin */ .vT)()?.pluginData.breadcrumbs;if(breadcrumbsOption===false||!sidebar){return null;}return getSidebarBreadcrumbs({sidebarItems:sidebar.items,pathname});}/** * "Version candidates" are mostly useful for the layout components, which must * be able to work on all pages. For example, if a user has `{ type: "doc", * docId: "intro" }` as a navbar item, which version does that refer to? We * believe that it could refer to at most three version candidates: * * 1. The **active version**, the one that the user is currently browsing. See * {@link useActiveDocContext}. * 2. The **preferred version**, the one that the user last visited. See * {@link useDocsPreferredVersion}. * 3. The **latest version**, the "default". See {@link useLatestVersion}. * * @param docsPluginId The plugin ID to get versions from. * @returns An array of 1~3 versions with priorities defined above, guaranteed * to be unique and non-sparse. Will be memoized, hence stable for deps array. */function useDocsVersionCandidates(docsPluginId){const{activeVersion}=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__/* .useActiveDocContext */ .zK)(docsPluginId);const{preferredVersion}=(0,_docsPreferredVersion__WEBPACK_IMPORTED_MODULE_6__/* .useDocsPreferredVersion */ .g1)(docsPluginId);const latestVersion=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__/* .useLatestVersion */ .r7)(docsPluginId);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>(0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__/* .uniq */ .sb)([activeVersion,preferredVersion,latestVersion].filter(Boolean)),[activeVersion,preferredVersion,latestVersion]);}/** * The layout components, like navbar items, must be able to work on all pages, * even on non-doc ones where there's no version context, so a sidebar ID could * be ambiguous. This hook would always return a sidebar to be linked to. See * also {@link useDocsVersionCandidates} for how this selection is done. * * @throws This hook throws if a sidebar with said ID is not found. */function useLayoutDocsSidebar(sidebarId,docsPluginId){const versions=useDocsVersionCandidates(docsPluginId);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>{const allSidebars=versions.flatMap(version=>version.sidebars?Object.entries(version.sidebars):[]);const sidebarEntry=allSidebars.find(sidebar=>sidebar[0]===sidebarId);if(!sidebarEntry){throw new Error(`Can't find any sidebar with id "${sidebarId}" in version${versions.length>1?'s':''} ${versions.map(version=>version.name).join(', ')}". Available sidebar ids are: - ${allSidebars.map(entry=>entry[0]).join('\n- ')}`);}return sidebarEntry[1];},[sidebarId,versions]);}/** * The layout components, like navbar items, must be able to work on all pages, * even on non-doc ones where there's no version context, so a doc ID could be * ambiguous. This hook would always return a doc to be linked to. See also * {@link useDocsVersionCandidates} for how this selection is done. * * @throws This hook throws if a doc with said ID is not found. */function useLayoutDoc(docId,docsPluginId){const versions=useDocsVersionCandidates(docsPluginId);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>{const allDocs=versions.flatMap(version=>version.docs);const doc=allDocs.find(versionDoc=>versionDoc.id===docId);if(!doc){const isDraft=versions.flatMap(version=>version.draftIds).includes(docId);// Drafts should be silently filtered instead of throwing if(isDraft){return null;}throw new Error(`Couldn't find any doc with id "${docId}" in version${versions.length>1?'s':''} "${versions.map(version=>version.name).join(', ')}". Available doc ids are: - ${(0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__/* .uniq */ .sb)(allDocs.map(versionDoc=>versionDoc.id)).join('\n- ')}`);}return doc;},[docId,versions]);}// TODO later read version/route directly from context /** * The docs plugin creates nested routes, with the top-level route providing the * version metadata, and the subroutes creating individual doc pages. This hook * will match the current location against all known sub-routes. * * @param props The props received by `@theme/DocRoot` * @returns The data of the relevant document at the current location, or `null` * if no document associated with the current location can be found. */function useDocRootMetadata({route}){const location=(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)();const versionMetadata=(0,_docsVersion__WEBPACK_IMPORTED_MODULE_1__/* .useDocsVersion */ .r)();const docRoutes=route.routes;const currentDocRoute=docRoutes.find(docRoute=>(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .matchPath */ .B6)(location.pathname,docRoute));if(!currentDocRoute){return null;}// For now, the sidebarName is added as route config: not ideal! const sidebarName=currentDocRoute.sidebar;const sidebarItems=sidebarName?versionMetadata.docsSidebars[sidebarName]:undefined;const docElement=(0,_docusaurus_renderRoutes__WEBPACK_IMPORTED_MODULE_8__/* .renderRoutes */ .v)(docRoutes);return{docElement,sidebarName,sidebarItems};}/** * Filter items we don't want to display on the doc card list view * @param items */function filterDocCardListItems(items){return items.filter(item=>{const canHaveLink=item.type==='category'||item.type==='link';if(canHaveLink){return!!findFirstSidebarItemLink(item);}return true;});} /***/ }), /***/ 8218: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ n: () => (/* binding */ DocsVersionProvider), /* harmony export */ r: () => (/* binding */ useDocsVersion) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9129); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);/** * Provide the current version's metadata to your children. */function DocsVersionProvider({children,version}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:version,children:children});}/** * Gets the version metadata of the current doc page. */function useDocsVersion(){const version=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(version===null){throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV('DocsVersionProvider');}return version;} /***/ }), /***/ 5996: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { zK: () => (/* binding */ useActiveDocContext), vT: () => (/* binding */ useActivePlugin), Gy: () => (/* binding */ useAllDocsData), HW: () => (/* binding */ useDocVersionSuggestions), ht: () => (/* binding */ useDocsData), r7: () => (/* binding */ useLatestVersion), jh: () => (/* binding */ useVersions) }); // UNUSED EXPORTS: DocProvider, DocSidebarItemsExpandedStateProvider, DocsPreferredVersionContextProvider, DocsSidebarProvider, DocsVersionProvider, filterDocCardListItems, findFirstSidebarItemLink, findSidebarCategory, getDocsVersionSearchTag, isActiveSidebarItem, isVisibleSidebarItem, useActivePluginAndVersion, useActiveVersion, useBreadcrumbsStructuredData, useCurrentSidebarCategory, useCurrentSidebarSiblings, useDoc, useDocById, useDocRootMetadata, useDocSidebarItemsExpandedState, useDocsContextualSearchTags, useDocsPreferredVersion, useDocsPreferredVersionByPluginId, useDocsSidebar, useDocsVersion, useDocsVersionCandidates, useLayoutDoc, useLayoutDocsSidebar, useSidebarBreadcrumbs, useVisibleSidebarItems // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/constants.js var constants = __webpack_require__(3170); ;// ../packages/docusaurus/lib/client/exports/useGlobalData.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useGlobalData(){const{globalData}=(0,useDocusaurusContext/* default */.A)();return globalData;}function useAllPluginInstancesData(pluginName,options={}){const globalData=useGlobalData();const pluginGlobalData=globalData[pluginName];if(!pluginGlobalData&&options.failfast){throw new Error(`Docusaurus plugin global data not found for "${pluginName}" plugin.`);}return pluginGlobalData;}function usePluginData(pluginName,pluginId=constants/* DEFAULT_PLUGIN_ID */.W,options={}){const pluginGlobalData=useAllPluginInstancesData(pluginName);const pluginInstanceGlobalData=pluginGlobalData?.[pluginId];if(!pluginInstanceGlobalData&&options.failfast){throw new Error(`Docusaurus plugin global data not found for "${pluginName}" plugin with id "${pluginId}".`);}return pluginInstanceGlobalData;} ;// ../packages/docusaurus-plugin-content-docs/lib/client/docsClientUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// This code is not part of the api surface, not in ./theme on purpose // get the data of the plugin that is currently "active" // ie the docs of that plugin are currently browsed // it is useful to support multiple docs plugin instances function getActivePlugin(allPluginData,pathname,options={}){const activeEntry=Object.entries(allPluginData)// Route sorting: '/android/foo' should match '/android' instead of '/' .sort((a,b)=>b[1].path.localeCompare(a[1].path)).find(([,pluginData])=>!!(0,react_router/* matchPath */.B6)(pathname,{path:pluginData.path,exact:false,strict:false}));const activePlugin=activeEntry?{pluginId:activeEntry[0],pluginData:activeEntry[1]}:undefined;if(!activePlugin&&options.failfast){throw new Error(`Can't find active docs plugin for "${pathname}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(allPluginData).map(plugin=>plugin.path).join(', ')}`);}return activePlugin;}const getLatestVersion=data=>data.versions.find(version=>version.isLast);function docsClientUtils_getActiveVersion(data,pathname){// Sort paths so that a match-all version like /docs/* is matched last // Otherwise /docs/* would match /docs/1.0.0/* routes // This is simplified but similar to the core sortRoutes() logic const sortedVersions=[...data.versions].sort((a,b)=>{if(a.path===b.path){return 0;}if(a.path.includes(b.path)){return-1;}if(b.path.includes(a.path)){return 1;}return 0;});return sortedVersions.find(version=>!!(0,react_router/* matchPath */.B6)(pathname,{path:version.path,exact:false,strict:false}));}function getActiveDocContext(data,pathname){const activeVersion=docsClientUtils_getActiveVersion(data,pathname);const activeDoc=activeVersion?.docs.find(doc=>!!(0,react_router/* matchPath */.B6)(pathname,{path:doc.path,exact:true,strict:false}));function getAlternateVersionDocs(docId){const result={};data.versions.forEach(version=>{version.docs.forEach(doc=>{if(doc.id===docId){result[version.name]=doc;}});});return result;}const alternateVersionDocs=activeDoc?getAlternateVersionDocs(activeDoc.id):{};return{activeVersion,activeDoc,alternateDocVersions:alternateVersionDocs};}function getDocVersionSuggestions(data,pathname){const latestVersion=getLatestVersion(data);const activeDocContext=getActiveDocContext(data,pathname);const latestDocSuggestion=activeDocContext.alternateDocVersions[latestVersion.name];return{latestDocSuggestion,latestVersionSuggestion:latestVersion};} ;// ../packages/docusaurus-plugin-content-docs/lib/client/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Important to use a constant object to avoid React useEffect executions etc. // see https://github.com/facebook/docusaurus/issues/5089 const StableEmptyObject={};// In blog-only mode, docs hooks are still used by the theme. We need a fail- // safe fallback when the docs plugin is not in use const useAllDocsData=()=>useAllPluginInstancesData('docusaurus-plugin-content-docs')??StableEmptyObject;const useDocsData=pluginId=>{try{return usePluginData('docusaurus-plugin-content-docs',pluginId,{failfast:true});}catch(error){throw new Error(`You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled${pluginId==='Default'?'':` (pluginId=${pluginId}`}`,{cause:error});}};// TODO this feature should be provided by docusaurus core function useActivePlugin(options={}){const data=useAllDocsData();const{pathname}=(0,react_router/* useLocation */.zy)();return getActivePlugin(data,pathname,options);}function useActivePluginAndVersion(options={}){const activePlugin=useActivePlugin(options);const{pathname}=useLocation();if(!activePlugin){return undefined;}const activeVersion=getActiveVersion(activePlugin.pluginData,pathname);return{activePlugin,activeVersion};}/** Versions are returned ordered (most recent first). */function useVersions(pluginId){const data=useDocsData(pluginId);return data.versions;}function useLatestVersion(pluginId){const data=useDocsData(pluginId);return getLatestVersion(data);}/** * Returns `undefined` on doc-unrelated pages, because there's no version * currently considered as active. */function useActiveVersion(pluginId){const data=useDocsData(pluginId);const{pathname}=useLocation();return getActiveVersion(data,pathname);}function useActiveDocContext(pluginId){const data=useDocsData(pluginId);const{pathname}=(0,react_router/* useLocation */.zy)();return getActiveDocContext(data,pathname);}/** * Useful to say "hey, you are not on the latest docs version, please switch" */function useDocVersionSuggestions(pluginId){const data=useDocsData(pluginId);const{pathname}=(0,react_router/* useLocation */.zy)();return getDocVersionSuggestions(data,pathname);} /***/ }), /***/ 4987: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var nprogress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7671); /* harmony import */ var nprogress__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(nprogress__WEBPACK_IMPORTED_MODULE_0__); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */nprogress__WEBPACK_IMPORTED_MODULE_0___default().configure({showSpinner:false});const delay=200;const clientModule={onRouteUpdate({location,previousLocation}){if(previousLocation&&location.pathname!==previousLocation.pathname){const progressBarTimeout=window.setTimeout(()=>{nprogress__WEBPACK_IMPORTED_MODULE_0___default().start();},delay);return()=>window.clearTimeout(progressBarTimeout);}return undefined;},onRouteDidUpdate(){nprogress__WEBPACK_IMPORTED_MODULE_0___default().done();}};/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clientModule); /***/ }), /***/ 1283: /***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => { "use strict"; // EXTERNAL MODULE: ../node_modules/prism-react-renderer/dist/index.mjs var dist = __webpack_require__(7663); // EXTERNAL MODULE: ./.docusaurus/docusaurus.config.mjs var docusaurus_config = __webpack_require__(4784); ;// ../packages/docusaurus-theme-classic/lib/theme/prism-include-languages.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function prismIncludeLanguages(PrismObject){const{themeConfig:{prism}}=docusaurus_config["default"];const{additionalLanguages}=prism;// Prism components work on the Prism instance on the window, while prism- // react-renderer uses its own Prism instance. We temporarily mount the // instance onto window, import components to enhance it, then remove it to // avoid polluting global namespace. // You can mutate PrismObject: registering plugins, deleting languages... As // long as you don't re-assign it const PrismBefore=globalThis.Prism;globalThis.Prism=PrismObject;additionalLanguages.forEach(lang=>{if(lang==='php'){// eslint-disable-next-line global-require __webpack_require__(5968);}// eslint-disable-next-line global-require, import/no-dynamic-require __webpack_require__(1441)(`./prism-${lang}`);});// Clean up and eventually restore former globalThis.Prism object (if any) delete globalThis.Prism;if(typeof PrismBefore!=='undefined'){globalThis.Prism=PrismObject;}} ;// ../packages/docusaurus-theme-classic/lib/prism-include-languages.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */prismIncludeLanguages(dist/* Prism */.My); /***/ }), /***/ 4707: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ Admonition) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-common/lib/utils/admonitionUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Workaround because it's difficult in MDX v1 to provide a MDX title as props // See https://github.com/facebook/docusaurus/pull/7152#issuecomment-1145779682 function extractMDXAdmonitionTitle(children){const items=react.Children.toArray(children);const mdxAdmonitionTitleWrapper=items.find(item=>/*#__PURE__*/react.isValidElement(item)&&item.type==='mdxAdmonitionTitle');const rest=items.filter(item=>item!==mdxAdmonitionTitleWrapper);const mdxAdmonitionTitle=mdxAdmonitionTitleWrapper?.props.children;return{mdxAdmonitionTitle,rest:rest.length>0?/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:rest}):null};}function processAdmonitionProps(props){const{mdxAdmonitionTitle,rest}=extractMDXAdmonitionTitle(props.children);const title=props.title??mdxAdmonitionTitle;return{...props,// Do not return "title: undefined" prop // this might create unwanted props overrides when merging props // For example: {...default,...props} ...(title&&{title}),children:rest};} // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Admonition/Layout/styles.module.css var styles_module = __webpack_require__(1964); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AdmonitionContainer({type,className,children}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.common.admonition,ThemeClassNames/* ThemeClassNames */.G.common.admonitionType(type),(styles_module_default()).admonition,className),children:children});}function AdmonitionHeading({icon,title}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(styles_module_default()).admonitionHeading,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:(styles_module_default()).admonitionIcon,children:icon}),title]});}function AdmonitionContent({children}){return children?/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(styles_module_default()).admonitionContent,children:children}):null;}function AdmonitionLayout(props){const{type,icon,title,children,className}=props;return/*#__PURE__*/(0,jsx_runtime.jsxs)(AdmonitionContainer,{type:type,className:className,children:[title||icon?/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionHeading,{title:title,icon:icon}):null,/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionContent,{children:children})]});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Icon/Note.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AdmonitionIconNote(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 14 16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Type/Note.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const infimaClassName='alert alert--secondary';const defaultProps={icon:/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionIconNote,{}),title:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function AdmonitionTypeNote(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionLayout,{...defaultProps,...props,className:(0,clsx/* default */.A)(infimaClassName,props.className),children:props.children});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Icon/Tip.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AdmonitionIconTip(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 12 16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Type/Tip.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Tip_infimaClassName='alert alert--success';const Tip_defaultProps={icon:/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionIconTip,{}),title:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function AdmonitionTypeTip(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionLayout,{...Tip_defaultProps,...props,className:(0,clsx/* default */.A)(Tip_infimaClassName,props.className),children:props.children});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Icon/Info.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AdmonitionIconInfo(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 14 16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Type/Info.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Info_infimaClassName='alert alert--info';const Info_defaultProps={icon:/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionIconInfo,{}),title:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function AdmonitionTypeInfo(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionLayout,{...Info_defaultProps,...props,className:(0,clsx/* default */.A)(Info_infimaClassName,props.className),children:props.children});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Icon/Warning.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AdmonitionIconCaution(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 16 16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Type/Warning.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Warning_infimaClassName='alert alert--warning';const Warning_defaultProps={icon:/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionIconCaution,{}),title:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function AdmonitionTypeWarning(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionLayout,{...Warning_defaultProps,...props,className:(0,clsx/* default */.A)(Warning_infimaClassName,props.className),children:props.children});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Icon/Danger.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AdmonitionIconDanger(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 12 16",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Type/Danger.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Danger_infimaClassName='alert alert--danger';const Danger_defaultProps={icon:/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionIconDanger,{}),title:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};function AdmonitionTypeDanger(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionLayout,{...Danger_defaultProps,...props,className:(0,clsx/* default */.A)(Danger_infimaClassName,props.className),children:props.children});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Type/Caution.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Caution_infimaClassName='alert alert--warning';const Caution_defaultProps={icon:/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionIconCaution,{}),title:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};// TODO remove before v4: Caution replaced by Warning // see https://github.com/facebook/docusaurus/issues/7558 function AdmonitionTypeCaution(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionLayout,{...Caution_defaultProps,...props,className:(0,clsx/* default */.A)(Caution_infimaClassName,props.className),children:props.children});} ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/Types.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const admonitionTypes={note:AdmonitionTypeNote,tip:AdmonitionTypeTip,info:AdmonitionTypeInfo,warning:AdmonitionTypeWarning,danger:AdmonitionTypeDanger};// Undocumented legacy admonition type aliases // Provide hardcoded/untranslated retrocompatible label // See also https://github.com/facebook/docusaurus/issues/7767 const admonitionAliases={secondary:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionTypeNote,{title:"secondary",...props}),important:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionTypeInfo,{title:"important",...props}),success:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionTypeTip,{title:"success",...props}),caution:AdmonitionTypeCaution};/* harmony default export */ const Types = ({...admonitionTypes,...admonitionAliases}); ;// ../packages/docusaurus-theme-classic/lib/theme/Admonition/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function getAdmonitionTypeComponent(type){const component=Types[type];if(component){return component;}console.warn(`No admonition component found for admonition type "${type}". Using Info as fallback.`);return Types.info;}function Admonition(unprocessedProps){const props=processAdmonitionProps(unprocessedProps);const AdmonitionTypeComponent=getAdmonitionTypeComponent(props.type);return/*#__PURE__*/(0,jsx_runtime.jsx)(AdmonitionTypeComponent,{...props});} /***/ }), /***/ 2671: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ BlogAuthor) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Twitter/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function Twitter(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 209",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M256 25.45c-9.42 4.177-19.542 7-30.166 8.27 10.845-6.5 19.172-16.793 23.093-29.057a105.183 105.183 0 0 1-33.351 12.745C205.995 7.201 192.346.822 177.239.822c-29.006 0-52.523 23.516-52.523 52.52 0 4.117.465 8.125 1.36 11.97-43.65-2.191-82.35-23.1-108.255-54.876-4.52 7.757-7.11 16.78-7.11 26.404 0 18.222 9.273 34.297 23.365 43.716a52.312 52.312 0 0 1-23.79-6.57c-.003.22-.003.44-.003.661 0 25.447 18.104 46.675 42.13 51.5a52.592 52.592 0 0 1-23.718.9c6.683 20.866 26.08 36.05 49.062 36.475-17.975 14.086-40.622 22.483-65.228 22.483-4.24 0-8.42-.249-12.529-.734 23.243 14.902 50.85 23.597 80.51 23.597 96.607 0 149.434-80.031 149.434-149.435 0-2.278-.05-4.543-.152-6.795A106.748 106.748 0 0 0 256 25.45",fill:"#55acee"})});}/* harmony default export */ const Socials_Twitter = (Twitter); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/GitHub/styles.module.css var styles_module = __webpack_require__(4979); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/GitHub/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function GitHub(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 250",preserveAspectRatio:"xMidYMid",style:{'--dark':'#000','--light':'#fff'},...props,className:(0,clsx/* default */.A)(props.className,(styles_module_default()).githubSvg),children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46 6.397 1.185 8.746-2.777 8.746-6.158 0-3.052-.12-13.135-.174-23.83-35.61 7.742-43.124-15.103-43.124-15.103-5.823-14.795-14.213-18.73-14.213-18.73-11.613-7.944.876-7.78.876-7.78 12.853.902 19.621 13.19 19.621 13.19 11.417 19.568 29.945 13.911 37.249 10.64 1.149-8.272 4.466-13.92 8.127-17.116-28.431-3.236-58.318-14.212-58.318-63.258 0-13.975 5-25.394 13.188-34.358-1.329-3.224-5.71-16.242 1.24-33.874 0 0 10.749-3.44 35.21 13.121 10.21-2.836 21.16-4.258 32.038-4.307 10.878.049 21.837 1.47 32.066 4.307 24.431-16.56 35.165-13.12 35.165-13.12 6.967 17.63 2.584 30.65 1.255 33.873 8.207 8.964 13.173 20.383 13.173 34.358 0 49.163-29.944 59.988-58.447 63.157 4.591 3.972 8.682 11.762 8.682 23.704 0 17.126-.148 30.91-.148 35.126 0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002 256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39-.929-.417-1.45-1.284-1.15-1.922.276-.655 1.279-.838 2.205-.399.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591-.837-.892-.994-2.086-.375-2.66.63-.566 1.787-.301 2.626.591.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104-.784-1.138-.784-2.503.017-3.05.795-.547 2.058-.055 2.861 1.075.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49-1.119-1.032-1.43-2.496-.726-3.27.71-.776 2.213-.558 3.315.49 1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033-1.448-.439-2.395-1.613-2.103-2.626.301-1.01 1.747-1.484 3.207-1.028 1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95-1.53.034-2.769-.82-2.786-1.86 0-1.065 1.202-1.932 2.733-1.958 1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37-1.485.271-2.861-.365-3.05-1.386-.184-1.056.893-2.114 2.376-2.387 1.514-.263 2.868.356 3.061 1.403Z"})});}/* harmony default export */ const Socials_GitHub = (GitHub); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/X/styles.module.css var X_styles_module = __webpack_require__(2158); var X_styles_module_default = /*#__PURE__*/__webpack_require__.n(X_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/X/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function X(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 1200 1227",style:{'--dark':'#000','--light':'#fff'},...props,className:(0,clsx/* default */.A)(props.className,(X_styles_module_default()).xSvg),children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284h.026ZM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854v-.026Z"})});}/* harmony default export */ const Socials_X = (X); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/StackOverflow/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function StackOverflow(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 169.61 200",width:"1em",height:"1em",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M140.44 178.38v-48.65h21.61V200H0v-70.27h21.61v48.65z",fill:"#bcbbbb"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M124.24 140.54l4.32-16.22-86.97-17.83-3.78 17.83zM49.7 82.16L130.72 120l7.56-16.22-81.02-37.83zm22.68-40l68.06 57.3 11.35-13.51-68.6-57.3-11.35 13.51zM116.14 0l-14.59 10.81 53.48 71.89 14.58-10.81zM37.81 162.16h86.43v-16.21H37.81z",fill:"#f48024"})]});}/* harmony default export */ const Socials_StackOverflow = (StackOverflow); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/LinkedIn/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function LinkedIn(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M218.123 218.127h-37.931v-59.403c0-14.165-.253-32.4-19.728-32.4-19.756 0-22.779 15.434-22.779 31.369v60.43h-37.93V95.967h36.413v16.694h.51a39.907 39.907 0 0 1 35.928-19.733c38.445 0 45.533 25.288 45.533 58.186l-.016 67.013ZM56.955 79.27c-12.157.002-22.014-9.852-22.016-22.009-.002-12.157 9.851-22.014 22.008-22.016 12.157-.003 22.014 9.851 22.016 22.008A22.013 22.013 0 0 1 56.955 79.27m18.966 138.858H37.95V95.967h37.97v122.16ZM237.033.018H18.89C8.58-.098.125 8.161-.001 18.471v219.053c.122 10.315 8.576 18.582 18.89 18.474h218.144c10.336.128 18.823-8.139 18.966-18.474V18.454c-.147-10.33-8.635-18.588-18.966-18.453",fill:"#0A66C2"})});}/* harmony default export */ const Socials_LinkedIn = (LinkedIn); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Default/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://tabler.io/ function DefaultSocial(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M3.6 9h16.8"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M3.6 15h16.8"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]});}/* harmony default export */ const Default = (DefaultSocial); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Bluesky/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function Bluesky(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 226",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"#1185FE",d:"M55.491 15.172c29.35 22.035 60.917 66.712 72.509 90.686 11.592-23.974 43.159-68.651 72.509-90.686C221.686-.727 256-13.028 256 26.116c0 7.818-4.482 65.674-7.111 75.068-9.138 32.654-42.436 40.983-72.057 35.942 51.775 8.812 64.946 38 36.501 67.187-54.021 55.433-77.644-13.908-83.696-31.676-1.11-3.257-1.63-4.78-1.637-3.485-.008-1.296-.527.228-1.637 3.485-6.052 17.768-29.675 87.11-83.696 31.676-28.445-29.187-15.274-58.375 36.5-67.187-29.62 5.041-62.918-3.288-72.056-35.942C4.482 91.79 0 33.934 0 26.116 0-13.028 34.314-.727 55.491 15.172Z"})});}/* harmony default export */ const Socials_Bluesky = (Bluesky); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Instagram/styles.module.css var Instagram_styles_module = __webpack_require__(3138); var Instagram_styles_module_default = /*#__PURE__*/__webpack_require__.n(Instagram_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Instagram/index.js // SVG Source: https://svgl.app/ function Instagram(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",style:{'--dark':'#000','--light':'#fff'},...props,className:(0,clsx/* default */.A)(props.className,(Instagram_styles_module_default()).instagramSvg),children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M128 23.064c34.177 0 38.225.13 51.722.745 12.48.57 19.258 2.655 23.769 4.408 5.974 2.322 10.238 5.096 14.717 9.575 4.48 4.479 7.253 8.743 9.575 14.717 1.753 4.511 3.838 11.289 4.408 23.768.615 13.498.745 17.546.745 51.723 0 34.178-.13 38.226-.745 51.723-.57 12.48-2.655 19.257-4.408 23.768-2.322 5.974-5.096 10.239-9.575 14.718-4.479 4.479-8.743 7.253-14.717 9.574-4.511 1.753-11.289 3.839-23.769 4.408-13.495.616-17.543.746-51.722.746-34.18 0-38.228-.13-51.723-.746-12.48-.57-19.257-2.655-23.768-4.408-5.974-2.321-10.239-5.095-14.718-9.574-4.479-4.48-7.253-8.744-9.574-14.718-1.753-4.51-3.839-11.288-4.408-23.768-.616-13.497-.746-17.545-.746-51.723 0-34.177.13-38.225.746-51.722.57-12.48 2.655-19.258 4.408-23.769 2.321-5.974 5.095-10.238 9.574-14.717 4.48-4.48 8.744-7.253 14.718-9.575 4.51-1.753 11.288-3.838 23.768-4.408 13.497-.615 17.545-.745 51.723-.745M128 0C93.237 0 88.878.147 75.226.77c-13.625.622-22.93 2.786-31.071 5.95-8.418 3.271-15.556 7.648-22.672 14.764C14.367 28.6 9.991 35.738 6.72 44.155 3.555 52.297 1.392 61.602.77 75.226.147 88.878 0 93.237 0 128c0 34.763.147 39.122.77 52.774.622 13.625 2.785 22.93 5.95 31.071 3.27 8.417 7.647 15.556 14.763 22.672 7.116 7.116 14.254 11.492 22.672 14.763 8.142 3.165 17.446 5.328 31.07 5.95 13.653.623 18.012.77 52.775.77s39.122-.147 52.774-.77c13.624-.622 22.929-2.785 31.07-5.95 8.418-3.27 15.556-7.647 22.672-14.763 7.116-7.116 11.493-14.254 14.764-22.672 3.164-8.142 5.328-17.446 5.95-31.07.623-13.653.77-18.012.77-52.775s-.147-39.122-.77-52.774c-.622-13.624-2.786-22.929-5.95-31.07-3.271-8.418-7.648-15.556-14.764-22.672C227.4 14.368 220.262 9.99 211.845 6.72c-8.142-3.164-17.447-5.328-31.071-5.95C167.122.147 162.763 0 128 0Zm0 62.27C91.698 62.27 62.27 91.7 62.27 128c0 36.302 29.428 65.73 65.73 65.73 36.301 0 65.73-29.428 65.73-65.73 0-36.301-29.429-65.73-65.73-65.73Zm0 108.397c-23.564 0-42.667-19.103-42.667-42.667S104.436 85.333 128 85.333s42.667 19.103 42.667 42.667-19.103 42.667-42.667 42.667Zm83.686-110.994c0 8.484-6.876 15.36-15.36 15.36-8.483 0-15.36-6.876-15.36-15.36 0-8.483 6.877-15.36 15.36-15.36 8.484 0 15.36 6.877 15.36 15.36Z"})});}/* harmony default export */ const Socials_Instagram = (Instagram); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Threads/styles.module.css var Threads_styles_module = __webpack_require__(5717); var Threads_styles_module_default = /*#__PURE__*/__webpack_require__.n(Threads_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Threads/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function Threads(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-label":"Threads",viewBox:"0 0 192 192",width:"1em",fill:"none",height:"1em",style:{'--dark':'#000','--light':'#fff'},...props,className:(0,clsx/* default */.A)(props.className,(Threads_styles_module_default()).threadsSvg),children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M141.537 88.988a66.667 66.667 0 0 0-2.518-1.143c-1.482-27.307-16.403-42.94-41.457-43.1h-.34c-14.986 0-27.449 6.396-35.12 18.036l13.779 9.452c5.73-8.695 14.724-10.548 21.348-10.548h.229c8.249.053 14.474 2.452 18.503 7.129 2.932 3.405 4.893 8.111 5.864 14.05-7.314-1.243-15.224-1.626-23.68-1.14-23.82 1.371-39.134 15.264-38.105 34.568.522 9.792 5.4 18.216 13.735 23.719 7.047 4.652 16.124 6.927 25.557 6.412 12.458-.683 22.231-5.436 29.049-14.127 5.178-6.6 8.453-15.153 9.899-25.93 5.937 3.583 10.337 8.298 12.767 13.966 4.132 9.635 4.373 25.468-8.546 38.376-11.319 11.308-24.925 16.2-45.488 16.351-22.809-.169-40.06-7.484-51.275-21.742C35.236 139.966 29.808 120.682 29.605 96c.203-24.682 5.63-43.966 16.133-57.317C56.954 24.425 74.204 17.11 97.013 16.94c22.975.17 40.526 7.52 52.171 21.847 5.71 7.026 10.015 15.86 12.853 26.162l16.147-4.308c-3.44-12.68-8.853-23.606-16.219-32.668C147.036 9.607 125.202.195 97.07 0h-.113C68.882.194 47.292 9.642 32.788 28.08 19.882 44.485 13.224 67.315 13.001 95.932L13 96v.067c.224 28.617 6.882 51.447 19.788 67.854C47.292 182.358 68.882 191.806 96.957 192h.113c24.96-.173 42.554-6.708 57.048-21.189 18.963-18.945 18.392-42.692 12.142-57.27-4.484-10.454-13.033-18.945-24.723-24.553ZM98.44 129.507c-10.44.588-21.286-4.098-21.82-14.135-.397-7.442 5.296-15.746 22.461-16.735 1.966-.114 3.895-.169 5.79-.169 6.235 0 12.068.606 17.371 1.765-1.978 24.702-13.58 28.713-23.802 29.274Z"})});}/* harmony default export */ const Socials_Threads = (Threads); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/YouTube/index.js // SVG Source: https://svgl.app/ function YouTube(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{viewBox:"0 0 256 180",width:"1em",height:"1em",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134Z",fill:"red"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"#FFF",d:"m102.421 128.06 66.328-38.418-66.328-38.418z"})]});}/* harmony default export */ const Socials_YouTube = (YouTube); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Mastodon/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// SVG Source: https://svgl.app/ function Mastodon(props){const gradientId=(0,react.useId)();return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 61 65",width:"1em",height:"1em",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:`url(#${gradientId})`,d:"M60.754 14.39C59.814 7.406 53.727 1.903 46.512.836 45.294.656 40.682 0 29.997 0h-.08C19.23 0 16.938.656 15.72.836 8.705 1.873 2.299 6.82.745 13.886c-.748 3.48-.828 7.338-.689 10.877.198 5.075.237 10.142.697 15.197a71.482 71.482 0 0 0 1.664 9.968c1.477 6.056 7.458 11.096 13.317 13.152a35.718 35.718 0 0 0 19.484 1.028 28.365 28.365 0 0 0 2.107-.576c1.572-.5 3.413-1.057 4.766-2.038a.154.154 0 0 0 .062-.118v-4.899a.146.146 0 0 0-.055-.111.145.145 0 0 0-.122-.028 54 54 0 0 1-12.644 1.478c-7.328 0-9.298-3.478-9.863-4.925a15.258 15.258 0 0 1-.857-3.882.142.142 0 0 1 .178-.145 52.976 52.976 0 0 0 12.437 1.477c1.007 0 2.012 0 3.02-.026 4.213-.119 8.654-.334 12.8-1.144.103-.02.206-.038.295-.065 6.539-1.255 12.762-5.196 13.394-15.176.024-.393.083-4.115.083-4.523.003-1.386.446-9.829-.065-15.017Z"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"#fff",d:"M50.394 22.237v17.35H43.52V22.749c0-3.545-1.478-5.353-4.483-5.353-3.303 0-4.958 2.139-4.958 6.364v9.217h-6.835V23.76c0-4.225-1.657-6.364-4.96-6.364-2.988 0-4.48 1.808-4.48 5.353v16.84H10.93V22.237c0-3.545.905-6.362 2.715-8.45 1.868-2.082 4.317-3.152 7.358-3.152 3.519 0 6.178 1.354 7.951 4.057l1.711 2.871 1.714-2.871c1.773-2.704 4.432-4.056 7.945-4.056 3.038 0 5.487 1.069 7.36 3.152 1.81 2.085 2.712 4.902 2.71 8.449Z"}),/*#__PURE__*/(0,jsx_runtime.jsx)("defs",{children:/*#__PURE__*/(0,jsx_runtime.jsxs)("linearGradient",{id:gradientId,x1:30.5,x2:30.5,y1:0,y2:65,gradientUnits:"userSpaceOnUse",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{stopColor:"#6364FF"}),/*#__PURE__*/(0,jsx_runtime.jsx)("stop",{offset:1,stopColor:"#563ACC"})]})})]});}/* harmony default export */ const Socials_Mastodon = (Mastodon); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Socials/Twitch/index.js // SVG Source: https://svgl.app/ function Twitch(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",x:0,y:0,viewBox:"0 0 2400 2800",width:"1em",height:"1em",...props,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"m2200 1300-400 400h-400l-350 350v-350H600V200h1600z",fill:"#fff"}),/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M500 0 0 500v1800h600v500l500-500h400l900-900V0H500zm1700 1300-400 400h-400l-350 350v-350H600V200h1600v1100z",fill:"#9146ff"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M1700 550h200v600h-200zM1150 550h200v600h-200z",fill:"#9146ff"})]})]});}/* harmony default export */ const Socials_Twitch = (Twitch); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Blog/Components/Author/Socials/styles.module.css var Socials_styles_module = __webpack_require__(3783); var Socials_styles_module_default = /*#__PURE__*/__webpack_require__.n(Socials_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Blog/Components/Author/Socials/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const SocialPlatformConfigs={twitter:{Icon:Socials_Twitter,label:'Twitter'},github:{Icon:Socials_GitHub,label:'GitHub'},stackoverflow:{Icon:Socials_StackOverflow,label:'Stack Overflow'},linkedin:{Icon:Socials_LinkedIn,label:'LinkedIn'},x:{Icon:Socials_X,label:'X'},bluesky:{Icon:Socials_Bluesky,label:'Bluesky'},instagram:{Icon:Socials_Instagram,label:'Instagram'},threads:{Icon:Socials_Threads,label:'Threads'},mastodon:{Icon:Socials_Mastodon,label:'Mastodon'},youtube:{Icon:Socials_YouTube,label:'YouTube'},twitch:{Icon:Socials_Twitch,label:'Twitch'}};function getSocialPlatformConfig(platformKey){return SocialPlatformConfigs[platformKey]??{Icon:Default,label:platformKey};}function SocialLink({platform,link}){const{Icon,label}=getSocialPlatformConfig(platform);return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{className:(Socials_styles_module_default()).authorSocialLink,href:link,title:label,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Icon,{className:(0,clsx/* default */.A)((Socials_styles_module_default()).authorSocialLink)})});}function BlogAuthorSocials({author}){const entries=Object.entries(author.socials??{});return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(Socials_styles_module_default()).authorSocials,children:entries.map(([platform,linkUrl])=>{return/*#__PURE__*/(0,jsx_runtime.jsx)(SocialLink,{platform:platform,link:linkUrl},platform);})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Blog/Components/Author/styles.module.css var Author_styles_module = __webpack_require__(2718); var Author_styles_module_default = /*#__PURE__*/__webpack_require__.n(Author_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Blog/Components/Author/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MaybeLink(props){if(props.href){return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{...props});}return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:props.children});}function AuthorTitle({title}){return/*#__PURE__*/(0,jsx_runtime.jsx)("small",{className:(Author_styles_module_default()).authorTitle,title:title,children:title});}function AuthorName({name,as}){if(!as){return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:(Author_styles_module_default()).authorName,children:name});}else{return/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:as,className:(Author_styles_module_default()).authorName,children:name});}}function AuthorBlogPostCount({count}){return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:(0,clsx/* default */.A)((Author_styles_module_default()).authorBlogPostCount),children:count});}// Note: in the future we might want to have multiple "BlogAuthor" components // Creating different display modes with the "as" prop may not be the best idea // Explainer: https://kyleshevlin.com/prefer-multiple-compositions/ // For now, we almost use the same design for all cases, so it's good enough function BlogAuthor({as,author,className,count}){const{name,title,url,imageURL,email,page}=author;const link=page?.permalink||url||email&&`mailto:${email}`||undefined;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('avatar margin-bottom--sm',className,(Author_styles_module_default())[`author-as-${as}`]),children:[imageURL&&/*#__PURE__*/(0,jsx_runtime.jsx)(MaybeLink,{href:link,className:"avatar__photo-link",children:/*#__PURE__*/(0,jsx_runtime.jsx)("img",{className:(0,clsx/* default */.A)('avatar__photo',(Author_styles_module_default()).authorImage),src:imageURL,alt:name})}),(name||title)&&/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('avatar__intro',(Author_styles_module_default()).authorDetails),children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"avatar__name",children:[name&&/*#__PURE__*/(0,jsx_runtime.jsx)(MaybeLink,{href:link,children:/*#__PURE__*/(0,jsx_runtime.jsx)(AuthorName,{name:name,as:as})}),count!==undefined&&/*#__PURE__*/(0,jsx_runtime.jsx)(AuthorBlogPostCount,{count:count})]}),!!title&&/*#__PURE__*/(0,jsx_runtime.jsx)(AuthorTitle,{title:title}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogAuthorSocials,{author:author})]})]});} /***/ }), /***/ 2166: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BlogAuthorsListPage) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5861); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(8532); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7374); /* harmony import */ var _theme_BlogLayout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5537); /* harmony import */ var _theme_SearchMetadata__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3308); /* harmony import */ var _theme_Heading__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6813); /* harmony import */ var _theme_Blog_Components_Author__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2671); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8436); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AuthorListItem({author}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("li",{className:(_styles_module_css__WEBPACK_IMPORTED_MODULE_5___default().authorListItem),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_theme_Blog_Components_Author__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{as:"h2",author:author,count:author.count})});}function AuthorsList({authors}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("section",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)('margin-vert--lg',(_styles_module_css__WEBPACK_IMPORTED_MODULE_5___default().authorsListSection)),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("ul",{children:authors.map(author=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(AuthorListItem,{author:author},author.key))})});}function BlogAuthorsListPage({authors,sidebar}){const title=(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_8__/* .translateBlogAuthorsListPageTitle */ .uz)();return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_9__/* .HtmlClassNameProvider */ .e3,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .ThemeClassNames */ .G.wrapper.blogPages,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .ThemeClassNames */ .G.page.blogAuthorsListPage),children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_9__/* .PageMetadata */ .be,{title:title}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_theme_SearchMetadata__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{tag:"blog_authors_list"}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_theme_BlogLayout__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{sidebar:sidebar,children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_theme_Heading__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{as:"h1",children:title}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(AuthorsList,{authors:authors})]})]});} /***/ }), /***/ 4187: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BlogAuthorsPostsPage) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5861); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(8532); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7374); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1349); /* harmony import */ var _docusaurus_plugin_content_blog_client__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1831); /* harmony import */ var _theme_BlogLayout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5537); /* harmony import */ var _theme_BlogListPaginator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7232); /* harmony import */ var _theme_SearchMetadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3308); /* harmony import */ var _theme_BlogPostItems__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5709); /* harmony import */ var _theme_Blog_Components_Author__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2671); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Metadata({author}){const title=(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_9__/* .useBlogAuthorPageTitle */ .wI)(author);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .PageMetadata */ .be,{title:title}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_theme_SearchMetadata__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,{tag:"blog_authors_posts"})]});}function ViewAllAuthorsLink(){const{authorsListPath}=(0,_docusaurus_plugin_content_blog_client__WEBPACK_IMPORTED_MODULE_2__/* .useBlogMetadata */ .x)();return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{href:authorsListPath,children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_9__/* .BlogAuthorsListViewAllLabel */ .np,{})});}function Content({author,items,sidebar,listMetadata}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_theme_BlogLayout__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{sidebar:sidebar,children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)("header",{className:"margin-bottom--xl",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_theme_Blog_Components_Author__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A,{as:"h1",author:author}),author.description&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("p",{children:author.description}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(ViewAllAuthorsLink,{})]}),items.length===0?/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("p",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_9__/* .BlogAuthorNoPostsLabel */ .Y4,{})}):/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)("hr",{}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_theme_BlogPostItems__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A,{items:items}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_theme_BlogListPaginator__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{metadata:listMetadata})]})]});}function BlogAuthorsPostsPage(props){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .HtmlClassNameProvider */ .e3,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .A)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_12__/* .ThemeClassNames */ .G.wrapper.blogPages,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_12__/* .ThemeClassNames */ .G.page.blogAuthorsPostsPage),children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(Metadata,{...props}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(Content,{...props})]});} /***/ }), /***/ 9814: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BlogArchive) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1349); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(5861); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9153); /* harmony import */ var _theme_Layout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3305); /* harmony import */ var _theme_Heading__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6813); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Year({year,posts}){const dateTimeFormat=(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_6__/* .useDateTimeFormat */ .i)({day:'numeric',month:'long',timeZone:'UTC'});const formatDate=lastUpdated=>dateTimeFormat.format(new Date(lastUpdated));return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_theme_Heading__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{as:"h3",id:year,children:year}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("ul",{children:posts.map(post=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("li",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{to:post.metadata.permalink,children:[formatDate(post.metadata.date)," - ",post.metadata.title]})},post.metadata.date))})]});}function YearsSection({years}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("section",{className:"margin-vert--lg",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div",{className:"container",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div",{className:"row",children:years.map((_props,idx)=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div",{className:"col col--4 margin-vert--lg",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(Year,{..._props})},idx))})})});}function listPostsByYears(blogPosts){const postsByYear=blogPosts.reduce((posts,post)=>{const year=post.metadata.date.split('-')[0];const yearPosts=posts.get(year)??[];return posts.set(year,[post,...yearPosts]);},new Map());return Array.from(postsByYear,([year,posts])=>({year,posts}));}function BlogArchive({archive}){const title=(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_2__/* .translate */ .T)({id:'theme.blog.archive.title',message:'Archive',description:'The page & hero title of the blog archive page'});const description=(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_2__/* .translate */ .T)({id:'theme.blog.archive.description',message:'Archive',description:'The page & hero description of the blog archive page'});const years=listPostsByYears(archive.blogPosts);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__/* .PageMetadata */ .be,{title:title,description:description}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_theme_Layout__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("header",{className:"hero hero--primary",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("div",{className:"container",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_theme_Heading__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{as:"h1",className:"hero__title",children:title}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("p",{className:"hero__subtitle",children:description})]})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("main",{children:years.length>0&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(YearsSection,{years:years})})]})]});} /***/ }), /***/ 5537: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ BlogLayout) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Layout/index.js + 53 modules var Layout = __webpack_require__(3305); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/hooks/useWindowSize.js var useWindowSize = __webpack_require__(242); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-blog/lib/client/index.js + 3 modules var client = __webpack_require__(1831); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogSidebar/Content/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogSidebarYearGroup({year,yearGroupHeadingClassName,children}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{role:"group",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h3",className:yearGroupHeadingClassName,children:year}),children]});}function BlogSidebarContent({items,yearGroupHeadingClassName,ListComponent}){const themeConfig=(0,useThemeConfig/* useThemeConfig */.p)();if(themeConfig.blog.sidebar.groupByYear){const itemsByYear=(0,client/* groupBlogSidebarItemsByYear */.Ki)(items);return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:itemsByYear.map(([year,yearItems])=>/*#__PURE__*/(0,jsx_runtime.jsx)(BlogSidebarYearGroup,{year:year,yearGroupHeadingClassName:yearGroupHeadingClassName,children:/*#__PURE__*/(0,jsx_runtime.jsx)(ListComponent,{items:yearItems})},year))});}else{return/*#__PURE__*/(0,jsx_runtime.jsx)(ListComponent,{items:items});}}/* harmony default export */ const Content = (/*#__PURE__*/(0,react.memo)(BlogSidebarContent)); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogSidebar/Desktop/styles.module.css var styles_module = __webpack_require__(4718); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogSidebar/Desktop/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const ListComponent=({items})=>{return/*#__PURE__*/(0,jsx_runtime.jsx)(client/* BlogSidebarItemList */.OU,{items:items,ulClassName:(0,clsx/* default */.A)((styles_module_default()).sidebarItemList,'clean-list'),liClassName:(styles_module_default()).sidebarItem,linkClassName:(styles_module_default()).sidebarItemLink,linkActiveClassName:(styles_module_default()).sidebarItemLinkActive});};function BlogSidebarDesktop({sidebar}){const items=(0,client/* useVisibleBlogSidebarItems */.Gx)(sidebar.items);return/*#__PURE__*/(0,jsx_runtime.jsx)("aside",{className:"col col--3",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("nav",{className:(0,clsx/* default */.A)((styles_module_default()).sidebar,'thin-scrollbar'),"aria-label":(0,Translate/* translate */.T)({id:'theme.blog.sidebar.navAriaLabel',message:'Blog recent posts navigation',description:'The ARIA label for recent posts in the blog sidebar'}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)((styles_module_default()).sidebarItemTitle,'margin-bottom--md'),children:sidebar.title}),/*#__PURE__*/(0,jsx_runtime.jsx)(Content,{items:items,ListComponent:ListComponent,yearGroupHeadingClassName:(styles_module_default()).yearGroupHeading})]})});}/* harmony default export */ const Desktop = (/*#__PURE__*/(0,react.memo)(BlogSidebarDesktop)); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/navbarSecondaryMenu/content.js var content = __webpack_require__(5105); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogSidebar/Mobile/styles.module.css var Mobile_styles_module = __webpack_require__(4176); var Mobile_styles_module_default = /*#__PURE__*/__webpack_require__.n(Mobile_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogSidebar/Mobile/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Mobile_ListComponent=({items})=>{return/*#__PURE__*/(0,jsx_runtime.jsx)(client/* BlogSidebarItemList */.OU,{items:items,ulClassName:"menu__list",liClassName:"menu__list-item",linkClassName:"menu__link",linkActiveClassName:"menu__link--active"});};function BlogSidebarMobileSecondaryMenu({sidebar}){const items=(0,client/* useVisibleBlogSidebarItems */.Gx)(sidebar.items);return/*#__PURE__*/(0,jsx_runtime.jsx)(Content,{items:items,ListComponent:Mobile_ListComponent,yearGroupHeadingClassName:(Mobile_styles_module_default()).yearGroupHeading});}function BlogSidebarMobile(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(content/* NavbarSecondaryMenuFiller */.GX,{component:BlogSidebarMobileSecondaryMenu,props:props});}/* harmony default export */ const Mobile = (/*#__PURE__*/(0,react.memo)(BlogSidebarMobile)); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogSidebar/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogSidebar({sidebar}){const windowSize=(0,useWindowSize/* useWindowSize */.l)();if(!sidebar?.items.length){return null;}// Mobile sidebar doesn't need to be server-rendered if(windowSize==='mobile'){return/*#__PURE__*/(0,jsx_runtime.jsx)(Mobile,{sidebar:sidebar});}return/*#__PURE__*/(0,jsx_runtime.jsx)(Desktop,{sidebar:sidebar});} ;// ../packages/docusaurus-theme-classic/lib/theme/BlogLayout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogLayout(props){const{sidebar,toc,children,...layoutProps}=props;const hasSidebar=sidebar&&sidebar.items.length>0;return/*#__PURE__*/(0,jsx_runtime.jsx)(Layout/* default */.A,{...layoutProps,children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"container margin-vert--lg",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"row",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BlogSidebar,{sidebar:sidebar}),/*#__PURE__*/(0,jsx_runtime.jsx)("main",{className:(0,clsx/* default */.A)('col',{'col--7':hasSidebar,'col--9 col--offset-1':!hasSidebar}),children:children}),toc&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"col col--2",children:toc})]})})});} /***/ }), /***/ 8394: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ BlogListPage) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogLayout/index.js + 4 modules var BlogLayout = __webpack_require__(5537); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogListPaginator/index.js var BlogListPaginator = __webpack_require__(7232); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/SearchMetadata/index.js var SearchMetadata = __webpack_require__(3308); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogPostItems/index.js var BlogPostItems = __webpack_require__(5709); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-blog/lib/client/index.js + 3 modules var client = __webpack_require__(1831); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogListPage/StructuredData/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogListPageStructuredData(props){const structuredData=(0,client/* useBlogListPageStructuredData */.kJ)(props);return/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("script",{type:"application/ld+json",children:JSON.stringify(structuredData)})});} ;// ../packages/docusaurus-theme-classic/lib/theme/BlogListPage/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogListPageMetadata(props){const{metadata}=props;const{siteConfig:{title:siteTitle}}=(0,useDocusaurusContext/* default */.A)();const{blogDescription,blogTitle,permalink}=metadata;const isBlogOnlyMode=permalink==='/';const title=isBlogOnlyMode?siteTitle:blogTitle;return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{title:title,description:blogDescription}),/*#__PURE__*/(0,jsx_runtime.jsx)(SearchMetadata/* default */.A,{tag:"blog_posts_list"})]});}function BlogListPageContent(props){const{metadata,items,sidebar}=props;return/*#__PURE__*/(0,jsx_runtime.jsxs)(BlogLayout/* default */.A,{sidebar:sidebar,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItems/* default */.A,{items:items}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogListPaginator/* default */.A,{metadata:metadata})]});}function BlogListPage(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)(metadataUtils/* HtmlClassNameProvider */.e3,{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.wrapper.blogPages,ThemeClassNames/* ThemeClassNames */.G.page.blogListPage),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BlogListPageMetadata,{...props}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogListPageStructuredData,{...props}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogListPageContent,{...props})]});} /***/ }), /***/ 7232: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ BlogListPaginator) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _theme_PaginatorNavLink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8705); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogListPaginator(props){const{metadata}=props;const{previousPage,nextPage}=metadata;return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("nav",{className:"pagination-nav","aria-label":(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.blog.paginator.navAriaLabel',message:'Blog list page navigation',description:'The ARIA label for the blog pagination'}),children:[previousPage&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_theme_PaginatorNavLink__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{permalink:previousPage,title:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer entries"})}),nextPage&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_theme_PaginatorNavLink__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{permalink:nextPage,title:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older entries"}),isNext:true})]});} /***/ }), /***/ 6962: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ BlogPostItem) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-blog/lib/client/index.js + 3 modules var client = __webpack_require__(1831); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Container/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostItemContainer({children,className}){return/*#__PURE__*/(0,jsx_runtime.jsx)("article",{className:className,children:children});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/Title/styles.module.css var styles_module = __webpack_require__(1245); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/Title/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostItemHeaderTitle({className}){const{metadata,isBlogPostPage}=(0,client/* useBlogPost */.e7)();const{permalink,title}=metadata;const TitleHeading=isBlogPostPage?'h1':'h2';return/*#__PURE__*/(0,jsx_runtime.jsx)(TitleHeading,{className:(0,clsx/* default */.A)((styles_module_default()).title,className),children:isBlogPostPage?title:/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{to:permalink,children:title})});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/usePluralForm.js var usePluralForm = __webpack_require__(7054); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/IntlUtils.js var IntlUtils = __webpack_require__(9153); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/Info/styles.module.css var Info_styles_module = __webpack_require__(3617); var Info_styles_module_default = /*#__PURE__*/__webpack_require__.n(Info_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/Info/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Very simple pluralization: probably good enough for now function useReadingTimePlural(){const{selectMessage}=(0,usePluralForm/* usePluralForm */.W)();return readingTimeFloat=>{const readingTime=Math.ceil(readingTimeFloat);return selectMessage(readingTime,(0,Translate/* translate */.T)({id:'theme.blog.post.readingTime.plurals',description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:'One min read|{readingTime} min read'},{readingTime}));};}function ReadingTime({readingTime}){const readingTimePlural=useReadingTimePlural();return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:readingTimePlural(readingTime)});}function DateTime({date,formattedDate}){return/*#__PURE__*/(0,jsx_runtime.jsx)("time",{dateTime:date,children:formattedDate});}function Spacer(){return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:' · '});}function BlogPostItemHeaderInfo({className}){const{metadata}=(0,client/* useBlogPost */.e7)();const{date,readingTime}=metadata;const dateTimeFormat=(0,IntlUtils/* useDateTimeFormat */.i)({day:'numeric',month:'long',year:'numeric',timeZone:'UTC'});const formatDate=blogDate=>dateTimeFormat.format(new Date(blogDate));return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)((Info_styles_module_default()).container,'margin-vert--md',className),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DateTime,{date:date,formattedDate:formatDate(date)}),typeof readingTime!=='undefined'&&/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Spacer,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(ReadingTime,{readingTime:readingTime})]})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Blog/Components/Author/index.js + 13 modules var Author = __webpack_require__(2671); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/Authors/styles.module.css var Authors_styles_module = __webpack_require__(3227); var Authors_styles_module_default = /*#__PURE__*/__webpack_require__.n(Authors_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/Authors/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Component responsible for the authors layout function BlogPostItemHeaderAuthors({className}){const{metadata:{authors},assets}=(0,client/* useBlogPost */.e7)();const authorsCount=authors.length;if(authorsCount===0){return null;}const imageOnly=authors.every(({name})=>!name);const singleAuthor=authors.length===1;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('margin-top--md margin-bottom--sm',imageOnly?(Authors_styles_module_default()).imageOnlyAuthorRow:'row',className),children:authors.map((author,idx)=>/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)(!imageOnly&&(singleAuthor?'col col--12':'col col--6'),imageOnly?(Authors_styles_module_default()).imageOnlyAuthorCol:(Authors_styles_module_default()).authorCol),children:/*#__PURE__*/(0,jsx_runtime.jsx)(Author/* default */.A,{author:{...author,// Handle author images using relative paths imageURL:assets.authorsImageUrls[idx]??author.imageURL}})},idx))});} ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Header/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostItemHeader(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("header",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemHeaderTitle,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemHeaderInfo,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemHeaderAuthors,{})]});} // EXTERNAL MODULE: ../packages/docusaurus-utils-common/lib/index.js var lib = __webpack_require__(5819); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/MDXContent/index.js + 27 modules var MDXContent = __webpack_require__(5493); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Content/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostItemContent({children,className}){const{isBlogPostPage}=(0,client/* useBlogPost */.e7)();return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{// This ID is used for the feed generation to locate the main content id:isBlogPostPage?lib/* blogPostContainerID */.LU:undefined,className:(0,clsx/* default */.A)('markdown',className),children:/*#__PURE__*/(0,jsx_runtime.jsx)(MDXContent/* default */.A,{children:children})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/EditMetaRow/index.js + 3 modules var EditMetaRow = __webpack_require__(9738); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TagsListInline/index.js var TagsListInline = __webpack_require__(1029); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ReadMoreLabel(){return/*#__PURE__*/(0,jsx_runtime.jsx)("b",{children:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read more"})});}function BlogPostItemFooterReadMoreLink(props){const{blogPostTitle,...linkProps}=props;return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{"aria-label":(0,Translate/* translate */.T)({message:'Read more about {title}',id:'theme.blog.post.readMoreLabel',description:'The ARIA label for the link to full blog posts from excerpts'},{title:blogPostTitle}),...linkProps,children:/*#__PURE__*/(0,jsx_runtime.jsx)(ReadMoreLabel,{})});} ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/Footer/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostItemFooter(){const{metadata,isBlogPostPage}=(0,client/* useBlogPost */.e7)();const{tags,title,editUrl,hasTruncateMarker,lastUpdatedBy,lastUpdatedAt}=metadata;// A post is truncated if it's in the "list view" and it has a truncate marker const truncatedPost=!isBlogPostPage&&hasTruncateMarker;const tagsExists=tags.length>0;const renderFooter=tagsExists||truncatedPost||editUrl;if(!renderFooter){return null;}// BlogPost footer - details view if(isBlogPostPage){const canDisplayEditMetaRow=!!(editUrl||lastUpdatedAt||lastUpdatedBy);return/*#__PURE__*/(0,jsx_runtime.jsxs)("footer",{className:"docusaurus-mt-lg",children:[tagsExists&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('row','margin-top--sm',ThemeClassNames/* ThemeClassNames */.G.blog.blogFooterEditMetaRow),children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"col",children:/*#__PURE__*/(0,jsx_runtime.jsx)(TagsListInline/* default */.A,{tags:tags})})}),canDisplayEditMetaRow&&/*#__PURE__*/(0,jsx_runtime.jsx)(EditMetaRow/* default */.A,{className:(0,clsx/* default */.A)('margin-top--sm',ThemeClassNames/* ThemeClassNames */.G.blog.blogFooterEditMetaRow),editUrl:editUrl,lastUpdatedAt:lastUpdatedAt,lastUpdatedBy:lastUpdatedBy})]});}// BlogPost footer - list view else{return/*#__PURE__*/(0,jsx_runtime.jsxs)("footer",{className:"row docusaurus-mt-lg",children:[tagsExists&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('col',{'col--9':truncatedPost}),children:/*#__PURE__*/(0,jsx_runtime.jsx)(TagsListInline/* default */.A,{tags:tags})}),truncatedPost&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('col text--right',{'col--3':tagsExists}),children:/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemFooterReadMoreLink,{blogPostTitle:title,to:metadata.permalink})})]});}} ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// apply a bottom margin in list view function useContainerClassName(){const{isBlogPostPage}=(0,client/* useBlogPost */.e7)();return!isBlogPostPage?'margin-bottom--xl':undefined;}function BlogPostItem({children,className}){const containerClassName=useContainerClassName();return/*#__PURE__*/(0,jsx_runtime.jsxs)(BlogPostItemContainer,{className:(0,clsx/* default */.A)(containerClassName,className),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemHeader,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemContent,{children:children}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItemFooter,{})]});} /***/ }), /***/ 5709: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ BlogPostItems) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_plugin_content_blog_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1831); /* harmony import */ var _theme_BlogPostItem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6962); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostItems({items,component:BlogPostItemComponent=_theme_BlogPostItem__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.Fragment,{children:items.map(({content:BlogPostContent})=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_plugin_content_blog_client__WEBPACK_IMPORTED_MODULE_1__/* .BlogPostProvider */ ["in"],{content:BlogPostContent,children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(BlogPostItemComponent,{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(BlogPostContent,{})})},BlogPostContent.metadata.permalink))});} /***/ }), /***/ 5101: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ BlogPostPage) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-blog/lib/client/index.js + 3 modules var client = __webpack_require__(1831); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogLayout/index.js + 4 modules var BlogLayout = __webpack_require__(5537); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogPostItem/index.js + 8 modules var BlogPostItem = __webpack_require__(6962); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/PaginatorNavLink/index.js var PaginatorNavLink = __webpack_require__(8705); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostPaginator/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostPaginator(props){const{nextItem,prevItem}=props;return/*#__PURE__*/(0,jsx_runtime.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,Translate/* translate */.T)({id:'theme.blog.post.paginator.navAriaLabel',message:'Blog post page navigation',description:'The ARIA label for the blog posts pagination'}),children:[prevItem&&/*#__PURE__*/(0,jsx_runtime.jsx)(PaginatorNavLink/* default */.A,{...prevItem,subLabel:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer post"})}),nextItem&&/*#__PURE__*/(0,jsx_runtime.jsx)(PaginatorNavLink/* default */.A,{...nextItem,subLabel:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older post"}),isNext:true})]});} ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostPage/Metadata/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostPageMetadata(){const{assets,metadata}=(0,client/* useBlogPost */.e7)();const{title,description,date,tags,authors,frontMatter}=metadata;const{keywords}=frontMatter;const image=assets.image??frontMatter.image;return/*#__PURE__*/(0,jsx_runtime.jsxs)(metadataUtils/* PageMetadata */.be,{title:frontMatter.title_meta??title,description:description,keywords:keywords,image:image,children:[/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:type",content:"article"}),/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"article:published_time",content:date}),authors.some(author=>author.url)&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"article:author",content:authors.map(author=>author.url).filter(Boolean).join(',')}),tags.length>0&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"article:tag",content:tags.map(tag=>tag.label).join(',')})]});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostPage/StructuredData/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostStructuredData(){const structuredData=(0,client/* useBlogPostStructuredData */.J_)();return/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("script",{type:"application/ld+json",children:JSON.stringify(structuredData)})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TOC/index.js var TOC = __webpack_require__(5277); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/ContentVisibility/index.js + 1 modules var ContentVisibility = __webpack_require__(5088); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogPostPage/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogPostPageContent({sidebar,children}){const{metadata,toc}=(0,client/* useBlogPost */.e7)();const{nextItem,prevItem,frontMatter}=metadata;const{hide_table_of_contents:hideTableOfContents,toc_min_heading_level:tocMinHeadingLevel,toc_max_heading_level:tocMaxHeadingLevel}=frontMatter;return/*#__PURE__*/(0,jsx_runtime.jsxs)(BlogLayout/* default */.A,{sidebar:sidebar,toc:!hideTableOfContents&&toc.length>0?/*#__PURE__*/(0,jsx_runtime.jsx)(TOC/* default */.A,{toc:toc,minHeadingLevel:tocMinHeadingLevel,maxHeadingLevel:tocMaxHeadingLevel}):undefined,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ContentVisibility/* default */.A,{metadata:metadata}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostItem/* default */.A,{children:children}),(nextItem||prevItem)&&/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostPaginator,{nextItem:nextItem,prevItem:prevItem})]});}function BlogPostPage(props){const BlogPostContent=props.content;return/*#__PURE__*/(0,jsx_runtime.jsx)(client/* BlogPostProvider */["in"],{content:props.content,isBlogPostPage:true,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(metadataUtils/* HtmlClassNameProvider */.e3,{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.wrapper.blogPages,ThemeClassNames/* ThemeClassNames */.G.page.blogPostPage),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostPageMetadata,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostStructuredData,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostPageContent,{sidebar:props.sidebar,children:/*#__PURE__*/(0,jsx_runtime.jsx)(BlogPostContent,{})})]})});} /***/ }), /***/ 8807: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ BlogTagsListPage) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); ;// ../packages/docusaurus-theme-common/lib/utils/tagsUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const translateTagsPageTitle=()=>(0,Translate/* translate */.T)({id:'theme.tags.tagsPageTitle',message:'Tags',description:'The title of the tag list page'});function getTagLetter(tag){return tag[0].toUpperCase();}/** * Takes a list of tags (as provided by the content plugins), and groups them by * their initials. */function listTagsByLetters(tags){const groups={};Object.values(tags).forEach(tag=>{const initial=getTagLetter(tag.label);groups[initial]??=[];groups[initial].push(tag);});return Object.entries(groups)// Sort letters .sort(([letter1],[letter2])=>letter1.localeCompare(letter2)).map(([letter,letterTags])=>{// Sort tags inside a letter const sortedTags=letterTags.sort((tag1,tag2)=>tag1.label.localeCompare(tag2.label));return{letter,tags:sortedTags};});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BlogLayout/index.js + 4 modules var BlogLayout = __webpack_require__(5537); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Tag/index.js var Tag = __webpack_require__(8151); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TagsListByLetter/styles.module.css var styles_module = __webpack_require__(9261); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/TagsListByLetter/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function TagLetterEntryItem({letterEntry}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h2",id:letterEntry.letter,children:letterEntry.letter}),/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:"padding--none",children:letterEntry.tags.map(tag=>/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:(styles_module_default()).tag,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Tag/* default */.A,{...tag})},tag.permalink))}),/*#__PURE__*/(0,jsx_runtime.jsx)("hr",{})]});}function TagsListByLetter({tags}){const letterList=listTagsByLetters(tags);return/*#__PURE__*/(0,jsx_runtime.jsx)("section",{className:"margin-vert--lg",children:letterList.map(letterEntry=>/*#__PURE__*/(0,jsx_runtime.jsx)(TagLetterEntryItem,{letterEntry:letterEntry},letterEntry.letter))});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/SearchMetadata/index.js var SearchMetadata = __webpack_require__(3308); ;// ../packages/docusaurus-theme-classic/lib/theme/BlogTagsListPage/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogTagsListPage({tags,sidebar}){const title=translateTagsPageTitle();return/*#__PURE__*/(0,jsx_runtime.jsxs)(metadataUtils/* HtmlClassNameProvider */.e3,{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.wrapper.blogPages,ThemeClassNames/* ThemeClassNames */.G.page.blogTagsListPage),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{title:title}),/*#__PURE__*/(0,jsx_runtime.jsx)(SearchMetadata/* default */.A,{tag:"blog_tags_list"}),/*#__PURE__*/(0,jsx_runtime.jsxs)(BlogLayout/* default */.A,{sidebar:sidebar,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h1",children:title}),/*#__PURE__*/(0,jsx_runtime.jsx)(TagsListByLetter,{tags:tags})]})]});} /***/ }), /***/ 1780: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ BlogTagsPostsPage) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(5861); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(8532); /* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(7374); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1349); /* harmony import */ var _theme_BlogLayout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5537); /* harmony import */ var _theme_BlogListPaginator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7232); /* harmony import */ var _theme_SearchMetadata__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3308); /* harmony import */ var _theme_BlogPostItems__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5709); /* harmony import */ var _theme_ContentVisibility_Unlisted__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9169); /* harmony import */ var _theme_Heading__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6813); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BlogTagsPostsPageMetadata({tag}){const title=(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_10__/* .useBlogTagsPostsPageTitle */ .ZD)(tag);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_11__/* .PageMetadata */ .be,{title:title,description:tag.description}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_theme_SearchMetadata__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,{tag:"blog_tags_posts"})]});}function BlogTagsPostsPageContent({tag,items,sidebar,listMetadata}){const title=(0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_10__/* .useBlogTagsPostsPageTitle */ .ZD)(tag);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_theme_BlogLayout__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{sidebar:sidebar,children:[tag.unlisted&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_theme_ContentVisibility_Unlisted__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A,{}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("header",{className:"margin-bottom--xl",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_theme_Heading__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A,{as:"h1",children:title}),tag.description&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("p",{children:tag.description}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{href:tag.allTagsPath,children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.tags.tagsPageLink",description:"The label of the link targeting the tag list page",children:"View All Tags"})})]}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_theme_BlogPostItems__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A,{items:items}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_theme_BlogListPaginator__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{metadata:listMetadata})]});}function BlogTagsPostsPage(props){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_11__/* .HtmlClassNameProvider */ .e3,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .A)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_13__/* .ThemeClassNames */ .G.wrapper.blogPages,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_13__/* .ThemeClassNames */ .G.page.blogTagPostListPage),children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(BlogTagsPostsPageMetadata,{...props}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(BlogTagsPostsPageContent,{...props})]});} /***/ }), /***/ 9169: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ Unlisted) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9137); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8532); /* harmony import */ var _theme_Admonition__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4707); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function UnlistedBanner({className}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_theme_Admonition__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{type:"caution",title:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .UnlistedBannerTitle */ .Rc,{}),className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(className,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__/* .ThemeClassNames */ .G.common.unlistedBanner),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .UnlistedBannerMessage */ .Uh,{})});}function Unlisted(props){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .UnlistedMetadata */ .AE,{}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(UnlistedBanner,{...props})]});} /***/ }), /***/ 5088: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ ContentVisibility) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/translations/contentVisibilityTranslations.js var contentVisibilityTranslations = __webpack_require__(9137); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Admonition/index.js + 14 modules var Admonition = __webpack_require__(4707); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/ContentVisibility/Draft/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Draft({className}){return/*#__PURE__*/(0,jsx_runtime.jsx)(Admonition/* default */.A,{type:"caution",title:/*#__PURE__*/(0,jsx_runtime.jsx)(contentVisibilityTranslations/* DraftBannerTitle */.Yh,{}),className:(0,clsx/* default */.A)(className,ThemeClassNames/* ThemeClassNames */.G.common.draftBanner),children:/*#__PURE__*/(0,jsx_runtime.jsx)(contentVisibilityTranslations/* DraftBannerMessage */.TT,{})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/ContentVisibility/Unlisted/index.js var Unlisted = __webpack_require__(9169); ;// ../packages/docusaurus-theme-classic/lib/theme/ContentVisibility/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ContentVisibility({metadata}){const{unlisted,frontMatter}=metadata;// Reading draft/unlisted status from frontMatter is useful to display // the banners in dev mode (in dev, metadata.unlisted is always false) // See https://github.com/facebook/docusaurus/issues/8285 return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(unlisted||frontMatter.unlisted)&&/*#__PURE__*/(0,jsx_runtime.jsx)(Unlisted/* default */.A,{}),frontMatter.draft&&/*#__PURE__*/(0,jsx_runtime.jsx)(Draft,{})]});} /***/ }), /***/ 6748: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ DocBreadcrumbs) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsUtils.js var docsUtils = __webpack_require__(4271); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/routesUtils.js var routesUtils = __webpack_require__(5438); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Home/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconHome(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/Items/Home/styles.module.css var styles_module = __webpack_require__(6574); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/Items/Home/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function HomeBreadcrumbItem(){const homeHref=(0,useBaseUrl/* default */.Ay)('/');return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:"breadcrumbs__item",children:/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{"aria-label":(0,Translate/* translate */.T)({id:'theme.docs.breadcrumbs.home',message:'Home page',description:'The ARIA label for the home page in the breadcrumbs'}),className:"breadcrumbs__link",href:homeHref,children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconHome,{className:(styles_module_default()).breadcrumbHomeIcon})})});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); ;// ../packages/docusaurus-plugin-content-docs/lib/client/structuredDataUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useBreadcrumbsStructuredData({breadcrumbs}){const{siteConfig}=(0,useDocusaurusContext/* default */.A)();return{'@context':'https://schema.org','@type':'BreadcrumbList',itemListElement:breadcrumbs// We filter breadcrumb items without links, they are not allowed // See also https://github.com/facebook/docusaurus/issues/9319#issuecomment-2643560845 .filter(breadcrumb=>breadcrumb.href).map((breadcrumb,index)=>({'@type':'ListItem',position:index+1,name:breadcrumb.label,item:`${siteConfig.url}${breadcrumb.href}`}))};} ;// ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/StructuredData/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocBreadcrumbsStructuredData(props){const structuredData=useBreadcrumbsStructuredData({breadcrumbs:props.breadcrumbs});return/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("script",{type:"application/ld+json",children:JSON.stringify(structuredData)})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/styles.module.css var DocBreadcrumbs_styles_module = __webpack_require__(6669); var DocBreadcrumbs_styles_module_default = /*#__PURE__*/__webpack_require__.n(DocBreadcrumbs_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// TODO move to design system folder function BreadcrumbsItemLink({children,href,isLast}){const className='breadcrumbs__link';if(isLast){return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:className,children:children});}return href?/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{className:className,href:href,children:/*#__PURE__*/(0,jsx_runtime.jsx)("span",{children:children})}):/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:className,children:children});}// TODO move to design system folder function BreadcrumbsItem({children,active}){return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:(0,clsx/* default */.A)('breadcrumbs__item',{'breadcrumbs__item--active':active}),children:children});}function DocBreadcrumbs(){const breadcrumbs=(0,docsUtils/* useSidebarBreadcrumbs */.OF)();const homePageRoute=(0,routesUtils/* useHomePageRoute */.Dt)();if(!breadcrumbs){return null;}return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocBreadcrumbsStructuredData,{breadcrumbs:breadcrumbs}),/*#__PURE__*/(0,jsx_runtime.jsx)("nav",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docBreadcrumbs,(DocBreadcrumbs_styles_module_default()).breadcrumbsContainer),"aria-label":(0,Translate/* translate */.T)({id:'theme.docs.breadcrumbs.navAriaLabel',message:'Breadcrumbs',description:'The ARIA label for the breadcrumbs'}),children:/*#__PURE__*/(0,jsx_runtime.jsxs)("ul",{className:"breadcrumbs",children:[homePageRoute&&/*#__PURE__*/(0,jsx_runtime.jsx)(HomeBreadcrumbItem,{}),breadcrumbs.map((item,idx)=>{const isLast=idx===breadcrumbs.length-1;const href=item.type==='category'&&item.linkUnlisted?undefined:item.href;return/*#__PURE__*/(0,jsx_runtime.jsx)(BreadcrumbsItem,{active:isLast,children:/*#__PURE__*/(0,jsx_runtime.jsx)(BreadcrumbsItemLink,{href:href,isLast:isLast,children:item.label})},idx);})]})})]});} /***/ }), /***/ 2980: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ DocCategoryGeneratedIndexPage) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsUtils.js var docsUtils = __webpack_require__(4271); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/usePluralForm.js var usePluralForm = __webpack_require__(7054); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/isInternalUrl.js var isInternalUrl = __webpack_require__(73); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocCard/styles.module.css var styles_module = __webpack_require__(4855); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/DocCard/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useCategoryItemsPlural(){const{selectMessage}=(0,usePluralForm/* usePluralForm */.W)();return count=>selectMessage(count,(0,Translate/* translate */.T)({message:'1 item|{count} items',id:'theme.docs.DocCard.categoryDescription.plurals',description:'The default description for a category card in the generated index about how many items this category includes'},{count}));}function CardContainer({className,href,children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{href:href,className:(0,clsx/* default */.A)('card padding--lg',(styles_module_default()).cardContainer,className),children:children});}function CardLayout({className,href,icon,title,description}){return/*#__PURE__*/(0,jsx_runtime.jsxs)(CardContainer,{href:href,className:className,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(Heading/* default */.A,{as:"h2",className:(0,clsx/* default */.A)('text--truncate',(styles_module_default()).cardTitle),title:title,children:[icon," ",title]}),description&&/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:(0,clsx/* default */.A)('text--truncate',(styles_module_default()).cardDescription),title:description,children:description})]});}function CardCategory({item}){const href=(0,docsUtils/* findFirstSidebarItemLink */.Nr)(item);const categoryItemsPlural=useCategoryItemsPlural();// Unexpected: categories that don't have a link have been filtered upfront if(!href){return null;}return/*#__PURE__*/(0,jsx_runtime.jsx)(CardLayout,{className:item.className,href:href,icon:"\uD83D\uDDC3\uFE0F",title:item.label,description:item.description??categoryItemsPlural(item.items.length)});}function CardLink({item}){const icon=(0,isInternalUrl/* default */.A)(item.href)?'📄️':'🔗';const doc=(0,docsUtils/* useDocById */.cC)(item.docId??undefined);return/*#__PURE__*/(0,jsx_runtime.jsx)(CardLayout,{className:item.className,href:item.href,icon:icon,title:item.label,description:item.description??doc?.description});}function DocCard({item}){switch(item.type){case'link':return/*#__PURE__*/(0,jsx_runtime.jsx)(CardLink,{item:item});case'category':return/*#__PURE__*/(0,jsx_runtime.jsx)(CardCategory,{item:item});default:throw new Error(`unknown item type ${JSON.stringify(item)}`);}} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocCardList/styles.module.css var DocCardList_styles_module = __webpack_require__(9951); var DocCardList_styles_module_default = /*#__PURE__*/__webpack_require__.n(DocCardList_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocCardList/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocCardListForCurrentSidebarCategory({className}){const items=(0,docsUtils/* useCurrentSidebarSiblings */.a4)();return/*#__PURE__*/(0,jsx_runtime.jsx)(DocCardList,{items:items,className:className});}function DocCardListItem({item}){return/*#__PURE__*/(0,jsx_runtime.jsx)("article",{className:(0,clsx/* default */.A)((DocCardList_styles_module_default()).docCardListItem,'col col--6'),children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocCard,{item:item})});}function DocCardList(props){const{items,className}=props;if(!items){return/*#__PURE__*/(0,jsx_runtime.jsx)(DocCardListForCurrentSidebarCategory,{...props});}const filteredItems=(0,docsUtils/* filterDocCardListItems */.d1)(items);return/*#__PURE__*/(0,jsx_runtime.jsx)("section",{className:(0,clsx/* default */.A)('row',className),children:filteredItems.map((item,index)=>/*#__PURE__*/(0,jsx_runtime.jsx)(DocCardListItem,{item:item},index))});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocPaginator/index.js var DocPaginator = __webpack_require__(4232); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocVersionBanner/index.js var DocVersionBanner = __webpack_require__(913); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocVersionBadge/index.js var DocVersionBadge = __webpack_require__(458); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/index.js + 4 modules var DocBreadcrumbs = __webpack_require__(6748); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocCategoryGeneratedIndexPage/styles.module.css var DocCategoryGeneratedIndexPage_styles_module = __webpack_require__(3745); var DocCategoryGeneratedIndexPage_styles_module_default = /*#__PURE__*/__webpack_require__.n(DocCategoryGeneratedIndexPage_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocCategoryGeneratedIndexPage/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocCategoryGeneratedIndexPageMetadata({categoryGeneratedIndex}){return/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{title:categoryGeneratedIndex.title,description:categoryGeneratedIndex.description,keywords:categoryGeneratedIndex.keywords// TODO `require` this? ,image:(0,useBaseUrl/* default */.Ay)(categoryGeneratedIndex.image)});}function DocCategoryGeneratedIndexPageContent({categoryGeneratedIndex}){const category=(0,docsUtils/* useCurrentSidebarCategory */.$S)();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(DocCategoryGeneratedIndexPage_styles_module_default()).generatedIndexPage,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocVersionBanner/* default */.A,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocBreadcrumbs/* default */.A,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocVersionBadge/* default */.A,{}),/*#__PURE__*/(0,jsx_runtime.jsxs)("header",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h1",className:(DocCategoryGeneratedIndexPage_styles_module_default()).title,children:categoryGeneratedIndex.title}),categoryGeneratedIndex.description&&/*#__PURE__*/(0,jsx_runtime.jsx)("p",{children:categoryGeneratedIndex.description})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("article",{className:"margin-top--lg",children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocCardList,{items:category.items,className:(DocCategoryGeneratedIndexPage_styles_module_default()).list})}),/*#__PURE__*/(0,jsx_runtime.jsx)("footer",{className:"margin-top--md",children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocPaginator/* default */.A,{previous:categoryGeneratedIndex.navigation.previous,next:categoryGeneratedIndex.navigation.next})})]});}function DocCategoryGeneratedIndexPage(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocCategoryGeneratedIndexPageMetadata,{...props}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocCategoryGeneratedIndexPageContent,{...props})]});} /***/ }), /***/ 3135: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ DocItem) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/reactUtils.js var reactUtils = __webpack_require__(9129); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-plugin-content-docs/lib/client/doc.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react.createContext(null);/** * Note: we don't use `PropDoc` as context value on purpose. Metadata is * currently stored inside the MDX component, but we may want to change that in * the future. This layer is a good opportunity to decouple storage from * consuming API, potentially allowing us to provide metadata as both props and * route context without duplicating the chunks in the future. */function useContextValue(content){return (0,react.useMemo)(()=>({metadata:content.metadata,frontMatter:content.frontMatter,assets:content.assets,contentTitle:content.contentTitle,toc:content.toc}),[content]);}/** * This is a very thin layer around the `content` received from the MDX loader. * It provides metadata about the doc to the children tree. */function DocProvider({children,content}){const contextValue=useContextValue(content);return/*#__PURE__*/(0,jsx_runtime.jsx)(Context.Provider,{value:contextValue,children:children});}/** * Returns the data of the currently browsed doc. Gives access to the doc's MDX * Component, front matter, metadata, TOC, etc. When swizzling a low-level * component (e.g. the "Edit this page" link) and you need some extra metadata, * you don't have to drill the props all the way through the component tree: * simply use this hook instead. */function useDoc(){const doc=(0,react.useContext)(Context);if(doc===null){throw new reactUtils/* ReactContextError */.dV('DocProvider');}return doc;} ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/Metadata/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocItemMetadata(){const{metadata,frontMatter,assets}=useDoc();return/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{title:metadata.title,description:metadata.description,keywords:frontMatter.keywords,image:assets.image??frontMatter.image});} // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/hooks/useWindowSize.js var useWindowSize = __webpack_require__(242); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocPaginator/index.js var DocPaginator = __webpack_require__(4232); ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/Paginator/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * This extra component is needed, because should remain generic. * DocPaginator is used in non-docs contexts too: generated-index pages... */function DocItemPaginator(){const{metadata}=useDoc();return/*#__PURE__*/(0,jsx_runtime.jsx)(DocPaginator/* default */.A,{className:"docusaurus-mt-lg",previous:metadata.previous,next:metadata.next});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocVersionBanner/index.js var DocVersionBanner = __webpack_require__(913); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocVersionBadge/index.js var DocVersionBadge = __webpack_require__(458); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TagsListInline/index.js var TagsListInline = __webpack_require__(1029); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/EditMetaRow/index.js + 3 modules var EditMetaRow = __webpack_require__(9738); ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/Footer/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocItemFooter(){const{metadata}=useDoc();const{editUrl,lastUpdatedAt,lastUpdatedBy,tags}=metadata;const canDisplayTagsRow=tags.length>0;const canDisplayEditMetaRow=!!(editUrl||lastUpdatedAt||lastUpdatedBy);const canDisplayFooter=canDisplayTagsRow||canDisplayEditMetaRow;if(!canDisplayFooter){return null;}return/*#__PURE__*/(0,jsx_runtime.jsxs)("footer",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docFooter,'docusaurus-mt-lg'),children:[canDisplayTagsRow&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('row margin-top--sm',ThemeClassNames/* ThemeClassNames */.G.docs.docFooterTagsRow),children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"col",children:/*#__PURE__*/(0,jsx_runtime.jsx)(TagsListInline/* default */.A,{tags:tags})})}),canDisplayEditMetaRow&&/*#__PURE__*/(0,jsx_runtime.jsx)(EditMetaRow/* default */.A,{className:(0,clsx/* default */.A)('margin-top--sm',ThemeClassNames/* ThemeClassNames */.G.docs.docFooterEditMetaRow),editUrl:editUrl,lastUpdatedAt:lastUpdatedAt,lastUpdatedBy:lastUpdatedBy})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/components/Collapsible/index.js var Collapsible = __webpack_require__(343); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TOCItems/index.js + 3 modules var TOCItems = __webpack_require__(1731); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TOCCollapsible/CollapseButton/styles.module.css var styles_module = __webpack_require__(4112); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/TOCCollapsible/CollapseButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function TOCCollapsibleCollapseButton({collapsed,...props}){return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button",...props,className:(0,clsx/* default */.A)('clean-btn',(styles_module_default()).tocCollapsibleButton,!collapsed&&(styles_module_default()).tocCollapsibleButtonExpanded,props.className),children:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TOCCollapsible/styles.module.css var TOCCollapsible_styles_module = __webpack_require__(3939); var TOCCollapsible_styles_module_default = /*#__PURE__*/__webpack_require__.n(TOCCollapsible_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/TOCCollapsible/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function TOCCollapsible({toc,className,minHeadingLevel,maxHeadingLevel}){const{collapsed,toggleCollapsed}=(0,Collapsible/* useCollapsible */.u)({initialState:true});return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)((TOCCollapsible_styles_module_default()).tocCollapsible,!collapsed&&(TOCCollapsible_styles_module_default()).tocCollapsibleExpanded,className),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(TOCCollapsibleCollapseButton,{collapsed:collapsed,onClick:toggleCollapsed}),/*#__PURE__*/(0,jsx_runtime.jsx)(Collapsible/* Collapsible */.N,{lazy:true,className:(TOCCollapsible_styles_module_default()).tocCollapsibleContent,collapsed:collapsed,children:/*#__PURE__*/(0,jsx_runtime.jsx)(TOCItems/* default */.A,{toc:toc,minHeadingLevel:minHeadingLevel,maxHeadingLevel:maxHeadingLevel})})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocItem/TOC/Mobile/styles.module.css var Mobile_styles_module = __webpack_require__(3276); var Mobile_styles_module_default = /*#__PURE__*/__webpack_require__.n(Mobile_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/TOC/Mobile/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocItemTOCMobile(){const{toc,frontMatter}=useDoc();return/*#__PURE__*/(0,jsx_runtime.jsx)(TOCCollapsible,{toc:toc,minHeadingLevel:frontMatter.toc_min_heading_level,maxHeadingLevel:frontMatter.toc_max_heading_level,className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docTocMobile,(Mobile_styles_module_default()).tocMobile)});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/TOC/index.js var TOC = __webpack_require__(5277); ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/TOC/Desktop/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocItemTOCDesktop(){const{toc,frontMatter}=useDoc();return/*#__PURE__*/(0,jsx_runtime.jsx)(TOC/* default */.A,{toc:toc,minHeadingLevel:frontMatter.toc_min_heading_level,maxHeadingLevel:frontMatter.toc_max_heading_level,className:ThemeClassNames/* ThemeClassNames */.G.docs.docTocDesktop});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/MDXContent/index.js + 27 modules var MDXContent = __webpack_require__(5493); ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/Content/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** Title can be declared inside md content or declared through front matter and added manually. To make both cases consistent, the added title is added under the same div.markdown block See https://github.com/facebook/docusaurus/pull/4882#issuecomment-853021120 We render a "synthetic title" if: - user doesn't ask to hide it with front matter - the markdown content does not already contain a top-level h1 heading */function useSyntheticTitle(){const{metadata,frontMatter,contentTitle}=useDoc();const shouldRender=!frontMatter.hide_title&&typeof contentTitle==='undefined';if(!shouldRender){return null;}return metadata.title;}function DocItemContent({children}){const syntheticTitle=useSyntheticTitle();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docMarkdown,'markdown'),children:[syntheticTitle&&/*#__PURE__*/(0,jsx_runtime.jsx)("header",{children:/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h1",children:syntheticTitle})}),/*#__PURE__*/(0,jsx_runtime.jsx)(MDXContent/* default */.A,{children:children})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocBreadcrumbs/index.js + 4 modules var DocBreadcrumbs = __webpack_require__(6748); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/ContentVisibility/index.js + 1 modules var ContentVisibility = __webpack_require__(5088); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocItem/Layout/styles.module.css var Layout_styles_module = __webpack_require__(4857); var Layout_styles_module_default = /*#__PURE__*/__webpack_require__.n(Layout_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Decide if the toc should be rendered, on mobile or desktop viewports */function useDocTOC(){const{frontMatter,toc}=useDoc();const windowSize=(0,useWindowSize/* useWindowSize */.l)();const hidden=frontMatter.hide_table_of_contents;const canRender=!hidden&&toc.length>0;const mobile=canRender?/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemTOCMobile,{}):undefined;const desktop=canRender&&(windowSize==='desktop'||windowSize==='ssr')?/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemTOCDesktop,{}):undefined;return{hidden,mobile,desktop};}function DocItemLayout({children}){const docTOC=useDocTOC();const{metadata}=useDoc();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"row",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('col',!docTOC.hidden&&(Layout_styles_module_default()).docItemCol),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(ContentVisibility/* default */.A,{metadata:metadata}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocVersionBanner/* default */.A,{}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(Layout_styles_module_default()).docItemContainer,children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("article",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocBreadcrumbs/* default */.A,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocVersionBadge/* default */.A,{}),docTOC.mobile,/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemContent,{children:children}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemFooter,{})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemPaginator,{})]})]}),docTOC.desktop&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"col col--3",children:docTOC.desktop})]});} ;// ../packages/docusaurus-theme-classic/lib/theme/DocItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocItem(props){const docHtmlClassName=`docs-doc-id-${props.content.metadata.id}`;const MDXComponent=props.content;return/*#__PURE__*/(0,jsx_runtime.jsx)(DocProvider,{content:props.content,children:/*#__PURE__*/(0,jsx_runtime.jsxs)(metadataUtils/* HtmlClassNameProvider */.e3,{className:docHtmlClassName,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemMetadata,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocItemLayout,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(MDXComponent,{})})]})});} /***/ }), /***/ 4232: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ DocPaginator) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _theme_PaginatorNavLink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8705); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocPaginator(props){const{className,previous,next}=props;return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("nav",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(className,'pagination-nav'),"aria-label":(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.docs.paginator.navAriaLabel',message:'Docs pages',description:'The ARIA label for the docs pagination'}),children:[previous&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_theme_PaginatorNavLink__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{...previous,subLabel:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),next&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_theme_PaginatorNavLink__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{...next,subLabel:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:true})]});} /***/ }), /***/ 8125: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ DocRoot) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsUtils.js var docsUtils = __webpack_require__(4271); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsSidebar.js var docsSidebar = __webpack_require__(3770); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/scrollUtils.js var scrollUtils = __webpack_require__(4195); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useLocationChange.js var useLocationChange = __webpack_require__(8701); ;// ../packages/docusaurus-theme-common/lib/hooks/useBackToTopButton.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** Wires the logic for the back to top button. */function useBackToTopButton({threshold}){const[shown,setShown]=(0,react.useState)(false);const isFocusedAnchor=(0,react.useRef)(false);const{startScroll,cancelScroll}=(0,scrollUtils/* useSmoothScrollTo */.gk)();(0,scrollUtils/* useScrollPosition */.Mq)(({scrollY:scrollTop},lastPosition)=>{const lastScrollTop=lastPosition?.scrollY;// Component is just being mounted. Not really a scroll event from the user. // Ignore it. if(!lastScrollTop){return;}if(isFocusedAnchor.current){// This scroll position change is triggered by navigating to an anchor. // Ignore it. isFocusedAnchor.current=false;}else if(scrollTop>=lastScrollTop){// The user has scrolled down to "fight against" the animation. Cancel any // animation under progress. cancelScroll();setShown(false);}else if(scrollTop{if(locationChangeEvent.location.hash){isFocusedAnchor.current=true;setShown(false);}});return{shown,scrollToTop:()=>startScroll(0)};} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/BackToTopButton/styles.module.css var styles_module = __webpack_require__(4512); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/BackToTopButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function BackToTopButton(){const{shown,scrollToTop}=useBackToTopButton({threshold:300});return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-label":(0,Translate/* translate */.T)({id:'theme.BackToTopButton.buttonAriaLabel',message:'Scroll back to top',description:'The ARIA label for the back to top button'}),className:(0,clsx/* default */.A)('clean-btn',ThemeClassNames/* ThemeClassNames */.G.common.backToTopButton,(styles_module_default()).backToTopButton,shown&&(styles_module_default()).backToTopButtonShow),type:"button",onClick:scrollToTop});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/accessibilityUtils.js var accessibilityUtils = __webpack_require__(644); // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/hooks/useWindowSize.js var useWindowSize = __webpack_require__(242); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Logo/index.js var Logo = __webpack_require__(310); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Arrow/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconArrow(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...props,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{fill:"#7a7a7a",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Desktop/CollapseButton/styles.module.css var CollapseButton_styles_module = __webpack_require__(7792); var CollapseButton_styles_module_default = /*#__PURE__*/__webpack_require__.n(CollapseButton_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Desktop/CollapseButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function CollapseButton({onClick}){return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button",title:(0,Translate/* translate */.T)({id:'theme.docs.sidebar.collapseButtonTitle',message:'Collapse sidebar',description:'The title attribute for collapse button of doc sidebar'}),"aria-label":(0,Translate/* translate */.T)({id:'theme.docs.sidebar.collapseButtonAriaLabel',message:'Collapse sidebar',description:'The title attribute for collapse button of doc sidebar'}),className:(0,clsx/* default */.A)('button button--secondary button--outline',(CollapseButton_styles_module_default()).collapseSidebarButton),onClick:onClick,children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconArrow,{className:(CollapseButton_styles_module_default()).collapseSidebarButtonIcon})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/announcementBar.js var announcementBar = __webpack_require__(3228); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/reactUtils.js var reactUtils = __webpack_require__(9129); ;// ../packages/docusaurus-plugin-content-docs/lib/client/docSidebarItemsExpandedState.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const EmptyContext=Symbol('EmptyContext');const Context=/*#__PURE__*/react.createContext(EmptyContext);/** * Should be used to wrap one sidebar category level. This provider syncs the * expanded states of all sibling categories, and categories can choose to * collapse itself if another one is expanded. */function DocSidebarItemsExpandedStateProvider({children}){const[expandedItem,setExpandedItem]=(0,react.useState)(null);const contextValue=(0,react.useMemo)(()=>({expandedItem,setExpandedItem}),[expandedItem]);return/*#__PURE__*/(0,jsx_runtime.jsx)(Context.Provider,{value:contextValue,children:children});}function useDocSidebarItemsExpandedState(){const value=(0,react.useContext)(Context);if(value===EmptyContext){throw new reactUtils/* ReactContextError */.dV('DocSidebarItemsExpandedStateProvider');}return value;} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/components/Collapsible/index.js var Collapsible = __webpack_require__(343); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/routesUtils.js var routesUtils = __webpack_require__(5438); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useIsBrowser.js var useIsBrowser = __webpack_require__(3754); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItem/Category/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// If we navigate to a category and it becomes active, it should automatically // expand itself function useAutoExpandActiveCategory({isActive,collapsed,updateCollapsed}){const wasActive=(0,reactUtils/* usePrevious */.ZC)(isActive);(0,react.useEffect)(()=>{const justBecameActive=isActive&&!wasActive;if(justBecameActive&&collapsed){updateCollapsed(false);}},[isActive,wasActive,collapsed,updateCollapsed]);}/** * When a collapsible category has no link, we still link it to its first child * during SSR as a temporary fallback. This allows to be able to navigate inside * the category even when JS fails to load, is delayed or simply disabled * React hydration becomes an optional progressive enhancement * see https://github.com/facebookincubator/infima/issues/36#issuecomment-772543188 * see https://github.com/facebook/docusaurus/issues/3030 */function useCategoryHrefWithSSRFallback(item){const isBrowser=(0,useIsBrowser/* default */.A)();return (0,react.useMemo)(()=>{if(item.href&&!item.linkUnlisted){return item.href;}// In these cases, it's not necessary to render a fallback // We skip the "findFirstCategoryLink" computation if(isBrowser||!item.collapsible){return undefined;}return (0,docsUtils/* findFirstSidebarItemLink */.Nr)(item);},[item,isBrowser]);}function Category_CollapseButton({collapsed,categoryLabel,onClick}){return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{"aria-label":collapsed?(0,Translate/* translate */.T)({id:'theme.DocSidebarItem.expandCategoryAriaLabel',message:"Expand sidebar category '{label}'",description:'The ARIA label to expand the sidebar category'},{label:categoryLabel}):(0,Translate/* translate */.T)({id:'theme.DocSidebarItem.collapseCategoryAriaLabel',message:"Collapse sidebar category '{label}'",description:'The ARIA label to collapse the sidebar category'},{label:categoryLabel}),"aria-expanded":!collapsed,type:"button",className:"clean-btn menu__caret",onClick:onClick});}function DocSidebarItemCategory({item,onItemClick,activePath,level,index,...props}){const{items,label,collapsible,className,href}=item;const{docs:{sidebar:{autoCollapseCategories}}}=(0,useThemeConfig/* useThemeConfig */.p)();const hrefWithSSRFallback=useCategoryHrefWithSSRFallback(item);const isActive=(0,docsUtils/* isActiveSidebarItem */.w8)(item,activePath);const isCurrentPage=(0,routesUtils/* isSamePath */.ys)(href,activePath);const{collapsed,setCollapsed}=(0,Collapsible/* useCollapsible */.u)({// Active categories are always initialized as expanded. The default // (`item.collapsed`) is only used for non-active categories. initialState:()=>{if(!collapsible){return false;}return isActive?false:item.collapsed;}});const{expandedItem,setExpandedItem}=useDocSidebarItemsExpandedState();// Use this instead of `setCollapsed`, because it is also reactive const updateCollapsed=(toCollapsed=!collapsed)=>{setExpandedItem(toCollapsed?null:index);setCollapsed(toCollapsed);};useAutoExpandActiveCategory({isActive,collapsed,updateCollapsed});(0,react.useEffect)(()=>{if(collapsible&&expandedItem!=null&&expandedItem!==index&&autoCollapseCategories){setCollapsed(true);}},[collapsible,expandedItem,index,setCollapsed,autoCollapseCategories]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("li",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarItemCategory,ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarItemCategoryLevel(level),'menu__list-item',{'menu__list-item--collapsed':collapsed},className),children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('menu__list-item-collapsible',{'menu__list-item-collapsible--active':isCurrentPage}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{className:(0,clsx/* default */.A)('menu__link',{'menu__link--sublist':collapsible,'menu__link--sublist-caret':!href&&collapsible,'menu__link--active':isActive}),onClick:collapsible?e=>{onItemClick?.(item);if(href){if(isActive){e.preventDefault();updateCollapsed();}else{// When navigating to a new category, we always expand // see https://github.com/facebook/docusaurus/issues/10854#issuecomment-2609616182 updateCollapsed(false);}}else{e.preventDefault();updateCollapsed();}}:()=>{onItemClick?.(item);},"aria-current":isCurrentPage?'page':undefined,role:collapsible&&!href?'button':undefined,"aria-expanded":collapsible&&!href?!collapsed:undefined,href:collapsible?hrefWithSSRFallback??'#':hrefWithSSRFallback,...props,children:label}),href&&collapsible&&/*#__PURE__*/(0,jsx_runtime.jsx)(Category_CollapseButton,{collapsed:collapsed,categoryLabel:label,onClick:e=>{e.preventDefault();updateCollapsed();}})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(Collapsible/* Collapsible */.N,{lazy:true,as:"ul",className:"menu__list",collapsed:collapsed,children:/*#__PURE__*/(0,jsx_runtime.jsx)(theme_DocSidebarItems,{items:items,tabIndex:collapsed?-1:0,onItemClick:onItemClick,activePath:activePath,level:level+1})})]});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/isInternalUrl.js var isInternalUrl = __webpack_require__(73); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/ExternalLink/index.js var ExternalLink = __webpack_require__(6414); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItem/Link/styles.module.css var Link_styles_module = __webpack_require__(4441); var Link_styles_module_default = /*#__PURE__*/__webpack_require__.n(Link_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItem/Link/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebarItemLink({item,onItemClick,activePath,level,index,...props}){const{href,label,className,autoAddBaseUrl}=item;const isActive=(0,docsUtils/* isActiveSidebarItem */.w8)(item,activePath);const isInternalLink=(0,isInternalUrl/* default */.A)(href);return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarItemLink,ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarItemLinkLevel(level),'menu__list-item',className),children:/*#__PURE__*/(0,jsx_runtime.jsxs)(Link/* default */.A,{className:(0,clsx/* default */.A)('menu__link',!isInternalLink&&(Link_styles_module_default()).menuExternalLink,{'menu__link--active':isActive}),autoAddBaseUrl:autoAddBaseUrl,"aria-current":isActive?'page':undefined,to:href,...(isInternalLink&&{onClick:onItemClick?()=>onItemClick(item):undefined}),...props,children:[label,!isInternalLink&&/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalLink/* default */.A,{})]})},label);} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItem/Html/styles.module.css var Html_styles_module = __webpack_require__(7682); var Html_styles_module_default = /*#__PURE__*/__webpack_require__.n(Html_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItem/Html/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebarItemHtml({item,level,index}){const{value,defaultStyle,className}=item;return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarItemLink,ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarItemLinkLevel(level),defaultStyle&&[(Html_styles_module_default()).menuHtmlItem,'menu__list-item'],className),// eslint-disable-next-line react/no-danger dangerouslySetInnerHTML:{__html:value}},index);} ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebarItem({item,...props}){switch(item.type){case'category':return/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebarItemCategory,{item:item,...props});case'html':return/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebarItemHtml,{item:item,...props});case'link':default:return/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebarItemLink,{item:item,...props});}} ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebarItems/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebarItems({items,...props}){const visibleItems=(0,docsUtils/* useVisibleSidebarItems */.Y)(items,props.activePath);return/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebarItemsExpandedStateProvider,{children:visibleItems.map((item,index)=>/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebarItem,{item:item,index:index,...props},index))});}// Optimize sidebar at each "level" /* harmony default export */ const theme_DocSidebarItems = (/*#__PURE__*/(0,react.memo)(DocSidebarItems)); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Desktop/Content/styles.module.css var Content_styles_module = __webpack_require__(76); var Content_styles_module_default = /*#__PURE__*/__webpack_require__.n(Content_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Desktop/Content/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useShowAnnouncementBar(){const{isActive}=(0,announcementBar/* useAnnouncementBar */.M)();const[showAnnouncementBar,setShowAnnouncementBar]=(0,react.useState)(isActive);(0,scrollUtils/* useScrollPosition */.Mq)(({scrollY})=>{if(isActive){setShowAnnouncementBar(scrollY===0);}},[isActive]);return isActive&&showAnnouncementBar;}function DocSidebarDesktopContent({path,sidebar,className}){const showAnnouncementBar=useShowAnnouncementBar();return/*#__PURE__*/(0,jsx_runtime.jsx)("nav",{"aria-label":(0,Translate/* translate */.T)({id:'theme.docs.sidebar.navAriaLabel',message:'Docs sidebar',description:'The ARIA label for the sidebar navigation'}),className:(0,clsx/* default */.A)('menu thin-scrollbar',(Content_styles_module_default()).menu,showAnnouncementBar&&(Content_styles_module_default()).menuWithAnnouncementBar,className),children:/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarMenu,'menu__list'),children:/*#__PURE__*/(0,jsx_runtime.jsx)(theme_DocSidebarItems,{items:sidebar,activePath:path,level:1})})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Desktop/styles.module.css var Desktop_styles_module = __webpack_require__(5546); var Desktop_styles_module_default = /*#__PURE__*/__webpack_require__.n(Desktop_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Desktop/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebarDesktop({path,sidebar,onCollapse,isHidden}){const{navbar:{hideOnScroll},docs:{sidebar:{hideable}}}=(0,useThemeConfig/* useThemeConfig */.p)();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)((Desktop_styles_module_default()).sidebar,hideOnScroll&&(Desktop_styles_module_default()).sidebarWithHideableNavbar,isHidden&&(Desktop_styles_module_default()).sidebarHidden),children:[hideOnScroll&&/*#__PURE__*/(0,jsx_runtime.jsx)(Logo/* default */.A,{tabIndex:-1,className:(Desktop_styles_module_default()).sidebarLogo}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebarDesktopContent,{path:path,sidebar:sidebar}),hideable&&/*#__PURE__*/(0,jsx_runtime.jsx)(CollapseButton,{onClick:onCollapse})]});}/* harmony default export */ const Desktop = (/*#__PURE__*/react.memo(DocSidebarDesktop)); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/navbarSecondaryMenu/content.js var content = __webpack_require__(5105); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/navbarMobileSidebar.js + 1 modules var navbarMobileSidebar = __webpack_require__(1021); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/Mobile/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// eslint-disable-next-line react/function-component-definition const DocSidebarMobileSecondaryMenu=({sidebar,path})=>{const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();return/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarMenu,'menu__list'),children:/*#__PURE__*/(0,jsx_runtime.jsx)(theme_DocSidebarItems,{items:sidebar,activePath:path,onItemClick:item=>{// Mobile sidebar should only be closed if the category has a link if(item.type==='category'&&item.href){mobileSidebar.toggle();}if(item.type==='link'){mobileSidebar.toggle();}},level:1})});};function DocSidebarMobile(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(content/* NavbarSecondaryMenuFiller */.GX,{component:DocSidebarMobileSecondaryMenu,props:props});}/* harmony default export */ const Mobile = (/*#__PURE__*/react.memo(DocSidebarMobile)); ;// ../packages/docusaurus-theme-classic/lib/theme/DocSidebar/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebar(props){const windowSize=(0,useWindowSize/* useWindowSize */.l)();// Desktop sidebar visible on hydration: need SSR rendering const shouldRenderSidebarDesktop=windowSize==='desktop'||windowSize==='ssr';// Mobile sidebar not visible on hydration: can avoid SSR rendering const shouldRenderSidebarMobile=windowSize==='mobile';return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[shouldRenderSidebarDesktop&&/*#__PURE__*/(0,jsx_runtime.jsx)(Desktop,{...props}),shouldRenderSidebarMobile&&/*#__PURE__*/(0,jsx_runtime.jsx)(Mobile,{...props})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css var ExpandButton_styles_module = __webpack_require__(2822); var ExpandButton_styles_module_default = /*#__PURE__*/__webpack_require__.n(ExpandButton_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocRootLayoutSidebarExpandButton({toggleSidebar}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(ExpandButton_styles_module_default()).expandButton,title:(0,Translate/* translate */.T)({id:'theme.docs.sidebar.expandButtonTitle',message:'Expand sidebar',description:'The ARIA label and title attribute for expand button of doc sidebar'}),"aria-label":(0,Translate/* translate */.T)({id:'theme.docs.sidebar.expandButtonAriaLabel',message:'Expand sidebar',description:'The ARIA label and title attribute for expand button of doc sidebar'}),tabIndex:0,role:"button",onKeyDown:toggleSidebar,onClick:toggleSidebar,children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconArrow,{className:(ExpandButton_styles_module_default()).expandButtonIcon})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/Sidebar/styles.module.css var Sidebar_styles_module = __webpack_require__(9359); var Sidebar_styles_module_default = /*#__PURE__*/__webpack_require__.n(Sidebar_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/Sidebar/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Reset sidebar state when sidebar changes // Use React key to unmount/remount the children // See https://github.com/facebook/docusaurus/issues/3414 function ResetOnSidebarChange({children}){const sidebar=(0,docsSidebar/* useDocsSidebar */.t)();return/*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment,{children:children},sidebar?.name??'noSidebar');}function DocRootLayoutSidebar({sidebar,hiddenSidebarContainer,setHiddenSidebarContainer}){const{pathname}=(0,react_router/* useLocation */.zy)();const[hiddenSidebar,setHiddenSidebar]=(0,react.useState)(false);const toggleSidebar=(0,react.useCallback)(()=>{if(hiddenSidebar){setHiddenSidebar(false);}// onTransitionEnd won't fire when sidebar animation is disabled // fixes https://github.com/facebook/docusaurus/issues/8918 if(!hiddenSidebar&&(0,accessibilityUtils/* prefersReducedMotion */.O)()){setHiddenSidebar(true);}setHiddenSidebarContainer(value=>!value);},[setHiddenSidebarContainer,hiddenSidebar]);return/*#__PURE__*/(0,jsx_runtime.jsx)("aside",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.docs.docSidebarContainer,(Sidebar_styles_module_default()).docSidebarContainer,hiddenSidebarContainer&&(Sidebar_styles_module_default()).docSidebarContainerHidden),onTransitionEnd:e=>{if(!e.currentTarget.classList.contains((Sidebar_styles_module_default()).docSidebarContainer)){return;}if(hiddenSidebarContainer){setHiddenSidebar(true);}},children:/*#__PURE__*/(0,jsx_runtime.jsx)(ResetOnSidebarChange,{children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)((Sidebar_styles_module_default()).sidebarViewport,hiddenSidebar&&(Sidebar_styles_module_default()).sidebarViewportHidden),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocSidebar,{sidebar:sidebar,path:pathname,onCollapse:toggleSidebar,isHidden:hiddenSidebar}),hiddenSidebar&&/*#__PURE__*/(0,jsx_runtime.jsx)(DocRootLayoutSidebarExpandButton,{toggleSidebar:toggleSidebar})]})})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/Main/styles.module.css var Main_styles_module = __webpack_require__(1154); var Main_styles_module_default = /*#__PURE__*/__webpack_require__.n(Main_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/Main/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocRootLayoutMain({hiddenSidebarContainer,children}){const sidebar=(0,docsSidebar/* useDocsSidebar */.t)();return/*#__PURE__*/(0,jsx_runtime.jsx)("main",{className:(0,clsx/* default */.A)((Main_styles_module_default()).docMainContainer,(hiddenSidebarContainer||!sidebar)&&(Main_styles_module_default()).docMainContainerEnhanced),children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('container padding-top--md padding-bottom--lg',(Main_styles_module_default()).docItemWrapper,hiddenSidebarContainer&&(Main_styles_module_default()).docItemWrapperEnhanced),children:children})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/styles.module.css var Layout_styles_module = __webpack_require__(2114); var Layout_styles_module_default = /*#__PURE__*/__webpack_require__.n(Layout_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/DocRoot/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocRootLayout({children}){const sidebar=(0,docsSidebar/* useDocsSidebar */.t)();const[hiddenSidebarContainer,setHiddenSidebarContainer]=(0,react.useState)(false);return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(Layout_styles_module_default()).docsWrapper,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(BackToTopButton,{}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(Layout_styles_module_default()).docRoot,children:[sidebar&&/*#__PURE__*/(0,jsx_runtime.jsx)(DocRootLayoutSidebar,{sidebar:sidebar.items,hiddenSidebarContainer:hiddenSidebarContainer,setHiddenSidebarContainer:setHiddenSidebarContainer}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocRootLayoutMain,{hiddenSidebarContainer:hiddenSidebarContainer,children:children})]})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/NotFound/Content/index.js var Content = __webpack_require__(1412); ;// ../packages/docusaurus-theme-classic/lib/theme/DocRoot/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocRoot(props){const currentDocRouteMetadata=(0,docsUtils/* useDocRootMetadata */.B5)(props);if(!currentDocRouteMetadata){// We only render the not found content to avoid a double layout // see https://github.com/facebook/docusaurus/pull/7966#pullrequestreview-1077276692 return/*#__PURE__*/(0,jsx_runtime.jsx)(Content/* default */.A,{});}const{docElement,sidebarName,sidebarItems}=currentDocRouteMetadata;return/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* HtmlClassNameProvider */.e3,{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.page.docsDocPage),children:/*#__PURE__*/(0,jsx_runtime.jsx)(docsSidebar/* DocsSidebarProvider */.V,{name:sidebarName,items:sidebarItems,children:/*#__PURE__*/(0,jsx_runtime.jsx)(DocRootLayout,{children:docElement})})});} /***/ }), /***/ 458: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ DocVersionBadge) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8532); /* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8218); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocVersionBadge({className}){const versionMetadata=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_3__/* .useDocsVersion */ .r)();if(versionMetadata.badge){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("span",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(className,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__/* .ThemeClassNames */ .G.docs.docVersionBadge,'badge badge--secondary'),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.docs.versionBadge.label",values:{versionLabel:versionMetadata.label},children:'Version: {versionLabel}'})});}return null;} /***/ }), /***/ 913: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ DocVersionBanner) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1571); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1349); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5996); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8532); /* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2375); /* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8218); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function UnreleasedVersionLabel({siteTitle,versionMetadata}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle,versionLabel:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b",{children:versionMetadata.label})},children:'This is unreleased documentation for {siteTitle} {versionLabel} version.'});}function UnmaintainedVersionLabel({siteTitle,versionMetadata}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle,versionLabel:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b",{children:versionMetadata.label})},children:'This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.'});}const BannerLabelComponents={unreleased:UnreleasedVersionLabel,unmaintained:UnmaintainedVersionLabel};function BannerLabel(props){const BannerLabelComponent=BannerLabelComponents[props.versionMetadata.banner];return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(BannerLabelComponent,{...props});}function LatestVersionSuggestionLabel({versionLabel,to,onClick}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel,latestVersionLink:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{to:to,onClick:onClick,children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:'For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).'});}function DocVersionBannerEnabled({className,versionMetadata}){const{siteConfig:{title:siteTitle}}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)();const{pluginId}=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__/* .useActivePlugin */ .vT)({failfast:true});const getVersionMainDoc=version=>version.docs.find(doc=>doc.id===version.mainDocId);const{savePreferredVersionName}=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_6__/* .useDocsPreferredVersion */ .g1)(pluginId);const{latestDocSuggestion,latestVersionSuggestion}=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__/* .useDocVersionSuggestions */ .HW)(pluginId);// Try to link to same doc in latest version (not always possible), falling // back to main doc of latest version const latestVersionSuggestedDoc=latestDocSuggestion??getVersionMainDoc(latestVersionSuggestion);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(className,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_8__/* .ThemeClassNames */ .G.docs.docVersionBanner,'alert alert--warning margin-bottom--md'),role:"alert",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(BannerLabel,{siteTitle:siteTitle,versionMetadata:versionMetadata})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div",{className:"margin-top--md",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(LatestVersionSuggestionLabel,{versionLabel:latestVersionSuggestion.label,to:latestVersionSuggestedDoc.path,onClick:()=>savePreferredVersionName(latestVersionSuggestion.name)})})]});}function DocVersionBanner({className}){const versionMetadata=(0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_9__/* .useDocsVersion */ .r)();if(versionMetadata.banner){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(DocVersionBannerEnabled,{className:className,versionMetadata:versionMetadata});}return null;} /***/ }), /***/ 9660: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ DocVersionRoot) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); ;// ../packages/docusaurus-plugin-content-docs/lib/client/docsSearch.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** The search tag to append as each doc's metadata. */function getDocsVersionSearchTag(pluginId,versionName){return`docs-${pluginId}-${versionName}`;}/** * Gets the relevant docs tags to search. * This is the logic that powers the contextual search feature. * * If user is browsing Android 1.4 docs, he'll get presented with: * - Android '1.4' docs * - iOS 'preferred | latest' docs * * The result is generic and not coupled to Algolia/DocSearch on purpose. */function useDocsContextualSearchTags(){const allDocsData=useAllDocsData();const activePluginAndVersion=useActivePluginAndVersion();const docsPreferredVersionByPluginId=useDocsPreferredVersionByPluginId();// This can't use more specialized hooks because we are mapping over all // plugin instances. function getDocPluginTags(pluginId){const activeVersion=activePluginAndVersion?.activePlugin.pluginId===pluginId?activePluginAndVersion.activeVersion:undefined;const preferredVersion=docsPreferredVersionByPluginId[pluginId];const latestVersion=allDocsData[pluginId].versions.find(v=>v.isLast);const version=activeVersion??preferredVersion??latestVersion;return getDocsVersionSearchTag(pluginId,version.name);}return[...Object.keys(allDocsData).map(getDocPluginTags)];} // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsVersion.js var docsVersion = __webpack_require__(8218); // EXTERNAL MODULE: ../node_modules/react-router-config/esm/react-router-config.js var react_router_config = __webpack_require__(3971); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/SearchMetadata/index.js var SearchMetadata = __webpack_require__(3308); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/DocVersionRoot/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocVersionRootMetadata(props){const{version}=props;return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(SearchMetadata/* default */.A,{version:version.version,tag:getDocsVersionSearchTag(version.pluginId,version.version)}),/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{children:version.noIndex&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]});}function DocVersionRootContent(props){const{version,route}=props;return/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* HtmlClassNameProvider */.e3,{className:version.className,children:/*#__PURE__*/(0,jsx_runtime.jsx)(docsVersion/* DocsVersionProvider */.n,{version:version,children:(0,react_router_config/* renderRoutes */.v)(route.routes)})});}function DocVersionRoot(props){return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(DocVersionRootMetadata,{...props}),/*#__PURE__*/(0,jsx_runtime.jsx)(DocVersionRootContent,{...props})]});} /***/ }), /***/ 7602: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ DocsRoot) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5861); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8532); /* harmony import */ var _docusaurus_renderRoutes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3971); /* harmony import */ var _theme_Layout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3305); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocsRoot(props){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .HtmlClassNameProvider */ .e3,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__/* .ThemeClassNames */ .G.wrapper.docsPages),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_theme_Layout__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{children:(0,_docusaurus_renderRoutes__WEBPACK_IMPORTED_MODULE_6__/* .renderRoutes */ .v)(props.route.routes)})});} /***/ }), /***/ 9738: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ EditMetaRow) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/Edit/styles.module.css var styles_module = __webpack_require__(2433); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Edit/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconEdit({className,...restProps}){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,clsx/* default */.A)((styles_module_default()).iconEdit,className),"aria-hidden":"true",...restProps,children:/*#__PURE__*/(0,jsx_runtime.jsx)("g",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})});} ;// ../packages/docusaurus-theme-classic/lib/theme/EditThisPage/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function EditThisPage({editUrl}){return/*#__PURE__*/(0,jsx_runtime.jsxs)(Link/* default */.A,{to:editUrl,className:ThemeClassNames/* ThemeClassNames */.G.common.editThisPage,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(IconEdit,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/IntlUtils.js var IntlUtils = __webpack_require__(9153); ;// ../packages/docusaurus-theme-classic/lib/theme/LastUpdated/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function LastUpdatedAtDate({lastUpdatedAt}){const atDate=new Date(lastUpdatedAt);const dateTimeFormat=(0,IntlUtils/* useDateTimeFormat */.i)({day:'numeric',month:'short',year:'numeric',timeZone:'UTC'});const formattedLastUpdatedAt=dateTimeFormat.format(atDate);return/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:/*#__PURE__*/(0,jsx_runtime.jsx)("b",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("time",{dateTime:atDate.toISOString(),itemProp:"dateModified",children:formattedLastUpdatedAt})})},children:' on {date}'});}function LastUpdatedByUser({lastUpdatedBy}){return/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:/*#__PURE__*/(0,jsx_runtime.jsx)("b",{children:lastUpdatedBy})},children:' by {user}'});}function LastUpdated({lastUpdatedAt,lastUpdatedBy}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:ThemeClassNames/* ThemeClassNames */.G.common.lastUpdated,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:lastUpdatedAt?/*#__PURE__*/(0,jsx_runtime.jsx)(LastUpdatedAtDate,{lastUpdatedAt:lastUpdatedAt}):'',byUser:lastUpdatedBy?/*#__PURE__*/(0,jsx_runtime.jsx)(LastUpdatedByUser,{lastUpdatedBy:lastUpdatedBy}):''},children:'Last updated{atDate}{byUser}'}), false&&/*#__PURE__*/0]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/EditMetaRow/styles.module.css var EditMetaRow_styles_module = __webpack_require__(466); var EditMetaRow_styles_module_default = /*#__PURE__*/__webpack_require__.n(EditMetaRow_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/EditMetaRow/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function EditMetaRow({className,editUrl,lastUpdatedAt,lastUpdatedBy}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('row',className),children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"col",children:editUrl&&/*#__PURE__*/(0,jsx_runtime.jsx)(EditThisPage,{editUrl:editUrl})}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)('col',(EditMetaRow_styles_module_default()).lastUpdated),children:(lastUpdatedAt||lastUpdatedBy)&&/*#__PURE__*/(0,jsx_runtime.jsx)(LastUpdated,{lastUpdatedAt:lastUpdatedAt,lastUpdatedBy:lastUpdatedBy})})]});} /***/ }), /***/ 6813: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ Heading) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6963); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1349); /* harmony import */ var _docusaurus_useBrokenLinks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1900); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4693); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Heading({as:As,id,...props}){const brokenLinks=(0,_docusaurus_useBrokenLinks__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)();const{navbar:{hideOnScroll}}=(0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_6__/* .useThemeConfig */ .p)();// H1 headings do not need an id because they don't appear in the TOC. if(As==='h1'||!id){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(As,{...props,id:undefined});}brokenLinks.collectAnchor(id);const anchorTitle=(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.common.headingLinkTitle',message:'Direct link to {heading}',description:'Title for link to heading'},{heading:typeof props.children==='string'?props.children:id});return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(As,{...props,className:(0,clsx__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)('anchor',hideOnScroll?(_styles_module_css__WEBPACK_IMPORTED_MODULE_4___default().anchorWithHideOnScrollNavbar):(_styles_module_css__WEBPACK_IMPORTED_MODULE_4___default().anchorWithStickyNavbar),props.className),id:id,children:[props.children,/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{className:"hash-link",to:`#${id}`,"aria-label":anchorTitle,title:anchorTitle,children:"\u200B"})]});} /***/ }), /***/ 6414: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ IconExternalLink) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5708); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// References symbol in docusaurus-theme-classic/src/inlineSvgSprites.ts // See why: https://github.com/facebook/docusaurus/issues/5865 const svgSprite='#theme-svg-external-link';function IconExternalLink({width=13.5,height=13.5}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("svg",{width:width,height:height,"aria-hidden":"true",className:(_styles_module_css__WEBPACK_IMPORTED_MODULE_1___default().iconExternalLink),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("use",{href:svgSprite})});} /***/ }), /***/ 3305: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ Layout) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/ErrorBoundary.js + 1 modules var ErrorBoundary = __webpack_require__(5769); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useLocationChange.js var useLocationChange = __webpack_require__(8701); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-common/lib/utils/skipToContentUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * The id of the element that should become focused on a page * that does not have a
html tag. * Focusing the Docusaurus Layout children is a reasonable fallback. * * __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors * https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368 */const SkipToContentFallbackId='__docusaurus_skipToContent_fallback';/** * Returns the skip to content element to focus when the link is clicked. */function getSkipToContentTarget(){return(// Try to focus the
in priority // Note: this will only work if JS is enabled // See https://github.com/facebook/docusaurus/issues/6411#issuecomment-1284136069 document.querySelector('main:first-of-type')??// Then try to focus the fallback element (usually the Layout children) document.getElementById(SkipToContentFallbackId));}function programmaticFocus(el){el.setAttribute('tabindex','-1');el.focus();el.removeAttribute('tabindex');}/** This hook wires the logic for a skip-to-content link. */function useSkipToContent(){const containerRef=(0,react.useRef)(null);const{action}=(0,react_router/* useHistory */.W6)();const onClick=(0,react.useCallback)(e=>{e.preventDefault();const targetElement=getSkipToContentTarget();if(targetElement){programmaticFocus(targetElement);}},[]);// "Reset" focus when navigating. // See https://github.com/facebook/docusaurus/pull/8204#issuecomment-1276547558 (0,useLocationChange/* useLocationChange */.$)(({location})=>{if(containerRef.current&&!location.hash&&action==='PUSH'){programmaticFocus(containerRef.current);}});return{containerRef,onClick};}const DefaultSkipToContentLabel=(0,Translate/* translate */.T)({id:'theme.common.skipToMainContent',description:'The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation',message:'Skip to main content'});function SkipToContentLink(props){const linkLabel=props.children??DefaultSkipToContentLabel;const{containerRef,onClick}=useSkipToContent();return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{ref:containerRef,role:"region","aria-label":DefaultSkipToContentLabel,children:/*#__PURE__*/(0,jsx_runtime.jsx)("a",{...props,// Note this is a fallback href in case JS is disabled // It has limitations, see https://github.com/facebook/docusaurus/issues/6411#issuecomment-1284136069 href:`#${SkipToContentFallbackId}`,onClick:onClick,children:linkLabel})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/hooks/useKeyboardNavigation.js var useKeyboardNavigation = __webpack_require__(4684); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/SkipToContent/styles.module.css var styles_module = __webpack_require__(8858); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/SkipToContent/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function SkipToContent(){return/*#__PURE__*/(0,jsx_runtime.jsx)(SkipToContentLink,{className:(styles_module_default()).skipToContent});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/announcementBar.js var contexts_announcementBar = __webpack_require__(3228); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Close/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconClose({width=21,height=21,color='currentColor',strokeWidth=1.2,className,...restProps}){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 15 15",width:width,height:height,...restProps,children:/*#__PURE__*/(0,jsx_runtime.jsx)("g",{stroke:color,strokeWidth:strokeWidth,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/AnnouncementBar/CloseButton/styles.module.css var CloseButton_styles_module = __webpack_require__(8470); var CloseButton_styles_module_default = /*#__PURE__*/__webpack_require__.n(CloseButton_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/AnnouncementBar/CloseButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AnnouncementBarCloseButton(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button","aria-label":(0,Translate/* translate */.T)({id:'theme.AnnouncementBar.closeButtonAriaLabel',message:'Close',description:'The ARIA label for close button of announcement bar'}),...props,className:(0,clsx/* default */.A)('clean-btn close',(CloseButton_styles_module_default()).closeButton,props.className),children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconClose,{width:14,height:14,strokeWidth:3.1})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/AnnouncementBar/Content/styles.module.css var Content_styles_module = __webpack_require__(6369); var Content_styles_module_default = /*#__PURE__*/__webpack_require__.n(Content_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/AnnouncementBar/Content/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AnnouncementBarContent(props){const{announcementBar}=(0,useThemeConfig/* useThemeConfig */.p)();const{content}=announcementBar;return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{...props,className:(0,clsx/* default */.A)((Content_styles_module_default()).content,props.className)// Developer provided the HTML, so assume it's safe. // eslint-disable-next-line react/no-danger ,dangerouslySetInnerHTML:{__html:content}});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/AnnouncementBar/styles.module.css var AnnouncementBar_styles_module = __webpack_require__(4459); var AnnouncementBar_styles_module_default = /*#__PURE__*/__webpack_require__.n(AnnouncementBar_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/AnnouncementBar/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function AnnouncementBar(){const{announcementBar}=(0,useThemeConfig/* useThemeConfig */.p)();const{isActive,close}=(0,contexts_announcementBar/* useAnnouncementBar */.M)();if(!isActive){return null;}const{backgroundColor,textColor,isCloseable}=announcementBar;return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.announcementBar.container,(AnnouncementBar_styles_module_default()).announcementBar),style:{backgroundColor,color:textColor},role:"banner",children:[isCloseable&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(AnnouncementBar_styles_module_default()).announcementBarPlaceholder}),/*#__PURE__*/(0,jsx_runtime.jsx)(AnnouncementBarContent,{className:(AnnouncementBar_styles_module_default()).announcementBarContent}),isCloseable&&/*#__PURE__*/(0,jsx_runtime.jsx)(AnnouncementBarCloseButton,{onClick:close,className:(AnnouncementBar_styles_module_default()).announcementBarClose})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/navbarMobileSidebar.js + 1 modules var navbarMobileSidebar = __webpack_require__(1021); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/scrollUtils.js var scrollUtils = __webpack_require__(4195); ;// ../packages/docusaurus-theme-common/lib/hooks/useHideableNavbar.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Wires the imperative logic of a hideable navbar. * @param hideOnScroll If `false`, this hook is basically a no-op. */function useHideableNavbar(hideOnScroll){const[isNavbarVisible,setIsNavbarVisible]=(0,react.useState)(hideOnScroll);const isFocusedAnchor=(0,react.useRef)(false);const navbarHeight=(0,react.useRef)(0);const navbarRef=(0,react.useCallback)(node=>{if(node!==null){navbarHeight.current=node.getBoundingClientRect().height;}},[]);(0,scrollUtils/* useScrollPosition */.Mq)(({scrollY:scrollTop},lastPosition)=>{if(!hideOnScroll){return;}// Needed mostly for handling rubber band scrolling. // See https://github.com/facebook/docusaurus/pull/5721 if(scrollTop=lastScrollTop){setIsNavbarVisible(false);}else if(scrollTop+windowHeight{if(!hideOnScroll){return;}// See https://github.com/facebook/docusaurus/pull/8059#issuecomment-1239639480 const currentHash=locationChangeEvent.location.hash;const currentHashAnchor=currentHash?document.getElementById(currentHash.substring(1)):undefined;if(currentHashAnchor){isFocusedAnchor.current=true;setIsNavbarVisible(false);return;}setIsNavbarVisible(true);});return{navbarRef,isNavbarVisible};} ;// ../packages/docusaurus-theme-common/lib/hooks/useLockBodyScroll.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Side-effect that locks the document body's scroll throughout the lifetime of * the containing component. e.g. when the mobile sidebar is expanded. */function useLockBodyScroll(lock=true){(0,react.useEffect)(()=>{document.body.style.overflow=lock?'hidden':'visible';return()=>{document.body.style.overflow='visible';};},[lock]);} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/reactUtils.js var reactUtils = __webpack_require__(9129); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/navbarSecondaryMenu/content.js var navbarSecondaryMenu_content = __webpack_require__(5105); ;// ../packages/docusaurus-theme-common/lib/contexts/navbarSecondaryMenu/display.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react.createContext(null);function useContextValue(){const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();const content=(0,navbarSecondaryMenu_content/* useNavbarSecondaryMenuContent */.YL)();const[shown,setShown]=(0,react.useState)(false);const hasContent=content.component!==null;const previousHasContent=(0,reactUtils/* usePrevious */.ZC)(hasContent);// When content is become available for the first time (set in useEffect) // we set this content to be shown! (0,react.useEffect)(()=>{const contentBecameAvailable=hasContent&&!previousHasContent;if(contentBecameAvailable){setShown(true);}},[hasContent,previousHasContent]);// On sidebar close, secondary menu is set to be shown on next re-opening // (if any secondary menu content available) (0,react.useEffect)(()=>{if(!hasContent){setShown(false);return;}if(!mobileSidebar.shown){setShown(true);}},[mobileSidebar.shown,hasContent]);return (0,react.useMemo)(()=>[shown,setShown],[shown]);}/** @internal */function NavbarSecondaryMenuDisplayProvider({children}){const value=useContextValue();return/*#__PURE__*/(0,jsx_runtime.jsx)(Context.Provider,{value:value,children:children});}function renderElement(content){if(content.component){const Comp=content.component;return/*#__PURE__*/(0,jsx_runtime.jsx)(Comp,{...content.props});}return undefined;}/** Wires the logic for rendering the mobile navbar secondary menu. */function useNavbarSecondaryMenu(){const value=(0,react.useContext)(Context);if(!value){throw new reactUtils/* ReactContextError */.dV('NavbarSecondaryMenuDisplayProvider');}const[shown,setShown]=value;const hide=(0,react.useCallback)(()=>setShown(false),[setShown]);const content=(0,navbarSecondaryMenu_content/* useNavbarSecondaryMenuContent */.YL)();return (0,react.useMemo)(()=>({shown,hide,content:renderElement(content)}),[hide,content,shown]);} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/MobileSidebar/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// TODO Docusaurus v4: remove temporary inert workaround // See https://github.com/facebook/react/issues/17157 // See https://github.com/radix-ui/themes/pull/509 function inertProps(inert){const isBeforeReact19=parseInt(react.version.split('.')[0],10)<19;if(isBeforeReact19){return{inert:inert?'':undefined};}return{inert};}function NavbarMobileSidebarPanel({children,inert}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.navbar.mobileSidebar.panel,'navbar-sidebar__item menu'),...inertProps(inert),children:children});}function NavbarMobileSidebarLayout({header,primaryMenu,secondaryMenu}){const{shown:secondaryMenuShown}=useNavbarSecondaryMenu();return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.navbar.mobileSidebar.container,'navbar-sidebar'),children:[header,/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('navbar-sidebar__items',{'navbar-sidebar__items--show-secondary':secondaryMenuShown}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobileSidebarPanel,{inert:secondaryMenuShown,children:primaryMenu}),/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobileSidebarPanel,{inert:!secondaryMenuShown,children:secondaryMenu})]})]});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/colorMode.js var contexts_colorMode = __webpack_require__(5407); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useIsBrowser.js var useIsBrowser = __webpack_require__(3754); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/LightMode/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconLightMode(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/DarkMode/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconDarkMode(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/ColorModeToggle/styles.module.css var ColorModeToggle_styles_module = __webpack_require__(6583); var ColorModeToggle_styles_module_default = /*#__PURE__*/__webpack_require__.n(ColorModeToggle_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/ColorModeToggle/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ColorModeToggle({className,buttonClassName,value,onChange}){const isBrowser=(0,useIsBrowser/* default */.A)();const title=(0,Translate/* translate */.T)({message:'Switch between dark and light mode (currently {mode})',id:'theme.colorToggle.ariaLabel',description:'The ARIA label for the navbar color mode toggle'},{mode:value==='dark'?(0,Translate/* translate */.T)({message:'dark mode',id:'theme.colorToggle.ariaLabel.mode.dark',description:'The name for the dark color mode'}):(0,Translate/* translate */.T)({message:'light mode',id:'theme.colorToggle.ariaLabel.mode.light',description:'The name for the light color mode'})});return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)((ColorModeToggle_styles_module_default()).toggle,className),children:/*#__PURE__*/(0,jsx_runtime.jsxs)("button",{className:(0,clsx/* default */.A)('clean-btn',(ColorModeToggle_styles_module_default()).toggleButton,!isBrowser&&(ColorModeToggle_styles_module_default()).toggleButtonDisabled,buttonClassName),type:"button",onClick:()=>onChange(value==='dark'?'light':'dark'),disabled:!isBrowser,title:title,"aria-label":title,"aria-live":"polite","aria-pressed":value==='dark'?'true':'false',children:[/*#__PURE__*/(0,jsx_runtime.jsx)(IconLightMode,{className:(0,clsx/* default */.A)((ColorModeToggle_styles_module_default()).toggleIcon,(ColorModeToggle_styles_module_default()).lightToggleIcon)}),/*#__PURE__*/(0,jsx_runtime.jsx)(IconDarkMode,{className:(0,clsx/* default */.A)((ColorModeToggle_styles_module_default()).toggleIcon,(ColorModeToggle_styles_module_default()).darkToggleIcon)})]})});}/* harmony default export */ const theme_ColorModeToggle = (/*#__PURE__*/react.memo(ColorModeToggle)); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Navbar/ColorModeToggle/styles.module.css var Navbar_ColorModeToggle_styles_module = __webpack_require__(6746); var Navbar_ColorModeToggle_styles_module_default = /*#__PURE__*/__webpack_require__.n(Navbar_ColorModeToggle_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/ColorModeToggle/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NavbarColorModeToggle({className}){const navbarStyle=(0,useThemeConfig/* useThemeConfig */.p)().navbar.style;const disabled=(0,useThemeConfig/* useThemeConfig */.p)().colorMode.disableSwitch;const{colorMode,setColorMode}=(0,contexts_colorMode/* useColorMode */.G)();if(disabled){return null;}return/*#__PURE__*/(0,jsx_runtime.jsx)(theme_ColorModeToggle,{className:className,buttonClassName:navbarStyle==='dark'?(Navbar_ColorModeToggle_styles_module_default()).darkNavbarColorModeToggle:undefined,value:colorMode,onChange:setColorMode});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Logo/index.js var Logo = __webpack_require__(310); ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/Logo/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NavbarLogo(){return/*#__PURE__*/(0,jsx_runtime.jsx)(Logo/* default */.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"});} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/MobileSidebar/Header/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function CloseButton(){const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button","aria-label":(0,Translate/* translate */.T)({id:'theme.docs.sidebar.closeSidebarButtonAriaLabel',message:'Close navigation bar',description:'The ARIA label for close button of mobile sidebar'}),className:"clean-btn navbar-sidebar__close",onClick:()=>mobileSidebar.toggle(),children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconClose,{color:"var(--ifm-color-emphasis-600)"})});}function NavbarMobileSidebarHeader(){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"navbar-sidebar__brand",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarLogo,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarColorModeToggle,{className:"margin-right--md"}),/*#__PURE__*/(0,jsx_runtime.jsx)(CloseButton,{})]});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/isInternalUrl.js var isInternalUrl = __webpack_require__(73); ;// ../packages/docusaurus-theme-common/lib/utils/regexpUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Matches a string regex (as provided from the config) against a target in a * null-safe fashion, case insensitive and global. */function isRegexpStringMatch(regexAsString,valueToTest){if(typeof regexAsString==='undefined'||typeof valueToTest==='undefined'){return false;}return new RegExp(regexAsString,'gi').test(valueToTest);} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Icon/ExternalLink/index.js var ExternalLink = __webpack_require__(6414); ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/NavbarNavLink.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NavbarNavLink({activeBasePath,activeBaseRegex,to,href,label,html,isDropdownLink,prependBaseUrlToHref,...props}){// TODO all this seems hacky // {to: 'version'} should probably be forbidden, in favor of {to: '/version'} const toUrl=(0,useBaseUrl/* default */.Ay)(to);const activeBaseUrl=(0,useBaseUrl/* default */.Ay)(activeBasePath);const normalizedHref=(0,useBaseUrl/* default */.Ay)(href,{forcePrependBaseUrl:true});const isExternalLink=label&&href&&!(0,isInternalUrl/* default */.A)(href);// Link content is set through html XOR label const linkContentProps=html?{dangerouslySetInnerHTML:{__html:html}}:{children:/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[label,isExternalLink&&/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalLink/* default */.A,{...(isDropdownLink&&{width:12,height:12})})]})};if(href){return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{href:prependBaseUrlToHref?normalizedHref:href,...props,...linkContentProps});}return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{to:toUrl,isNavLink:true,...((activeBasePath||activeBaseRegex)&&{isActive:(_match,location)=>activeBaseRegex?isRegexpStringMatch(activeBaseRegex,location.pathname):location.pathname.startsWith(activeBaseUrl)}),...props,...linkContentProps});} ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DefaultNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DefaultNavbarItemDesktop({className,isDropdownItem=false,...props}){const element=/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarNavLink,{className:(0,clsx/* default */.A)(isDropdownItem?'dropdown__link':'navbar__item navbar__link',className),isDropdownLink:isDropdownItem,...props});if(isDropdownItem){return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{children:element});}return element;}function DefaultNavbarItemMobile({className,isDropdownItem,...props}){return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:"menu__list-item",children:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarNavLink,{className:(0,clsx/* default */.A)('menu__link',className),...props})});}function DefaultNavbarItem({mobile=false,position,// Need to destructure position from props so that it doesn't get passed on. ...props}){const Comp=mobile?DefaultNavbarItemMobile:DefaultNavbarItemDesktop;return/*#__PURE__*/(0,jsx_runtime.jsx)(Comp,{...props,activeClassName:props.activeClassName??(mobile?'menu__link--active':'navbar__link--active')});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/components/Collapsible/index.js var Collapsible = __webpack_require__(343); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/routesUtils.js var routesUtils = __webpack_require__(5438); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); ;// ../packages/docusaurus-theme-common/lib/utils/useLocalPathname.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Get the pathname of current route, without the optional site baseUrl. * - `/docs/myDoc` => `/docs/myDoc` * - `/baseUrl/docs/myDoc` => `/docs/myDoc` */function useLocalPathname(){const{siteConfig:{baseUrl}}=(0,useDocusaurusContext/* default */.A)();const{pathname}=(0,react_router/* useLocation */.zy)();return pathname.replace(baseUrl,'/');} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DropdownNavbarItem/styles.module.css var DropdownNavbarItem_styles_module = __webpack_require__(5389); var DropdownNavbarItem_styles_module_default = /*#__PURE__*/__webpack_require__.n(DropdownNavbarItem_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DropdownNavbarItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function isItemActive(item,localPathname){if((0,routesUtils/* isSamePath */.ys)(item.to,localPathname)){return true;}if(isRegexpStringMatch(item.activeBaseRegex,localPathname)){return true;}if(item.activeBasePath&&localPathname.startsWith(item.activeBasePath)){return true;}return false;}function containsActiveItems(items,localPathname){return items.some(item=>isItemActive(item,localPathname));}function DropdownNavbarItemDesktop({items,position,className,onClick,...props}){const dropdownRef=(0,react.useRef)(null);const[showDropdown,setShowDropdown]=(0,react.useState)(false);(0,react.useEffect)(()=>{const handleClickOutside=event=>{if(!dropdownRef.current||dropdownRef.current.contains(event.target)){return;}setShowDropdown(false);};document.addEventListener('mousedown',handleClickOutside);document.addEventListener('touchstart',handleClickOutside);document.addEventListener('focusin',handleClickOutside);return()=>{document.removeEventListener('mousedown',handleClickOutside);document.removeEventListener('touchstart',handleClickOutside);document.removeEventListener('focusin',handleClickOutside);};},[dropdownRef]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{ref:dropdownRef,className:(0,clsx/* default */.A)('navbar__item','dropdown','dropdown--hoverable',{'dropdown--right':position==='right','dropdown--show':showDropdown}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarNavLink,{"aria-haspopup":"true","aria-expanded":showDropdown,role:"button"// # hash permits to make the tag focusable in case no link target // See https://github.com/facebook/docusaurus/pull/6003 // There's probably a better solution though... ,href:props.to?undefined:'#',className:(0,clsx/* default */.A)('navbar__link',className),...props,onClick:props.to?undefined:e=>e.preventDefault(),onKeyDown:e=>{if(e.key==='Enter'){e.preventDefault();setShowDropdown(!showDropdown);}},children:props.children??props.label}),/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:"dropdown__menu",children:items.map((childItemProps,i)=>/*#__PURE__*/(0,react.createElement)(NavbarItem,{isDropdownItem:true,activeClassName:"dropdown__link--active",...childItemProps,key:i}))})]});}function DropdownNavbarItemMobile({items,className,position,// Need to destructure position from props so that it doesn't get passed on. onClick,...props}){const localPathname=useLocalPathname();const containsActive=containsActiveItems(items,localPathname);const{collapsed,toggleCollapsed,setCollapsed}=(0,Collapsible/* useCollapsible */.u)({initialState:()=>!containsActive});// Expand/collapse if any item active after a navigation (0,react.useEffect)(()=>{if(containsActive){setCollapsed(!containsActive);}},[localPathname,containsActive,setCollapsed]);return/*#__PURE__*/(0,jsx_runtime.jsxs)("li",{className:(0,clsx/* default */.A)('menu__list-item',{'menu__list-item--collapsed':collapsed}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarNavLink,{role:"button",className:(0,clsx/* default */.A)((DropdownNavbarItem_styles_module_default()).dropdownNavbarItemMobile,'menu__link menu__link--sublist menu__link--sublist-caret',className)// # hash permits to make the tag focusable in case no link target // See https://github.com/facebook/docusaurus/pull/6003 // There's probably a better solution though... ,href:props.to?undefined:'#',...props,onClick:e=>{e.preventDefault();toggleCollapsed();},children:props.children??props.label}),/*#__PURE__*/(0,jsx_runtime.jsx)(Collapsible/* Collapsible */.N,{lazy:true,as:"ul",className:"menu__list",collapsed:collapsed,children:items.map((childItemProps,i)=>/*#__PURE__*/(0,react.createElement)(NavbarItem,{mobile:true,isDropdownItem:true,onClick:onClick,activeClassName:"menu__link--active",...childItemProps,key:i}))})]});}function DropdownNavbarItem({mobile=false,...props}){const Comp=mobile?DropdownNavbarItemMobile:DropdownNavbarItemDesktop;return/*#__PURE__*/(0,jsx_runtime.jsx)(Comp,{...props});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useAlternatePageUtils.js var useAlternatePageUtils = __webpack_require__(5040); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Language/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconLanguage({width=20,height=20,...props}){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",width:width,height:height,"aria-hidden":true,...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css var LocaleDropdownNavbarItem_styles_module = __webpack_require__(3403); var LocaleDropdownNavbarItem_styles_module_default = /*#__PURE__*/__webpack_require__.n(LocaleDropdownNavbarItem_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function LocaleDropdownNavbarItem({mobile,dropdownItemsBefore,dropdownItemsAfter,queryString='',...props}){const{i18n:{currentLocale,locales,localeConfigs}}=(0,useDocusaurusContext/* default */.A)();const alternatePageUtils=(0,useAlternatePageUtils/* useAlternatePageUtils */.o)();const{search,hash}=(0,react_router/* useLocation */.zy)();const localeItems=locales.map(locale=>{const baseTo=`pathname://${alternatePageUtils.createUrl({locale,fullyQualified:false})}`;// preserve ?search#hash suffix on locale switches const to=`${baseTo}${search}${hash}${queryString}`;return{label:localeConfigs[locale].label,lang:localeConfigs[locale].htmlLang,to,target:'_self',autoAddBaseUrl:false,className:// eslint-disable-next-line no-nested-ternary locale===currentLocale?// Similar idea as DefaultNavbarItem: select the right Infima active // class name. This cannot be substituted with isActive, because the // target URLs contain `pathname://` and therefore are not NavLinks! mobile?'menu__link--active':'dropdown__link--active':''};});const items=[...dropdownItemsBefore,...localeItems,...dropdownItemsAfter];// Mobile is handled a bit differently const dropdownLabel=mobile?(0,Translate/* translate */.T)({message:'Languages',id:'theme.navbar.mobileLanguageDropdown.label',description:'The label for the mobile language switcher dropdown'}):localeConfigs[currentLocale].label;return/*#__PURE__*/(0,jsx_runtime.jsx)(DropdownNavbarItem,{...props,mobile:mobile,label:/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(IconLanguage,{className:(LocaleDropdownNavbarItem_styles_module_default()).iconLanguage}),dropdownLabel]}),items:items});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Noop.js var Noop = __webpack_require__(219); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Navbar/Search/styles.module.css var Search_styles_module = __webpack_require__(5810); var Search_styles_module_default = /*#__PURE__*/__webpack_require__.n(Search_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/Search/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NavbarSearch({children,className}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)(className,(Search_styles_module_default()).navbarSearchContainer),children:children});} ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/SearchNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function SearchNavbarItem({mobile,className}){if(mobile){return null;}return/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarSearch,{className:className,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Noop/* default */.A,{})});} ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/HtmlNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function HtmlNavbarItem({value,className,mobile=false,isDropdownItem=false}){const Comp=isDropdownItem?'li':'div';return/*#__PURE__*/(0,jsx_runtime.jsx)(Comp,{className:(0,clsx/* default */.A)({navbar__item:!mobile&&!isDropdownItem,'menu__list-item':mobile},className),dangerouslySetInnerHTML:{__html:value}});} // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/index.js + 2 modules var client = __webpack_require__(5996); // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsUtils.js var docsUtils = __webpack_require__(4271); ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DocNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocNavbarItem({docId,label:staticLabel,docsPluginId,...props}){const{activeDoc}=(0,client/* useActiveDocContext */.zK)(docsPluginId);const doc=(0,docsUtils/* useLayoutDoc */.QB)(docId,docsPluginId);const pageActive=activeDoc?.path===doc?.path;// Draft and unlisted items are not displayed in the navbar. if(doc===null||doc.unlisted&&!pageActive){return null;}return/*#__PURE__*/(0,jsx_runtime.jsx)(DefaultNavbarItem,{exact:true,...props,isActive:()=>pageActive||!!activeDoc?.sidebar&&activeDoc.sidebar===doc.sidebar,label:staticLabel??doc.id,to:doc.path});} ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DocSidebarNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function DocSidebarNavbarItem({sidebarId,label,docsPluginId,...props}){const{activeDoc}=(0,client/* useActiveDocContext */.zK)(docsPluginId);const sidebarLink=(0,docsUtils/* useLayoutDocsSidebar */.fW)(sidebarId,docsPluginId).link;if(!sidebarLink){throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${sidebarId}" doesn't have anything to be linked to.`);}return/*#__PURE__*/(0,jsx_runtime.jsx)(DefaultNavbarItem,{exact:true,...props,isActive:()=>activeDoc?.sidebar===sidebarId,label:label??sidebarLink.label,to:sidebarLink.path});} ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DocsVersionNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const getVersionMainDoc=version=>version.docs.find(doc=>doc.id===version.mainDocId);function DocsVersionNavbarItem({label:staticLabel,to:staticTo,docsPluginId,...props}){const version=(0,docsUtils/* useDocsVersionCandidates */.Vd)(docsPluginId)[0];const label=staticLabel??version.label;const path=staticTo??getVersionMainDoc(version).path;return/*#__PURE__*/(0,jsx_runtime.jsx)(DefaultNavbarItem,{...props,label:label,to:path});} // EXTERNAL MODULE: ../packages/docusaurus-plugin-content-docs/lib/client/docsPreferredVersion.js var docsPreferredVersion = __webpack_require__(2375); ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function getVersionItems(versions,configs){if(configs){// Collect all the versions we have const versionMap=new Map(versions.map(version=>[version.name,version]));const toVersionItem=(name,config)=>{const version=versionMap.get(name);if(!version){throw new Error(`No docs version exist for name '${name}', please verify your 'docsVersionDropdown' navbar item versions config. Available version names:\n- ${versions.map(v=>`${v.name}`).join('\n- ')}`);}return{version,label:config?.label??version.label};};if(Array.isArray(configs)){return configs.map(name=>toVersionItem(name,undefined));}else{return Object.entries(configs).map(([name,config])=>toVersionItem(name,config));}}else{return versions.map(version=>({version,label:version.label}));}}function useVersionItems({docsPluginId,configs}){const versions=(0,client/* useVersions */.jh)(docsPluginId);return getVersionItems(versions,configs);}function DocsVersionDropdownNavbarItem_getVersionMainDoc(version){return version.docs.find(doc=>doc.id===version.mainDocId);}function getVersionTargetDoc(version,activeDocContext){// We try to link to the same doc, in another version // When not possible, fallback to the "main doc" of the version return activeDocContext.alternateDocVersions[version.name]??DocsVersionDropdownNavbarItem_getVersionMainDoc(version);}// The version item to use for the "dropdown button" function useDisplayedVersionItem({docsPluginId,versionItems}){// The order of the candidates matters! const candidates=(0,docsUtils/* useDocsVersionCandidates */.Vd)(docsPluginId);const candidateItems=candidates.map(candidate=>versionItems.find(vi=>vi.version===candidate)).filter(vi=>vi!==undefined);return candidateItems[0]??versionItems[0];}function DocsVersionDropdownNavbarItem({mobile,docsPluginId,dropdownActiveClassDisabled,dropdownItemsBefore,dropdownItemsAfter,versions:configs,...props}){const{search,hash}=(0,react_router/* useLocation */.zy)();const activeDocContext=(0,client/* useActiveDocContext */.zK)(docsPluginId);const{savePreferredVersionName}=(0,docsPreferredVersion/* useDocsPreferredVersion */.g1)(docsPluginId);const versionItems=useVersionItems({docsPluginId,configs});const displayedVersionItem=useDisplayedVersionItem({docsPluginId,versionItems});function versionItemToLink({version,label}){const targetDoc=getVersionTargetDoc(version,activeDocContext);return{label,// preserve ?search#hash suffix on version switches to:`${targetDoc.path}${search}${hash}`,isActive:()=>version===activeDocContext.activeVersion,onClick:()=>savePreferredVersionName(version.name)};}const items=[...dropdownItemsBefore,...versionItems.map(versionItemToLink),...dropdownItemsAfter];// Mobile dropdown is handled a bit differently const dropdownLabel=mobile&&items.length>1?(0,Translate/* translate */.T)({id:'theme.navbar.mobileVersionsDropdown.label',message:'Versions',description:'The label for the navbar versions dropdown on mobile view'}):displayedVersionItem.label;const dropdownTo=mobile&&items.length>1?undefined:getVersionTargetDoc(displayedVersionItem.version,activeDocContext).path;// We don't want to render a version dropdown with 0 or 1 item. If we build // the site with a single docs version (onlyIncludeVersions: ['1.0.0']), // We'd rather render a button instead of a dropdown if(items.length<=1){return/*#__PURE__*/(0,jsx_runtime.jsx)(DefaultNavbarItem,{...props,mobile:mobile,label:dropdownLabel,to:dropdownTo,isActive:dropdownActiveClassDisabled?()=>false:undefined});}return/*#__PURE__*/(0,jsx_runtime.jsx)(DropdownNavbarItem,{...props,mobile:mobile,label:dropdownLabel,to:dropdownTo,items:items,isActive:dropdownActiveClassDisabled?()=>false:undefined});} ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/ComponentTypes.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const ComponentTypes={default:DefaultNavbarItem,localeDropdown:LocaleDropdownNavbarItem,search:SearchNavbarItem,dropdown:DropdownNavbarItem,html:HtmlNavbarItem,doc:DocNavbarItem,docSidebar:DocSidebarNavbarItem,docsVersion:DocsVersionNavbarItem,docsVersionDropdown:DocsVersionDropdownNavbarItem};/* harmony default export */ const NavbarItem_ComponentTypes = (ComponentTypes); ;// ../packages/docusaurus-theme-classic/lib/theme/NavbarItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function normalizeComponentType(type,props){// Backward compatibility: navbar item with no type set // but containing dropdown items should use the type "dropdown" if(!type||type==='default'){return'items'in props?'dropdown':'default';}return type;}function NavbarItem({type,...props}){const componentType=normalizeComponentType(type,props);const NavbarItemComponent=NavbarItem_ComponentTypes[componentType];if(!NavbarItemComponent){throw new Error(`No NavbarItem component found for type "${type}".`);}return/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarItemComponent,{...props});} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useNavbarItems(){// TODO temporary casting until ThemeConfig type is improved return (0,useThemeConfig/* useThemeConfig */.p)().navbar.items;}// The primary menu displays the navbar items function NavbarMobilePrimaryMenu(){const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();// TODO how can the order be defined for mobile? // Should we allow providing a different list of items? const items=useNavbarItems();return/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:"menu__list",children:items.map((item,i)=>/*#__PURE__*/(0,react.createElement)(NavbarItem,{mobile:true,...item,onClick:()=>mobileSidebar.toggle(),key:i}))});} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function SecondaryMenuBackButton(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{...props,type:"button",className:"clean-btn navbar-sidebar__back",children:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})});}// The secondary menu slides from the right and shows contextual information // such as the docs sidebar function NavbarMobileSidebarSecondaryMenu(){const isPrimaryMenuEmpty=(0,useThemeConfig/* useThemeConfig */.p)().navbar.items.length===0;const secondaryMenu=useNavbarSecondaryMenu();return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[!isPrimaryMenuEmpty&&/*#__PURE__*/(0,jsx_runtime.jsx)(SecondaryMenuBackButton,{onClick:()=>secondaryMenu.hide()}),secondaryMenu.content]});} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/MobileSidebar/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NavbarMobileSidebar(){const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();useLockBodyScroll(mobileSidebar.shown);if(!mobileSidebar.shouldRender){return null;}return/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobileSidebarLayout,{header:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobileSidebarHeader,{}),primaryMenu:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobilePrimaryMenu,{}),secondaryMenu:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobileSidebarSecondaryMenu,{})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Navbar/Layout/styles.module.css var Layout_styles_module = __webpack_require__(8476); var Layout_styles_module_default = /*#__PURE__*/__webpack_require__.n(Layout_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NavbarBackdrop(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{role:"presentation",...props,className:(0,clsx/* default */.A)('navbar-sidebar__backdrop',props.className)});}function NavbarLayout({children}){const{navbar:{hideOnScroll,style}}=(0,useThemeConfig/* useThemeConfig */.p)();const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();const{navbarRef,isNavbarVisible}=useHideableNavbar(hideOnScroll);return/*#__PURE__*/(0,jsx_runtime.jsxs)("nav",{ref:navbarRef,"aria-label":(0,Translate/* translate */.T)({id:'theme.NavBar.navAriaLabel',message:'Main',description:'The ARIA label for the main navigation'}),className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.navbar.container,'navbar','navbar--fixed-top',hideOnScroll&&[(Layout_styles_module_default()).navbarHideable,!isNavbarVisible&&(Layout_styles_module_default()).navbarHidden],{'navbar--dark':style==='dark','navbar--primary':style==='primary','navbar-sidebar--show':mobileSidebar.shown}),children:[children,/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarBackdrop,{onClick:mobileSidebar.toggle}),/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarMobileSidebar,{})]});} // EXTERNAL MODULE: ../packages/docusaurus-utils-common/lib/index.js var lib = __webpack_require__(5819); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/errorBoundaryUtils.module.css var errorBoundaryUtils_module = __webpack_require__(8474); var errorBoundaryUtils_module_default = /*#__PURE__*/__webpack_require__.n(errorBoundaryUtils_module); ;// ../packages/docusaurus-theme-common/lib/utils/errorBoundaryUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ErrorBoundaryTryAgainButton(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})});}// A very simple reusable ErrorBoundary fallback component function ErrorBoundaryErrorMessageFallback({error,tryAgain}){return/*#__PURE__*/_jsxs("div",{className:styles.errorBoundaryFallback,children:[/*#__PURE__*/_jsx("p",{children:error.message}),/*#__PURE__*/_jsx(ErrorBoundaryTryAgainButton,{onClick:tryAgain})]});}function ErrorBoundaryError({error}){const causalChain=(0,lib/* getErrorCausalChain */.rA)(error);const fullMessage=causalChain.map(e=>e.message).join('\n\nCause:\n');return/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:(errorBoundaryUtils_module_default()).errorBoundaryError,children:fullMessage});}/** * This component is useful to wrap a low-level error into a more meaningful * error with extra context, using the ES error-cause feature. * * new Error("extra context message",{cause: error})} * > * * */class ErrorCauseBoundary extends react.Component{componentDidCatch(error,errorInfo){throw this.props.onError(error,errorInfo);}render(){return this.props.children;}} ;// ../packages/docusaurus-theme-common/lib/utils/navbarUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const DefaultNavItemPosition='right';/** * Split links by left/right. If position is unspecified, fallback to right. */function splitNavbarItems(items){function isLeft(item){return(item.position??DefaultNavItemPosition)==='left';}const leftItems=items.filter(isLeft);const rightItems=items.filter(item=>!isLeft(item));return[leftItems,rightItems];}/** * Composes multiple navbar state providers that are mutually dependent and * hence can't be re-ordered. */function NavbarProvider({children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(navbarSecondaryMenu_content/* NavbarSecondaryMenuContentProvider */.y_,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(navbarMobileSidebar/* NavbarMobileSidebarProvider */.e,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarSecondaryMenuDisplayProvider,{children:children})})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Menu/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconMenu({width=30,height=30,className,...restProps}){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{className:className,width:width,height:height,viewBox:"0 0 30 30","aria-hidden":"true",...restProps,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/MobileSidebar/Toggle/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MobileSidebarToggle(){const{toggle,shown}=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{onClick:toggle,"aria-label":(0,Translate/* translate */.T)({id:'theme.docs.sidebar.toggleSidebarButtonAriaLabel',message:'Toggle navigation bar',description:'The ARIA label for hamburger menu button of mobile navigation'}),"aria-expanded":shown,className:"navbar__toggle clean-btn",type:"button",children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconMenu,{})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Navbar/Content/styles.module.css var Navbar_Content_styles_module = __webpack_require__(681); var Navbar_Content_styles_module_default = /*#__PURE__*/__webpack_require__.n(Navbar_Content_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/Content/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Content_useNavbarItems(){// TODO temporary casting until ThemeConfig type is improved return (0,useThemeConfig/* useThemeConfig */.p)().navbar.items;}function NavbarItems({items}){return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:items.map((item,i)=>/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorCauseBoundary,{onError:error=>new Error(`A theme navbar item failed to render. Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: ${JSON.stringify(item,null,2)}`,{cause:error}),children:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarItem,{...item})},i))});}function NavbarContentLayout({left,right}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"navbar__inner",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.navbar.containerLeft,'navbar__items'),children:left}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.navbar.containerRight,'navbar__items navbar__items--right'),children:right})]});}function NavbarContent(){const mobileSidebar=(0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)();const items=Content_useNavbarItems();const[leftItems,rightItems]=splitNavbarItems(items);const searchBarItem=items.find(item=>item.type==='search');return/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarContentLayout,{left:/*#__PURE__*/// TODO stop hardcoding items? (0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[!mobileSidebar.disabled&&/*#__PURE__*/(0,jsx_runtime.jsx)(MobileSidebarToggle,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarLogo,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarItems,{items:leftItems})]}),right:/*#__PURE__*/// TODO stop hardcoding items? // Ask the user to add the respective navbar items => more flexible (0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarItems,{items:rightItems}),/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarColorModeToggle,{className:(Navbar_Content_styles_module_default()).colorModeToggle}),!searchBarItem&&/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarSearch,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(Noop/* default */.A,{})})]})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Navbar/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Navbar(){return/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarLayout,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(NavbarContent,{})});} ;// ../packages/docusaurus-theme-common/lib/utils/footerUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * A rough duck-typing about whether the `footer.links` is intended to be multi- * column. */function isMultiColumnFooterLinks(links){return'title'in links[0];} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/LinkItem/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function FooterLinkItem({item}){const{to,href,label,prependBaseUrlToHref,className,...props}=item;const toUrl=(0,useBaseUrl/* default */.Ay)(to);const normalizedHref=(0,useBaseUrl/* default */.Ay)(href,{forcePrependBaseUrl:true});return/*#__PURE__*/(0,jsx_runtime.jsxs)(Link/* default */.A,{className:(0,clsx/* default */.A)('footer__link-item',className),...(href?{href:prependBaseUrlToHref?normalizedHref:href}:{to:toUrl}),...props,children:[label,href&&!(0,isInternalUrl/* default */.A)(href)&&/*#__PURE__*/(0,jsx_runtime.jsx)(ExternalLink/* default */.A,{})]});} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/Links/MultiColumn/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ColumnLinkItem({item}){return item.html?/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:(0,clsx/* default */.A)('footer__item',item.className)// Developer provided the HTML, so assume it's safe. // eslint-disable-next-line react/no-danger ,dangerouslySetInnerHTML:{__html:item.html}}):/*#__PURE__*/(0,jsx_runtime.jsx)("li",{className:"footer__item",children:/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLinkItem,{item:item})},item.href??item.to);}function Column({column}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.footer.column,'col footer__col',column.className),children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"footer__title",children:column.title}),/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:"footer__items clean-list",children:column.items.map((item,i)=>/*#__PURE__*/(0,jsx_runtime.jsx)(ColumnLinkItem,{item:item},i))})]});}function FooterLinksMultiColumn({columns}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"row footer__links",children:columns.map((column,i)=>/*#__PURE__*/(0,jsx_runtime.jsx)(Column,{column:column},i))});} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/Links/Simple/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Separator(){return/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:"footer__link-separator",children:"\xB7"});}function SimpleLinkItem({item}){return item.html?/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:(0,clsx/* default */.A)('footer__link-item',item.className)// Developer provided the HTML, so assume it's safe. // eslint-disable-next-line react/no-danger ,dangerouslySetInnerHTML:{__html:item.html}}):/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLinkItem,{item:item});}function FooterLinksSimple({links}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"footer__links text--center",children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"footer__links",children:links.map((item,i)=>/*#__PURE__*/(0,jsx_runtime.jsxs)(react.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(SimpleLinkItem,{item:item}),links.length!==i+1&&/*#__PURE__*/(0,jsx_runtime.jsx)(Separator,{})]},i))})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/Links/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function FooterLinks({links}){return isMultiColumnFooterLinks(links)?/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLinksMultiColumn,{columns:links}):/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLinksSimple,{links:links});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/ThemedImage/index.js + 1 modules var ThemedImage = __webpack_require__(5112); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Footer/Logo/styles.module.css var Logo_styles_module = __webpack_require__(3970); var Logo_styles_module_default = /*#__PURE__*/__webpack_require__.n(Logo_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/Logo/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function LogoImage({logo}){const{withBaseUrl}=(0,useBaseUrl/* useBaseUrlUtils */.hH)();const sources={light:withBaseUrl(logo.src),dark:withBaseUrl(logo.srcDark??logo.src)};return/*#__PURE__*/(0,jsx_runtime.jsx)(ThemedImage/* default */.A,{className:(0,clsx/* default */.A)('footer__logo',logo.className),alt:logo.alt,sources:sources,width:logo.width,height:logo.height,style:logo.style});}function FooterLogo({logo}){return logo.href?/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{href:logo.href,className:(Logo_styles_module_default()).footerLogoLink,target:logo.target,children:/*#__PURE__*/(0,jsx_runtime.jsx)(LogoImage,{logo:logo})}):/*#__PURE__*/(0,jsx_runtime.jsx)(LogoImage,{logo:logo});} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/Copyright/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function FooterCopyright({copyright}){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"footer__copyright"// Developer provided the HTML, so assume it's safe. // eslint-disable-next-line react/no-danger ,dangerouslySetInnerHTML:{__html:copyright}});} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function FooterLayout({style,links,logo,copyright}){return/*#__PURE__*/(0,jsx_runtime.jsx)("footer",{className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.footer.container,'footer',{'footer--dark':style==='dark'}),children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"container container-fluid",children:[links,(logo||copyright)&&/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"footer__bottom text--center",children:[logo&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"margin-bottom--sm",children:logo}),copyright]})]})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Footer/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Footer(){const{footer}=(0,useThemeConfig/* useThemeConfig */.p)();if(!footer){return null;}const{copyright,links,logo,style}=footer;return/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLayout,{style:style,links:links&&links.length>0&&/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLinks,{links:links}),logo:logo&&/*#__PURE__*/(0,jsx_runtime.jsx)(FooterLogo,{logo:logo}),copyright:copyright&&/*#__PURE__*/(0,jsx_runtime.jsx)(FooterCopyright,{copyright:copyright})});}/* harmony default export */ const theme_Footer = (/*#__PURE__*/react.memo(Footer)); ;// ../packages/docusaurus-theme-classic/lib/theme/Layout/Provider/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Provider=(0,reactUtils/* composeProviders */.fM)([contexts_colorMode/* ColorModeProvider */.a,contexts_announcementBar/* AnnouncementBarProvider */.o,scrollUtils/* ScrollControllerProvider */.Tv,docsPreferredVersion/* DocsPreferredVersionContextProvider */.VQ,metadataUtils/* PluginHtmlClassNameProvider */.Jx,NavbarProvider]);function LayoutProvider({children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(Provider,{children:children});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); ;// ../packages/docusaurus-theme-classic/lib/theme/ErrorPageContent.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ErrorPageContent({error,tryAgain}){return/*#__PURE__*/(0,jsx_runtime.jsx)("main",{className:"container margin-vert--xl",children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"row",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"col col--6 col--offset-3",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h1",className:"hero__title",children:/*#__PURE__*/(0,jsx_runtime.jsx)(Translate/* default */.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"margin-vert--lg",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorBoundaryTryAgainButton,{onClick:tryAgain,className:"button button--primary shadow--lw"})}),/*#__PURE__*/(0,jsx_runtime.jsx)("hr",{}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"margin-vert--md",children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorBoundaryError,{error:error})})]})})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Layout/styles.module.css var theme_Layout_styles_module = __webpack_require__(2231); var theme_Layout_styles_module_default = /*#__PURE__*/__webpack_require__.n(theme_Layout_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Layout/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Layout(props){const{children,noFooter,wrapperClassName,// Not really layout-related, but kept for convenience/retro-compatibility title,description}=props;(0,useKeyboardNavigation/* useKeyboardNavigation */.J)();return/*#__PURE__*/(0,jsx_runtime.jsxs)(LayoutProvider,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{title:title,description:description}),/*#__PURE__*/(0,jsx_runtime.jsx)(SkipToContent,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(AnnouncementBar,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(Navbar,{}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{id:SkipToContentFallbackId,className:(0,clsx/* default */.A)(ThemeClassNames/* ThemeClassNames */.G.layout.main.container,ThemeClassNames/* ThemeClassNames */.G.wrapper.main,(theme_Layout_styles_module_default()).mainWrapper,wrapperClassName),children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorBoundary/* default */.A,{fallback:params=>/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorPageContent,{...params}),children:children})}),!noFooter&&/*#__PURE__*/(0,jsx_runtime.jsx)(theme_Footer,{})]});} /***/ }), /***/ 310: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ Logo) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1349); /* harmony import */ var _docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5000); /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1571); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6963); /* harmony import */ var _theme_ThemedImage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5112); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function LogoThemedImage({logo,alt,imageClassName}){const sources={light:(0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay)(logo.src),dark:(0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay)(logo.srcDark||logo.src)};const themedImage=/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_theme_ThemedImage__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{className:logo.className,sources:sources,height:logo.height,width:logo.width,alt:alt,style:logo.style});// Is this extra div really necessary? // introduced in https://github.com/facebook/docusaurus/pull/5666 return imageClassName?/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("div",{className:imageClassName,children:themedImage}):themedImage;}function Logo(props){const{siteConfig:{title}}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)();const{navbar:{title:navbarTitle,logo}}=(0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_6__/* .useThemeConfig */ .p)();const{imageClassName,titleClassName,...propsRest}=props;const logoLink=(0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay)(logo?.href||'/');// If visible title is shown, fallback alt text should be // an empty string to mark the logo as decorative. const fallbackAlt=navbarTitle?'':title;// Use logo alt text if provided (including empty string), // and provide a sensible fallback otherwise. const alt=logo?.alt??fallbackAlt;return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{to:logoLink,...propsRest,...(logo?.target&&{target:logo.target}),children:[logo&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(LogoThemedImage,{logo:logo,alt:alt,imageClassName:imageClassName}),navbarTitle!=null&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("b",{className:titleClassName,children:navbarTitle})]});} /***/ }), /***/ 5493: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ MDXContent) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useIsBrowser.js var useIsBrowser = __webpack_require__(3754); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/colorMode.js var contexts_colorMode = __webpack_require__(5407); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); ;// ../packages/docusaurus-theme-common/lib/hooks/usePrismTheme.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Returns a color-mode-dependent Prism theme: whatever the user specified in * the config. Falls back to `palenight`. */function usePrismTheme(){const{prism}=(0,useThemeConfig/* useThemeConfig */.p)();const{colorMode}=(0,contexts_colorMode/* useColorMode */.G)();const lightModeTheme=prism.theme;const darkModeTheme=prism.darkTheme||lightModeTheme;const prismTheme=colorMode==='dark'?darkModeTheme:lightModeTheme;return prismTheme;} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/ThemeClassNames.js var ThemeClassNames = __webpack_require__(8532); // EXTERNAL MODULE: ../node_modules/parse-numeric-range/index.js var parse_numeric_range = __webpack_require__(9934); var parse_numeric_range_default = /*#__PURE__*/__webpack_require__.n(parse_numeric_range); ;// ../packages/docusaurus-theme-common/lib/utils/codeBlockUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const codeBlockTitleRegex=/title=(?["'])(?.*?)\1/;const metastringLinesRangeRegex=/\{(?<range>[\d,-]+)\}/;// Supported types of highlight comments const popularCommentPatterns={js:{start:'\\/\\/',end:''},jsBlock:{start:'\\/\\*',end:'\\*\\/'},jsx:{start:'\\{\\s*\\/\\*',end:'\\*\\/\\s*\\}'},bash:{start:'#',end:''},html:{start:'<!--',end:'-->'}};const commentPatterns={...popularCommentPatterns,// shallow copy is sufficient // minor comment styles lua:{start:'--',end:''},wasm:{start:'\\;\\;',end:''},tex:{start:'%',end:''},vb:{start:"['‘’]",end:''},vbnet:{start:"(?:_\\s*)?['‘’]",end:''},// Visual Studio 2019 or later rem:{start:'[Rr][Ee][Mm]\\b',end:''},f90:{start:'!',end:''},// Free format only ml:{start:'\\(\\*',end:'\\*\\)'},cobol:{start:'\\*>',end:''}// Free format only };const popularCommentTypes=Object.keys(popularCommentPatterns);function getCommentPattern(languages,magicCommentDirectives){// To be more reliable, the opening and closing comment must match const commentPattern=languages.map(lang=>{const{start,end}=commentPatterns[lang];return`(?:${start}\\s*(${magicCommentDirectives.flatMap(d=>[d.line,d.block?.start,d.block?.end].filter(Boolean)).join('|')})\\s*${end})`;}).join('|');// White space is allowed, but otherwise it should be on it's own line return new RegExp(`^\\s*(?:${commentPattern})\\s*$`);}/** * Select comment styles based on language */function getAllMagicCommentDirectiveStyles(lang,magicCommentDirectives){switch(lang){case'js':case'javascript':case'ts':case'typescript':return getCommentPattern(['js','jsBlock'],magicCommentDirectives);case'jsx':case'tsx':return getCommentPattern(['js','jsBlock','jsx'],magicCommentDirectives);case'html':return getCommentPattern(['js','jsBlock','html'],magicCommentDirectives);case'python':case'py':case'bash':return getCommentPattern(['bash'],magicCommentDirectives);case'markdown':case'md':// Text uses HTML, front matter uses bash return getCommentPattern(['html','jsx','bash'],magicCommentDirectives);case'tex':case'latex':case'matlab':return getCommentPattern(['tex'],magicCommentDirectives);case'lua':case'haskell':return getCommentPattern(['lua'],magicCommentDirectives);case'sql':return getCommentPattern(['lua','jsBlock'],magicCommentDirectives);case'wasm':return getCommentPattern(['wasm'],magicCommentDirectives);case'vb':case'vba':case'visual-basic':return getCommentPattern(['vb','rem'],magicCommentDirectives);case'vbnet':return getCommentPattern(['vbnet','rem'],magicCommentDirectives);case'batch':return getCommentPattern(['rem'],magicCommentDirectives);case'basic':// https://github.com/PrismJS/prism/blob/master/components/prism-basic.js#L3 return getCommentPattern(['rem','f90'],magicCommentDirectives);case'fsharp':return getCommentPattern(['js','ml'],magicCommentDirectives);case'ocaml':case'sml':return getCommentPattern(['ml'],magicCommentDirectives);case'fortran':return getCommentPattern(['f90'],magicCommentDirectives);case'cobol':return getCommentPattern(['cobol'],magicCommentDirectives);default:// All popular comment types return getCommentPattern(popularCommentTypes,magicCommentDirectives);}}function parseCodeBlockTitle(metastring){return metastring?.match(codeBlockTitleRegex)?.groups.title??'';}function getMetaLineNumbersStart(metastring){const showLineNumbersMeta=metastring?.split(' ').find(str=>str.startsWith('showLineNumbers'));if(showLineNumbersMeta){if(showLineNumbersMeta.startsWith('showLineNumbers=')){const value=showLineNumbersMeta.replace('showLineNumbers=','');return parseInt(value,10);}return 1;}return undefined;}function getLineNumbersStart({showLineNumbers,metastring}){const defaultStart=1;if(typeof showLineNumbers==='boolean'){return showLineNumbers?defaultStart:undefined;}if(typeof showLineNumbers==='number'){return showLineNumbers;}return getMetaLineNumbersStart(metastring);}/** * Gets the language name from the class name (set by MDX). * e.g. `"language-javascript"` => `"javascript"`. * Returns undefined if there is no language class name. */function parseLanguage(className){const languageClassName=className.split(' ').find(str=>str.startsWith('language-'));return languageClassName?.replace(/language-/,'');}/** * Parses the code content, strips away any magic comments, and returns the * clean content and the highlighted lines marked by the comments or metastring. * * If the metastring contains a range, the `content` will be returned as-is * without any parsing. The returned `lineClassNames` will be a map from that * number range to the first magic comment config entry (which _should_ be for * line highlight directives.) * * @param content The raw code with magic comments. Trailing newline will be * trimmed upfront. * @param options Options for parsing behavior. */function parseLines(content,options){let code=content.replace(/\n$/,'');const{language,magicComments,metastring}=options;// Highlighted lines specified in props: don't parse the content if(metastring&&metastringLinesRangeRegex.test(metastring)){const linesRange=metastring.match(metastringLinesRangeRegex).groups.range;if(magicComments.length===0){throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${metastring}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);}const metastringRangeClassName=magicComments[0].className;const lines=parse_numeric_range_default()(linesRange).filter(n=>n>0).map(n=>[n-1,[metastringRangeClassName]]);return{lineClassNames:Object.fromEntries(lines),code};}if(language===undefined){return{lineClassNames:{},code};}const directiveRegex=getAllMagicCommentDirectiveStyles(language,magicComments);// Go through line by line const lines=code.split('\n');const blocks=Object.fromEntries(magicComments.map(d=>[d.className,{start:0,range:''}]));const lineToClassName=Object.fromEntries(magicComments.filter(d=>d.line).map(({className,line})=>[line,className]));const blockStartToClassName=Object.fromEntries(magicComments.filter(d=>d.block).map(({className,block})=>[block.start,className]));const blockEndToClassName=Object.fromEntries(magicComments.filter(d=>d.block).map(({className,block})=>[block.end,className]));for(let lineNumber=0;lineNumber<lines.length;){const line=lines[lineNumber];const match=line.match(directiveRegex);if(!match){// Lines without directives are unchanged lineNumber+=1;continue;}const directive=match.slice(1).find(item=>item!==undefined);if(lineToClassName[directive]){blocks[lineToClassName[directive]].range+=`${lineNumber},`;}else if(blockStartToClassName[directive]){blocks[blockStartToClassName[directive]].start=lineNumber;}else if(blockEndToClassName[directive]){blocks[blockEndToClassName[directive]].range+=`${blocks[blockEndToClassName[directive]].start}-${lineNumber-1},`;}lines.splice(lineNumber,1);}code=lines.join('\n');const lineClassNames={};Object.entries(blocks).forEach(([className,{range}])=>{parse_numeric_range_default()(range).forEach(l=>{lineClassNames[l]??=[];lineClassNames[l].push(className);});});return{lineClassNames,code};}function getPrismCssVariables(prismTheme){const mapping={color:'--prism-color',backgroundColor:'--prism-background-color'};const properties={};Object.entries(prismTheme.plain).forEach(([key,value])=>{const varName=mapping[key];if(varName&&typeof value==='string'){properties[varName]=value;}});return properties;} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Container/styles.module.css var styles_module = __webpack_require__(4197); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Container/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function CodeBlockContainer({as:As,...props}){const prismTheme=usePrismTheme();const prismCssVariables=getPrismCssVariables(prismTheme);return/*#__PURE__*/(0,jsx_runtime.jsx)(As// Polymorphic components are hard to type, without `oneOf` generics ,{...props,style:prismCssVariables,className:(0,clsx/* default */.A)(props.className,(styles_module_default()).codeBlockContainer,ThemeClassNames/* ThemeClassNames */.G.common.codeBlock)});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Content/styles.module.css var Content_styles_module = __webpack_require__(4799); var Content_styles_module_default = /*#__PURE__*/__webpack_require__.n(Content_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Content/Element.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// <pre> tags in markdown map to CodeBlocks. They may contain JSX children. When // the children is not a simple string, we just return a styled block without // actually highlighting. function CodeBlockJSX({children,className}){return/*#__PURE__*/(0,jsx_runtime.jsx)(CodeBlockContainer,{as:"pre",tabIndex:0,className:(0,clsx/* default */.A)((Content_styles_module_default()).codeBlockStandalone,'thin-scrollbar',className),children:/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:(Content_styles_module_default()).codeBlockLines,children:children})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/reactUtils.js var reactUtils = __webpack_require__(9129); ;// ../packages/docusaurus-theme-common/lib/hooks/useMutationObserver.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const DefaultOptions={attributes:true,characterData:true,childList:true,subtree:true};function useMutationObserver(target,callback,options=DefaultOptions){const stableCallback=(0,reactUtils/* useEvent */._q)(callback);// MutationObserver options are not nested much // so this should be to memo options in 99% // TODO handle options.attributeFilter array const stableOptions=(0,reactUtils/* useShallowMemoObject */.Be)(options);(0,react.useEffect)(()=>{const observer=new MutationObserver(stableCallback);if(target){observer.observe(target,stableOptions);}return()=>observer.disconnect();},[target,stableCallback,stableOptions]);} ;// ../packages/docusaurus-theme-common/lib/hooks/useCodeWordWrap.js // Callback fires when the "hidden" attribute of a tabpanel changes // See https://github.com/facebook/docusaurus/pull/7485 function useTabBecameVisibleCallback(codeBlockRef,callback){const[hiddenTabElement,setHiddenTabElement]=(0,react.useState)();const updateHiddenTabElement=(0,react.useCallback)(()=>{// No need to observe non-hidden tabs // + we want to force a re-render when a tab becomes visible setHiddenTabElement(codeBlockRef.current?.closest('[role=tabpanel][hidden]'));},[codeBlockRef,setHiddenTabElement]);(0,react.useEffect)(()=>{updateHiddenTabElement();},[updateHiddenTabElement]);useMutationObserver(hiddenTabElement,mutations=>{mutations.forEach(mutation=>{if(mutation.type==='attributes'&&mutation.attributeName==='hidden'){callback();updateHiddenTabElement();}});},{attributes:true,characterData:false,childList:false,subtree:false});}function useCodeWordWrap(){const[isEnabled,setIsEnabled]=(0,react.useState)(false);const[isCodeScrollable,setIsCodeScrollable]=(0,react.useState)(false);const codeBlockRef=(0,react.useRef)(null);const toggle=(0,react.useCallback)(()=>{const codeElement=codeBlockRef.current.querySelector('code');if(isEnabled){codeElement.removeAttribute('style');}else{codeElement.style.whiteSpace='pre-wrap';// When code wrap is enabled, we want to avoid a scrollbar in any case // Ensure that very very long words/strings/tokens still wrap codeElement.style.overflowWrap='anywhere';}setIsEnabled(value=>!value);},[codeBlockRef,isEnabled]);const updateCodeIsScrollable=(0,react.useCallback)(()=>{const{scrollWidth,clientWidth}=codeBlockRef.current;const isScrollable=scrollWidth>clientWidth||codeBlockRef.current.querySelector('code').hasAttribute('style');setIsCodeScrollable(isScrollable);},[codeBlockRef]);useTabBecameVisibleCallback(codeBlockRef,updateCodeIsScrollable);(0,react.useEffect)(()=>{updateCodeIsScrollable();},[isEnabled,updateCodeIsScrollable]);(0,react.useEffect)(()=>{window.addEventListener('resize',updateCodeIsScrollable,{passive:true});return()=>{window.removeEventListener('resize',updateCodeIsScrollable);};},[updateCodeIsScrollable]);return{codeBlockRef,isEnabled,isCodeScrollable,toggle};} // EXTERNAL MODULE: ../node_modules/prism-react-renderer/dist/index.mjs var dist = __webpack_require__(7663); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Line/styles.module.css var Line_styles_module = __webpack_require__(8542); var Line_styles_module_default = /*#__PURE__*/__webpack_require__.n(Line_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Line/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function CodeBlockLine({line,classNames,showLineNumbers,getLineProps,getTokenProps}){if(line.length===1&&line[0].content==='\n'){line[0].content='';}const lineProps=getLineProps({line,className:(0,clsx/* default */.A)(classNames,showLineNumbers&&(Line_styles_module_default()).codeLine)});const lineTokens=line.map((token,key)=>/*#__PURE__*/(0,jsx_runtime.jsx)("span",{...getTokenProps({token})},key));return/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{...lineProps,children:[showLineNumbers?/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:(Line_styles_module_default()).codeLineNumber}),/*#__PURE__*/(0,jsx_runtime.jsx)("span",{className:(Line_styles_module_default()).codeLineContent,children:lineTokens})]}):lineTokens,/*#__PURE__*/(0,jsx_runtime.jsx)("br",{})]});} ;// ../node_modules/copy-text-to-clipboard/index.js function copyTextToClipboard(text,{target=document.body}={}){if(typeof text!=='string'){throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof text}\`.`);}const element=document.createElement('textarea');const previouslyFocusedElement=document.activeElement;element.value=text;// Prevent keyboard from showing on mobile element.setAttribute('readonly','');element.style.contain='strict';element.style.position='absolute';element.style.left='-9999px';element.style.fontSize='12pt';// Prevent zooming on iOS const selection=document.getSelection();const originalRange=selection.rangeCount>0&&selection.getRangeAt(0);target.append(element);element.select();// Explicit selection workaround for iOS element.selectionStart=0;element.selectionEnd=text.length;let isSuccess=false;try{isSuccess=document.execCommand('copy');}catch{}element.remove();if(originalRange){selection.removeAllRanges();selection.addRange(originalRange);}// Get the focus back on the previously focused element, if any if(previouslyFocusedElement){previouslyFocusedElement.focus();}return isSuccess;} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Translate.js + 1 modules var Translate = __webpack_require__(4709); ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Copy/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconCopy(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/Success/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconSuccess(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/CopyButton/styles.module.css var CopyButton_styles_module = __webpack_require__(4099); var CopyButton_styles_module_default = /*#__PURE__*/__webpack_require__.n(CopyButton_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/CopyButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function CopyButton({code,className}){const[isCopied,setIsCopied]=(0,react.useState)(false);const copyTimeout=(0,react.useRef)(undefined);const handleCopyCode=(0,react.useCallback)(()=>{copyTextToClipboard(code);setIsCopied(true);copyTimeout.current=window.setTimeout(()=>{setIsCopied(false);},1000);},[code]);(0,react.useEffect)(()=>()=>window.clearTimeout(copyTimeout.current),[]);return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button","aria-label":isCopied?(0,Translate/* translate */.T)({id:'theme.CodeBlock.copied',message:'Copied',description:'The copied button label on code blocks'}):(0,Translate/* translate */.T)({id:'theme.CodeBlock.copyButtonAriaLabel',message:'Copy code to clipboard',description:'The ARIA label for copy code blocks button'}),title:(0,Translate/* translate */.T)({id:'theme.CodeBlock.copy',message:'Copy',description:'The copy button label on code blocks'}),className:(0,clsx/* default */.A)('clean-btn',className,(CopyButton_styles_module_default()).copyButton,isCopied&&(CopyButton_styles_module_default()).copyButtonCopied),onClick:handleCopyCode,children:/*#__PURE__*/(0,jsx_runtime.jsxs)("span",{className:(CopyButton_styles_module_default()).copyButtonIcons,"aria-hidden":"true",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(IconCopy,{className:(CopyButton_styles_module_default()).copyButtonIcon}),/*#__PURE__*/(0,jsx_runtime.jsx)(IconSuccess,{className:(CopyButton_styles_module_default()).copyButtonSuccessIcon})]})});} ;// ../packages/docusaurus-theme-classic/lib/theme/Icon/WordWrap/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function IconWordWrap(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{viewBox:"0 0 24 24",...props,children:/*#__PURE__*/(0,jsx_runtime.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/WordWrapButton/styles.module.css var WordWrapButton_styles_module = __webpack_require__(480); var WordWrapButton_styles_module_default = /*#__PURE__*/__webpack_require__.n(WordWrapButton_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/WordWrapButton/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function WordWrapButton({className,onClick,isEnabled}){const title=(0,Translate/* translate */.T)({id:'theme.CodeBlock.wordWrapToggle',message:'Toggle word wrap',description:'The title attribute for toggle word wrapping button of code block lines'});return/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button",onClick:onClick,className:(0,clsx/* default */.A)('clean-btn',className,isEnabled&&(WordWrapButton_styles_module_default()).wordWrapButtonEnabled),"aria-label":title,title:title,children:/*#__PURE__*/(0,jsx_runtime.jsx)(IconWordWrap,{className:(WordWrapButton_styles_module_default()).wordWrapButtonIcon,"aria-hidden":"true"})});} ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/Content/String.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Prism languages are always lowercase // We want to fail-safe and allow both "php" and "PHP" // See https://github.com/facebook/docusaurus/issues/9012 function normalizeLanguage(language){return language?.toLowerCase();}function CodeBlockString({children,className:blockClassName='',metastring,title:titleProp,showLineNumbers:showLineNumbersProp,language:languageProp}){const{prism:{defaultLanguage,magicComments}}=(0,useThemeConfig/* useThemeConfig */.p)();const language=normalizeLanguage(languageProp??parseLanguage(blockClassName)??defaultLanguage);const prismTheme=usePrismTheme();const wordWrap=useCodeWordWrap();const isBrowser=(0,useIsBrowser/* default */.A)();// We still parse the metastring in case we want to support more syntax in the // future. Note that MDX doesn't strip quotes when parsing metastring: // "title=\"xyz\"" => title: "\"xyz\"" const title=parseCodeBlockTitle(metastring)||titleProp;const{lineClassNames,code}=parseLines(children,{metastring,language,magicComments});const lineNumbersStart=getLineNumbersStart({showLineNumbers:showLineNumbersProp,metastring});return/*#__PURE__*/(0,jsx_runtime.jsxs)(CodeBlockContainer,{as:"div",className:(0,clsx/* default */.A)(blockClassName,language&&!blockClassName.includes(`language-${language}`)&&`language-${language}`),children:[title&&/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(Content_styles_module_default()).codeBlockTitle,children:title}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(Content_styles_module_default()).codeBlockContent,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(dist/* Highlight */.f4,{theme:prismTheme,code:code,language:language??'text',children:({className,style,tokens,getLineProps,getTokenProps})=>/*#__PURE__*/(0,jsx_runtime.jsx)("pre",{/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */tabIndex:0,ref:wordWrap.codeBlockRef,className:(0,clsx/* default */.A)(className,(Content_styles_module_default()).codeBlock,'thin-scrollbar'),style:style,children:/*#__PURE__*/(0,jsx_runtime.jsx)("code",{className:(0,clsx/* default */.A)((Content_styles_module_default()).codeBlockLines,lineNumbersStart!==undefined&&(Content_styles_module_default()).codeBlockLinesWithNumbering),style:lineNumbersStart===undefined?undefined:{counterReset:`line-count ${lineNumbersStart-1}`},children:tokens.map((line,i)=>/*#__PURE__*/(0,jsx_runtime.jsx)(CodeBlockLine,{line:line,getLineProps:getLineProps,getTokenProps:getTokenProps,classNames:lineClassNames[i],showLineNumbers:lineNumbersStart!==undefined},i))})})}),isBrowser?/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(Content_styles_module_default()).buttonGroup,children:[(wordWrap.isEnabled||wordWrap.isCodeScrollable)&&/*#__PURE__*/(0,jsx_runtime.jsx)(WordWrapButton,{className:(Content_styles_module_default()).codeButton,onClick:()=>wordWrap.toggle(),isEnabled:wordWrap.isEnabled}),/*#__PURE__*/(0,jsx_runtime.jsx)(CopyButton,{className:(Content_styles_module_default()).codeButton,code:code})]}):null]})]});} ;// ../packages/docusaurus-theme-classic/lib/theme/CodeBlock/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Best attempt to make the children a plain string so it is copyable. If there * are react elements, we will not be able to copy the content, and it will * return `children` as-is; otherwise, it concatenates the string children * together. */function maybeStringifyChildren(children){if(react.Children.toArray(children).some(el=>/*#__PURE__*/(0,react.isValidElement)(el))){return children;}// The children is now guaranteed to be one/more plain strings return Array.isArray(children)?children.join(''):children;}function CodeBlock({children:rawChildren,...props}){// The Prism theme on SSR is always the default theme but the site theme can // be in a different mode. React hydration doesn't update DOM styles that come // from SSR. Hence force a re-render after mounting to apply the current // relevant styles. const isBrowser=(0,useIsBrowser/* default */.A)();const children=maybeStringifyChildren(rawChildren);const CodeBlockComp=typeof children==='string'?CodeBlockString:CodeBlockJSX;return/*#__PURE__*/(0,jsx_runtime.jsx)(CodeBlockComp,{...props,children:children},String(isBrowser));} ;// ../packages/docusaurus-theme-classic/lib/theme/CodeInline/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Simple component used to render inline code blocks // its purpose is to be swizzled and customized // MDX 1 used to have a inlineCode comp, see https://mdxjs.com/migrating/v2/ function CodeInline(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("code",{...props});} ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Code.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function shouldBeInline(props){return(// empty code blocks have no props.children, // see https://github.com/facebook/docusaurus/pull/9704 typeof props.children!=='undefined'&&react.Children.toArray(props.children).every(el=>typeof el==='string'&&!el.includes('\n')));}function MDXCode(props){return shouldBeInline(props)?/*#__PURE__*/(0,jsx_runtime.jsx)(CodeInline,{...props}):/*#__PURE__*/(0,jsx_runtime.jsx)(CodeBlock,{...props});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/A.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXA(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{...props});} ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Pre.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXPre(props){// With MDX 2, this element is only used for fenced code blocks // It always receives a MDXComponents/Code as children return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:props.children});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBrokenLinks.js var useBrokenLinks = __webpack_require__(1900); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/components/Collapsible/index.js var Collapsible = __webpack_require__(343); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/components/Details/styles.module.css var Details_styles_module = __webpack_require__(373); var Details_styles_module_default = /*#__PURE__*/__webpack_require__.n(Details_styles_module); ;// ../packages/docusaurus-theme-common/lib/components/Details/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function isInSummary(node){if(!node){return false;}return node.tagName==='SUMMARY'||isInSummary(node.parentElement);}function hasParent(node,parent){if(!node){return false;}return node===parent||hasParent(node.parentElement,parent);}/** * A mostly un-styled `<details>` element with smooth collapsing. Provides some * very lightweight styles, but you should bring your UI. */function Details({summary,children,...props}){(0,useBrokenLinks/* default */.A)().collectAnchor(props.id);const isBrowser=(0,useIsBrowser/* default */.A)();const detailsRef=(0,react.useRef)(null);const{collapsed,setCollapsed}=(0,Collapsible/* useCollapsible */.u)({initialState:!props.open});// Use a separate state for the actual details prop, because it must be set // only after animation completes, otherwise close animations won't work const[open,setOpen]=(0,react.useState)(props.open);const summaryElement=/*#__PURE__*/react.isValidElement(summary)?summary:/*#__PURE__*/(0,jsx_runtime.jsx)("summary",{children:summary??'Details'});return(/*#__PURE__*/// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions (0,jsx_runtime.jsxs)("details",{...props,ref:detailsRef,open:open,"data-collapsed":collapsed,className:(0,clsx/* default */.A)((Details_styles_module_default()).details,isBrowser&&(Details_styles_module_default()).isBrowser,props.className),onMouseDown:e=>{const target=e.target;// Prevent a double-click to highlight summary text if(isInSummary(target)&&e.detail>1){e.preventDefault();}},onClick:e=>{e.stopPropagation();// For isolation of multiple nested details/summary const target=e.target;const shouldToggle=isInSummary(target)&&hasParent(target,detailsRef.current);if(!shouldToggle){return;}e.preventDefault();if(collapsed){setCollapsed(false);setOpen(true);}else{setCollapsed(true);// Don't do this, it breaks close animation! // setOpen(false); }},children:[summaryElement,/*#__PURE__*/(0,jsx_runtime.jsx)(Collapsible/* Collapsible */.N,{lazy:false// Content might matter for SEO in this case ,collapsed:collapsed,onCollapseTransitionEnd:newCollapsed=>{setCollapsed(newCollapsed);setOpen(!newCollapsed);},children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(Details_styles_module_default()).collapsibleContent,children:children})})]}));} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Details/styles.module.css var theme_Details_styles_module = __webpack_require__(1733); var theme_Details_styles_module_default = /*#__PURE__*/__webpack_require__.n(theme_Details_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/Details/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Should we have a custom details/summary comp in Infima instead of reusing // alert classes? const InfimaClasses='alert alert--info';function Details_Details({...props}){return/*#__PURE__*/(0,jsx_runtime.jsx)(Details,{...props,className:(0,clsx/* default */.A)(InfimaClasses,(theme_Details_styles_module_default()).details,props.className)});} ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Details.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXDetails(props){const items=react.Children.toArray(props.children);// Split summary item from the rest to pass it as a separate prop to the // Details theme component const summary=items.find(item=>/*#__PURE__*/react.isValidElement(item)&&item.type==='summary');const children=/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:items.filter(item=>item!==summary)});return/*#__PURE__*/(0,jsx_runtime.jsx)(Details_Details,{...props,summary:summary,children:children});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Heading.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXHeading(props){return/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{...props});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Ul/styles.module.css var Ul_styles_module = __webpack_require__(30); var Ul_styles_module_default = /*#__PURE__*/__webpack_require__.n(Ul_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Ul/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function transformUlClassName(className){// Fix https://github.com/facebook/docusaurus/issues/9098 if(typeof className==='undefined'){return undefined;}return (0,clsx/* default */.A)(className,// This class is set globally by GitHub/MDX. We keep the global class, and // add another class to get a task list without the default ul styling // See https://github.com/syntax-tree/mdast-util-to-hast/issues/28 className?.includes('contains-task-list')&&(Ul_styles_module_default()).containsTaskList);}function MDXUl(props){return/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{...props,className:transformUlClassName(props.className)});} ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Li.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXLi(props){// MDX Footnotes have ids such as <li id="user-content-fn-1-953011"> (0,useBrokenLinks/* default */.A)().collectAnchor(props.id);return/*#__PURE__*/(0,jsx_runtime.jsx)("li",{...props});} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Img/styles.module.css var Img_styles_module = __webpack_require__(5614); var Img_styles_module_default = /*#__PURE__*/__webpack_require__.n(Img_styles_module); ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/Img/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function transformImgClassName(className){return (0,clsx/* default */.A)(className,(Img_styles_module_default()).img);}function MDXImg(props){return(/*#__PURE__*/// eslint-disable-next-line jsx-a11y/alt-text (0,jsx_runtime.jsx)("img",{decoding:"async",loading:"lazy",...props,className:transformImgClassName(props.className)}));} // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Admonition/index.js + 14 modules var Admonition = __webpack_require__(4707); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Noop.js var Noop = __webpack_require__(219); ;// ../packages/docusaurus-theme-classic/lib/theme/MDXComponents/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const MDXComponents={Head: Head/* default */.A,details:MDXDetails,// For MD mode support, see https://github.com/facebook/docusaurus/issues/9092#issuecomment-1602902274 Details:MDXDetails,code:MDXCode,a:MDXA,pre:MDXPre,ul:MDXUl,li:MDXLi,img:MDXImg,h1:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(MDXHeading,{as:"h1",...props}),h2:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(MDXHeading,{as:"h2",...props}),h3:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(MDXHeading,{as:"h3",...props}),h4:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(MDXHeading,{as:"h4",...props}),h5:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(MDXHeading,{as:"h5",...props}),h6:props=>/*#__PURE__*/(0,jsx_runtime.jsx)(MDXHeading,{as:"h6",...props}),admonition:Admonition/* default */.A,mermaid:Noop/* default */.A};/* harmony default export */ const theme_MDXComponents = (MDXComponents); ;// ../packages/docusaurus-theme-classic/lib/theme/MDXContent/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXContent({children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(lib/* MDXProvider */.x,{components:theme_MDXComponents,children:children});} /***/ }), /***/ 859: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ MDXPage) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(5861); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(8532); /* harmony import */ var _theme_Layout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3305); /* harmony import */ var _theme_MDXContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5493); /* harmony import */ var _theme_TOC__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5277); /* harmony import */ var _theme_ContentVisibility__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5088); /* harmony import */ var _theme_EditMetaRow__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9738); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7143); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function MDXPage(props){const{content:MDXPageContent}=props;const{metadata,assets}=MDXPageContent;const{title,editUrl,description,frontMatter,lastUpdatedBy,lastUpdatedAt}=metadata;const{keywords,wrapperClassName,hide_table_of_contents:hideTableOfContents}=frontMatter;const image=assets.image??frontMatter.image;const canDisplayEditMetaRow=!!(editUrl||lastUpdatedAt||lastUpdatedBy);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_8__/* .HtmlClassNameProvider */ .e3,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(wrapperClassName??_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .ThemeClassNames */ .G.wrapper.mdxPages,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .ThemeClassNames */ .G.page.mdxPage),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_theme_Layout__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_8__/* .PageMetadata */ .be,{title:title,description:description,keywords:keywords,image:image}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("main",{className:"container container--fluid margin-vert--lg",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)('row',(_styles_module_css__WEBPACK_IMPORTED_MODULE_6___default().mdxPageWrapper)),children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)('col',!hideTableOfContents&&'col--8'),children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_theme_ContentVisibility__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,{metadata:metadata}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("article",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_theme_MDXContent__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(MDXPageContent,{})})}),canDisplayEditMetaRow&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_theme_EditMetaRow__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)('margin-top--sm',_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_10__/* .ThemeClassNames */ .G.pages.pageFooterEditMetaRow),editUrl:editUrl,lastUpdatedAt:lastUpdatedAt,lastUpdatedBy:lastUpdatedBy})]}),!hideTableOfContents&&MDXPageContent.toc.length>0&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div",{className:"col col--2",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_theme_TOC__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{toc:MDXPageContent.toc,minHeadingLevel:frontMatter.toc_min_heading_level,maxHeadingLevel:frontMatter.toc_max_heading_level})})]})})]})});} /***/ }), /***/ 1412: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ NotFoundContent) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _theme_Heading__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6813); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function NotFoundContent({className}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("main",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)('container margin-vert--xl',className),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div",{className:"row",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div",{className:"col col--6 col--offset-3",children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_theme_Heading__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{as:"h1",className:"hero__title",children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})});} /***/ }), /***/ 8714: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ Index) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5861); /* harmony import */ var _theme_Layout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3305); /* harmony import */ var _theme_NotFound_Content__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1412); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Index(){const title=(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.NotFound.title',message:'Page Not Found'});return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__/* .PageMetadata */ .be,{title:title}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_theme_Layout__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_theme_NotFound_Content__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,{})})]});} /***/ }), /***/ 8705: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ PaginatorNavLink) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1349); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function PaginatorNavLink(props){const{permalink,title,subLabel,isNext}=props;return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{className:(0,clsx__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)('pagination-nav__link',isNext?'pagination-nav__link--next':'pagination-nav__link--prev'),to:permalink,children:[subLabel&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"pagination-nav__sublabel",children:subLabel}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div",{className:"pagination-nav__label",children:title})]});} /***/ }), /***/ 3308: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ SearchMetadata) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Head__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2785); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Note: we bias toward using Algolia metadata on purpose // Not doing so leads to confusion in the community, // as it requires to first crawl the site with the Algolia plugin enabled first // - https://github.com/facebook/docusaurus/issues/6693 // - https://github.com/facebook/docusaurus/issues/4555 function SearchMetadata({locale,version,tag}){// Seems safe to consider here the locale is the language, as the existing // docsearch:language filter is afaik a regular string-based filter const language=locale;return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(_docusaurus_Head__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{children:[locale&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("meta",{name:"docusaurus_locale",content:locale}),version&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("meta",{name:"docusaurus_version",content:version}),tag&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("meta",{name:"docusaurus_tag",content:tag}),language&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("meta",{name:"docsearch:language",content:language}),version&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("meta",{name:"docsearch:version",content:version}),tag&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("meta",{name:"docsearch:docusaurus_tag",content:tag})]});} /***/ }), /***/ 5277: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ TOC) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _theme_TOCItems__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1731); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5429); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Using a custom className // This prevents TOCInline/TOCCollapsible getting highlighted by mistake const LINK_CLASS_NAME='table-of-contents__link toc-highlight';const LINK_ACTIVE_CLASS_NAME='table-of-contents__link--active';function TOC({className,...props}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)((_styles_module_css__WEBPACK_IMPORTED_MODULE_2___default().tableOfContents),'thin-scrollbar',className),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_theme_TOCItems__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{...props,linkClassName:LINK_CLASS_NAME,linkActiveClassName:LINK_ACTIVE_CLASS_NAME})});} /***/ }), /***/ 1731: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ TOCItems) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); ;// ../packages/docusaurus-theme-common/lib/utils/tocUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function treeifyTOC(flatTOC){const headings=flatTOC.map(heading=>({...heading,parentIndex:-1,children:[]}));// Keep track of which previous index would be the current heading's direct // parent. Each entry <i> is the last index of the `headings` array at heading // level <i>. We will modify these indices as we iterate through all headings. // e.g. if an ### H3 was last seen at index 2, then prevIndexForLevel[3] === 2 // indices 0 and 1 will remain unused. const prevIndexForLevel=Array(7).fill(-1);headings.forEach((curr,currIndex)=>{// Take the last seen index for each ancestor level. the highest index will // be the direct ancestor of the current heading. const ancestorLevelIndexes=prevIndexForLevel.slice(2,curr.level);curr.parentIndex=Math.max(...ancestorLevelIndexes);// Mark that curr.level was last seen at the current index. prevIndexForLevel[curr.level]=currIndex;});const rootNodes=[];// For a given parentIndex, add each Node into that parent's `children` array headings.forEach(heading=>{const{parentIndex,...rest}=heading;if(parentIndex>=0){headings[parentIndex].children.push(rest);}else{rootNodes.push(rest);}});return rootNodes;}/** * Takes a flat TOC list (from the MDX loader) and treeifies it into what the * TOC components expect. Memoized for performance. */function useTreeifiedTOC(toc){return useMemo(()=>treeifyTOC(toc),[toc]);}function filterTOC({toc,minHeadingLevel,maxHeadingLevel}){function isValid(item){return item.level>=minHeadingLevel&&item.level<=maxHeadingLevel;}return toc.flatMap(item=>{const filteredChildren=filterTOC({toc:item.children,minHeadingLevel,maxHeadingLevel});if(isValid(item)){return[{...item,children:filteredChildren}];}return filteredChildren;});}/** * Takes a flat TOC list (from the MDX loader) and treeifies it into what the * TOC components expect, applying the `minHeadingLevel` and `maxHeadingLevel`. * Memoized for performance. * * **Important**: this is not the same as `useTreeifiedTOC(toc.filter(...))`, * because we have to filter the TOC after it has been treeified. This is mostly * to ensure that weird TOC structures preserve their semantics. For example, an * h3-h2-h4 sequence should not be treeified as an "h3 > h4" hierarchy with * min=3, max=4, but should rather be "[h3, h4]" (since the h2 heading has split * the two headings and they are not parent-children) */function useFilteredAndTreeifiedTOC({toc,minHeadingLevel,maxHeadingLevel}){return (0,react.useMemo)(()=>filterTOC({toc:treeifyTOC(toc),minHeadingLevel,maxHeadingLevel}),[toc,minHeadingLevel,maxHeadingLevel]);} ;// ../packages/docusaurus-theme-common/lib/hooks/useTOCHighlight.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// TODO make the hardcoded theme-classic classnames configurable (or add them // to ThemeClassNames?) /** * If the anchor has no height and is just a "marker" in the DOM; we'll use the * parent (normally the link text) rect boundaries instead */function getVisibleBoundingClientRect(element){const rect=element.getBoundingClientRect();const hasNoHeight=rect.top===rect.bottom;if(hasNoHeight){return getVisibleBoundingClientRect(element.parentNode);}return rect;}/** * Considering we divide viewport into 2 zones of each 50vh, this returns true * if an element is in the first zone (i.e., appear in viewport, near the top) */function isInViewportTopHalf(boundingRect){return boundingRect.top>0&&boundingRect.bottom<window.innerHeight/2;}function getAnchors({minHeadingLevel,maxHeadingLevel}){const selectors=[];for(let i=minHeadingLevel;i<=maxHeadingLevel;i+=1){selectors.push(`h${i}.anchor`);}return Array.from(document.querySelectorAll(selectors.join()));}function getActiveAnchor(anchors,{anchorTopOffset}){// Naming is hard: The "nextVisibleAnchor" is the first anchor that appear // under the viewport top boundary. It does not mean this anchor is visible // yet, but if user continues scrolling down, it will be the first to become // visible const nextVisibleAnchor=anchors.find(anchor=>{const boundingRect=getVisibleBoundingClientRect(anchor);return boundingRect.top>=anchorTopOffset;});if(nextVisibleAnchor){const boundingRect=getVisibleBoundingClientRect(nextVisibleAnchor);// If anchor is in the top half of the viewport: it is the one we consider // "active" (unless it's too close to the top and and soon to be scrolled // outside viewport) if(isInViewportTopHalf(boundingRect)){return nextVisibleAnchor;}// If anchor is in the bottom half of the viewport, or under the viewport, // we consider the active anchor is the previous one. This is because the // main text appearing in the user screen mostly belong to the previous // anchor. Returns null for the first anchor, see // https://github.com/facebook/docusaurus/issues/5318 return anchors[anchors.indexOf(nextVisibleAnchor)-1]??null;}// No anchor under viewport top (i.e. we are at the bottom of the page), // highlight the last anchor found return anchors[anchors.length-1]??null;}function getLinkAnchorValue(link){return decodeURIComponent(link.href.substring(link.href.indexOf('#')+1));}function getLinks(linkClassName){return Array.from(document.getElementsByClassName(linkClassName));}function getNavbarHeight(){// Not ideal to obtain actual height this way // Using TS ! (not ?) because otherwise a bad selector would be un-noticed return document.querySelector('.navbar').clientHeight;}function useAnchorTopOffsetRef(){const anchorTopOffsetRef=(0,react.useRef)(0);const{navbar:{hideOnScroll}}=(0,useThemeConfig/* useThemeConfig */.p)();(0,react.useEffect)(()=>{anchorTopOffsetRef.current=hideOnScroll?0:getNavbarHeight();},[hideOnScroll]);return anchorTopOffsetRef;}/** * Side-effect that applies the active class name to the TOC heading that the * user is currently viewing. Disabled when `config` is undefined. */function useTOCHighlight(config){const lastActiveLinkRef=(0,react.useRef)(undefined);const anchorTopOffsetRef=useAnchorTopOffsetRef();(0,react.useEffect)(()=>{if(!config){// No-op, highlighting is disabled return()=>{};}const{linkClassName,linkActiveClassName,minHeadingLevel,maxHeadingLevel}=config;function updateLinkActiveClass(link,active){if(active){if(lastActiveLinkRef.current&&lastActiveLinkRef.current!==link){lastActiveLinkRef.current.classList.remove(linkActiveClassName);}link.classList.add(linkActiveClassName);lastActiveLinkRef.current=link;// link.scrollIntoView({block: 'nearest'}); }else{link.classList.remove(linkActiveClassName);}}function updateActiveLink(){const links=getLinks(linkClassName);const anchors=getAnchors({minHeadingLevel,maxHeadingLevel});const activeAnchor=getActiveAnchor(anchors,{anchorTopOffset:anchorTopOffsetRef.current});const activeLink=links.find(link=>activeAnchor&&activeAnchor.id===getLinkAnchorValue(link));links.forEach(link=>{updateLinkActiveClass(link,link===activeLink);});}document.addEventListener('scroll',updateActiveLink);document.addEventListener('resize',updateActiveLink);updateActiveLink();return()=>{document.removeEventListener('scroll',updateActiveLink);document.removeEventListener('resize',updateActiveLink);};},[config,anchorTopOffsetRef]);} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-classic/lib/theme/TOCItems/Tree.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Recursive component rendering the toc tree function TOCItemTree({toc,className,linkClassName,isChild}){if(!toc.length){return null;}return/*#__PURE__*/(0,jsx_runtime.jsx)("ul",{className:isChild?undefined:className,children:toc.map(heading=>/*#__PURE__*/(0,jsx_runtime.jsxs)("li",{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{to:`#${heading.id}`,className:linkClassName??undefined// Developer provided the HTML, so assume it's safe. ,dangerouslySetInnerHTML:{__html:heading.value}}),/*#__PURE__*/(0,jsx_runtime.jsx)(TOCItemTree,{isChild:true,toc:heading.children,className:className,linkClassName:linkClassName})]},heading.id))});}// Memo only the tree root is enough /* harmony default export */ const Tree = (/*#__PURE__*/react.memo(TOCItemTree)); ;// ../packages/docusaurus-theme-classic/lib/theme/TOCItems/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function TOCItems({toc,className='table-of-contents table-of-contents__left-border',linkClassName='table-of-contents__link',linkActiveClassName=undefined,minHeadingLevel:minHeadingLevelOption,maxHeadingLevel:maxHeadingLevelOption,...props}){const themeConfig=(0,useThemeConfig/* useThemeConfig */.p)();const minHeadingLevel=minHeadingLevelOption??themeConfig.tableOfContents.minHeadingLevel;const maxHeadingLevel=maxHeadingLevelOption??themeConfig.tableOfContents.maxHeadingLevel;const tocTree=useFilteredAndTreeifiedTOC({toc,minHeadingLevel,maxHeadingLevel});const tocHighlightConfig=(0,react.useMemo)(()=>{if(linkClassName&&linkActiveClassName){return{linkClassName,linkActiveClassName,minHeadingLevel,maxHeadingLevel};}return undefined;},[linkClassName,linkActiveClassName,minHeadingLevel,maxHeadingLevel]);useTOCHighlight(tocHighlightConfig);return/*#__PURE__*/(0,jsx_runtime.jsx)(Tree,{toc:tocTree,className:className,linkClassName:linkClassName,...props});} /***/ }), /***/ 8151: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ Tag) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1349); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8595); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Tag({permalink,label,count,description}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{href:permalink,title:description,className:(0,clsx__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)((_styles_module_css__WEBPACK_IMPORTED_MODULE_2___default().tag),count?(_styles_module_css__WEBPACK_IMPORTED_MODULE_2___default().tagWithCount):(_styles_module_css__WEBPACK_IMPORTED_MODULE_2___default().tagRegular)),children:[label,count&&/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span",{children:count})]});} /***/ }), /***/ 1029: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ TagsListInline) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1750); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _theme_Tag__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8151); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6709); /* harmony import */ var _styles_module_css__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_styles_module_css__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function TagsListInline({tags}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.Fragment,{children:[/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("b",{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("ul",{className:(0,clsx__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A)((_styles_module_css__WEBPACK_IMPORTED_MODULE_3___default().tags),'padding--none','margin-left--sm'),children:tags.map(tag=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("li",{className:(_styles_module_css__WEBPACK_IMPORTED_MODULE_3___default().tag),children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_theme_Tag__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{...tag})},tag.permalink))})]});} /***/ }), /***/ 5112: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ ThemedImage) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useIsBrowser.js var useIsBrowser = __webpack_require__(3754); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/colorMode.js var contexts_colorMode = __webpack_require__(5407); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/components/ThemedComponent/styles.module.css var styles_module = __webpack_require__(8361); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-common/lib/components/ThemedComponent/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const AllThemes=(/* unused pure expression or super */ null && (['light','dark']));/** * Generic component to render anything themed in light/dark * Note: it's preferable to use CSS for theming because this component * will need to render all the variants during SSR to avoid a theme flash. * * Use this only when CSS customizations are not convenient or impossible. * For example, rendering themed images or SVGs... * * @param className applied to all the variants * @param children function to render a theme variant * @constructor */function ThemedComponent({className,children}){const isBrowser=(0,useIsBrowser/* default */.A)();const{colorMode}=(0,contexts_colorMode/* useColorMode */.G)();function getThemesToRender(){if(isBrowser){return colorMode==='dark'?['dark']:['light'];}// We need to render both components on the server / hydration to avoid: // - a flash of wrong theme before hydration // - React hydration mismatches // See https://github.com/facebook/docusaurus/pull/3730 return['light','dark'];}return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:getThemesToRender().map(theme=>{const themedElement=children({theme,className:(0,clsx/* default */.A)(className,(styles_module_default()).themedComponent,(styles_module_default())[`themedComponent--${theme}`])});return/*#__PURE__*/(0,jsx_runtime.jsx)(react.Fragment,{children:themedElement},theme);})});} ;// ../packages/docusaurus-theme-classic/lib/theme/ThemedImage/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ThemedImage(props){const{sources,className:parentClassName,alt,...propsRest}=props;return/*#__PURE__*/(0,jsx_runtime.jsx)(ThemedComponent,{className:parentClassName,children:({theme,className})=>/*#__PURE__*/(0,jsx_runtime.jsx)("img",{src:sources[theme],alt:alt,className:className,...propsRest})});} /***/ }), /***/ 343: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ N: () => (/* binding */ Collapsible), /* harmony export */ u: () => (/* binding */ useCollapsible) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(610); /* harmony import */ var _utils_accessibilityUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(644); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const DefaultAnimationEasing='ease-in-out';/** * This hook is a very thin wrapper around a `useState`. */function useCollapsible({initialState}){const[collapsed,setCollapsed]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(initialState??false);const toggleCollapsed=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(()=>{setCollapsed(expanded=>!expanded);},[]);return{collapsed,setCollapsed,toggleCollapsed};}const CollapsedStyles={display:'none',overflow:'hidden',height:'0px'};const ExpandedStyles={display:'block',overflow:'visible',height:'auto'};function applyCollapsedStyle(el,collapsed){const collapsedStyles=collapsed?CollapsedStyles:ExpandedStyles;el.style.display=collapsedStyles.display;el.style.overflow=collapsedStyles.overflow;el.style.height=collapsedStyles.height;}/* Lex111: Dynamic transition duration is used in Material design, this technique is good for a large number of items. https://material.io/archive/guidelines/motion/duration-easing.html#duration-easing-dynamic-durations https://github.com/mui-org/material-ui/blob/e724d98eba018e55e1a684236a2037e24bcf050c/packages/material-ui/src/styles/createTransitions.js#L40-L43 */function getAutoHeightDuration(height){if((0,_utils_accessibilityUtils__WEBPACK_IMPORTED_MODULE_3__/* .prefersReducedMotion */ .O)()){// Not using 0 because it prevents onTransitionEnd to fire and bubble up :/ // See https://github.com/facebook/docusaurus/pull/8906 return 1;}const constant=height/36;return Math.round((4+15*constant**0.25+constant/5)*10);}function useCollapseAnimation({collapsibleRef,collapsed,animation}){const mounted=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{const el=collapsibleRef.current;function getTransitionStyles(){const height=el.scrollHeight;const duration=animation?.duration??getAutoHeightDuration(height);const easing=animation?.easing??DefaultAnimationEasing;return{transition:`height ${duration}ms ${easing}`,height:`${height}px`};}function applyTransitionStyles(){const transitionStyles=getTransitionStyles();el.style.transition=transitionStyles.transition;el.style.height=transitionStyles.height;}// On mount, we just apply styles, no animated transition if(!mounted.current){applyCollapsedStyle(el,collapsed);mounted.current=true;return undefined;}el.style.willChange='height';function startAnimation(){const animationFrame=requestAnimationFrame(()=>{// When collapsing if(collapsed){applyTransitionStyles();requestAnimationFrame(()=>{el.style.height=CollapsedStyles.height;el.style.overflow=CollapsedStyles.overflow;});}// When expanding else{el.style.display='block';requestAnimationFrame(()=>{applyTransitionStyles();});}});return()=>cancelAnimationFrame(animationFrame);}return startAnimation();},[collapsibleRef,collapsed,animation]);}function CollapsibleBase({as:As='div',collapsed,children,animation,onCollapseTransitionEnd,className}){const collapsibleRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);useCollapseAnimation({collapsibleRef,collapsed,animation});return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(As// @ts-expect-error: the "too complicated type" is produced from // "CollapsibleElementType" being a huge union ,{ref:collapsibleRef// Refs are contravariant, which is not expressible in TS ,onTransitionEnd:e=>{if(e.propertyName!=='height'){return;}applyCollapsedStyle(collapsibleRef.current,collapsed);onCollapseTransitionEnd?.(collapsed);},className:className,children:children});}function CollapsibleLazy({collapsed,...props}){const[mounted,setMounted]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!collapsed);// Updated in effect so that first expansion transition can work const[lazyCollapsed,setLazyCollapsed]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(collapsed);(0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(()=>{if(!collapsed){setMounted(true);}},[collapsed]);(0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(()=>{if(mounted){setLazyCollapsed(collapsed);}},[mounted,collapsed]);return mounted?/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(CollapsibleBase,{...props,collapsed:lazyCollapsed}):null;}/** * A headless component providing smooth and uniform collapsing behavior. The * component will be invisible (zero height) when collapsed. Doesn't provide * interactivity by itself: collapse state is toggled through props. */function Collapsible({lazy,...props}){const Comp=lazy?CollapsibleLazy:CollapsibleBase;return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Comp,{...props});} /***/ }), /***/ 3228: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ M: () => (/* binding */ useAnnouncementBar), /* harmony export */ o: () => (/* binding */ AnnouncementBarProvider) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3754); /* harmony import */ var _utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8463); /* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9129); /* harmony import */ var _utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6963); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Keep these keys in sync with the inlined script // See packages/docusaurus-theme-classic/src/inlineScripts.ts const AnnouncementBarDismissStorage=(0,_utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__/* .createStorageSlot */ .Wf)('docusaurus.announcement.dismiss');const IdStorage=(0,_utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__/* .createStorageSlot */ .Wf)('docusaurus.announcement.id');const isDismissedInStorage=()=>AnnouncementBarDismissStorage.get()==='true';const setDismissedInStorage=bool=>AnnouncementBarDismissStorage.set(String(bool));const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);function useContextValue(){const{announcementBar}=(0,_utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__/* .useThemeConfig */ .p)();const isBrowser=(0,_docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)();const[isClosed,setClosed]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(()=>isBrowser?// On client navigation: init with local storage value isDismissedInStorage():// On server/hydration: always visible to prevent layout shifts (will be hidden with css if needed) false);// Update state after hydration (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{setClosed(isDismissedInStorage());},[]);const handleClose=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(()=>{setDismissedInStorage(true);setClosed(true);},[]);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{if(!announcementBar){return;}const{id}=announcementBar;let viewedId=IdStorage.get();// Retrocompatibility due to spelling mistake of default id // see https://github.com/facebook/docusaurus/issues/3338 // cSpell:ignore annoucement if(viewedId==='annoucement-bar'){viewedId='announcement-bar';}const isNewAnnouncement=id!==viewedId;IdStorage.set(id);if(isNewAnnouncement){setDismissedInStorage(false);}if(isNewAnnouncement||!isDismissedInStorage()){setClosed(false);}},[announcementBar]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>({isActive:!!announcementBar&&!isClosed,close:handleClose}),[announcementBar,isClosed,handleClose]);}function AnnouncementBarProvider({children}){const value=useContextValue();return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Context.Provider,{value:value,children:children});}function useAnnouncementBar(){const api=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!api){throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV('AnnouncementBarProvider');}return api;} /***/ }), /***/ 5407: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ G: () => (/* binding */ useColorMode), /* harmony export */ a: () => (/* binding */ ColorModeProvider) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4468); /* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9129); /* harmony import */ var _utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8463); /* harmony import */ var _utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6963); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);const ColorModeStorageKey='theme';const ColorModeStorage=(0,_utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__/* .createStorageSlot */ .Wf)(ColorModeStorageKey);const ColorModes={light:'light',dark:'dark'};// Ensure to always return a valid colorMode even if input is invalid const coerceToColorMode=colorMode=>colorMode===ColorModes.dark?ColorModes.dark:ColorModes.light;const ColorModeAttribute={get:()=>{return coerceToColorMode(document.documentElement.getAttribute('data-theme'));},set:colorMode=>{document.documentElement.setAttribute('data-theme',coerceToColorMode(colorMode));}};const readInitialColorMode=()=>{if(!_docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.canUseDOM){throw new Error("Can't read initial color mode on the server");}return ColorModeAttribute.get();};const storeColorMode=newColorMode=>{ColorModeStorage.set(coerceToColorMode(newColorMode));};// The color mode state is initialized in useEffect on purpose // to avoid a React hydration mismatch errors // The useColorMode() hook value lags behind on purpose // This helps users avoid hydration mismatch errors in their code // See also https://github.com/facebook/docusaurus/issues/7986 function useColorModeState(){const{colorMode:{defaultMode}}=(0,_utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__/* .useThemeConfig */ .p)();const[colorMode,setColorModeState]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultMode);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{setColorModeState(readInitialColorMode());},[]);return[colorMode,setColorModeState];}function useContextValue(){const{colorMode:{defaultMode,disableSwitch,respectPrefersColorScheme}}=(0,_utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__/* .useThemeConfig */ .p)();const[colorMode,setColorModeState]=useColorModeState();(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{// A site is deployed without disableSwitch // => User visits the site and has a persisted value // => Site later enabled disableSwitch // => Clear the previously stored value to apply the site's setting if(disableSwitch){ColorModeStorage.del();}},[disableSwitch]);const setColorMode=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((newColorMode,options={})=>{const{persist=true}=options;if(newColorMode){ColorModeAttribute.set(newColorMode);setColorModeState(newColorMode);if(persist){storeColorMode(newColorMode);}}else{if(respectPrefersColorScheme){const osColorMode=window.matchMedia('(prefers-color-scheme: dark)').matches?ColorModes.dark:ColorModes.light;ColorModeAttribute.set(osColorMode);setColorModeState(osColorMode);}else{ColorModeAttribute.set(defaultMode);setColorModeState(defaultMode);}ColorModeStorage.del();}},[setColorModeState,respectPrefersColorScheme,defaultMode]);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{if(disableSwitch){return undefined;}return ColorModeStorage.listen(e=>{setColorMode(coerceToColorMode(e.newValue));});},[disableSwitch,setColorMode]);// PCS is coerced to light mode when printing, which causes the color mode to // be reset to dark when exiting print mode, disregarding user settings. When // the listener fires only because of a print/screen switch, we don't change // color mode. See https://github.com/facebook/docusaurus/pull/6490 const previousMediaIsPrint=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{if(disableSwitch&&!respectPrefersColorScheme){return undefined;}const mql=window.matchMedia('(prefers-color-scheme: dark)');const onChange=()=>{if(window.matchMedia('print').matches||previousMediaIsPrint.current){previousMediaIsPrint.current=window.matchMedia('print').matches;return;}setColorMode(null);};mql.addListener(onChange);return()=>mql.removeListener(onChange);},[setColorMode,disableSwitch,respectPrefersColorScheme]);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>({colorMode,setColorMode,get isDarkTheme(){if(false){}return colorMode===ColorModes.dark;},setLightTheme(){if(false){}setColorMode(ColorModes.light);},setDarkTheme(){if(false){}setColorMode(ColorModes.dark);}}),[colorMode,setColorMode]);}function ColorModeProvider({children}){const value=useContextValue();return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Context.Provider,{value:value,children:children});}function useColorMode(){const context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(context==null){throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV('ColorModeProvider','Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.');}return context;} /***/ }), /***/ 1021: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { e: () => (/* binding */ NavbarMobileSidebarProvider), M: () => (/* binding */ useNavbarMobileSidebar) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/contexts/navbarSecondaryMenu/content.js var content = __webpack_require__(5105); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/hooks/useWindowSize.js var useWindowSize = __webpack_require__(242); // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/reactUtils.js var reactUtils = __webpack_require__(9129); ;// ../packages/docusaurus-theme-common/lib/utils/historyUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Permits to register a handler that will be called on history actions (pop, * push, replace). If the handler returns `false`, the navigation transition * will be blocked/cancelled. */function useHistoryActionHandler(handler){const history=(0,react_router/* useHistory */.W6)();const stableHandler=(0,reactUtils/* useEvent */._q)(handler);(0,react.useEffect)(// See https://github.com/remix-run/history/blob/main/docs/blocking-transitions.md ()=>history.block((location,action)=>stableHandler(location,action)),[history,stableHandler]);}/** * Permits to register a handler that will be called on history pop navigation * (backward/forward). If the handler returns `false`, the backward/forward * transition will be blocked. Unfortunately there's no good way to detect the * "direction" (backward/forward) of the POP event. */function useHistoryPopHandler(handler){useHistoryActionHandler((location,action)=>{if(action==='POP'){// Maybe block navigation if handler returns false return handler(location,action);}// Don't block other navigation actions return undefined;});}/** * Permits to efficiently subscribe to a slice of the history * See https://thisweekinreact.com/articles/useSyncExternalStore-the-underrated-react-api * @param selector */function useHistorySelector(selector){const history=useHistory();return useSyncExternalStore(history.listen,()=>selector(history),()=>selector(history));}/** * Permits to efficiently subscribe to a specific querystring value * @param key */function useQueryStringValue(key){return useHistorySelector(history=>{if(key===null){return null;}return new URLSearchParams(history.location.search).get(key);});}function useQueryStringUpdater(key){const history=useHistory();return useCallback((newValue,options)=>{const searchParams=new URLSearchParams(history.location.search);if(newValue){searchParams.set(key,newValue);}else{searchParams.delete(key);}const updateHistory=options?.push?history.push:history.replace;updateHistory({search:searchParams.toString()});},[key,history]);}function useQueryString(key){const value=useQueryStringValue(key)??'';const update=useQueryStringUpdater(key);return[value,update];}function useQueryStringListValues(key){// Unfortunately we can't just use searchParams.getAll(key) in the selector // It would create a new array every time and lead to an infinite loop... // The selector has to return a primitive/string value to avoid that... const arrayJsonString=useHistorySelector(history=>{const values=new URLSearchParams(history.location.search).getAll(key);return JSON.stringify(values);});return useMemo(()=>JSON.parse(arrayJsonString),[arrayJsonString]);}function useQueryStringListUpdater(key){const history=useHistory();const setValues=useCallback((update,options)=>{const searchParams=new URLSearchParams(history.location.search);const newValues=Array.isArray(update)?update:update(searchParams.getAll(key));searchParams.delete(key);newValues.forEach(v=>searchParams.append(key,v));const updateHistory=options?.push?history.push:history.replace;updateHistory({search:searchParams.toString()});},[history,key]);return setValues;}function useQueryStringList(key){const values=useQueryStringListValues(key);const setValues=useQueryStringListUpdater(key);return[values,setValues];}function useClearQueryString(){const history=useHistory();return useCallback(()=>{history.replace({search:undefined});},[history]);} // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-common/lib/contexts/navbarMobileSidebar.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react.createContext(undefined);function useIsNavbarMobileSidebarDisabled(){const secondaryMenuContent=(0,content/* useNavbarSecondaryMenuContent */.YL)();const{items}=(0,useThemeConfig/* useThemeConfig */.p)().navbar;return items.length===0&&!secondaryMenuContent.component;}function useContextValue(){const disabled=useIsNavbarMobileSidebarDisabled();const windowSize=(0,useWindowSize/* useWindowSize */.l)();const shouldRender=!disabled&&windowSize==='mobile';const[shown,setShown]=(0,react.useState)(false);// Close mobile sidebar on navigation pop // Most likely firing when using the Android back button (but not only) useHistoryPopHandler(()=>{if(shown){setShown(false);// Prevent pop navigation; seems desirable enough // See https://github.com/facebook/docusaurus/pull/5462#issuecomment-911699846 return false;}return undefined;});const toggle=(0,react.useCallback)(()=>{setShown(s=>!s);},[]);(0,react.useEffect)(()=>{if(windowSize==='desktop'){setShown(false);}},[windowSize]);return (0,react.useMemo)(()=>({disabled,shouldRender,toggle,shown}),[disabled,shouldRender,toggle,shown]);}function NavbarMobileSidebarProvider({children}){const value=useContextValue();return/*#__PURE__*/(0,jsx_runtime.jsx)(Context.Provider,{value:value,children:children});}function useNavbarMobileSidebar(){const context=react.useContext(Context);if(context===undefined){throw new reactUtils/* ReactContextError */.dV('NavbarMobileSidebarProvider');}return context;} /***/ }), /***/ 5105: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ GX: () => (/* binding */ NavbarSecondaryMenuFiller), /* harmony export */ YL: () => (/* binding */ useNavbarSecondaryMenuContent), /* harmony export */ y_: () => (/* binding */ NavbarSecondaryMenuContentProvider) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9129); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);/** @internal */function NavbarSecondaryMenuContentProvider({children}){const value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({component:null,props:null});return(/*#__PURE__*/// @ts-expect-error: this context is hard to type (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:value,children:children}));}/** @internal */function useNavbarSecondaryMenuContent(){const value=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!value){throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV('NavbarSecondaryMenuContentProvider');}return value[0];}/** * This component renders nothing by itself, but it fills the placeholder in the * generic secondary menu layout. This reduces coupling between the main layout * and the specific page. * * This kind of feature is often called portal/teleport/gateway/outlet... * Various unmaintained React libs exist. Most up-to-date one: * https://github.com/gregberge/react-teleporter * Not sure any of those is safe regarding concurrent mode. */function NavbarSecondaryMenuFiller({component,props}){const context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);if(!context){throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV('NavbarSecondaryMenuContentProvider');}const[,setContent]=context;// To avoid useless context re-renders, props are memoized shallowly const memoizedProps=(0,_utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .useShallowMemoObject */ .Be)(props);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{// @ts-expect-error: this context is hard to type setContent({component,props:memoizedProps});},[setContent,component,memoizedProps]);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>()=>setContent({component:null,props:null}),[setContent]);return null;} /***/ }), /***/ 4684: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ J: () => (/* binding */ useKeyboardNavigation), /* harmony export */ w: () => (/* binding */ keyboardFocusedClassName) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _styles_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7317); /* harmony import */ var _styles_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_styles_css__WEBPACK_IMPORTED_MODULE_1__); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const keyboardFocusedClassName='navigation-with-keyboard';/** * Side-effect that adds the `keyboardFocusedClassName` to the body element when * the keyboard has been pressed, or removes it when the mouse is clicked. * * The presence of this class name signals that the user may be using keyboard * for navigation, and the theme **must** add focus outline when this class name * is present. (And optionally not if it's absent, for design purposes) * * Inspired by https://hackernoon.com/removing-that-ugly-focus-ring-and-keeping-it-too-6c8727fefcd2 */function useKeyboardNavigation(){(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{function handleOutlineStyles(e){if(e.type==='keydown'&&e.key==='Tab'){document.body.classList.add(keyboardFocusedClassName);}if(e.type==='mousedown'){document.body.classList.remove(keyboardFocusedClassName);}}document.addEventListener('keydown',handleOutlineStyles);document.addEventListener('mousedown',handleOutlineStyles);return()=>{document.body.classList.remove(keyboardFocusedClassName);document.removeEventListener('keydown',handleOutlineStyles);document.removeEventListener('mousedown',handleOutlineStyles);};},[]);} /***/ }), /***/ 242: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ l: () => (/* binding */ useWindowSize) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4468); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const windowSizes={desktop:'desktop',mobile:'mobile',ssr:'ssr'};// Note: this value is also hardcoded in Infima // Both JS and CSS must have the same value // Updating this JS value alone is not enough // See https://github.com/facebook/docusaurus/issues/9603 const DesktopBreakpoint=996;function getWindowSize(desktopBreakpoint){if(!_docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.canUseDOM){throw new Error('getWindowSize() should only be called after React hydration');}return window.innerWidth>desktopBreakpoint?windowSizes.desktop:windowSizes.mobile;}/** * Gets the current window size as an enum value. We don't want it to return the * actual width value, so that it only re-renders once a breakpoint is crossed. * * It may return `"ssr"`, which is very important to handle hydration FOUC or * layout shifts. You have to handle it explicitly upfront. On the server, you * may need to render BOTH the mobile/desktop elements (and hide one of them * with mediaquery). We don't return `undefined` on purpose, to make it more * explicit. */function useWindowSize({desktopBreakpoint=DesktopBreakpoint}={}){const[windowSize,setWindowSize]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(()=>// super important to return a constant value to avoid hydration mismatch // see https://github.com/facebook/docusaurus/issues/9379 'ssr');(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{function updateWindowSize(){setWindowSize(getWindowSize(desktopBreakpoint));}updateWindowSize();window.addEventListener('resize',updateWindowSize);return()=>{window.removeEventListener('resize',updateWindowSize);};},[desktopBreakpoint]);return windowSize;} /***/ }), /***/ 7374: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Y4: () => (/* binding */ BlogAuthorNoPostsLabel), /* harmony export */ ZD: () => (/* binding */ useBlogTagsPostsPageTitle), /* harmony export */ np: () => (/* binding */ BlogAuthorsListViewAllLabel), /* harmony export */ uz: () => (/* binding */ translateBlogAuthorsListPageTitle), /* harmony export */ wI: () => (/* binding */ useBlogAuthorPageTitle) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _utils_usePluralForm__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7054); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Only used locally function useBlogPostsPlural(){const{selectMessage}=(0,_utils_usePluralForm__WEBPACK_IMPORTED_MODULE_3__/* .usePluralForm */ .W)();return count=>selectMessage(count,(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.blog.post.plurals',description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:'One post|{count} posts'},{count}));}function useBlogTagsPostsPageTitle(tag){const blogPostsPlural=useBlogPostsPlural();return (0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.blog.tagTitle',description:'The title of the page for a blog tag',message:'{nPosts} tagged with "{tagName}"'},{nPosts:blogPostsPlural(tag.count),tagName:tag.label});}function useBlogAuthorPageTitle(author){const blogPostsPlural=useBlogPostsPlural();return (0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.blog.author.pageTitle',description:'The title of the page for a blog author',message:'{authorName} - {nPosts}'},{nPosts:blogPostsPlural(author.count),authorName:author.name||author.key});}const translateBlogAuthorsListPageTitle=()=>(0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* .translate */ .T)({id:'theme.blog.authorsList.pageTitle',message:'Authors',description:'The title of the authors page'});function BlogAuthorsListViewAllLabel(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.blog.authorsList.viewAll",description:"The label of the link targeting the blog authors page",children:"View all authors"});}function BlogAuthorNoPostsLabel(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.blog.author.noPosts",description:"The text for authors with 0 blog post",children:"This author has not written any posts yet."});} /***/ }), /***/ 9137: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ AE: () => (/* binding */ UnlistedMetadata), /* harmony export */ Rc: () => (/* binding */ UnlistedBannerTitle), /* harmony export */ TT: () => (/* binding */ DraftBannerMessage), /* harmony export */ Uh: () => (/* binding */ UnlistedBannerMessage), /* harmony export */ Yh: () => (/* binding */ DraftBannerTitle) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4709); /* harmony import */ var _docusaurus_Head__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2785); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function UnlistedBannerTitle(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"});}function UnlistedBannerMessage(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."});}// TODO Docusaurus v4 breaking change (since it's v3 public theme-common API :/) // Move this to theme/ContentVisibility/Unlisted function UnlistedMetadata(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Head__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,{children:/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("meta",{name:"robots",content:"noindex, nofollow"})});}function DraftBannerTitle(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"});}function DraftBannerMessage(){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."});} /***/ }), /***/ 9153: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ i: () => (/* binding */ useDateTimeFormat) /* harmony export */ }); /* unused harmony export useCalendar */ /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1571); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useCalendar(){const{i18n:{currentLocale,localeConfigs}}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)();return localeConfigs[currentLocale].calendar;}function useDateTimeFormat(options={}){const{i18n:{currentLocale}}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)();const calendar=useCalendar();return new Intl.DateTimeFormat(currentLocale,{calendar,...options});} /***/ }), /***/ 8532: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ G: () => (/* binding */ ThemeClassNames) /* harmony export */ }); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Please do not modify the classnames! This is a breaking change, and annoying // for users! /** * These class names are used to style page layouts in Docusaurus, meant to be * targeted by user-provided custom CSS selectors. */const ThemeClassNames={page:{blogListPage:'blog-list-page',blogPostPage:'blog-post-page',blogTagsListPage:'blog-tags-list-page',blogTagPostListPage:'blog-tags-post-list-page',blogAuthorsListPage:'blog-authors-list-page',blogAuthorsPostsPage:'blog-authors-posts-page',docsDocPage:'docs-doc-page',docsTagsListPage:'docs-tags-list-page',docsTagDocListPage:'docs-tags-doc-list-page',mdxPage:'mdx-page'},// TODO Docusaurus v4: remove old classes? wrapper:{main:'main-wrapper',// replaced by theme-layout-main // TODO these wrapper class names are now quite useless // TODO do breaking change later in 3.0 // we already add plugin name/id class on <html>: that's enough blogPages:'blog-wrapper',docsPages:'docs-wrapper',mdxPages:'mdx-wrapper'},common:{editThisPage:'theme-edit-this-page',lastUpdated:'theme-last-updated',backToTopButton:'theme-back-to-top-button',codeBlock:'theme-code-block',admonition:'theme-admonition',unlistedBanner:'theme-unlisted-banner',draftBanner:'theme-draft-banner',admonitionType:type=>`theme-admonition-${type}`},announcementBar:{container:'theme-announcement-bar'},layout:{navbar:{container:'theme-layout-navbar',containerLeft:'theme-layout-navbar-left',containerRight:'theme-layout-navbar-right',mobileSidebar:{container:'theme-layout-navbar-sidebar',panel:'theme-layout-navbar-sidebar-panel'}},main:{container:'theme-layout-main'},footer:{container:'theme-layout-footer',column:'theme-layout-footer-column'}},/** * Follows the naming convention "theme-{blog,doc,version,page}?-<suffix>" */docs:{docVersionBanner:'theme-doc-version-banner',docVersionBadge:'theme-doc-version-badge',docBreadcrumbs:'theme-doc-breadcrumbs',docMarkdown:'theme-doc-markdown',docTocMobile:'theme-doc-toc-mobile',docTocDesktop:'theme-doc-toc-desktop',docFooter:'theme-doc-footer',docFooterTagsRow:'theme-doc-footer-tags-row',docFooterEditMetaRow:'theme-doc-footer-edit-meta-row',docSidebarContainer:'theme-doc-sidebar-container',docSidebarMenu:'theme-doc-sidebar-menu',docSidebarItemCategory:'theme-doc-sidebar-item-category',docSidebarItemLink:'theme-doc-sidebar-item-link',docSidebarItemCategoryLevel:level=>`theme-doc-sidebar-item-category-level-${level}`,docSidebarItemLinkLevel:level=>`theme-doc-sidebar-item-link-level-${level}`// TODO add other stable classNames here },blog:{// TODO add other stable classNames here blogFooterTagsRow:'theme-blog-footer-tags-row',blogFooterEditMetaRow:'theme-blog-footer-edit-meta-row'},pages:{pageFooterEditMetaRow:'theme-pages-footer-edit-meta-row'}}; /***/ }), /***/ 644: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ O: () => (/* binding */ prefersReducedMotion) /* harmony export */ }); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function prefersReducedMotion(){return window.matchMedia('(prefers-reduced-motion: reduce)').matches;} /***/ }), /***/ 29: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $z: () => (/* binding */ groupBy), /* harmony export */ sb: () => (/* binding */ uniq) /* harmony export */ }); /* unused harmony export duplicates */ /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// A replacement of lodash in client code /** * Gets the duplicate values in an array. * @param arr The array. * @param comparator Compares two values and returns `true` if they are equal * (duplicated). * @returns Value of the elements `v` that have a preceding element `u` where * `comparator(u, v) === true`. Values within the returned array are not * guaranteed to be unique. */function duplicates(arr,comparator=(a,b)=>a===b){return arr.filter((v,vIndex)=>arr.findIndex(u=>comparator(u,v))!==vIndex);}/** * Remove duplicate array items (similar to `_.uniq`) * @param arr The array. * @returns An array with duplicate elements removed by reference comparison. */function uniq(arr){// Note: had problems with [...new Set()]: https://github.com/facebook/docusaurus/issues/4972#issuecomment-863895061 return Array.from(new Set(arr));}// TODO 2025: replace by std Object.groupBy ? // This is a local polyfill with exact same TS signature // see https://github.com/microsoft/TypeScript/blob/main/src/lib/esnext.object.d.ts function groupBy(items,keySelector){const result={};let index=0;for(const item of items){const key=keySelector(item,index);result[key]??=[];result[key].push(item);index+=1;}return result;} /***/ }), /***/ 5861: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { e3: () => (/* binding */ HtmlClassNameProvider), be: () => (/* binding */ PageMetadata), Jx: () => (/* binding */ PluginHtmlClassNameProvider) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useRouteContext.js var useRouteContext = __webpack_require__(9060); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); ;// ../packages/docusaurus-theme-common/lib/utils/generalUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Formats the page's title based on relevant site config and other contexts. */function useTitleFormatter(title){const{siteConfig}=(0,useDocusaurusContext/* default */.A)();const{title:siteTitle,titleDelimiter}=siteConfig;return title?.trim().length?`${title.trim()} ${titleDelimiter} ${siteTitle}`:siteTitle;} // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Helper component to manipulate page metadata and override site defaults. * Works in the same way as Helmet. */function PageMetadata({title,description,keywords,image,children}){const pageTitle=useTitleFormatter(title);const{withBaseUrl}=(0,useBaseUrl/* useBaseUrlUtils */.hH)();const pageImage=image?withBaseUrl(image,{absolute:true}):undefined;return/*#__PURE__*/(0,jsx_runtime.jsxs)(Head/* default */.A,{children:[title&&/*#__PURE__*/(0,jsx_runtime.jsx)("title",{children:pageTitle}),title&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:title",content:pageTitle}),description&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"description",content:description}),description&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:description",content:description}),keywords&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"keywords",content:// https://github.com/microsoft/TypeScript/issues/17002 Array.isArray(keywords)?keywords.join(','):keywords}),pageImage&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:image",content:pageImage}),pageImage&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"twitter:image",content:pageImage}),children]});}const HtmlClassNameContext=/*#__PURE__*/react.createContext(undefined);/** * Every layer of this provider will append a class name to the HTML element. * There's no consumer for this hook: it's side-effect-only. This wrapper is * necessary because Helmet does not "merge" classes. * @see https://github.com/staylor/react-helmet-async/issues/161 */function HtmlClassNameProvider({className:classNameProp,children}){const classNameContext=react.useContext(HtmlClassNameContext);const className=(0,clsx/* default */.A)(classNameContext,classNameProp);return/*#__PURE__*/(0,jsx_runtime.jsxs)(HtmlClassNameContext.Provider,{value:className,children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("html",{className:className})}),children]});}function pluginNameToClassName(pluginName){return`plugin-${pluginName.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,'')}`;}/** * A very thin wrapper around `HtmlClassNameProvider` that adds the plugin ID + * name to the HTML class name. */function PluginHtmlClassNameProvider({children}){const routeContext=(0,useRouteContext/* default */.A)();const nameClass=pluginNameToClassName(routeContext.plugin.name);const idClass=`plugin-id-${routeContext.plugin.id}`;return/*#__PURE__*/(0,jsx_runtime.jsx)(HtmlClassNameProvider,{className:(0,clsx/* default */.A)(nameClass,idClass),children:children});} /***/ }), /***/ 9129: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Be: () => (/* binding */ useShallowMemoObject), /* harmony export */ ZC: () => (/* binding */ usePrevious), /* harmony export */ _q: () => (/* binding */ useEvent), /* harmony export */ dV: () => (/* binding */ ReactContextError), /* harmony export */ fM: () => (/* binding */ composeProviders) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(610); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Temporary userland implementation until an official hook is implemented * See RFC: https://github.com/reactjs/rfcs/pull/220 * * Permits to transform an unstable callback (like an arrow function provided as * props) to a "stable" callback that is safe to use in a `useEffect` dependency * array. Useful to avoid React stale closure problems + avoid useless effect * re-executions. * * This generally works but has some potential drawbacks, such as * https://github.com/facebook/react/issues/16956#issuecomment-536636418 */function useEvent(callback){const ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(callback);(0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(()=>{ref.current=callback;},[callback]);// @ts-expect-error: TS is right that this callback may be a supertype of T, // but good enough for our use return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((...args)=>ref.current(...args),[]);}/** * Gets `value` from the last render. */function usePrevious(value){const ref=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();(0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(()=>{ref.current=value;});return ref.current;}/** * This error is thrown when a context is consumed outside its provider. Allows * reusing a generic error message format and reduces bundle size. The hook's * name will be extracted from its stack, so only the provider's name is needed. */class ReactContextError extends Error{constructor(providerName,additionalInfo){super();this.name='ReactContextError';this.message=`Hook ${this.stack?.split('\n')[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??''} is called outside the <${providerName}>. ${additionalInfo??''}`;}}/** * Shallow-memoize an object. This means the returned object will be the same as * the previous render if the property keys and values did not change. This * works for simple cases: when property values are primitives or stable * objects. * * @param obj */function useShallowMemoObject(obj){const deps=Object.entries(obj);// Sort by keys to make it order-insensitive deps.sort((a,b)=>a[0].localeCompare(b[0]));// eslint-disable-next-line react-hooks/exhaustive-deps return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>obj,deps.flat());}/** * Creates a single React provider from an array of existing providers * assuming providers only take "children" as props. * * Prevents the annoying React element nesting * Example here: https://getfrontend.tips/compose-multiple-react-providers/ * * The order matters: * - The first provider is at the top of the tree. * - The last provider is the most nested one * * @param providers array of providers to compose */function composeProviders(providers){// Creates a single React component: it's cheaper to compose JSX elements return({children})=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment,{children:providers.reduceRight((element,CurrentProvider)=>/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(CurrentProvider,{children:element}),children)});} /***/ }), /***/ 5438: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Dt: () => (/* binding */ useHomePageRoute), /* harmony export */ ys: () => (/* binding */ isSamePath) /* harmony export */ }); /* unused harmony export findHomePageRoute */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _generated_routes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5788); /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1571); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Compare the 2 paths, case insensitive and ignoring trailing slash */function isSamePath(path1,path2){const normalize=pathname=>(!pathname||pathname.endsWith('/')?pathname:`${pathname}/`)?.toLowerCase();return normalize(path1)===normalize(path2);}/** * Note that sites don't always have a homepage in practice, so we can't assume * that linking to '/' is always safe. * @see https://github.com/facebook/docusaurus/pull/6517#issuecomment-1048709116 */function findHomePageRoute({baseUrl,routes:initialRoutes}){function isHomePageRoute(route){return route.path===baseUrl&&route.exact===true;}function isHomeParentRoute(route){return route.path===baseUrl&&!route.exact;}function doFindHomePageRoute(routes){if(routes.length===0){return undefined;}const homePage=routes.find(isHomePageRoute);if(homePage){return homePage;}const indexSubRoutes=routes.filter(isHomeParentRoute).flatMap(route=>route.routes??[]);return doFindHomePageRoute(indexSubRoutes);}return doFindHomePageRoute(initialRoutes);}/** * Fetches the route that points to "/". Use this instead of the naive "/", * because the homepage may not exist. */function useHomePageRoute(){const{baseUrl}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)().siteConfig;return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>findHomePageRoute({routes:_generated_routes__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A,baseUrl}),[baseUrl]);} /***/ }), /***/ 4195: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Mq: () => (/* binding */ useScrollPosition), /* harmony export */ Tv: () => (/* binding */ ScrollControllerProvider), /* harmony export */ gk: () => (/* binding */ useSmoothScrollTo) /* harmony export */ }); /* unused harmony exports useScrollController, useScrollPositionBlocker */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4468); /* harmony import */ var _docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3754); /* harmony import */ var _docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(610); /* harmony import */ var _reactUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9129); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useScrollControllerContextValue(){const scrollEventsEnabledRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(true);return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>({scrollEventsEnabledRef,enableScrollEvents:()=>{scrollEventsEnabledRef.current=true;},disableScrollEvents:()=>{scrollEventsEnabledRef.current=false;}}),[]);}const ScrollMonitorContext=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(undefined);function ScrollControllerProvider({children}){const value=useScrollControllerContextValue();return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(ScrollMonitorContext.Provider,{value:value,children:children});}/** * We need a way to update the scroll position while ignoring scroll events * so as not to toggle Navbar/BackToTop visibility. * * This API permits to temporarily disable/ignore scroll events. Motivated by * https://github.com/facebook/docusaurus/pull/5618 */function useScrollController(){const context=(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ScrollMonitorContext);if(context==null){throw new _reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV('ScrollControllerProvider');}return context;}const getScrollPosition=()=>_docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;/** * This hook fires an effect when the scroll position changes. The effect will * be provided with the before/after scroll positions. Note that the effect may * not be always run: if scrolling is disabled through `useScrollController`, it * will be a no-op. * * @see {@link useScrollController} */function useScrollPosition(effect,deps=[]){const{scrollEventsEnabledRef}=useScrollController();const lastPositionRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(getScrollPosition());const dynamicEffect=(0,_reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .useEvent */ ._q)(effect);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{const handleScroll=()=>{if(!scrollEventsEnabledRef.current){return;}const currentPosition=getScrollPosition();dynamicEffect(currentPosition,lastPositionRef.current);lastPositionRef.current=currentPosition;};const opts={passive:true};handleScroll();window.addEventListener('scroll',handleScroll,opts);return()=>window.removeEventListener('scroll',handleScroll,opts);// eslint-disable-next-line react-hooks/exhaustive-deps },[dynamicEffect,scrollEventsEnabledRef,...deps]);}function useScrollPositionSaver(){const lastElementRef=useRef({elem:null,top:0});const save=useCallback(elem=>{lastElementRef.current={elem,top:elem.getBoundingClientRect().top};},[]);const restore=useCallback(()=>{const{current:{elem,top}}=lastElementRef;if(!elem){return{restored:false};}const newTop=elem.getBoundingClientRect().top;const heightDiff=newTop-top;if(heightDiff){window.scrollBy({left:0,top:heightDiff});}lastElementRef.current={elem:null,top:0};return{restored:heightDiff!==0};},[]);return useMemo(()=>({save,restore}),[restore,save]);}/** * This hook permits to "block" the scroll position of a DOM element. * The idea is that we should be able to update DOM content above this element * but the screen position of this element should not change. * * Feature motivated by the Tabs groups: clicking on a tab may affect tabs of * the same group upper in the tree, yet to avoid a bad UX, the clicked tab must * remain under the user mouse. * * @see https://github.com/facebook/docusaurus/pull/5618 */function useScrollPositionBlocker(){const scrollController=useScrollController();const scrollPositionSaver=useScrollPositionSaver();const nextLayoutEffectCallbackRef=useRef(undefined);const blockElementScrollPositionUntilNextRender=useCallback(el=>{scrollPositionSaver.save(el);scrollController.disableScrollEvents();nextLayoutEffectCallbackRef.current=()=>{const{restored}=scrollPositionSaver.restore();nextLayoutEffectCallbackRef.current=undefined;// Restoring the former scroll position will trigger a scroll event. We // need to wait for next scroll event to happen before enabling the // scrollController events again. if(restored){const handleScrollRestoreEvent=()=>{scrollController.enableScrollEvents();window.removeEventListener('scroll',handleScrollRestoreEvent);};window.addEventListener('scroll',handleScrollRestoreEvent);}else{scrollController.enableScrollEvents();}};},[scrollController,scrollPositionSaver]);useIsomorphicLayoutEffect(()=>{// Queuing permits to restore scroll position after all useLayoutEffect // have run, and yet preserve the sync nature of the scroll restoration // See https://github.com/facebook/docusaurus/issues/8625 queueMicrotask(()=>nextLayoutEffectCallbackRef.current?.());});return{blockElementScrollPositionUntilNextRender};}function smoothScrollNative(top){window.scrollTo({top,behavior:'smooth'});return()=>{// Nothing to cancel, it's natively cancelled if user tries to scroll down };}function smoothScrollPolyfill(top){let raf=null;const isUpScroll=document.documentElement.scrollTop>top;function rafRecursion(){const currentScroll=document.documentElement.scrollTop;if(isUpScroll&¤tScroll>top||!isUpScroll&¤tScroll<top){raf=requestAnimationFrame(rafRecursion);window.scrollTo(0,Math.floor((currentScroll-top)*0.85)+top);}}rafRecursion();// Break the recursion. Prevents the user from "fighting" against that // recursion producing a weird UX return()=>raf&&cancelAnimationFrame(raf);}/** * A "smart polyfill" of `window.scrollTo({ top, behavior: "smooth" })`. * This currently always uses a polyfilled implementation unless * `scroll-behavior: smooth` has been set in CSS, because native support * detection for scroll behavior seems unreliable. * * This hook does not do anything by itself: it returns a start and a stop * handle. You can execute either handle at any time. */function useSmoothScrollTo(){const cancelRef=(0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);const isBrowser=(0,_docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)();// Not all have support for smooth scrolling (particularly Safari mobile iOS) // TODO proper detection is currently unreliable! // see https://github.com/wessberg/scroll-behavior-polyfill/issues/16 // For now, we only use native scroll behavior if smooth is already set, // because otherwise the polyfill produces a weird UX when both CSS and JS try // to scroll a page, and they cancel each other. const supportsNativeSmoothScrolling=isBrowser&&getComputedStyle(document.documentElement).scrollBehavior==='smooth';return{startScroll:top=>{cancelRef.current=supportsNativeSmoothScrolling?smoothScrollNative(top):smoothScrollPolyfill(top);},cancelScroll:()=>cancelRef.current?.()};} /***/ }), /***/ 8463: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { Wf: () => (/* binding */ createStorageSlot) }); // UNUSED EXPORTS: listStorageKeys, useStorageSlot // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); ;// ./.docusaurus/site-storage.json const site_storage_namespaceObject = /*#__PURE__*/JSON.parse('{"N":"localStorage","M":""}'); ;// ../packages/docusaurus-theme-common/lib/utils/storageUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const DefaultStorageType=site_storage_namespaceObject.N;function applyNamespace(storageKey){return`${storageKey}${site_storage_namespaceObject.M}`;}// window.addEventListener('storage') only works for different windows... // so for current window we have to dispatch the event manually // Now we can listen for both cross-window / current-window storage changes! // see https://stackoverflow.com/a/71177640/82609 // see https://stackoverflow.com/questions/26974084/listen-for-changes-with-localstorage-on-the-same-window function dispatchChangeEvent({key,oldValue,newValue,storage}){// If we set multiple times the same storage value, events should not be fired // The native events behave this way, so our manual event dispatch should // rather behave exactly the same. Not doing so might create infinite loops. // See https://github.com/facebook/docusaurus/issues/8594 if(oldValue===newValue){return;}const event=document.createEvent('StorageEvent');event.initStorageEvent('storage',false,false,key,oldValue,newValue,window.location.href,storage);window.dispatchEvent(event);}/** * Will return `null` if browser storage is unavailable (like running Docusaurus * in an iframe). This should NOT be called in SSR. * * @see https://github.com/facebook/docusaurus/pull/4501 */function getBrowserStorage(storageType=DefaultStorageType){if(typeof window==='undefined'){throw new Error('Browser storage is not available on Node.js/Docusaurus SSR process.');}if(storageType==='none'){return null;}try{return window[storageType];}catch(err){logOnceBrowserStorageNotAvailableWarning(err);return null;}}let hasLoggedBrowserStorageNotAvailableWarning=false;/** * Poor man's memoization to avoid logging multiple times the same warning. * Sometimes, `localStorage`/`sessionStorage` is unavailable due to browser * policies. */function logOnceBrowserStorageNotAvailableWarning(error){if(!hasLoggedBrowserStorageNotAvailableWarning){console.warn(`Docusaurus browser storage is not available. Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,error);hasLoggedBrowserStorageNotAvailableWarning=true;}}const NoopStorageSlot={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};// Fail-fast, as storage APIs should not be used during the SSR process function createServerStorageSlot(key){function throwError(){throw new Error(`Illegal storage API usage for storage key "${key}". Docusaurus storage APIs are not supposed to be called on the server-rendering process. Please only call storage APIs in effects and event handlers.`);}return{get:throwError,set:throwError,del:throwError,listen:throwError};}/** * Creates an interface to work on a particular key in the storage model. * Note that this function only initializes the interface, but doesn't allocate * anything by itself (i.e. no side-effects). * * The API is fail-safe, since usage of browser storage should be considered * unreliable. Local storage might simply be unavailable (iframe + browser * security) or operations might fail individually. Please assume that using * this API can be a no-op. See also https://github.com/facebook/docusaurus/issues/6036 */function createStorageSlot(keyInput,options){const key=applyNamespace(keyInput);if(typeof window==='undefined'){return createServerStorageSlot(key);}const storage=getBrowserStorage(options?.persistence);if(storage===null){return NoopStorageSlot;}return{get:()=>{try{return storage.getItem(key);}catch(err){console.error(`Docusaurus storage error, can't get key=${key}`,err);return null;}},set:newValue=>{try{const oldValue=storage.getItem(key);storage.setItem(key,newValue);dispatchChangeEvent({key,oldValue,newValue,storage});}catch(err){console.error(`Docusaurus storage error, can't set ${key}=${newValue}`,err);}},del:()=>{try{const oldValue=storage.getItem(key);storage.removeItem(key);dispatchChangeEvent({key,oldValue,newValue:null,storage});}catch(err){console.error(`Docusaurus storage error, can't delete key=${key}`,err);}},listen:onChange=>{try{const listener=event=>{if(event.storageArea===storage&&event.key===key){onChange(event);}};window.addEventListener('storage',listener);return()=>window.removeEventListener('storage',listener);}catch(err){console.error(`Docusaurus storage error, can't listen for changes of key=${key}`,err);return()=>{};}}};}function useStorageSlot(key,options){// Not ideal but good enough: assumes storage slot config is constant const storageSlot=useRef(()=>{if(key===null){return NoopStorageSlot;}return createStorageSlot(key,options);}).current();const listen=useCallback(onChange=>{// Do not try to add a listener during SSR if(typeof window==='undefined'){return()=>{};}return storageSlot.listen(onChange);},[storageSlot]);const currentValue=useSyncExternalStore(listen,()=>{// react-test-renderer (deprecated) never call getServerSnapshot() :/ if(false){}return storageSlot.get();},()=>null);return[currentValue,storageSlot];}/** * Returns a list of all the keys currently stored in browser storage, * or an empty list if browser storage can't be accessed. */function listStorageKeys(storageType=DefaultStorageType){const browserStorage=getBrowserStorage(storageType);if(!browserStorage){return[];}const keys=[];for(let i=0;i<browserStorage.length;i+=1){const key=browserStorage.key(i);if(key!==null){keys.push(key);}}return keys;} /***/ }), /***/ 5040: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ o: () => (/* binding */ useAlternatePageUtils) /* harmony export */ }); /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1571); /* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9519); /* harmony import */ var _docusaurus_utils_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5819); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Permits to obtain the url of the current page in another locale, useful to * generate hreflang meta headers etc... * * @see https://developers.google.com/search/docs/advanced/crawling/localized-versions */function useAlternatePageUtils(){const{siteConfig:{baseUrl,url,trailingSlash},i18n:{defaultLocale,currentLocale}}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)();// TODO using useLocation().pathname is not a super idea // See https://github.com/facebook/docusaurus/issues/9170 const{pathname}=(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .zy)();const canonicalPathname=(0,_docusaurus_utils_common__WEBPACK_IMPORTED_MODULE_2__/* .applyTrailingSlash */ .Ks)(pathname,{trailingSlash,baseUrl});const baseUrlUnlocalized=currentLocale===defaultLocale?baseUrl:baseUrl.replace(`/${currentLocale}/`,'/');const pathnameSuffix=canonicalPathname.replace(baseUrl,'');function getLocalizedBaseUrl(locale){return locale===defaultLocale?`${baseUrlUnlocalized}`:`${baseUrlUnlocalized}${locale}/`;}// TODO support correct alternate url when localized site is deployed on // another domain function createUrl({locale,fullyQualified}){return`${fullyQualified?url:''}${getLocalizedBaseUrl(locale)}${pathnameSuffix}`;}return{createUrl};} /***/ }), /***/ 8701: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $: () => (/* binding */ useLocationChange) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9519); /* harmony import */ var _reactUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9129); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Fires an effect when the location changes (which includes hash, query, etc.). * Importantly, doesn't fire when there's no previous location: see * https://github.com/facebook/docusaurus/pull/6696 */function useLocationChange(onLocationChange){const location=(0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .zy)();const previousLocation=(0,_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .usePrevious */ .ZC)(location);const onLocationChangeDynamic=(0,_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .useEvent */ ._q)(onLocationChange);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{if(!previousLocation){return;}if(location!==previousLocation){onLocationChangeDynamic({location,previousLocation});}},[onLocationChangeDynamic,location,previousLocation]);} /***/ }), /***/ 7054: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ W: () => (/* binding */ usePluralForm) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1571); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// We want to ensurer a stable plural form order in all cases // It is more convenient and natural to handle "small values" first // See https://x.com/sebastienlorber/status/1366820663261077510 const OrderedPluralForms=['zero','one','two','few','many','other'];function sortPluralForms(pluralForms){return OrderedPluralForms.filter(pf=>pluralForms.includes(pf));}// Hardcoded english/fallback implementation const EnglishPluralForms={locale:'en',pluralForms:sortPluralForms(['one','other']),select:count=>count===1?'one':'other'};function createLocalePluralForms(locale){const pluralRules=new Intl.PluralRules(locale);return{locale,pluralForms:sortPluralForms(pluralRules.resolvedOptions().pluralCategories),select:count=>pluralRules.select(count)};}/** * Poor man's `PluralSelector` implementation, using an English fallback. We * want a lightweight, future-proof and good-enough solution. We don't want a * perfect and heavy solution. * * Docusaurus classic theme has only 2 deeply nested labels requiring complex * plural rules. We don't want to use `Intl` + `PluralRules` polyfills + full * ICU syntax (react-intl) just for that. * * Notes: * - 2021: 92+% Browsers support `Intl.PluralRules`, and support will increase * in the future * - NodeJS >= 13 has full ICU support by default * - In case of "mismatch" between SSR and Browser ICU support, React keeps * working! */function useLocalePluralForms(){const{i18n:{currentLocale}}=(0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)();return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>{try{return createLocalePluralForms(currentLocale);}catch(err){console.error(`Failed to use Intl.PluralRules for locale "${currentLocale}". Docusaurus will fallback to the default (English) implementation. Error: ${err.message} `);return EnglishPluralForms;}},[currentLocale]);}function selectPluralMessage(pluralMessages,count,localePluralForms){const separator='|';const parts=pluralMessages.split(separator);if(parts.length===1){return parts[0];}if(parts.length>localePluralForms.pluralForms.length){console.error(`For locale=${localePluralForms.locale}, a maximum of ${localePluralForms.pluralForms.length} plural forms are expected (${localePluralForms.pluralForms.join(',')}), but the message contains ${parts.length}: ${pluralMessages}`);}const pluralForm=localePluralForms.select(count);const pluralFormIndex=localePluralForms.pluralForms.indexOf(pluralForm);// In case of not enough plural form messages, we take the last one (other) // instead of returning undefined return parts[Math.min(pluralFormIndex,parts.length-1)];}/** * Reads the current locale and returns an interface very similar to * `Intl.PluralRules`. */function usePluralForm(){const localePluralForm=useLocalePluralForms();return{selectMessage:(count,pluralMessages)=>selectPluralMessage(pluralMessages,count,localePluralForm)};} /***/ }), /***/ 6963: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ p: () => (/* binding */ useThemeConfig) /* harmony export */ }); /* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1571); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * A convenient/more semantic way to get theme config from context. */function useThemeConfig(){return (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)().siteConfig.themeConfig;} /***/ }), /***/ 3834: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */Object.defineProperty(exports, "__esModule", ({value:true}));exports.addTrailingSlash=addTrailingSlash;exports["default"]=applyTrailingSlash;exports.addLeadingSlash=addLeadingSlash;exports.removeTrailingSlash=removeTrailingSlash;const stringUtils_1=__webpack_require__(2949);function addTrailingSlash(str){return str.endsWith('/')?str:`${str}/`;}// Trailing slash handling depends in some site configuration options function applyTrailingSlash(path,options){const{trailingSlash,baseUrl}=options;if(path.startsWith('#')){// Never apply trailing slash to an anchor link return path;}function handleTrailingSlash(str,trailing){return trailing?addTrailingSlash(str):removeTrailingSlash(str);}// undefined = legacy retrocompatible behavior if(typeof trailingSlash==='undefined'){return path;}// The trailing slash should be handled before the ?search#hash ! const[pathname]=path.split(/[#?]/);// Never transform '/' to '' // Never remove the baseUrl trailing slash! // If baseUrl = /myBase/, we want to emit /myBase/index.html and not // /myBase.html! See https://github.com/facebook/docusaurus/issues/5077 const shouldNotApply=pathname==='/'||pathname===baseUrl;const newPathname=shouldNotApply?pathname:handleTrailingSlash(pathname,trailingSlash);return path.replace(pathname,newPathname);}/** Appends a leading slash to `str`, if one doesn't exist. */function addLeadingSlash(str){return(0,stringUtils_1.addPrefix)(str,'/');}/** Removes the trailing slash from `str`. */function removeTrailingSlash(str){return(0,stringUtils_1.removeSuffix)(str,'/');} /***/ }), /***/ 1832: /***/ ((__unused_webpack_module, exports) => { "use strict"; Object.defineProperty(exports, "__esModule", ({value:true}));exports.getErrorCausalChain=getErrorCausalChain;function getErrorCausalChain(error){if(error.cause){return[error,...getErrorCausalChain(error.cause)];}return[error];} /***/ }), /***/ 5819: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */__webpack_unused_export__ = ({value:true});exports.rA=__webpack_unused_export__=__webpack_unused_export__=__webpack_unused_export__=__webpack_unused_export__=__webpack_unused_export__=__webpack_unused_export__=__webpack_unused_export__=exports.Ks=exports.LU=void 0;const tslib_1=__webpack_require__(4629);// __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors // https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368 exports.LU='__blog-post-container';var applyTrailingSlash_1=__webpack_require__(3834);Object.defineProperty(exports, "Ks", ({enumerable:true,get:function(){return tslib_1.__importDefault(applyTrailingSlash_1).default;}}));__webpack_unused_export__ = ({enumerable:true,get:function(){return applyTrailingSlash_1.addTrailingSlash;}});__webpack_unused_export__ = ({enumerable:true,get:function(){return applyTrailingSlash_1.addLeadingSlash;}});__webpack_unused_export__ = ({enumerable:true,get:function(){return applyTrailingSlash_1.removeTrailingSlash;}});var stringUtils_1=__webpack_require__(2949);__webpack_unused_export__ = ({enumerable:true,get:function(){return stringUtils_1.addPrefix;}});__webpack_unused_export__ = ({enumerable:true,get:function(){return stringUtils_1.removeSuffix;}});__webpack_unused_export__ = ({enumerable:true,get:function(){return stringUtils_1.addSuffix;}});__webpack_unused_export__ = ({enumerable:true,get:function(){return stringUtils_1.removePrefix;}});var errorUtils_1=__webpack_require__(1832);Object.defineProperty(exports, "rA", ({enumerable:true,get:function(){return errorUtils_1.getErrorCausalChain;}})); /***/ }), /***/ 2949: /***/ ((__unused_webpack_module, exports) => { "use strict"; /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */Object.defineProperty(exports, "__esModule", ({value:true}));exports.addPrefix=addPrefix;exports.removeSuffix=removeSuffix;exports.addSuffix=addSuffix;exports.removePrefix=removePrefix;/** Adds a given string prefix to `str`. */function addPrefix(str,prefix){return str.startsWith(prefix)?str:`${prefix}${str}`;}/** Removes a given string suffix from `str`. */function removeSuffix(str,suffix){if(suffix===''){// str.slice(0, 0) is "" return str;}return str.endsWith(suffix)?str.slice(0,-suffix.length):str;}/** Adds a given string suffix to `str`. */function addSuffix(str,suffix){return str.endsWith(suffix)?str:`${str}${suffix}`;}/** Removes a given string prefix from `str`. */function removePrefix(str,prefix){return str.startsWith(prefix)?str.slice(prefix.length):str;} /***/ }), /***/ 3054: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ $3: () => (/* binding */ createStatefulBrokenLinks), /* harmony export */ B6: () => (/* binding */ useBrokenLinksContext), /* harmony export */ k5: () => (/* binding */ BrokenLinksProvider) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const createStatefulBrokenLinks=()=>{// Set to dedup, as it's not useful to collect multiple times the same value const allAnchors=new Set();const allLinks=new Set();return{collectAnchor:anchor=>{typeof anchor!=='undefined'&&allAnchors.add(anchor);},collectLink:link=>{typeof link!=='undefined'&&allLinks.add(link);},getCollectedAnchors:()=>[...allAnchors],getCollectedLinks:()=>[...allLinks]};};const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext({collectAnchor:()=>{// No-op for client },collectLink:()=>{// No-op for client }});const useBrokenLinksContext=()=>(0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(Context);function BrokenLinksProvider({children,brokenLinks}){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:brokenLinks,children:children});} /***/ }), /***/ 7820: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ o: () => (/* binding */ Context), /* harmony export */ x: () => (/* binding */ BrowserContextProvider) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Encapsulate the logic to avoid React hydration problems // See https://www.joshwcomeau.com/react/the-perils-of-rehydration/ // On first client-side render, we need to render exactly as the server rendered // isBrowser is set to true only after a successful hydration // Note, isBrowser is not part of useDocusaurusContext() for perf reasons // Using useDocusaurusContext() (much more common need) should not trigger // re-rendering after a successful hydration const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(false);function BrowserContextProvider({children}){const[isBrowser,setIsBrowser]=(0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(()=>{setIsBrowser(true);},[]);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:isBrowser,children:children});} /***/ }), /***/ 4467: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { o: () => (/* binding */ Context), l: () => (/* binding */ DocusaurusContextProvider) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ./.docusaurus/docusaurus.config.mjs var docusaurus_config = __webpack_require__(4784); ;// ./.docusaurus/globalData.json const globalData_namespaceObject = /*#__PURE__*/JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"intro","docs":[{"id":"intro","path":"/docs/intro","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/congratulations","path":"/docs/tutorial-basics/congratulations","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-blog-post","path":"/docs/tutorial-basics/create-a-blog-post","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-document","path":"/docs/tutorial-basics/create-a-document","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/create-a-page","path":"/docs/tutorial-basics/create-a-page","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/deploy-your-site","path":"/docs/tutorial-basics/deploy-your-site","sidebar":"tutorialSidebar"},{"id":"tutorial-basics/markdown-features","path":"/docs/tutorial-basics/markdown-features","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/manage-docs-versions","path":"/docs/tutorial-extras/manage-docs-versions","sidebar":"tutorialSidebar"},{"id":"tutorial-extras/translate-your-site","path":"/docs/tutorial-extras/translate-your-site","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---basics","path":"/docs/category/tutorial---basics","sidebar":"tutorialSidebar"},{"id":"/category/tutorial---extras","path":"/docs/category/tutorial---extras","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docs/intro","label":"intro"}}}}],"breadcrumbs":true}}}'); ;// ./.docusaurus/i18n.json const i18n_namespaceObject = /*#__PURE__*/JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}'); // EXTERNAL MODULE: ./.docusaurus/codeTranslations.json var codeTranslations = __webpack_require__(2654); ;// ./.docusaurus/site-metadata.json const site_metadata_namespaceObject = /*#__PURE__*/JSON.parse('{"docusaurusVersion":"3.7.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.7.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.7.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.7.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.7.0"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.7.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.7.0"}}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus/lib/client/docusaurusContext.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Static value on purpose: don't make it dynamic! // Using context is still useful for testability reasons. const contextValue={siteConfig: docusaurus_config["default"],siteMetadata: site_metadata_namespaceObject,globalData: globalData_namespaceObject,i18n: i18n_namespaceObject,codeTranslations: codeTranslations};const Context=/*#__PURE__*/react.createContext(contextValue);function DocusaurusContextProvider({children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(Context.Provider,{value:contextValue,children:children});} /***/ }), /***/ 5769: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ ErrorBoundary) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/ExecutionEnvironment.js var ExecutionEnvironment = __webpack_require__(4468); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); // EXTERNAL MODULE: ../packages/docusaurus-utils-common/lib/index.js var lib = __webpack_require__(5819); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Layout/index.js + 53 modules var Layout = __webpack_require__(3305); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/routeContext.js var routeContext = __webpack_require__(5015); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus/lib/client/theme-fallback/Error/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Should we translate theme-fallback? /* eslint-disable @docusaurus/no-untranslated-text */function ErrorDisplay({error,tryAgain}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{style:{display:'flex',flexDirection:'column',justifyContent:'center',alignItems:'flex-start',minHeight:'100vh',width:'100%',maxWidth:'80ch',fontSize:'20px',margin:'0 auto',padding:'1rem'},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("h1",{style:{fontSize:'3rem'},children:"This page crashed"}),/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button",onClick:tryAgain,style:{margin:'1rem 0',fontSize:'2rem',cursor:'pointer',borderRadius:20,padding:'1rem'},children:"Try again"}),/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorBoundaryError,{error:error})]});}function ErrorBoundaryError({error}){const causalChain=(0,lib/* getErrorCausalChain */.rA)(error);const fullMessage=causalChain.map(e=>e.message).join('\n\nCause:\n');return/*#__PURE__*/(0,jsx_runtime.jsx)("p",{style:{whiteSpace:'pre-wrap'},children:fullMessage});}// A bit hacky: we need to add an artificial RouteContextProvider here // The goal is to be able to render the error inside the theme layout // Without this, our theme classic would crash due to lack of route context // See also https://github.com/facebook/docusaurus/pull/9852 function ErrorRouteContextProvider({children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(routeContext/* RouteContextProvider */.W,{value:{plugin:{name:'docusaurus-core-error-boundary',id:'default'}},children:children});}function Error({error,tryAgain}){// We wrap the error in its own error boundary because the layout can actually // throw too... Only the ErrorDisplay component is simple enough to be // considered safe to never throw return/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorRouteContextProvider,{children:/*#__PURE__*/(0,jsx_runtime.jsxs)(ErrorBoundary// Note: we display the original error here, not the error that we // captured in this extra error boundary ,{fallback:()=>/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorDisplay,{error:error,tryAgain:tryAgain}),children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("title",{children:"Page Error"})}),/*#__PURE__*/(0,jsx_runtime.jsx)(Layout/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorDisplay,{error:error,tryAgain:tryAgain})})]})});} ;// ../packages/docusaurus/lib/client/exports/ErrorBoundary.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// eslint-disable-next-line react/function-component-definition const DefaultFallback=params=>/*#__PURE__*/(0,jsx_runtime.jsx)(Error,{...params});class ErrorBoundary extends react.Component{constructor(props){super(props);this.state={error:null};}componentDidCatch(error){// Catch errors in any components below and re-render with error message if(ExecutionEnvironment/* default */.A.canUseDOM){this.setState({error});}}render(){const{children}=this.props;const{error}=this.state;if(error){const fallbackParams={error,tryAgain:()=>this.setState({error:null})};const fallback=this.props.fallback??DefaultFallback;return fallback(fallbackParams);}// See https://github.com/facebook/docusaurus/issues/6337#issuecomment-1012913647 return children??null;}} /***/ }), /***/ 4468: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const canUseDOM=typeof window!=='undefined'&&'document'in window&&'createElement'in window.document;const ExecutionEnvironment={canUseDOM,// window.attachEvent is IE-specific; it's very likely Docusaurus won't work // on IE anyway. canUseEventListeners:canUseDOM&&('addEventListener'in window||'attachEvent'in window),canUseIntersectionObserver:canUseDOM&&'IntersectionObserver'in window,canUseViewport:canUseDOM&&'screen'in window};/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExecutionEnvironment); /***/ }), /***/ 2785: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ Head) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var react_helmet_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9005); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Head(props){return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_helmet_async__WEBPACK_IMPORTED_MODULE_1__/* .Helmet */ .mg,{...props});} /***/ }), /***/ 1349: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ exports_Link) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js + 1 modules var inheritsLoose = __webpack_require__(1146); // EXTERNAL MODULE: ../node_modules/history/esm/history.js + 1 modules var esm_history = __webpack_require__(6941); // EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(8102); // EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js var objectWithoutPropertiesLoose = __webpack_require__(9257); // EXTERNAL MODULE: ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js var tiny_invariant = __webpack_require__(6143); ;// ../node_modules/react-router-dom/esm/react-router-dom.js /** * The public API for a <Router> that uses HTML5 history. */ var BrowserRouter = /*#__PURE__*/function (_React$Component) { (0,inheritsLoose/* default */.A)(BrowserRouter, _React$Component); function BrowserRouter() { var _this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; _this.history = (0,esm_history/* createBrowserHistory */.zR)(_this.props); return _this; } var _proto = BrowserRouter.prototype; _proto.render = function render() { return /*#__PURE__*/react.createElement(react_router/* Router */.Ix, { history: this.history, children: this.props.children }); }; return BrowserRouter; }(react.Component); if (false) {} /** * The public API for a <Router> that uses window.location.hash. */ var HashRouter = /*#__PURE__*/function (_React$Component) { (0,inheritsLoose/* default */.A)(HashRouter, _React$Component); function HashRouter() { var _this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; _this.history = (0,esm_history/* createHashHistory */.TM)(_this.props); return _this; } var _proto = HashRouter.prototype; _proto.render = function render() { return /*#__PURE__*/react.createElement(react_router/* Router */.Ix, { history: this.history, children: this.props.children }); }; return HashRouter; }(react.Component); if (false) {} var resolveToLocation = function resolveToLocation(to, currentLocation) { return typeof to === "function" ? to(currentLocation) : to; }; var normalizeToLocation = function normalizeToLocation(to, currentLocation) { return typeof to === "string" ? (0,esm_history/* createLocation */.yJ)(to, null, null, currentLocation) : to; }; var forwardRefShim = function forwardRefShim(C) { return C; }; var forwardRef = react.forwardRef; if (typeof forwardRef === "undefined") { forwardRef = forwardRefShim; } function isModifiedEvent(event) { return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); } var LinkAnchor = forwardRef(function (_ref, forwardedRef) { var innerRef = _ref.innerRef, navigate = _ref.navigate, _onClick = _ref.onClick, rest = (0,objectWithoutPropertiesLoose/* default */.A)(_ref, ["innerRef", "navigate", "onClick"]); var target = rest.target; var props = (0,esm_extends/* default */.A)({}, rest, { onClick: function onClick(event) { try { if (_onClick) _onClick(event); } catch (ex) { event.preventDefault(); throw ex; } if (!event.defaultPrevented && // onClick prevented default event.button === 0 && ( // ignore everything but left clicks !target || target === "_self") && // let browser handle "target=_blank" etc. !isModifiedEvent(event) // ignore clicks with modifier keys ) { event.preventDefault(); navigate(); } } }); // React 15 compat if (forwardRefShim !== forwardRef) { props.ref = forwardedRef || innerRef; } else { props.ref = innerRef; } /* eslint-disable-next-line jsx-a11y/anchor-has-content */ return /*#__PURE__*/react.createElement("a", props); }); if (false) {} /** * The public API for rendering a history-aware <a>. */ var Link = forwardRef(function (_ref2, forwardedRef) { var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = (0,objectWithoutPropertiesLoose/* default */.A)(_ref2, ["component", "replace", "to", "innerRef"]); return /*#__PURE__*/react.createElement(react_router/* __RouterContext */.XZ.Consumer, null, function (context) { !context ? false ? 0 : (0,tiny_invariant/* default */.A)(false) : void 0; var history = context.history; var location = normalizeToLocation(resolveToLocation(to, context.location), context.location); var href = location ? history.createHref(location) : ""; var props = (0,esm_extends/* default */.A)({}, rest, { href: href, navigate: function navigate() { var location = resolveToLocation(to, context.location); var isDuplicateNavigation = (0,esm_history/* createPath */.AO)(context.location) === (0,esm_history/* createPath */.AO)(normalizeToLocation(location)); var method = replace || isDuplicateNavigation ? history.replace : history.push; method(location); } }); // React 15 compat if (forwardRefShim !== forwardRef) { props.ref = forwardedRef || innerRef; } else { props.innerRef = innerRef; } return /*#__PURE__*/react.createElement(component, props); }); }); if (false) { var refType, toType; } var forwardRefShim$1 = function forwardRefShim(C) { return C; }; var forwardRef$1 = react.forwardRef; if (typeof forwardRef$1 === "undefined") { forwardRef$1 = forwardRefShim$1; } function joinClassnames() { for (var _len = arguments.length, classnames = new Array(_len), _key = 0; _key < _len; _key++) { classnames[_key] = arguments[_key]; } return classnames.filter(function (i) { return i; }).join(" "); } /** * A <Link> wrapper that knows if it's "active" or not. */ var NavLink = forwardRef$1(function (_ref, forwardedRef) { var _ref$ariaCurrent = _ref["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref.activeStyle, classNameProp = _ref.className, exact = _ref.exact, isActiveProp = _ref.isActive, locationProp = _ref.location, sensitive = _ref.sensitive, strict = _ref.strict, styleProp = _ref.style, to = _ref.to, innerRef = _ref.innerRef, rest = (0,objectWithoutPropertiesLoose/* default */.A)(_ref, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]); return /*#__PURE__*/react.createElement(react_router/* __RouterContext */.XZ.Consumer, null, function (context) { !context ? false ? 0 : (0,tiny_invariant/* default */.A)(false) : void 0; var currentLocation = locationProp || context.location; var toLocation = normalizeToLocation(resolveToLocation(to, currentLocation), currentLocation); var path = toLocation.pathname; // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202 var escapedPath = path && path.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); var match = escapedPath ? (0,react_router/* matchPath */.B6)(currentLocation.pathname, { path: escapedPath, exact: exact, sensitive: sensitive, strict: strict }) : null; var isActive = !!(isActiveProp ? isActiveProp(match, currentLocation) : match); var className = typeof classNameProp === "function" ? classNameProp(isActive) : classNameProp; var style = typeof styleProp === "function" ? styleProp(isActive) : styleProp; if (isActive) { className = joinClassnames(className, activeClassName); style = (0,esm_extends/* default */.A)({}, style, activeStyle); } var props = (0,esm_extends/* default */.A)({ "aria-current": isActive && ariaCurrent || null, className: className, style: style, to: toLocation }, rest); // React 15 compat if (forwardRefShim$1 !== forwardRef$1) { props.ref = forwardedRef || innerRef; } else { props.innerRef = innerRef; } return /*#__PURE__*/react.createElement(Link, props); }); }); if (false) { var ariaCurrentType; } //# sourceMappingURL=react-router-dom.js.map // EXTERNAL MODULE: ../packages/docusaurus-utils-common/lib/index.js var lib = __webpack_require__(5819); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/isInternalUrl.js var isInternalUrl = __webpack_require__(73); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/ExecutionEnvironment.js var ExecutionEnvironment = __webpack_require__(4468); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBrokenLinks.js var useBrokenLinks = __webpack_require__(1900); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus/lib/client/exports/Link.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// TODO all this wouldn't be necessary if we used ReactRouter basename feature // We don't automatically add base urls to all links, // only the "safe" ones, starting with / (like /docs/introduction) // this is because useBaseUrl() actually transforms relative links // like "introduction" to "/baseUrl/introduction" => bad behavior to fix const shouldAddBaseUrlAutomatically=to=>to.startsWith('/');function Link_Link({isNavLink,to,href,activeClassName,isActive,'data-noBrokenLinkCheck':noBrokenLinkCheck,autoAddBaseUrl=true,...props},forwardedRef){const{siteConfig}=(0,useDocusaurusContext/* default */.A)();const{trailingSlash,baseUrl}=siteConfig;const router=siteConfig.future.experimental_router;const{withBaseUrl}=(0,useBaseUrl/* useBaseUrlUtils */.hH)();const brokenLinks=(0,useBrokenLinks/* default */.A)();const innerRef=(0,react.useRef)(null);(0,react.useImperativeHandle)(forwardedRef,()=>innerRef.current);// IMPORTANT: using to or href should not change anything // For example, MDX links will ALWAYS give us the href props // Using one prop or the other should not be used to distinguish // internal links (/docs/myDoc) from external links (https://github.com) const targetLinkUnprefixed=to||href;function maybeAddBaseUrl(str){return autoAddBaseUrl&&shouldAddBaseUrlAutomatically(str)?withBaseUrl(str):str;}const isInternal=(0,isInternalUrl/* default */.A)(targetLinkUnprefixed);// pathname:// is a special "protocol" we use to tell Docusaurus link // that a link is not "internal" and that we shouldn't use history.push() // this is not ideal but a good enough escape hatch for now // see https://github.com/facebook/docusaurus/issues/3309 // note: we want baseUrl to be appended (see issue for details) // TODO read routes and automatically detect internal/external links? const targetLinkWithoutPathnameProtocol=targetLinkUnprefixed?.replace('pathname://','');// TODO we should use ReactRouter basename feature instead! // Automatically apply base url in links that start with / let targetLink=typeof targetLinkWithoutPathnameProtocol!=='undefined'?maybeAddBaseUrl(targetLinkWithoutPathnameProtocol):undefined;// TODO find a way to solve this problem properly // Fix edge case when useBaseUrl is used on a link // "./" is useful for images and other resources // But we don't need it for <Link> // unfortunately we can't really make the difference :/ if(router==='hash'&&targetLink?.startsWith('./')){targetLink=targetLink?.slice(1);}if(targetLink&&isInternal){targetLink=(0,lib/* applyTrailingSlash */.Ks)(targetLink,{trailingSlash,baseUrl});}const preloaded=(0,react.useRef)(false);const LinkComponent=isNavLink?NavLink:Link;const IOSupported=ExecutionEnvironment/* default */.A.canUseIntersectionObserver;const ioRef=(0,react.useRef)();const handleRef=el=>{innerRef.current=el;if(IOSupported&&el&&isInternal){// If IO supported and element reference found, set up Observer. ioRef.current=new window.IntersectionObserver(entries=>{entries.forEach(entry=>{if(el===entry.target){// If element is in viewport, stop observing and run callback. // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API if(entry.isIntersecting||entry.intersectionRatio>0){ioRef.current.unobserve(el);ioRef.current.disconnect();if(targetLink!=null){window.docusaurus.prefetch(targetLink);}}}});});// Add element to the observer. ioRef.current.observe(el);}};const onInteractionEnter=()=>{if(!preloaded.current&&targetLink!=null){window.docusaurus.preload(targetLink);preloaded.current=true;}};(0,react.useEffect)(()=>{// If IO is not supported. We prefetch by default (only once). if(!IOSupported&&isInternal&&ExecutionEnvironment/* default */.A.canUseDOM){if(targetLink!=null){window.docusaurus.prefetch(targetLink);}}// When unmounting, stop intersection observer from watching. return()=>{if(IOSupported&&ioRef.current){ioRef.current.disconnect();}};},[ioRef,targetLink,IOSupported,isInternal]);// It is simple local anchor link targeting current page? const isAnchorLink=targetLink?.startsWith('#')??false;// See also RR logic: // https://github.com/remix-run/react-router/blob/v5/packages/react-router-dom/modules/Link.js#L47 const hasInternalTarget=!props.target||props.target==='_self';// Should we use a regular <a> tag instead of React-Router Link component? const isRegularHtmlLink=!targetLink||!isInternal||!hasInternalTarget||// When using the hash router, we can't use the regular <a> link for anchors // We need to use React Router to navigate to /#/pathname/#anchor // And not /#anchor // See also https://github.com/facebook/docusaurus/pull/10311 isAnchorLink&&router!=='hash';if(!noBrokenLinkCheck&&(isAnchorLink||!isRegularHtmlLink)){brokenLinks.collectLink(targetLink);}if(props.id){brokenLinks.collectAnchor(props.id);}// These props are only added in unit tests to assert/capture the type of link const testOnlyProps= false?0:{};return isRegularHtmlLink?/*#__PURE__*/// eslint-disable-next-line jsx-a11y/anchor-has-content, @docusaurus/no-html-links (0,jsx_runtime.jsx)("a",{ref:innerRef,href:targetLink,...(targetLinkUnprefixed&&!isInternal&&{target:'_blank',rel:'noopener noreferrer'}),...props,...testOnlyProps}):/*#__PURE__*/(0,jsx_runtime.jsx)(LinkComponent,{...props,onMouseEnter:onInteractionEnter,onTouchStart:onInteractionEnter,innerRef:handleRef,to:targetLink// Avoid "React does not recognize the `activeClassName` prop on a DOM // element" ,...(isNavLink&&{isActive,activeClassName}),...testOnlyProps});}/* harmony default export */ const exports_Link = (/*#__PURE__*/react.forwardRef(Link_Link)); /***/ }), /***/ 219: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (()=>null); /***/ }), /***/ 4709: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ Translate), T: () => (/* binding */ translate) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus/lib/client/exports/Interpolate.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function interpolate(text,values){// eslint-disable-next-line prefer-named-capture-group const segments=text.split(/(\{\w+\})/).map((seg,index)=>{// Odd indices (1, 3, 5...) of the segments are (potentially) interpolatable if(index%2===1){const value=values?.[seg.slice(1,-1)];if(value!==undefined){return value;}// No match: add warning? There's no way to "escape" interpolation though }return seg;});if(segments.some(seg=>/*#__PURE__*/(0,react.isValidElement)(seg))){return segments.map((seg,index)=>/*#__PURE__*/(0,react.isValidElement)(seg)?/*#__PURE__*/react.cloneElement(seg,{key:index}):seg).filter(seg=>seg!=='');}return segments.join('');}function Interpolate({children,values}){if(typeof children!=='string'){throw new Error(`The Docusaurus <Interpolate> component only accept simple string values. Received: ${/*#__PURE__*/isValidElement(children)?'React element':typeof children}`);}return/*#__PURE__*/_jsx(_Fragment,{children:interpolate(children,values)});} // EXTERNAL MODULE: ./.docusaurus/codeTranslations.json var codeTranslations = __webpack_require__(2654); ;// ../packages/docusaurus/lib/client/exports/Translate.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Can't read it from context, due to exposing imperative API function getLocalizedMessage({id,message}){if(typeof id==='undefined'&&typeof message==='undefined'){throw new Error('Docusaurus translation declarations must have at least a translation id or a default translation message');}return codeTranslations[id??message]??message??id;}// Imperative translation API is useful for some edge-cases: // - translating page titles (meta) // - translating string props (input placeholders, image alt, aria labels...) function translate({message,id},values){const localizedMessage=getLocalizedMessage({message,id});return interpolate(localizedMessage,values);}// Maybe we'll want to improve this component with additional features // Like toggling a translation mode that adds a little translation button near // the text? function Translate({children,id,values}){if(children&&typeof children!=='string'){console.warn('Illegal <Translate> children',children);throw new Error('The Docusaurus <Translate> component only accept simple string values');}const localizedMessage=getLocalizedMessage({message:children,id});return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:interpolate(localizedMessage,values)});} /***/ }), /***/ 3170: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ W: () => (/* binding */ DEFAULT_PLUGIN_ID) /* harmony export */ }); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Constants used on the client-side: duplicated from server-side code const DEFAULT_PLUGIN_ID='default'; /***/ }), /***/ 73: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ isInternalUrl), /* harmony export */ z: () => (/* binding */ hasProtocol) /* harmony export */ }); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function hasProtocol(url){return /^(?:\w*:|\/\/)/.test(url);}function isInternalUrl(url){return typeof url!=='undefined'&&!hasProtocol(url);} /***/ }), /***/ 5000: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Ay: () => (/* binding */ useBaseUrl), /* harmony export */ hH: () => (/* binding */ useBaseUrlUtils) /* harmony export */ }); /* unused harmony export addBaseUrl */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1571); /* harmony import */ var _isInternalUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(73); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function addBaseUrl({siteUrl,baseUrl,url,options:{forcePrependBaseUrl=false,absolute=false}={},router}){// It never makes sense to add base url to a local anchor url, or one with a // protocol if(!url||url.startsWith('#')||(0,_isInternalUrl__WEBPACK_IMPORTED_MODULE_2__/* .hasProtocol */ .z)(url)){return url;}// TODO hash router + /baseUrl/ is unlikely to work well in all situations // This will support most cases, but not all // See https://github.com/facebook/docusaurus/pull/9859 if(router==='hash'){return url.startsWith('/')?`.${url}`:`./${url}`;}if(forcePrependBaseUrl){return baseUrl+url.replace(/^\//,'');}// /baseUrl -> /baseUrl/ // https://github.com/facebook/docusaurus/issues/6315 if(url===baseUrl.replace(/\/$/,'')){return baseUrl;}// We should avoid adding the baseurl twice if it's already there const shouldAddBaseUrl=!url.startsWith(baseUrl);const basePath=shouldAddBaseUrl?baseUrl+url.replace(/^\//,''):url;return absolute?siteUrl+basePath:basePath;}function useBaseUrlUtils(){const{siteConfig}=(0,_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)();const{baseUrl,url:siteUrl}=siteConfig;const router=siteConfig.future.experimental_router;const withBaseUrl=(0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((url,options)=>addBaseUrl({siteUrl,baseUrl,url,options,router}),[siteUrl,baseUrl,router]);return{withBaseUrl};}function useBaseUrl(url,options={}){const{withBaseUrl}=useBaseUrlUtils();return withBaseUrl(url,options);} /***/ }), /***/ 1900: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ useBrokenLinks) /* harmony export */ }); /* harmony import */ var _BrokenLinksContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3054); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useBrokenLinks(){return (0,_BrokenLinksContext__WEBPACK_IMPORTED_MODULE_0__/* .useBrokenLinksContext */ .B6)();} /***/ }), /***/ 1571: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ useDocusaurusContext) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _docusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4467); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useDocusaurusContext(){return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_docusaurusContext__WEBPACK_IMPORTED_MODULE_1__/* .Context */ .o);} /***/ }), /***/ 3754: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ useIsBrowser) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _browserContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7820); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useIsBrowser(){return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_browserContext__WEBPACK_IMPORTED_MODULE_1__/* .Context */ .o);} /***/ }), /***/ 610: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4468); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * This hook is like `useLayoutEffect`, but without the SSR warning. * It seems hacky but it's used in many React libs (Redux, Formik...). * Also mentioned here: https://github.com/facebook/react/issues/16956 * * It is useful when you need to update a ref as soon as possible after a React * render (before `useEffect`). * * TODO should become unnecessary in React v19? * https://github.com/facebook/react/pull/26395 * This was added in core with Docusaurus v3 but kept undocumented on purpose */const useIsomorphicLayoutEffect=_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.canUseDOM?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect;/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsomorphicLayoutEffect); /***/ }), /***/ 9060: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ useRouteContext) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var _routeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5015); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function useRouteContext(){const context=react__WEBPACK_IMPORTED_MODULE_0__.useContext(_routeContext__WEBPACK_IMPORTED_MODULE_1__/* .Context */ .o);if(!context){throw new Error('Unexpected: no Docusaurus route context found');}return context;} /***/ }), /***/ 5015: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ W: () => (/* binding */ RouteContextProvider), /* harmony export */ o: () => (/* binding */ Context) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const Context=/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null);function mergeContexts({parent,value}){if(!parent){if(!value){throw new Error('Unexpected: no Docusaurus route context found');}else if(!('plugin'in value)){throw new Error('Unexpected: Docusaurus topmost route context has no `plugin` attribute');}return value;}// TODO deep merge this const data={...parent.data,...value?.data};return{// Nested routes are not supposed to override plugin attribute plugin:parent.plugin,data};}function RouteContextProvider({children,value}){const parent=react__WEBPACK_IMPORTED_MODULE_0__.useContext(Context);const mergedValue=(0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(()=>mergeContexts({parent,value}),[parent,value]);return/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Context.Provider,{value:mergedValue,children:children});} /***/ }), /***/ 1200: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ serverEntry) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); // EXTERNAL MODULE: ../node_modules/react-router/esm/react-router.js var react_router = __webpack_require__(9519); // EXTERNAL MODULE: ../node_modules/react-helmet-async/lib/index.module.js var index_module = __webpack_require__(9005); // EXTERNAL MODULE: ../node_modules/react-loadable/lib/index.js var lib = __webpack_require__(7303); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); // EXTERNAL MODULE: ./node_modules/react-dom/server.js var server = __webpack_require__(7422); ;// external "node:stream" const external_node_stream_namespaceObject = require("node:stream"); ;// external "node:stream/consumers" const consumers_namespaceObject = require("node:stream/consumers"); ;// ../packages/docusaurus/lib/client/renderToHtml.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// See also https://github.com/facebook/react/issues/31134 // See also https://github.com/facebook/docusaurus/issues/9985#issuecomment-2396367797 async function renderToHtml(app){return new Promise((resolve,reject)=>{const passThrough=new external_node_stream_namespaceObject.PassThrough();const{pipe}=(0,server.renderToPipeableStream)(app,{onError(error){reject(error);},onAllReady(){pipe(passThrough);(0,consumers_namespaceObject.text)(passThrough).then(resolve,reject);}});});} // EXTERNAL MODULE: ./.docusaurus/routes.js + 7 modules var routes = __webpack_require__(5788); // EXTERNAL MODULE: ../node_modules/react-router-config/esm/react-router-config.js var react_router_config = __webpack_require__(3971); ;// ../packages/docusaurus/lib/client/preload.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *//** * Helper function to make sure all async components for that particular route * is preloaded before rendering. This is especially useful to avoid loading * screens. * * @param pathname the route pathname, example: /docs/installation * @returns Promise object represents whether pathname has been preloaded */function preload(pathname){const matches=Array.from(new Set([pathname,decodeURI(pathname)])).map(p=>(0,react_router_config/* matchRoutes */.u)(routes/* default */.A,p)).flat();return Promise.all(matches.map(match=>match.route.component.preload?.()));} ;// ./.docusaurus/client-modules.js /* harmony default export */ const client_modules = ([__webpack_require__(3300),__webpack_require__(1283),__webpack_require__(4987),__webpack_require__(7730)]); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus/lib/client/theme-fallback/Root/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Wrapper at the very top of the app, that is applied constantly // and does not depend on current route (unlike the layout) // // Gives the opportunity to add stateful providers on top of the app // and these providers won't reset state when we navigate // // See https://github.com/facebook/docusaurus/issues/3919 function Root({children}){return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:children});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Head.js var Head = __webpack_require__(2785); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useBaseUrl.js var useBaseUrl = __webpack_require__(5000); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useThemeConfig.js var useThemeConfig = __webpack_require__(6963); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/metadataUtils.js + 1 modules var metadataUtils = __webpack_require__(5861); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/utils/useAlternatePageUtils.js var useAlternatePageUtils = __webpack_require__(5040); // EXTERNAL MODULE: ../packages/docusaurus-theme-common/lib/hooks/useKeyboardNavigation.js var useKeyboardNavigation = __webpack_require__(4684); ;// ../packages/docusaurus-theme-common/lib/utils/searchUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const DEFAULT_SEARCH_TAG='default'; // EXTERNAL MODULE: ../packages/docusaurus-utils-common/lib/index.js var docusaurus_utils_common_lib = __webpack_require__(5819); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/SearchMetadata/index.js var SearchMetadata = __webpack_require__(3308); ;// ../packages/docusaurus-theme-classic/lib/theme/SiteMetadata/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// TODO move to SiteMetadataDefaults or theme-common ? // Useful for i18n/SEO // See https://developers.google.com/search/docs/advanced/crawling/localized-versions // See https://github.com/facebook/docusaurus/issues/3317 function AlternateLangHeaders(){const{i18n:{currentLocale,defaultLocale,localeConfigs}}=(0,useDocusaurusContext/* default */.A)();const alternatePageUtils=(0,useAlternatePageUtils/* useAlternatePageUtils */.o)();const currentHtmlLang=localeConfigs[currentLocale].htmlLang;// HTML lang is a BCP 47 tag, but the Open Graph protocol requires // using underscores instead of dashes. // See https://ogp.me/#optional // See https://en.wikipedia.org/wiki/IETF_language_tag) const bcp47ToOpenGraphLocale=code=>code.replace('-','_');// Note: it is fine to use both "x-default" and "en" to target the same url // See https://www.searchviu.com/en/multiple-hreflang-tags-one-url/ return/*#__PURE__*/(0,jsx_runtime.jsxs)(Head/* default */.A,{children:[Object.entries(localeConfigs).map(([locale,{htmlLang}])=>/*#__PURE__*/(0,jsx_runtime.jsx)("link",{rel:"alternate",href:alternatePageUtils.createUrl({locale,fullyQualified:true}),hrefLang:htmlLang},locale)),/*#__PURE__*/(0,jsx_runtime.jsx)("link",{rel:"alternate",href:alternatePageUtils.createUrl({locale:defaultLocale,fullyQualified:true}),hrefLang:"x-default"}),/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:locale",content:bcp47ToOpenGraphLocale(currentHtmlLang)}),Object.values(localeConfigs).filter(config=>currentHtmlLang!==config.htmlLang).map(config=>/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:locale:alternate",content:bcp47ToOpenGraphLocale(config.htmlLang)},`meta-og-${config.htmlLang}`))]});}// Default canonical url inferred from current page location pathname function useDefaultCanonicalUrl(){const{siteConfig:{url:siteUrl,baseUrl,trailingSlash}}=(0,useDocusaurusContext/* default */.A)();// TODO using useLocation().pathname is not a super idea // See https://github.com/facebook/docusaurus/issues/9170 const{pathname}=(0,react_router/* useLocation */.zy)();const canonicalPathname=(0,docusaurus_utils_common_lib/* applyTrailingSlash */.Ks)((0,useBaseUrl/* default */.Ay)(pathname),{trailingSlash,baseUrl});return siteUrl+canonicalPathname;}// TODO move to SiteMetadataDefaults or theme-common ? function CanonicalUrlHeaders({permalink}){const{siteConfig:{url:siteUrl}}=(0,useDocusaurusContext/* default */.A)();const defaultCanonicalUrl=useDefaultCanonicalUrl();const canonicalUrl=permalink?`${siteUrl}${permalink}`:defaultCanonicalUrl;return/*#__PURE__*/(0,jsx_runtime.jsxs)(Head/* default */.A,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:url",content:canonicalUrl}),/*#__PURE__*/(0,jsx_runtime.jsx)("link",{rel:"canonical",href:canonicalUrl})]});}function SiteMetadata(){const{i18n:{currentLocale}}=(0,useDocusaurusContext/* default */.A)();// TODO maybe move these 2 themeConfig to siteConfig? // These seems useful for other themes as well const{metadata,image:defaultImage}=(0,useThemeConfig/* useThemeConfig */.p)();return/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(Head/* default */.A,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),/*#__PURE__*/(0,jsx_runtime.jsx)("body",{className:useKeyboardNavigation/* keyboardFocusedClassName */.w})]}),defaultImage&&/*#__PURE__*/(0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be,{image:defaultImage}),/*#__PURE__*/(0,jsx_runtime.jsx)(CanonicalUrlHeaders,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(AlternateLangHeaders,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(SearchMetadata/* default */.A,{tag:DEFAULT_SEARCH_TAG,locale:currentLocale}),/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:metadata.map((metadatum,i)=>/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{...metadatum},i))})]});} ;// ../packages/docusaurus/lib/client/normalizeLocation.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Memoize previously normalized pathnames. const pathnames=new Map();function normalizeLocation(location){if(pathnames.has(location.pathname)){return{...location,pathname:pathnames.get(location.pathname)};}// If the location was registered with an `.html` extension, we don't strip it // away, or it will render to a 404 page. const matchedRoutes=(0,react_router_config/* matchRoutes */.u)(routes/* default */.A,location.pathname);if(matchedRoutes.some(({route})=>route.exact===true)){pathnames.set(location.pathname,location.pathname);return location;}const pathname=location.pathname.trim().replace(/(?:\/index)?\.html$/,'')||'/';pathnames.set(location.pathname,pathname);return{...location,pathname};} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/browserContext.js var browserContext = __webpack_require__(7820); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/docusaurusContext.js + 3 modules var docusaurusContext = __webpack_require__(4467); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useIsomorphicLayoutEffect.js var useIsomorphicLayoutEffect = __webpack_require__(610); ;// ../packages/docusaurus/lib/client/ClientLifecyclesDispatcher.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function dispatchLifecycleAction(lifecycleAction,...args){const callbacks=client_modules.map(clientModule=>{const lifecycleFunction=clientModule.default?.[lifecycleAction]??clientModule[lifecycleAction];return lifecycleFunction?.(...args);});return()=>callbacks.forEach(cb=>cb?.());}function scrollAfterNavigation({location,previousLocation}){if(!previousLocation){return;// no-op: use native browser feature }const samePathname=location.pathname===previousLocation.pathname;const sameHash=location.hash===previousLocation.hash;const sameSearch=location.search===previousLocation.search;// Query-string changes: do not scroll to top/hash if(samePathname&&sameHash&&!sameSearch){return;}const{hash}=location;if(!hash){window.scrollTo(0,0);}else{const id=decodeURIComponent(hash.substring(1));const element=document.getElementById(id);element?.scrollIntoView();}}function ClientLifecyclesDispatcher({children,location,previousLocation}){(0,useIsomorphicLayoutEffect/* default */.A)(()=>{if(previousLocation!==location){scrollAfterNavigation({location,previousLocation});dispatchLifecycleAction('onRouteDidUpdate',{previousLocation,location});}},[previousLocation,location]);return children;}/* harmony default export */ const client_ClientLifecyclesDispatcher = (ClientLifecyclesDispatcher); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/ExecutionEnvironment.js var ExecutionEnvironment = __webpack_require__(4468); ;// ../packages/docusaurus/lib/client/PendingNavigation.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */class PendingNavigation extends react.Component{previousLocation;routeUpdateCleanupCb;constructor(props){super(props);// previousLocation doesn't affect rendering, hence not stored in state. this.previousLocation=null;this.routeUpdateCleanupCb=ExecutionEnvironment/* default */.A.canUseDOM?dispatchLifecycleAction('onRouteUpdate',{previousLocation:null,location:this.props.location}):()=>{};this.state={nextRouteHasLoaded:true};}// Intercept location update and still show current route until next route // is done loading. shouldComponentUpdate(nextProps,nextState){if(nextProps.location===this.props.location){// `nextRouteHasLoaded` is false means there's a pending route transition. // Don't update until it's done. return nextState.nextRouteHasLoaded;}// props.location being different means the router is trying to navigate to // a new route. We will preload the new route. const nextLocation=nextProps.location;// Save the location first. this.previousLocation=this.props.location;this.setState({nextRouteHasLoaded:false});this.routeUpdateCleanupCb=dispatchLifecycleAction('onRouteUpdate',{previousLocation:this.previousLocation,location:nextLocation});// Load data while the old screen remains. Force preload instead of using // `window.docusaurus`, because we want to avoid loading screen even when // user is on saveData preload(nextLocation.pathname).then(()=>{this.routeUpdateCleanupCb();this.setState({nextRouteHasLoaded:true});}).catch(e=>{console.warn(e);// If chunk loading failed, it could be because the path to a chunk // no longer exists due to a new deployment. Force refresh the page // instead of just not navigating. window.location.reload();});return false;}render(){const{children,location}=this.props;// Use a controlled <Route> to trick all descendants into rendering the old // location. return/*#__PURE__*/(0,jsx_runtime.jsx)(client_ClientLifecyclesDispatcher,{previousLocation:this.previousLocation,location:location,children:/*#__PURE__*/(0,jsx_runtime.jsx)(react_router/* Route */.qh,{location:location,render:()=>children})});}}/* harmony default export */ const client_PendingNavigation = (PendingNavigation); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/BaseUrlIssueBanner/styles.module.css var styles_module = __webpack_require__(8851); ;// ../packages/docusaurus/lib/client/BaseUrlIssueBanner/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Double-security: critical CSS will hide the banner if CSS can load! // __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors // https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368 const BannerContainerId='__docusaurus-base-url-issue-banner-container';const BannerId='__docusaurus-base-url-issue-banner';const SuggestionContainerId='__docusaurus-base-url-issue-banner-suggestion-container';// It is important to not use React to render this banner // otherwise Google would index it, even if it's hidden with some critical CSS! // See https://github.com/facebook/docusaurus/issues/4028 // - We can't SSR (or it would be indexed) // - We can't CSR (as it means the baseurl is correct) function createInlineHtmlBanner(baseUrl){return` <div id="${BannerId}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;"> <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p> <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p> <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${baseUrl}</span> ${baseUrl==='/'?' (default value)':''}</p> <p>We suggest trying baseUrl = <span id="${SuggestionContainerId}" style="font-weight: bold; color: green;"></span></p> </div> `;}// Needs to work for older browsers! function createInlineScript(baseUrl){/* language=js */return` document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { var shouldInsert = typeof window['docusaurus'] === 'undefined'; shouldInsert && insertBanner(); }); function insertBanner() { var bannerContainer = document.createElement('div'); bannerContainer.id = '${BannerContainerId}'; var bannerHtml = ${JSON.stringify(createInlineHtmlBanner(baseUrl))// See https://redux.js.org/recipes/server-rendering/#security-considerations .replace(/</g,'\\\u003c')}; bannerContainer.innerHTML = bannerHtml; document.body.prepend(bannerContainer); var suggestionContainer = document.getElementById('${SuggestionContainerId}'); var actualHomePagePath = window.location.pathname; var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/' ? actualHomePagePath : actualHomePagePath + '/'; suggestionContainer.innerHTML = suggestedBaseUrl; } `;}function BaseUrlIssueBanner(){const{siteConfig:{baseUrl}}=(0,useDocusaurusContext/* default */.A)();return/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:!ExecutionEnvironment/* default */.A.canUseDOM&&/*#__PURE__*/// Safe to use `ExecutionEnvironment`, because `Head` is purely // side-effect and doesn't affect hydration (0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("script",{children:createInlineScript(baseUrl)})})});}/** * We want to help the users with a bad baseUrl configuration (very common * error). Help message is inlined, and hidden if JS or CSS is able to load. * * This component only inserts the base URL banner for the homepage, to avoid * polluting every statically rendered page. * * Note: it might create false positives (ie network failures): not a big deal * * @see https://github.com/facebook/docusaurus/pull/3621 */function MaybeBaseUrlIssueBanner(){const{siteConfig:{baseUrl,baseUrlIssueBanner}}=(0,useDocusaurusContext/* default */.A)();const{pathname}=(0,react_router/* useLocation */.zy)();const isHomePage=pathname===baseUrl;const enabled=baseUrlIssueBanner&&isHomePage;return enabled?/*#__PURE__*/(0,jsx_runtime.jsx)(BaseUrlIssueBanner,{}):null;} ;// ../packages/docusaurus/lib/client/SiteMetadataDefaults.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function SiteMetadataDefaults(){const{siteConfig:{favicon,title,noIndex},i18n:{currentLocale,localeConfigs}}=(0,useDocusaurusContext/* default */.A)();const faviconUrl=(0,useBaseUrl/* default */.Ay)(favicon);const{htmlLang,direction:htmlDir}=localeConfigs[currentLocale];return/*#__PURE__*/(0,jsx_runtime.jsxs)(Head/* default */.A,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)("html",{lang:htmlLang,dir:htmlDir}),/*#__PURE__*/(0,jsx_runtime.jsx)("title",{children:title}),/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{property:"og:title",content:title}),/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),noIndex&&/*#__PURE__*/(0,jsx_runtime.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),favicon&&/*#__PURE__*/(0,jsx_runtime.jsx)("link",{rel:"icon",href:faviconUrl})]});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/ErrorBoundary.js + 1 modules var ErrorBoundary = __webpack_require__(5769); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useIsBrowser.js var useIsBrowser = __webpack_require__(3754); ;// ../packages/docusaurus/lib/client/hasHydratedDataAttribute.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// See https://github.com/facebook/docusaurus/pull/9256 // Docusaurus adds a <html data-has-hydrated="true"> after hydration function HasHydratedDataAttribute(){const isBrowser=(0,useIsBrowser/* default */.A)();return/*#__PURE__*/(0,jsx_runtime.jsx)(Head/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)("html",{"data-has-hydrated":isBrowser})});} ;// ../packages/docusaurus/lib/client/App.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// TODO, quick fix for CSS insertion order // eslint-disable-next-line import/order const routesElement=(0,react_router_config/* renderRoutes */.v)(routes/* default */.A);function AppNavigation(){const location=(0,react_router/* useLocation */.zy)();const normalizedLocation=normalizeLocation(location);return/*#__PURE__*/(0,jsx_runtime.jsx)(client_PendingNavigation,{location:normalizedLocation,children:routesElement});}function App(){return/*#__PURE__*/(0,jsx_runtime.jsx)(ErrorBoundary/* default */.A,{children:/*#__PURE__*/(0,jsx_runtime.jsx)(docusaurusContext/* DocusaurusContextProvider */.l,{children:/*#__PURE__*/(0,jsx_runtime.jsxs)(browserContext/* BrowserContextProvider */.x,{children:[/*#__PURE__*/(0,jsx_runtime.jsxs)(Root,{children:[/*#__PURE__*/(0,jsx_runtime.jsx)(SiteMetadataDefaults,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(SiteMetadata,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(MaybeBaseUrlIssueBanner,{}),/*#__PURE__*/(0,jsx_runtime.jsx)(AppNavigation,{})]}),/*#__PURE__*/(0,jsx_runtime.jsx)(HasHydratedDataAttribute,{})]})})});} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/BrokenLinksContext.js var BrokenLinksContext = __webpack_require__(3054); ;// ../packages/docusaurus/lib/client/serverHelmetUtils.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function getBuildMetaTags(helmet){// @ts-expect-error: see https://github.com/staylor/react-helmet-async/pull/167 const metaElements=helmet.meta.toComponent()??[];return metaElements.map(el=>el.props);}function isNoIndexTag(tag){if(!tag.name||!tag.content){return false;}return(// meta name is not case-sensitive tag.name.toLowerCase()==='robots'&&// Robots directives are not case-sensitive tag.content.toLowerCase().includes('noindex'));}function toPageCollectedMetadata({helmet}){const tags=getBuildMetaTags(helmet);const noIndex=tags.some(isNoIndexTag);return{helmet,// TODO Docusaurus v4 remove public:{noIndex},internal:{htmlAttributes:helmet.htmlAttributes.toString(),bodyAttributes:helmet.bodyAttributes.toString(),title:helmet.title.toString(),meta:helmet.meta.toString(),link:helmet.link.toString(),script:helmet.script.toString()}};} ;// ../packages/docusaurus/lib/client/serverEntry.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const render=async({pathname,v4RemoveLegacyPostBuildHeadAttribute})=>{await preload(pathname);const modules=new Set();const routerContext={};const helmetContext={};const statefulBrokenLinks=(0,BrokenLinksContext/* createStatefulBrokenLinks */.$3)();const app=/*#__PURE__*/// @ts-expect-error: we are migrating away from react-loadable anyways (0,jsx_runtime.jsx)((lib_default()).Capture,{report:moduleName=>modules.add(moduleName),children:/*#__PURE__*/(0,jsx_runtime.jsx)(index_module/* HelmetProvider */.vd,{context:helmetContext,children:/*#__PURE__*/(0,jsx_runtime.jsx)(react_router/* StaticRouter */.kO,{location:pathname,context:routerContext,children:/*#__PURE__*/(0,jsx_runtime.jsx)(BrokenLinksContext/* BrokenLinksProvider */.k5,{brokenLinks:statefulBrokenLinks,children:/*#__PURE__*/(0,jsx_runtime.jsx)(App,{})})})})});const html=await renderToHtml(app);const{helmet}=helmetContext;const metadata=toPageCollectedMetadata({helmet});// TODO Docusaurus v4 remove with deprecated postBuild({head}) API // the returned collectedData must be serializable to run in workers if(v4RemoveLegacyPostBuildHeadAttribute){metadata.helmet=null;}const collectedData={metadata,anchors:statefulBrokenLinks.getCollectedAnchors(),links:statefulBrokenLinks.getCollectedLinks(),modules:Array.from(modules)};return{html,collectedData};};/* harmony default export */ const serverEntry = (render); /***/ }), /***/ 5788: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ routes) }); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(6540); ;// ../node_modules/@babel/runtime/helpers/esm/typeof.js function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } ;// ../node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; } // EXTERNAL MODULE: ../node_modules/react-loadable/lib/index.js var lib = __webpack_require__(7303); var lib_default = /*#__PURE__*/__webpack_require__.n(lib); ;// ./.docusaurus/routesChunkNames.json const routesChunkNames_namespaceObject = /*#__PURE__*/JSON.parse('{"/blog-b2f":{"__comp":"a6aa9e1f","__context":{"plugin":"36994c47"},"sidebar":"814f3328","items":[{"content":"7661071f"},{"content":"f4f34a3a"},{"content":"8717b14a"},{"content":"925b3f96"}],"__props":"c15d9823"},"/blog/archive-182":{"__comp":"9e4087bc","__context":{"plugin":"36994c47"},"__props":"f81c1134"},"/blog/authors-0b7":{"__comp":"621db11d","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","__props":"ef8b811a"},"/blog/authors/all-sebastien-lorber-articles-4a1":{"__comp":"33fc5bb8","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"items":[{"content":"7661071f"},{"content":"f4f34a3a"},{"content":"925b3f96"}],"sidebar":"814f3328","__props":"c9c9bef8"},"/blog/authors/yangshun-a68":{"__comp":"33fc5bb8","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"items":[{"content":"7661071f"},{"content":"8717b14a"},{"content":"925b3f96"}],"sidebar":"814f3328","__props":"1dea6ca3"},"/blog/first-blog-post-89a":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"e273c56f"},"/blog/long-blog-post-9ad":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"73664a40"},"/blog/mdx-blog-post-e9f":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"59362658"},"/blog/tags-287":{"__comp":"01a85c17","__context":{"plugin":"36994c47"},"sidebar":"814f3328","__props":"3a2db09e"},"/blog/tags/docusaurus-704":{"__comp":"6875c492","__context":{"plugin":"36994c47"},"sidebar":"814f3328","items":[{"content":"7661071f"},{"content":"f4f34a3a"},{"content":"8717b14a"},{"content":"925b3f96"}],"__props":"3217192f"},"/blog/tags/facebook-858":{"__comp":"6875c492","__context":{"plugin":"36994c47"},"sidebar":"814f3328","items":[{"content":"7661071f"}],"__props":"e5aefb32"},"/blog/tags/hello-299":{"__comp":"6875c492","__context":{"plugin":"36994c47"},"sidebar":"814f3328","items":[{"content":"7661071f"},{"content":"8717b14a"}],"__props":"f82cd581"},"/blog/tags/hola-00d":{"__comp":"6875c492","__context":{"plugin":"36994c47"},"sidebar":"814f3328","items":[{"content":"925b3f96"}],"__props":"5e90a9b3"},"/blog/welcome-d2b":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"d9f32620"},"/markdown-page-3d7":{"__comp":"1f391b9e","__context":{"plugin":"a7456010"},"content":"393be207"},"/docs-733":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/docs-7e6":{"__comp":"a7bd4aaa","__props":"0058b4c6"},"/docs-ba6":{"__comp":"a94703ab"},"/docs/category/tutorial---basics-20e":{"__comp":"14eb3368","__props":"c8a4e95a"},"/docs/category/tutorial---extras-9ad":{"__comp":"14eb3368","__props":"6bb166bd"},"/docs/intro-61d":{"__comp":"17896441","content":"0e384e19"},"/docs/tutorial-basics/congratulations-458":{"__comp":"17896441","content":"822bd8ab"},"/docs/tutorial-basics/create-a-blog-post-108":{"__comp":"17896441","content":"533a09ca"},"/docs/tutorial-basics/create-a-document-8fc":{"__comp":"17896441","content":"1e4232ab"},"/docs/tutorial-basics/create-a-page-951":{"__comp":"17896441","content":"5c868d36"},"/docs/tutorial-basics/deploy-your-site-4f5":{"__comp":"17896441","content":"f55d3e7a"},"/docs/tutorial-basics/markdown-features-b05":{"__comp":"17896441","content":"18c41134"},"/docs/tutorial-extras/manage-docs-versions-978":{"__comp":"17896441","content":"dff1c289"},"/docs/tutorial-extras/translate-your-site-f9a":{"__comp":"17896441","content":"e44a2883"},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}'); ;// ./.docusaurus/registry.js /* harmony default export */ const registry = ({"0058b4c6":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(6164))),"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",/*require.resolve*/(6164)],"01a85c17":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8807))),"@theme/BlogTagsListPage",/*require.resolve*/(8807)],"0e384e19":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(2863))),"@site/docs/intro.md",/*require.resolve*/(2863)],"14eb3368":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(2980))),"@theme/DocCategoryGeneratedIndexPage",/*require.resolve*/(2980)],"17896441":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(3135))),"@theme/DocItem",/*require.resolve*/(3135)],"18c41134":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(6731))),"@site/docs/tutorial-basics/markdown-features.mdx",/*require.resolve*/(6731)],"1dea6ca3":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(6067))),"@generated/docusaurus-plugin-content-blog/default/p/blog-authors-yangshun-af2.json",/*require.resolve*/(6067)],"1df93b7f":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4134))),"@site/src/pages/index.tsx",/*require.resolve*/(4134)],"1e4232ab":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(1000))),"@site/docs/tutorial-basics/create-a-document.md",/*require.resolve*/(1000)],"1f391b9e":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(859))),"@theme/MDXPage",/*require.resolve*/(859)],"3217192f":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8174))),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-docusaurus-f20.json",/*require.resolve*/(8174)],"33fc5bb8":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4187))),"@theme/Blog/Pages/BlogAuthorsPostsPage",/*require.resolve*/(4187)],"36994c47":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(5516))),"@generated/docusaurus-plugin-content-blog/default/__plugin.json",/*require.resolve*/(5516)],"393be207":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(3065))),"@site/src/pages/markdown-page.md",/*require.resolve*/(3065)],"3a2db09e":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8070))),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-df9.json",/*require.resolve*/(8070)],"533a09ca":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(2621))),"@site/docs/tutorial-basics/create-a-blog-post.md",/*require.resolve*/(2621)],"59362658":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4986))),"@site/blog/2021-08-01-mdx-blog-post.mdx",/*require.resolve*/(4986)],"5c868d36":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9009))),"@site/docs/tutorial-basics/create-a-page.md",/*require.resolve*/(9009)],"5e90a9b3":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(7134))),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-hola-73f.json",/*require.resolve*/(7134)],"5e95c892":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(7602))),"@theme/DocsRoot",/*require.resolve*/(7602)],"5e9f5e1a":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4784))),"@generated/docusaurus.config",/*require.resolve*/(4784)],"621db11d":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(2166))),"@theme/Blog/Pages/BlogAuthorsListPage",/*require.resolve*/(2166)],"6875c492":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(1780))),"@theme/BlogTagsPostsPage",/*require.resolve*/(1780)],"6bb166bd":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(3618))),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-tutorial-extras-128.json",/*require.resolve*/(3618)],"73664a40":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9655))),"@site/blog/2019-05-29-long-blog-post.md",/*require.resolve*/(9655)],"7661071f":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(2219))),"@site/blog/2021-08-26-welcome/index.md?truncated=true",/*require.resolve*/(2219)],"814f3328":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(5513))),"~blog/default/blog-post-list-prop-default.json",/*require.resolve*/(5513)],"822bd8ab":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8423))),"@site/docs/tutorial-basics/congratulations.md",/*require.resolve*/(8423)],"8717b14a":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(2185))),"@site/blog/2019-05-29-long-blog-post.md?truncated=true",/*require.resolve*/(2185)],"925b3f96":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(1576))),"@site/blog/2019-05-28-first-blog-post.md?truncated=true",/*require.resolve*/(1576)],"9e4087bc":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9814))),"@theme/BlogArchivePage",/*require.resolve*/(9814)],"a6aa9e1f":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8394))),"@theme/BlogListPage",/*require.resolve*/(8394)],"a7456010":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8552))),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",/*require.resolve*/(8552)],"a7bd4aaa":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9660))),"@theme/DocVersionRoot",/*require.resolve*/(9660)],"a94703ab":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8125))),"@theme/DocRoot",/*require.resolve*/(8125)],"aba21aa0":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(7093))),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",/*require.resolve*/(7093)],"acecf23e":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(1912))),"~blog/default/blogMetadata-default.json",/*require.resolve*/(1912)],"c15d9823":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9328))),"@generated/docusaurus-plugin-content-blog/default/p/blog-bd9.json",/*require.resolve*/(9328)],"c8a4e95a":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(1549))),"@generated/docusaurus-plugin-content-docs/default/p/docs-category-tutorial-basics-ea4.json",/*require.resolve*/(1549)],"c9c9bef8":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4971))),"@generated/docusaurus-plugin-content-blog/default/p/blog-authors-all-sebastien-lorber-articles-6eb.json",/*require.resolve*/(4971)],"ccc49370":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(5101))),"@theme/BlogPostPage",/*require.resolve*/(5101)],"d9f32620":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8297))),"@site/blog/2021-08-26-welcome/index.md",/*require.resolve*/(8297)],"dff1c289":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(6052))),"@site/docs/tutorial-extras/manage-docs-versions.md",/*require.resolve*/(6052)],"e273c56f":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4812))),"@site/blog/2019-05-28-first-blog-post.md",/*require.resolve*/(4812)],"e44a2883":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9912))),"@site/docs/tutorial-extras/translate-your-site.md",/*require.resolve*/(9912)],"e5aefb32":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8539))),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-facebook-f47.json",/*require.resolve*/(8539)],"ef8b811a":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(6600))),"@generated/docusaurus-plugin-content-blog/default/p/blog-authors-790.json",/*require.resolve*/(6600)],"f4f34a3a":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(7934))),"@site/blog/2021-08-01-mdx-blog-post.mdx?truncated=true",/*require.resolve*/(7934)],"f55d3e7a":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(9466))),"@site/docs/tutorial-basics/deploy-your-site.md",/*require.resolve*/(9466)],"f81c1134":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(7735))),"@generated/docusaurus-plugin-content-blog/default/p/blog-archive-f05.json",/*require.resolve*/(7735)],"f82cd581":[()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(4035))),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-hello-f96.json",/*require.resolve*/(4035)]}); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ../packages/docusaurus/lib/client/theme-fallback/Loading/index.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */// Should we translate theme-fallback? /* eslint-disable @docusaurus/no-untranslated-text */function Loading({error,retry,pastDelay}){if(error){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{style:{textAlign:'center',color:'#fff',backgroundColor:'#fa383e',borderColor:'#fa383e',borderStyle:'solid',borderRadius:'0.25rem',borderWidth:'1px',boxSizing:'border-box',display:'block',padding:'1rem',flex:'0 0 50%',marginLeft:'25%',marginRight:'25%',marginTop:'5rem',maxWidth:'50%',width:'100%'},children:[/*#__PURE__*/(0,jsx_runtime.jsx)("p",{children:String(error)}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{children:/*#__PURE__*/(0,jsx_runtime.jsx)("button",{type:"button",onClick:retry,children:"Retry"})})]});}if(pastDelay){return/*#__PURE__*/(0,jsx_runtime.jsx)("div",{style:{display:'flex',justifyContent:'center',alignItems:'center',height:'100vh'},children:/*#__PURE__*/(0,jsx_runtime.jsx)("svg",{id:"loader",style:{width:128,height:110,position:'absolute',top:'calc(100vh - 64%)'},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:/*#__PURE__*/(0,jsx_runtime.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[/*#__PURE__*/(0,jsx_runtime.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),/*#__PURE__*/(0,jsx_runtime.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),/*#__PURE__*/(0,jsx_runtime.jsx)("circle",{cx:"22",cy:"22",r:"8",children:/*#__PURE__*/(0,jsx_runtime.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})});}return null;} ;// ../packages/docusaurus/lib/client/flat.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */const isTree=x=>typeof x==='object'&&!!x&&Object.keys(x).length>0;/** * Takes a tree, and flattens it into a map of keyPath -> value. * * ```js * flat({ a: { b: 1 } }) === { "a.b": 1 }; * flat({ a: [1, 2] }) === { "a.0": 1, "a.1": 2 }; * ``` */function flat(target){const delimiter='.';const output={};function dfs(object,prefix){Object.entries(object).forEach(([key,value])=>{const newKey=prefix?`${prefix}${delimiter}${key}`:key;if(isTree(value)){dfs(value,newKey);}else{output[newKey]=value;}});}dfs(target);return output;} // EXTERNAL MODULE: ../packages/docusaurus/lib/client/routeContext.js var client_routeContext = __webpack_require__(5015); ;// ../packages/docusaurus/lib/client/exports/ComponentCreator.js /** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function ComponentCreator(path,hash){// 404 page if(path==='*'){return lib_default()({loading:Loading,loader:()=>Promise.resolve().then(()=>_interopRequireWildcard(__webpack_require__(8714))),modules:['@theme/NotFound'],webpack:()=>[/*require.resolve*/(8714)],render(loaded,props){const NotFound=loaded.default;return/*#__PURE__*/(0,jsx_runtime.jsx)(client_routeContext/* RouteContextProvider */.W// Do we want a better name than native-default? ,{value:{plugin:{name:'native',id:'default'}},children:/*#__PURE__*/(0,jsx_runtime.jsx)(NotFound,{...props})});}});}const chunkNames=routesChunkNames_namespaceObject[`${path}-${hash}`];// eslint-disable-next-line @typescript-eslint/no-explicit-any const loader={};const modules=[];const optsWebpack=[];// A map from prop names to chunk names. // e.g. Suppose the plugin added this as route: // { __comp: "...", prop: { foo: "..." }, items: ["...", "..."] } // It will become: // { __comp: "...", "prop.foo": "...", "items.0": "...", "items.1": ... } // Loadable.Map will _map_ over `loader` and load each key. const flatChunkNames=flat(chunkNames);Object.entries(flatChunkNames).forEach(([keyPath,chunkName])=>{const chunkRegistry=registry[chunkName];if(chunkRegistry){// eslint-disable-next-line prefer-destructuring loader[keyPath]=chunkRegistry[0];modules.push(chunkRegistry[1]);optsWebpack.push(chunkRegistry[2]);}});return lib_default().Map({loading:Loading,loader,modules,webpack:()=>optsWebpack,render(loaded,props){// `loaded` will be a map from key path (as returned from the flattened // chunk names) to the modules loaded from the loaders. We now have to // restore the chunk names' previous shape from this flat record. // We do so by taking advantage of the existing `chunkNames` and replacing // each chunk name with its loaded module, so we don't create another // object from scratch. const loadedModules=JSON.parse(JSON.stringify(chunkNames));Object.entries(loaded).forEach(([keyPath,loadedModule])=>{// JSON modules are also loaded as `{ default: ... }` (`import()` // semantics) but we just want to pass the actual value to props. const chunk=loadedModule.default;// One loaded chunk can only be one of two things: a module (props) or a // component. Modules are always JSON, so `default` always exists. This // could only happen with a user-defined component. if(!chunk){throw new Error(`The page component at ${path} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);}// A module can be a primitive, for example, if the user stored a string // as a prop. However, there seems to be a bug with swc-loader's CJS // logic, in that it would load a JSON module with content "foo" as // `{ default: "foo", 0: "f", 1: "o", 2: "o" }`. Just to be safe, we // first make sure that the chunk is non-primitive. if(typeof chunk==='object'||typeof chunk==='function'){Object.keys(loadedModule).filter(k=>k!=='default').forEach(nonDefaultKey=>{chunk[nonDefaultKey]=loadedModule[nonDefaultKey];});}// We now have this chunk prepared. Go down the key path and replace the // chunk name with the actual chunk. let val=loadedModules;const keyPaths=keyPath.split('.');keyPaths.slice(0,-1).forEach(k=>{val=val[k];});val[keyPaths[keyPaths.length-1]]=chunk;});/* eslint-disable no-underscore-dangle */const Component=loadedModules.__comp;delete loadedModules.__comp;const routeContext=loadedModules.__context;delete loadedModules.__context;const routeProps=loadedModules.__props;delete loadedModules.__props;/* eslint-enable no-underscore-dangle */// Is there any way to put this RouteContextProvider upper in the tree? return/*#__PURE__*/(0,jsx_runtime.jsx)(client_routeContext/* RouteContextProvider */.W,{value:routeContext,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Component,{...loadedModules,...routeProps,...props})});}});} ;// ./.docusaurus/routes.js /* harmony default export */ const routes = ([{path:'/blog',component:ComponentCreator('/blog','b2f'),exact:true},{path:'/blog/archive',component:ComponentCreator('/blog/archive','182'),exact:true},{path:'/blog/authors',component:ComponentCreator('/blog/authors','0b7'),exact:true},{path:'/blog/authors/all-sebastien-lorber-articles',component:ComponentCreator('/blog/authors/all-sebastien-lorber-articles','4a1'),exact:true},{path:'/blog/authors/yangshun',component:ComponentCreator('/blog/authors/yangshun','a68'),exact:true},{path:'/blog/first-blog-post',component:ComponentCreator('/blog/first-blog-post','89a'),exact:true},{path:'/blog/long-blog-post',component:ComponentCreator('/blog/long-blog-post','9ad'),exact:true},{path:'/blog/mdx-blog-post',component:ComponentCreator('/blog/mdx-blog-post','e9f'),exact:true},{path:'/blog/tags',component:ComponentCreator('/blog/tags','287'),exact:true},{path:'/blog/tags/docusaurus',component:ComponentCreator('/blog/tags/docusaurus','704'),exact:true},{path:'/blog/tags/facebook',component:ComponentCreator('/blog/tags/facebook','858'),exact:true},{path:'/blog/tags/hello',component:ComponentCreator('/blog/tags/hello','299'),exact:true},{path:'/blog/tags/hola',component:ComponentCreator('/blog/tags/hola','00d'),exact:true},{path:'/blog/welcome',component:ComponentCreator('/blog/welcome','d2b'),exact:true},{path:'/markdown-page',component:ComponentCreator('/markdown-page','3d7'),exact:true},{path:'/docs',component:ComponentCreator('/docs','733'),routes:[{path:'/docs',component:ComponentCreator('/docs','7e6'),routes:[{path:'/docs',component:ComponentCreator('/docs','ba6'),routes:[{path:'/docs/category/tutorial---basics',component:ComponentCreator('/docs/category/tutorial---basics','20e'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/category/tutorial---extras',component:ComponentCreator('/docs/category/tutorial---extras','9ad'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/intro',component:ComponentCreator('/docs/intro','61d'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-basics/congratulations',component:ComponentCreator('/docs/tutorial-basics/congratulations','458'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-basics/create-a-blog-post',component:ComponentCreator('/docs/tutorial-basics/create-a-blog-post','108'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-basics/create-a-document',component:ComponentCreator('/docs/tutorial-basics/create-a-document','8fc'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-basics/create-a-page',component:ComponentCreator('/docs/tutorial-basics/create-a-page','951'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-basics/deploy-your-site',component:ComponentCreator('/docs/tutorial-basics/deploy-your-site','4f5'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-basics/markdown-features',component:ComponentCreator('/docs/tutorial-basics/markdown-features','b05'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-extras/manage-docs-versions',component:ComponentCreator('/docs/tutorial-extras/manage-docs-versions','978'),exact:true,sidebar:"tutorialSidebar"},{path:'/docs/tutorial-extras/translate-your-site',component:ComponentCreator('/docs/tutorial-extras/translate-your-site','f9a'),exact:true,sidebar:"tutorialSidebar"}]}]}]},{path:'/',component:ComponentCreator('/','e5f'),exact:true},{path:'*',component:ComponentCreator('*')}]); /***/ }), /***/ 4134: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "default": () => (/* binding */ Home) }); // EXTERNAL MODULE: ../node_modules/clsx/dist/clsx.mjs var clsx = __webpack_require__(1750); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/Link.js + 1 modules var Link = __webpack_require__(1349); // EXTERNAL MODULE: ../packages/docusaurus/lib/client/exports/useDocusaurusContext.js var useDocusaurusContext = __webpack_require__(1571); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Layout/index.js + 53 modules var Layout = __webpack_require__(3305); // EXTERNAL MODULE: ../packages/docusaurus-theme-classic/lib/theme/Heading/index.js var Heading = __webpack_require__(6813); // EXTERNAL MODULE: ./src/components/HomepageFeatures/styles.module.css var styles_module = __webpack_require__(6292); var styles_module_default = /*#__PURE__*/__webpack_require__.n(styles_module); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); ;// ./src/components/HomepageFeatures/index.tsx const FeatureList=[{title:'Easy to Use',Svg:(__webpack_require__(4988)/* ["default"] */ .A),description:/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:"Docusaurus was designed from the ground up to be easily installed and used to get your website up and running quickly."})},{title:'Focus on What Matters',Svg:(__webpack_require__(1213)/* ["default"] */ .A),description:/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:["Docusaurus lets you focus on your docs, and we'll do the chores. Go ahead and move your docs into the ",/*#__PURE__*/(0,jsx_runtime.jsx)("code",{children:"docs"})," directory."]})},{title:'Powered by React',Svg:(__webpack_require__(8074)/* ["default"] */ .A),description:/*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:"Extend or customize your website layout by reusing React. Docusaurus can be extended while reusing the same header and footer."})}];function Feature({title,Svg,description}){return/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:(0,clsx/* default */.A)('col col--4'),children:[/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"text--center",children:/*#__PURE__*/(0,jsx_runtime.jsx)(Svg,{className:(styles_module_default()).featureSvg,role:"img"})}),/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"text--center padding-horiz--md",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h3",children:title}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{children:description})]})]});}function HomepageFeatures(){return/*#__PURE__*/(0,jsx_runtime.jsx)("section",{className:(styles_module_default()).features,children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"container",children:/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:"row",children:FeatureList.map((props,idx)=>/*#__PURE__*/(0,jsx_runtime.jsx)(Feature,{...props},idx))})})});} // EXTERNAL MODULE: ./src/pages/index.module.css var index_module = __webpack_require__(1514); var index_module_default = /*#__PURE__*/__webpack_require__.n(index_module); ;// ./src/pages/index.tsx function HomepageHeader(){const{siteConfig}=(0,useDocusaurusContext/* default */.A)();return/*#__PURE__*/(0,jsx_runtime.jsx)("header",{className:(0,clsx/* default */.A)('hero hero--primary',(index_module_default()).heroBanner),children:/*#__PURE__*/(0,jsx_runtime.jsxs)("div",{className:"container",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(Heading/* default */.A,{as:"h1",className:"hero__title",children:siteConfig.title}),/*#__PURE__*/(0,jsx_runtime.jsx)("p",{className:"hero__subtitle",children:siteConfig.tagline}),/*#__PURE__*/(0,jsx_runtime.jsx)("div",{className:(index_module_default()).buttons,children:/*#__PURE__*/(0,jsx_runtime.jsx)(Link/* default */.A,{className:"button button--secondary button--lg",to:"/docs/intro",children:"Docusaurus Tutorial - 5min \u23F1\uFE0F"})})]})});}function Home(){const{siteConfig}=(0,useDocusaurusContext/* default */.A)();return/*#__PURE__*/(0,jsx_runtime.jsxs)(Layout/* default */.A,{title:`Hello from ${siteConfig.title}`,description:"Description will go into a meta tag in <head />",children:[/*#__PURE__*/(0,jsx_runtime.jsx)(HomepageHeader,{}),/*#__PURE__*/(0,jsx_runtime.jsx)("main",{children:/*#__PURE__*/(0,jsx_runtime.jsx)(HomepageFeatures,{})})]});} /***/ }), /***/ 1964: /***/ ((module) => { // Exports module.exports = { "admonition": `admonition_o5H7`, "admonitionHeading": `admonitionHeading_FzoX`, "admonitionIcon": `admonitionIcon_rXq6`, "admonitionContent": `admonitionContent_Knsx` }; /***/ }), /***/ 8470: /***/ ((module) => { // Exports module.exports = { "closeButton": `closeButton_nmpN` }; /***/ }), /***/ 6369: /***/ ((module) => { // Exports module.exports = { "content": `content_ttnW` }; /***/ }), /***/ 4459: /***/ ((module) => { // Exports module.exports = { "announcementBar": `announcementBar_cTOO`, "announcementBarPlaceholder": `announcementBarPlaceholder_Lqfg`, "announcementBarClose": `announcementBarClose_UFLi`, "announcementBarContent": `announcementBarContent_PjqA` }; /***/ }), /***/ 4512: /***/ ((module) => { // Exports module.exports = { "backToTopButton": `backToTopButton_PuQw`, "backToTopButtonShow": `backToTopButtonShow_YSA3` }; /***/ }), /***/ 3783: /***/ ((module) => { // Exports module.exports = { "authorSocials": `authorSocials_tPnL`, "authorSocialLink": `authorSocialLink_hEWM`, "authorSocialIcon": `authorSocialIcon_hTX6` }; /***/ }), /***/ 2718: /***/ ((module) => { // Exports module.exports = { "authorImage": `authorImage_p8ow`, "author-as-h1": `author-as-h1_Pd3R`, "author-as-h2": `author-as-h2_UaZL`, "authorDetails": `authorDetails_dWdF`, "authorName": `authorName_Y8Hr`, "authorTitle": `authorTitle_Slpj`, "authorBlogPostCount": `authorBlogPostCount_FxU_` }; /***/ }), /***/ 8436: /***/ ((module) => { // Exports module.exports = { "authorListItem": `authorListItem_Y1Zl` }; /***/ }), /***/ 3227: /***/ ((module) => { // Exports module.exports = { "authorCol": `authorCol_bvyx`, "imageOnlyAuthorRow": `imageOnlyAuthorRow_L2DM`, "imageOnlyAuthorCol": `imageOnlyAuthorCol_oyze` }; /***/ }), /***/ 3617: /***/ ((module) => { // Exports module.exports = { "container": `container_x5Un` }; /***/ }), /***/ 1245: /***/ ((module) => { // Exports module.exports = { "title": `title_UBNu` }; /***/ }), /***/ 4718: /***/ ((module) => { // Exports module.exports = { "sidebar": `sidebar_P3nc`, "sidebarItemTitle": `sidebarItemTitle_VrjY`, "sidebarItemList": `sidebarItemList_OSkG`, "sidebarItem": `sidebarItem_WJ0y`, "sidebarItemLink": `sidebarItemLink_Qrfg`, "sidebarItemLinkActive": `sidebarItemLinkActive_nUeK`, "yearGroupHeading": `yearGroupHeading_lECJ` }; /***/ }), /***/ 4176: /***/ ((module) => { // Exports module.exports = { "yearGroupHeading": `yearGroupHeading_Ruz9` }; /***/ }), /***/ 4197: /***/ ((module) => { // Exports module.exports = { "codeBlockContainer": `codeBlockContainer_jDV4` }; /***/ }), /***/ 4799: /***/ ((module) => { // Exports module.exports = { "codeBlockContent": `codeBlockContent_vx7S`, "codeBlockTitle": `codeBlockTitle_bdru`, "codeBlock": `codeBlock_Gebt`, "codeBlockStandalone": `codeBlockStandalone_i_cY`, "codeBlockLines": `codeBlockLines_FJaf`, "codeBlockLinesWithNumbering": `codeBlockLinesWithNumbering_FU9Q`, "buttonGroup": `buttonGroup_cUGO` }; /***/ }), /***/ 4099: /***/ ((module) => { // Exports module.exports = { "copyButtonCopied": `copyButtonCopied_OkN_`, "copyButtonIcons": `copyButtonIcons_OqsO`, "copyButtonIcon": `copyButtonIcon_PgCn`, "copyButtonSuccessIcon": `copyButtonSuccessIcon_bsQG` }; /***/ }), /***/ 8542: /***/ ((module) => { // Exports module.exports = { "codeLine": `codeLine_qRmp`, "codeLineNumber": `codeLineNumber_dS_J`, "codeLineContent": `codeLineContent_XF5l` }; /***/ }), /***/ 480: /***/ ((module) => { // Exports module.exports = { "wordWrapButtonIcon": `wordWrapButtonIcon_MQXS`, "wordWrapButtonEnabled": `wordWrapButtonEnabled_TBIH` }; /***/ }), /***/ 6583: /***/ ((module) => { // Exports module.exports = { "toggle": `toggle_bT41`, "toggleButton": `toggleButton_x9TT`, "darkToggleIcon": `darkToggleIcon_OBbf`, "lightToggleIcon": `lightToggleIcon_dnYY`, "toggleButtonDisabled": `toggleButtonDisabled_Dj8q` }; /***/ }), /***/ 1733: /***/ ((module) => { // Exports module.exports = { "details": `details_Cn_P` }; /***/ }), /***/ 6574: /***/ ((module) => { // Exports module.exports = { "breadcrumbHomeIcon": `breadcrumbHomeIcon_uaSn` }; /***/ }), /***/ 6669: /***/ ((module) => { // Exports module.exports = { "breadcrumbsContainer": `breadcrumbsContainer_Wvrh` }; /***/ }), /***/ 4855: /***/ ((module) => { // Exports module.exports = { "cardContainer": `cardContainer_Uewx`, "cardTitle": `cardTitle_dwRT`, "cardDescription": `cardDescription_mCBT` }; /***/ }), /***/ 9951: /***/ ((module) => { // Exports module.exports = { "docCardListItem": `docCardListItem_hvcp` }; /***/ }), /***/ 3745: /***/ ((module) => { // Exports module.exports = { "generatedIndexPage": `generatedIndexPage_hs4p`, "title": `title_tRie` }; /***/ }), /***/ 4857: /***/ ((module) => { // Exports module.exports = { "docItemContainer": `docItemContainer_RhpI`, "docItemCol": `docItemCol_n6xZ` }; /***/ }), /***/ 3276: /***/ ((module) => { // Exports module.exports = { "tocMobile": `tocMobile_NSfz` }; /***/ }), /***/ 1154: /***/ ((module) => { // Exports module.exports = { "docMainContainer": `docMainContainer_EfwR`, "docMainContainerEnhanced": `docMainContainerEnhanced_r8nV`, "docItemWrapperEnhanced": `docItemWrapperEnhanced_nA1F` }; /***/ }), /***/ 2822: /***/ ((module) => { // Exports module.exports = { "expandButton": `expandButton_ockD`, "expandButtonIcon": `expandButtonIcon_H1n0` }; /***/ }), /***/ 9359: /***/ ((module) => { // Exports module.exports = { "docSidebarContainer": `docSidebarContainer_S51O`, "docSidebarContainerHidden": `docSidebarContainerHidden_gbDM`, "sidebarViewport": `sidebarViewport_K3q9` }; /***/ }), /***/ 2114: /***/ ((module) => { // Exports module.exports = { "docRoot": `docRoot_kBZ6`, "docsWrapper": `docsWrapper_lLmf` }; /***/ }), /***/ 7792: /***/ ((module) => { // Exports module.exports = { "collapseSidebarButton": `collapseSidebarButton_PUyN`, "collapseSidebarButtonIcon": `collapseSidebarButtonIcon_DI0B` }; /***/ }), /***/ 76: /***/ ((module) => { // Exports module.exports = { "menu": `menu_rWGR`, "menuWithAnnouncementBar": `menuWithAnnouncementBar_Pf08` }; /***/ }), /***/ 5546: /***/ ((module) => { // Exports module.exports = { "sidebar": `sidebar_vtcw`, "sidebarWithHideableNavbar": `sidebarWithHideableNavbar_tZ9s`, "sidebarHidden": `sidebarHidden_PrHU`, "sidebarLogo": `sidebarLogo_UK0N` }; /***/ }), /***/ 7682: /***/ ((module) => { // Exports module.exports = { "menuHtmlItem": `menuHtmlItem_t1vY` }; /***/ }), /***/ 4441: /***/ ((module) => { // Exports module.exports = { "menuExternalLink": `menuExternalLink_zaS2` }; /***/ }), /***/ 466: /***/ ((module) => { // Exports module.exports = { "lastUpdated": `lastUpdated_OHCJ` }; /***/ }), /***/ 3970: /***/ ((module) => { // Exports module.exports = { "footerLogoLink": `footerLogoLink_CiM_` }; /***/ }), /***/ 4693: /***/ ((module) => { // Exports module.exports = { "anchorWithStickyNavbar": `anchorWithStickyNavbar_rB0w`, "anchorWithHideOnScrollNavbar": `anchorWithHideOnScrollNavbar_SSbb` }; /***/ }), /***/ 2433: /***/ ((module) => { // Exports module.exports = { "iconEdit": `iconEdit_IMw_` }; /***/ }), /***/ 5708: /***/ ((module) => { // Exports module.exports = { "iconExternalLink": `iconExternalLink_Rdzz` }; /***/ }), /***/ 4979: /***/ ((module) => { // Exports module.exports = { "githubSvg": `githubSvg_jqE4` }; /***/ }), /***/ 3138: /***/ ((module) => { // Exports module.exports = { "instagramSvg": `instagramSvg_Svcp` }; /***/ }), /***/ 5717: /***/ ((module) => { // Exports module.exports = { "threadsSvg": `threadsSvg_kngY` }; /***/ }), /***/ 2158: /***/ ((module) => { // Exports module.exports = { "xSvg": `xSvg_Q0g7` }; /***/ }), /***/ 2231: /***/ ((module) => { // Exports module.exports = { "mainWrapper": `mainWrapper_PEsc` }; /***/ }), /***/ 5614: /***/ ((module) => { // Exports module.exports = { "img": `img_vXGZ` }; /***/ }), /***/ 30: /***/ ((module) => { // Exports module.exports = { "containsTaskList": `containsTaskList_k9gM` }; /***/ }), /***/ 7143: /***/ ((module) => { // Exports module.exports = { "mdxPageWrapper": `mdxPageWrapper_bWhk` }; /***/ }), /***/ 6746: /***/ ((module) => { // Exports module.exports = { "darkNavbarColorModeToggle": `darkNavbarColorModeToggle_JF8j` }; /***/ }), /***/ 681: /***/ ((module) => { // Exports module.exports = { "colorModeToggle": `colorModeToggle_UolE` }; /***/ }), /***/ 8476: /***/ ((module) => { // Exports module.exports = { "navbarHideable": `navbarHideable_uAgx`, "navbarHidden": `navbarHidden_QgM6` }; /***/ }), /***/ 5810: /***/ ((module) => { // Exports module.exports = { "navbarSearchContainer": `navbarSearchContainer_dDCC` }; /***/ }), /***/ 5389: /***/ ((module) => { // Exports module.exports = { "dropdownNavbarItemMobile": `dropdownNavbarItemMobile_A1en` }; /***/ }), /***/ 3403: /***/ ((module) => { // Exports module.exports = { "iconLanguage": `iconLanguage_tqOs` }; /***/ }), /***/ 8858: /***/ ((module) => { // Exports module.exports = { "skipToContent": `skipToContent_UHvc` }; /***/ }), /***/ 5429: /***/ ((module) => { // Exports module.exports = { "tableOfContents": `tableOfContents_RLlU`, "docItemContainer": `docItemContainer_oucX` }; /***/ }), /***/ 4112: /***/ ((module) => { // Exports module.exports = { "tocCollapsibleButton": `tocCollapsibleButton_IbtT`, "tocCollapsibleButtonExpanded": `tocCollapsibleButtonExpanded_Nor3` }; /***/ }), /***/ 3939: /***/ ((module) => { // Exports module.exports = { "tocCollapsible": `tocCollapsible_BEWm`, "tocCollapsibleContent": `tocCollapsibleContent_FG8F`, "tocCollapsibleExpanded": `tocCollapsibleExpanded_FzA_` }; /***/ }), /***/ 8595: /***/ ((module) => { // Exports module.exports = { "tag": `tag_Nd8t`, "tagRegular": `tagRegular_TiLs`, "tagWithCount": `tagWithCount_AQg7` }; /***/ }), /***/ 9261: /***/ ((module) => { // Exports module.exports = { "tag": `tag_SyQ5` }; /***/ }), /***/ 6709: /***/ ((module) => { // Exports module.exports = { "tags": `tags_rTaS`, "tag": `tag_l5va` }; /***/ }), /***/ 373: /***/ ((module) => { // Exports module.exports = { "details": `details_Nokh`, "isBrowser": `isBrowser_QrB5`, "collapsibleContent": `collapsibleContent_EoA1` }; /***/ }), /***/ 8361: /***/ ((module) => { // Exports module.exports = { "themedComponent": `themedComponent_bJGS`, "themedComponent--light": `themedComponent--light_LEkC`, "themedComponent--dark": `themedComponent--dark_jnGk` }; /***/ }), /***/ 8474: /***/ ((module) => { // Exports module.exports = { "errorBoundaryError": `errorBoundaryError_rP1m`, "errorBoundaryFallback": `errorBoundaryFallback_heah` }; /***/ }), /***/ 8851: /***/ ((module) => { // Exports module.exports = { }; /***/ }), /***/ 6292: /***/ ((module) => { // Exports module.exports = { "features": `features_t9lD`, "featureSvg": `featureSvg_GfXr` }; /***/ }), /***/ 1514: /***/ ((module) => { // Exports module.exports = { "heroBanner": `heroBanner_qdFl`, "buttons": `buttons_AeoN` }; /***/ }), /***/ 6941: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { zR: () => (/* binding */ createBrowserHistory), TM: () => (/* binding */ createHashHistory), yJ: () => (/* binding */ createLocation), sC: () => (/* binding */ createMemoryHistory), AO: () => (/* binding */ createPath) }); // UNUSED EXPORTS: locationsAreEqual, parsePath // EXTERNAL MODULE: ../node_modules/@babel/runtime/helpers/esm/extends.js var esm_extends = __webpack_require__(8102); ;// ../node_modules/resolve-pathname/esm/resolve-pathname.js function isAbsolute(pathname) { return pathname.charAt(0) === '/'; } // About 1.5x faster than the two-arg version of Array#splice() function spliceOne(list, index) { for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) { list[i] = list[k]; } list.pop(); } // This implementation is based heavily on node's url.parse function resolvePathname(to, from) { if (from === undefined) from = ''; var toParts = (to && to.split('/')) || []; var fromParts = (from && from.split('/')) || []; var isToAbs = to && isAbsolute(to); var isFromAbs = from && isAbsolute(from); var mustEndAbs = isToAbs || isFromAbs; if (to && isAbsolute(to)) { // to is absolute fromParts = toParts; } else if (toParts.length) { // to is relative, drop the filename fromParts.pop(); fromParts = fromParts.concat(toParts); } if (!fromParts.length) return '/'; var hasTrailingSlash; if (fromParts.length) { var last = fromParts[fromParts.length - 1]; hasTrailingSlash = last === '.' || last === '..' || last === ''; } else { hasTrailingSlash = false; } var up = 0; for (var i = fromParts.length; i >= 0; i--) { var part = fromParts[i]; if (part === '.') { spliceOne(fromParts, i); } else if (part === '..') { spliceOne(fromParts, i); up++; } else if (up) { spliceOne(fromParts, i); up--; } } if (!mustEndAbs) for (; up--; up) fromParts.unshift('..'); if ( mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0])) ) fromParts.unshift(''); var result = fromParts.join('/'); if (hasTrailingSlash && result.substr(-1) !== '/') result += '/'; return result; } /* harmony default export */ const resolve_pathname = (resolvePathname); // EXTERNAL MODULE: ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js var tiny_invariant = __webpack_require__(6143); ;// ../node_modules/history/esm/history.js function addLeadingSlash(path) { return path.charAt(0) === '/' ? path : '/' + path; } function stripLeadingSlash(path) { return path.charAt(0) === '/' ? path.substr(1) : path; } function hasBasename(path, prefix) { return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1; } function stripBasename(path, prefix) { return hasBasename(path, prefix) ? path.substr(prefix.length) : path; } function stripTrailingSlash(path) { return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path; } function parsePath(path) { var pathname = path || '/'; var search = ''; var hash = ''; var hashIndex = pathname.indexOf('#'); if (hashIndex !== -1) { hash = pathname.substr(hashIndex); pathname = pathname.substr(0, hashIndex); } var searchIndex = pathname.indexOf('?'); if (searchIndex !== -1) { search = pathname.substr(searchIndex); pathname = pathname.substr(0, searchIndex); } return { pathname: pathname, search: search === '?' ? '' : search, hash: hash === '#' ? '' : hash }; } function createPath(location) { var pathname = location.pathname, search = location.search, hash = location.hash; var path = pathname || '/'; if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search; if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash; return path; } function createLocation(path, state, key, currentLocation) { var location; if (typeof path === 'string') { // Two-arg form: push(path, state) location = parsePath(path); location.state = state; } else { // One-arg form: push(location) location = (0,esm_extends/* default */.A)({}, path); if (location.pathname === undefined) location.pathname = ''; if (location.search) { if (location.search.charAt(0) !== '?') location.search = '?' + location.search; } else { location.search = ''; } if (location.hash) { if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash; } else { location.hash = ''; } if (state !== undefined && location.state === undefined) location.state = state; } try { location.pathname = decodeURI(location.pathname); } catch (e) { if (e instanceof URIError) { throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.'); } else { throw e; } } if (key) location.key = key; if (currentLocation) { // Resolve incomplete/relative pathname relative to current location. if (!location.pathname) { location.pathname = currentLocation.pathname; } else if (location.pathname.charAt(0) !== '/') { location.pathname = resolve_pathname(location.pathname, currentLocation.pathname); } } else { // When there is no prior location and pathname is empty, set it to / if (!location.pathname) { location.pathname = '/'; } } return location; } function locationsAreEqual(a, b) { return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state); } function createTransitionManager() { var prompt = null; function setPrompt(nextPrompt) { false ? 0 : void 0; prompt = nextPrompt; return function () { if (prompt === nextPrompt) prompt = null; }; } function confirmTransitionTo(location, action, getUserConfirmation, callback) { // TODO: If another transition starts while we're still confirming // the previous one, we may end up in a weird state. Figure out the // best way to handle this. if (prompt != null) { var result = typeof prompt === 'function' ? prompt(location, action) : prompt; if (typeof result === 'string') { if (typeof getUserConfirmation === 'function') { getUserConfirmation(result, callback); } else { false ? 0 : void 0; callback(true); } } else { // Return false from a transition hook to cancel the transition. callback(result !== false); } } else { callback(true); } } var listeners = []; function appendListener(fn) { var isActive = true; function listener() { if (isActive) fn.apply(void 0, arguments); } listeners.push(listener); return function () { isActive = false; listeners = listeners.filter(function (item) { return item !== listener; }); }; } function notifyListeners() { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } listeners.forEach(function (listener) { return listener.apply(void 0, args); }); } return { setPrompt: setPrompt, confirmTransitionTo: confirmTransitionTo, appendListener: appendListener, notifyListeners: notifyListeners }; } var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); function getConfirmation(message, callback) { callback(window.confirm(message)); // eslint-disable-line no-alert } /** * Returns true if the HTML5 history API is supported. Taken from Modernizr. * * https://github.com/Modernizr/Modernizr/blob/master/LICENSE * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586 */ function supportsHistory() { var ua = window.navigator.userAgent; if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false; return window.history && 'pushState' in window.history; } /** * Returns true if browser fires popstate on hash change. * IE10 and IE11 do not. */ function supportsPopStateOnHashChange() { return window.navigator.userAgent.indexOf('Trident') === -1; } /** * Returns false if using go(n) with hash history causes a full page reload. */ function supportsGoWithoutReloadUsingHash() { return window.navigator.userAgent.indexOf('Firefox') === -1; } /** * Returns true if a given popstate event is an extraneous WebKit event. * Accounts for the fact that Chrome on iOS fires real popstate events * containing undefined state when pressing the back button. */ function isExtraneousPopstateEvent(event) { return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1; } var PopStateEvent = 'popstate'; var HashChangeEvent = 'hashchange'; function getHistoryState() { try { return window.history.state || {}; } catch (e) { // IE 11 sometimes throws when accessing window.history.state // See https://github.com/ReactTraining/history/pull/289 return {}; } } /** * Creates a history object that uses the HTML5 history API including * pushState, replaceState, and the popstate event. */ function createBrowserHistory(props) { if (props === void 0) { props = {}; } !canUseDOM ? false ? 0 : (0,tiny_invariant/* default */.A)(false) : void 0; var globalHistory = window.history; var canUseHistory = supportsHistory(); var needsHashChangeListener = !supportsPopStateOnHashChange(); var _props = props, _props$forceRefresh = _props.forceRefresh, forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh, _props$getUserConfirm = _props.getUserConfirmation, getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm, _props$keyLength = _props.keyLength, keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength; var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : ''; function getDOMLocation(historyState) { var _ref = historyState || {}, key = _ref.key, state = _ref.state; var _window$location = window.location, pathname = _window$location.pathname, search = _window$location.search, hash = _window$location.hash; var path = pathname + search + hash; false ? 0 : void 0; if (basename) path = stripBasename(path, basename); return createLocation(path, state, key); } function createKey() { return Math.random().toString(36).substr(2, keyLength); } var transitionManager = createTransitionManager(); function setState(nextState) { (0,esm_extends/* default */.A)(history, nextState); history.length = globalHistory.length; transitionManager.notifyListeners(history.location, history.action); } function handlePopState(event) { // Ignore extraneous popstate events in WebKit. if (isExtraneousPopstateEvent(event)) return; handlePop(getDOMLocation(event.state)); } function handleHashChange() { handlePop(getDOMLocation(getHistoryState())); } var forceNextPop = false; function handlePop(location) { if (forceNextPop) { forceNextPop = false; setState(); } else { var action = 'POP'; transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (ok) { setState({ action: action, location: location }); } else { revertPop(location); } }); } } function revertPop(fromLocation) { var toLocation = history.location; // TODO: We could probably make this more reliable by // keeping a list of keys we've seen in sessionStorage. // Instead, we just default to 0 for keys we don't know. var toIndex = allKeys.indexOf(toLocation.key); if (toIndex === -1) toIndex = 0; var fromIndex = allKeys.indexOf(fromLocation.key); if (fromIndex === -1) fromIndex = 0; var delta = toIndex - fromIndex; if (delta) { forceNextPop = true; go(delta); } } var initialLocation = getDOMLocation(getHistoryState()); var allKeys = [initialLocation.key]; // Public interface function createHref(location) { return basename + createPath(location); } function push(path, state) { false ? 0 : void 0; var action = 'PUSH'; var location = createLocation(path, state, createKey(), history.location); transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (!ok) return; var href = createHref(location); var key = location.key, state = location.state; if (canUseHistory) { globalHistory.pushState({ key: key, state: state }, null, href); if (forceRefresh) { window.location.href = href; } else { var prevIndex = allKeys.indexOf(history.location.key); var nextKeys = allKeys.slice(0, prevIndex + 1); nextKeys.push(location.key); allKeys = nextKeys; setState({ action: action, location: location }); } } else { false ? 0 : void 0; window.location.href = href; } }); } function replace(path, state) { false ? 0 : void 0; var action = 'REPLACE'; var location = createLocation(path, state, createKey(), history.location); transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (!ok) return; var href = createHref(location); var key = location.key, state = location.state; if (canUseHistory) { globalHistory.replaceState({ key: key, state: state }, null, href); if (forceRefresh) { window.location.replace(href); } else { var prevIndex = allKeys.indexOf(history.location.key); if (prevIndex !== -1) allKeys[prevIndex] = location.key; setState({ action: action, location: location }); } } else { false ? 0 : void 0; window.location.replace(href); } }); } function go(n) { globalHistory.go(n); } function goBack() { go(-1); } function goForward() { go(1); } var listenerCount = 0; function checkDOMListeners(delta) { listenerCount += delta; if (listenerCount === 1 && delta === 1) { window.addEventListener(PopStateEvent, handlePopState); if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange); } else if (listenerCount === 0) { window.removeEventListener(PopStateEvent, handlePopState); if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange); } } var isBlocked = false; function block(prompt) { if (prompt === void 0) { prompt = false; } var unblock = transitionManager.setPrompt(prompt); if (!isBlocked) { checkDOMListeners(1); isBlocked = true; } return function () { if (isBlocked) { isBlocked = false; checkDOMListeners(-1); } return unblock(); }; } function listen(listener) { var unlisten = transitionManager.appendListener(listener); checkDOMListeners(1); return function () { checkDOMListeners(-1); unlisten(); }; } var history = { length: globalHistory.length, action: 'POP', location: initialLocation, createHref: createHref, push: push, replace: replace, go: go, goBack: goBack, goForward: goForward, block: block, listen: listen }; return history; } var HashChangeEvent$1 = 'hashchange'; var HashPathCoders = { hashbang: { encodePath: function encodePath(path) { return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path); }, decodePath: function decodePath(path) { return path.charAt(0) === '!' ? path.substr(1) : path; } }, noslash: { encodePath: stripLeadingSlash, decodePath: addLeadingSlash }, slash: { encodePath: addLeadingSlash, decodePath: addLeadingSlash } }; function stripHash(url) { var hashIndex = url.indexOf('#'); return hashIndex === -1 ? url : url.slice(0, hashIndex); } function getHashPath() { // We can't use window.location.hash here because it's not // consistent across browsers - Firefox will pre-decode it! var href = window.location.href; var hashIndex = href.indexOf('#'); return hashIndex === -1 ? '' : href.substring(hashIndex + 1); } function pushHashPath(path) { window.location.hash = path; } function replaceHashPath(path) { window.location.replace(stripHash(window.location.href) + '#' + path); } function createHashHistory(props) { if (props === void 0) { props = {}; } !canUseDOM ? false ? 0 : (0,tiny_invariant/* default */.A)(false) : void 0; var globalHistory = window.history; var canGoWithoutReload = supportsGoWithoutReloadUsingHash(); var _props = props, _props$getUserConfirm = _props.getUserConfirmation, getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm, _props$hashType = _props.hashType, hashType = _props$hashType === void 0 ? 'slash' : _props$hashType; var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : ''; var _HashPathCoders$hashT = HashPathCoders[hashType], encodePath = _HashPathCoders$hashT.encodePath, decodePath = _HashPathCoders$hashT.decodePath; function getDOMLocation() { var path = decodePath(getHashPath()); false ? 0 : void 0; if (basename) path = stripBasename(path, basename); return createLocation(path); } var transitionManager = createTransitionManager(); function setState(nextState) { (0,esm_extends/* default */.A)(history, nextState); history.length = globalHistory.length; transitionManager.notifyListeners(history.location, history.action); } var forceNextPop = false; var ignorePath = null; function locationsAreEqual$$1(a, b) { return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash; } function handleHashChange() { var path = getHashPath(); var encodedPath = encodePath(path); if (path !== encodedPath) { // Ensure we always have a properly-encoded hash. replaceHashPath(encodedPath); } else { var location = getDOMLocation(); var prevLocation = history.location; if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change. if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace. ignorePath = null; handlePop(location); } } function handlePop(location) { if (forceNextPop) { forceNextPop = false; setState(); } else { var action = 'POP'; transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (ok) { setState({ action: action, location: location }); } else { revertPop(location); } }); } } function revertPop(fromLocation) { var toLocation = history.location; // TODO: We could probably make this more reliable by // keeping a list of paths we've seen in sessionStorage. // Instead, we just default to 0 for paths we don't know. var toIndex = allPaths.lastIndexOf(createPath(toLocation)); if (toIndex === -1) toIndex = 0; var fromIndex = allPaths.lastIndexOf(createPath(fromLocation)); if (fromIndex === -1) fromIndex = 0; var delta = toIndex - fromIndex; if (delta) { forceNextPop = true; go(delta); } } // Ensure the hash is encoded properly before doing anything else. var path = getHashPath(); var encodedPath = encodePath(path); if (path !== encodedPath) replaceHashPath(encodedPath); var initialLocation = getDOMLocation(); var allPaths = [createPath(initialLocation)]; // Public interface function createHref(location) { var baseTag = document.querySelector('base'); var href = ''; if (baseTag && baseTag.getAttribute('href')) { href = stripHash(window.location.href); } return href + '#' + encodePath(basename + createPath(location)); } function push(path, state) { false ? 0 : void 0; var action = 'PUSH'; var location = createLocation(path, undefined, undefined, history.location); transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (!ok) return; var path = createPath(location); var encodedPath = encodePath(basename + path); var hashChanged = getHashPath() !== encodedPath; if (hashChanged) { // We cannot tell if a hashchange was caused by a PUSH, so we'd // rather setState here and ignore the hashchange. The caveat here // is that other hash histories in the page will consider it a POP. ignorePath = path; pushHashPath(encodedPath); var prevIndex = allPaths.lastIndexOf(createPath(history.location)); var nextPaths = allPaths.slice(0, prevIndex + 1); nextPaths.push(path); allPaths = nextPaths; setState({ action: action, location: location }); } else { false ? 0 : void 0; setState(); } }); } function replace(path, state) { false ? 0 : void 0; var action = 'REPLACE'; var location = createLocation(path, undefined, undefined, history.location); transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (!ok) return; var path = createPath(location); var encodedPath = encodePath(basename + path); var hashChanged = getHashPath() !== encodedPath; if (hashChanged) { // We cannot tell if a hashchange was caused by a REPLACE, so we'd // rather setState here and ignore the hashchange. The caveat here // is that other hash histories in the page will consider it a POP. ignorePath = path; replaceHashPath(encodedPath); } var prevIndex = allPaths.indexOf(createPath(history.location)); if (prevIndex !== -1) allPaths[prevIndex] = path; setState({ action: action, location: location }); }); } function go(n) { false ? 0 : void 0; globalHistory.go(n); } function goBack() { go(-1); } function goForward() { go(1); } var listenerCount = 0; function checkDOMListeners(delta) { listenerCount += delta; if (listenerCount === 1 && delta === 1) { window.addEventListener(HashChangeEvent$1, handleHashChange); } else if (listenerCount === 0) { window.removeEventListener(HashChangeEvent$1, handleHashChange); } } var isBlocked = false; function block(prompt) { if (prompt === void 0) { prompt = false; } var unblock = transitionManager.setPrompt(prompt); if (!isBlocked) { checkDOMListeners(1); isBlocked = true; } return function () { if (isBlocked) { isBlocked = false; checkDOMListeners(-1); } return unblock(); }; } function listen(listener) { var unlisten = transitionManager.appendListener(listener); checkDOMListeners(1); return function () { checkDOMListeners(-1); unlisten(); }; } var history = { length: globalHistory.length, action: 'POP', location: initialLocation, createHref: createHref, push: push, replace: replace, go: go, goBack: goBack, goForward: goForward, block: block, listen: listen }; return history; } function clamp(n, lowerBound, upperBound) { return Math.min(Math.max(n, lowerBound), upperBound); } /** * Creates a history object that stores locations in memory. */ function createMemoryHistory(props) { if (props === void 0) { props = {}; } var _props = props, getUserConfirmation = _props.getUserConfirmation, _props$initialEntries = _props.initialEntries, initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries, _props$initialIndex = _props.initialIndex, initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex, _props$keyLength = _props.keyLength, keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength; var transitionManager = createTransitionManager(); function setState(nextState) { (0,esm_extends/* default */.A)(history, nextState); history.length = history.entries.length; transitionManager.notifyListeners(history.location, history.action); } function createKey() { return Math.random().toString(36).substr(2, keyLength); } var index = clamp(initialIndex, 0, initialEntries.length - 1); var entries = initialEntries.map(function (entry) { return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey()); }); // Public interface var createHref = createPath; function push(path, state) { false ? 0 : void 0; var action = 'PUSH'; var location = createLocation(path, state, createKey(), history.location); transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (!ok) return; var prevIndex = history.index; var nextIndex = prevIndex + 1; var nextEntries = history.entries.slice(0); if (nextEntries.length > nextIndex) { nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location); } else { nextEntries.push(location); } setState({ action: action, location: location, index: nextIndex, entries: nextEntries }); }); } function replace(path, state) { false ? 0 : void 0; var action = 'REPLACE'; var location = createLocation(path, state, createKey(), history.location); transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (!ok) return; history.entries[history.index] = location; setState({ action: action, location: location }); }); } function go(n) { var nextIndex = clamp(history.index + n, 0, history.entries.length - 1); var action = 'POP'; var location = history.entries[nextIndex]; transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { if (ok) { setState({ action: action, location: location, index: nextIndex }); } else { // Mimic the behavior of DOM histories by // causing a render after a cancelled POP. setState(); } }); } function goBack() { go(-1); } function goForward() { go(1); } function canGo(n) { var nextIndex = history.index + n; return nextIndex >= 0 && nextIndex < history.entries.length; } function block(prompt) { if (prompt === void 0) { prompt = false; } return transitionManager.setPrompt(prompt); } function listen(listener) { return transitionManager.appendListener(listener); } var history = { length: entries.length, action: 'POP', location: entries[index], index: index, entries: entries, createHref: createHref, push: push, replace: replace, go: go, goBack: goBack, goForward: goForward, canGo: canGo, block: block, listen: listen }; return history; } /***/ }), /***/ 8486: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; var reactIs = __webpack_require__(9360); /** * Copyright 2015, Yahoo! Inc. * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ var REACT_STATICS = { childContextTypes: true, contextType: true, contextTypes: true, defaultProps: true, displayName: true, getDefaultProps: true, getDerivedStateFromError: true, getDerivedStateFromProps: true, mixins: true, propTypes: true, type: true }; var KNOWN_STATICS = { name: true, length: true, prototype: true, caller: true, callee: true, arguments: true, arity: true }; var FORWARD_REF_STATICS = { '$$typeof': true, render: true, defaultProps: true, displayName: true, propTypes: true }; var MEMO_STATICS = { '$$typeof': true, compare: true, defaultProps: true, displayName: true, propTypes: true, type: true }; var TYPE_STATICS = {}; TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; TYPE_STATICS[reactIs.Memo] = MEMO_STATICS; function getStatics(component) { // React v16.11 and below if (reactIs.isMemo(component)) { return MEMO_STATICS; } // React v16.12 and above return TYPE_STATICS[component['$$typeof']] || REACT_STATICS; } var defineProperty = Object.defineProperty; var getOwnPropertyNames = Object.getOwnPropertyNames; var getOwnPropertySymbols = Object.getOwnPropertySymbols; var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; var getPrototypeOf = Object.getPrototypeOf; var objectPrototype = Object.prototype; function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components if (objectPrototype) { var inheritedComponent = getPrototypeOf(sourceComponent); if (inheritedComponent && inheritedComponent !== objectPrototype) { hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); } } var keys = getOwnPropertyNames(sourceComponent); if (getOwnPropertySymbols) { keys = keys.concat(getOwnPropertySymbols(sourceComponent)); } var targetStatics = getStatics(targetComponent); var sourceStatics = getStatics(sourceComponent); for (var i = 0; i < keys.length; ++i) { var key = keys[i]; if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { var descriptor = getOwnPropertyDescriptor(sourceComponent, key); try { // Avoid failures from read-only properties defineProperty(targetComponent, key, descriptor); } catch (e) {} } } } return targetComponent; } module.exports = hoistNonReactStatics; /***/ }), /***/ 2332: /***/ ((__unused_webpack_module, exports) => { "use strict"; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b? Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119; function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d; exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t}; exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p}; exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z; /***/ }), /***/ 9360: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (true) { module.exports = __webpack_require__(2332); } else {} /***/ }), /***/ 7315: /***/ ((module) => { "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * Use invariant() to assert state which your program assumes to be true. * * Provide sprintf-style format (only %s is supported) and arguments * to provide information about what broke and what you were * expecting. * * The invariant message will be stripped in production, but the invariant * will remain to ensure logic does not differ in production. */ var NODE_ENV = "production"; var invariant = function(condition, format, a, b, c, d, e, f) { if (NODE_ENV !== 'production') { if (format === undefined) { throw new Error('invariant requires an error message argument'); } } if (!condition) { var error; if (format === undefined) { error = new Error( 'Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.' ); } else { var args = [a, b, c, d, e, f]; var argIndex = 0; error = new Error( format.replace(/%s/g, function() { return args[argIndex++]; }) ); error.name = 'Invariant Violation'; } error.framesToPop = 1; // we don't care about invariant's own frame throw error; } }; module.exports = invariant; /***/ }), /***/ 7671: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */ ;(function(root, factory) { if (true) { !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} })(this, function() { var NProgress = {}; NProgress.version = '0.2.0'; var Settings = NProgress.settings = { minimum: 0.08, easing: 'ease', positionUsing: '', speed: 200, trickle: true, trickleRate: 0.02, trickleSpeed: 800, showSpinner: true, barSelector: '[role="bar"]', spinnerSelector: '[role="spinner"]', parent: 'body', template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>' }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ NProgress.configure = function(options) { var key, value; for (key in options) { value = options[key]; if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value; } return this; }; /** * Last number. */ NProgress.status = null; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ NProgress.set = function(n) { var started = NProgress.isStarted(); n = clamp(n, Settings.minimum, 1); NProgress.status = (n === 1 ? null : n); var progress = NProgress.render(!started), bar = progress.querySelector(Settings.barSelector), speed = Settings.speed, ease = Settings.easing; progress.offsetWidth; /* Repaint */ queue(function(next) { // Set positionUsing if it hasn't already been set if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS(); // Add transition css(bar, barPositionCSS(n, speed, ease)); if (n === 1) { // Fade out css(progress, { transition: 'none', opacity: 1 }); progress.offsetWidth; /* Repaint */ setTimeout(function() { css(progress, { transition: 'all ' + speed + 'ms linear', opacity: 0 }); setTimeout(function() { NProgress.remove(); next(); }, speed); }, speed); } else { setTimeout(next, speed); } }); return this; }; NProgress.isStarted = function() { return typeof NProgress.status === 'number'; }; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ NProgress.start = function() { if (!NProgress.status) NProgress.set(0); var work = function() { setTimeout(function() { if (!NProgress.status) return; NProgress.trickle(); work(); }, Settings.trickleSpeed); }; if (Settings.trickle) work(); return this; }; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ NProgress.done = function(force) { if (!force && !NProgress.status) return this; return NProgress.inc(0.3 + 0.5 * Math.random()).set(1); }; /** * Increments by a random amount. */ NProgress.inc = function(amount) { var n = NProgress.status; if (!n) { return NProgress.start(); } else { if (typeof amount !== 'number') { amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95); } n = clamp(n + amount, 0, 0.994); return NProgress.set(n); } }; NProgress.trickle = function() { return NProgress.inc(Math.random() * Settings.trickleRate); }; /** * Waits for all supplied jQuery promises and * increases the progress as the promises resolve. * * @param $promise jQUery Promise */ (function() { var initial = 0, current = 0; NProgress.promise = function($promise) { if (!$promise || $promise.state() === "resolved") { return this; } if (current === 0) { NProgress.start(); } initial++; current++; $promise.always(function() { current--; if (current === 0) { initial = 0; NProgress.done(); } else { NProgress.set((initial - current) / initial); } }); return this; }; })(); /** * (Internal) renders the progress bar markup based on the `template` * setting. */ NProgress.render = function(fromStart) { if (NProgress.isRendered()) return document.getElementById('nprogress'); addClass(document.documentElement, 'nprogress-busy'); var progress = document.createElement('div'); progress.id = 'nprogress'; progress.innerHTML = Settings.template; var bar = progress.querySelector(Settings.barSelector), perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0), parent = document.querySelector(Settings.parent), spinner; css(bar, { transition: 'all 0 linear', transform: 'translate3d(' + perc + '%,0,0)' }); if (!Settings.showSpinner) { spinner = progress.querySelector(Settings.spinnerSelector); spinner && removeElement(spinner); } if (parent != document.body) { addClass(parent, 'nprogress-custom-parent'); } parent.appendChild(progress); return progress; }; /** * Removes the element. Opposite of render(). */ NProgress.remove = function() { removeClass(document.documentElement, 'nprogress-busy'); removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent'); var progress = document.getElementById('nprogress'); progress && removeElement(progress); }; /** * Checks if the progress bar is rendered. */ NProgress.isRendered = function() { return !!document.getElementById('nprogress'); }; /** * Determine which positioning CSS rule to use. */ NProgress.getPositioningCSS = function() { // Sniff on document.body.style var bodyStyle = document.body.style; // Sniff prefixes var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' : ('MozTransform' in bodyStyle) ? 'Moz' : ('msTransform' in bodyStyle) ? 'ms' : ('OTransform' in bodyStyle) ? 'O' : ''; if (vendorPrefix + 'Perspective' in bodyStyle) { // Modern browsers with 3D support, e.g. Webkit, IE10 return 'translate3d'; } else if (vendorPrefix + 'Transform' in bodyStyle) { // Browsers without 3D support, e.g. IE9 return 'translate'; } else { // Browsers without translate() support, e.g. IE7-8 return 'margin'; } }; /** * Helpers */ function clamp(n, min, max) { if (n < min) return min; if (n > max) return max; return n; } /** * (Internal) converts a percentage (`0..1`) to a bar translateX * percentage (`-100%..0%`). */ function toBarPerc(n) { return (-1 + n) * 100; } /** * (Internal) returns the correct CSS for changing the bar's * position given an n percentage, and speed and ease from Settings */ function barPositionCSS(n, speed, ease) { var barCSS; if (Settings.positionUsing === 'translate3d') { barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' }; } else if (Settings.positionUsing === 'translate') { barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' }; } else { barCSS = { 'margin-left': toBarPerc(n)+'%' }; } barCSS.transition = 'all '+speed+'ms '+ease; return barCSS; } /** * (Internal) Queues a function to be executed. */ var queue = (function() { var pending = []; function next() { var fn = pending.shift(); if (fn) { fn(next); } } return function(fn) { pending.push(fn); if (pending.length == 1) next(); }; })(); /** * (Internal) Applies css properties to an element, similar to the jQuery * css method. * * While this helper does assist with vendor prefixed property names, it * does not perform any manipulation of values prior to setting styles. */ var css = (function() { var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ], cssProps = {}; function camelCase(string) { return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) { return letter.toUpperCase(); }); } function getVendorProp(name) { var style = document.body.style; if (name in style) return name; var i = cssPrefixes.length, capName = name.charAt(0).toUpperCase() + name.slice(1), vendorName; while (i--) { vendorName = cssPrefixes[i] + capName; if (vendorName in style) return vendorName; } return name; } function getStyleProp(name) { name = camelCase(name); return cssProps[name] || (cssProps[name] = getVendorProp(name)); } function applyCss(element, prop, value) { prop = getStyleProp(prop); element.style[prop] = value; } return function(element, properties) { var args = arguments, prop, value; if (args.length == 2) { for (prop in properties) { value = properties[prop]; if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value); } } else { applyCss(element, args[1], args[2]); } } })(); /** * (Internal) Determines if an element or space separated list of class names contains a class name. */ function hasClass(element, name) { var list = typeof element == 'string' ? element : classList(element); return list.indexOf(' ' + name + ' ') >= 0; } /** * (Internal) Adds a class to an element. */ function addClass(element, name) { var oldList = classList(element), newList = oldList + name; if (hasClass(oldList, name)) return; // Trim the opening space. element.className = newList.substring(1); } /** * (Internal) Removes a class from an element. */ function removeClass(element, name) { var oldList = classList(element), newList; if (!hasClass(element, name)) return; // Replace the class name. newList = oldList.replace(' ' + name + ' ', ' '); // Trim the opening and closing spaces. element.className = newList.substring(1, newList.length - 1); } /** * (Internal) Gets a space separated list of the class names on the element. * The list is wrapped with a single space on each end to facilitate finding * matches within the list. */ function classList(element) { return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' '); } /** * (Internal) Removes an element from the DOM. */ function removeElement(element) { element && element.parentNode && element.parentNode.removeChild(element); } return NProgress; }); /***/ }), /***/ 3300: /***/ (() => { /***/ }), /***/ 7317: /***/ (() => { /***/ }), /***/ 7730: /***/ (() => { /***/ }), /***/ 9934: /***/ ((module, exports) => { /** * @param {string} string The string to parse * @returns {Array<number>} Returns an energetic array. */ function parsePart(string) { let res = []; let m; for (let str of string.split(",").map((str) => str.trim())) { // just a number if (/^-?\d+$/.test(str)) { res.push(parseInt(str, 10)); } else if ( (m = str.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)) ) { // 1-5 or 1..5 (equivalent) or 1...5 (doesn't include 5) let [_, lhs, sep, rhs] = m; if (lhs && rhs) { lhs = parseInt(lhs); rhs = parseInt(rhs); const incr = lhs < rhs ? 1 : -1; // Make it inclusive by moving the right 'stop-point' away by one. if (sep === "-" || sep === ".." || sep === "\u2025") rhs += incr; for (let i = lhs; i !== rhs; i += incr) res.push(i); } } } return res; } exports["default"] = parsePart; module.exports = parsePart; /***/ }), /***/ 1069: /***/ ((module) => { var components = {"core":{"meta":{"path":"components/prism-core.js","option":"mandatory"},"core":"Core"},"themes":{"meta":{"path":"themes/{id}.css","link":"index.html?theme={id}","exclusive":true},"prism":{"title":"Default","option":"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{"title":"Okaidia","owner":"ocodia"},"prism-twilight":{"title":"Twilight","owner":"remybach"},"prism-coy":{"title":"Coy","owner":"tshedor"},"prism-solarizedlight":{"title":"Solarized Light","owner":"hectormatos2011 "},"prism-tomorrow":{"title":"Tomorrow Night","owner":"Rosey"}},"languages":{"meta":{"path":"components/prism-{id}","noCSS":true,"examplesPath":"examples/prism-{id}","addCheckAll":true},"markup":{"title":"Markup","alias":["html","xml","svg","mathml","ssml","atom","rss"],"aliasTitles":{"html":"HTML","xml":"XML","svg":"SVG","mathml":"MathML","ssml":"SSML","atom":"Atom","rss":"RSS"},"option":"default"},"css":{"title":"CSS","option":"default","modify":"markup"},"clike":{"title":"C-like","option":"default"},"javascript":{"title":"JavaScript","require":"clike","modify":"markup","optional":"regex","alias":"js","option":"default"},"abap":{"title":"ABAP","owner":"dellagustin"},"abnf":{"title":"ABNF","owner":"RunDevelopment"},"actionscript":{"title":"ActionScript","require":"javascript","modify":"markup","owner":"Golmote"},"ada":{"title":"Ada","owner":"Lucretia"},"agda":{"title":"Agda","owner":"xy-ren"},"al":{"title":"AL","owner":"RunDevelopment"},"antlr4":{"title":"ANTLR4","alias":"g4","owner":"RunDevelopment"},"apacheconf":{"title":"Apache Configuration","owner":"GuiTeK"},"apex":{"title":"Apex","require":["clike","sql"],"owner":"RunDevelopment"},"apl":{"title":"APL","owner":"ngn"},"applescript":{"title":"AppleScript","owner":"Golmote"},"aql":{"title":"AQL","owner":"RunDevelopment"},"arduino":{"title":"Arduino","require":"cpp","alias":"ino","owner":"dkern"},"arff":{"title":"ARFF","owner":"Golmote"},"armasm":{"title":"ARM Assembly","alias":"arm-asm","owner":"RunDevelopment"},"arturo":{"title":"Arturo","alias":"art","optional":["bash","css","javascript","markup","markdown","sql"],"owner":"drkameleon"},"asciidoc":{"alias":"adoc","title":"AsciiDoc","owner":"Golmote"},"aspnet":{"title":"ASP.NET (C#)","require":["markup","csharp"],"owner":"nauzilus"},"asm6502":{"title":"6502 Assembly","owner":"kzurawel"},"asmatmel":{"title":"Atmel AVR Assembly","owner":"cerkit"},"autohotkey":{"title":"AutoHotkey","owner":"aviaryan"},"autoit":{"title":"AutoIt","owner":"Golmote"},"avisynth":{"title":"AviSynth","alias":"avs","owner":"Zinfidel"},"avro-idl":{"title":"Avro IDL","alias":"avdl","owner":"RunDevelopment"},"awk":{"title":"AWK","alias":"gawk","aliasTitles":{"gawk":"GAWK"},"owner":"RunDevelopment"},"bash":{"title":"Bash","alias":["sh","shell"],"aliasTitles":{"sh":"Shell","shell":"Shell"},"owner":"zeitgeist87"},"basic":{"title":"BASIC","owner":"Golmote"},"batch":{"title":"Batch","owner":"Golmote"},"bbcode":{"title":"BBcode","alias":"shortcode","aliasTitles":{"shortcode":"Shortcode"},"owner":"RunDevelopment"},"bbj":{"title":"BBj","owner":"hyyan"},"bicep":{"title":"Bicep","owner":"johnnyreilly"},"birb":{"title":"Birb","require":"clike","owner":"Calamity210"},"bison":{"title":"Bison","require":"c","owner":"Golmote"},"bnf":{"title":"BNF","alias":"rbnf","aliasTitles":{"rbnf":"RBNF"},"owner":"RunDevelopment"},"bqn":{"title":"BQN","owner":"yewscion"},"brainfuck":{"title":"Brainfuck","owner":"Golmote"},"brightscript":{"title":"BrightScript","owner":"RunDevelopment"},"bro":{"title":"Bro","owner":"wayward710"},"bsl":{"title":"BSL (1C:Enterprise)","alias":"oscript","aliasTitles":{"oscript":"OneScript"},"owner":"Diversus23"},"c":{"title":"C","require":"clike","owner":"zeitgeist87"},"csharp":{"title":"C#","require":"clike","alias":["cs","dotnet"],"owner":"mvalipour"},"cpp":{"title":"C++","require":"c","owner":"zeitgeist87"},"cfscript":{"title":"CFScript","require":"clike","alias":"cfc","owner":"mjclemente"},"chaiscript":{"title":"ChaiScript","require":["clike","cpp"],"owner":"RunDevelopment"},"cil":{"title":"CIL","owner":"sbrl"},"cilkc":{"title":"Cilk/C","require":"c","alias":"cilk-c","owner":"OpenCilk"},"cilkcpp":{"title":"Cilk/C++","require":"cpp","alias":["cilk-cpp","cilk"],"owner":"OpenCilk"},"clojure":{"title":"Clojure","owner":"troglotit"},"cmake":{"title":"CMake","owner":"mjrogozinski"},"cobol":{"title":"COBOL","owner":"RunDevelopment"},"coffeescript":{"title":"CoffeeScript","require":"javascript","alias":"coffee","owner":"R-osey"},"concurnas":{"title":"Concurnas","alias":"conc","owner":"jasontatton"},"csp":{"title":"Content-Security-Policy","owner":"ScottHelme"},"cooklang":{"title":"Cooklang","owner":"ahue"},"coq":{"title":"Coq","owner":"RunDevelopment"},"crystal":{"title":"Crystal","require":"ruby","owner":"MakeNowJust"},"css-extras":{"title":"CSS Extras","require":"css","modify":"css","owner":"milesj"},"csv":{"title":"CSV","owner":"RunDevelopment"},"cue":{"title":"CUE","owner":"RunDevelopment"},"cypher":{"title":"Cypher","owner":"RunDevelopment"},"d":{"title":"D","require":"clike","owner":"Golmote"},"dart":{"title":"Dart","require":"clike","owner":"Golmote"},"dataweave":{"title":"DataWeave","owner":"machaval"},"dax":{"title":"DAX","owner":"peterbud"},"dhall":{"title":"Dhall","owner":"RunDevelopment"},"diff":{"title":"Diff","owner":"uranusjr"},"django":{"title":"Django/Jinja2","require":"markup-templating","alias":"jinja2","owner":"romanvm"},"dns-zone-file":{"title":"DNS zone file","owner":"RunDevelopment","alias":"dns-zone"},"docker":{"title":"Docker","alias":"dockerfile","owner":"JustinBeckwith"},"dot":{"title":"DOT (Graphviz)","alias":"gv","optional":"markup","owner":"RunDevelopment"},"ebnf":{"title":"EBNF","owner":"RunDevelopment"},"editorconfig":{"title":"EditorConfig","owner":"osipxd"},"eiffel":{"title":"Eiffel","owner":"Conaclos"},"ejs":{"title":"EJS","require":["javascript","markup-templating"],"owner":"RunDevelopment","alias":"eta","aliasTitles":{"eta":"Eta"}},"elixir":{"title":"Elixir","owner":"Golmote"},"elm":{"title":"Elm","owner":"zwilias"},"etlua":{"title":"Embedded Lua templating","require":["lua","markup-templating"],"owner":"RunDevelopment"},"erb":{"title":"ERB","require":["ruby","markup-templating"],"owner":"Golmote"},"erlang":{"title":"Erlang","owner":"Golmote"},"excel-formula":{"title":"Excel Formula","alias":["xlsx","xls"],"owner":"RunDevelopment"},"fsharp":{"title":"F#","require":"clike","owner":"simonreynolds7"},"factor":{"title":"Factor","owner":"catb0t"},"false":{"title":"False","owner":"edukisto"},"firestore-security-rules":{"title":"Firestore security rules","require":"clike","owner":"RunDevelopment"},"flow":{"title":"Flow","require":"javascript","owner":"Golmote"},"fortran":{"title":"Fortran","owner":"Golmote"},"ftl":{"title":"FreeMarker Template Language","require":"markup-templating","owner":"RunDevelopment"},"gml":{"title":"GameMaker Language","alias":"gamemakerlanguage","require":"clike","owner":"LiarOnce"},"gap":{"title":"GAP (CAS)","owner":"RunDevelopment"},"gcode":{"title":"G-code","owner":"RunDevelopment"},"gdscript":{"title":"GDScript","owner":"RunDevelopment"},"gedcom":{"title":"GEDCOM","owner":"Golmote"},"gettext":{"title":"gettext","alias":"po","owner":"RunDevelopment"},"gherkin":{"title":"Gherkin","owner":"hason"},"git":{"title":"Git","owner":"lgiraudel"},"glsl":{"title":"GLSL","require":"c","owner":"Golmote"},"gn":{"title":"GN","alias":"gni","owner":"RunDevelopment"},"linker-script":{"title":"GNU Linker Script","alias":"ld","owner":"RunDevelopment"},"go":{"title":"Go","require":"clike","owner":"arnehormann"},"go-module":{"title":"Go module","alias":"go-mod","owner":"RunDevelopment"},"gradle":{"title":"Gradle","require":"clike","owner":"zeabdelkhalek-badido18"},"graphql":{"title":"GraphQL","optional":"markdown","owner":"Golmote"},"groovy":{"title":"Groovy","require":"clike","owner":"robfletcher"},"haml":{"title":"Haml","require":"ruby","optional":["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],"owner":"Golmote"},"handlebars":{"title":"Handlebars","require":"markup-templating","alias":["hbs","mustache"],"aliasTitles":{"mustache":"Mustache"},"owner":"Golmote"},"haskell":{"title":"Haskell","alias":"hs","owner":"bholst"},"haxe":{"title":"Haxe","require":"clike","optional":"regex","owner":"Golmote"},"hcl":{"title":"HCL","owner":"outsideris"},"hlsl":{"title":"HLSL","require":"c","owner":"RunDevelopment"},"hoon":{"title":"Hoon","owner":"matildepark"},"http":{"title":"HTTP","optional":["csp","css","hpkp","hsts","javascript","json","markup","uri"],"owner":"danielgtaylor"},"hpkp":{"title":"HTTP Public-Key-Pins","owner":"ScottHelme"},"hsts":{"title":"HTTP Strict-Transport-Security","owner":"ScottHelme"},"ichigojam":{"title":"IchigoJam","owner":"BlueCocoa"},"icon":{"title":"Icon","owner":"Golmote"},"icu-message-format":{"title":"ICU Message Format","owner":"RunDevelopment"},"idris":{"title":"Idris","alias":"idr","owner":"KeenS","require":"haskell"},"ignore":{"title":".ignore","owner":"osipxd","alias":["gitignore","hgignore","npmignore"],"aliasTitles":{"gitignore":".gitignore","hgignore":".hgignore","npmignore":".npmignore"}},"inform7":{"title":"Inform 7","owner":"Golmote"},"ini":{"title":"Ini","owner":"aviaryan"},"io":{"title":"Io","owner":"AlesTsurko"},"j":{"title":"J","owner":"Golmote"},"java":{"title":"Java","require":"clike","owner":"sherblot"},"javadoc":{"title":"JavaDoc","require":["markup","java","javadoclike"],"modify":"java","optional":"scala","owner":"RunDevelopment"},"javadoclike":{"title":"JavaDoc-like","modify":["java","javascript","php"],"owner":"RunDevelopment"},"javastacktrace":{"title":"Java stack trace","owner":"RunDevelopment"},"jexl":{"title":"Jexl","owner":"czosel"},"jolie":{"title":"Jolie","require":"clike","owner":"thesave"},"jq":{"title":"JQ","owner":"RunDevelopment"},"jsdoc":{"title":"JSDoc","require":["javascript","javadoclike","typescript"],"modify":"javascript","optional":["actionscript","coffeescript"],"owner":"RunDevelopment"},"js-extras":{"title":"JS Extras","require":"javascript","modify":"javascript","optional":["actionscript","coffeescript","flow","n4js","typescript"],"owner":"RunDevelopment"},"json":{"title":"JSON","alias":"webmanifest","aliasTitles":{"webmanifest":"Web App Manifest"},"owner":"CupOfTea696"},"json5":{"title":"JSON5","require":"json","owner":"RunDevelopment"},"jsonp":{"title":"JSONP","require":"json","owner":"RunDevelopment"},"jsstacktrace":{"title":"JS stack trace","owner":"sbrl"},"js-templates":{"title":"JS Templates","require":"javascript","modify":"javascript","optional":["css","css-extras","graphql","markdown","markup","sql"],"owner":"RunDevelopment"},"julia":{"title":"Julia","owner":"cdagnino"},"keepalived":{"title":"Keepalived Configure","owner":"dev-itsheng"},"keyman":{"title":"Keyman","owner":"mcdurdin"},"kotlin":{"title":"Kotlin","alias":["kt","kts"],"aliasTitles":{"kts":"Kotlin Script"},"require":"clike","owner":"Golmote"},"kumir":{"title":"KuMir (КуМир)","alias":"kum","owner":"edukisto"},"kusto":{"title":"Kusto","owner":"RunDevelopment"},"latex":{"title":"LaTeX","alias":["tex","context"],"aliasTitles":{"tex":"TeX","context":"ConTeXt"},"owner":"japborst"},"latte":{"title":"Latte","require":["clike","markup-templating","php"],"owner":"nette"},"less":{"title":"Less","require":"css","optional":"css-extras","owner":"Golmote"},"lilypond":{"title":"LilyPond","require":"scheme","alias":"ly","owner":"RunDevelopment"},"liquid":{"title":"Liquid","require":"markup-templating","owner":"cinhtau"},"lisp":{"title":"Lisp","alias":["emacs","elisp","emacs-lisp"],"owner":"JuanCaicedo"},"livescript":{"title":"LiveScript","owner":"Golmote"},"llvm":{"title":"LLVM IR","owner":"porglezomp"},"log":{"title":"Log file","optional":"javastacktrace","owner":"RunDevelopment"},"lolcode":{"title":"LOLCODE","owner":"Golmote"},"lua":{"title":"Lua","owner":"Golmote"},"magma":{"title":"Magma (CAS)","owner":"RunDevelopment"},"makefile":{"title":"Makefile","owner":"Golmote"},"markdown":{"title":"Markdown","require":"markup","optional":"yaml","alias":"md","owner":"Golmote"},"markup-templating":{"title":"Markup templating","require":"markup","owner":"Golmote"},"mata":{"title":"Mata","owner":"RunDevelopment"},"matlab":{"title":"MATLAB","owner":"Golmote"},"maxscript":{"title":"MAXScript","owner":"RunDevelopment"},"mel":{"title":"MEL","owner":"Golmote"},"mermaid":{"title":"Mermaid","owner":"RunDevelopment"},"metafont":{"title":"METAFONT","owner":"LaeriExNihilo"},"mizar":{"title":"Mizar","owner":"Golmote"},"mongodb":{"title":"MongoDB","owner":"airs0urce","require":"javascript"},"monkey":{"title":"Monkey","owner":"Golmote"},"moonscript":{"title":"MoonScript","alias":"moon","owner":"RunDevelopment"},"n1ql":{"title":"N1QL","owner":"TMWilds"},"n4js":{"title":"N4JS","require":"javascript","optional":"jsdoc","alias":"n4jsd","owner":"bsmith-n4"},"nand2tetris-hdl":{"title":"Nand To Tetris HDL","owner":"stephanmax"},"naniscript":{"title":"Naninovel Script","owner":"Elringus","alias":"nani"},"nasm":{"title":"NASM","owner":"rbmj"},"neon":{"title":"NEON","owner":"nette"},"nevod":{"title":"Nevod","owner":"nezaboodka"},"nginx":{"title":"nginx","owner":"volado"},"nim":{"title":"Nim","owner":"Golmote"},"nix":{"title":"Nix","owner":"Golmote"},"nsis":{"title":"NSIS","owner":"idleberg"},"objectivec":{"title":"Objective-C","require":"c","alias":"objc","owner":"uranusjr"},"ocaml":{"title":"OCaml","owner":"Golmote"},"odin":{"title":"Odin","owner":"edukisto"},"opencl":{"title":"OpenCL","require":"c","modify":["c","cpp"],"owner":"Milania1"},"openqasm":{"title":"OpenQasm","alias":"qasm","owner":"RunDevelopment"},"oz":{"title":"Oz","owner":"Golmote"},"parigp":{"title":"PARI/GP","owner":"Golmote"},"parser":{"title":"Parser","require":"markup","owner":"Golmote"},"pascal":{"title":"Pascal","alias":"objectpascal","aliasTitles":{"objectpascal":"Object Pascal"},"owner":"Golmote"},"pascaligo":{"title":"Pascaligo","owner":"DefinitelyNotAGoat"},"psl":{"title":"PATROL Scripting Language","owner":"bertysentry"},"pcaxis":{"title":"PC-Axis","alias":"px","owner":"RunDevelopment"},"peoplecode":{"title":"PeopleCode","alias":"pcode","owner":"RunDevelopment"},"perl":{"title":"Perl","owner":"Golmote"},"php":{"title":"PHP","require":"markup-templating","owner":"milesj"},"phpdoc":{"title":"PHPDoc","require":["php","javadoclike"],"modify":"php","owner":"RunDevelopment"},"php-extras":{"title":"PHP Extras","require":"php","modify":"php","owner":"milesj"},"plant-uml":{"title":"PlantUML","alias":"plantuml","owner":"RunDevelopment"},"plsql":{"title":"PL/SQL","require":"sql","owner":"Golmote"},"powerquery":{"title":"PowerQuery","alias":["pq","mscript"],"owner":"peterbud"},"powershell":{"title":"PowerShell","owner":"nauzilus"},"processing":{"title":"Processing","require":"clike","owner":"Golmote"},"prolog":{"title":"Prolog","owner":"Golmote"},"promql":{"title":"PromQL","owner":"arendjr"},"properties":{"title":".properties","owner":"Golmote"},"protobuf":{"title":"Protocol Buffers","require":"clike","owner":"just-boris"},"pug":{"title":"Pug","require":["markup","javascript"],"optional":["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],"owner":"Golmote"},"puppet":{"title":"Puppet","owner":"Golmote"},"pure":{"title":"Pure","optional":["c","cpp","fortran"],"owner":"Golmote"},"purebasic":{"title":"PureBasic","require":"clike","alias":"pbfasm","owner":"HeX0R101"},"purescript":{"title":"PureScript","require":"haskell","alias":"purs","owner":"sriharshachilakapati"},"python":{"title":"Python","alias":"py","owner":"multipetros"},"qsharp":{"title":"Q#","require":"clike","alias":"qs","owner":"fedonman"},"q":{"title":"Q (kdb+ database)","owner":"Golmote"},"qml":{"title":"QML","require":"javascript","owner":"RunDevelopment"},"qore":{"title":"Qore","require":"clike","owner":"temnroegg"},"r":{"title":"R","owner":"Golmote"},"racket":{"title":"Racket","require":"scheme","alias":"rkt","owner":"RunDevelopment"},"cshtml":{"title":"Razor C#","alias":"razor","require":["markup","csharp"],"optional":["css","css-extras","javascript","js-extras"],"owner":"RunDevelopment"},"jsx":{"title":"React JSX","require":["markup","javascript"],"optional":["jsdoc","js-extras","js-templates"],"owner":"vkbansal"},"tsx":{"title":"React TSX","require":["jsx","typescript"]},"reason":{"title":"Reason","require":"clike","owner":"Golmote"},"regex":{"title":"Regex","owner":"RunDevelopment"},"rego":{"title":"Rego","owner":"JordanSh"},"renpy":{"title":"Ren'py","alias":"rpy","owner":"HyuchiaDiego"},"rescript":{"title":"ReScript","alias":"res","owner":"vmarcosp"},"rest":{"title":"reST (reStructuredText)","owner":"Golmote"},"rip":{"title":"Rip","owner":"ravinggenius"},"roboconf":{"title":"Roboconf","owner":"Golmote"},"robotframework":{"title":"Robot Framework","alias":"robot","owner":"RunDevelopment"},"ruby":{"title":"Ruby","require":"clike","alias":"rb","owner":"samflores"},"rust":{"title":"Rust","owner":"Golmote"},"sas":{"title":"SAS","optional":["groovy","lua","sql"],"owner":"Golmote"},"sass":{"title":"Sass (Sass)","require":"css","optional":"css-extras","owner":"Golmote"},"scss":{"title":"Sass (SCSS)","require":"css","optional":"css-extras","owner":"MoOx"},"scala":{"title":"Scala","require":"java","owner":"jozic"},"scheme":{"title":"Scheme","owner":"bacchus123"},"shell-session":{"title":"Shell session","require":"bash","alias":["sh-session","shellsession"],"owner":"RunDevelopment"},"smali":{"title":"Smali","owner":"RunDevelopment"},"smalltalk":{"title":"Smalltalk","owner":"Golmote"},"smarty":{"title":"Smarty","require":"markup-templating","optional":"php","owner":"Golmote"},"sml":{"title":"SML","alias":"smlnj","aliasTitles":{"smlnj":"SML/NJ"},"owner":"RunDevelopment"},"solidity":{"title":"Solidity (Ethereum)","alias":"sol","require":"clike","owner":"glachaud"},"solution-file":{"title":"Solution file","alias":"sln","owner":"RunDevelopment"},"soy":{"title":"Soy (Closure Template)","require":"markup-templating","owner":"Golmote"},"sparql":{"title":"SPARQL","require":"turtle","owner":"Triply-Dev","alias":"rq"},"splunk-spl":{"title":"Splunk SPL","owner":"RunDevelopment"},"sqf":{"title":"SQF: Status Quo Function (Arma 3)","require":"clike","owner":"RunDevelopment"},"sql":{"title":"SQL","owner":"multipetros"},"squirrel":{"title":"Squirrel","require":"clike","owner":"RunDevelopment"},"stan":{"title":"Stan","owner":"RunDevelopment"},"stata":{"title":"Stata Ado","require":["mata","java","python"],"owner":"RunDevelopment"},"iecst":{"title":"Structured Text (IEC 61131-3)","owner":"serhioromano"},"stylus":{"title":"Stylus","owner":"vkbansal"},"supercollider":{"title":"SuperCollider","alias":"sclang","owner":"RunDevelopment"},"swift":{"title":"Swift","owner":"chrischares"},"systemd":{"title":"Systemd configuration file","owner":"RunDevelopment"},"t4-templating":{"title":"T4 templating","owner":"RunDevelopment"},"t4-cs":{"title":"T4 Text Templates (C#)","require":["t4-templating","csharp"],"alias":"t4","owner":"RunDevelopment"},"t4-vb":{"title":"T4 Text Templates (VB)","require":["t4-templating","vbnet"],"owner":"RunDevelopment"},"tap":{"title":"TAP","owner":"isaacs","require":"yaml"},"tcl":{"title":"Tcl","owner":"PeterChaplin"},"tt2":{"title":"Template Toolkit 2","require":["clike","markup-templating"],"owner":"gflohr"},"textile":{"title":"Textile","require":"markup","optional":"css","owner":"Golmote"},"toml":{"title":"TOML","owner":"RunDevelopment"},"tremor":{"title":"Tremor","alias":["trickle","troy"],"owner":"darach","aliasTitles":{"trickle":"trickle","troy":"troy"}},"turtle":{"title":"Turtle","alias":"trig","aliasTitles":{"trig":"TriG"},"owner":"jakubklimek"},"twig":{"title":"Twig","require":"markup-templating","owner":"brandonkelly"},"typescript":{"title":"TypeScript","require":"javascript","optional":"js-templates","alias":"ts","owner":"vkbansal"},"typoscript":{"title":"TypoScript","alias":"tsconfig","aliasTitles":{"tsconfig":"TSConfig"},"owner":"dkern"},"unrealscript":{"title":"UnrealScript","alias":["uscript","uc"],"owner":"RunDevelopment"},"uorazor":{"title":"UO Razor Script","owner":"jaseowns"},"uri":{"title":"URI","alias":"url","aliasTitles":{"url":"URL"},"owner":"RunDevelopment"},"v":{"title":"V","require":"clike","owner":"taggon"},"vala":{"title":"Vala","require":"clike","optional":"regex","owner":"TemplarVolk"},"vbnet":{"title":"VB.Net","require":"basic","owner":"Bigsby"},"velocity":{"title":"Velocity","require":"markup","owner":"Golmote"},"verilog":{"title":"Verilog","owner":"a-rey"},"vhdl":{"title":"VHDL","owner":"a-rey"},"vim":{"title":"vim","owner":"westonganger"},"visual-basic":{"title":"Visual Basic","alias":["vb","vba"],"aliasTitles":{"vba":"VBA"},"owner":"Golmote"},"warpscript":{"title":"WarpScript","owner":"RunDevelopment"},"wasm":{"title":"WebAssembly","owner":"Golmote"},"web-idl":{"title":"Web IDL","alias":"webidl","owner":"RunDevelopment"},"wgsl":{"title":"WGSL","owner":"Dr4gonthree"},"wiki":{"title":"Wiki markup","require":"markup","owner":"Golmote"},"wolfram":{"title":"Wolfram language","alias":["mathematica","nb","wl"],"aliasTitles":{"mathematica":"Mathematica","nb":"Mathematica Notebook"},"owner":"msollami"},"wren":{"title":"Wren","owner":"clsource"},"xeora":{"title":"Xeora","require":"markup","alias":"xeoracube","aliasTitles":{"xeoracube":"XeoraCube"},"owner":"freakmaxi"},"xml-doc":{"title":"XML doc (.net)","require":"markup","modify":["csharp","fsharp","vbnet"],"owner":"RunDevelopment"},"xojo":{"title":"Xojo (REALbasic)","owner":"Golmote"},"xquery":{"title":"XQuery","require":"markup","owner":"Golmote"},"yaml":{"title":"YAML","alias":"yml","owner":"hason"},"yang":{"title":"YANG","owner":"RunDevelopment"},"zig":{"title":"Zig","owner":"RunDevelopment"}},"plugins":{"meta":{"path":"plugins/{id}/prism-{id}","link":"plugins/{id}/"},"line-highlight":{"title":"Line Highlight","description":"Highlights specific lines and/or line ranges."},"line-numbers":{"title":"Line Numbers","description":"Line number at the beginning of code lines.","owner":"kuba-kubula"},"show-invisibles":{"title":"Show Invisibles","description":"Show hidden characters such as tabs and line breaks.","optional":["autolinker","data-uri-highlight"]},"autolinker":{"title":"Autolinker","description":"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},"wpd":{"title":"WebPlatform Docs","description":"Makes tokens link to <a href=\"https://webplatform.github.io/docs/\">WebPlatform.org documentation</a>. The links open in a new tab."},"custom-class":{"title":"Custom Class","description":"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.","owner":"dvkndn","noCSS":true},"file-highlight":{"title":"File Highlight","description":"Fetch external files and highlight them with Prism. Used on the Prism website itself.","noCSS":true},"show-language":{"title":"Show Language","description":"Display the highlighted language in code blocks (inline code does not show the label).","owner":"nauzilus","noCSS":true,"require":"toolbar"},"jsonp-highlight":{"title":"JSONP Highlight","description":"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).","noCSS":true,"owner":"nauzilus"},"highlight-keywords":{"title":"Highlight Keywords","description":"Adds special CSS classes for each keyword for fine-grained highlighting.","owner":"vkbansal","noCSS":true},"remove-initial-line-feed":{"title":"Remove initial line feed","description":"Removes the initial line feed in code blocks.","owner":"Golmote","noCSS":true},"inline-color":{"title":"Inline color","description":"Adds a small inline preview for colors in style sheets.","require":"css-extras","owner":"RunDevelopment"},"previewers":{"title":"Previewers","description":"Previewers for angles, colors, gradients, easing and time.","require":"css-extras","owner":"Golmote"},"autoloader":{"title":"Autoloader","description":"Automatically loads the needed languages to highlight the code blocks.","owner":"Golmote","noCSS":true},"keep-markup":{"title":"Keep Markup","description":"Prevents custom markup from being dropped out during highlighting.","owner":"Golmote","optional":"normalize-whitespace","noCSS":true},"command-line":{"title":"Command Line","description":"Display a command line with a prompt and, optionally, the output/response from the commands.","owner":"chriswells0"},"unescaped-markup":{"title":"Unescaped Markup","description":"Write markup without having to escape anything."},"normalize-whitespace":{"title":"Normalize Whitespace","description":"Supports multiple operations to normalize whitespace in code blocks.","owner":"zeitgeist87","optional":"unescaped-markup","noCSS":true},"data-uri-highlight":{"title":"Data-URI Highlight","description":"Highlights data-URI contents.","owner":"Golmote","noCSS":true},"toolbar":{"title":"Toolbar","description":"Attach a toolbar for plugins to easily register buttons on the top of a code block.","owner":"mAAdhaTTah"},"copy-to-clipboard":{"title":"Copy to Clipboard Button","description":"Add a button that copies the code block to the clipboard when clicked.","owner":"mAAdhaTTah","require":"toolbar","noCSS":true},"download-button":{"title":"Download Button","description":"A button in the toolbar of a code block adding a convenient way to download a code file.","owner":"Golmote","require":"toolbar","noCSS":true},"match-braces":{"title":"Match braces","description":"Highlights matching braces.","owner":"RunDevelopment"},"diff-highlight":{"title":"Diff Highlight","description":"Highlights the code inside diff blocks.","owner":"RunDevelopment","require":"diff"},"filter-highlight-all":{"title":"Filter highlightAll","description":"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.","owner":"RunDevelopment","noCSS":true},"treeview":{"title":"Treeview","description":"A language with special styles to highlight file system tree structures.","owner":"Golmote"}}}; if ( true && module.exports) { module.exports = components; } /***/ }), /***/ 5558: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { const components = __webpack_require__(1069); const getLoader = __webpack_require__(904); /** * The set of all languages which have been loaded using the below function. * * @type {Set<string>} */ const loadedLanguages = new Set(); /** * Loads the given languages and adds them to the current Prism instance. * * If no languages are provided, __all__ Prism languages will be loaded. * * @param {string|string[]} [languages] * @returns {void} */ function loadLanguages(languages) { if (languages === undefined) { languages = Object.keys(components.languages).filter(l => l != 'meta'); } else if (!Array.isArray(languages)) { languages = [languages]; } // the user might have loaded languages via some other way or used `prism.js` which already includes some // we don't need to validate the ids because `getLoader` will ignore invalid ones const loaded = [...loadedLanguages, ...Object.keys(Prism.languages)]; getLoader(components, languages, loaded).load(lang => { if (!(lang in components.languages)) { if (!loadLanguages.silent) { console.warn('Language does not exist: ' + lang); } return; } const pathToLanguage = './prism-' + lang; // remove from require cache and from Prism delete __webpack_require__.c[/*require.resolve*/(__webpack_require__(1441).resolve(pathToLanguage))]; delete Prism.languages[lang]; __webpack_require__(1441)(pathToLanguage); loadedLanguages.add(lang); }); } /** * Set this to `true` to prevent all warning messages `loadLanguages` logs. */ loadLanguages.silent = false; module.exports = loadLanguages; /***/ }), /***/ 5968: /***/ (() => { (function (Prism) { /** * Returns the placeholder for the given language id and index. * * @param {string} language * @param {string|number} index * @returns {string} */ function getPlaceholder(language, index) { return '___' + language.toUpperCase() + index + '___'; } Object.defineProperties(Prism.languages['markup-templating'] = {}, { buildPlaceholders: { /** * Tokenize all inline templating expressions matching `placeholderPattern`. * * If `replaceFilter` is provided, only matches of `placeholderPattern` for which `replaceFilter` returns * `true` will be replaced. * * @param {object} env The environment of the `before-tokenize` hook. * @param {string} language The language id. * @param {RegExp} placeholderPattern The matches of this pattern will be replaced by placeholders. * @param {(match: string) => boolean} [replaceFilter] */ value: function (env, language, placeholderPattern, replaceFilter) { if (env.language !== language) { return; } var tokenStack = env.tokenStack = []; env.code = env.code.replace(placeholderPattern, function (match) { if (typeof replaceFilter === 'function' && !replaceFilter(match)) { return match; } var i = tokenStack.length; var placeholder; // Check for existing strings while (env.code.indexOf(placeholder = getPlaceholder(language, i)) !== -1) { ++i; } // Create a sparse array tokenStack[i] = match; return placeholder; }); // Switch the grammar to markup env.grammar = Prism.languages.markup; } }, tokenizePlaceholders: { /** * Replace placeholders with proper tokens after tokenizing. * * @param {object} env The environment of the `after-tokenize` hook. * @param {string} language The language id. */ value: function (env, language) { if (env.language !== language || !env.tokenStack) { return; } // Switch the grammar back env.grammar = Prism.languages[language]; var j = 0; var keys = Object.keys(env.tokenStack); function walkTokens(tokens) { for (var i = 0; i < tokens.length; i++) { // all placeholders are replaced already if (j >= keys.length) { break; } var token = tokens[i]; if (typeof token === 'string' || (token.content && typeof token.content === 'string')) { var k = keys[j]; var t = env.tokenStack[k]; var s = typeof token === 'string' ? token : token.content; var placeholder = getPlaceholder(language, k); var index = s.indexOf(placeholder); if (index > -1) { ++j; var before = s.substring(0, index); var middle = new Prism.Token(language, Prism.tokenize(t, env.grammar), 'language-' + language, t); var after = s.substring(index + placeholder.length); var replacement = []; if (before) { replacement.push.apply(replacement, walkTokens([before])); } replacement.push(middle); if (after) { replacement.push.apply(replacement, walkTokens([after])); } if (typeof token === 'string') { tokens.splice.apply(tokens, [i, 1].concat(replacement)); } else { token.content = replacement; } } } else if (token.content /* && typeof token.content !== 'string' */) { walkTokens(token.content); } } return tokens; } walkTokens(env.tokens); } } }); }(Prism)); /***/ }), /***/ 1441: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var map = { "./": 5558 }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = 1441; /***/ }), /***/ 904: /***/ ((module) => { "use strict"; /** * @typedef {Object<string, ComponentCategory>} Components * @typedef {Object<string, ComponentEntry | string>} ComponentCategory * * @typedef ComponentEntry * @property {string} [title] The title of the component. * @property {string} [owner] The GitHub user name of the owner. * @property {boolean} [noCSS=false] Whether the component doesn't have style sheets which should also be loaded. * @property {string | string[]} [alias] An optional list of aliases for the id of the component. * @property {Object<string, string>} [aliasTitles] An optional map from an alias to its title. * * Aliases which are not in this map will the get title of the component. * @property {string | string[]} [optional] * @property {string | string[]} [require] * @property {string | string[]} [modify] */ var getLoader = (function () { /** * A function which does absolutely nothing. * * @type {any} */ var noop = function () { }; /** * Invokes the given callback for all elements of the given value. * * If the given value is an array, the callback will be invokes for all elements. If the given value is `null` or * `undefined`, the callback will not be invoked. In all other cases, the callback will be invoked with the given * value as parameter. * * @param {null | undefined | T | T[]} value * @param {(value: T, index: number) => void} callbackFn * @returns {void} * @template T */ function forEach(value, callbackFn) { if (Array.isArray(value)) { value.forEach(callbackFn); } else if (value != null) { callbackFn(value, 0); } } /** * Returns a new set for the given string array. * * @param {string[]} array * @returns {StringSet} * * @typedef {Object<string, true>} StringSet */ function toSet(array) { /** @type {StringSet} */ var set = {}; for (var i = 0, l = array.length; i < l; i++) { set[array[i]] = true; } return set; } /** * Creates a map of every components id to its entry. * * @param {Components} components * @returns {EntryMap} * * @typedef {{ readonly [id: string]: Readonly<ComponentEntry> | undefined }} EntryMap */ function createEntryMap(components) { /** @type {Object<string, Readonly<ComponentEntry>>} */ var map = {}; for (var categoryName in components) { var category = components[categoryName]; for (var id in category) { if (id != 'meta') { /** @type {ComponentEntry | string} */ var entry = category[id]; map[id] = typeof entry == 'string' ? { title: entry } : entry; } } } return map; } /** * Creates a full dependencies map which includes all types of dependencies and their transitive dependencies. * * @param {EntryMap} entryMap * @returns {DependencyResolver} * * @typedef {(id: string) => StringSet} DependencyResolver */ function createDependencyResolver(entryMap) { /** @type {Object<string, StringSet>} */ var map = {}; var _stackArray = []; /** * Adds the dependencies of the given component to the dependency map. * * @param {string} id * @param {string[]} stack */ function addToMap(id, stack) { if (id in map) { return; } stack.push(id); // check for circular dependencies var firstIndex = stack.indexOf(id); if (firstIndex < stack.length - 1) { throw new Error('Circular dependency: ' + stack.slice(firstIndex).join(' -> ')); } /** @type {StringSet} */ var dependencies = {}; var entry = entryMap[id]; if (entry) { /** * This will add the direct dependency and all of its transitive dependencies to the set of * dependencies of `entry`. * * @param {string} depId * @returns {void} */ function handleDirectDependency(depId) { if (!(depId in entryMap)) { throw new Error(id + ' depends on an unknown component ' + depId); } if (depId in dependencies) { // if the given dependency is already in the set of deps, then so are its transitive deps return; } addToMap(depId, stack); dependencies[depId] = true; for (var transitiveDepId in map[depId]) { dependencies[transitiveDepId] = true; } } forEach(entry.require, handleDirectDependency); forEach(entry.optional, handleDirectDependency); forEach(entry.modify, handleDirectDependency); } map[id] = dependencies; stack.pop(); } return function (id) { var deps = map[id]; if (!deps) { addToMap(id, _stackArray); deps = map[id]; } return deps; }; } /** * Returns a function which resolves the aliases of its given id of alias. * * @param {EntryMap} entryMap * @returns {(idOrAlias: string) => string} */ function createAliasResolver(entryMap) { /** @type {Object<string, string> | undefined} */ var map; return function (idOrAlias) { if (idOrAlias in entryMap) { return idOrAlias; } else { // only create the alias map if necessary if (!map) { map = {}; for (var id in entryMap) { var entry = entryMap[id]; forEach(entry && entry.alias, function (alias) { if (alias in map) { throw new Error(alias + ' cannot be alias for both ' + id + ' and ' + map[alias]); } if (alias in entryMap) { throw new Error(alias + ' cannot be alias of ' + id + ' because it is a component.'); } map[alias] = id; }); } } return map[idOrAlias] || idOrAlias; } }; } /** * @typedef LoadChainer * @property {(before: T, after: () => T) => T} series * @property {(values: T[]) => T} parallel * @template T */ /** * Creates an implicit DAG from the given components and dependencies and call the given `loadComponent` for each * component in topological order. * * @param {DependencyResolver} dependencyResolver * @param {StringSet} ids * @param {(id: string) => T} loadComponent * @param {LoadChainer<T>} [chainer] * @returns {T} * @template T */ function loadComponentsInOrder(dependencyResolver, ids, loadComponent, chainer) { var series = chainer ? chainer.series : undefined; var parallel = chainer ? chainer.parallel : noop; /** @type {Object<string, T>} */ var cache = {}; /** * A set of ids of nodes which are not depended upon by any other node in the graph. * * @type {StringSet} */ var ends = {}; /** * Loads the given component and its dependencies or returns the cached value. * * @param {string} id * @returns {T} */ function handleId(id) { if (id in cache) { return cache[id]; } // assume that it's an end // if it isn't, it will be removed later ends[id] = true; // all dependencies of the component in the given ids var dependsOn = []; for (var depId in dependencyResolver(id)) { if (depId in ids) { dependsOn.push(depId); } } /** * The value to be returned. * * @type {T} */ var value; if (dependsOn.length === 0) { value = loadComponent(id); } else { var depsValue = parallel(dependsOn.map(function (depId) { var value = handleId(depId); // none of the dependencies can be ends delete ends[depId]; return value; })); if (series) { // the chainer will be responsibly for calling the function calling loadComponent value = series(depsValue, function () { return loadComponent(id); }); } else { // we don't have a chainer, so we call loadComponent ourselves loadComponent(id); } } // cache and return return cache[id] = value; } for (var id in ids) { handleId(id); } /** @type {T[]} */ var endValues = []; for (var endId in ends) { endValues.push(cache[endId]); } return parallel(endValues); } /** * Returns whether the given object has any keys. * * @param {object} obj */ function hasKeys(obj) { for (var key in obj) { return true; } return false; } /** * Returns an object which provides methods to get the ids of the components which have to be loaded (`getIds`) and * a way to efficiently load them in synchronously and asynchronous contexts (`load`). * * The set of ids to be loaded is a superset of `load`. If some of these ids are in `loaded`, the corresponding * components will have to reloaded. * * The ids in `load` and `loaded` may be in any order and can contain duplicates. * * @param {Components} components * @param {string[]} load * @param {string[]} [loaded=[]] A list of already loaded components. * * If a component is in this list, then all of its requirements will also be assumed to be in the list. * @returns {Loader} * * @typedef Loader * @property {() => string[]} getIds A function to get all ids of the components to load. * * The returned ids will be duplicate-free, alias-free and in load order. * @property {LoadFunction} load A functional interface to load components. * * @typedef {<T> (loadComponent: (id: string) => T, chainer?: LoadChainer<T>) => T} LoadFunction * A functional interface to load components. * * The `loadComponent` function will be called for every component in the order in which they have to be loaded. * * The `chainer` is useful for asynchronous loading and its `series` and `parallel` functions can be thought of as * `Promise#then` and `Promise.all`. * * @example * load(id => { loadComponent(id); }); // returns undefined * * await load( * id => loadComponentAsync(id), // returns a Promise for each id * { * series: async (before, after) => { * await before; * await after(); * }, * parallel: async (values) => { * await Promise.all(values); * } * } * ); */ function getLoader(components, load, loaded) { var entryMap = createEntryMap(components); var resolveAlias = createAliasResolver(entryMap); load = load.map(resolveAlias); loaded = (loaded || []).map(resolveAlias); var loadSet = toSet(load); var loadedSet = toSet(loaded); // add requirements load.forEach(addRequirements); function addRequirements(id) { var entry = entryMap[id]; forEach(entry && entry.require, function (reqId) { if (!(reqId in loadedSet)) { loadSet[reqId] = true; addRequirements(reqId); } }); } // add components to reload // A component x in `loaded` has to be reloaded if // 1) a component in `load` modifies x. // 2) x depends on a component in `load`. // The above two condition have to be applied until nothing changes anymore. var dependencyResolver = createDependencyResolver(entryMap); /** @type {StringSet} */ var loadAdditions = loadSet; /** @type {StringSet} */ var newIds; while (hasKeys(loadAdditions)) { newIds = {}; // condition 1) for (var loadId in loadAdditions) { var entry = entryMap[loadId]; forEach(entry && entry.modify, function (modId) { if (modId in loadedSet) { newIds[modId] = true; } }); } // condition 2) for (var loadedId in loadedSet) { if (!(loadedId in loadSet)) { for (var depId in dependencyResolver(loadedId)) { if (depId in loadSet) { newIds[loadedId] = true; break; } } } } loadAdditions = newIds; for (var newId in loadAdditions) { loadSet[newId] = true; } } /** @type {Loader} */ var loader = { getIds: function () { var ids = []; loader.load(function (id) { ids.push(id); }); return ids; }, load: function (loadComponent, chainer) { return loadComponentsInOrder(dependencyResolver, loadSet, loadComponent, chainer); } }; return loader; } return getLoader; }()); if (true) { module.exports = getLoader; } /***/ }), /***/ 362: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ReactPropTypesSecret = __webpack_require__(6441); function emptyFunction() {} function emptyFunctionWithReset() {} emptyFunctionWithReset.resetWarningCache = emptyFunction; module.exports = function() { function shim(props, propName, componentName, location, propFullName, secret) { if (secret === ReactPropTypesSecret) { // It is still safe when called from React. return; } var err = new Error( 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types' ); err.name = 'Invariant Violation'; throw err; }; shim.isRequired = shim; function getShim() { return shim; }; // Important! // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. var ReactPropTypes = { array: shim, bigint: shim, bool: shim, func: shim, number: shim, object: shim, string: shim, symbol: shim, any: shim, arrayOf: getShim, element: shim, elementType: shim, instanceOf: getShim, node: shim, objectOf: getShim, oneOf: getShim, oneOfType: getShim, shape: getShim, exact: getShim, checkPropTypes: emptyFunctionWithReset, resetWarningCache: emptyFunction }; ReactPropTypes.PropTypes = ReactPropTypes; return ReactPropTypes; }; /***/ }), /***/ 2688: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ if (false) { var throwOnDirectAccess, ReactIs; } else { // By explicitly using `prop-types` you are opting into new production behavior. // http://fb.me/prop-types-in-prod module.exports = __webpack_require__(362)(); } /***/ }), /***/ 6441: /***/ ((module) => { "use strict"; /** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; module.exports = ReactPropTypesSecret; /***/ }), /***/ 7383: /***/ ((module) => { /* global Map:readonly, Set:readonly, ArrayBuffer:readonly */ var hasElementType = typeof Element !== 'undefined'; var hasMap = typeof Map === 'function'; var hasSet = typeof Set === 'function'; var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js function equal(a, b) { // START: fast-deep-equal es6/index.js 3.1.3 if (a === b) return true; if (a && b && typeof a == 'object' && typeof b == 'object') { if (a.constructor !== b.constructor) return false; var length, i, keys; if (Array.isArray(a)) { length = a.length; if (length != b.length) return false; for (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false; return true; } // START: Modifications: // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code // to co-exist with es5. // 2. Replace `for of` with es5 compliant iteration using `for`. // Basically, take: // // ```js // for (i of a.entries()) // if (!b.has(i[0])) return false; // ``` // // ... and convert to: // // ```js // it = a.entries(); // while (!(i = it.next()).done) // if (!b.has(i.value[0])) return false; // ``` // // **Note**: `i` access switches to `i.value`. var it; if (hasMap && (a instanceof Map) && (b instanceof Map)) { if (a.size !== b.size) return false; it = a.entries(); while (!(i = it.next()).done) if (!b.has(i.value[0])) return false; it = a.entries(); while (!(i = it.next()).done) if (!equal(i.value[1], b.get(i.value[0]))) return false; return true; } if (hasSet && (a instanceof Set) && (b instanceof Set)) { if (a.size !== b.size) return false; it = a.entries(); while (!(i = it.next()).done) if (!b.has(i.value[0])) return false; return true; } // END: Modifications if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) { length = a.length; if (length != b.length) return false; for (i = length; i-- !== 0;) if (a[i] !== b[i]) return false; return true; } if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags; // START: Modifications: // Apply guards for `Object.create(null)` handling. See: // - https://github.com/FormidableLabs/react-fast-compare/issues/64 // - https://github.com/epoberezkin/fast-deep-equal/issues/49 if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf(); if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString(); // END: Modifications keys = Object.keys(a); length = keys.length; if (length !== Object.keys(b).length) return false; for (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false; // END: fast-deep-equal // START: react-fast-compare // custom handling for DOM elements if (hasElementType && a instanceof Element) return false; // custom handling for React/Preact for (i = length; i-- !== 0;) { if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) { // React-specific: avoid traversing React elements' _owner // Preact-specific: avoid traversing Preact elements' __v and __o // __v = $_original / $_vnode // __o = $_owner // These properties contain circular references and are not needed when // comparing the actual elements (and not their owners) // .$$typeof and ._store on just reasonable markers of elements continue; } // all other properties should be traversed as usual if (!equal(a[keys[i]], b[keys[i]])) return false; } // END: react-fast-compare // START: fast-deep-equal return true; } return a !== a && b !== b; } // end fast-deep-equal module.exports = function isEqual(a, b) { try { return equal(a, b); } catch (error) { if (((error.message || '').match(/stack|recursion/i))) { // warn on circular references, don't crash // browsers give this different errors name and messages: // chrome/safari: "RangeError", "Maximum call stack size exceeded" // firefox: "InternalError", too much recursion" // edge: "Error", "Out of stack space" console.warn('react-fast-compare cannot handle circular refs'); return false; } // some other error. we should definitely know about these throw error; } }; /***/ }), /***/ 9005: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ mg: () => (/* binding */ W), /* harmony export */ vd: () => (/* binding */ q) /* harmony export */ }); /* unused harmony export HelmetData */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2688); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7383); /* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7315); /* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var shallowequal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5317); /* harmony import */ var shallowequal__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(shallowequal__WEBPACK_IMPORTED_MODULE_3__); function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a.apply(this,arguments)}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,c(t,e)}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function u(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)e.indexOf(r=o[n])>=0||(i[r]=t[r]);return i}var l={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p={rel:["amphtml","canonical","alternate"]},f={type:["application/ld+json"]},d={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},h=Object.keys(l).map(function(t){return l[t]}),m={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},y=Object.keys(m).reduce(function(t,e){return t[m[e]]=e,t},{}),T=function(t,e){for(var r=t.length-1;r>=0;r-=1){var n=t[r];if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}return null},g=function(t){var e=T(t,l.TITLE),r=T(t,"titleTemplate");if(Array.isArray(e)&&(e=e.join("")),r&&e)return r.replace(/%s/g,function(){return e});var n=T(t,"defaultTitle");return e||n||void 0},b=function(t){return T(t,"onChangeClientState")||function(){}},v=function(t,e){return e.filter(function(e){return void 0!==e[t]}).map(function(e){return e[t]}).reduce(function(t,e){return a({},t,e)},{})},A=function(t,e){return e.filter(function(t){return void 0!==t[l.BASE]}).map(function(t){return t[l.BASE]}).reverse().reduce(function(e,r){if(!e.length)for(var n=Object.keys(r),i=0;i<n.length;i+=1){var o=n[i].toLowerCase();if(-1!==t.indexOf(o)&&r[o])return e.concat(r)}return e},[])},C=function(t,e,r){var n={};return r.filter(function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+t+' should be of type "Array". Instead found type "'+typeof e[t]+'"'),!1)}).map(function(e){return e[t]}).reverse().reduce(function(t,r){var i={};r.filter(function(t){for(var r,o=Object.keys(t),a=0;a<o.length;a+=1){var s=o[a],c=s.toLowerCase();-1===e.indexOf(c)||"rel"===r&&"canonical"===t[r].toLowerCase()||"rel"===c&&"stylesheet"===t[c].toLowerCase()||(r=c),-1===e.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(r=s)}if(!r||!t[r])return!1;var u=t[r].toLowerCase();return n[r]||(n[r]={}),i[r]||(i[r]={}),!n[r][u]&&(i[r][u]=!0,!0)}).reverse().forEach(function(e){return t.push(e)});for(var o=Object.keys(i),s=0;s<o.length;s+=1){var c=o[s],u=a({},n[c],i[c]);n[c]=u}return t},[]).reverse()},O=function(t,e){if(Array.isArray(t)&&t.length)for(var r=0;r<t.length;r+=1)if(t[r][e])return!0;return!1},S=function(t){return Array.isArray(t)?t.join(""):t},E=function(t,e){return Array.isArray(t)?t.reduce(function(t,r){return function(t,e){for(var r=Object.keys(t),n=0;n<r.length;n+=1)if(e[r[n]]&&e[r[n]].includes(t[r[n]]))return!0;return!1}(r,e)?t.priority.push(r):t.default.push(r),t},{priority:[],default:[]}):{default:t}},I=function(t,e){var r;return a({},t,((r={})[e]=void 0,r))},P=[l.NOSCRIPT,l.SCRIPT,l.STYLE],w=function(t,e){return void 0===e&&(e=!0),!1===e?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},x=function(t){return Object.keys(t).reduce(function(e,r){var n=void 0!==t[r]?r+'="'+t[r]+'"':""+r;return e?e+" "+n:n},"")},L=function(t,e){return void 0===e&&(e={}),Object.keys(t).reduce(function(e,r){return e[m[r]||r]=t[r],e},e)},j=function(e,r){return r.map(function(r,n){var i,o=((i={key:n})["data-rh"]=!0,i);return Object.keys(r).forEach(function(t){var e=m[t]||t;"innerHTML"===e||"cssText"===e?o.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:o[e]=r[t]}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(e,o)})},M=function(e,r,n){switch(e){case l.TITLE:return{toComponent:function(){return n=r.titleAttributes,(i={key:e=r.title})["data-rh"]=!0,o=L(n,i),[react__WEBPACK_IMPORTED_MODULE_0__.createElement(l.TITLE,o,e)];var e,n,i,o},toString:function(){return function(t,e,r,n){var i=x(r),o=S(e);return i?"<"+t+' data-rh="true" '+i+">"+w(o,n)+"</"+t+">":"<"+t+' data-rh="true">'+w(o,n)+"</"+t+">"}(e,r.title,r.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(r)},toString:function(){return x(r)}};default:return{toComponent:function(){return j(e,r)},toString:function(){return function(t,e,r){return e.reduce(function(e,n){var i=Object.keys(n).filter(function(t){return!("innerHTML"===t||"cssText"===t)}).reduce(function(t,e){var i=void 0===n[e]?e:e+'="'+w(n[e],r)+'"';return t?t+" "+i:i},""),o=n.innerHTML||n.cssText||"",a=-1===P.indexOf(t);return e+"<"+t+' data-rh="true" '+i+(a?"/>":">"+o+"</"+t+">")},"")}(e,r,n)}}}},k=function(t){var e=t.baseTag,r=t.bodyAttributes,n=t.encode,i=t.htmlAttributes,o=t.noscriptTags,a=t.styleTags,s=t.title,c=void 0===s?"":s,u=t.titleAttributes,h=t.linkTags,m=t.metaTags,y=t.scriptTags,T={toComponent:function(){},toString:function(){return""}};if(t.prioritizeSeoTags){var g=function(t){var e=t.linkTags,r=t.scriptTags,n=t.encode,i=E(t.metaTags,d),o=E(e,p),a=E(r,f);return{priorityMethods:{toComponent:function(){return[].concat(j(l.META,i.priority),j(l.LINK,o.priority),j(l.SCRIPT,a.priority))},toString:function(){return M(l.META,i.priority,n)+" "+M(l.LINK,o.priority,n)+" "+M(l.SCRIPT,a.priority,n)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(t);T=g.priorityMethods,h=g.linkTags,m=g.metaTags,y=g.scriptTags}return{priority:T,base:M(l.BASE,e,n),bodyAttributes:M("bodyAttributes",r,n),htmlAttributes:M("htmlAttributes",i,n),link:M(l.LINK,h,n),meta:M(l.META,m,n),noscript:M(l.NOSCRIPT,o,n),script:M(l.SCRIPT,y,n),style:M(l.STYLE,a,n),title:M(l.TITLE,{title:c,titleAttributes:u},n)}},H=[],N=function(t,e){var r=this;void 0===e&&(e="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(t){r.context.helmet=t},helmetInstances:{get:function(){return r.canUseDOM?H:r.instances},add:function(t){(r.canUseDOM?H:r.instances).push(t)},remove:function(t){var e=(r.canUseDOM?H:r.instances).indexOf(t);(r.canUseDOM?H:r.instances).splice(e,1)}}},this.context=t,this.canUseDOM=e,e||(t.helmet=k({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},R=react__WEBPACK_IMPORTED_MODULE_0__.createContext({}),D=prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({setHelmet:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),helmetInstances:prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({get:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),add:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),remove:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().func)})}),U="undefined"!=typeof document,q=/*#__PURE__*/function(e){function r(t){var n;return(n=e.call(this,t)||this).helmetData=new N(n.props.context,r.canUseDOM),n}return s(r,e),r.prototype.render=function(){/*#__PURE__*/return react__WEBPACK_IMPORTED_MODULE_0__.createElement(R.Provider,{value:this.helmetData.value},this.props.children)},r}(react__WEBPACK_IMPORTED_MODULE_0__.Component);q.canUseDOM=U,q.propTypes={context:prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape({helmet:prop_types__WEBPACK_IMPORTED_MODULE_4___default().shape()}),children:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().node).isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var Y=function(t,e){var r,n=document.head||document.querySelector(l.HEAD),i=n.querySelectorAll(t+"[data-rh]"),o=[].slice.call(i),a=[];return e&&e.length&&e.forEach(function(e){var n=document.createElement(t);for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&("innerHTML"===i?n.innerHTML=e.innerHTML:"cssText"===i?n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText)):n.setAttribute(i,void 0===e[i]?"":e[i]));n.setAttribute("data-rh","true"),o.some(function(t,e){return r=e,n.isEqualNode(t)})?o.splice(r,1):a.push(n)}),o.forEach(function(t){return t.parentNode.removeChild(t)}),a.forEach(function(t){return n.appendChild(t)}),{oldTags:o,newTags:a}},B=function(t,e){var r=document.getElementsByTagName(t)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],o=[].concat(i),a=Object.keys(e),s=0;s<a.length;s+=1){var c=a[s],u=e[c]||"";r.getAttribute(c)!==u&&r.setAttribute(c,u),-1===i.indexOf(c)&&i.push(c);var l=o.indexOf(c);-1!==l&&o.splice(l,1)}for(var p=o.length-1;p>=0;p-=1)r.removeAttribute(o[p]);i.length===o.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},K=function(t,e){var r=t.baseTag,n=t.htmlAttributes,i=t.linkTags,o=t.metaTags,a=t.noscriptTags,s=t.onChangeClientState,c=t.scriptTags,u=t.styleTags,p=t.title,f=t.titleAttributes;B(l.BODY,t.bodyAttributes),B(l.HTML,n),function(t,e){void 0!==t&&document.title!==t&&(document.title=S(t)),B(l.TITLE,e)}(p,f);var d={baseTag:Y(l.BASE,r),linkTags:Y(l.LINK,i),metaTags:Y(l.META,o),noscriptTags:Y(l.NOSCRIPT,a),scriptTags:Y(l.SCRIPT,c),styleTags:Y(l.STYLE,u)},h={},m={};Object.keys(d).forEach(function(t){var e=d[t],r=e.newTags,n=e.oldTags;r.length&&(h[t]=r),n.length&&(m[t]=d[t].oldTags)}),e&&e(),s(t,h,m)},_=null,z=/*#__PURE__*/function(t){function e(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).rendered=!1,e}s(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t){return!shallowequal__WEBPACK_IMPORTED_MODULE_3___default()(t,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var t,e,r=this.props.context,n=r.setHelmet,i=null,o=(t=r.helmetInstances.get().map(function(t){var e=a({},t.props);return delete e.context,e}),{baseTag:A(["href"],t),bodyAttributes:v("bodyAttributes",t),defer:T(t,"defer"),encode:T(t,"encodeSpecialCharacters"),htmlAttributes:v("htmlAttributes",t),linkTags:C(l.LINK,["rel","href"],t),metaTags:C(l.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(l.NOSCRIPT,["innerHTML"],t),onChangeClientState:b(t),scriptTags:C(l.SCRIPT,["src","innerHTML"],t),styleTags:C(l.STYLE,["cssText"],t),title:g(t),titleAttributes:v("titleAttributes",t),prioritizeSeoTags:O(t,"prioritizeSeoTags")});q.canUseDOM?(e=o,_&&cancelAnimationFrame(_),e.defer?_=requestAnimationFrame(function(){K(e,function(){_=null})}):(K(e),_=null)):k&&(i=k(o)),n(i)},r.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},r.render=function(){return this.init(),null},e}(react__WEBPACK_IMPORTED_MODULE_0__.Component);z.propTypes={context:D.isRequired},z.displayName="HelmetDispatcher";var F=["children"],G=["children"],W=/*#__PURE__*/function(e){function r(){return e.apply(this,arguments)||this}s(r,e);var o=r.prototype;return o.shouldComponentUpdate=function(t){return!react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default()(I(this.props,"helmetData"),I(t,"helmetData"))},o.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case l.SCRIPT:case l.NOSCRIPT:return{innerHTML:e};case l.STYLE:return{cssText:e};default:throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},o.flattenArrayTypeChildren=function(t){var e,r=t.child,n=t.arrayTypeChildren;return a({},n,((e={})[r.type]=[].concat(n[r.type]||[],[a({},t.newChildProps,this.mapNestedChildrenToProps(r,t.nestedChildren))]),e))},o.mapObjectTypeChildren=function(t){var e,r,n=t.child,i=t.newProps,o=t.newChildProps,s=t.nestedChildren;switch(n.type){case l.TITLE:return a({},i,((e={})[n.type]=s,e.titleAttributes=a({},o),e));case l.BODY:return a({},i,{bodyAttributes:a({},o)});case l.HTML:return a({},i,{htmlAttributes:a({},o)});default:return a({},i,((r={})[n.type]=a({},o),r))}},o.mapArrayTypeChildrenToProps=function(t,e){var r=a({},e);return Object.keys(t).forEach(function(e){var n;r=a({},r,((n={})[e]=t[e],n))}),r},o.warnOnInvalidChildren=function(t,e){return invariant__WEBPACK_IMPORTED_MODULE_2___default()(h.some(function(e){return t.type===e}),"function"==typeof t.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+h.join(", ")+" are allowed. Helmet does not support rendering <"+t.type+"> elements. Refer to our API for more information."),invariant__WEBPACK_IMPORTED_MODULE_2___default()(!e||"string"==typeof e||Array.isArray(e)&&!e.some(function(t){return"string"!=typeof t}),"Helmet expects a string as a child of <"+t.type+">. Did you forget to wrap your children in braces? ( <"+t.type+">{``}</"+t.type+"> ) Refer to our API for more information."),!0},o.mapChildrenToProps=function(e,r){var n=this,i={};return react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(e,function(t){if(t&&t.props){var e=t.props,o=e.children,a=u(e,F),s=Object.keys(a).reduce(function(t,e){return t[y[e]||e]=a[e],t},{}),c=t.type;switch("symbol"==typeof c?c=c.toString():n.warnOnInvalidChildren(t,o),c){case l.FRAGMENT:r=n.mapChildrenToProps(o,r);break;case l.LINK:case l.META:case l.NOSCRIPT:case l.SCRIPT:case l.STYLE:i=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:i,newChildProps:s,nestedChildren:o});break;default:r=n.mapObjectTypeChildren({child:t,newProps:r,newChildProps:s,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(i,r)},o.render=function(){var e=this.props,r=e.children,n=u(e,G),i=a({},n),o=n.helmetData;return r&&(i=this.mapChildrenToProps(r,i)),!o||o instanceof N||(o=new N(o.context,o.instances)),o?/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(z,a({},i,{context:o.value,helmetData:void 0})):/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(R.Consumer,null,function(e){/*#__PURE__*/return react__WEBPACK_IMPORTED_MODULE_0__.createElement(z,a({},i,{context:e}))})},r}(react__WEBPACK_IMPORTED_MODULE_0__.Component);W.propTypes={base:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object),bodyAttributes:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object),children:prop_types__WEBPACK_IMPORTED_MODULE_4___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)),(prop_types__WEBPACK_IMPORTED_MODULE_4___default().node)]),defaultTitle:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),defer:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),encodeSpecialCharacters:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),htmlAttributes:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object),link:prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().object)),meta:prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().object)),noscript:prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().object)),onChangeClientState:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().func),script:prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().object)),style:prop_types__WEBPACK_IMPORTED_MODULE_4___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_4___default().object)),title:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),titleAttributes:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object),titleTemplate:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().string),prioritizeSeoTags:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().bool),helmetData:(prop_types__WEBPACK_IMPORTED_MODULE_4___default().object)},W.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},W.displayName="Helmet"; //# sourceMappingURL=index.module.js.map /***/ }), /***/ 7303: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; 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; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } 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); } var React = __webpack_require__(6540); var ALL_INITIALIZERS = []; var READY_INITIALIZERS = []; function isWebpackReady(getModuleIds) { if (false) {} return getModuleIds().every(function (moduleId) { return typeof moduleId !== "undefined" && typeof __webpack_require__.m[moduleId] !== "undefined"; }); } var LoadableCaptureContext = React.createContext(null); function load(loader) { var promise = loader(); var state = { loading: true, loaded: null, error: null }; state.promise = promise.then(function (loaded) { state.loading = false; state.loaded = loaded; return loaded; }).catch(function (err) { state.loading = false; state.error = err; throw err; }); return state; } function loadMap(obj) { var state = { loading: false, loaded: {}, error: null }; var promises = []; try { Object.keys(obj).forEach(function (key) { var result = load(obj[key]); if (!result.loading) { state.loaded[key] = result.loaded; state.error = result.error; } else { state.loading = true; } promises.push(result.promise); result.promise.then(function (res) { state.loaded[key] = res; }).catch(function (err) { state.error = err; }); }); } catch (err) { state.error = err; } state.promise = Promise.all(promises).then(function (res) { state.loading = false; return res; }).catch(function (err) { state.loading = false; throw err; }); return state; } function resolve(obj) { return obj && obj.__esModule ? obj.default : obj; } function render(loaded, props) { return React.createElement(resolve(loaded), props); } function createLoadableComponent(loadFn, options) { var _class, _temp; if (!options.loading) { throw new Error("react-loadable requires a `loading` component"); } var opts = _extends({ loader: null, loading: null, delay: 200, timeout: null, render: render, webpack: null, modules: null }, options); var res = null; function init() { if (!res) { res = loadFn(opts.loader); } return res.promise; } ALL_INITIALIZERS.push(init); if (typeof opts.webpack === "function") { READY_INITIALIZERS.push(function () { if (isWebpackReady(opts.webpack)) { return init(); } }); } return _temp = _class = /*#__PURE__*/ function (_React$Component) { _inheritsLoose(LoadableComponent, _React$Component); function LoadableComponent(props) { var _this; _this = _React$Component.call(this, props) || this; _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "retry", function () { _this.setState({ error: null, loading: true, timedOut: false }); res = loadFn(opts.loader); _this._loadModule(); }); init(); _this.state = { error: res.error, pastDelay: false, timedOut: false, loading: res.loading, loaded: res.loaded }; return _this; } LoadableComponent.preload = function preload() { return init(); }; var _proto = LoadableComponent.prototype; _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() { this._loadModule(); }; _proto.componentDidMount = function componentDidMount() { this._mounted = true; }; _proto._loadModule = function _loadModule() { var _this2 = this; if (this.context && Array.isArray(opts.modules)) { opts.modules.forEach(function (moduleName) { _this2.context.report(moduleName); }); } if (!res.loading) { return; } var setStateWithMountCheck = function setStateWithMountCheck(newState) { if (!_this2._mounted) { return; } _this2.setState(newState); }; if (typeof opts.delay === 'number') { if (opts.delay === 0) { this.setState({ pastDelay: true }); } else { this._delay = setTimeout(function () { setStateWithMountCheck({ pastDelay: true }); }, opts.delay); } } if (typeof opts.timeout === "number") { this._timeout = setTimeout(function () { setStateWithMountCheck({ timedOut: true }); }, opts.timeout); } var update = function update() { setStateWithMountCheck({ error: res.error, loaded: res.loaded, loading: res.loading }); _this2._clearTimeouts(); }; res.promise.then(function () { update(); return null; }).catch(function (err) { update(); return null; }); }; _proto.componentWillUnmount = function componentWillUnmount() { this._mounted = false; this._clearTimeouts(); }; _proto._clearTimeouts = function _clearTimeouts() { clearTimeout(this._delay); clearTimeout(this._timeout); }; _proto.render = function render() { if (this.state.loading || this.state.error) { return React.createElement(opts.loading, { isLoading: this.state.loading, pastDelay: this.state.pastDelay, timedOut: this.state.timedOut, error: this.state.error, retry: this.retry }); } else if (this.state.loaded) { return opts.render(this.state.loaded, this.props); } else { return null; } }; return LoadableComponent; }(React.Component), _defineProperty(_class, "contextType", LoadableCaptureContext), _temp; } function Loadable(opts) { return createLoadableComponent(load, opts); } function LoadableMap(opts) { if (typeof opts.render !== "function") { throw new Error("LoadableMap requires a `render(loaded, props)` function"); } return createLoadableComponent(loadMap, opts); } Loadable.Map = LoadableMap; var Capture = /*#__PURE__*/ function (_React$Component2) { _inheritsLoose(Capture, _React$Component2); function Capture() { return _React$Component2.apply(this, arguments) || this; } var _proto2 = Capture.prototype; _proto2.render = function render() { return React.createElement(LoadableCaptureContext.Provider, { value: { report: this.props.report } }, React.Children.only(this.props.children)); }; return Capture; }(React.Component); Loadable.Capture = Capture; function flushInitializers(initializers) { var promises = []; while (initializers.length) { var init = initializers.pop(); promises.push(init()); } return Promise.all(promises).then(function () { if (initializers.length) { return flushInitializers(initializers); } }); } Loadable.preloadAll = function () { return new Promise(function (resolve, reject) { flushInitializers(ALL_INITIALIZERS).then(resolve, reject); }); }; Loadable.preloadReady = function () { return new Promise(function (resolve, reject) { // We always will resolve, errors should be handled within loading UIs. flushInitializers(READY_INITIALIZERS).then(resolve, resolve); }); }; module.exports = Loadable; /***/ }), /***/ 3971: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ u: () => (/* binding */ matchRoutes), /* harmony export */ v: () => (/* binding */ renderRoutes) /* harmony export */ }); /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9519); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8102); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); function matchRoutes(routes, pathname, /*not public API*/ branch) { if (branch === void 0) { branch = []; } routes.some(function (route) { var match = route.path ? (0,react_router__WEBPACK_IMPORTED_MODULE_1__/* .matchPath */ .B6)(pathname, route) : branch.length ? branch[branch.length - 1].match // use parent match : react_router__WEBPACK_IMPORTED_MODULE_1__/* .Router */ .Ix.computeRootMatch(pathname); // use default "root" match if (match) { branch.push({ route: route, match: match }); if (route.routes) { matchRoutes(route.routes, pathname, branch); } } return match; }); return branch; } function renderRoutes(routes, extraProps, switchProps) { if (extraProps === void 0) { extraProps = {}; } if (switchProps === void 0) { switchProps = {}; } return routes ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__/* .Switch */ .dO, switchProps, routes.map(function (route, i) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__/* .Route */ .qh, { key: route.key || i, path: route.path, exact: route.exact, strict: route.strict, render: function render(props) { return route.render ? route.render((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)({}, props, {}, extraProps, { route: route })) : react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)({}, props, extraProps, { route: route })); } }); })) : null; } //# sourceMappingURL=react-router-config.js.map /***/ }), /***/ 9519: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ B6: () => (/* binding */ matchPath), /* harmony export */ Ix: () => (/* binding */ Router), /* harmony export */ W6: () => (/* binding */ useHistory), /* harmony export */ XZ: () => (/* binding */ context), /* harmony export */ dO: () => (/* binding */ Switch), /* harmony export */ kO: () => (/* binding */ StaticRouter), /* harmony export */ qh: () => (/* binding */ Route), /* harmony export */ zy: () => (/* binding */ useLocation) /* harmony export */ }); /* unused harmony exports MemoryRouter, Prompt, Redirect, __HistoryContext, generatePath, useParams, useRouteMatch, withRouter */ /* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1146); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2688); /* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var history__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6941); /* harmony import */ var tiny_invariant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6143); /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8102); /* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8853); /* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path_to_regexp__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1680); /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(9257); /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8486); /* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_3__); var MAX_SIGNED_31_BIT_INT = 1073741823; var commonjsGlobal = typeof globalThis !== "undefined" // 'global proper' ? // eslint-disable-next-line no-undef globalThis : typeof window !== "undefined" ? window // Browser : typeof global !== "undefined" ? global // node.js : {}; function getUniqueId() { var key = "__global_unique_id__"; return commonjsGlobal[key] = (commonjsGlobal[key] || 0) + 1; } // Inlined Object.is polyfill. // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is function objectIs(x, y) { if (x === y) { return x !== 0 || 1 / x === 1 / y; } else { // eslint-disable-next-line no-self-compare return x !== x && y !== y; } } function createEventEmitter(value) { var handlers = []; return { on: function on(handler) { handlers.push(handler); }, off: function off(handler) { handlers = handlers.filter(function (h) { return h !== handler; }); }, get: function get() { return value; }, set: function set(newValue, changedBits) { value = newValue; handlers.forEach(function (handler) { return handler(value, changedBits); }); } }; } function onlyChild(children) { return Array.isArray(children) ? children[0] : children; } function createReactContext(defaultValue, calculateChangedBits) { var _Provider$childContex, _Consumer$contextType; var contextProp = "__create-react-context-" + getUniqueId() + "__"; var Provider = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Provider, _React$Component); function Provider() { var _this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; _this.emitter = createEventEmitter(_this.props.value); return _this; } var _proto = Provider.prototype; _proto.getChildContext = function getChildContext() { var _ref; return _ref = {}, _ref[contextProp] = this.emitter, _ref; }; _proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { if (this.props.value !== nextProps.value) { var oldValue = this.props.value; var newValue = nextProps.value; var changedBits; if (objectIs(oldValue, newValue)) { changedBits = 0; // No change } else { changedBits = typeof calculateChangedBits === "function" ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT; if (false) {} changedBits |= 0; if (changedBits !== 0) { this.emitter.set(nextProps.value, changedBits); } } } }; _proto.render = function render() { return this.props.children; }; return Provider; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object).isRequired, _Provider$childContex); var Consumer = /*#__PURE__*/function (_React$Component2) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Consumer, _React$Component2); function Consumer() { var _this2; for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { args[_key2] = arguments[_key2]; } _this2 = _React$Component2.call.apply(_React$Component2, [this].concat(args)) || this; _this2.observedBits = void 0; _this2.state = { value: _this2.getValue() }; _this2.onUpdate = function (newValue, changedBits) { var observedBits = _this2.observedBits | 0; if ((observedBits & changedBits) !== 0) { _this2.setState({ value: _this2.getValue() }); } }; return _this2; } var _proto2 = Consumer.prototype; _proto2.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { var observedBits = nextProps.observedBits; this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default : observedBits; }; _proto2.componentDidMount = function componentDidMount() { if (this.context[contextProp]) { this.context[contextProp].on(this.onUpdate); } var observedBits = this.props.observedBits; this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default : observedBits; }; _proto2.componentWillUnmount = function componentWillUnmount() { if (this.context[contextProp]) { this.context[contextProp].off(this.onUpdate); } }; _proto2.getValue = function getValue() { if (this.context[contextProp]) { return this.context[contextProp].get(); } else { return defaultValue; } }; _proto2.render = function render() { return onlyChild(this.props.children)(this.state.value); }; return Consumer; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object), _Consumer$contextType); return { Provider: Provider, Consumer: Consumer }; } // MIT License var createContext = react__WEBPACK_IMPORTED_MODULE_0__.createContext || createReactContext; // TODO: Replace with React.createContext once we can assume React 16+ var createNamedContext = function createNamedContext(name) { var context = createContext(); context.displayName = name; return context; }; var historyContext = /*#__PURE__*/createNamedContext("Router-History"); var context = /*#__PURE__*/createNamedContext("Router"); /** * The public API for putting history on context. */ var Router = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Router, _React$Component); Router.computeRootMatch = function computeRootMatch(pathname) { return { path: "/", url: "/", params: {}, isExact: pathname === "/" }; }; function Router(props) { var _this; _this = _React$Component.call(this, props) || this; _this.state = { location: props.history.location }; // This is a bit of a hack. We have to start listening for location // changes here in the constructor in case there are any <Redirect>s // on the initial render. If there are, they will replace/push when // they mount and since cDM fires in children before parents, we may // get a new location before the <Router> is mounted. _this._isMounted = false; _this._pendingLocation = null; if (!props.staticContext) { _this.unlisten = props.history.listen(function (location) { _this._pendingLocation = location; }); } return _this; } var _proto = Router.prototype; _proto.componentDidMount = function componentDidMount() { var _this2 = this; this._isMounted = true; if (this.unlisten) { // Any pre-mount location changes have been captured at // this point, so unregister the listener. this.unlisten(); } if (!this.props.staticContext) { this.unlisten = this.props.history.listen(function (location) { if (_this2._isMounted) { _this2.setState({ location: location }); } }); } if (this._pendingLocation) { this.setState({ location: this._pendingLocation }); } }; _proto.componentWillUnmount = function componentWillUnmount() { if (this.unlisten) { this.unlisten(); this._isMounted = false; this._pendingLocation = null; } }; _proto.render = function render() { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Provider, { value: { history: this.props.history, location: this.state.location, match: Router.computeRootMatch(this.state.location.pathname), staticContext: this.props.staticContext } }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(historyContext.Provider, { children: this.props.children || null, value: this.props.history })); }; return Router; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); if (false) {} /** * The public API for a <Router> that stores location in memory. */ var MemoryRouter = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(MemoryRouter, _React$Component); function MemoryRouter() { var _this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; _this.history = (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createMemoryHistory */ .sC)(_this.props); return _this; } var _proto = MemoryRouter.prototype; _proto.render = function render() { return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, { history: this.history, children: this.props.children }); }; return MemoryRouter; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); if (false) {} var Lifecycle = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Lifecycle, _React$Component); function Lifecycle() { return _React$Component.apply(this, arguments) || this; } var _proto = Lifecycle.prototype; _proto.componentDidMount = function componentDidMount() { if (this.props.onMount) this.props.onMount.call(this, this); }; _proto.componentDidUpdate = function componentDidUpdate(prevProps) { if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps); }; _proto.componentWillUnmount = function componentWillUnmount() { if (this.props.onUnmount) this.props.onUnmount.call(this, this); }; _proto.render = function render() { return null; }; return Lifecycle; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); /** * The public API for prompting the user before navigating away from a screen. */ function Prompt(_ref) { var message = _ref.message, _ref$when = _ref.when, when = _ref$when === void 0 ? true : _ref$when; return /*#__PURE__*/React.createElement(context.Consumer, null, function (context) { !context ? false ? 0 : invariant(false) : void 0; if (!when || context.staticContext) return null; var method = context.history.block; return /*#__PURE__*/React.createElement(Lifecycle, { onMount: function onMount(self) { self.release = method(message); }, onUpdate: function onUpdate(self, prevProps) { if (prevProps.message !== message) { self.release(); self.release = method(message); } }, onUnmount: function onUnmount(self) { self.release(); }, message: message }); }); } if (false) { var messageType; } var cache = {}; var cacheLimit = 10000; var cacheCount = 0; function compilePath(path) { if (cache[path]) return cache[path]; var generator = pathToRegexp.compile(path); if (cacheCount < cacheLimit) { cache[path] = generator; cacheCount++; } return generator; } /** * Public API for generating a URL pathname from a path and parameters. */ function generatePath(path, params) { if (path === void 0) { path = "/"; } if (params === void 0) { params = {}; } return path === "/" ? path : compilePath(path)(params, { pretty: true }); } /** * The public API for navigating programmatically with a component. */ function Redirect(_ref) { var computedMatch = _ref.computedMatch, to = _ref.to, _ref$push = _ref.push, push = _ref$push === void 0 ? false : _ref$push; return /*#__PURE__*/React.createElement(context.Consumer, null, function (context) { !context ? false ? 0 : invariant(false) : void 0; var history = context.history, staticContext = context.staticContext; var method = push ? history.push : history.replace; var location = createLocation(computedMatch ? typeof to === "string" ? generatePath(to, computedMatch.params) : _extends({}, to, { pathname: generatePath(to.pathname, computedMatch.params) }) : to); // When rendering in a static context, // set the new location immediately. if (staticContext) { method(location); return null; } return /*#__PURE__*/React.createElement(Lifecycle, { onMount: function onMount() { method(location); }, onUpdate: function onUpdate(self, prevProps) { var prevLocation = createLocation(prevProps.to); if (!locationsAreEqual(prevLocation, _extends({}, location, { key: prevLocation.key }))) { method(location); } }, to: to }); }); } if (false) {} var cache$1 = {}; var cacheLimit$1 = 10000; var cacheCount$1 = 0; function compilePath$1(path, options) { var cacheKey = "" + options.end + options.strict + options.sensitive; var pathCache = cache$1[cacheKey] || (cache$1[cacheKey] = {}); if (pathCache[path]) return pathCache[path]; var keys = []; var regexp = path_to_regexp__WEBPACK_IMPORTED_MODULE_1___default()(path, keys, options); var result = { regexp: regexp, keys: keys }; if (cacheCount$1 < cacheLimit$1) { pathCache[path] = result; cacheCount$1++; } return result; } /** * Public API for matching a URL pathname to a path. */ function matchPath(pathname, options) { if (options === void 0) { options = {}; } if (typeof options === "string" || Array.isArray(options)) { options = { path: options }; } var _options = options, path = _options.path, _options$exact = _options.exact, exact = _options$exact === void 0 ? false : _options$exact, _options$strict = _options.strict, strict = _options$strict === void 0 ? false : _options$strict, _options$sensitive = _options.sensitive, sensitive = _options$sensitive === void 0 ? false : _options$sensitive; var paths = [].concat(path); return paths.reduce(function (matched, path) { if (!path && path !== "") return null; if (matched) return matched; var _compilePath = compilePath$1(path, { end: exact, strict: strict, sensitive: sensitive }), regexp = _compilePath.regexp, keys = _compilePath.keys; var match = regexp.exec(pathname); if (!match) return null; var url = match[0], values = match.slice(1); var isExact = pathname === url; if (exact && !isExact) return null; return { path: path, // the path used to match url: path === "/" && url === "" ? "/" : url, // the matched portion of the URL isExact: isExact, // whether or not we matched exactly params: keys.reduce(function (memo, key, index) { memo[key.name] = values[index]; return memo; }, {}) }; }, null); } function isEmptyChildren(children) { return react__WEBPACK_IMPORTED_MODULE_0__.Children.count(children) === 0; } function evalChildrenDev(children, props, path) { var value = children(props); false ? 0 : void 0; return value || null; } /** * The public API for matching a single path and rendering. */ var Route = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Route, _React$Component); function Route() { return _React$Component.apply(this, arguments) || this; } var _proto = Route.prototype; _proto.render = function render() { var _this = this; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Consumer, null, function (context$1) { !context$1 ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) : void 0; var location = _this.props.location || context$1.location; var match = _this.props.computedMatch ? _this.props.computedMatch // <Switch> already computed the match for us : _this.props.path ? matchPath(location.pathname, _this.props) : context$1.match; var props = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, context$1, { location: location, match: match }); var _this$props = _this.props, children = _this$props.children, component = _this$props.component, render = _this$props.render; // Preact uses an empty array as children by // default, so use null if that's the case. if (Array.isArray(children) && isEmptyChildren(children)) { children = null; } return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Provider, { value: props }, props.match ? children ? typeof children === "function" ? false ? 0 : children(props) : children : component ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(component, props) : render ? render(props) : null : typeof children === "function" ? false ? 0 : children(props) : null); }); }; return Route; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); if (false) {} function addLeadingSlash(path) { return path.charAt(0) === "/" ? path : "/" + path; } function addBasename(basename, location) { if (!basename) return location; return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, location, { pathname: addLeadingSlash(basename) + location.pathname }); } function stripBasename(basename, location) { if (!basename) return location; var base = addLeadingSlash(basename); if (location.pathname.indexOf(base) !== 0) return location; return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, location, { pathname: location.pathname.substr(base.length) }); } function createURL(location) { return typeof location === "string" ? location : (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createPath */ .AO)(location); } function staticHandler(methodName) { return function () { false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) ; }; } function noop() {} /** * The public top-level API for a "static" <Router>, so-called because it * can't actually change the current location. Instead, it just records * location changes in a context object. Useful mainly in testing and * server-rendering scenarios. */ var StaticRouter = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(StaticRouter, _React$Component); function StaticRouter() { var _this; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; _this.handlePush = function (location) { return _this.navigateTo(location, "PUSH"); }; _this.handleReplace = function (location) { return _this.navigateTo(location, "REPLACE"); }; _this.handleListen = function () { return noop; }; _this.handleBlock = function () { return noop; }; return _this; } var _proto = StaticRouter.prototype; _proto.navigateTo = function navigateTo(location, action) { var _this$props = this.props, _this$props$basename = _this$props.basename, basename = _this$props$basename === void 0 ? "" : _this$props$basename, _this$props$context = _this$props.context, context = _this$props$context === void 0 ? {} : _this$props$context; context.action = action; context.location = addBasename(basename, (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createLocation */ .yJ)(location)); context.url = createURL(context.location); }; _proto.render = function render() { var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(_this$props2, ["basename", "context", "location"]); var history = { createHref: function createHref(path) { return addLeadingSlash(basename + createURL(path)); }, action: "POP", location: stripBasename(basename, (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createLocation */ .yJ)(location)), push: this.handlePush, replace: this.handleReplace, go: staticHandler("go"), goBack: staticHandler("goBack"), goForward: staticHandler("goForward"), listen: this.handleListen, block: this.handleBlock }; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, rest, { history: history, staticContext: context })); }; return StaticRouter; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); if (false) {} /** * The public API for rendering the first <Route> that matches. */ var Switch = /*#__PURE__*/function (_React$Component) { (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Switch, _React$Component); function Switch() { return _React$Component.apply(this, arguments) || this; } var _proto = Switch.prototype; _proto.render = function render() { var _this = this; return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Consumer, null, function (context) { !context ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) : void 0; var location = _this.props.location || context.location; var element, match; // We use React.Children.forEach instead of React.Children.toArray().find() // here because toArray adds keys to all child elements and we do not want // to trigger an unmount/remount for two <Route>s that render the same // component at different URLs. react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(_this.props.children, function (child) { if (match == null && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child)) { element = child; var path = child.props.path || child.props.from; match = path ? matchPath(location.pathname, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, child.props, { path: path })) : context.match; } }); return match ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(element, { location: location, computedMatch: match }) : null; }); }; return Switch; }(react__WEBPACK_IMPORTED_MODULE_0__.Component); if (false) {} /** * A public higher-order component to access the imperative API */ function withRouter(Component) { var displayName = "withRouter(" + (Component.displayName || Component.name) + ")"; var C = function C(props) { var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose(props, ["wrappedComponentRef"]); return /*#__PURE__*/React.createElement(context.Consumer, null, function (context) { !context ? false ? 0 : invariant(false) : void 0; return /*#__PURE__*/React.createElement(Component, _extends({}, remainingProps, context, { ref: wrappedComponentRef })); }); }; C.displayName = displayName; C.WrappedComponent = Component; if (false) {} return hoistStatics(C, Component); } var useContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext; function useHistory() { if (false) {} return useContext(historyContext); } function useLocation() { if (false) {} return useContext(context).location; } function useParams() { if (false) {} var match = useContext(context).match; return match ? match.params : {}; } function useRouteMatch(path) { if (false) {} var location = useLocation(); var match = useContext(context).match; return path ? matchPath(location.pathname, path) : match; } if (false) { var secondaryBuildName, initialBuildName, buildNames, key, global$1; } //# sourceMappingURL=react-router.js.map /***/ }), /***/ 2803: /***/ ((module) => { module.exports = Array.isArray || function (arr) { return Object.prototype.toString.call(arr) == '[object Array]'; }; /***/ }), /***/ 8853: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var isarray = __webpack_require__(2803) /** * Expose `pathToRegexp`. */ module.exports = pathToRegexp module.exports.parse = parse module.exports.compile = compile module.exports.tokensToFunction = tokensToFunction module.exports.tokensToRegExp = tokensToRegExp /** * The main path matching regexp utility. * * @type {RegExp} */ var PATH_REGEXP = new RegExp([ // Match escaped characters that would otherwise appear in future matches. // This allows the user to escape special characters that won't transform. '(\\\\.)', // Match Express-style parameters and un-named parameters with a prefix // and optional suffixes. Matches appear as: // // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined] // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined] // "/*" => ["/", undefined, undefined, undefined, undefined, "*"] '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))' ].join('|'), 'g') /** * Parse a string for the raw tokens. * * @param {string} str * @param {Object=} options * @return {!Array} */ function parse (str, options) { var tokens = [] var key = 0 var index = 0 var path = '' var defaultDelimiter = options && options.delimiter || '/' var res while ((res = PATH_REGEXP.exec(str)) != null) { var m = res[0] var escaped = res[1] var offset = res.index path += str.slice(index, offset) index = offset + m.length // Ignore already escaped sequences. if (escaped) { path += escaped[1] continue } var next = str[index] var prefix = res[2] var name = res[3] var capture = res[4] var group = res[5] var modifier = res[6] var asterisk = res[7] // Push the current path onto the tokens. if (path) { tokens.push(path) path = '' } var partial = prefix != null && next != null && next !== prefix var repeat = modifier === '+' || modifier === '*' var optional = modifier === '?' || modifier === '*' var delimiter = prefix || defaultDelimiter var pattern = capture || group var prevText = prefix || (typeof tokens[tokens.length - 1] === 'string' ? tokens[tokens.length - 1] : '') tokens.push({ name: name || key++, prefix: prefix || '', delimiter: delimiter, optional: optional, repeat: repeat, partial: partial, asterisk: !!asterisk, pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : restrictBacktrack(delimiter, prevText)) }) } // Match any characters still remaining. if (index < str.length) { path += str.substr(index) } // If the path exists, push it onto the end. if (path) { tokens.push(path) } return tokens } function restrictBacktrack(delimiter, prevText) { if (!prevText || prevText.indexOf(delimiter) > -1) { return '[^' + escapeString(delimiter) + ']+?' } return escapeString(prevText) + '|(?:(?!' + escapeString(prevText) + ')[^' + escapeString(delimiter) + '])+?' } /** * Compile a string to a template function for the path. * * @param {string} str * @param {Object=} options * @return {!function(Object=, Object=)} */ function compile (str, options) { return tokensToFunction(parse(str, options), options) } /** * Prettier encoding of URI path segments. * * @param {string} * @return {string} */ function encodeURIComponentPretty (str) { return encodeURI(str).replace(/[\/?#]/g, function (c) { return '%' + c.charCodeAt(0).toString(16).toUpperCase() }) } /** * Encode the asterisk parameter. Similar to `pretty`, but allows slashes. * * @param {string} * @return {string} */ function encodeAsterisk (str) { return encodeURI(str).replace(/[?#]/g, function (c) { return '%' + c.charCodeAt(0).toString(16).toUpperCase() }) } /** * Expose a method for transforming tokens into the path function. */ function tokensToFunction (tokens, options) { // Compile all the tokens into regexps. var matches = new Array(tokens.length) // Compile all the patterns before compilation. for (var i = 0; i < tokens.length; i++) { if (typeof tokens[i] === 'object') { matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options)) } } return function (obj, opts) { var path = '' var data = obj || {} var options = opts || {} var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent for (var i = 0; i < tokens.length; i++) { var token = tokens[i] if (typeof token === 'string') { path += token continue } var value = data[token.name] var segment if (value == null) { if (token.optional) { // Prepend partial segment prefixes. if (token.partial) { path += token.prefix } continue } else { throw new TypeError('Expected "' + token.name + '" to be defined') } } if (isarray(value)) { if (!token.repeat) { throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`') } if (value.length === 0) { if (token.optional) { continue } else { throw new TypeError('Expected "' + token.name + '" to not be empty') } } for (var j = 0; j < value.length; j++) { segment = encode(value[j]) if (!matches[i].test(segment)) { throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`') } path += (j === 0 ? token.prefix : token.delimiter) + segment } continue } segment = token.asterisk ? encodeAsterisk(value) : encode(value) if (!matches[i].test(segment)) { throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"') } path += token.prefix + segment } return path } } /** * Escape a regular expression string. * * @param {string} str * @return {string} */ function escapeString (str) { return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1') } /** * Escape the capturing group by escaping special characters and meaning. * * @param {string} group * @return {string} */ function escapeGroup (group) { return group.replace(/([=!:$\/()])/g, '\\$1') } /** * Attach the keys as a property of the regexp. * * @param {!RegExp} re * @param {Array} keys * @return {!RegExp} */ function attachKeys (re, keys) { re.keys = keys return re } /** * Get the flags for a regexp from the options. * * @param {Object} options * @return {string} */ function flags (options) { return options && options.sensitive ? '' : 'i' } /** * Pull out keys from a regexp. * * @param {!RegExp} path * @param {!Array} keys * @return {!RegExp} */ function regexpToRegexp (path, keys) { // Use a negative lookahead to match only capturing groups. var groups = path.source.match(/\((?!\?)/g) if (groups) { for (var i = 0; i < groups.length; i++) { keys.push({ name: i, prefix: null, delimiter: null, optional: false, repeat: false, partial: false, asterisk: false, pattern: null }) } } return attachKeys(path, keys) } /** * Transform an array into a regexp. * * @param {!Array} path * @param {Array} keys * @param {!Object} options * @return {!RegExp} */ function arrayToRegexp (path, keys, options) { var parts = [] for (var i = 0; i < path.length; i++) { parts.push(pathToRegexp(path[i], keys, options).source) } var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options)) return attachKeys(regexp, keys) } /** * Create a path regexp from string input. * * @param {string} path * @param {!Array} keys * @param {!Object} options * @return {!RegExp} */ function stringToRegexp (path, keys, options) { return tokensToRegExp(parse(path, options), keys, options) } /** * Expose a function for taking tokens and returning a RegExp. * * @param {!Array} tokens * @param {(Array|Object)=} keys * @param {Object=} options * @return {!RegExp} */ function tokensToRegExp (tokens, keys, options) { if (!isarray(keys)) { options = /** @type {!Object} */ (keys || options) keys = [] } options = options || {} var strict = options.strict var end = options.end !== false var route = '' // Iterate over the tokens and create our regexp string. for (var i = 0; i < tokens.length; i++) { var token = tokens[i] if (typeof token === 'string') { route += escapeString(token) } else { var prefix = escapeString(token.prefix) var capture = '(?:' + token.pattern + ')' keys.push(token) if (token.repeat) { capture += '(?:' + prefix + capture + ')*' } if (token.optional) { if (!token.partial) { capture = '(?:' + prefix + '(' + capture + '))?' } else { capture = prefix + '(' + capture + ')?' } } else { capture = prefix + '(' + capture + ')' } route += capture } } var delimiter = escapeString(options.delimiter || '/') var endsWithDelimiter = route.slice(-delimiter.length) === delimiter // In non-strict mode we allow a slash at the end of match. If the path to // match already ends with a slash, we remove it for consistency. The slash // is valid at the end of a path match, not in the middle. This is important // in non-ending mode, where "/test/" shouldn't match "/test//route". if (!strict) { route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?' } if (end) { route += '$' } else { // In non-ending mode, we need the capturing groups to match as much as // possible by using a positive lookahead to the end or next path segment. route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)' } return attachKeys(new RegExp('^' + route, flags(options)), keys) } /** * Normalize the given path string, returning a regular expression. * * An empty array can be passed in for the keys, which will hold the * placeholder key descriptions. For example, using `/user/:id`, `keys` will * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`. * * @param {(string|RegExp|Array)} path * @param {(Array|Object)=} keys * @param {Object=} options * @return {!RegExp} */ function pathToRegexp (path, keys, options) { if (!isarray(keys)) { options = /** @type {!Object} */ (keys || options) keys = [] } options = options || {} if (path instanceof RegExp) { return regexpToRegexp(path, /** @type {!Array} */ (keys)) } if (isarray(path)) { return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options) } return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options) } /***/ }), /***/ 7788: /***/ ((__unused_webpack_module, exports) => { "use strict"; var __webpack_unused_export__; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b? Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119; function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}__webpack_unused_export__=l;__webpack_unused_export__=m;__webpack_unused_export__=k;__webpack_unused_export__=h;__webpack_unused_export__=c;__webpack_unused_export__=n;__webpack_unused_export__=e;__webpack_unused_export__=t;__webpack_unused_export__=r;__webpack_unused_export__=d; __webpack_unused_export__=g;__webpack_unused_export__=f;__webpack_unused_export__=p;__webpack_unused_export__=function(a){return A(a)||z(a)===l};__webpack_unused_export__=A;__webpack_unused_export__=function(a){return z(a)===k};__webpack_unused_export__=function(a){return z(a)===h};__webpack_unused_export__=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};__webpack_unused_export__=function(a){return z(a)===n};__webpack_unused_export__=function(a){return z(a)===e};__webpack_unused_export__=function(a){return z(a)===t}; __webpack_unused_export__=function(a){return z(a)===r};__webpack_unused_export__=function(a){return z(a)===d};__webpack_unused_export__=function(a){return z(a)===g};__webpack_unused_export__=function(a){return z(a)===f};__webpack_unused_export__=function(a){return z(a)===p}; __webpack_unused_export__=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};__webpack_unused_export__=z; /***/ }), /***/ 1680: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (true) { /* unused reexport */ __webpack_require__(7788); } else {} /***/ }), /***/ 5317: /***/ ((module) => { // module.exports = function shallowEqual(objA, objB, compare, compareContext) { var ret = compare ? compare.call(compareContext, objA, objB) : void 0; if (ret !== void 0) { return !!ret; } if (objA === objB) { return true; } if (typeof objA !== "object" || !objA || typeof objB !== "object" || !objB) { return false; } var keysA = Object.keys(objA); var keysB = Object.keys(objB); if (keysA.length !== keysB.length) { return false; } var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB); // Test for A's keys different from B. for (var idx = 0; idx < keysA.length; idx++) { var key = keysA[idx]; if (!bHasOwnProperty(key)) { return false; } var valueA = objA[key]; var valueB = objB[key]; ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0; if (ret === false || (ret === void 0 && valueA !== valueB)) { return false; } } return true; }; /***/ }), /***/ 9982: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "assets/images/docusaurus-plushie-banner-a60f7593abca1e3eef26a9afa244e4fb.jpeg"); /***/ }), /***/ 1674: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "assets/images/docsVersionDropdown-35e13cbe46c9923327f30a76a90bff3b.png"); /***/ }), /***/ 3989: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__webpack_require__.p + "assets/images/localeDropdown-f0d995e751e7656a1b0dbbc1134e49c2.png"); /***/ }), /***/ 1394: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbeghmoU4d7cDAO+NCEbhQCMjrZbe5q81bhdyVOwuXbtqZdDSZ+yau9oBgNcgGeIvmzDQJkUy1ix8ZKMtsWvuagcAXsNYs/iyLSNlIgk2GebLQjKJQ6R/32+mbcWYI8KTrm6HJwR4170yCV80Y6T1I4kklH122lFNG9e2wxMC3Ao/U1KnQLPgF2SK/xeri5TiIxlikX1DBXVANpoXSy/DzGCjYfdYs2FRiFkcxWxEu/GF0RAm3fT1Bv8JJyV+LLlV08ccnNuFCQeGAdrheWkkXxaSGueruZFDurlrzfn4QSbDGRgAqJD3JK4NMcU8oo3RIz1hOB4q6AZeCzKK0aoXCIs58DBBt9Esfip5Ke3UPkN1Eg8TdB8N+5grr+JRxPAJHiLoTgaZhf97MiuqvVqTgNPxEEEPcK0qBTIyNa6rnWw1CLooJjHMUZc6KMWnNs9xDg8Q9ACLQtMMvbhfeFi7tuoLZMhBz1NczaUw2H4OFizhAYFe5l0uM+61m53wgMAWM+C7aBr425Ey2c8umPpdxmO+oxQPWz8cvnOmTGf7Gf1DDHXs25lYxMrIfmafOdnvOe4WONZsk4XhaD7nkJpAPQN96w2a/cw+c7S/QYsC6vuq46D/CHD+7zQaRvDmYsXVbG6CEWmZQ5YGWRk0+8zR/phb1bg/9pkLgvVk/twso+EViETbfPw1PyuDHrDQ36n4o6GL1eHRn7skDhlrEnZyuvbKMN/TIglKM9AzmyfLbzL2sBjZz89sniJfg2G7Nvbwad+m3qB9OrQh/z0RTschzK1yXZAu8zi/CxQ9NJL4fT6d+kwdQG27drB6q9WxXbcO1GfaAPL78wswcBfx6Y2T6ZHxv5DJfuY1acj5Kl55JHHPtOCBaOozZQC18mltUxhWlNoyobjwDQVyng/hVhyBaYbBrEKhW0aNL2Y85LO2lB37daHhX86AAemAPC4z6R5sEt9j6nWXONr8vJ3D4qhj287tIRIIxMP7PmrKd151p1vV3MjRtmt7eiT0F+QbN4z6xQ6T/eO2XdrbbP8z3y5wtyAQT+VAxAh336wcczQVhPfsKM+ANJWsYp+xRFS7Hh2b/C6LSWBIEIgnsuh73T1b1VRA3ql/dxq5d5bd74/4OlJu21TgjtktCMT9uwbdFJDXjx5TBzQ5cigRR71I/hZJ7bpbTwf3mT4QxgSBuHtbrSHcnUlAlstwxXqdgcmjmsyTIJkIgag2SGcZ8qYCckcWyAUdTpBnsBr398yWKTAoCESd07xD3rFeHMdmqxztj81uNe5v6B+CYVAQiAeD9qPiIOkP/NIVN9l//nArg/ZNeNLh/nzjn7Tqr//rw2FQEIg6M+lN7RcY/LvR3PQHupdh6S9R+LH5ZMh8i17NfoeS81bSO6fX0cfn/ps2X/wL7bzyv/TNtYP0z5KjdLw0hwrKL1DR/Rt0r+q+Plys0d/HyMtDGib4nNlx5ur+QPcZuLPQTSa9bjk0oyuM2dX9adm4Zx57jeIzk+lXliX0Ru4KSjm1hlac/S/69MKXtP3yXvrr1b/Td8WplHbzOGWV5dPZO5fo+v0Slxi4ZgTiiUw66BoD/32BPQO/zI2Ba0cgbs6kg9aMPfFbWn5mM/258H80a+CaEYi7M+ngA7JR4ERpHgFqEogbM+lgDSelv0LfFx+B1SNIBxtzWsarlH27ABavZoF4YsOUHhliEuX4AlCOwsJC2rVrF7+JwjHGuU8Em4X9MHDn+afzOzRtzGVlZbR69WqKjY2lqKgoev/996m4uNihvqqrqyklJYU6dKhf3Kq/Pel6izuKK246bYQXLlygvXv30ldffUWZmZlO9cX6CAwMpI4dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2nrl27Um5ubpOTBuwaa/PNN9/Y7a/u97MRgsUmjcE+Y8JgbbZs2YJMut6oZGnJ6NGjHz5bQzKYggLlWXf2BmbxA/suC+LZbNKOHTsoLi6OWrduLXPz5s2K+2P5DNYXC5rz8h6sGbt8+bI8qrFrrI3S4JuNNOw7ycnJVtfffvvtZkcjTPNqnMtOb7BrRGPGjJFnlpiRfPDBB826VbbABNGrVy/rii/t2tGqVata7OY9++yz8ve7dOkiC41NAdfNng0dOlR2x5TCaDTKfwf77tKlS2UhsJiEuXFs0oCJ+9ChQ+pYauKOPel65sT0JJckCpXmJVhgzLLZM2fOpEWLFj00ArR0oqCp/AuLj9hI0lIwkbKRrG7mqy42YVyyZIl61mJhqYnruercdtUuI2HTzZs2baK1a9fSkSPOrURm8U1droOxb9++tGHDBixWxGJFkVJLjmEFYoMcCYuxmpsBQ5Cuu+Xu8+hk2SmoQ63L3ZFJ90w8cuD6YVi9KgWCTLrHuDB3uVwep5qqoQC1CASZdM8z+sQb9P6ZTbSjcD+KNnAvEGTSUfYHAkGQDoGhcBymeUGUHkUmHdS6wG5VlmFPOgjq/gAdEMQRbCCoZYEgkw5CIMikgxAIMukgBIJMOgiBIEgHIRBM84KgegSCTDoIgSCTzvcWXbNAv7bE0/oL0fSPG1F0+k4k3aoMp4rqmUSkL8LFAus563gCbb88h4ruR+hOCKoQCIJ07/CFDAP9rWg23a+GILgVCDLp3uGSghi6WREOMXAvEGTSPcrxUpzxtTRqQAQqEQgCck9WNzFQasksCEBVAkEm3WMjB8SBIB20QbhVmOYFbXBpQazLDYjlR25XhetGIJOyXuw5JntuF2TSNVd61EAlLpytqpa4sjCWJmSLMtdcidG2QKhV67CcxHVh2WJVLVcik65zjmVZ9QyRxmcKFHpSJMkoaGqOSHGnDPTGuXj53w1pLIvSnECk+yoPzRZPh2Un/r3x/YZZEifBxdLrcpOMB6JQyt3Fc7QokOb4OoJ0vdEs0LgTLRNGHQ/cnE07JZEcLo2SXTCtC2RCdmJ8aI64MNSSOI25YMik64COiqMxPy6M0cMI0oDCGmTSdeBWuUIcYbWBe6kGZrdacM/VIafF7sikazggb2nMYU8gJZURehJIVUhO0iPIpGt29HCdOBj/qDMXS3ohfIogXctLUDJd516xaeCvb8yhMv24WGekQP2VsFNJ3TDNq1G60r2qY4IkFLWLpIX3fMojIkEm3QsV0LMFlwuEcfS/P0N+ft29ypdf/qWnBEJhFiEJmXQIRDH7RQ2uP5fcW+zbt6PHBDIhJ/EluFhwsRRxzsl4OmgeTyZTiFdZXDzVUwLJd6uLhSBdO0H63huzdRWkM9fKreJAJl07SULGjy7H6iuTbhHXI5Ou8URhGBKFHCcKEZB7fxQ5iqUm/C41QSadk8WKrhHJJ4X6crFCLeKfkEnXiavl7HL31LJZutgPUrfcPSxXmIoNU3rcMGURsGGKpw1TyKTzKZTxmWJtnkT6OSOBxhyYRX6fPW9lML0C+3k9KdgUR47s4dSWW4kF3Gy5RSbdtXTUMEaM6NG84bVuRUNSAiThSCNNlkCDk/25FAfjqFE9XVO0IVtcW1uwoTLMInyEsj86FohSllaGU7mOyv5MPR7bIyRrXmcUjoNAQFR3h0BAVHeHQEBUdwchEFR3ByEQVHdHkA6BQCCY5oVAIBBk0tUrEH//Htwm/jyZSedWIMikc55JVxFdkkmHiwWBgAjSIRAQmXQQAkEmHYRAkEkHeRDIP0ujaOG5eJqWK8j8jfQzOyQHAkEmXfcC2XA12uaOuk1F0RAIgnRtC4Qd4XyifBZZ7kRaHefMRg5722wbjySsD9YX61MLx0OH5cwNnJwX1xXTvDoTyF3JeD8pjKHncx4Y+xTp51VXYuRrrM3CJk6ybUx22u2D/mLlPuquTc4RavqrVv2e9LthOcKqgPNRP0MmXQcCqZAMdsFZ28b/unTNf1QvGpceZ1cg48xx5NPOh4Z/PsVmG79tz1Prtj5q3ZPekD/4mZLaIZOu9dpXx+1XKBl3XFlFk9BMAw1+a4Tddo8Zhqkyk95EQbz5cLG0Xsk9S3TLUQfN8ddnErRS9seMIF3rZ4FYPC+QF3IFrQjkFjLpOAvE5UwsMGhFIBZk0rV+FsgJweMC+Vilp95a34uwBpl0rdffNXtWIKzS+9Hbs2hlYSwZThnkqWA2onx+LZr7KeDGFdxDsw3jwnIS18mnSWWLd9iIEmpJfMvtU8DIpHtwBMny/Ahii/8mBe88JxRb8BJIc3tCEUG6Nt0re/zgcozqBVLrfm3GNK+aC1Ef408cjBM5Po2qhfdS6dZTppBJd2/cEWoRuRQIY8/RfdWQSbfP3LlhSoPuxSGpcb7IpMO1UsIe/n1UkUm3OxrmCsF2jTs09aU+0kO5zQwcLhYHTBe5Fgdb1HirMlwLLtbdSVkv9lSS01ha93CCzMpP4UGQzve5g+7iHzk+z7CF97JWadIvr8EDqmJZcmTSvUSzd5aWKOX8swn1y+tVLpCD001JnezHHkdE/yYe1B17IkEm3U3BeTq/o8faK9Hy0nvVn3JrET5SvAxeeii/sfGwqqSY5DVk0j3sXh3jd/Rgm7V43+Ou8F7uSyyT+P1EizjdnkC+sDPk7x+TPrcvMukemr3K5DtA532PuyP3EZojvtvc9G6mggd3LcgoLAg49PD6FQTp7li5K6hGIE3tcVejQGSRWBKn2RpBLrXgAbK2vws0zu2PaV7t7P1whnV73NUuEHZstC2B3HFwtuVIkEn8cKxRiJFGkn8NyZgbGGw07IaROzmCZKtLIGyPu6oz6fY2VkkP5R4MEwJxlCGmOG4y6ferw525l5u2BHIdhsmRQOBiOUy2gNLhGCRb/M6ZIB3U8PZaZ5haNosbgRTcjXT8XnKFqbZGkK9gmDxtjlKPOLZwNs37j1uzHbwXYWlzOwMXwTCRKFSaKJyeK8huFU8jh5K6xNaJQqGUuVU2R476aVqzOAqGiaUmSnjmXiTXy0xePZOgLN7ISxymfL06pfhID+YcjJMTgXAah7xymu9CclfuR8jFJhTcy1EHSvgYlsE41VVq1NPccX0O1wJhFVcU3UuOmNzyfeWpcb7Ih/C1YYqnfAirsnijkt8l7iz/EZ1vUJQMnJif0NvRQnBrYZw8bZriRyDbrvE9euwpnqOs1E+OsNjhogsBh17sKT2YIhgnLxunRC7WZc3OF6ic4w1SN6WRLTJP0ehxOSRrXmfn6lwZxWgYJ8r+NKywmMbhdG5DLrkYp+ReqsbnGCa7qij1pzBOVDdh3HqN7zMN/3pjttLA/D9dVt8q6suoNmNNwl9gnPreRPV76c1czbE4WKJyUo6il8euFErxcWkROD9TUqdgk2EfjJOf3IgnRfLepViqrOY37mCbtKbmKhLH1pDvU9q6pVIi29SOmS19zWxNqC3MUM25W6Vg5KhmhRlaUavWHjgoxzAHs1scBe4ZclUOl4sjJt9AxrIoboVRUhmuNCA/F2ZJnOTRs0BC0wy9gk3iamyr5ad2lquCd1alZM2VGG6PNGBJQJbnCM+ze7+sSslKr56RPj7D0K92WQrWbnEiFLYsxZG1W2zEYMszeC0herUiQv77FGTIz7EDcRSVEPUYKMUnyGgYIY0qyVIAuVN6WMdrdyZiuYqXgvixRwX5KOjxmTWLHdnORLZchfnrEdLb9+XTCZKLEiv78GfvRXA0QsykmxXhlF8eST8UR9G6i9H0q7x4Cm10H2HZQoUkhmsSj0/IFnZOyBFeDctNGNoKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsI3/BxVeQNnL1kBuAAAAAElFTkSuQmCC"); /***/ }), /***/ 3065: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_src_pages_markdown_page_md_393_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-pages/default/site-src-pages-markdown-page-md-393.json const site_src_pages_markdown_page_md_393_namespaceObject = /*#__PURE__*/JSON.parse('{"type":"mdx","permalink":"/markdown-page","source":"@site/src/pages/markdown-page.md","title":"Markdown page example","description":"You don\'t need React to write simple standalone pages.","frontMatter":{"title":"Markdown page example"},"unlisted":false}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./src/pages/markdown-page.md const frontMatter = { title: 'Markdown page example' }; const contentTitle = 'Markdown page example'; const assets = { }; const toc = []; function _createMdxContent(props) { const _components = { h1: "h1", header: "header", p: "p", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "markdown-page-example", children: "Markdown page example" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "You don't need React to write simple standalone pages." })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 2863: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_intro_md_0e3_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-md-0e3.json const site_docs_intro_md_0e3_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"intro","title":"Tutorial Intro","description":"Let\'s discover Docusaurus in less than 5 minutes.","source":"@site/docs/intro.md","sourceDirName":".","slug":"/intro","permalink":"/docs/intro","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md","tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","next":{"title":"Tutorial - Basics","permalink":"/docs/category/tutorial---basics"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/intro.md const frontMatter = { sidebar_position: 1 }; const contentTitle = 'Tutorial Intro'; const assets = { }; const toc = [{ "value": "Getting Started", "id": "getting-started", "level": 2 }, { "value": "What you'll need", "id": "what-youll-need", "level": 3 }, { "value": "Generate a new site", "id": "generate-a-new-site", "level": 2 }, { "value": "Start your site", "id": "start-your-site", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", code: "code", h1: "h1", h2: "h2", h3: "h3", header: "header", li: "li", p: "p", pre: "pre", strong: "strong", ul: "ul", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "tutorial-intro", children: "Tutorial Intro" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Let's discover ", (0,jsx_runtime.jsx)(_components.strong, { children: "Docusaurus in less than 5 minutes" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "getting-started", children: "Getting Started" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Get started by ", (0,jsx_runtime.jsx)(_components.strong, { children: "creating a new site" }), "."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Or ", (0,jsx_runtime.jsx)(_components.strong, { children: "try Docusaurus immediately" }), " with ", (0,jsx_runtime.jsx)(_components.strong, { children: (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.new", children: "docusaurus.new" }) }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h3, { id: "what-youll-need", children: "What you'll need" }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.a, { href: "https://nodejs.org/en/download/", children: "Node.js" }), " version 18.0 or above:", "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsx)(_components.li, { children: "When installing Node.js, you are recommended to check all checkboxes related to dependencies." }), "\n"] }), "\n"] }), "\n"] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "generate-a-new-site", children: "Generate a new site" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Generate a new Docusaurus site using the ", (0,jsx_runtime.jsx)(_components.strong, { children: "classic template" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "The classic template will automatically be added to your project after you run the command:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm init docusaurus@latest my-website classic\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor." }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "The command also installs all necessary dependencies you need to run Docusaurus." }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "start-your-site", children: "Start your site" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Run the development server:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "cd my-website\nnpm run start\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["The ", (0,jsx_runtime.jsx)(_components.code, { children: "cd" }), " command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["The ", (0,jsx_runtime.jsx)(_components.code, { children: "npm run start" }), " command builds your website locally and serves it through a development server, ready for you to view at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/", children: "http://localhost:3000/" }), "."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Open ", (0,jsx_runtime.jsx)(_components.code, { children: "docs/intro.md" }), " (this page) and edit some lines: the site ", (0,jsx_runtime.jsx)(_components.strong, { children: "reloads automatically" }), " and displays your changes."] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 8423: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_basics_congratulations_md_822_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-congratulations-md-822.json const site_docs_tutorial_basics_congratulations_md_822_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","source":"@site/docs/tutorial-basics/congratulations.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/congratulations","permalink":"/docs/tutorial-basics/congratulations","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/congratulations.md","tags":[],"version":"current","sidebarPosition":6,"frontMatter":{"sidebar_position":6},"sidebar":"tutorialSidebar","previous":{"title":"Deploy your site","permalink":"/docs/tutorial-basics/deploy-your-site"},"next":{"title":"Tutorial - Extras","permalink":"/docs/category/tutorial---extras"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-basics/congratulations.md const frontMatter = { sidebar_position: 6 }; const contentTitle = 'Congratulations!'; const assets = { }; const toc = [{ "value": "What's next?", "id": "whats-next", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", code: "code", h1: "h1", h2: "h2", header: "header", li: "li", p: "p", strong: "strong", ul: "ul", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "congratulations", children: "Congratulations!" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["You have just learned the ", (0,jsx_runtime.jsx)(_components.strong, { children: "basics of Docusaurus" }), " and made some changes to the ", (0,jsx_runtime.jsx)(_components.strong, { children: "initial template" }), "."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Docusaurus has ", (0,jsx_runtime.jsx)(_components.strong, { children: "much more to offer" }), "!"] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Have ", (0,jsx_runtime.jsx)(_components.strong, { children: "5 more minutes" }), "? Take a look at ", (0,jsx_runtime.jsx)(_components.strong, { children: (0,jsx_runtime.jsx)(_components.a, { href: "/docs/tutorial-extras/manage-docs-versions", children: "versioning" }) }), " and ", (0,jsx_runtime.jsx)(_components.strong, { children: (0,jsx_runtime.jsx)(_components.a, { href: "/docs/tutorial-extras/translate-your-site", children: "i18n" }) }), "."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Anything ", (0,jsx_runtime.jsx)(_components.strong, { children: "unclear" }), " or ", (0,jsx_runtime.jsx)(_components.strong, { children: "buggy" }), " in this tutorial? ", (0,jsx_runtime.jsx)(_components.a, { href: "https://github.com/facebook/docusaurus/discussions/4610", children: "Please report it!" })] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "whats-next", children: "What's next?" }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Read the ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/", children: "official documentation" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Modify your site configuration with ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/docs/api/docusaurus-config", children: (0,jsx_runtime.jsx)(_components.code, { children: "docusaurus.config.js" }) })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Add navbar and footer items with ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/docs/api/themes/configuration", children: (0,jsx_runtime.jsx)(_components.code, { children: "themeConfig" }) })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Add a custom ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/docs/styling-layout", children: "Design and Layout" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Add a ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/docs/search", children: "search bar" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Find inspirations in the ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/showcase", children: "Docusaurus showcase" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["Get involved in the ", (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/community/support", children: "Docusaurus Community" })] }), "\n"] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 2621: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_basics_create_a_blog_post_md_533_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-blog-post-md-533.json const site_docs_tutorial_basics_create_a_blog_post_md_533_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","source":"@site/docs/tutorial-basics/create-a-blog-post.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/create-a-blog-post","permalink":"/docs/tutorial-basics/create-a-blog-post","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-blog-post.md","tags":[],"version":"current","sidebarPosition":3,"frontMatter":{"sidebar_position":3},"sidebar":"tutorialSidebar","previous":{"title":"Create a Document","permalink":"/docs/tutorial-basics/create-a-document"},"next":{"title":"Markdown Features","permalink":"/docs/tutorial-basics/markdown-features"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-basics/create-a-blog-post.md const frontMatter = { sidebar_position: 3 }; const contentTitle = 'Create a Blog Post'; const assets = { }; const toc = [{ "value": "Create your first Post", "id": "create-your-first-post", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", code: "code", h1: "h1", h2: "h2", header: "header", p: "p", pre: "pre", strong: "strong", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "create-a-blog-post", children: "Create a Blog Post" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Docusaurus creates a ", (0,jsx_runtime.jsx)(_components.strong, { children: "page for each blog post" }), ", but also a ", (0,jsx_runtime.jsx)(_components.strong, { children: "blog index page" }), ", a ", (0,jsx_runtime.jsx)(_components.strong, { children: "tag system" }), ", an ", (0,jsx_runtime.jsx)(_components.strong, { children: "RSS" }), " feed..."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "create-your-first-post", children: "Create your first Post" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Create a file at ", (0,jsx_runtime.jsx)(_components.code, { children: "blog/2021-02-28-greetings.md" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", metastring: "title=\"blog/2021-02-28-greetings.md\"", children: "---\nslug: greetings\ntitle: Greetings!\nauthors:\n - name: Joel Marcey\n title: Co-creator of Docusaurus 1\n url: https://github.com/JoelMarcey\n image_url: https://github.com/JoelMarcey.png\n - name: Sébastien Lorber\n title: Docusaurus maintainer\n url: https://sebastienlorber.com\n image_url: https://github.com/slorber.png\ntags: [greetings]\n---\n\nCongratulations, you have made your first post!\n\nFeel free to play around and edit this post as much as you like.\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["A new blog post is now available at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/blog/greetings", children: "http://localhost:3000/blog/greetings" }), "."] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 1000: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_basics_create_a_document_md_1e4_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-document-md-1e4.json const site_docs_tutorial_basics_create_a_document_md_1e4_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","source":"@site/docs/tutorial-basics/create-a-document.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/create-a-document","permalink":"/docs/tutorial-basics/create-a-document","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-document.md","tags":[],"version":"current","sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Create a Page","permalink":"/docs/tutorial-basics/create-a-page"},"next":{"title":"Create a Blog Post","permalink":"/docs/tutorial-basics/create-a-blog-post"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-basics/create-a-document.md const frontMatter = { sidebar_position: 2 }; const contentTitle = 'Create a Document'; const assets = { }; const toc = [{ "value": "Create your first Doc", "id": "create-your-first-doc", "level": 2 }, { "value": "Configure the Sidebar", "id": "configure-the-sidebar", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", code: "code", h1: "h1", h2: "h2", header: "header", li: "li", p: "p", pre: "pre", strong: "strong", ul: "ul", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "create-a-document", children: "Create a Document" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Documents are ", (0,jsx_runtime.jsx)(_components.strong, { children: "groups of pages" }), " connected through:"] }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { children: ["a ", (0,jsx_runtime.jsx)(_components.strong, { children: "sidebar" })] }), "\n", (0,jsx_runtime.jsx)(_components.li, { children: (0,jsx_runtime.jsx)(_components.strong, { children: "previous/next navigation" }) }), "\n", (0,jsx_runtime.jsx)(_components.li, { children: (0,jsx_runtime.jsx)(_components.strong, { children: "versioning" }) }), "\n"] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "create-your-first-doc", children: "Create your first Doc" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Create a Markdown file at ", (0,jsx_runtime.jsx)(_components.code, { children: "docs/hello.md" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", metastring: "title=\"docs/hello.md\"", children: "# Hello\n\nThis is my **first Docusaurus document**!\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["A new document is now available at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/docs/hello", children: "http://localhost:3000/docs/hello" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "configure-the-sidebar", children: "Configure the Sidebar" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Docusaurus automatically ", (0,jsx_runtime.jsx)(_components.strong, { children: "creates a sidebar" }), " from the ", (0,jsx_runtime.jsx)(_components.code, { children: "docs" }), " folder."] }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Add metadata to customize the sidebar label and position:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", metastring: "title=\"docs/hello.md\" {1-4}", children: "---\nsidebar_label: 'Hi!'\nsidebar_position: 3\n---\n\n# Hello\n\nThis is my **first Docusaurus document**!\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["It is also possible to create your sidebar explicitly in ", (0,jsx_runtime.jsx)(_components.code, { children: "sidebars.js" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-js", metastring: "title=\"sidebars.js\"", children: "export default {\n tutorialSidebar: [\n 'intro',\n // highlight-next-line\n 'hello',\n {\n type: 'category',\n label: 'Tutorial',\n items: ['tutorial-basics/create-a-document'],\n },\n ],\n};\n" }) })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 9009: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_basics_create_a_page_md_5c8_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-page-md-5c8.json const site_docs_tutorial_basics_create_a_page_md_5c8_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","source":"@site/docs/tutorial-basics/create-a-page.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/create-a-page","permalink":"/docs/tutorial-basics/create-a-page","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-page.md","tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Basics","permalink":"/docs/category/tutorial---basics"},"next":{"title":"Create a Document","permalink":"/docs/tutorial-basics/create-a-document"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-basics/create-a-page.md const frontMatter = { sidebar_position: 1 }; const contentTitle = 'Create a Page'; const assets = { }; const toc = [{ "value": "Create your first React Page", "id": "create-your-first-react-page", "level": 2 }, { "value": "Create your first Markdown Page", "id": "create-your-first-markdown-page", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", code: "code", h1: "h1", h2: "h2", header: "header", li: "li", p: "p", pre: "pre", strong: "strong", ul: "ul", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "create-a-page", children: "Create a Page" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Add ", (0,jsx_runtime.jsx)(_components.strong, { children: "Markdown or React" }), " files to ", (0,jsx_runtime.jsx)(_components.code, { children: "src/pages" }), " to create a ", (0,jsx_runtime.jsx)(_components.strong, { children: "standalone page" }), ":"] }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "src/pages/index.js" }), " → ", (0,jsx_runtime.jsx)(_components.code, { children: "localhost:3000/" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "src/pages/foo.md" }), " → ", (0,jsx_runtime.jsx)(_components.code, { children: "localhost:3000/foo" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "src/pages/foo/bar.js" }), " → ", (0,jsx_runtime.jsx)(_components.code, { children: "localhost:3000/foo/bar" })] }), "\n"] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "create-your-first-react-page", children: "Create your first React Page" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Create a file at ", (0,jsx_runtime.jsx)(_components.code, { children: "src/pages/my-react-page.js" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-jsx", metastring: "title=\"src/pages/my-react-page.js\"", children: "import React from 'react';\nimport Layout from '@theme/Layout';\n\nexport default function MyReactPage() {\n return (\n <Layout>\n <h1>My React page</h1>\n <p>This is a React page</p>\n </Layout>\n );\n}\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["A new page is now available at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/my-react-page", children: "http://localhost:3000/my-react-page" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "create-your-first-markdown-page", children: "Create your first Markdown Page" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Create a file at ", (0,jsx_runtime.jsx)(_components.code, { children: "src/pages/my-markdown-page.md" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-mdx", metastring: "title=\"src/pages/my-markdown-page.md\"", children: "# My Markdown page\n\nThis is a Markdown page\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["A new page is now available at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/my-markdown-page", children: "http://localhost:3000/my-markdown-page" }), "."] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 9466: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_basics_deploy_your_site_md_f55_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-deploy-your-site-md-f55.json const site_docs_tutorial_basics_deploy_your_site_md_f55_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","source":"@site/docs/tutorial-basics/deploy-your-site.md","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/deploy-your-site","permalink":"/docs/tutorial-basics/deploy-your-site","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md","tags":[],"version":"current","sidebarPosition":5,"frontMatter":{"sidebar_position":5},"sidebar":"tutorialSidebar","previous":{"title":"Markdown Features","permalink":"/docs/tutorial-basics/markdown-features"},"next":{"title":"Congratulations!","permalink":"/docs/tutorial-basics/congratulations"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-basics/deploy-your-site.md const frontMatter = { sidebar_position: 5 }; const contentTitle = 'Deploy your site'; const assets = { }; const toc = [{ "value": "Build your site", "id": "build-your-site", "level": 2 }, { "value": "Deploy your site", "id": "deploy-your-site-1", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", code: "code", h1: "h1", h2: "h2", header: "header", p: "p", pre: "pre", strong: "strong", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "deploy-your-site", children: "Deploy your site" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Docusaurus is a ", (0,jsx_runtime.jsx)(_components.strong, { children: "static-site-generator" }), " (also called ", (0,jsx_runtime.jsx)(_components.strong, { children: (0,jsx_runtime.jsx)(_components.a, { href: "https://jamstack.org/", children: "Jamstack" }) }), ")."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["It builds your site as simple ", (0,jsx_runtime.jsx)(_components.strong, { children: "static HTML, JavaScript and CSS files" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "build-your-site", children: "Build your site" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Build your site ", (0,jsx_runtime.jsx)(_components.strong, { children: "for production" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm run build\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["The static files are generated in the ", (0,jsx_runtime.jsx)(_components.code, { children: "build" }), " folder."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "deploy-your-site-1", children: "Deploy your site" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Test your production build locally:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm run serve\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["The ", (0,jsx_runtime.jsx)(_components.code, { children: "build" }), " folder is now served at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/", children: "http://localhost:3000/" }), "."] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["You can now deploy the ", (0,jsx_runtime.jsx)(_components.code, { children: "build" }), " folder ", (0,jsx_runtime.jsx)(_components.strong, { children: "almost anywhere" }), " easily, ", (0,jsx_runtime.jsx)(_components.strong, { children: "for free" }), " or very small cost (read the ", (0,jsx_runtime.jsx)(_components.strong, { children: (0,jsx_runtime.jsx)(_components.a, { href: "https://docusaurus.io/docs/deployment", children: "Deployment Guide" }) }), ")."] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 6731: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { Highlight: () => (/* binding */ Highlight), assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_basics_markdown_features_mdx_18c_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-markdown-features-mdx-18c.json const site_docs_tutorial_basics_markdown_features_mdx_18c_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","source":"@site/docs/tutorial-basics/markdown-features.mdx","sourceDirName":"tutorial-basics","slug":"/tutorial-basics/markdown-features","permalink":"/docs/tutorial-basics/markdown-features","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/markdown-features.mdx","tags":[],"version":"current","sidebarPosition":4,"frontMatter":{"sidebar_position":4},"sidebar":"tutorialSidebar","previous":{"title":"Create a Blog Post","permalink":"/docs/tutorial-basics/create-a-blog-post"},"next":{"title":"Deploy your site","permalink":"/docs/tutorial-basics/deploy-your-site"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-basics/markdown-features.mdx const frontMatter = { sidebar_position: 4 }; const contentTitle = 'Markdown Features'; const assets = { }; const Highlight = ({children, color}) => (0,jsx_runtime.jsx)("span", { style: { backgroundColor: color, borderRadius: '20px', color: '#fff', padding: '10px', cursor: 'pointer' }, onClick: () => { alert(`You clicked the color ${color} with label ${children}`); }, children: children }); const toc = [{ "value": "Front Matter", "id": "front-matter", "level": 2 }, { "value": "Links", "id": "links", "level": 2 }, { "value": "Images", "id": "images", "level": 2 }, { "value": "Code Blocks", "id": "code-blocks", "level": 2 }, { "value": "Admonitions", "id": "admonitions", "level": 2 }, { "value": "MDX and React Components", "id": "mdx-and-react-components", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", admonition: "admonition", code: "code", h1: "h1", h2: "h2", header: "header", img: "img", p: "p", pre: "pre", strong: "strong", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "markdown-features", children: "Markdown Features" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Docusaurus supports ", (0,jsx_runtime.jsx)(_components.strong, { children: (0,jsx_runtime.jsx)(_components.a, { href: "https://daringfireball.net/projects/markdown/syntax", children: "Markdown" }) }), " and a few ", (0,jsx_runtime.jsx)(_components.strong, { children: "additional features" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "front-matter", children: "Front Matter" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Markdown documents have metadata at the top called ", (0,jsx_runtime.jsx)(_components.a, { href: "https://jekyllrb.com/docs/front-matter/", children: "Front Matter" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-text", metastring: "title=\"my-doc.md\"", children: "// highlight-start\n---\nid: my-doc-id\ntitle: My document title\ndescription: My document description\nslug: /my-custom-url\n---\n// highlight-end\n\n## Markdown heading\n\nMarkdown text with [links](./hello.md)\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "links", children: "Links" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Regular Markdown links are supported, using url paths or relative file paths." }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", children: "Let's see how to [Create a page](/create-a-page).\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", children: "Let's see how to [Create a page](./create-a-page.md).\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: [(0,jsx_runtime.jsx)(_components.strong, { children: "Result:" }), " Let's see how to ", (0,jsx_runtime.jsx)(_components.a, { href: "/docs/tutorial-basics/create-a-page", children: "Create a page" }), "."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "images", children: "Images" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Regular Markdown images are supported." }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["You can use absolute paths to reference images in the static directory (", (0,jsx_runtime.jsx)(_components.code, { children: "static/img/docusaurus.png" }), "):"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", children: "![Docusaurus logo](/img/docusaurus.png)\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: (0,jsx_runtime.jsx)(_components.img, { alt: "Docusaurus logo", src: (__webpack_require__(1394)/* ["default"] */ .A) + "", width: "200", height: "200" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", children: "![Docusaurus logo](./img/docusaurus.png)\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "code-blocks", children: "Code Blocks" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Markdown code blocks are supported with Syntax highlighting." }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", children: "```jsx title=\"src/components/HelloDocusaurus.js\"\nfunction HelloDocusaurus() {\n return <h1>Hello, Docusaurus!</h1>;\n}\n```\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-jsx", metastring: "title=\"src/components/HelloDocusaurus.js\"", children: "function HelloDocusaurus() {\n return <h1>Hello, Docusaurus!</h1>;\n}\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "admonitions", children: "Admonitions" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Docusaurus has a special syntax to create admonitions and callouts:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-md", children: ":::tip[My tip]\n\nUse this awesome feature option\n\n:::\n\n:::danger[Take care]\n\nThis action is dangerous\n\n:::\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.admonition, { title: "My tip", type: "tip", children: (0,jsx_runtime.jsx)(_components.p, { children: "Use this awesome feature option" }) }), "\n", (0,jsx_runtime.jsx)(_components.admonition, { title: "Take care", type: "danger", children: (0,jsx_runtime.jsx)(_components.p, { children: "This action is dangerous" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "mdx-and-react-components", children: "MDX and React Components" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: [(0,jsx_runtime.jsx)(_components.a, { href: "https://mdxjs.com/", children: "MDX" }), " can make your documentation more ", (0,jsx_runtime.jsx)(_components.strong, { children: "interactive" }), " and allows using any ", (0,jsx_runtime.jsx)(_components.strong, { children: "React components inside Markdown" }), ":"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-jsx", children: "export const Highlight = ({children, color}) => (\n <span\n style={{\n backgroundColor: color,\n borderRadius: '20px',\n color: '#fff',\n padding: '10px',\n cursor: 'pointer',\n }}\n onClick={() => {\n alert(`You clicked the color ${color} with label ${children}`)\n }}>\n {children}\n </span>\n);\n\nThis is <Highlight color=\"#25c2a0\">Docusaurus green</Highlight> !\n\nThis is <Highlight color=\"#1877F2\">Facebook blue</Highlight> !\n" }) }), "\n", "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["This is ", (0,jsx_runtime.jsx)(Highlight, { color: "#25c2a0", children: "Docusaurus green" }), " !"] }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["This is ", (0,jsx_runtime.jsx)(Highlight, { color: "#1877F2", children: "Facebook blue" }), " !"] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 6052: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_extras_manage_docs_versions_md_dff_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-manage-docs-versions-md-dff.json const site_docs_tutorial_extras_manage_docs_versions_md_dff_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","source":"@site/docs/tutorial-extras/manage-docs-versions.md","sourceDirName":"tutorial-extras","slug":"/tutorial-extras/manage-docs-versions","permalink":"/docs/tutorial-extras/manage-docs-versions","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-extras/manage-docs-versions.md","tags":[],"version":"current","sidebarPosition":1,"frontMatter":{"sidebar_position":1},"sidebar":"tutorialSidebar","previous":{"title":"Tutorial - Extras","permalink":"/docs/category/tutorial---extras"},"next":{"title":"Translate your site","permalink":"/docs/tutorial-extras/translate-your-site"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-extras/manage-docs-versions.md const frontMatter = { sidebar_position: 1 }; const contentTitle = 'Manage Docs Versions'; const assets = { }; const toc = [{ "value": "Create a docs version", "id": "create-a-docs-version", "level": 2 }, { "value": "Add a Version Dropdown", "id": "add-a-version-dropdown", "level": 2 }, { "value": "Update an existing version", "id": "update-an-existing-version", "level": 2 }]; function _createMdxContent(props) { const _components = { code: "code", h1: "h1", h2: "h2", header: "header", img: "img", li: "li", p: "p", pre: "pre", strong: "strong", ul: "ul", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "manage-docs-versions", children: "Manage Docs Versions" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Docusaurus can manage multiple versions of your docs." }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "create-a-docs-version", children: "Create a docs version" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Release a version 1.0 of your project:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm run docusaurus docs:version 1.0\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["The ", (0,jsx_runtime.jsx)(_components.code, { children: "docs" }), " folder is copied into ", (0,jsx_runtime.jsx)(_components.code, { children: "versioned_docs/version-1.0" }), " and ", (0,jsx_runtime.jsx)(_components.code, { children: "versions.json" }), " is created."] }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Your docs now have 2 versions:" }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "1.0" }), " at ", (0,jsx_runtime.jsx)(_components.code, { children: "http://localhost:3000/docs/" }), " for the version 1.0 docs"] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "current" }), " at ", (0,jsx_runtime.jsx)(_components.code, { children: "http://localhost:3000/docs/next/" }), " for the ", (0,jsx_runtime.jsx)(_components.strong, { children: "upcoming, unreleased docs" })] }), "\n"] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "add-a-version-dropdown", children: "Add a Version Dropdown" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "To navigate seamlessly across versions, add a version dropdown." }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Modify the ", (0,jsx_runtime.jsx)(_components.code, { children: "docusaurus.config.js" }), " file:"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-js", metastring: "title=\"docusaurus.config.js\"", children: "export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'docsVersionDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "The docs version dropdown appears in your navbar:" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: (0,jsx_runtime.jsx)(_components.img, { alt: "Docs Version Dropdown", src: (__webpack_require__(1674)/* ["default"] */ .A) + "", width: "370", height: "302" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "update-an-existing-version", children: "Update an existing version" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "It is possible to edit versioned docs in their respective folder:" }), "\n", (0,jsx_runtime.jsxs)(_components.ul, { children: ["\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "versioned_docs/version-1.0/hello.md" }), " updates ", (0,jsx_runtime.jsx)(_components.code, { children: "http://localhost:3000/docs/hello" })] }), "\n", (0,jsx_runtime.jsxs)(_components.li, { children: [(0,jsx_runtime.jsx)(_components.code, { children: "docs/hello.md" }), " updates ", (0,jsx_runtime.jsx)(_components.code, { children: "http://localhost:3000/docs/next/hello" })] }), "\n"] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 9912: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { assets: () => (/* binding */ assets), contentTitle: () => (/* binding */ contentTitle), "default": () => (/* binding */ MDXContent), frontMatter: () => (/* binding */ frontMatter), metadata: () => (/* reexport */ site_docs_tutorial_extras_translate_your_site_md_e44_namespaceObject), toc: () => (/* binding */ toc) }); ;// ./.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-translate-your-site-md-e44.json const site_docs_tutorial_extras_translate_your_site_md_e44_namespaceObject = /*#__PURE__*/JSON.parse('{"id":"tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","source":"@site/docs/tutorial-extras/translate-your-site.md","sourceDirName":"tutorial-extras","slug":"/tutorial-extras/translate-your-site","permalink":"/docs/tutorial-extras/translate-your-site","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-extras/translate-your-site.md","tags":[],"version":"current","sidebarPosition":2,"frontMatter":{"sidebar_position":2},"sidebar":"tutorialSidebar","previous":{"title":"Manage Docs Versions","permalink":"/docs/tutorial-extras/manage-docs-versions"}}'); // EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js var jsx_runtime = __webpack_require__(4848); // EXTERNAL MODULE: ../node_modules/@mdx-js/react/lib/index.js var lib = __webpack_require__(3023); ;// ./docs/tutorial-extras/translate-your-site.md const frontMatter = { sidebar_position: 2 }; const contentTitle = 'Translate your site'; const assets = { }; const toc = [{ "value": "Configure i18n", "id": "configure-i18n", "level": 2 }, { "value": "Translate a doc", "id": "translate-a-doc", "level": 2 }, { "value": "Start your localized site", "id": "start-your-localized-site", "level": 2 }, { "value": "Add a Locale Dropdown", "id": "add-a-locale-dropdown", "level": 2 }, { "value": "Build your localized site", "id": "build-your-localized-site", "level": 2 }]; function _createMdxContent(props) { const _components = { a: "a", admonition: "admonition", code: "code", h1: "h1", h2: "h2", header: "header", img: "img", p: "p", pre: "pre", ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [(0,jsx_runtime.jsx)(_components.header, { children: (0,jsx_runtime.jsx)(_components.h1, { id: "translate-your-site", children: "Translate your site" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Let's translate ", (0,jsx_runtime.jsx)(_components.code, { children: "docs/intro.md" }), " to French."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "configure-i18n", children: "Configure i18n" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Modify ", (0,jsx_runtime.jsx)(_components.code, { children: "docusaurus.config.js" }), " to add support for the ", (0,jsx_runtime.jsx)(_components.code, { children: "fr" }), " locale:"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-js", metastring: "title=\"docusaurus.config.js\"", children: "export default {\n i18n: {\n defaultLocale: 'en',\n locales: ['en', 'fr'],\n },\n};\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "translate-a-doc", children: "Translate a doc" }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Copy the ", (0,jsx_runtime.jsx)(_components.code, { children: "docs/intro.md" }), " file to the ", (0,jsx_runtime.jsx)(_components.code, { children: "i18n/fr" }), " folder:"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/\n\ncp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Translate ", (0,jsx_runtime.jsx)(_components.code, { children: "i18n/fr/docusaurus-plugin-content-docs/current/intro.md" }), " in French."] }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "start-your-localized-site", children: "Start your localized site" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Start your site on the French locale:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm run start -- --locale fr\n" }) }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Your localized site is accessible at ", (0,jsx_runtime.jsx)(_components.a, { href: "http://localhost:3000/fr/", children: "http://localhost:3000/fr/" }), " and the ", (0,jsx_runtime.jsx)(_components.code, { children: "Getting Started" }), " page is translated."] }), "\n", (0,jsx_runtime.jsx)(_components.admonition, { type: "caution", children: (0,jsx_runtime.jsx)(_components.p, { children: "In development, you can only use one locale at a time." }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "add-a-locale-dropdown", children: "Add a Locale Dropdown" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "To navigate seamlessly across languages, add a locale dropdown." }), "\n", (0,jsx_runtime.jsxs)(_components.p, { children: ["Modify the ", (0,jsx_runtime.jsx)(_components.code, { children: "docusaurus.config.js" }), " file:"] }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-js", metastring: "title=\"docusaurus.config.js\"", children: "export default {\n themeConfig: {\n navbar: {\n items: [\n // highlight-start\n {\n type: 'localeDropdown',\n },\n // highlight-end\n ],\n },\n },\n};\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "The locale dropdown now appears in your navbar:" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: (0,jsx_runtime.jsx)(_components.img, { alt: "Locale Dropdown", src: (__webpack_require__(3989)/* ["default"] */ .A) + "", width: "370", height: "302" }) }), "\n", (0,jsx_runtime.jsx)(_components.h2, { id: "build-your-localized-site", children: "Build your localized site" }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Build your site for a specific locale:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm run build -- --locale fr\n" }) }), "\n", (0,jsx_runtime.jsx)(_components.p, { children: "Or build your site to include all the locales at once:" }), "\n", (0,jsx_runtime.jsx)(_components.pre, { children: (0,jsx_runtime.jsx)(_components.code, { className: "language-bash", children: "npm run build\n" }) })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,lib/* useMDXComponents */.R)(), ...props.components }; return MDXLayout ? (0,jsx_runtime.jsx)(MDXLayout, { ...props, children: (0,jsx_runtime.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 4812: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_28_first_blog_post_md_e27_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_28_first_blog_post_md_e27_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2421); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'first-blog-post', title: 'First Blog Post', authors: [ 'slorber', 'yangshun' ], tags: [ 'hola', 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined, undefined], }; const toc = []; function _createMdxContent(props) { const _components = { p: "p", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet..." }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "...consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 1576: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_28_first_blog_post_md_e27_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_28_first_blog_post_md_e27_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2421); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'first-blog-post', title: 'First Blog Post', authors: [ 'slorber', 'yangshun' ], tags: [ 'hola', 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined, undefined], }; const toc = []; function _createMdxContent(props) { const _components = { p: "p", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet..." }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 9655: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_29_long_blog_post_md_736_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_29_long_blog_post_md_736_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5802); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'long-blog-post', title: 'Long Blog Post', authors: 'yangshun', tags: [ 'hello', 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined], }; const toc = []; function _createMdxContent(props) { const _components = { code: "code", p: "p", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "This is the summary of a very long blog post," }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: ["Use a ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "<!--" }), " ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "truncate" }), " ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "-->" }), " comment to limit blog post size in the list view."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 2185: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_29_long_blog_post_md_736_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2019_05_29_long_blog_post_md_736_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5802); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'long-blog-post', title: 'Long Blog Post', authors: 'yangshun', tags: [ 'hello', 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined], }; const toc = []; function _createMdxContent(props) { const _components = { code: "code", p: "p", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "This is the summary of a very long blog post," }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: ["Use a ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "<!--" }), " ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "truncate" }), " ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "-->" }), " comment to limit blog post size in the list view."] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 4986: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_01_mdx_blog_post_mdx_593_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_01_mdx_blog_post_mdx_593_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1632); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'mdx-blog-post', title: 'MDX Blog Post', authors: [ 'slorber' ], tags: [ 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined], }; /*truncate*/ const toc = []; function _createMdxContent(props) { const _components = { a: "a", admonition: "admonition", code: "code", p: "p", pre: "pre", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: ["Blog posts support ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://docusaurus.io/docs/markdown-features", children: "Docusaurus Markdown features" }), ", such as ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://mdxjs.com/", children: "MDX" }), "."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.admonition, { type: "tip", children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Use the power of React to create interactive blog posts." }) }), "\n", "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "For example, use JSX to create an interactive button:" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { className: "language-js", children: "<button onClick={() => alert('button clicked!')}>Click me!</button>\n" }) }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { onClick: () => alert('button clicked!'), children: "Click me!" })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 7934: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_01_mdx_blog_post_mdx_593_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_01_mdx_blog_post_mdx_593_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1632); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'mdx-blog-post', title: 'MDX Blog Post', authors: [ 'slorber' ], tags: [ 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined], }; const toc = []; function _createMdxContent(props) { const _components = { a: "a", admonition: "admonition", p: "p", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: ["Blog posts support ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://docusaurus.io/docs/markdown-features", children: "Docusaurus Markdown features" }), ", such as ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://mdxjs.com/", children: "MDX" }), "."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.admonition, { type: "tip", children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Use the power of React to create interactive blog posts." }) })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 8297: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_26_welcome_index_md_d9f_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_26_welcome_index_md_d9f_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8811); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'welcome', title: 'Welcome', authors: [ 'slorber', 'yangshun' ], tags: [ 'facebook', 'hello', 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined, undefined], }; const toc = []; function _createMdxContent(props) { const _components = { a: "a", code: "code", img: "img", li: "li", p: "p", strong: "strong", ul: "ul", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://docusaurus.io/docs/blog", children: "Docusaurus blogging features" }), " are powered by the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog", children: "blog plugin" }), "."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Here are a few tips you might find useful." }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: ["Simply add Markdown files (or folders) to the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "blog" }), " directory."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: ["Regular blog authors can be added to ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "authors.yml" }), "."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "The blog post date can be extracted from filenames, such as:" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul, { children: ["\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "2019-05-30-welcome.md" }) }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.li, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "2019-05-30-welcome/index.md" }) }), "\n"] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "A blog post folder can be convenient to co-locate blog post images:" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.img, { alt: "Docusaurus Plushie", src: (__webpack_require__(9982)/* ["default"] */ .A) + "", width: "1500", height: "500" }) }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "The blog supports tags as well!" }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong, { children: "And if you don't want a blog" }), ": just delete this directory, and use ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code, { children: "blog: false" }), " in your Docusaurus config."] })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 2219: /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ assets: () => (/* binding */ assets), /* harmony export */ contentTitle: () => (/* binding */ contentTitle), /* harmony export */ "default": () => (/* binding */ MDXContent), /* harmony export */ frontMatter: () => (/* binding */ frontMatter), /* harmony export */ metadata: () => (/* reexport default export from named module */ _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_26_welcome_index_md_d9f_json__WEBPACK_IMPORTED_MODULE_0__), /* harmony export */ toc: () => (/* binding */ toc) /* harmony export */ }); /* harmony import */ var _site_docusaurus_docusaurus_plugin_content_blog_default_site_blog_2021_08_26_welcome_index_md_d9f_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8811); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4848); /* harmony import */ var _mdx_js_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3023); const frontMatter = { slug: 'welcome', title: 'Welcome', authors: [ 'slorber', 'yangshun' ], tags: [ 'facebook', 'hello', 'docusaurus' ] }; const contentTitle = undefined; const assets = { "authorsImageUrls": [undefined, undefined], }; const toc = []; function _createMdxContent(props) { const _components = { a: "a", p: "p", ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p, { children: [(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://docusaurus.io/docs/blog", children: "Docusaurus blogging features" }), " are powered by the ", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a, { href: "https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog", children: "blog plugin" }), "."] }), "\n", (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p, { children: "Here are a few tips you might find useful." })] }); } function MDXContent(props = {}) { const {wrapper: MDXLayout} = { ...(0,_mdx_js_react__WEBPACK_IMPORTED_MODULE_2__/* .useMDXComponents */ .R)(), ...props.components }; return MDXLayout ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout, { ...props, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent, { ...props }) }) : _createMdxContent(props); } /***/ }), /***/ 6845: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * @license React * react-dom-server-legacy.node.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* JS Implementation of MurmurHash3 (r136) (as of May 20, 2011) Copyright (c) 2011 Gary Court Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ var React = __webpack_require__(6540), ReactDOM = __webpack_require__(961), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, isArrayImpl = Array.isArray; function murmurhash3_32_gc(key, seed) { var remainder = key.length & 3; var bytes = key.length - remainder; var h1 = seed; for (seed = 0; seed < bytes; ) { var k1 = (key.charCodeAt(seed) & 255) | ((key.charCodeAt(++seed) & 255) << 8) | ((key.charCodeAt(++seed) & 255) << 16) | ((key.charCodeAt(++seed) & 255) << 24); ++seed; k1 = (3432918353 * (k1 & 65535) + (((3432918353 * (k1 >>> 16)) & 65535) << 16)) & 4294967295; k1 = (k1 << 15) | (k1 >>> 17); k1 = (461845907 * (k1 & 65535) + (((461845907 * (k1 >>> 16)) & 65535) << 16)) & 4294967295; h1 ^= k1; h1 = (h1 << 13) | (h1 >>> 19); h1 = (5 * (h1 & 65535) + (((5 * (h1 >>> 16)) & 65535) << 16)) & 4294967295; h1 = (h1 & 65535) + 27492 + ((((h1 >>> 16) + 58964) & 65535) << 16); } k1 = 0; switch (remainder) { case 3: k1 ^= (key.charCodeAt(seed + 2) & 255) << 16; case 2: k1 ^= (key.charCodeAt(seed + 1) & 255) << 8; case 1: (k1 ^= key.charCodeAt(seed) & 255), (k1 = (3432918353 * (k1 & 65535) + (((3432918353 * (k1 >>> 16)) & 65535) << 16)) & 4294967295), (k1 = (k1 << 15) | (k1 >>> 17)), (h1 ^= (461845907 * (k1 & 65535) + (((461845907 * (k1 >>> 16)) & 65535) << 16)) & 4294967295); } h1 ^= key.length; h1 ^= h1 >>> 16; h1 = (2246822507 * (h1 & 65535) + (((2246822507 * (h1 >>> 16)) & 65535) << 16)) & 4294967295; h1 ^= h1 >>> 13; h1 = (3266489909 * (h1 & 65535) + (((3266489909 * (h1 >>> 16)) & 65535) << 16)) & 4294967295; return (h1 ^ (h1 >>> 16)) >>> 0; } var assign = Object.assign, hasOwnProperty = Object.prototype.hasOwnProperty, VALID_ATTRIBUTE_NAME_REGEX = RegExp( "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$" ), illegalAttributeNameCache = {}, validatedAttributeNameCache = {}; function isAttributeNameSafe(attributeName) { if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return !0; if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1; if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return (validatedAttributeNameCache[attributeName] = !0); illegalAttributeNameCache[attributeName] = !0; return !1; } var unitlessNumbers = new Set( "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split( " " ) ), aliases = new Map([ ["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"], ["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift", "baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"], ["dominantBaseline", "dominant-baseline"], ["enableBackground", "enable-background"], ["fillOpacity", "fill-opacity"], ["fillRule", "fill-rule"], ["floodColor", "flood-color"], ["floodOpacity", "flood-opacity"], ["fontFamily", "font-family"], ["fontSize", "font-size"], ["fontSizeAdjust", "font-size-adjust"], ["fontStretch", "font-stretch"], ["fontStyle", "font-style"], ["fontVariant", "font-variant"], ["fontWeight", "font-weight"], ["glyphName", "glyph-name"], ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], ["glyphOrientationVertical", "glyph-orientation-vertical"], ["horizAdvX", "horiz-adv-x"], ["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing", "letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"], ["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"], ["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["renderingIntent", "rendering-intent"], ["shapeRendering", "shape-rendering"], ["stopColor", "stop-color"], ["stopOpacity", "stop-opacity"], ["strikethroughPosition", "strikethrough-position"], ["strikethroughThickness", "strikethrough-thickness"], ["strokeDasharray", "stroke-dasharray"], ["strokeDashoffset", "stroke-dashoffset"], ["strokeLinecap", "stroke-linecap"], ["strokeLinejoin", "stroke-linejoin"], ["strokeMiterlimit", "stroke-miterlimit"], ["strokeOpacity", "stroke-opacity"], ["strokeWidth", "stroke-width"], ["textAnchor", "text-anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"], ["transformOrigin", "transform-origin"], ["underlinePosition", "underline-position"], ["underlineThickness", "underline-thickness"], ["unicodeBidi", "unicode-bidi"], ["unicodeRange", "unicode-range"], ["unitsPerEm", "units-per-em"], ["vAlphabetic", "v-alphabetic"], ["vHanging", "v-hanging"], ["vIdeographic", "v-ideographic"], ["vMathematical", "v-mathematical"], ["vectorEffect", "vector-effect"], ["vertAdvY", "vert-adv-y"], ["vertOriginX", "vert-origin-x"], ["vertOriginY", "vert-origin-y"], ["wordSpacing", "word-spacing"], ["writingMode", "writing-mode"], ["xmlnsXlink", "xmlns:xlink"], ["xHeight", "x-height"] ]), matchHtmlRegExp = /["'&<>]/; function escapeTextForBrowser(text) { if ( "boolean" === typeof text || "number" === typeof text || "bigint" === typeof text ) return "" + text; text = "" + text; var match = matchHtmlRegExp.exec(text); if (match) { var html = "", index, lastIndex = 0; for (index = match.index; index < text.length; index++) { switch (text.charCodeAt(index)) { case 34: match = """; break; case 38: match = "&"; break; case 39: match = "'"; break; case 60: match = "<"; break; case 62: match = ">"; break; default: continue; } lastIndex !== index && (html += text.slice(lastIndex, index)); lastIndex = index + 1; html += match; } text = lastIndex !== index ? html + text.slice(lastIndex, index) : html; } return text; } var uppercasePattern = /([A-Z])/g, msPattern = /^ms-/, isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i; function sanitizeURL(url) { return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url; } var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, sharedNotPendingObject = { pending: !1, data: null, method: null, action: null }, previousDispatcher = ReactDOMSharedInternals.d; ReactDOMSharedInternals.d = { f: previousDispatcher.f, r: previousDispatcher.r, D: prefetchDNS, C: preconnect, L: preload, m: preloadModule, X: preinitScript, S: preinitStyle, M: preinitModuleScript }; var PRELOAD_NO_CREDS = [], scriptRegex = /(<\/|<)(s)(cript)/gi; function scriptReplacer(match, prefix, s, suffix) { return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix; } function createResumableState( identifierPrefix, externalRuntimeConfig, bootstrapScriptContent, bootstrapScripts, bootstrapModules ) { return { idPrefix: void 0 === identifierPrefix ? "" : identifierPrefix, nextFormID: 0, streamingFormat: 0, bootstrapScriptContent: bootstrapScriptContent, bootstrapScripts: bootstrapScripts, bootstrapModules: bootstrapModules, instructions: 0, hasBody: !1, hasHtml: !1, unknownResources: {}, dnsResources: {}, connectResources: { default: {}, anonymous: {}, credentials: {} }, imageResources: {}, styleResources: {}, scriptResources: {}, moduleUnknownResources: {}, moduleScriptResources: {} }; } function createFormatContext(insertionMode, selectedValue, tagScope) { return { insertionMode: insertionMode, selectedValue: selectedValue, tagScope: tagScope }; } function getChildFormatContext(parentContext, type, props) { switch (type) { case "noscript": return createFormatContext(2, null, parentContext.tagScope | 1); case "select": return createFormatContext( 2, null != props.value ? props.value : props.defaultValue, parentContext.tagScope ); case "svg": return createFormatContext(3, null, parentContext.tagScope); case "picture": return createFormatContext(2, null, parentContext.tagScope | 2); case "math": return createFormatContext(4, null, parentContext.tagScope); case "foreignObject": return createFormatContext(2, null, parentContext.tagScope); case "table": return createFormatContext(5, null, parentContext.tagScope); case "thead": case "tbody": case "tfoot": return createFormatContext(6, null, parentContext.tagScope); case "colgroup": return createFormatContext(8, null, parentContext.tagScope); case "tr": return createFormatContext(7, null, parentContext.tagScope); } return 5 <= parentContext.insertionMode ? createFormatContext(2, null, parentContext.tagScope) : 0 === parentContext.insertionMode ? "html" === type ? createFormatContext(1, null, parentContext.tagScope) : createFormatContext(2, null, parentContext.tagScope) : 1 === parentContext.insertionMode ? createFormatContext(2, null, parentContext.tagScope) : parentContext; } var styleNameCache = new Map(); function pushStyleAttribute(target, style) { if ("object" !== typeof style) throw Error( "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." ); var isFirst = !0, styleName; for (styleName in style) if (hasOwnProperty.call(style, styleName)) { var styleValue = style[styleName]; if ( null != styleValue && "boolean" !== typeof styleValue && "" !== styleValue ) { if (0 === styleName.indexOf("--")) { var nameChunk = escapeTextForBrowser(styleName); styleValue = escapeTextForBrowser(("" + styleValue).trim()); } else (nameChunk = styleNameCache.get(styleName)), void 0 === nameChunk && ((nameChunk = escapeTextForBrowser( styleName .replace(uppercasePattern, "-$1") .toLowerCase() .replace(msPattern, "-ms-") )), styleNameCache.set(styleName, nameChunk)), (styleValue = "number" === typeof styleValue ? 0 === styleValue || unitlessNumbers.has(styleName) ? "" + styleValue : styleValue + "px" : escapeTextForBrowser(("" + styleValue).trim())); isFirst ? ((isFirst = !1), target.push(' style="', nameChunk, ":", styleValue)) : target.push(";", nameChunk, ":", styleValue); } } isFirst || target.push('"'); } function pushBooleanAttribute(target, name, value) { value && "function" !== typeof value && "symbol" !== typeof value && target.push(" ", name, '=""'); } function pushStringAttribute(target, name, value) { "function" !== typeof value && "symbol" !== typeof value && "boolean" !== typeof value && target.push(" ", name, '="', escapeTextForBrowser(value), '"'); } var actionJavaScriptURL = escapeTextForBrowser( "javascript:throw new Error('React form unexpectedly submitted.')" ); function pushAdditionalFormField(value, key) { this.push('<input type="hidden"'); validateAdditionalFormField(value); pushStringAttribute(this, "name", key); pushStringAttribute(this, "value", value); this.push("/>"); } function validateAdditionalFormField(value) { if ("string" !== typeof value) throw Error( "File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration." ); } function getCustomFormFields(resumableState, formAction) { if ("function" === typeof formAction.$$FORM_ACTION) { var id = resumableState.nextFormID++; resumableState = resumableState.idPrefix + id; try { var customFields = formAction.$$FORM_ACTION(resumableState); if (customFields) { var formData = customFields.data; null != formData && formData.forEach(validateAdditionalFormField); } return customFields; } catch (x) { if ("object" === typeof x && null !== x && "function" === typeof x.then) throw x; } } return null; } function pushFormActionAttribute( target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name ) { var formData = null; if ("function" === typeof formAction) { var customFields = getCustomFormFields(resumableState, formAction); null !== customFields ? ((name = customFields.name), (formAction = customFields.action || ""), (formEncType = customFields.encType), (formMethod = customFields.method), (formTarget = customFields.target), (formData = customFields.data)) : (target.push(" ", "formAction", '="', actionJavaScriptURL, '"'), (formTarget = formMethod = formEncType = formAction = name = null), injectFormReplayingRuntime(resumableState, renderState)); } null != name && pushAttribute(target, "name", name); null != formAction && pushAttribute(target, "formAction", formAction); null != formEncType && pushAttribute(target, "formEncType", formEncType); null != formMethod && pushAttribute(target, "formMethod", formMethod); null != formTarget && pushAttribute(target, "formTarget", formTarget); return formData; } function pushAttribute(target, name, value) { switch (name) { case "className": pushStringAttribute(target, "class", value); break; case "tabIndex": pushStringAttribute(target, "tabindex", value); break; case "dir": case "role": case "viewBox": case "width": case "height": pushStringAttribute(target, name, value); break; case "style": pushStyleAttribute(target, value); break; case "src": case "href": if ("" === value) break; case "action": case "formAction": if ( null == value || "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value ) break; value = sanitizeURL("" + value); target.push(" ", name, '="', escapeTextForBrowser(value), '"'); break; case "defaultValue": case "defaultChecked": case "innerHTML": case "suppressContentEditableWarning": case "suppressHydrationWarning": case "ref": break; case "autoFocus": case "multiple": case "muted": pushBooleanAttribute(target, name.toLowerCase(), value); break; case "xlinkHref": if ( "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value ) break; value = sanitizeURL("" + value); target.push(" ", "xlink:href", '="', escapeTextForBrowser(value), '"'); break; case "contentEditable": case "spellCheck": case "draggable": case "value": case "autoReverse": case "externalResourcesRequired": case "focusable": case "preserveAlpha": "function" !== typeof value && "symbol" !== typeof value && target.push(" ", name, '="', escapeTextForBrowser(value), '"'); break; case "inert": case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": value && "function" !== typeof value && "symbol" !== typeof value && target.push(" ", name, '=""'); break; case "capture": case "download": !0 === value ? target.push(" ", name, '=""') : !1 !== value && "function" !== typeof value && "symbol" !== typeof value && target.push(" ", name, '="', escapeTextForBrowser(value), '"'); break; case "cols": case "rows": case "size": case "span": "function" !== typeof value && "symbol" !== typeof value && !isNaN(value) && 1 <= value && target.push(" ", name, '="', escapeTextForBrowser(value), '"'); break; case "rowSpan": case "start": "function" === typeof value || "symbol" === typeof value || isNaN(value) || target.push(" ", name, '="', escapeTextForBrowser(value), '"'); break; case "xlinkActuate": pushStringAttribute(target, "xlink:actuate", value); break; case "xlinkArcrole": pushStringAttribute(target, "xlink:arcrole", value); break; case "xlinkRole": pushStringAttribute(target, "xlink:role", value); break; case "xlinkShow": pushStringAttribute(target, "xlink:show", value); break; case "xlinkTitle": pushStringAttribute(target, "xlink:title", value); break; case "xlinkType": pushStringAttribute(target, "xlink:type", value); break; case "xmlBase": pushStringAttribute(target, "xml:base", value); break; case "xmlLang": pushStringAttribute(target, "xml:lang", value); break; case "xmlSpace": pushStringAttribute(target, "xml:space", value); break; default: if ( !(2 < name.length) || ("o" !== name[0] && "O" !== name[0]) || ("n" !== name[1] && "N" !== name[1]) ) if (((name = aliases.get(name) || name), isAttributeNameSafe(name))) { switch (typeof value) { case "function": case "symbol": return; case "boolean": var prefix$8 = name.toLowerCase().slice(0, 5); if ("data-" !== prefix$8 && "aria-" !== prefix$8) return; } target.push(" ", name, '="', escapeTextForBrowser(value), '"'); } } } function pushInnerHTML(target, innerHTML, children) { if (null != innerHTML) { if (null != children) throw Error( "Can only set one of `children` or `props.dangerouslySetInnerHTML`." ); if ("object" !== typeof innerHTML || !("__html" in innerHTML)) throw Error( "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information." ); innerHTML = innerHTML.__html; null !== innerHTML && void 0 !== innerHTML && target.push("" + innerHTML); } } function flattenOptionChildren(children) { var content = ""; React.Children.forEach(children, function (child) { null != child && (content += child); }); return content; } function injectFormReplayingRuntime(resumableState, renderState) { 0 === (resumableState.instructions & 16) && ((resumableState.instructions |= 16), renderState.bootstrapChunks.unshift( renderState.startInlineScript, 'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});', "\x3c/script>" )); } function pushLinkImpl(target, props) { target.push(startChunkForTag("link")); for (var propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": case "dangerouslySetInnerHTML": throw Error( "link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); default: pushAttribute(target, propKey, propValue); } } target.push("/>"); return null; } var styleRegex = /(<\/|<)(s)(tyle)/gi; function styleReplacer(match, prefix, s, suffix) { return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix; } function pushSelfClosing(target, props, tag) { target.push(startChunkForTag(tag)); for (var propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": case "dangerouslySetInnerHTML": throw Error( tag + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); default: pushAttribute(target, propKey, propValue); } } target.push("/>"); return null; } function pushTitleImpl(target, props) { target.push(startChunkForTag("title")); var children = null, innerHTML = null, propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": children = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; default: pushAttribute(target, propKey, propValue); } } target.push(">"); props = Array.isArray(children) ? 2 > children.length ? children[0] : null : children; "function" !== typeof props && "symbol" !== typeof props && null !== props && void 0 !== props && target.push(escapeTextForBrowser("" + props)); pushInnerHTML(target, innerHTML, children); target.push(endChunkForTag("title")); return null; } function pushScriptImpl(target, props) { target.push(startChunkForTag("script")); var children = null, innerHTML = null, propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": children = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; default: pushAttribute(target, propKey, propValue); } } target.push(">"); pushInnerHTML(target, innerHTML, children); "string" === typeof children && target.push(("" + children).replace(scriptRegex, scriptReplacer)); target.push(endChunkForTag("script")); return null; } function pushStartGenericElement(target, props, tag) { target.push(startChunkForTag(tag)); var innerHTML = (tag = null), propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": tag = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; default: pushAttribute(target, propKey, propValue); } } target.push(">"); pushInnerHTML(target, innerHTML, tag); return "string" === typeof tag ? (target.push(escapeTextForBrowser(tag)), null) : tag; } var VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, validatedTagCache = new Map(); function startChunkForTag(tag) { var tagStartChunk = validatedTagCache.get(tag); if (void 0 === tagStartChunk) { if (!VALID_TAG_REGEX.test(tag)) throw Error("Invalid tag: " + tag); tagStartChunk = "<" + tag; validatedTagCache.set(tag, tagStartChunk); } return tagStartChunk; } function pushStartInstance( target$jscomp$0, type, props, resumableState, renderState, hoistableState, formatContext, textEmbedded, isFallback ) { switch (type) { case "div": case "span": case "svg": case "path": break; case "a": target$jscomp$0.push(startChunkForTag("a")); var children = null, innerHTML = null, propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": children = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; case "href": "" === propValue ? pushStringAttribute(target$jscomp$0, "href", "") : pushAttribute(target$jscomp$0, propKey, propValue); break; default: pushAttribute(target$jscomp$0, propKey, propValue); } } target$jscomp$0.push(">"); pushInnerHTML(target$jscomp$0, innerHTML, children); if ("string" === typeof children) { target$jscomp$0.push(escapeTextForBrowser(children)); var JSCompiler_inline_result = null; } else JSCompiler_inline_result = children; return JSCompiler_inline_result; case "g": case "p": case "li": break; case "select": target$jscomp$0.push(startChunkForTag("select")); var children$jscomp$0 = null, innerHTML$jscomp$0 = null, propKey$jscomp$0; for (propKey$jscomp$0 in props) if (hasOwnProperty.call(props, propKey$jscomp$0)) { var propValue$jscomp$0 = props[propKey$jscomp$0]; if (null != propValue$jscomp$0) switch (propKey$jscomp$0) { case "children": children$jscomp$0 = propValue$jscomp$0; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$0 = propValue$jscomp$0; break; case "defaultValue": case "value": break; default: pushAttribute( target$jscomp$0, propKey$jscomp$0, propValue$jscomp$0 ); } } target$jscomp$0.push(">"); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0); return children$jscomp$0; case "option": var selectedValue = formatContext.selectedValue; target$jscomp$0.push(startChunkForTag("option")); var children$jscomp$1 = null, value = null, selected = null, innerHTML$jscomp$1 = null, propKey$jscomp$1; for (propKey$jscomp$1 in props) if (hasOwnProperty.call(props, propKey$jscomp$1)) { var propValue$jscomp$1 = props[propKey$jscomp$1]; if (null != propValue$jscomp$1) switch (propKey$jscomp$1) { case "children": children$jscomp$1 = propValue$jscomp$1; break; case "selected": selected = propValue$jscomp$1; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$1 = propValue$jscomp$1; break; case "value": value = propValue$jscomp$1; default: pushAttribute( target$jscomp$0, propKey$jscomp$1, propValue$jscomp$1 ); } } if (null != selectedValue) { var stringValue = null !== value ? "" + value : flattenOptionChildren(children$jscomp$1); if (isArrayImpl(selectedValue)) for (var i = 0; i < selectedValue.length; i++) { if ("" + selectedValue[i] === stringValue) { target$jscomp$0.push(' selected=""'); break; } } else "" + selectedValue === stringValue && target$jscomp$0.push(' selected=""'); } else selected && target$jscomp$0.push(' selected=""'); target$jscomp$0.push(">"); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$1, children$jscomp$1); return children$jscomp$1; case "textarea": target$jscomp$0.push(startChunkForTag("textarea")); var value$jscomp$0 = null, defaultValue = null, children$jscomp$2 = null, propKey$jscomp$2; for (propKey$jscomp$2 in props) if (hasOwnProperty.call(props, propKey$jscomp$2)) { var propValue$jscomp$2 = props[propKey$jscomp$2]; if (null != propValue$jscomp$2) switch (propKey$jscomp$2) { case "children": children$jscomp$2 = propValue$jscomp$2; break; case "value": value$jscomp$0 = propValue$jscomp$2; break; case "defaultValue": defaultValue = propValue$jscomp$2; break; case "dangerouslySetInnerHTML": throw Error( "`dangerouslySetInnerHTML` does not make sense on <textarea>." ); default: pushAttribute( target$jscomp$0, propKey$jscomp$2, propValue$jscomp$2 ); } } null === value$jscomp$0 && null !== defaultValue && (value$jscomp$0 = defaultValue); target$jscomp$0.push(">"); if (null != children$jscomp$2) { if (null != value$jscomp$0) throw Error( "If you supply `defaultValue` on a <textarea>, do not pass children." ); if (isArrayImpl(children$jscomp$2)) { if (1 < children$jscomp$2.length) throw Error("<textarea> can only have at most one child."); value$jscomp$0 = "" + children$jscomp$2[0]; } value$jscomp$0 = "" + children$jscomp$2; } "string" === typeof value$jscomp$0 && "\n" === value$jscomp$0[0] && target$jscomp$0.push("\n"); null !== value$jscomp$0 && target$jscomp$0.push(escapeTextForBrowser("" + value$jscomp$0)); return null; case "input": target$jscomp$0.push(startChunkForTag("input")); var name = null, formAction = null, formEncType = null, formMethod = null, formTarget = null, value$jscomp$1 = null, defaultValue$jscomp$0 = null, checked = null, defaultChecked = null, propKey$jscomp$3; for (propKey$jscomp$3 in props) if (hasOwnProperty.call(props, propKey$jscomp$3)) { var propValue$jscomp$3 = props[propKey$jscomp$3]; if (null != propValue$jscomp$3) switch (propKey$jscomp$3) { case "children": case "dangerouslySetInnerHTML": throw Error( "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); case "name": name = propValue$jscomp$3; break; case "formAction": formAction = propValue$jscomp$3; break; case "formEncType": formEncType = propValue$jscomp$3; break; case "formMethod": formMethod = propValue$jscomp$3; break; case "formTarget": formTarget = propValue$jscomp$3; break; case "defaultChecked": defaultChecked = propValue$jscomp$3; break; case "defaultValue": defaultValue$jscomp$0 = propValue$jscomp$3; break; case "checked": checked = propValue$jscomp$3; break; case "value": value$jscomp$1 = propValue$jscomp$3; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$3, propValue$jscomp$3 ); } } var formData = pushFormActionAttribute( target$jscomp$0, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name ); null !== checked ? pushBooleanAttribute(target$jscomp$0, "checked", checked) : null !== defaultChecked && pushBooleanAttribute(target$jscomp$0, "checked", defaultChecked); null !== value$jscomp$1 ? pushAttribute(target$jscomp$0, "value", value$jscomp$1) : null !== defaultValue$jscomp$0 && pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0); target$jscomp$0.push("/>"); null != formData && formData.forEach(pushAdditionalFormField, target$jscomp$0); return null; case "button": target$jscomp$0.push(startChunkForTag("button")); var children$jscomp$3 = null, innerHTML$jscomp$2 = null, name$jscomp$0 = null, formAction$jscomp$0 = null, formEncType$jscomp$0 = null, formMethod$jscomp$0 = null, formTarget$jscomp$0 = null, propKey$jscomp$4; for (propKey$jscomp$4 in props) if (hasOwnProperty.call(props, propKey$jscomp$4)) { var propValue$jscomp$4 = props[propKey$jscomp$4]; if (null != propValue$jscomp$4) switch (propKey$jscomp$4) { case "children": children$jscomp$3 = propValue$jscomp$4; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$2 = propValue$jscomp$4; break; case "name": name$jscomp$0 = propValue$jscomp$4; break; case "formAction": formAction$jscomp$0 = propValue$jscomp$4; break; case "formEncType": formEncType$jscomp$0 = propValue$jscomp$4; break; case "formMethod": formMethod$jscomp$0 = propValue$jscomp$4; break; case "formTarget": formTarget$jscomp$0 = propValue$jscomp$4; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$4, propValue$jscomp$4 ); } } var formData$jscomp$0 = pushFormActionAttribute( target$jscomp$0, resumableState, renderState, formAction$jscomp$0, formEncType$jscomp$0, formMethod$jscomp$0, formTarget$jscomp$0, name$jscomp$0 ); target$jscomp$0.push(">"); null != formData$jscomp$0 && formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$2, children$jscomp$3); if ("string" === typeof children$jscomp$3) { target$jscomp$0.push(escapeTextForBrowser(children$jscomp$3)); var JSCompiler_inline_result$jscomp$0 = null; } else JSCompiler_inline_result$jscomp$0 = children$jscomp$3; return JSCompiler_inline_result$jscomp$0; case "form": target$jscomp$0.push(startChunkForTag("form")); var children$jscomp$4 = null, innerHTML$jscomp$3 = null, formAction$jscomp$1 = null, formEncType$jscomp$1 = null, formMethod$jscomp$1 = null, formTarget$jscomp$1 = null, propKey$jscomp$5; for (propKey$jscomp$5 in props) if (hasOwnProperty.call(props, propKey$jscomp$5)) { var propValue$jscomp$5 = props[propKey$jscomp$5]; if (null != propValue$jscomp$5) switch (propKey$jscomp$5) { case "children": children$jscomp$4 = propValue$jscomp$5; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$3 = propValue$jscomp$5; break; case "action": formAction$jscomp$1 = propValue$jscomp$5; break; case "encType": formEncType$jscomp$1 = propValue$jscomp$5; break; case "method": formMethod$jscomp$1 = propValue$jscomp$5; break; case "target": formTarget$jscomp$1 = propValue$jscomp$5; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$5, propValue$jscomp$5 ); } } var formData$jscomp$1 = null, formActionName = null; if ("function" === typeof formAction$jscomp$1) { var customFields = getCustomFormFields( resumableState, formAction$jscomp$1 ); null !== customFields ? ((formAction$jscomp$1 = customFields.action || ""), (formEncType$jscomp$1 = customFields.encType), (formMethod$jscomp$1 = customFields.method), (formTarget$jscomp$1 = customFields.target), (formData$jscomp$1 = customFields.data), (formActionName = customFields.name)) : (target$jscomp$0.push( " ", "action", '="', actionJavaScriptURL, '"' ), (formTarget$jscomp$1 = formMethod$jscomp$1 = formEncType$jscomp$1 = formAction$jscomp$1 = null), injectFormReplayingRuntime(resumableState, renderState)); } null != formAction$jscomp$1 && pushAttribute(target$jscomp$0, "action", formAction$jscomp$1); null != formEncType$jscomp$1 && pushAttribute(target$jscomp$0, "encType", formEncType$jscomp$1); null != formMethod$jscomp$1 && pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1); null != formTarget$jscomp$1 && pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1); target$jscomp$0.push(">"); null !== formActionName && (target$jscomp$0.push('<input type="hidden"'), pushStringAttribute(target$jscomp$0, "name", formActionName), target$jscomp$0.push("/>"), null != formData$jscomp$1 && formData$jscomp$1.forEach(pushAdditionalFormField, target$jscomp$0)); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$3, children$jscomp$4); if ("string" === typeof children$jscomp$4) { target$jscomp$0.push(escapeTextForBrowser(children$jscomp$4)); var JSCompiler_inline_result$jscomp$1 = null; } else JSCompiler_inline_result$jscomp$1 = children$jscomp$4; return JSCompiler_inline_result$jscomp$1; case "menuitem": target$jscomp$0.push(startChunkForTag("menuitem")); for (var propKey$jscomp$6 in props) if (hasOwnProperty.call(props, propKey$jscomp$6)) { var propValue$jscomp$6 = props[propKey$jscomp$6]; if (null != propValue$jscomp$6) switch (propKey$jscomp$6) { case "children": case "dangerouslySetInnerHTML": throw Error( "menuitems cannot have `children` nor `dangerouslySetInnerHTML`." ); default: pushAttribute( target$jscomp$0, propKey$jscomp$6, propValue$jscomp$6 ); } } target$jscomp$0.push(">"); return null; case "object": target$jscomp$0.push(startChunkForTag("object")); var children$jscomp$5 = null, innerHTML$jscomp$4 = null, propKey$jscomp$7; for (propKey$jscomp$7 in props) if (hasOwnProperty.call(props, propKey$jscomp$7)) { var propValue$jscomp$7 = props[propKey$jscomp$7]; if (null != propValue$jscomp$7) switch (propKey$jscomp$7) { case "children": children$jscomp$5 = propValue$jscomp$7; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$4 = propValue$jscomp$7; break; case "data": var sanitizedValue = sanitizeURL("" + propValue$jscomp$7); if ("" === sanitizedValue) break; target$jscomp$0.push( " ", "data", '="', escapeTextForBrowser(sanitizedValue), '"' ); break; default: pushAttribute( target$jscomp$0, propKey$jscomp$7, propValue$jscomp$7 ); } } target$jscomp$0.push(">"); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5); if ("string" === typeof children$jscomp$5) { target$jscomp$0.push(escapeTextForBrowser(children$jscomp$5)); var JSCompiler_inline_result$jscomp$2 = null; } else JSCompiler_inline_result$jscomp$2 = children$jscomp$5; return JSCompiler_inline_result$jscomp$2; case "title": if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp ) var JSCompiler_inline_result$jscomp$3 = pushTitleImpl( target$jscomp$0, props ); else isFallback ? (JSCompiler_inline_result$jscomp$3 = null) : (pushTitleImpl(renderState.hoistableChunks, props), (JSCompiler_inline_result$jscomp$3 = void 0)); return JSCompiler_inline_result$jscomp$3; case "link": var rel = props.rel, href = props.href, precedence = props.precedence; if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp || "string" !== typeof rel || "string" !== typeof href || "" === href ) { pushLinkImpl(target$jscomp$0, props); var JSCompiler_inline_result$jscomp$4 = null; } else if ("stylesheet" === props.rel) if ( "string" !== typeof precedence || null != props.disabled || props.onLoad || props.onError ) JSCompiler_inline_result$jscomp$4 = pushLinkImpl( target$jscomp$0, props ); else { var styleQueue = renderState.styles.get(precedence), resourceState = resumableState.styleResources.hasOwnProperty(href) ? resumableState.styleResources[href] : void 0; if (null !== resourceState) { resumableState.styleResources[href] = null; styleQueue || ((styleQueue = { precedence: escapeTextForBrowser(precedence), rules: [], hrefs: [], sheets: new Map() }), renderState.styles.set(precedence, styleQueue)); var resource = { state: 0, props: assign({}, props, { "data-precedence": props.precedence, precedence: null }) }; if (resourceState) { 2 === resourceState.length && adoptPreloadCredentials(resource.props, resourceState); var preloadResource = renderState.preloads.stylesheets.get(href); preloadResource && 0 < preloadResource.length ? (preloadResource.length = 0) : (resource.state = 1); } styleQueue.sheets.set(href, resource); hoistableState && hoistableState.stylesheets.add(resource); } else if (styleQueue) { var resource$9 = styleQueue.sheets.get(href); resource$9 && hoistableState && hoistableState.stylesheets.add(resource$9); } textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"); JSCompiler_inline_result$jscomp$4 = null; } else props.onLoad || props.onError ? (JSCompiler_inline_result$jscomp$4 = pushLinkImpl( target$jscomp$0, props )) : (textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"), (JSCompiler_inline_result$jscomp$4 = isFallback ? null : pushLinkImpl(renderState.hoistableChunks, props))); return JSCompiler_inline_result$jscomp$4; case "script": var asyncProp = props.async; if ( "string" !== typeof props.src || !props.src || !asyncProp || "function" === typeof asyncProp || "symbol" === typeof asyncProp || props.onLoad || props.onError || 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp ) var JSCompiler_inline_result$jscomp$5 = pushScriptImpl( target$jscomp$0, props ); else { var key = props.src; if ("module" === props.type) { var resources = resumableState.moduleScriptResources; var preloads = renderState.preloads.moduleScripts; } else (resources = resumableState.scriptResources), (preloads = renderState.preloads.scripts); var resourceState$jscomp$0 = resources.hasOwnProperty(key) ? resources[key] : void 0; if (null !== resourceState$jscomp$0) { resources[key] = null; var scriptProps = props; if (resourceState$jscomp$0) { 2 === resourceState$jscomp$0.length && ((scriptProps = assign({}, props)), adoptPreloadCredentials(scriptProps, resourceState$jscomp$0)); var preloadResource$jscomp$0 = preloads.get(key); preloadResource$jscomp$0 && (preloadResource$jscomp$0.length = 0); } var resource$jscomp$0 = []; renderState.scripts.add(resource$jscomp$0); pushScriptImpl(resource$jscomp$0, scriptProps); } textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"); JSCompiler_inline_result$jscomp$5 = null; } return JSCompiler_inline_result$jscomp$5; case "style": var precedence$jscomp$0 = props.precedence, href$jscomp$0 = props.href; if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp || "string" !== typeof precedence$jscomp$0 || "string" !== typeof href$jscomp$0 || "" === href$jscomp$0 ) { target$jscomp$0.push(startChunkForTag("style")); var children$jscomp$6 = null, innerHTML$jscomp$5 = null, propKey$jscomp$8; for (propKey$jscomp$8 in props) if (hasOwnProperty.call(props, propKey$jscomp$8)) { var propValue$jscomp$8 = props[propKey$jscomp$8]; if (null != propValue$jscomp$8) switch (propKey$jscomp$8) { case "children": children$jscomp$6 = propValue$jscomp$8; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$5 = propValue$jscomp$8; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$8, propValue$jscomp$8 ); } } target$jscomp$0.push(">"); var child = Array.isArray(children$jscomp$6) ? 2 > children$jscomp$6.length ? children$jscomp$6[0] : null : children$jscomp$6; "function" !== typeof child && "symbol" !== typeof child && null !== child && void 0 !== child && target$jscomp$0.push(("" + child).replace(styleRegex, styleReplacer)); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$5, children$jscomp$6); target$jscomp$0.push(endChunkForTag("style")); var JSCompiler_inline_result$jscomp$6 = null; } else { var styleQueue$jscomp$0 = renderState.styles.get(precedence$jscomp$0); if ( null !== (resumableState.styleResources.hasOwnProperty(href$jscomp$0) ? resumableState.styleResources[href$jscomp$0] : void 0) ) { resumableState.styleResources[href$jscomp$0] = null; styleQueue$jscomp$0 ? styleQueue$jscomp$0.hrefs.push( escapeTextForBrowser(href$jscomp$0) ) : ((styleQueue$jscomp$0 = { precedence: escapeTextForBrowser(precedence$jscomp$0), rules: [], hrefs: [escapeTextForBrowser(href$jscomp$0)], sheets: new Map() }), renderState.styles.set(precedence$jscomp$0, styleQueue$jscomp$0)); var target = styleQueue$jscomp$0.rules, children$jscomp$7 = null, innerHTML$jscomp$6 = null, propKey$jscomp$9; for (propKey$jscomp$9 in props) if (hasOwnProperty.call(props, propKey$jscomp$9)) { var propValue$jscomp$9 = props[propKey$jscomp$9]; if (null != propValue$jscomp$9) switch (propKey$jscomp$9) { case "children": children$jscomp$7 = propValue$jscomp$9; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$6 = propValue$jscomp$9; } } var child$jscomp$0 = Array.isArray(children$jscomp$7) ? 2 > children$jscomp$7.length ? children$jscomp$7[0] : null : children$jscomp$7; "function" !== typeof child$jscomp$0 && "symbol" !== typeof child$jscomp$0 && null !== child$jscomp$0 && void 0 !== child$jscomp$0 && target.push( ("" + child$jscomp$0).replace(styleRegex, styleReplacer) ); pushInnerHTML(target, innerHTML$jscomp$6, children$jscomp$7); } styleQueue$jscomp$0 && hoistableState && hoistableState.styles.add(styleQueue$jscomp$0); textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"); JSCompiler_inline_result$jscomp$6 = void 0; } return JSCompiler_inline_result$jscomp$6; case "meta": if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp ) var JSCompiler_inline_result$jscomp$7 = pushSelfClosing( target$jscomp$0, props, "meta" ); else textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"), (JSCompiler_inline_result$jscomp$7 = isFallback ? null : "string" === typeof props.charSet ? pushSelfClosing(renderState.charsetChunks, props, "meta") : "viewport" === props.name ? pushSelfClosing(renderState.viewportChunks, props, "meta") : pushSelfClosing(renderState.hoistableChunks, props, "meta")); return JSCompiler_inline_result$jscomp$7; case "listing": case "pre": target$jscomp$0.push(startChunkForTag(type)); var children$jscomp$8 = null, innerHTML$jscomp$7 = null, propKey$jscomp$10; for (propKey$jscomp$10 in props) if (hasOwnProperty.call(props, propKey$jscomp$10)) { var propValue$jscomp$10 = props[propKey$jscomp$10]; if (null != propValue$jscomp$10) switch (propKey$jscomp$10) { case "children": children$jscomp$8 = propValue$jscomp$10; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$7 = propValue$jscomp$10; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$10, propValue$jscomp$10 ); } } target$jscomp$0.push(">"); if (null != innerHTML$jscomp$7) { if (null != children$jscomp$8) throw Error( "Can only set one of `children` or `props.dangerouslySetInnerHTML`." ); if ( "object" !== typeof innerHTML$jscomp$7 || !("__html" in innerHTML$jscomp$7) ) throw Error( "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information." ); var html = innerHTML$jscomp$7.__html; null !== html && void 0 !== html && ("string" === typeof html && 0 < html.length && "\n" === html[0] ? target$jscomp$0.push("\n", html) : target$jscomp$0.push("" + html)); } "string" === typeof children$jscomp$8 && "\n" === children$jscomp$8[0] && target$jscomp$0.push("\n"); return children$jscomp$8; case "img": var src = props.src, srcSet = props.srcSet; if ( !( "lazy" === props.loading || (!src && !srcSet) || ("string" !== typeof src && null != src) || ("string" !== typeof srcSet && null != srcSet) ) && "low" !== props.fetchPriority && !1 === !!(formatContext.tagScope & 3) && ("string" !== typeof src || ":" !== src[4] || ("d" !== src[0] && "D" !== src[0]) || ("a" !== src[1] && "A" !== src[1]) || ("t" !== src[2] && "T" !== src[2]) || ("a" !== src[3] && "A" !== src[3])) && ("string" !== typeof srcSet || ":" !== srcSet[4] || ("d" !== srcSet[0] && "D" !== srcSet[0]) || ("a" !== srcSet[1] && "A" !== srcSet[1]) || ("t" !== srcSet[2] && "T" !== srcSet[2]) || ("a" !== srcSet[3] && "A" !== srcSet[3])) ) { var sizes = "string" === typeof props.sizes ? props.sizes : void 0, key$jscomp$0 = srcSet ? srcSet + "\n" + (sizes || "") : src, promotablePreloads = renderState.preloads.images, resource$jscomp$1 = promotablePreloads.get(key$jscomp$0); if (resource$jscomp$1) { if ( "high" === props.fetchPriority || 10 > renderState.highImagePreloads.size ) promotablePreloads.delete(key$jscomp$0), renderState.highImagePreloads.add(resource$jscomp$1); } else if ( !resumableState.imageResources.hasOwnProperty(key$jscomp$0) ) { resumableState.imageResources[key$jscomp$0] = PRELOAD_NO_CREDS; var input = props.crossOrigin; var JSCompiler_inline_result$jscomp$8 = "string" === typeof input ? "use-credentials" === input ? input : "" : void 0; var headers = renderState.headers, header; headers && 0 < headers.remainingCapacity && ("high" === props.fetchPriority || 500 > headers.highImagePreloads.length) && ((header = getPreloadAsHeader(src, "image", { imageSrcSet: props.srcSet, imageSizes: props.sizes, crossOrigin: JSCompiler_inline_result$jscomp$8, integrity: props.integrity, nonce: props.nonce, type: props.type, fetchPriority: props.fetchPriority, referrerPolicy: props.refererPolicy })), 0 <= (headers.remainingCapacity -= header.length + 2)) ? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS), headers.highImagePreloads && (headers.highImagePreloads += ", "), (headers.highImagePreloads += header)) : ((resource$jscomp$1 = []), pushLinkImpl(resource$jscomp$1, { rel: "preload", as: "image", href: srcSet ? void 0 : src, imageSrcSet: srcSet, imageSizes: sizes, crossOrigin: JSCompiler_inline_result$jscomp$8, integrity: props.integrity, type: props.type, fetchPriority: props.fetchPriority, referrerPolicy: props.referrerPolicy }), "high" === props.fetchPriority || 10 > renderState.highImagePreloads.size ? renderState.highImagePreloads.add(resource$jscomp$1) : (renderState.bulkPreloads.add(resource$jscomp$1), promotablePreloads.set(key$jscomp$0, resource$jscomp$1))); } } return pushSelfClosing(target$jscomp$0, props, "img"); case "base": case "area": case "br": case "col": case "embed": case "hr": case "keygen": case "param": case "source": case "track": case "wbr": return pushSelfClosing(target$jscomp$0, props, type); case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": break; case "head": if (2 > formatContext.insertionMode && null === renderState.headChunks) { renderState.headChunks = []; var JSCompiler_inline_result$jscomp$9 = pushStartGenericElement( renderState.headChunks, props, "head" ); } else JSCompiler_inline_result$jscomp$9 = pushStartGenericElement( target$jscomp$0, props, "head" ); return JSCompiler_inline_result$jscomp$9; case "html": if ( 0 === formatContext.insertionMode && null === renderState.htmlChunks ) { renderState.htmlChunks = [""]; var JSCompiler_inline_result$jscomp$10 = pushStartGenericElement( renderState.htmlChunks, props, "html" ); } else JSCompiler_inline_result$jscomp$10 = pushStartGenericElement( target$jscomp$0, props, "html" ); return JSCompiler_inline_result$jscomp$10; default: if (-1 !== type.indexOf("-")) { target$jscomp$0.push(startChunkForTag(type)); var children$jscomp$9 = null, innerHTML$jscomp$8 = null, propKey$jscomp$11; for (propKey$jscomp$11 in props) if (hasOwnProperty.call(props, propKey$jscomp$11)) { var propValue$jscomp$11 = props[propKey$jscomp$11]; if (null != propValue$jscomp$11) { var attributeName = propKey$jscomp$11; switch (propKey$jscomp$11) { case "children": children$jscomp$9 = propValue$jscomp$11; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$8 = propValue$jscomp$11; break; case "style": pushStyleAttribute(target$jscomp$0, propValue$jscomp$11); break; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "ref": break; case "className": attributeName = "class"; default: if ( isAttributeNameSafe(propKey$jscomp$11) && "function" !== typeof propValue$jscomp$11 && "symbol" !== typeof propValue$jscomp$11 && !1 !== propValue$jscomp$11 ) { if (!0 === propValue$jscomp$11) propValue$jscomp$11 = ""; else if ("object" === typeof propValue$jscomp$11) continue; target$jscomp$0.push( " ", attributeName, '="', escapeTextForBrowser(propValue$jscomp$11), '"' ); } } } } target$jscomp$0.push(">"); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9); return children$jscomp$9; } } return pushStartGenericElement(target$jscomp$0, props, type); } var endTagCache = new Map(); function endChunkForTag(tag) { var chunk = endTagCache.get(tag); void 0 === chunk && ((chunk = "</" + tag + ">"), endTagCache.set(tag, chunk)); return chunk; } function writeBootstrap(destination, renderState) { renderState = renderState.bootstrapChunks; for (var i = 0; i < renderState.length - 1; i++) destination.push(renderState[i]); return i < renderState.length ? ((i = renderState[i]), (renderState.length = 0), destination.push(i)) : !0; } function writeStartPendingSuspenseBoundary(destination, renderState, id) { destination.push('\x3c!--$?--\x3e<template id="'); if (null === id) throw Error( "An ID must have been assigned before we can complete the boundary." ); destination.push(renderState.boundaryPrefix); renderState = id.toString(16); destination.push(renderState); return destination.push('"></template>'); } function writeStartSegment(destination, renderState, formatContext, id) { switch (formatContext.insertionMode) { case 0: case 1: case 2: return ( destination.push('<div hidden id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); case 3: return ( destination.push('<svg aria-hidden="true" style="display:none" id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); case 4: return ( destination.push('<math aria-hidden="true" style="display:none" id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); case 5: return ( destination.push('<table hidden id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); case 6: return ( destination.push('<table hidden><tbody id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); case 7: return ( destination.push('<table hidden><tr id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); case 8: return ( destination.push('<table hidden><colgroup id="'), destination.push(renderState.segmentPrefix), (renderState = id.toString(16)), destination.push(renderState), destination.push('">') ); default: throw Error("Unknown insertion mode. This is a bug in React."); } } function writeEndSegment(destination, formatContext) { switch (formatContext.insertionMode) { case 0: case 1: case 2: return destination.push("</div>"); case 3: return destination.push("</svg>"); case 4: return destination.push("</math>"); case 5: return destination.push("</table>"); case 6: return destination.push("</tbody></table>"); case 7: return destination.push("</tr></table>"); case 8: return destination.push("</colgroup></table>"); default: throw Error("Unknown insertion mode. This is a bug in React."); } } var regexForJSStringsInInstructionScripts = /[<\u2028\u2029]/g; function escapeJSStringsForInstructionScripts(input) { return JSON.stringify(input).replace( regexForJSStringsInInstructionScripts, function (match) { switch (match) { case "<": return "\\u003c"; case "\u2028": return "\\u2028"; case "\u2029": return "\\u2029"; default: throw Error( "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } ); } var regexForJSStringsInScripts = /[&><\u2028\u2029]/g; function escapeJSObjectForInstructionScripts(input) { return JSON.stringify(input).replace( regexForJSStringsInScripts, function (match) { switch (match) { case "&": return "\\u0026"; case ">": return "\\u003e"; case "<": return "\\u003c"; case "\u2028": return "\\u2028"; case "\u2029": return "\\u2029"; default: throw Error( "escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } ); } var currentlyRenderingBoundaryHasStylesToHoist = !1, destinationHasCapacity = !0; function flushStyleTagsLateForBoundary(styleQueue) { var rules = styleQueue.rules, hrefs = styleQueue.hrefs, i = 0; if (hrefs.length) { this.push('<style media="not all" data-precedence="'); this.push(styleQueue.precedence); for (this.push('" data-href="'); i < hrefs.length - 1; i++) this.push(hrefs[i]), this.push(" "); this.push(hrefs[i]); this.push('">'); for (i = 0; i < rules.length; i++) this.push(rules[i]); destinationHasCapacity = this.push("</style>"); currentlyRenderingBoundaryHasStylesToHoist = !0; rules.length = 0; hrefs.length = 0; } } function hasStylesToHoist(stylesheet) { return 2 !== stylesheet.state ? (currentlyRenderingBoundaryHasStylesToHoist = !0) : !1; } function writeHoistablesForBoundary(destination, hoistableState, renderState) { currentlyRenderingBoundaryHasStylesToHoist = !1; destinationHasCapacity = !0; hoistableState.styles.forEach(flushStyleTagsLateForBoundary, destination); hoistableState.stylesheets.forEach(hasStylesToHoist); currentlyRenderingBoundaryHasStylesToHoist && (renderState.stylesToHoist = !0); return destinationHasCapacity; } function flushResource(resource) { for (var i = 0; i < resource.length; i++) this.push(resource[i]); resource.length = 0; } var stylesheetFlushingQueue = []; function flushStyleInPreamble(stylesheet) { pushLinkImpl(stylesheetFlushingQueue, stylesheet.props); for (var i = 0; i < stylesheetFlushingQueue.length; i++) this.push(stylesheetFlushingQueue[i]); stylesheetFlushingQueue.length = 0; stylesheet.state = 2; } function flushStylesInPreamble(styleQueue) { var hasStylesheets = 0 < styleQueue.sheets.size; styleQueue.sheets.forEach(flushStyleInPreamble, this); styleQueue.sheets.clear(); var rules = styleQueue.rules, hrefs = styleQueue.hrefs; if (!hasStylesheets || hrefs.length) { this.push('<style data-precedence="'); this.push(styleQueue.precedence); styleQueue = 0; if (hrefs.length) { for ( this.push('" data-href="'); styleQueue < hrefs.length - 1; styleQueue++ ) this.push(hrefs[styleQueue]), this.push(" "); this.push(hrefs[styleQueue]); } this.push('">'); for (styleQueue = 0; styleQueue < rules.length; styleQueue++) this.push(rules[styleQueue]); this.push("</style>"); rules.length = 0; hrefs.length = 0; } } function preloadLateStyle(stylesheet) { if (0 === stylesheet.state) { stylesheet.state = 1; var props = stylesheet.props; pushLinkImpl(stylesheetFlushingQueue, { rel: "preload", as: "style", href: stylesheet.props.href, crossOrigin: props.crossOrigin, fetchPriority: props.fetchPriority, integrity: props.integrity, media: props.media, hrefLang: props.hrefLang, referrerPolicy: props.referrerPolicy }); for ( stylesheet = 0; stylesheet < stylesheetFlushingQueue.length; stylesheet++ ) this.push(stylesheetFlushingQueue[stylesheet]); stylesheetFlushingQueue.length = 0; } } function preloadLateStyles(styleQueue) { styleQueue.sheets.forEach(preloadLateStyle, this); styleQueue.sheets.clear(); } function writeStyleResourceDependenciesInJS(destination, hoistableState) { destination.push("["); var nextArrayOpenBrackChunk = "["; hoistableState.stylesheets.forEach(function (resource) { if (2 !== resource.state) if (3 === resource.state) destination.push(nextArrayOpenBrackChunk), (resource = escapeJSObjectForInstructionScripts( "" + resource.props.href )), destination.push(resource), destination.push("]"), (nextArrayOpenBrackChunk = ",["); else { destination.push(nextArrayOpenBrackChunk); var precedence = resource.props["data-precedence"], props = resource.props, coercedHref = sanitizeURL("" + resource.props.href); coercedHref = escapeJSObjectForInstructionScripts(coercedHref); destination.push(coercedHref); precedence = "" + precedence; destination.push(","); precedence = escapeJSObjectForInstructionScripts(precedence); destination.push(precedence); for (var propKey in props) if ( hasOwnProperty.call(props, propKey) && ((precedence = props[propKey]), null != precedence) ) switch (propKey) { case "href": case "rel": case "precedence": case "data-precedence": break; case "children": case "dangerouslySetInnerHTML": throw Error( "link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); default: writeStyleResourceAttributeInJS( destination, propKey, precedence ); } destination.push("]"); nextArrayOpenBrackChunk = ",["; resource.state = 3; } }); destination.push("]"); } function writeStyleResourceAttributeInJS(destination, name, value) { var attributeName = name.toLowerCase(); switch (typeof value) { case "function": case "symbol": return; } switch (name) { case "innerHTML": case "dangerouslySetInnerHTML": case "suppressContentEditableWarning": case "suppressHydrationWarning": case "style": case "ref": return; case "className": attributeName = "class"; name = "" + value; break; case "hidden": if (!1 === value) return; name = ""; break; case "src": case "href": value = sanitizeURL(value); name = "" + value; break; default: if ( (2 < name.length && ("o" === name[0] || "O" === name[0]) && ("n" === name[1] || "N" === name[1])) || !isAttributeNameSafe(name) ) return; name = "" + value; } destination.push(","); attributeName = escapeJSObjectForInstructionScripts(attributeName); destination.push(attributeName); destination.push(","); attributeName = escapeJSObjectForInstructionScripts(name); destination.push(attributeName); } function createHoistableState() { return { styles: new Set(), stylesheets: new Set() }; } function prefetchDNS(href) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if ("string" === typeof href && href) { if (!resumableState.dnsResources.hasOwnProperty(href)) { resumableState.dnsResources[href] = null; resumableState = renderState.headers; var header, JSCompiler_temp; if ( (JSCompiler_temp = resumableState && 0 < resumableState.remainingCapacity) ) JSCompiler_temp = ((header = "<" + ("" + href).replace( regexForHrefInLinkHeaderURLContext, escapeHrefForLinkHeaderURLContextReplacer ) + ">; rel=dns-prefetch"), 0 <= (resumableState.remainingCapacity -= header.length + 2)); JSCompiler_temp ? ((renderState.resets.dns[href] = null), resumableState.preconnects && (resumableState.preconnects += ", "), (resumableState.preconnects += header)) : ((header = []), pushLinkImpl(header, { href: href, rel: "dns-prefetch" }), renderState.preconnects.add(header)); } enqueueFlush(request); } } else previousDispatcher.D(href); } function preconnect(href, crossOrigin) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if ("string" === typeof href && href) { var bucket = "use-credentials" === crossOrigin ? "credentials" : "string" === typeof crossOrigin ? "anonymous" : "default"; if (!resumableState.connectResources[bucket].hasOwnProperty(href)) { resumableState.connectResources[bucket][href] = null; resumableState = renderState.headers; var header, JSCompiler_temp; if ( (JSCompiler_temp = resumableState && 0 < resumableState.remainingCapacity) ) { JSCompiler_temp = "<" + ("" + href).replace( regexForHrefInLinkHeaderURLContext, escapeHrefForLinkHeaderURLContextReplacer ) + ">; rel=preconnect"; if ("string" === typeof crossOrigin) { var escapedCrossOrigin = ("" + crossOrigin).replace( regexForLinkHeaderQuotedParamValueContext, escapeStringForLinkHeaderQuotedParamValueContextReplacer ); JSCompiler_temp += '; crossorigin="' + escapedCrossOrigin + '"'; } JSCompiler_temp = ((header = JSCompiler_temp), 0 <= (resumableState.remainingCapacity -= header.length + 2)); } JSCompiler_temp ? ((renderState.resets.connect[bucket][href] = null), resumableState.preconnects && (resumableState.preconnects += ", "), (resumableState.preconnects += header)) : ((bucket = []), pushLinkImpl(bucket, { rel: "preconnect", href: href, crossOrigin: crossOrigin }), renderState.preconnects.add(bucket)); } enqueueFlush(request); } } else previousDispatcher.C(href, crossOrigin); } function preload(href, as, options) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (as && href) { switch (as) { case "image": if (options) { var imageSrcSet = options.imageSrcSet; var imageSizes = options.imageSizes; var fetchPriority = options.fetchPriority; } var key = imageSrcSet ? imageSrcSet + "\n" + (imageSizes || "") : href; if (resumableState.imageResources.hasOwnProperty(key)) return; resumableState.imageResources[key] = PRELOAD_NO_CREDS; resumableState = renderState.headers; var header; resumableState && 0 < resumableState.remainingCapacity && "high" === fetchPriority && ((header = getPreloadAsHeader(href, as, options)), 0 <= (resumableState.remainingCapacity -= header.length + 2)) ? ((renderState.resets.image[key] = PRELOAD_NO_CREDS), resumableState.highImagePreloads && (resumableState.highImagePreloads += ", "), (resumableState.highImagePreloads += header)) : ((resumableState = []), pushLinkImpl( resumableState, assign( { rel: "preload", href: imageSrcSet ? void 0 : href, as: as }, options ) ), "high" === fetchPriority ? renderState.highImagePreloads.add(resumableState) : (renderState.bulkPreloads.add(resumableState), renderState.preloads.images.set(key, resumableState))); break; case "style": if (resumableState.styleResources.hasOwnProperty(href)) return; imageSrcSet = []; pushLinkImpl( imageSrcSet, assign({ rel: "preload", href: href, as: as }, options) ); resumableState.styleResources[href] = !options || ("string" !== typeof options.crossOrigin && "string" !== typeof options.integrity) ? PRELOAD_NO_CREDS : [options.crossOrigin, options.integrity]; renderState.preloads.stylesheets.set(href, imageSrcSet); renderState.bulkPreloads.add(imageSrcSet); break; case "script": if (resumableState.scriptResources.hasOwnProperty(href)) return; imageSrcSet = []; renderState.preloads.scripts.set(href, imageSrcSet); renderState.bulkPreloads.add(imageSrcSet); pushLinkImpl( imageSrcSet, assign({ rel: "preload", href: href, as: as }, options) ); resumableState.scriptResources[href] = !options || ("string" !== typeof options.crossOrigin && "string" !== typeof options.integrity) ? PRELOAD_NO_CREDS : [options.crossOrigin, options.integrity]; break; default: if (resumableState.unknownResources.hasOwnProperty(as)) { if ( ((imageSrcSet = resumableState.unknownResources[as]), imageSrcSet.hasOwnProperty(href)) ) return; } else (imageSrcSet = {}), (resumableState.unknownResources[as] = imageSrcSet); imageSrcSet[href] = PRELOAD_NO_CREDS; if ( (resumableState = renderState.headers) && 0 < resumableState.remainingCapacity && "font" === as && ((key = getPreloadAsHeader(href, as, options)), 0 <= (resumableState.remainingCapacity -= key.length + 2)) ) (renderState.resets.font[href] = PRELOAD_NO_CREDS), resumableState.fontPreloads && (resumableState.fontPreloads += ", "), (resumableState.fontPreloads += key); else switch ( ((resumableState = []), (href = assign({ rel: "preload", href: href, as: as }, options)), pushLinkImpl(resumableState, href), as) ) { case "font": renderState.fontPreloads.add(resumableState); break; default: renderState.bulkPreloads.add(resumableState); } } enqueueFlush(request); } } else previousDispatcher.L(href, as, options); } function preloadModule(href, options) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (href) { var as = options && "string" === typeof options.as ? options.as : "script"; switch (as) { case "script": if (resumableState.moduleScriptResources.hasOwnProperty(href)) return; as = []; resumableState.moduleScriptResources[href] = !options || ("string" !== typeof options.crossOrigin && "string" !== typeof options.integrity) ? PRELOAD_NO_CREDS : [options.crossOrigin, options.integrity]; renderState.preloads.moduleScripts.set(href, as); break; default: if (resumableState.moduleUnknownResources.hasOwnProperty(as)) { var resources = resumableState.unknownResources[as]; if (resources.hasOwnProperty(href)) return; } else (resources = {}), (resumableState.moduleUnknownResources[as] = resources); as = []; resources[href] = PRELOAD_NO_CREDS; } pushLinkImpl(as, assign({ rel: "modulepreload", href: href }, options)); renderState.bulkPreloads.add(as); enqueueFlush(request); } } else previousDispatcher.m(href, options); } function preinitStyle(href, precedence, options) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (href) { precedence = precedence || "default"; var styleQueue = renderState.styles.get(precedence), resourceState = resumableState.styleResources.hasOwnProperty(href) ? resumableState.styleResources[href] : void 0; null !== resourceState && ((resumableState.styleResources[href] = null), styleQueue || ((styleQueue = { precedence: escapeTextForBrowser(precedence), rules: [], hrefs: [], sheets: new Map() }), renderState.styles.set(precedence, styleQueue)), (precedence = { state: 0, props: assign( { rel: "stylesheet", href: href, "data-precedence": precedence }, options ) }), resourceState && (2 === resourceState.length && adoptPreloadCredentials(precedence.props, resourceState), (renderState = renderState.preloads.stylesheets.get(href)) && 0 < renderState.length ? (renderState.length = 0) : (precedence.state = 1)), styleQueue.sheets.set(href, precedence), enqueueFlush(request)); } } else previousDispatcher.S(href, precedence, options); } function preinitScript(src, options) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (src) { var resourceState = resumableState.scriptResources.hasOwnProperty(src) ? resumableState.scriptResources[src] : void 0; null !== resourceState && ((resumableState.scriptResources[src] = null), (options = assign({ src: src, async: !0 }, options)), resourceState && (2 === resourceState.length && adoptPreloadCredentials(options, resourceState), (src = renderState.preloads.scripts.get(src))) && (src.length = 0), (src = []), renderState.scripts.add(src), pushScriptImpl(src, options), enqueueFlush(request)); } } else previousDispatcher.X(src, options); } function preinitModuleScript(src, options) { var request = currentRequest ? currentRequest : null; if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (src) { var resourceState = resumableState.moduleScriptResources.hasOwnProperty( src ) ? resumableState.moduleScriptResources[src] : void 0; null !== resourceState && ((resumableState.moduleScriptResources[src] = null), (options = assign({ src: src, type: "module", async: !0 }, options)), resourceState && (2 === resourceState.length && adoptPreloadCredentials(options, resourceState), (src = renderState.preloads.moduleScripts.get(src))) && (src.length = 0), (src = []), renderState.scripts.add(src), pushScriptImpl(src, options), enqueueFlush(request)); } } else previousDispatcher.M(src, options); } function adoptPreloadCredentials(target, preloadState) { null == target.crossOrigin && (target.crossOrigin = preloadState[0]); null == target.integrity && (target.integrity = preloadState[1]); } function getPreloadAsHeader(href, as, params) { href = ("" + href).replace( regexForHrefInLinkHeaderURLContext, escapeHrefForLinkHeaderURLContextReplacer ); as = ("" + as).replace( regexForLinkHeaderQuotedParamValueContext, escapeStringForLinkHeaderQuotedParamValueContextReplacer ); as = "<" + href + '>; rel=preload; as="' + as + '"'; for (var paramName in params) hasOwnProperty.call(params, paramName) && ((href = params[paramName]), "string" === typeof href && (as += "; " + paramName.toLowerCase() + '="' + ("" + href).replace( regexForLinkHeaderQuotedParamValueContext, escapeStringForLinkHeaderQuotedParamValueContextReplacer ) + '"')); return as; } var regexForHrefInLinkHeaderURLContext = /[<>\r\n]/g; function escapeHrefForLinkHeaderURLContextReplacer(match) { switch (match) { case "<": return "%3C"; case ">": return "%3E"; case "\n": return "%0A"; case "\r": return "%0D"; default: throw Error( "escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } var regexForLinkHeaderQuotedParamValueContext = /["';,\r\n]/g; function escapeStringForLinkHeaderQuotedParamValueContextReplacer(match) { switch (match) { case '"': return "%22"; case "'": return "%27"; case ";": return "%3B"; case ",": return "%2C"; case "\n": return "%0A"; case "\r": return "%0D"; default: throw Error( "escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } function hoistStyleQueueDependency(styleQueue) { this.styles.add(styleQueue); } function hoistStylesheetDependency(stylesheet) { this.stylesheets.add(stylesheet); } function createRenderState(resumableState, generateStaticMarkup) { var idPrefix = resumableState.idPrefix, bootstrapChunks = [], bootstrapScriptContent = resumableState.bootstrapScriptContent, bootstrapScripts = resumableState.bootstrapScripts, bootstrapModules = resumableState.bootstrapModules; void 0 !== bootstrapScriptContent && bootstrapChunks.push( "<script>", ("" + bootstrapScriptContent).replace(scriptRegex, scriptReplacer), "\x3c/script>" ); bootstrapScriptContent = idPrefix + "P:"; var JSCompiler_object_inline_segmentPrefix_1482 = idPrefix + "S:"; idPrefix += "B:"; var JSCompiler_object_inline_preconnects_1496 = new Set(), JSCompiler_object_inline_fontPreloads_1497 = new Set(), JSCompiler_object_inline_highImagePreloads_1498 = new Set(), JSCompiler_object_inline_styles_1499 = new Map(), JSCompiler_object_inline_bootstrapScripts_1500 = new Set(), JSCompiler_object_inline_scripts_1501 = new Set(), JSCompiler_object_inline_bulkPreloads_1502 = new Set(), JSCompiler_object_inline_preloads_1503 = { images: new Map(), stylesheets: new Map(), scripts: new Map(), moduleScripts: new Map() }; if (void 0 !== bootstrapScripts) for (var i = 0; i < bootstrapScripts.length; i++) { var scriptConfig = bootstrapScripts[i], src, crossOrigin = void 0, integrity = void 0, props = { rel: "preload", as: "script", fetchPriority: "low", nonce: void 0 }; "string" === typeof scriptConfig ? (props.href = src = scriptConfig) : ((props.href = src = scriptConfig.src), (props.integrity = integrity = "string" === typeof scriptConfig.integrity ? scriptConfig.integrity : void 0), (props.crossOrigin = crossOrigin = "string" === typeof scriptConfig || null == scriptConfig.crossOrigin ? void 0 : "use-credentials" === scriptConfig.crossOrigin ? "use-credentials" : "")); scriptConfig = resumableState; var href = src; scriptConfig.scriptResources[href] = null; scriptConfig.moduleScriptResources[href] = null; scriptConfig = []; pushLinkImpl(scriptConfig, props); JSCompiler_object_inline_bootstrapScripts_1500.add(scriptConfig); bootstrapChunks.push('<script src="', escapeTextForBrowser(src)); "string" === typeof integrity && bootstrapChunks.push('" integrity="', escapeTextForBrowser(integrity)); "string" === typeof crossOrigin && bootstrapChunks.push( '" crossorigin="', escapeTextForBrowser(crossOrigin) ); bootstrapChunks.push('" async="">\x3c/script>'); } if (void 0 !== bootstrapModules) for ( bootstrapScripts = 0; bootstrapScripts < bootstrapModules.length; bootstrapScripts++ ) (props = bootstrapModules[bootstrapScripts]), (crossOrigin = src = void 0), (integrity = { rel: "modulepreload", fetchPriority: "low", nonce: void 0 }), "string" === typeof props ? (integrity.href = i = props) : ((integrity.href = i = props.src), (integrity.integrity = crossOrigin = "string" === typeof props.integrity ? props.integrity : void 0), (integrity.crossOrigin = src = "string" === typeof props || null == props.crossOrigin ? void 0 : "use-credentials" === props.crossOrigin ? "use-credentials" : "")), (props = resumableState), (scriptConfig = i), (props.scriptResources[scriptConfig] = null), (props.moduleScriptResources[scriptConfig] = null), (props = []), pushLinkImpl(props, integrity), JSCompiler_object_inline_bootstrapScripts_1500.add(props), bootstrapChunks.push( '<script type="module" src="', escapeTextForBrowser(i) ), "string" === typeof crossOrigin && bootstrapChunks.push( '" integrity="', escapeTextForBrowser(crossOrigin) ), "string" === typeof src && bootstrapChunks.push('" crossorigin="', escapeTextForBrowser(src)), bootstrapChunks.push('" async="">\x3c/script>'); return { placeholderPrefix: bootstrapScriptContent, segmentPrefix: JSCompiler_object_inline_segmentPrefix_1482, boundaryPrefix: idPrefix, startInlineScript: "<script>", htmlChunks: null, headChunks: null, externalRuntimeScript: null, bootstrapChunks: bootstrapChunks, importMapChunks: [], onHeaders: void 0, headers: null, resets: { font: {}, dns: {}, connect: { default: {}, anonymous: {}, credentials: {} }, image: {}, style: {} }, charsetChunks: [], viewportChunks: [], hoistableChunks: [], preconnects: JSCompiler_object_inline_preconnects_1496, fontPreloads: JSCompiler_object_inline_fontPreloads_1497, highImagePreloads: JSCompiler_object_inline_highImagePreloads_1498, styles: JSCompiler_object_inline_styles_1499, bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1500, scripts: JSCompiler_object_inline_scripts_1501, bulkPreloads: JSCompiler_object_inline_bulkPreloads_1502, preloads: JSCompiler_object_inline_preloads_1503, stylesToHoist: !1, generateStaticMarkup: generateStaticMarkup }; } function pushTextInstance(target, text, renderState, textEmbedded) { if (renderState.generateStaticMarkup) return target.push(escapeTextForBrowser(text)), !1; "" === text ? (target = textEmbedded) : (textEmbedded && target.push("\x3c!-- --\x3e"), target.push(escapeTextForBrowser(text)), (target = !0)); return target; } function pushSegmentFinale(target, renderState, lastPushedText, textEmbedded) { renderState.generateStaticMarkup || (lastPushedText && textEmbedded && target.push("\x3c!-- --\x3e")); } var bind = Function.prototype.bind, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PORTAL_TYPE: return "Portal"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; } if ("object" === typeof type) switch (type.$$typeof) { case REACT_CONTEXT_TYPE: return (type.displayName || "Context") + ".Provider"; case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type.render; type = type.displayName; type || ((type = innerType.displayName || innerType.name || ""), (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); return type; case REACT_MEMO_TYPE: return ( (innerType = type.displayName || null), null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo" ); case REACT_LAZY_TYPE: innerType = type._payload; type = type._init; try { return getComponentNameFromType(type(innerType)); } catch (x) {} } return null; } var emptyContextObject = {}, currentActiveSnapshot = null; function popToNearestCommonAncestor(prev, next) { if (prev !== next) { prev.context._currentValue2 = prev.parentValue; prev = prev.parent; var parentNext = next.parent; if (null === prev) { if (null !== parentNext) throw Error( "The stacks must reach the root at the same time. This is a bug in React." ); } else { if (null === parentNext) throw Error( "The stacks must reach the root at the same time. This is a bug in React." ); popToNearestCommonAncestor(prev, parentNext); } next.context._currentValue2 = next.value; } } function popAllPrevious(prev) { prev.context._currentValue2 = prev.parentValue; prev = prev.parent; null !== prev && popAllPrevious(prev); } function pushAllNext(next) { var parentNext = next.parent; null !== parentNext && pushAllNext(parentNext); next.context._currentValue2 = next.value; } function popPreviousToCommonLevel(prev, next) { prev.context._currentValue2 = prev.parentValue; prev = prev.parent; if (null === prev) throw Error( "The depth must equal at least at zero before reaching the root. This is a bug in React." ); prev.depth === next.depth ? popToNearestCommonAncestor(prev, next) : popPreviousToCommonLevel(prev, next); } function popNextToCommonLevel(prev, next) { var parentNext = next.parent; if (null === parentNext) throw Error( "The depth must equal at least at zero before reaching the root. This is a bug in React." ); prev.depth === parentNext.depth ? popToNearestCommonAncestor(prev, parentNext) : popNextToCommonLevel(prev, parentNext); next.context._currentValue2 = next.value; } function switchContext(newSnapshot) { var prev = currentActiveSnapshot; prev !== newSnapshot && (null === prev ? pushAllNext(newSnapshot) : null === newSnapshot ? popAllPrevious(prev) : prev.depth === newSnapshot.depth ? popToNearestCommonAncestor(prev, newSnapshot) : prev.depth > newSnapshot.depth ? popPreviousToCommonLevel(prev, newSnapshot) : popNextToCommonLevel(prev, newSnapshot), (currentActiveSnapshot = newSnapshot)); } var classComponentUpdater = { isMounted: function () { return !1; }, enqueueSetState: function (inst, payload) { inst = inst._reactInternals; null !== inst.queue && inst.queue.push(payload); }, enqueueReplaceState: function (inst, payload) { inst = inst._reactInternals; inst.replace = !0; inst.queue = [payload]; }, enqueueForceUpdate: function () {} }, emptyTreeContext = { id: 1, overflow: "" }; function pushTreeContext(baseContext, totalChildren, index) { var baseIdWithLeadingBit = baseContext.id; baseContext = baseContext.overflow; var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; baseIdWithLeadingBit &= ~(1 << baseLength); index += 1; var length = 32 - clz32(totalChildren) + baseLength; if (30 < length) { var numberOfOverflowBits = baseLength - (baseLength % 5); length = ( baseIdWithLeadingBit & ((1 << numberOfOverflowBits) - 1) ).toString(32); baseIdWithLeadingBit >>= numberOfOverflowBits; baseLength -= numberOfOverflowBits; return { id: (1 << (32 - clz32(totalChildren) + baseLength)) | (index << baseLength) | baseIdWithLeadingBit, overflow: length + baseContext }; } return { id: (1 << length) | (index << baseLength) | baseIdWithLeadingBit, overflow: baseContext }; } var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2; function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`" ); function noop$2() {} function trackUsedThenable(thenableState, thenable, index) { index = thenableState[index]; void 0 === index ? thenableState.push(thenable) : index !== thenable && (thenable.then(noop$2, noop$2), (thenable = index)); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; default: "string" === typeof thenable.status ? thenable.then(noop$2, noop$2) : ((thenableState = thenable), (thenableState.status = "pending"), thenableState.then( function (fulfilledValue) { if ("pending" === thenable.status) { var fulfilledThenable = thenable; fulfilledThenable.status = "fulfilled"; fulfilledThenable.value = fulfilledValue; } }, function (error) { if ("pending" === thenable.status) { var rejectedThenable = thenable; rejectedThenable.status = "rejected"; rejectedThenable.reason = error; } } )); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; } suspendedThenable = thenable; throw SuspenseException; } } var suspendedThenable = null; function getSuspendedThenable() { if (null === suspendedThenable) throw Error( "Expected a suspended thenable. This is a bug in React. Please file an issue." ); var thenable = suspendedThenable; suspendedThenable = null; return thenable; } function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, currentlyRenderingComponent = null, currentlyRenderingTask = null, currentlyRenderingRequest = null, currentlyRenderingKeyPath = null, firstWorkInProgressHook = null, workInProgressHook = null, isReRender = !1, didScheduleRenderPhaseUpdate = !1, localIdCounter = 0, actionStateCounter = 0, actionStateMatchingIndex = -1, thenableIndexCounter = 0, thenableState = null, renderPhaseUpdates = null, numberOfReRenders = 0; function resolveCurrentlyRenderingComponent() { if (null === currentlyRenderingComponent) throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem." ); return currentlyRenderingComponent; } function createHook() { if (0 < numberOfReRenders) throw Error("Rendered more hooks than during the previous render"); return { memoizedState: null, queue: null, next: null }; } function createWorkInProgressHook() { null === workInProgressHook ? null === firstWorkInProgressHook ? ((isReRender = !1), (firstWorkInProgressHook = workInProgressHook = createHook())) : ((isReRender = !0), (workInProgressHook = firstWorkInProgressHook)) : null === workInProgressHook.next ? ((isReRender = !1), (workInProgressHook = workInProgressHook.next = createHook())) : ((isReRender = !0), (workInProgressHook = workInProgressHook.next)); return workInProgressHook; } function getThenableStateAfterSuspending() { var state = thenableState; thenableState = null; return state; } function resetHooksState() { currentlyRenderingKeyPath = currentlyRenderingRequest = currentlyRenderingTask = currentlyRenderingComponent = null; didScheduleRenderPhaseUpdate = !1; firstWorkInProgressHook = null; numberOfReRenders = 0; workInProgressHook = renderPhaseUpdates = null; } function basicStateReducer(state, action) { return "function" === typeof action ? action(state) : action; } function useReducer(reducer, initialArg, init) { currentlyRenderingComponent = resolveCurrentlyRenderingComponent(); workInProgressHook = createWorkInProgressHook(); if (isReRender) { var queue = workInProgressHook.queue; initialArg = queue.dispatch; if ( null !== renderPhaseUpdates && ((init = renderPhaseUpdates.get(queue)), void 0 !== init) ) { renderPhaseUpdates.delete(queue); queue = workInProgressHook.memoizedState; do (queue = reducer(queue, init.action)), (init = init.next); while (null !== init); workInProgressHook.memoizedState = queue; return [queue, initialArg]; } return [workInProgressHook.memoizedState, initialArg]; } reducer = reducer === basicStateReducer ? "function" === typeof initialArg ? initialArg() : initialArg : void 0 !== init ? init(initialArg) : initialArg; workInProgressHook.memoizedState = reducer; reducer = workInProgressHook.queue = { last: null, dispatch: null }; reducer = reducer.dispatch = dispatchAction.bind( null, currentlyRenderingComponent, reducer ); return [workInProgressHook.memoizedState, reducer]; } function useMemo(nextCreate, deps) { currentlyRenderingComponent = resolveCurrentlyRenderingComponent(); workInProgressHook = createWorkInProgressHook(); deps = void 0 === deps ? null : deps; if (null !== workInProgressHook) { var prevState = workInProgressHook.memoizedState; if (null !== prevState && null !== deps) { var prevDeps = prevState[1]; a: if (null === prevDeps) prevDeps = !1; else { for (var i = 0; i < prevDeps.length && i < deps.length; i++) if (!objectIs(deps[i], prevDeps[i])) { prevDeps = !1; break a; } prevDeps = !0; } if (prevDeps) return prevState[0]; } } nextCreate = nextCreate(); workInProgressHook.memoizedState = [nextCreate, deps]; return nextCreate; } function dispatchAction(componentIdentity, queue, action) { if (25 <= numberOfReRenders) throw Error( "Too many re-renders. React limits the number of renders to prevent an infinite loop." ); if (componentIdentity === currentlyRenderingComponent) if ( ((didScheduleRenderPhaseUpdate = !0), (componentIdentity = { action: action, next: null }), null === renderPhaseUpdates && (renderPhaseUpdates = new Map()), (action = renderPhaseUpdates.get(queue)), void 0 === action) ) renderPhaseUpdates.set(queue, componentIdentity); else { for (queue = action; null !== queue.next; ) queue = queue.next; queue.next = componentIdentity; } } function unsupportedStartTransition() { throw Error("startTransition cannot be called during server rendering."); } function unsupportedSetOptimisticState() { throw Error("Cannot update optimistic state while rendering."); } function useActionState(action, initialState, permalink) { resolveCurrentlyRenderingComponent(); var actionStateHookIndex = actionStateCounter++, request = currentlyRenderingRequest; if ("function" === typeof action.$$FORM_ACTION) { var nextPostbackStateKey = null, componentKeyPath = currentlyRenderingKeyPath; request = request.formState; var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; if (null !== request && "function" === typeof isSignatureEqual) { var postbackKey = request[1]; isSignatureEqual.call(action, request[2], request[3]) && ((nextPostbackStateKey = void 0 !== permalink ? "p" + permalink : "k" + murmurhash3_32_gc( JSON.stringify([componentKeyPath, null, actionStateHookIndex]), 0 )), postbackKey === nextPostbackStateKey && ((actionStateMatchingIndex = actionStateHookIndex), (initialState = request[0]))); } var boundAction = action.bind(null, initialState); action = function (payload) { boundAction(payload); }; "function" === typeof boundAction.$$FORM_ACTION && (action.$$FORM_ACTION = function (prefix) { prefix = boundAction.$$FORM_ACTION(prefix); void 0 !== permalink && ((permalink += ""), (prefix.action = permalink)); var formData = prefix.data; formData && (null === nextPostbackStateKey && (nextPostbackStateKey = void 0 !== permalink ? "p" + permalink : "k" + murmurhash3_32_gc( JSON.stringify([ componentKeyPath, null, actionStateHookIndex ]), 0 )), formData.append("$ACTION_KEY", nextPostbackStateKey)); return prefix; }); return [initialState, action, !1]; } var boundAction$22 = action.bind(null, initialState); return [ initialState, function (payload) { boundAction$22(payload); }, !1 ]; } function unwrapThenable(thenable) { var index = thenableIndexCounter; thenableIndexCounter += 1; null === thenableState && (thenableState = []); return trackUsedThenable(thenableState, thenable, index); } function unsupportedRefresh() { throw Error("Cache cannot be refreshed during server rendering."); } function noop$1() {} var HooksDispatcher = { readContext: function (context) { return context._currentValue2; }, use: function (usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return unwrapThenable(usable); if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2; } throw Error("An unsupported type was passed to use(): " + String(usable)); }, useContext: function (context) { resolveCurrentlyRenderingComponent(); return context._currentValue2; }, useMemo: useMemo, useReducer: useReducer, useRef: function (initialValue) { currentlyRenderingComponent = resolveCurrentlyRenderingComponent(); workInProgressHook = createWorkInProgressHook(); var previousRef = workInProgressHook.memoizedState; return null === previousRef ? ((initialValue = { current: initialValue }), (workInProgressHook.memoizedState = initialValue)) : previousRef; }, useState: function (initialState) { return useReducer(basicStateReducer, initialState); }, useInsertionEffect: noop$1, useLayoutEffect: noop$1, useCallback: function (callback, deps) { return useMemo(function () { return callback; }, deps); }, useImperativeHandle: noop$1, useEffect: noop$1, useDebugValue: noop$1, useDeferredValue: function (value, initialValue) { resolveCurrentlyRenderingComponent(); return void 0 !== initialValue ? initialValue : value; }, useTransition: function () { resolveCurrentlyRenderingComponent(); return [!1, unsupportedStartTransition]; }, useId: function () { var JSCompiler_inline_result = currentlyRenderingTask.treeContext; var overflow = JSCompiler_inline_result.overflow; JSCompiler_inline_result = JSCompiler_inline_result.id; JSCompiler_inline_result = ( JSCompiler_inline_result & ~(1 << (32 - clz32(JSCompiler_inline_result) - 1)) ).toString(32) + overflow; var resumableState = currentResumableState; if (null === resumableState) throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component." ); overflow = localIdCounter++; JSCompiler_inline_result = ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result; 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32)); return JSCompiler_inline_result + ":"; }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { if (void 0 === getServerSnapshot) throw Error( "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering." ); return getServerSnapshot(); }, useCacheRefresh: function () { return unsupportedRefresh; }, useMemoCache: function (size) { for (var data = Array(size), i = 0; i < size; i++) data[i] = REACT_MEMO_CACHE_SENTINEL; return data; }, useHostTransitionStatus: function () { resolveCurrentlyRenderingComponent(); return sharedNotPendingObject; }, useOptimistic: function (passthrough) { resolveCurrentlyRenderingComponent(); return [passthrough, unsupportedSetOptimisticState]; } }; HooksDispatcher.useFormState = useActionState; HooksDispatcher.useActionState = useActionState; var currentResumableState = null, DefaultAsyncDispatcher = { getCacheForType: function () { throw Error("Not implemented."); } }, prefix, suffix; function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = (match && match[1]) || ""; suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix; } var reentry = !1; function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; reentry = !0; var previousPrepareStackTrace = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { var RunInRootFrame = { DetermineComponentFrameRoot: function () { try { if (construct) { var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function () { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$24) { control = x$24; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$25) { control = x$25; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function () {}); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor( RunInRootFrame.DetermineComponentFrameRoot, "name" ); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty( RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for ( namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot"); ) RunInRootFrame++; for ( ; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes( "DetermineComponentFrameRoot" ); ) namePropDescriptor++; if ( RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length ) for ( RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]; ) namePropDescriptor--; for ( ; 1 <= RunInRootFrame && 0 <= namePropDescriptor; RunInRootFrame--, namePropDescriptor-- ) if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) { if (1 !== RunInRootFrame || 1 !== namePropDescriptor) { do if ( (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) ) { var frame = "\n" + sampleLines[RunInRootFrame].replace(" at new ", " at "); fn.displayName && frame.includes("<anonymous>") && (frame = frame.replace("<anonymous>", fn.displayName)); return frame; } while (1 <= RunInRootFrame && 0 <= namePropDescriptor); } break; } } } finally { (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace); } return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : ""; } function describeComponentStackByType(type) { if ("string" === typeof type) return describeBuiltInComponentFrame(type); if ("function" === typeof type) return type.prototype && type.prototype.isReactComponent ? ((type = describeNativeComponentFrame(type, !0)), type) : describeNativeComponentFrame(type, !1); if ("object" === typeof type && null !== type) { switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: return describeNativeComponentFrame(type.render, !1); case REACT_MEMO_TYPE: return describeNativeComponentFrame(type.type, !1); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload; lazyComponent = lazyComponent._init; try { type = lazyComponent(payload); } catch (x) { return describeBuiltInComponentFrame("Lazy"); } return describeComponentStackByType(type); } if ("string" === typeof type.name) return ( (payload = type.env), describeBuiltInComponentFrame( type.name + (payload ? " [" + payload + "]" : "") ) ); } switch (type) { case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); case REACT_SUSPENSE_TYPE: return describeBuiltInComponentFrame("Suspense"); } return ""; } function defaultErrorHandler(error) { if ( "object" === typeof error && null !== error && "string" === typeof error.environmentName ) { var JSCompiler_inline_result = error.environmentName; error = [error].slice(0); "string" === typeof error[0] ? error.splice( 0, 1, "[%s] " + error[0], " " + JSCompiler_inline_result + " " ) : error.splice(0, 0, "[%s] ", " " + JSCompiler_inline_result + " "); error.unshift(console); JSCompiler_inline_result = bind.apply(console.error, error); JSCompiler_inline_result(); } else console.error(error); return null; } function noop() {} function RequestInstance( resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, formState ) { var abortSet = new Set(); this.destination = null; this.flushScheduled = !1; this.resumableState = resumableState; this.renderState = renderState; this.rootFormatContext = rootFormatContext; this.progressiveChunkSize = void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize; this.status = 10; this.fatalError = null; this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0; this.completedRootSegment = null; this.abortableTasks = abortSet; this.pingedTasks = []; this.clientRenderedBoundaries = []; this.completedBoundaries = []; this.partialBoundaries = []; this.trackedPostpones = null; this.onError = void 0 === onError ? defaultErrorHandler : onError; this.onPostpone = void 0 === onPostpone ? noop : onPostpone; this.onAllReady = void 0 === onAllReady ? noop : onAllReady; this.onShellReady = void 0 === onShellReady ? noop : onShellReady; this.onShellError = void 0 === onShellError ? noop : onShellError; this.onFatalError = void 0 === onFatalError ? noop : onFatalError; this.formState = void 0 === formState ? null : formState; } function createRequest( children, resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, formState ) { resumableState = new RequestInstance( resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, formState ); renderState = createPendingSegment( resumableState, 0, null, rootFormatContext, !1, !1 ); renderState.parentFlushed = !0; children = createRenderTask( resumableState, null, children, -1, null, renderState, null, resumableState.abortableTasks, null, rootFormatContext, null, emptyTreeContext, null, !1 ); pushComponentStack(children); resumableState.pingedTasks.push(children); return resumableState; } var currentRequest = null; function pingTask(request, task) { request.pingedTasks.push(task); 1 === request.pingedTasks.length && ((request.flushScheduled = null !== request.destination), performWork(request)); } function createSuspenseBoundary(request, fallbackAbortableTasks) { return { status: 0, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, completedSegments: [], byteSize: 0, fallbackAbortableTasks: fallbackAbortableTasks, errorDigest: null, contentState: createHoistableState(), fallbackState: createHoistableState(), trackedContentKeyPath: null, trackedFallbackNode: null }; } function createRenderTask( request, thenableState, node, childIndex, blockedBoundary, blockedSegment, hoistableState, abortSet, keyPath, formatContext, context, treeContext, componentStack, isFallback ) { request.allPendingTasks++; null === blockedBoundary ? request.pendingRootTasks++ : blockedBoundary.pendingTasks++; var task = { replay: null, node: node, childIndex: childIndex, ping: function () { return pingTask(request, task); }, blockedBoundary: blockedBoundary, blockedSegment: blockedSegment, hoistableState: hoistableState, abortSet: abortSet, keyPath: keyPath, formatContext: formatContext, context: context, treeContext: treeContext, componentStack: componentStack, thenableState: thenableState, isFallback: isFallback }; abortSet.add(task); return task; } function createReplayTask( request, thenableState, replay, node, childIndex, blockedBoundary, hoistableState, abortSet, keyPath, formatContext, context, treeContext, componentStack, isFallback ) { request.allPendingTasks++; null === blockedBoundary ? request.pendingRootTasks++ : blockedBoundary.pendingTasks++; replay.pendingTasks++; var task = { replay: replay, node: node, childIndex: childIndex, ping: function () { return pingTask(request, task); }, blockedBoundary: blockedBoundary, blockedSegment: null, hoistableState: hoistableState, abortSet: abortSet, keyPath: keyPath, formatContext: formatContext, context: context, treeContext: treeContext, componentStack: componentStack, thenableState: thenableState, isFallback: isFallback }; abortSet.add(task); return task; } function createPendingSegment( request, index, boundary, parentFormatContext, lastPushedText, textEmbedded ) { return { status: 0, id: -1, index: index, parentFlushed: !1, chunks: [], children: [], parentFormatContext: parentFormatContext, boundary: boundary, lastPushedText: lastPushedText, textEmbedded: textEmbedded }; } function pushComponentStack(task) { var node = task.node; if ("object" === typeof node && null !== node) switch (node.$$typeof) { case REACT_ELEMENT_TYPE: task.componentStack = { parent: task.componentStack, type: node.type }; } } function getThrownInfo(node$jscomp$0) { var errorInfo = {}; node$jscomp$0 && Object.defineProperty(errorInfo, "componentStack", { configurable: !0, enumerable: !0, get: function () { try { var info = "", node = node$jscomp$0; do (info += describeComponentStackByType(node.type)), (node = node.parent); while (node); var JSCompiler_inline_result = info; } catch (x) { JSCompiler_inline_result = "\nError generating stack: " + x.message + "\n" + x.stack; } Object.defineProperty(errorInfo, "componentStack", { value: JSCompiler_inline_result }); return JSCompiler_inline_result; } }); return errorInfo; } function logRecoverableError(request, error, errorInfo) { request = request.onError; error = request(error, errorInfo); if (null == error || "string" === typeof error) return error; } function fatalError(request, error) { var onShellError = request.onShellError, onFatalError = request.onFatalError; onShellError(error); onFatalError(error); null !== request.destination ? ((request.status = 14), request.destination.destroy(error)) : ((request.status = 13), (request.fatalError = error)); } function renderWithHooks(request, task, keyPath, Component, props, secondArg) { var prevThenableState = task.thenableState; task.thenableState = null; currentlyRenderingComponent = {}; currentlyRenderingTask = task; currentlyRenderingRequest = request; currentlyRenderingKeyPath = keyPath; actionStateCounter = localIdCounter = 0; actionStateMatchingIndex = -1; thenableIndexCounter = 0; thenableState = prevThenableState; for (request = Component(props, secondArg); didScheduleRenderPhaseUpdate; ) (didScheduleRenderPhaseUpdate = !1), (actionStateCounter = localIdCounter = 0), (actionStateMatchingIndex = -1), (thenableIndexCounter = 0), (numberOfReRenders += 1), (workInProgressHook = null), (request = Component(props, secondArg)); resetHooksState(); return request; } function finishFunctionComponent( request, task, keyPath, children, hasId, actionStateCount, actionStateMatchingIndex ) { var didEmitActionStateMarkers = !1; if (0 !== actionStateCount && null !== request.formState) { var segment = task.blockedSegment; if (null !== segment) { didEmitActionStateMarkers = !0; segment = segment.chunks; for (var i = 0; i < actionStateCount; i++) i === actionStateMatchingIndex ? segment.push("\x3c!--F!--\x3e") : segment.push("\x3c!--F--\x3e"); } } actionStateCount = task.keyPath; task.keyPath = keyPath; hasId ? ((keyPath = task.treeContext), (task.treeContext = pushTreeContext(keyPath, 1, 0)), renderNode(request, task, children, -1), (task.treeContext = keyPath)) : didEmitActionStateMarkers ? renderNode(request, task, children, -1) : renderNodeDestructive(request, task, children, -1); task.keyPath = actionStateCount; } function renderElement(request, task, keyPath, type, props, ref) { if ("function" === typeof type) if (type.prototype && type.prototype.isReactComponent) { var newProps = props; if ("ref" in props) { newProps = {}; for (var propName in props) "ref" !== propName && (newProps[propName] = props[propName]); } var defaultProps = type.defaultProps; if (defaultProps) { newProps === props && (newProps = assign({}, newProps, props)); for (var propName$33 in defaultProps) void 0 === newProps[propName$33] && (newProps[propName$33] = defaultProps[propName$33]); } props = newProps; newProps = emptyContextObject; defaultProps = type.contextType; "object" === typeof defaultProps && null !== defaultProps && (newProps = defaultProps._currentValue2); newProps = new type(props, newProps); var initialState = void 0 !== newProps.state ? newProps.state : null; newProps.updater = classComponentUpdater; newProps.props = props; newProps.state = initialState; defaultProps = { queue: [], replace: !1 }; newProps._reactInternals = defaultProps; ref = type.contextType; newProps.context = "object" === typeof ref && null !== ref ? ref._currentValue2 : emptyContextObject; ref = type.getDerivedStateFromProps; "function" === typeof ref && ((ref = ref(props, initialState)), (initialState = null === ref || void 0 === ref ? initialState : assign({}, initialState, ref)), (newProps.state = initialState)); if ( "function" !== typeof type.getDerivedStateFromProps && "function" !== typeof newProps.getSnapshotBeforeUpdate && ("function" === typeof newProps.UNSAFE_componentWillMount || "function" === typeof newProps.componentWillMount) ) if ( ((type = newProps.state), "function" === typeof newProps.componentWillMount && newProps.componentWillMount(), "function" === typeof newProps.UNSAFE_componentWillMount && newProps.UNSAFE_componentWillMount(), type !== newProps.state && classComponentUpdater.enqueueReplaceState( newProps, newProps.state, null ), null !== defaultProps.queue && 0 < defaultProps.queue.length) ) if ( ((type = defaultProps.queue), (ref = defaultProps.replace), (defaultProps.queue = null), (defaultProps.replace = !1), ref && 1 === type.length) ) newProps.state = type[0]; else { defaultProps = ref ? type[0] : newProps.state; initialState = !0; for (ref = ref ? 1 : 0; ref < type.length; ref++) (propName$33 = type[ref]), (propName$33 = "function" === typeof propName$33 ? propName$33.call(newProps, defaultProps, props, void 0) : propName$33), null != propName$33 && (initialState ? ((initialState = !1), (defaultProps = assign({}, defaultProps, propName$33))) : assign(defaultProps, propName$33)); newProps.state = defaultProps; } else defaultProps.queue = null; type = newProps.render(); if (12 === request.status) throw null; props = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, type, -1); task.keyPath = props; } else { type = renderWithHooks(request, task, keyPath, type, props, void 0); if (12 === request.status) throw null; finishFunctionComponent( request, task, keyPath, type, 0 !== localIdCounter, actionStateCounter, actionStateMatchingIndex ); } else if ("string" === typeof type) if (((newProps = task.blockedSegment), null === newProps)) (newProps = props.children), (defaultProps = task.formatContext), (initialState = task.keyPath), (task.formatContext = getChildFormatContext(defaultProps, type, props)), (task.keyPath = keyPath), renderNode(request, task, newProps, -1), (task.formatContext = defaultProps), (task.keyPath = initialState); else { initialState = pushStartInstance( newProps.chunks, type, props, request.resumableState, request.renderState, task.hoistableState, task.formatContext, newProps.lastPushedText, task.isFallback ); newProps.lastPushedText = !1; defaultProps = task.formatContext; ref = task.keyPath; task.formatContext = getChildFormatContext(defaultProps, type, props); task.keyPath = keyPath; renderNode(request, task, initialState, -1); task.formatContext = defaultProps; task.keyPath = ref; a: { task = newProps.chunks; request = request.resumableState; switch (type) { case "title": case "style": case "script": case "area": case "base": case "br": case "col": case "embed": case "hr": case "img": case "input": case "keygen": case "link": case "meta": case "param": case "source": case "track": case "wbr": break a; case "body": if (1 >= defaultProps.insertionMode) { request.hasBody = !0; break a; } break; case "html": if (0 === defaultProps.insertionMode) { request.hasHtml = !0; break a; } } task.push(endChunkForTag(type)); } newProps.lastPushedText = !1; } else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: type = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, props.children, -1); task.keyPath = type; return; case REACT_OFFSCREEN_TYPE: "hidden" !== props.mode && ((type = task.keyPath), (task.keyPath = keyPath), renderNodeDestructive(request, task, props.children, -1), (task.keyPath = type)); return; case REACT_SUSPENSE_LIST_TYPE: type = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, props.children, -1); task.keyPath = type; return; case REACT_SCOPE_TYPE: throw Error("ReactDOMServer does not yet support scope components."); case REACT_SUSPENSE_TYPE: a: if (null !== task.replay) { type = task.keyPath; task.keyPath = keyPath; keyPath = props.children; try { renderNode(request, task, keyPath, -1); } finally { task.keyPath = type; } } else { type = task.keyPath; var parentBoundary = task.blockedBoundary, parentHoistableState = task.hoistableState; ref = task.blockedSegment; propName$33 = props.fallback; props = props.children; var fallbackAbortSet = new Set(); propName = createSuspenseBoundary(request, fallbackAbortSet); null !== request.trackedPostpones && (propName.trackedContentKeyPath = keyPath); var boundarySegment = createPendingSegment( request, ref.chunks.length, propName, task.formatContext, !1, !1 ); ref.children.push(boundarySegment); ref.lastPushedText = !1; var contentRootSegment = createPendingSegment( request, 0, null, task.formatContext, !1, !1 ); contentRootSegment.parentFlushed = !0; if (null !== request.trackedPostpones) { newProps = [keyPath[0], "Suspense Fallback", keyPath[2]]; defaultProps = [newProps[1], newProps[2], [], null]; request.trackedPostpones.workingMap.set(newProps, defaultProps); propName.trackedFallbackNode = defaultProps; task.blockedSegment = boundarySegment; task.keyPath = newProps; boundarySegment.status = 6; try { renderNode(request, task, propName$33, -1), pushSegmentFinale( boundarySegment.chunks, request.renderState, boundarySegment.lastPushedText, boundarySegment.textEmbedded ), (boundarySegment.status = 1); } catch (thrownValue) { throw ( ((boundarySegment.status = 12 === request.status ? 3 : 4), thrownValue) ); } finally { (task.blockedSegment = ref), (task.keyPath = type); } task = createRenderTask( request, null, props, -1, propName, contentRootSegment, propName.contentState, task.abortSet, keyPath, task.formatContext, task.context, task.treeContext, task.componentStack, task.isFallback ); pushComponentStack(task); request.pingedTasks.push(task); } else { task.blockedBoundary = propName; task.hoistableState = propName.contentState; task.blockedSegment = contentRootSegment; task.keyPath = keyPath; contentRootSegment.status = 6; try { if ( (renderNode(request, task, props, -1), pushSegmentFinale( contentRootSegment.chunks, request.renderState, contentRootSegment.lastPushedText, contentRootSegment.textEmbedded ), (contentRootSegment.status = 1), queueCompletedSegment(propName, contentRootSegment), 0 === propName.pendingTasks && 0 === propName.status) ) { propName.status = 1; break a; } } catch (thrownValue$28) { (propName.status = 4), 12 === request.status ? ((contentRootSegment.status = 3), (newProps = request.fatalError)) : ((contentRootSegment.status = 4), (newProps = thrownValue$28)), (defaultProps = getThrownInfo(task.componentStack)), (initialState = logRecoverableError( request, newProps, defaultProps )), (propName.errorDigest = initialState), untrackBoundary(request, propName); } finally { (task.blockedBoundary = parentBoundary), (task.hoistableState = parentHoistableState), (task.blockedSegment = ref), (task.keyPath = type); } task = createRenderTask( request, null, propName$33, -1, parentBoundary, boundarySegment, propName.fallbackState, fallbackAbortSet, [keyPath[0], "Suspense Fallback", keyPath[2]], task.formatContext, task.context, task.treeContext, task.componentStack, !0 ); pushComponentStack(task); request.pingedTasks.push(task); } } return; } if ("object" === typeof type && null !== type) switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: if ("ref" in props) for (boundarySegment in ((newProps = {}), props)) "ref" !== boundarySegment && (newProps[boundarySegment] = props[boundarySegment]); else newProps = props; type = renderWithHooks( request, task, keyPath, type.render, newProps, ref ); finishFunctionComponent( request, task, keyPath, type, 0 !== localIdCounter, actionStateCounter, actionStateMatchingIndex ); return; case REACT_MEMO_TYPE: renderElement(request, task, keyPath, type.type, props, ref); return; case REACT_PROVIDER_TYPE: case REACT_CONTEXT_TYPE: defaultProps = props.children; newProps = task.keyPath; props = props.value; initialState = type._currentValue2; type._currentValue2 = props; ref = currentActiveSnapshot; currentActiveSnapshot = type = { parent: ref, depth: null === ref ? 0 : ref.depth + 1, context: type, parentValue: initialState, value: props }; task.context = type; task.keyPath = keyPath; renderNodeDestructive(request, task, defaultProps, -1); request = currentActiveSnapshot; if (null === request) throw Error( "Tried to pop a Context at the root of the app. This is a bug in React." ); request.context._currentValue2 = request.parentValue; request = currentActiveSnapshot = request.parent; task.context = request; task.keyPath = newProps; return; case REACT_CONSUMER_TYPE: props = props.children; type = props(type._context._currentValue2); props = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, type, -1); task.keyPath = props; return; case REACT_LAZY_TYPE: newProps = type._init; type = newProps(type._payload); if (12 === request.status) throw null; renderElement(request, task, keyPath, type, props, ref); return; } throw Error( "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + ((null == type ? type : typeof type) + ".") ); } } function resumeNode(request, task, segmentId, node, childIndex) { var prevReplay = task.replay, blockedBoundary = task.blockedBoundary, resumedSegment = createPendingSegment( request, 0, null, task.formatContext, !1, !1 ); resumedSegment.id = segmentId; resumedSegment.parentFlushed = !0; try { (task.replay = null), (task.blockedSegment = resumedSegment), renderNode(request, task, node, childIndex), (resumedSegment.status = 1), null === blockedBoundary ? (request.completedRootSegment = resumedSegment) : (queueCompletedSegment(blockedBoundary, resumedSegment), blockedBoundary.parentFlushed && request.partialBoundaries.push(blockedBoundary)); } finally { (task.replay = prevReplay), (task.blockedSegment = null); } } function renderNodeDestructive(request, task, node, childIndex) { null !== task.replay && "number" === typeof task.replay.slots ? resumeNode(request, task, task.replay.slots, node, childIndex) : ((task.node = node), (task.childIndex = childIndex), (node = task.componentStack), pushComponentStack(task), retryNode(request, task), (task.componentStack = node)); } function retryNode(request, task) { var node = task.node, childIndex = task.childIndex; if (null !== node) { if ("object" === typeof node) { switch (node.$$typeof) { case REACT_ELEMENT_TYPE: var type = node.type, key = node.key, props = node.props; node = props.ref; var ref = void 0 !== node ? node : null, name = getComponentNameFromType(type), keyOrIndex = null == key ? (-1 === childIndex ? 0 : childIndex) : key; key = [task.keyPath, name, keyOrIndex]; if (null !== task.replay) a: { var replay = task.replay; childIndex = replay.nodes; for (node = 0; node < childIndex.length; node++) { var node$jscomp$0 = childIndex[node]; if (keyOrIndex === node$jscomp$0[1]) { if (4 === node$jscomp$0.length) { if (null !== name && name !== node$jscomp$0[0]) throw Error( "Expected the resume to render <" + node$jscomp$0[0] + "> in this slot but instead it rendered <" + name + ">. The tree doesn't match so React will fallback to client rendering." ); var childNodes = node$jscomp$0[2]; name = node$jscomp$0[3]; keyOrIndex = task.node; task.replay = { nodes: childNodes, slots: name, pendingTasks: 1 }; try { renderElement(request, task, key, type, props, ref); if ( 1 === task.replay.pendingTasks && 0 < task.replay.nodes.length ) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; } catch (x) { if ( "object" === typeof x && null !== x && (x === SuspenseException || "function" === typeof x.then) ) throw ( (task.node === keyOrIndex && (task.replay = replay), x) ); task.replay.pendingTasks--; props = getThrownInfo(task.componentStack); key = task.blockedBoundary; type = x; props = logRecoverableError(request, type, props); abortRemainingReplayNodes( request, key, childNodes, name, type, props ); } task.replay = replay; } else { if (type !== REACT_SUSPENSE_TYPE) throw Error( "Expected the resume to render <Suspense> in this slot but instead it rendered <" + (getComponentNameFromType(type) || "Unknown") + ">. The tree doesn't match so React will fallback to client rendering." ); b: { replay = void 0; type = node$jscomp$0[5]; ref = node$jscomp$0[2]; name = node$jscomp$0[3]; keyOrIndex = null === node$jscomp$0[4] ? [] : node$jscomp$0[4][2]; node$jscomp$0 = null === node$jscomp$0[4] ? null : node$jscomp$0[4][3]; var prevKeyPath = task.keyPath, previousReplaySet = task.replay, parentBoundary = task.blockedBoundary, parentHoistableState = task.hoistableState, content = props.children; props = props.fallback; var fallbackAbortSet = new Set(), resumedBoundary = createSuspenseBoundary( request, fallbackAbortSet ); resumedBoundary.parentFlushed = !0; resumedBoundary.rootSegmentID = type; task.blockedBoundary = resumedBoundary; task.hoistableState = resumedBoundary.contentState; task.keyPath = key; task.replay = { nodes: ref, slots: name, pendingTasks: 1 }; try { renderNode(request, task, content, -1); if ( 1 === task.replay.pendingTasks && 0 < task.replay.nodes.length ) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; if ( 0 === resumedBoundary.pendingTasks && 0 === resumedBoundary.status ) { resumedBoundary.status = 1; request.completedBoundaries.push(resumedBoundary); break b; } } catch (error) { (resumedBoundary.status = 4), (childNodes = getThrownInfo(task.componentStack)), (replay = logRecoverableError( request, error, childNodes )), (resumedBoundary.errorDigest = replay), task.replay.pendingTasks--, request.clientRenderedBoundaries.push( resumedBoundary ); } finally { (task.blockedBoundary = parentBoundary), (task.hoistableState = parentHoistableState), (task.replay = previousReplaySet), (task.keyPath = prevKeyPath); } task = createReplayTask( request, null, { nodes: keyOrIndex, slots: node$jscomp$0, pendingTasks: 0 }, props, -1, parentBoundary, resumedBoundary.fallbackState, fallbackAbortSet, [key[0], "Suspense Fallback", key[2]], task.formatContext, task.context, task.treeContext, task.componentStack, !0 ); pushComponentStack(task); request.pingedTasks.push(task); } } childIndex.splice(node, 1); break a; } } } else renderElement(request, task, key, type, props, ref); return; case REACT_PORTAL_TYPE: throw Error( "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render." ); case REACT_LAZY_TYPE: childNodes = node._init; node = childNodes(node._payload); if (12 === request.status) throw null; renderNodeDestructive(request, task, node, childIndex); return; } if (isArrayImpl(node)) { renderChildrenArray(request, task, node, childIndex); return; } null === node || "object" !== typeof node ? (childNodes = null) : ((childNodes = (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) || node["@@iterator"]), (childNodes = "function" === typeof childNodes ? childNodes : null)); if (childNodes && (childNodes = childNodes.call(node))) { node = childNodes.next(); if (!node.done) { props = []; do props.push(node.value), (node = childNodes.next()); while (!node.done); renderChildrenArray(request, task, props, childIndex); } return; } if ("function" === typeof node.then) return ( (task.thenableState = null), renderNodeDestructive(request, task, unwrapThenable(node), childIndex) ); if (node.$$typeof === REACT_CONTEXT_TYPE) return renderNodeDestructive( request, task, node._currentValue2, childIndex ); childIndex = Object.prototype.toString.call(node); throw Error( "Objects are not valid as a React child (found: " + ("[object Object]" === childIndex ? "object with keys {" + Object.keys(node).join(", ") + "}" : childIndex) + "). If you meant to render a collection of children, use an array instead." ); } if ("string" === typeof node) (childIndex = task.blockedSegment), null !== childIndex && (childIndex.lastPushedText = pushTextInstance( childIndex.chunks, node, request.renderState, childIndex.lastPushedText )); else if ("number" === typeof node || "bigint" === typeof node) (childIndex = task.blockedSegment), null !== childIndex && (childIndex.lastPushedText = pushTextInstance( childIndex.chunks, "" + node, request.renderState, childIndex.lastPushedText )); } } function renderChildrenArray(request, task, children, childIndex) { var prevKeyPath = task.keyPath; if ( -1 !== childIndex && ((task.keyPath = [task.keyPath, "Fragment", childIndex]), null !== task.replay) ) { for ( var replay = task.replay, replayNodes = replay.nodes, j = 0; j < replayNodes.length; j++ ) { var node = replayNodes[j]; if (node[1] === childIndex) { childIndex = node[2]; node = node[3]; task.replay = { nodes: childIndex, slots: node, pendingTasks: 1 }; try { renderChildrenArray(request, task, children, -1); if (1 === task.replay.pendingTasks && 0 < task.replay.nodes.length) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; } catch (x) { if ( "object" === typeof x && null !== x && (x === SuspenseException || "function" === typeof x.then) ) throw x; task.replay.pendingTasks--; children = getThrownInfo(task.componentStack); var boundary = task.blockedBoundary, error = x; children = logRecoverableError(request, error, children); abortRemainingReplayNodes( request, boundary, childIndex, node, error, children ); } task.replay = replay; replayNodes.splice(j, 1); break; } } task.keyPath = prevKeyPath; return; } replay = task.treeContext; replayNodes = children.length; if ( null !== task.replay && ((j = task.replay.slots), null !== j && "object" === typeof j) ) { for (childIndex = 0; childIndex < replayNodes; childIndex++) (node = children[childIndex]), (task.treeContext = pushTreeContext(replay, replayNodes, childIndex)), (boundary = j[childIndex]), "number" === typeof boundary ? (resumeNode(request, task, boundary, node, childIndex), delete j[childIndex]) : renderNode(request, task, node, childIndex); task.treeContext = replay; task.keyPath = prevKeyPath; return; } for (j = 0; j < replayNodes; j++) (childIndex = children[j]), (task.treeContext = pushTreeContext(replay, replayNodes, j)), renderNode(request, task, childIndex, j); task.treeContext = replay; task.keyPath = prevKeyPath; } function untrackBoundary(request, boundary) { request = request.trackedPostpones; null !== request && ((boundary = boundary.trackedContentKeyPath), null !== boundary && ((boundary = request.workingMap.get(boundary)), void 0 !== boundary && ((boundary.length = 4), (boundary[2] = []), (boundary[3] = null)))); } function spawnNewSuspendedReplayTask(request, task, thenableState) { return createReplayTask( request, thenableState, task.replay, task.node, task.childIndex, task.blockedBoundary, task.hoistableState, task.abortSet, task.keyPath, task.formatContext, task.context, task.treeContext, task.componentStack, task.isFallback ); } function spawnNewSuspendedRenderTask(request, task, thenableState) { var segment = task.blockedSegment, newSegment = createPendingSegment( request, segment.chunks.length, null, task.formatContext, segment.lastPushedText, !0 ); segment.children.push(newSegment); segment.lastPushedText = !1; return createRenderTask( request, thenableState, task.node, task.childIndex, task.blockedBoundary, newSegment, task.hoistableState, task.abortSet, task.keyPath, task.formatContext, task.context, task.treeContext, task.componentStack, task.isFallback ); } function renderNode(request, task, node, childIndex) { var previousFormatContext = task.formatContext, previousContext = task.context, previousKeyPath = task.keyPath, previousTreeContext = task.treeContext, previousComponentStack = task.componentStack, segment = task.blockedSegment; if (null === segment) try { return renderNodeDestructive(request, task, node, childIndex); } catch (thrownValue) { if ( (resetHooksState(), (node = thrownValue === SuspenseException ? getSuspendedThenable() : thrownValue), "object" === typeof node && null !== node) ) { if ("function" === typeof node.then) { childIndex = getThenableStateAfterSuspending(); request = spawnNewSuspendedReplayTask(request, task, childIndex).ping; node.then(request, request); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } if ("Maximum call stack size exceeded" === node.message) { node = getThenableStateAfterSuspending(); node = spawnNewSuspendedReplayTask(request, task, node); request.pingedTasks.push(node); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } } } else { var childrenLength = segment.children.length, chunkLength = segment.chunks.length; try { return renderNodeDestructive(request, task, node, childIndex); } catch (thrownValue$48) { if ( (resetHooksState(), (segment.children.length = childrenLength), (segment.chunks.length = chunkLength), (node = thrownValue$48 === SuspenseException ? getSuspendedThenable() : thrownValue$48), "object" === typeof node && null !== node) ) { if ("function" === typeof node.then) { childIndex = getThenableStateAfterSuspending(); request = spawnNewSuspendedRenderTask(request, task, childIndex).ping; node.then(request, request); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } if ("Maximum call stack size exceeded" === node.message) { node = getThenableStateAfterSuspending(); node = spawnNewSuspendedRenderTask(request, task, node); request.pingedTasks.push(node); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } } } } task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; switchContext(previousContext); throw node; } function abortTaskSoft(task) { var boundary = task.blockedBoundary; task = task.blockedSegment; null !== task && ((task.status = 3), finishedTask(this, boundary, task)); } function abortRemainingReplayNodes( request$jscomp$0, boundary, nodes, slots, error, errorDigest$jscomp$0 ) { for (var i = 0; i < nodes.length; i++) { var node = nodes[i]; if (4 === node.length) abortRemainingReplayNodes( request$jscomp$0, boundary, node[2], node[3], error, errorDigest$jscomp$0 ); else { node = node[5]; var request = request$jscomp$0, errorDigest = errorDigest$jscomp$0, resumedBoundary = createSuspenseBoundary(request, new Set()); resumedBoundary.parentFlushed = !0; resumedBoundary.rootSegmentID = node; resumedBoundary.status = 4; resumedBoundary.errorDigest = errorDigest; resumedBoundary.parentFlushed && request.clientRenderedBoundaries.push(resumedBoundary); } } nodes.length = 0; if (null !== slots) { if (null === boundary) throw Error( "We should not have any resumable nodes in the shell. This is a bug in React." ); 4 !== boundary.status && ((boundary.status = 4), (boundary.errorDigest = errorDigest$jscomp$0), boundary.parentFlushed && request$jscomp$0.clientRenderedBoundaries.push(boundary)); if ("object" === typeof slots) for (var index in slots) delete slots[index]; } } function abortTask(task, request, error) { var boundary = task.blockedBoundary, segment = task.blockedSegment; if (null !== segment) { if (6 === segment.status) return; segment.status = 3; } segment = getThrownInfo(task.componentStack); if (null === boundary) { if (13 !== request.status && 14 !== request.status) { boundary = task.replay; if (null === boundary) { logRecoverableError(request, error, segment); fatalError(request, error); return; } boundary.pendingTasks--; 0 === boundary.pendingTasks && 0 < boundary.nodes.length && ((task = logRecoverableError(request, error, segment)), abortRemainingReplayNodes( request, null, boundary.nodes, boundary.slots, error, task )); request.pendingRootTasks--; 0 === request.pendingRootTasks && completeShell(request); } } else boundary.pendingTasks--, 4 !== boundary.status && ((boundary.status = 4), (task = logRecoverableError(request, error, segment)), (boundary.status = 4), (boundary.errorDigest = task), untrackBoundary(request, boundary), boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary)), boundary.fallbackAbortableTasks.forEach(function (fallbackTask) { return abortTask(fallbackTask, request, error); }), boundary.fallbackAbortableTasks.clear(); request.allPendingTasks--; 0 === request.allPendingTasks && completeAll(request); } function safelyEmitEarlyPreloads(request, shellComplete) { try { var renderState = request.renderState, onHeaders = renderState.onHeaders; if (onHeaders) { var headers = renderState.headers; if (headers) { renderState.headers = null; var linkHeader = headers.preconnects; headers.fontPreloads && (linkHeader && (linkHeader += ", "), (linkHeader += headers.fontPreloads)); headers.highImagePreloads && (linkHeader && (linkHeader += ", "), (linkHeader += headers.highImagePreloads)); if (!shellComplete) { var queueIter = renderState.styles.values(), queueStep = queueIter.next(); b: for ( ; 0 < headers.remainingCapacity && !queueStep.done; queueStep = queueIter.next() ) for ( var sheetIter = queueStep.value.sheets.values(), sheetStep = sheetIter.next(); 0 < headers.remainingCapacity && !sheetStep.done; sheetStep = sheetIter.next() ) { var sheet = sheetStep.value, props = sheet.props, key = props.href, props$jscomp$0 = sheet.props, header = getPreloadAsHeader(props$jscomp$0.href, "style", { crossOrigin: props$jscomp$0.crossOrigin, integrity: props$jscomp$0.integrity, nonce: props$jscomp$0.nonce, type: props$jscomp$0.type, fetchPriority: props$jscomp$0.fetchPriority, referrerPolicy: props$jscomp$0.referrerPolicy, media: props$jscomp$0.media }); if (0 <= (headers.remainingCapacity -= header.length + 2)) (renderState.resets.style[key] = PRELOAD_NO_CREDS), linkHeader && (linkHeader += ", "), (linkHeader += header), (renderState.resets.style[key] = "string" === typeof props.crossOrigin || "string" === typeof props.integrity ? [props.crossOrigin, props.integrity] : PRELOAD_NO_CREDS); else break b; } } linkHeader ? onHeaders({ Link: linkHeader }) : onHeaders({}); } } } catch (error) { logRecoverableError(request, error, {}); } } function completeShell(request) { null === request.trackedPostpones && safelyEmitEarlyPreloads(request, !0); request.onShellError = noop; request = request.onShellReady; request(); } function completeAll(request) { safelyEmitEarlyPreloads( request, null === request.trackedPostpones ? !0 : null === request.completedRootSegment || 5 !== request.completedRootSegment.status ); request = request.onAllReady; request(); } function queueCompletedSegment(boundary, segment) { if ( 0 === segment.chunks.length && 1 === segment.children.length && null === segment.children[0].boundary && -1 === segment.children[0].id ) { var childSegment = segment.children[0]; childSegment.id = segment.id; childSegment.parentFlushed = !0; 1 === childSegment.status && queueCompletedSegment(boundary, childSegment); } else boundary.completedSegments.push(segment); } function finishedTask(request, boundary, segment) { if (null === boundary) { if (null !== segment && segment.parentFlushed) { if (null !== request.completedRootSegment) throw Error( "There can only be one root segment. This is a bug in React." ); request.completedRootSegment = segment; } request.pendingRootTasks--; 0 === request.pendingRootTasks && completeShell(request); } else boundary.pendingTasks--, 4 !== boundary.status && (0 === boundary.pendingTasks ? (0 === boundary.status && (boundary.status = 1), null !== segment && segment.parentFlushed && 1 === segment.status && queueCompletedSegment(boundary, segment), boundary.parentFlushed && request.completedBoundaries.push(boundary), 1 === boundary.status && (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request), boundary.fallbackAbortableTasks.clear())) : null !== segment && segment.parentFlushed && 1 === segment.status && (queueCompletedSegment(boundary, segment), 1 === boundary.completedSegments.length && boundary.parentFlushed && request.partialBoundaries.push(boundary))); request.allPendingTasks--; 0 === request.allPendingTasks && completeAll(request); } function performWork(request$jscomp$2) { if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) { var prevContext = currentActiveSnapshot, prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = HooksDispatcher; var prevAsyncDispatcher = ReactSharedInternals.A; ReactSharedInternals.A = DefaultAsyncDispatcher; var prevRequest = currentRequest; currentRequest = request$jscomp$2; var prevResumableState = currentResumableState; currentResumableState = request$jscomp$2.resumableState; try { var pingedTasks = request$jscomp$2.pingedTasks, i; for (i = 0; i < pingedTasks.length; i++) { var task = pingedTasks[i], request = request$jscomp$2, segment = task.blockedSegment; if (null === segment) { var request$jscomp$0 = request; if (0 !== task.replay.pendingTasks) { switchContext(task.context); try { "number" === typeof task.replay.slots ? resumeNode( request$jscomp$0, task, task.replay.slots, task.node, task.childIndex ) : retryNode(request$jscomp$0, task); if ( 1 === task.replay.pendingTasks && 0 < task.replay.nodes.length ) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; task.abortSet.delete(task); finishedTask(request$jscomp$0, task.blockedBoundary, null); } catch (thrownValue) { resetHooksState(); var x = thrownValue === SuspenseException ? getSuspendedThenable() : thrownValue; if ( "object" === typeof x && null !== x && "function" === typeof x.then ) { var ping = task.ping; x.then(ping, ping); task.thenableState = getThenableStateAfterSuspending(); } else { task.replay.pendingTasks--; task.abortSet.delete(task); var errorInfo = getThrownInfo(task.componentStack); request = void 0; var request$jscomp$1 = request$jscomp$0, boundary = task.blockedBoundary, error$jscomp$0 = 12 === request$jscomp$0.status ? request$jscomp$0.fatalError : x, replayNodes = task.replay.nodes, resumeSlots = task.replay.slots; request = logRecoverableError( request$jscomp$1, error$jscomp$0, errorInfo ); abortRemainingReplayNodes( request$jscomp$1, boundary, replayNodes, resumeSlots, error$jscomp$0, request ); request$jscomp$0.pendingRootTasks--; 0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0); request$jscomp$0.allPendingTasks--; 0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0); } } finally { } } } else if ( ((request$jscomp$0 = void 0), (request$jscomp$1 = segment), 0 === request$jscomp$1.status) ) { request$jscomp$1.status = 6; switchContext(task.context); var childrenLength = request$jscomp$1.children.length, chunkLength = request$jscomp$1.chunks.length; try { retryNode(request, task), pushSegmentFinale( request$jscomp$1.chunks, request.renderState, request$jscomp$1.lastPushedText, request$jscomp$1.textEmbedded ), task.abortSet.delete(task), (request$jscomp$1.status = 1), finishedTask(request, task.blockedBoundary, request$jscomp$1); } catch (thrownValue) { resetHooksState(); request$jscomp$1.children.length = childrenLength; request$jscomp$1.chunks.length = chunkLength; var x$jscomp$0 = thrownValue === SuspenseException ? getSuspendedThenable() : 12 === request.status ? request.fatalError : thrownValue; if ( "object" === typeof x$jscomp$0 && null !== x$jscomp$0 && "function" === typeof x$jscomp$0.then ) { request$jscomp$1.status = 0; task.thenableState = getThenableStateAfterSuspending(); var ping$jscomp$0 = task.ping; x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0); } else { var errorInfo$jscomp$0 = getThrownInfo(task.componentStack); task.abortSet.delete(task); request$jscomp$1.status = 4; var boundary$jscomp$0 = task.blockedBoundary; request$jscomp$0 = logRecoverableError( request, x$jscomp$0, errorInfo$jscomp$0 ); null === boundary$jscomp$0 ? fatalError(request, x$jscomp$0) : (boundary$jscomp$0.pendingTasks--, 4 !== boundary$jscomp$0.status && ((boundary$jscomp$0.status = 4), (boundary$jscomp$0.errorDigest = request$jscomp$0), untrackBoundary(request, boundary$jscomp$0), boundary$jscomp$0.parentFlushed && request.clientRenderedBoundaries.push( boundary$jscomp$0 ))); request.allPendingTasks--; 0 === request.allPendingTasks && completeAll(request); } } finally { } } } pingedTasks.splice(0, i); null !== request$jscomp$2.destination && flushCompletedQueues(request$jscomp$2, request$jscomp$2.destination); } catch (error) { logRecoverableError(request$jscomp$2, error, {}), fatalError(request$jscomp$2, error); } finally { (currentResumableState = prevResumableState), (ReactSharedInternals.H = prevDispatcher), (ReactSharedInternals.A = prevAsyncDispatcher), prevDispatcher === HooksDispatcher && switchContext(prevContext), (currentRequest = prevRequest); } } } function flushSubtree(request, destination, segment, hoistableState) { segment.parentFlushed = !0; switch (segment.status) { case 0: segment.id = request.nextSegmentId++; case 5: return ( (hoistableState = segment.id), (segment.lastPushedText = !1), (segment.textEmbedded = !1), (request = request.renderState), destination.push('<template id="'), destination.push(request.placeholderPrefix), (request = hoistableState.toString(16)), destination.push(request), destination.push('"></template>') ); case 1: segment.status = 2; var r = !0, chunks = segment.chunks, chunkIdx = 0; segment = segment.children; for (var childIdx = 0; childIdx < segment.length; childIdx++) { for (r = segment[childIdx]; chunkIdx < r.index; chunkIdx++) destination.push(chunks[chunkIdx]); r = flushSegment(request, destination, r, hoistableState); } for (; chunkIdx < chunks.length - 1; chunkIdx++) destination.push(chunks[chunkIdx]); chunkIdx < chunks.length && (r = destination.push(chunks[chunkIdx])); return r; default: throw Error( "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React." ); } } function flushSegment(request, destination, segment, hoistableState) { var boundary = segment.boundary; if (null === boundary) return flushSubtree(request, destination, segment, hoistableState); boundary.parentFlushed = !0; if (4 === boundary.status) return ( request.renderState.generateStaticMarkup || ((boundary = boundary.errorDigest), destination.push("\x3c!--$!--\x3e"), destination.push("<template"), boundary && (destination.push(' data-dgst="'), (boundary = escapeTextForBrowser(boundary)), destination.push(boundary), destination.push('"')), destination.push("></template>")), flushSubtree(request, destination, segment, hoistableState), (request = request.renderState.generateStaticMarkup ? !0 : destination.push("\x3c!--/$--\x3e")), request ); if (1 !== boundary.status) return ( 0 === boundary.status && (boundary.rootSegmentID = request.nextSegmentId++), 0 < boundary.completedSegments.length && request.partialBoundaries.push(boundary), writeStartPendingSuspenseBoundary( destination, request.renderState, boundary.rootSegmentID ), hoistableState && ((boundary = boundary.fallbackState), boundary.styles.forEach(hoistStyleQueueDependency, hoistableState), boundary.stylesheets.forEach( hoistStylesheetDependency, hoistableState )), flushSubtree(request, destination, segment, hoistableState), destination.push("\x3c!--/$--\x3e") ); if (boundary.byteSize > request.progressiveChunkSize) return ( (boundary.rootSegmentID = request.nextSegmentId++), request.completedBoundaries.push(boundary), writeStartPendingSuspenseBoundary( destination, request.renderState, boundary.rootSegmentID ), flushSubtree(request, destination, segment, hoistableState), destination.push("\x3c!--/$--\x3e") ); hoistableState && ((segment = boundary.contentState), segment.styles.forEach(hoistStyleQueueDependency, hoistableState), segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState)); request.renderState.generateStaticMarkup || destination.push("\x3c!--$--\x3e"); segment = boundary.completedSegments; if (1 !== segment.length) throw Error( "A previously unvisited boundary must have exactly one root segment. This is a bug in React." ); flushSegment(request, destination, segment[0], hoistableState); request = request.renderState.generateStaticMarkup ? !0 : destination.push("\x3c!--/$--\x3e"); return request; } function flushSegmentContainer(request, destination, segment, hoistableState) { writeStartSegment( destination, request.renderState, segment.parentFormatContext, segment.id ); flushSegment(request, destination, segment, hoistableState); return writeEndSegment(destination, segment.parentFormatContext); } function flushCompletedBoundary(request, destination, boundary) { for ( var completedSegments = boundary.completedSegments, i = 0; i < completedSegments.length; i++ ) flushPartiallyCompletedSegment( request, destination, boundary, completedSegments[i] ); completedSegments.length = 0; writeHoistablesForBoundary( destination, boundary.contentState, request.renderState ); completedSegments = request.resumableState; request = request.renderState; i = boundary.rootSegmentID; boundary = boundary.contentState; var requiresStyleInsertion = request.stylesToHoist; request.stylesToHoist = !1; destination.push(request.startInlineScript); requiresStyleInsertion ? 0 === (completedSegments.instructions & 2) ? ((completedSegments.instructions |= 10), destination.push( '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("' )) : 0 === (completedSegments.instructions & 8) ? ((completedSegments.instructions |= 8), destination.push( '$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("' )) : destination.push('$RR("') : 0 === (completedSegments.instructions & 2) ? ((completedSegments.instructions |= 2), destination.push( '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("' )) : destination.push('$RC("'); completedSegments = i.toString(16); destination.push(request.boundaryPrefix); destination.push(completedSegments); destination.push('","'); destination.push(request.segmentPrefix); destination.push(completedSegments); requiresStyleInsertion ? (destination.push('",'), writeStyleResourceDependenciesInJS(destination, boundary)) : destination.push('"'); boundary = destination.push(")\x3c/script>"); return writeBootstrap(destination, request) && boundary; } function flushPartiallyCompletedSegment( request, destination, boundary, segment ) { if (2 === segment.status) return !0; var hoistableState = boundary.contentState, segmentID = segment.id; if (-1 === segmentID) { if (-1 === (segment.id = boundary.rootSegmentID)) throw Error( "A root segment ID must have been assigned by now. This is a bug in React." ); return flushSegmentContainer(request, destination, segment, hoistableState); } if (segmentID === boundary.rootSegmentID) return flushSegmentContainer(request, destination, segment, hoistableState); flushSegmentContainer(request, destination, segment, hoistableState); boundary = request.resumableState; request = request.renderState; destination.push(request.startInlineScript); 0 === (boundary.instructions & 1) ? ((boundary.instructions |= 1), destination.push( '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("' )) : destination.push('$RS("'); destination.push(request.segmentPrefix); segmentID = segmentID.toString(16); destination.push(segmentID); destination.push('","'); destination.push(request.placeholderPrefix); destination.push(segmentID); destination = destination.push('")\x3c/script>'); return destination; } function flushCompletedQueues(request, destination) { try { if (!(0 < request.pendingRootTasks)) { var i, completedRootSegment = request.completedRootSegment; if (null !== completedRootSegment) { if (5 === completedRootSegment.status) return; var renderState = request.renderState, htmlChunks = renderState.htmlChunks, headChunks = renderState.headChunks, i$jscomp$0; if (htmlChunks) { for (i$jscomp$0 = 0; i$jscomp$0 < htmlChunks.length; i$jscomp$0++) destination.push(htmlChunks[i$jscomp$0]); if (headChunks) for (i$jscomp$0 = 0; i$jscomp$0 < headChunks.length; i$jscomp$0++) destination.push(headChunks[i$jscomp$0]); else { var chunk = startChunkForTag("head"); destination.push(chunk); destination.push(">"); } } else if (headChunks) for (i$jscomp$0 = 0; i$jscomp$0 < headChunks.length; i$jscomp$0++) destination.push(headChunks[i$jscomp$0]); var charsetChunks = renderState.charsetChunks; for (i$jscomp$0 = 0; i$jscomp$0 < charsetChunks.length; i$jscomp$0++) destination.push(charsetChunks[i$jscomp$0]); charsetChunks.length = 0; renderState.preconnects.forEach(flushResource, destination); renderState.preconnects.clear(); var viewportChunks = renderState.viewportChunks; for (i$jscomp$0 = 0; i$jscomp$0 < viewportChunks.length; i$jscomp$0++) destination.push(viewportChunks[i$jscomp$0]); viewportChunks.length = 0; renderState.fontPreloads.forEach(flushResource, destination); renderState.fontPreloads.clear(); renderState.highImagePreloads.forEach(flushResource, destination); renderState.highImagePreloads.clear(); renderState.styles.forEach(flushStylesInPreamble, destination); var importMapChunks = renderState.importMapChunks; for (i$jscomp$0 = 0; i$jscomp$0 < importMapChunks.length; i$jscomp$0++) destination.push(importMapChunks[i$jscomp$0]); importMapChunks.length = 0; renderState.bootstrapScripts.forEach(flushResource, destination); renderState.scripts.forEach(flushResource, destination); renderState.scripts.clear(); renderState.bulkPreloads.forEach(flushResource, destination); renderState.bulkPreloads.clear(); var hoistableChunks = renderState.hoistableChunks; for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++) destination.push(hoistableChunks[i$jscomp$0]); hoistableChunks.length = 0; if (htmlChunks && null === headChunks) { var chunk$jscomp$0 = endChunkForTag("head"); destination.push(chunk$jscomp$0); } flushSegment(request, destination, completedRootSegment, null); request.completedRootSegment = null; writeBootstrap(destination, request.renderState); } var renderState$jscomp$0 = request.renderState; completedRootSegment = 0; var viewportChunks$jscomp$0 = renderState$jscomp$0.viewportChunks; for ( completedRootSegment = 0; completedRootSegment < viewportChunks$jscomp$0.length; completedRootSegment++ ) destination.push(viewportChunks$jscomp$0[completedRootSegment]); viewportChunks$jscomp$0.length = 0; renderState$jscomp$0.preconnects.forEach(flushResource, destination); renderState$jscomp$0.preconnects.clear(); renderState$jscomp$0.fontPreloads.forEach(flushResource, destination); renderState$jscomp$0.fontPreloads.clear(); renderState$jscomp$0.highImagePreloads.forEach( flushResource, destination ); renderState$jscomp$0.highImagePreloads.clear(); renderState$jscomp$0.styles.forEach(preloadLateStyles, destination); renderState$jscomp$0.scripts.forEach(flushResource, destination); renderState$jscomp$0.scripts.clear(); renderState$jscomp$0.bulkPreloads.forEach(flushResource, destination); renderState$jscomp$0.bulkPreloads.clear(); var hoistableChunks$jscomp$0 = renderState$jscomp$0.hoistableChunks; for ( completedRootSegment = 0; completedRootSegment < hoistableChunks$jscomp$0.length; completedRootSegment++ ) destination.push(hoistableChunks$jscomp$0[completedRootSegment]); hoistableChunks$jscomp$0.length = 0; var clientRenderedBoundaries = request.clientRenderedBoundaries; for (i = 0; i < clientRenderedBoundaries.length; i++) { var boundary = clientRenderedBoundaries[i]; renderState$jscomp$0 = destination; var resumableState = request.resumableState, renderState$jscomp$1 = request.renderState, id = boundary.rootSegmentID, errorDigest = boundary.errorDigest; renderState$jscomp$0.push(renderState$jscomp$1.startInlineScript); 0 === (resumableState.instructions & 4) ? ((resumableState.instructions |= 4), renderState$jscomp$0.push( '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("' )) : renderState$jscomp$0.push('$RX("'); renderState$jscomp$0.push(renderState$jscomp$1.boundaryPrefix); var chunk$jscomp$1 = id.toString(16); renderState$jscomp$0.push(chunk$jscomp$1); renderState$jscomp$0.push('"'); if (errorDigest) { renderState$jscomp$0.push(","); var chunk$jscomp$2 = escapeJSStringsForInstructionScripts( errorDigest || "" ); renderState$jscomp$0.push(chunk$jscomp$2); } var JSCompiler_inline_result = renderState$jscomp$0.push(")\x3c/script>"); if (!JSCompiler_inline_result) { request.destination = null; i++; clientRenderedBoundaries.splice(0, i); return; } } clientRenderedBoundaries.splice(0, i); var completedBoundaries = request.completedBoundaries; for (i = 0; i < completedBoundaries.length; i++) if ( !flushCompletedBoundary(request, destination, completedBoundaries[i]) ) { request.destination = null; i++; completedBoundaries.splice(0, i); return; } completedBoundaries.splice(0, i); var partialBoundaries = request.partialBoundaries; for (i = 0; i < partialBoundaries.length; i++) { var boundary$51 = partialBoundaries[i]; a: { clientRenderedBoundaries = request; boundary = destination; var completedSegments = boundary$51.completedSegments; for ( JSCompiler_inline_result = 0; JSCompiler_inline_result < completedSegments.length; JSCompiler_inline_result++ ) if ( !flushPartiallyCompletedSegment( clientRenderedBoundaries, boundary, boundary$51, completedSegments[JSCompiler_inline_result] ) ) { JSCompiler_inline_result++; completedSegments.splice(0, JSCompiler_inline_result); var JSCompiler_inline_result$jscomp$0 = !1; break a; } completedSegments.splice(0, JSCompiler_inline_result); JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary( boundary, boundary$51.contentState, clientRenderedBoundaries.renderState ); } if (!JSCompiler_inline_result$jscomp$0) { request.destination = null; i++; partialBoundaries.splice(0, i); return; } } partialBoundaries.splice(0, i); var largeBoundaries = request.completedBoundaries; for (i = 0; i < largeBoundaries.length; i++) if (!flushCompletedBoundary(request, destination, largeBoundaries[i])) { request.destination = null; i++; largeBoundaries.splice(0, i); return; } largeBoundaries.splice(0, i); } } finally { 0 === request.allPendingTasks && 0 === request.pingedTasks.length && 0 === request.clientRenderedBoundaries.length && 0 === request.completedBoundaries.length && ((request.flushScheduled = !1), (i = request.resumableState), i.hasBody && ((partialBoundaries = endChunkForTag("body")), destination.push(partialBoundaries)), i.hasHtml && ((i = endChunkForTag("html")), destination.push(i)), (request.status = 14), destination.push(null), (request.destination = null)); } } function enqueueFlush(request) { if ( !1 === request.flushScheduled && 0 === request.pingedTasks.length && null !== request.destination ) { request.flushScheduled = !0; var destination = request.destination; destination ? flushCompletedQueues(request, destination) : (request.flushScheduled = !1); } } function startFlowing(request, destination) { if (13 === request.status) (request.status = 14), destination.destroy(request.fatalError); else if (14 !== request.status && null === request.destination) { request.destination = destination; try { flushCompletedQueues(request, destination); } catch (error) { logRecoverableError(request, error, {}), fatalError(request, error); } } } function abort(request, reason) { if (11 === request.status || 10 === request.status) request.status = 12; try { var abortableTasks = request.abortableTasks; if (0 < abortableTasks.size) { var error = void 0 === reason ? Error("The render was aborted by the server without a reason.") : "object" === typeof reason && null !== reason && "function" === typeof reason.then ? Error("The render was aborted by the server with a promise.") : reason; request.fatalError = error; abortableTasks.forEach(function (task) { return abortTask(task, request, error); }); abortableTasks.clear(); } null !== request.destination && flushCompletedQueues(request, request.destination); } catch (error$53) { logRecoverableError(request, error$53, {}), fatalError(request, error$53); } } function onError() {} function renderToStringImpl( children, options, generateStaticMarkup, abortReason ) { var didFatal = !1, fatalError = null, result = "", readyToStream = !1; options = createResumableState(options ? options.identifierPrefix : void 0); children = createRequest( children, options, createRenderState(options, generateStaticMarkup), createFormatContext(0, null, 0), Infinity, onError, void 0, function () { readyToStream = !0; }, void 0, void 0, void 0 ); children.flushScheduled = null !== children.destination; performWork(children); 10 === children.status && (children.status = 11); null === children.trackedPostpones && safelyEmitEarlyPreloads(children, 0 === children.pendingRootTasks); abort(children, abortReason); startFlowing(children, { push: function (chunk) { null !== chunk && (result += chunk); return !0; }, destroy: function (error) { didFatal = !0; fatalError = error; } }); if (didFatal && fatalError !== abortReason) throw fatalError; if (!readyToStream) throw Error( "A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition." ); return result; } exports.renderToStaticMarkup = function (children, options) { return renderToStringImpl( children, options, !0, 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; exports.renderToString = function (children, options) { return renderToStringImpl( children, options, !1, 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; exports.version = "19.0.0"; /***/ }), /***/ 3839: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * @license React * react-dom-server.node.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var util = __webpack_require__(9023), crypto = __webpack_require__(6982), async_hooks = __webpack_require__(290), React = __webpack_require__(6540), ReactDOM = __webpack_require__(961), stream = __webpack_require__(2203), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, isArrayImpl = Array.isArray, scheduleMicrotask = queueMicrotask; function flushBuffered(destination) { "function" === typeof destination.flush && destination.flush(); } var currentView = null, writtenBytes = 0, destinationHasCapacity$1 = !0; function writeChunk(destination, chunk) { if ("string" === typeof chunk) { if (0 !== chunk.length) if (2048 < 3 * chunk.length) 0 < writtenBytes && (writeToDestination( destination, currentView.subarray(0, writtenBytes) ), (currentView = new Uint8Array(2048)), (writtenBytes = 0)), writeToDestination(destination, chunk); else { var target = currentView; 0 < writtenBytes && (target = currentView.subarray(writtenBytes)); target = textEncoder.encodeInto(chunk, target); var read = target.read; writtenBytes += target.written; read < chunk.length && (writeToDestination( destination, currentView.subarray(0, writtenBytes) ), (currentView = new Uint8Array(2048)), (writtenBytes = textEncoder.encodeInto( chunk.slice(read), currentView ).written)); 2048 === writtenBytes && (writeToDestination(destination, currentView), (currentView = new Uint8Array(2048)), (writtenBytes = 0)); } } else 0 !== chunk.byteLength && (2048 < chunk.byteLength ? (0 < writtenBytes && (writeToDestination( destination, currentView.subarray(0, writtenBytes) ), (currentView = new Uint8Array(2048)), (writtenBytes = 0)), writeToDestination(destination, chunk)) : ((target = currentView.length - writtenBytes), target < chunk.byteLength && (0 === target ? writeToDestination(destination, currentView) : (currentView.set(chunk.subarray(0, target), writtenBytes), (writtenBytes += target), writeToDestination(destination, currentView), (chunk = chunk.subarray(target))), (currentView = new Uint8Array(2048)), (writtenBytes = 0)), currentView.set(chunk, writtenBytes), (writtenBytes += chunk.byteLength), 2048 === writtenBytes && (writeToDestination(destination, currentView), (currentView = new Uint8Array(2048)), (writtenBytes = 0)))); } function writeToDestination(destination, view) { destination = destination.write(view); destinationHasCapacity$1 = destinationHasCapacity$1 && destination; } function writeChunkAndReturn(destination, chunk) { writeChunk(destination, chunk); return destinationHasCapacity$1; } function completeWriting(destination) { currentView && 0 < writtenBytes && destination.write(currentView.subarray(0, writtenBytes)); currentView = null; writtenBytes = 0; destinationHasCapacity$1 = !0; } var textEncoder = new util.TextEncoder(); function stringToPrecomputedChunk(content) { return textEncoder.encode(content); } var assign = Object.assign, hasOwnProperty = Object.prototype.hasOwnProperty, VALID_ATTRIBUTE_NAME_REGEX = RegExp( "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$" ), illegalAttributeNameCache = {}, validatedAttributeNameCache = {}; function isAttributeNameSafe(attributeName) { if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return !0; if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1; if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return (validatedAttributeNameCache[attributeName] = !0); illegalAttributeNameCache[attributeName] = !0; return !1; } var unitlessNumbers = new Set( "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split( " " ) ), aliases = new Map([ ["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"], ["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift", "baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"], ["dominantBaseline", "dominant-baseline"], ["enableBackground", "enable-background"], ["fillOpacity", "fill-opacity"], ["fillRule", "fill-rule"], ["floodColor", "flood-color"], ["floodOpacity", "flood-opacity"], ["fontFamily", "font-family"], ["fontSize", "font-size"], ["fontSizeAdjust", "font-size-adjust"], ["fontStretch", "font-stretch"], ["fontStyle", "font-style"], ["fontVariant", "font-variant"], ["fontWeight", "font-weight"], ["glyphName", "glyph-name"], ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], ["glyphOrientationVertical", "glyph-orientation-vertical"], ["horizAdvX", "horiz-adv-x"], ["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing", "letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"], ["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"], ["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["renderingIntent", "rendering-intent"], ["shapeRendering", "shape-rendering"], ["stopColor", "stop-color"], ["stopOpacity", "stop-opacity"], ["strikethroughPosition", "strikethrough-position"], ["strikethroughThickness", "strikethrough-thickness"], ["strokeDasharray", "stroke-dasharray"], ["strokeDashoffset", "stroke-dashoffset"], ["strokeLinecap", "stroke-linecap"], ["strokeLinejoin", "stroke-linejoin"], ["strokeMiterlimit", "stroke-miterlimit"], ["strokeOpacity", "stroke-opacity"], ["strokeWidth", "stroke-width"], ["textAnchor", "text-anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"], ["transformOrigin", "transform-origin"], ["underlinePosition", "underline-position"], ["underlineThickness", "underline-thickness"], ["unicodeBidi", "unicode-bidi"], ["unicodeRange", "unicode-range"], ["unitsPerEm", "units-per-em"], ["vAlphabetic", "v-alphabetic"], ["vHanging", "v-hanging"], ["vIdeographic", "v-ideographic"], ["vMathematical", "v-mathematical"], ["vectorEffect", "vector-effect"], ["vertAdvY", "vert-adv-y"], ["vertOriginX", "vert-origin-x"], ["vertOriginY", "vert-origin-y"], ["wordSpacing", "word-spacing"], ["writingMode", "writing-mode"], ["xmlnsXlink", "xmlns:xlink"], ["xHeight", "x-height"] ]), matchHtmlRegExp = /["'&<>]/; function escapeTextForBrowser(text) { if ( "boolean" === typeof text || "number" === typeof text || "bigint" === typeof text ) return "" + text; text = "" + text; var match = matchHtmlRegExp.exec(text); if (match) { var html = "", index, lastIndex = 0; for (index = match.index; index < text.length; index++) { switch (text.charCodeAt(index)) { case 34: match = """; break; case 38: match = "&"; break; case 39: match = "'"; break; case 60: match = "<"; break; case 62: match = ">"; break; default: continue; } lastIndex !== index && (html += text.slice(lastIndex, index)); lastIndex = index + 1; html += match; } text = lastIndex !== index ? html + text.slice(lastIndex, index) : html; } return text; } var uppercasePattern = /([A-Z])/g, msPattern = /^ms-/, isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i; function sanitizeURL(url) { return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url; } var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, sharedNotPendingObject = { pending: !1, data: null, method: null, action: null }, previousDispatcher = ReactDOMSharedInternals.d; ReactDOMSharedInternals.d = { f: previousDispatcher.f, r: previousDispatcher.r, D: prefetchDNS, C: preconnect, L: preload, m: preloadModule, X: preinitScript, S: preinitStyle, M: preinitModuleScript }; var PRELOAD_NO_CREDS = []; stringToPrecomputedChunk('"></template>'); var startInlineScript = stringToPrecomputedChunk("<script>"), endInlineScript = stringToPrecomputedChunk("\x3c/script>"), startScriptSrc = stringToPrecomputedChunk('<script src="'), startModuleSrc = stringToPrecomputedChunk('<script type="module" src="'), scriptNonce = stringToPrecomputedChunk('" nonce="'), scriptIntegirty = stringToPrecomputedChunk('" integrity="'), scriptCrossOrigin = stringToPrecomputedChunk('" crossorigin="'), endAsyncScript = stringToPrecomputedChunk('" async="">\x3c/script>'), scriptRegex = /(<\/|<)(s)(cript)/gi; function scriptReplacer(match, prefix, s, suffix) { return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix; } var importMapScriptStart = stringToPrecomputedChunk( '<script type="importmap">' ), importMapScriptEnd = stringToPrecomputedChunk("\x3c/script>"); function createRenderState( resumableState, nonce, externalRuntimeConfig, importMap, onHeaders, maxHeadersLength ) { var inlineScriptWithNonce = void 0 === nonce ? startInlineScript : stringToPrecomputedChunk( '<script nonce="' + escapeTextForBrowser(nonce) + '">' ), idPrefix = resumableState.idPrefix; externalRuntimeConfig = []; var bootstrapScriptContent = resumableState.bootstrapScriptContent, bootstrapScripts = resumableState.bootstrapScripts, bootstrapModules = resumableState.bootstrapModules; void 0 !== bootstrapScriptContent && externalRuntimeConfig.push( inlineScriptWithNonce, ("" + bootstrapScriptContent).replace(scriptRegex, scriptReplacer), endInlineScript ); bootstrapScriptContent = []; void 0 !== importMap && (bootstrapScriptContent.push(importMapScriptStart), bootstrapScriptContent.push( ("" + JSON.stringify(importMap)).replace(scriptRegex, scriptReplacer) ), bootstrapScriptContent.push(importMapScriptEnd)); importMap = onHeaders ? { preconnects: "", fontPreloads: "", highImagePreloads: "", remainingCapacity: 2 + ("number" === typeof maxHeadersLength ? maxHeadersLength : 2e3) } : null; onHeaders = { placeholderPrefix: stringToPrecomputedChunk(idPrefix + "P:"), segmentPrefix: stringToPrecomputedChunk(idPrefix + "S:"), boundaryPrefix: stringToPrecomputedChunk(idPrefix + "B:"), startInlineScript: inlineScriptWithNonce, htmlChunks: null, headChunks: null, externalRuntimeScript: null, bootstrapChunks: externalRuntimeConfig, importMapChunks: bootstrapScriptContent, onHeaders: onHeaders, headers: importMap, resets: { font: {}, dns: {}, connect: { default: {}, anonymous: {}, credentials: {} }, image: {}, style: {} }, charsetChunks: [], viewportChunks: [], hoistableChunks: [], preconnects: new Set(), fontPreloads: new Set(), highImagePreloads: new Set(), styles: new Map(), bootstrapScripts: new Set(), scripts: new Set(), bulkPreloads: new Set(), preloads: { images: new Map(), stylesheets: new Map(), scripts: new Map(), moduleScripts: new Map() }, nonce: nonce, hoistableState: null, stylesToHoist: !1 }; if (void 0 !== bootstrapScripts) for (importMap = 0; importMap < bootstrapScripts.length; importMap++) { var scriptConfig = bootstrapScripts[importMap]; idPrefix = inlineScriptWithNonce = void 0; bootstrapScriptContent = { rel: "preload", as: "script", fetchPriority: "low", nonce: nonce }; "string" === typeof scriptConfig ? (bootstrapScriptContent.href = maxHeadersLength = scriptConfig) : ((bootstrapScriptContent.href = maxHeadersLength = scriptConfig.src), (bootstrapScriptContent.integrity = idPrefix = "string" === typeof scriptConfig.integrity ? scriptConfig.integrity : void 0), (bootstrapScriptContent.crossOrigin = inlineScriptWithNonce = "string" === typeof scriptConfig || null == scriptConfig.crossOrigin ? void 0 : "use-credentials" === scriptConfig.crossOrigin ? "use-credentials" : "")); scriptConfig = resumableState; var href = maxHeadersLength; scriptConfig.scriptResources[href] = null; scriptConfig.moduleScriptResources[href] = null; scriptConfig = []; pushLinkImpl(scriptConfig, bootstrapScriptContent); onHeaders.bootstrapScripts.add(scriptConfig); externalRuntimeConfig.push( startScriptSrc, escapeTextForBrowser(maxHeadersLength) ); nonce && externalRuntimeConfig.push(scriptNonce, escapeTextForBrowser(nonce)); "string" === typeof idPrefix && externalRuntimeConfig.push( scriptIntegirty, escapeTextForBrowser(idPrefix) ); "string" === typeof inlineScriptWithNonce && externalRuntimeConfig.push( scriptCrossOrigin, escapeTextForBrowser(inlineScriptWithNonce) ); externalRuntimeConfig.push(endAsyncScript); } if (void 0 !== bootstrapModules) for ( bootstrapScripts = 0; bootstrapScripts < bootstrapModules.length; bootstrapScripts++ ) (bootstrapScriptContent = bootstrapModules[bootstrapScripts]), (inlineScriptWithNonce = maxHeadersLength = void 0), (idPrefix = { rel: "modulepreload", fetchPriority: "low", nonce: nonce }), "string" === typeof bootstrapScriptContent ? (idPrefix.href = importMap = bootstrapScriptContent) : ((idPrefix.href = importMap = bootstrapScriptContent.src), (idPrefix.integrity = inlineScriptWithNonce = "string" === typeof bootstrapScriptContent.integrity ? bootstrapScriptContent.integrity : void 0), (idPrefix.crossOrigin = maxHeadersLength = "string" === typeof bootstrapScriptContent || null == bootstrapScriptContent.crossOrigin ? void 0 : "use-credentials" === bootstrapScriptContent.crossOrigin ? "use-credentials" : "")), (bootstrapScriptContent = resumableState), (scriptConfig = importMap), (bootstrapScriptContent.scriptResources[scriptConfig] = null), (bootstrapScriptContent.moduleScriptResources[scriptConfig] = null), (bootstrapScriptContent = []), pushLinkImpl(bootstrapScriptContent, idPrefix), onHeaders.bootstrapScripts.add(bootstrapScriptContent), externalRuntimeConfig.push( startModuleSrc, escapeTextForBrowser(importMap) ), nonce && externalRuntimeConfig.push(scriptNonce, escapeTextForBrowser(nonce)), "string" === typeof inlineScriptWithNonce && externalRuntimeConfig.push( scriptIntegirty, escapeTextForBrowser(inlineScriptWithNonce) ), "string" === typeof maxHeadersLength && externalRuntimeConfig.push( scriptCrossOrigin, escapeTextForBrowser(maxHeadersLength) ), externalRuntimeConfig.push(endAsyncScript); return onHeaders; } function createResumableState( identifierPrefix, externalRuntimeConfig, bootstrapScriptContent, bootstrapScripts, bootstrapModules ) { return { idPrefix: void 0 === identifierPrefix ? "" : identifierPrefix, nextFormID: 0, streamingFormat: 0, bootstrapScriptContent: bootstrapScriptContent, bootstrapScripts: bootstrapScripts, bootstrapModules: bootstrapModules, instructions: 0, hasBody: !1, hasHtml: !1, unknownResources: {}, dnsResources: {}, connectResources: { default: {}, anonymous: {}, credentials: {} }, imageResources: {}, styleResources: {}, scriptResources: {}, moduleUnknownResources: {}, moduleScriptResources: {} }; } function createFormatContext(insertionMode, selectedValue, tagScope) { return { insertionMode: insertionMode, selectedValue: selectedValue, tagScope: tagScope }; } function createRootFormatContext(namespaceURI) { return createFormatContext( "http://www.w3.org/2000/svg" === namespaceURI ? 3 : "http://www.w3.org/1998/Math/MathML" === namespaceURI ? 4 : 0, null, 0 ); } function getChildFormatContext(parentContext, type, props) { switch (type) { case "noscript": return createFormatContext(2, null, parentContext.tagScope | 1); case "select": return createFormatContext( 2, null != props.value ? props.value : props.defaultValue, parentContext.tagScope ); case "svg": return createFormatContext(3, null, parentContext.tagScope); case "picture": return createFormatContext(2, null, parentContext.tagScope | 2); case "math": return createFormatContext(4, null, parentContext.tagScope); case "foreignObject": return createFormatContext(2, null, parentContext.tagScope); case "table": return createFormatContext(5, null, parentContext.tagScope); case "thead": case "tbody": case "tfoot": return createFormatContext(6, null, parentContext.tagScope); case "colgroup": return createFormatContext(8, null, parentContext.tagScope); case "tr": return createFormatContext(7, null, parentContext.tagScope); } return 5 <= parentContext.insertionMode ? createFormatContext(2, null, parentContext.tagScope) : 0 === parentContext.insertionMode ? "html" === type ? createFormatContext(1, null, parentContext.tagScope) : createFormatContext(2, null, parentContext.tagScope) : 1 === parentContext.insertionMode ? createFormatContext(2, null, parentContext.tagScope) : parentContext; } var textSeparator = stringToPrecomputedChunk("\x3c!-- --\x3e"); function pushTextInstance(target, text, renderState, textEmbedded) { if ("" === text) return textEmbedded; textEmbedded && target.push(textSeparator); target.push(escapeTextForBrowser(text)); return !0; } var styleNameCache = new Map(), styleAttributeStart = stringToPrecomputedChunk(' style="'), styleAssign = stringToPrecomputedChunk(":"), styleSeparator = stringToPrecomputedChunk(";"); function pushStyleAttribute(target, style) { if ("object" !== typeof style) throw Error( "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX." ); var isFirst = !0, styleName; for (styleName in style) if (hasOwnProperty.call(style, styleName)) { var styleValue = style[styleName]; if ( null != styleValue && "boolean" !== typeof styleValue && "" !== styleValue ) { if (0 === styleName.indexOf("--")) { var nameChunk = escapeTextForBrowser(styleName); styleValue = escapeTextForBrowser(("" + styleValue).trim()); } else (nameChunk = styleNameCache.get(styleName)), void 0 === nameChunk && ((nameChunk = stringToPrecomputedChunk( escapeTextForBrowser( styleName .replace(uppercasePattern, "-$1") .toLowerCase() .replace(msPattern, "-ms-") ) )), styleNameCache.set(styleName, nameChunk)), (styleValue = "number" === typeof styleValue ? 0 === styleValue || unitlessNumbers.has(styleName) ? "" + styleValue : styleValue + "px" : escapeTextForBrowser(("" + styleValue).trim())); isFirst ? ((isFirst = !1), target.push( styleAttributeStart, nameChunk, styleAssign, styleValue )) : target.push(styleSeparator, nameChunk, styleAssign, styleValue); } } isFirst || target.push(attributeEnd); } var attributeSeparator = stringToPrecomputedChunk(" "), attributeAssign = stringToPrecomputedChunk('="'), attributeEnd = stringToPrecomputedChunk('"'), attributeEmptyString = stringToPrecomputedChunk('=""'); function pushBooleanAttribute(target, name, value) { value && "function" !== typeof value && "symbol" !== typeof value && target.push(attributeSeparator, name, attributeEmptyString); } function pushStringAttribute(target, name, value) { "function" !== typeof value && "symbol" !== typeof value && "boolean" !== typeof value && target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); } var actionJavaScriptURL = stringToPrecomputedChunk( escapeTextForBrowser( "javascript:throw new Error('React form unexpectedly submitted.')" ) ), startHiddenInputChunk = stringToPrecomputedChunk('<input type="hidden"'); function pushAdditionalFormField(value, key) { this.push(startHiddenInputChunk); validateAdditionalFormField(value); pushStringAttribute(this, "name", key); pushStringAttribute(this, "value", value); this.push(endOfStartTagSelfClosing); } function validateAdditionalFormField(value) { if ("string" !== typeof value) throw Error( "File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration." ); } function getCustomFormFields(resumableState, formAction) { if ("function" === typeof formAction.$$FORM_ACTION) { var id = resumableState.nextFormID++; resumableState = resumableState.idPrefix + id; try { var customFields = formAction.$$FORM_ACTION(resumableState); if (customFields) { var formData = customFields.data; null != formData && formData.forEach(validateAdditionalFormField); } return customFields; } catch (x) { if ("object" === typeof x && null !== x && "function" === typeof x.then) throw x; } } return null; } function pushFormActionAttribute( target, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name ) { var formData = null; if ("function" === typeof formAction) { var customFields = getCustomFormFields(resumableState, formAction); null !== customFields ? ((name = customFields.name), (formAction = customFields.action || ""), (formEncType = customFields.encType), (formMethod = customFields.method), (formTarget = customFields.target), (formData = customFields.data)) : (target.push( attributeSeparator, "formAction", attributeAssign, actionJavaScriptURL, attributeEnd ), (formTarget = formMethod = formEncType = formAction = name = null), injectFormReplayingRuntime(resumableState, renderState)); } null != name && pushAttribute(target, "name", name); null != formAction && pushAttribute(target, "formAction", formAction); null != formEncType && pushAttribute(target, "formEncType", formEncType); null != formMethod && pushAttribute(target, "formMethod", formMethod); null != formTarget && pushAttribute(target, "formTarget", formTarget); return formData; } function pushAttribute(target, name, value) { switch (name) { case "className": pushStringAttribute(target, "class", value); break; case "tabIndex": pushStringAttribute(target, "tabindex", value); break; case "dir": case "role": case "viewBox": case "width": case "height": pushStringAttribute(target, name, value); break; case "style": pushStyleAttribute(target, value); break; case "src": case "href": if ("" === value) break; case "action": case "formAction": if ( null == value || "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value ) break; value = sanitizeURL("" + value); target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); break; case "defaultValue": case "defaultChecked": case "innerHTML": case "suppressContentEditableWarning": case "suppressHydrationWarning": case "ref": break; case "autoFocus": case "multiple": case "muted": pushBooleanAttribute(target, name.toLowerCase(), value); break; case "xlinkHref": if ( "function" === typeof value || "symbol" === typeof value || "boolean" === typeof value ) break; value = sanitizeURL("" + value); target.push( attributeSeparator, "xlink:href", attributeAssign, escapeTextForBrowser(value), attributeEnd ); break; case "contentEditable": case "spellCheck": case "draggable": case "value": case "autoReverse": case "externalResourcesRequired": case "focusable": case "preserveAlpha": "function" !== typeof value && "symbol" !== typeof value && target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); break; case "inert": case "allowFullScreen": case "async": case "autoPlay": case "controls": case "default": case "defer": case "disabled": case "disablePictureInPicture": case "disableRemotePlayback": case "formNoValidate": case "hidden": case "loop": case "noModule": case "noValidate": case "open": case "playsInline": case "readOnly": case "required": case "reversed": case "scoped": case "seamless": case "itemScope": value && "function" !== typeof value && "symbol" !== typeof value && target.push(attributeSeparator, name, attributeEmptyString); break; case "capture": case "download": !0 === value ? target.push(attributeSeparator, name, attributeEmptyString) : !1 !== value && "function" !== typeof value && "symbol" !== typeof value && target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); break; case "cols": case "rows": case "size": case "span": "function" !== typeof value && "symbol" !== typeof value && !isNaN(value) && 1 <= value && target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); break; case "rowSpan": case "start": "function" === typeof value || "symbol" === typeof value || isNaN(value) || target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); break; case "xlinkActuate": pushStringAttribute(target, "xlink:actuate", value); break; case "xlinkArcrole": pushStringAttribute(target, "xlink:arcrole", value); break; case "xlinkRole": pushStringAttribute(target, "xlink:role", value); break; case "xlinkShow": pushStringAttribute(target, "xlink:show", value); break; case "xlinkTitle": pushStringAttribute(target, "xlink:title", value); break; case "xlinkType": pushStringAttribute(target, "xlink:type", value); break; case "xmlBase": pushStringAttribute(target, "xml:base", value); break; case "xmlLang": pushStringAttribute(target, "xml:lang", value); break; case "xmlSpace": pushStringAttribute(target, "xml:space", value); break; default: if ( !(2 < name.length) || ("o" !== name[0] && "O" !== name[0]) || ("n" !== name[1] && "N" !== name[1]) ) if (((name = aliases.get(name) || name), isAttributeNameSafe(name))) { switch (typeof value) { case "function": case "symbol": return; case "boolean": var prefix$8 = name.toLowerCase().slice(0, 5); if ("data-" !== prefix$8 && "aria-" !== prefix$8) return; } target.push( attributeSeparator, name, attributeAssign, escapeTextForBrowser(value), attributeEnd ); } } } var endOfStartTag = stringToPrecomputedChunk(">"), endOfStartTagSelfClosing = stringToPrecomputedChunk("/>"); function pushInnerHTML(target, innerHTML, children) { if (null != innerHTML) { if (null != children) throw Error( "Can only set one of `children` or `props.dangerouslySetInnerHTML`." ); if ("object" !== typeof innerHTML || !("__html" in innerHTML)) throw Error( "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information." ); innerHTML = innerHTML.__html; null !== innerHTML && void 0 !== innerHTML && target.push("" + innerHTML); } } function flattenOptionChildren(children) { var content = ""; React.Children.forEach(children, function (child) { null != child && (content += child); }); return content; } var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""'), formReplayingRuntimeScript = stringToPrecomputedChunk( 'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});' ); function injectFormReplayingRuntime(resumableState, renderState) { 0 === (resumableState.instructions & 16) && ((resumableState.instructions |= 16), renderState.bootstrapChunks.unshift( renderState.startInlineScript, formReplayingRuntimeScript, endInlineScript )); } var formStateMarkerIsMatching = stringToPrecomputedChunk("\x3c!--F!--\x3e"), formStateMarkerIsNotMatching = stringToPrecomputedChunk("\x3c!--F--\x3e"); function pushLinkImpl(target, props) { target.push(startChunkForTag("link")); for (var propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": case "dangerouslySetInnerHTML": throw Error( "link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); default: pushAttribute(target, propKey, propValue); } } target.push(endOfStartTagSelfClosing); return null; } var styleRegex = /(<\/|<)(s)(tyle)/gi; function styleReplacer(match, prefix, s, suffix) { return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix; } function pushSelfClosing(target, props, tag) { target.push(startChunkForTag(tag)); for (var propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": case "dangerouslySetInnerHTML": throw Error( tag + " is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); default: pushAttribute(target, propKey, propValue); } } target.push(endOfStartTagSelfClosing); return null; } function pushTitleImpl(target, props) { target.push(startChunkForTag("title")); var children = null, innerHTML = null, propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": children = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; default: pushAttribute(target, propKey, propValue); } } target.push(endOfStartTag); props = Array.isArray(children) ? 2 > children.length ? children[0] : null : children; "function" !== typeof props && "symbol" !== typeof props && null !== props && void 0 !== props && target.push(escapeTextForBrowser("" + props)); pushInnerHTML(target, innerHTML, children); target.push(endChunkForTag("title")); return null; } function pushScriptImpl(target, props) { target.push(startChunkForTag("script")); var children = null, innerHTML = null, propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": children = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; default: pushAttribute(target, propKey, propValue); } } target.push(endOfStartTag); pushInnerHTML(target, innerHTML, children); "string" === typeof children && target.push(("" + children).replace(scriptRegex, scriptReplacer)); target.push(endChunkForTag("script")); return null; } function pushStartGenericElement(target, props, tag) { target.push(startChunkForTag(tag)); var innerHTML = (tag = null), propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": tag = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; default: pushAttribute(target, propKey, propValue); } } target.push(endOfStartTag); pushInnerHTML(target, innerHTML, tag); return "string" === typeof tag ? (target.push(escapeTextForBrowser(tag)), null) : tag; } var leadingNewline = stringToPrecomputedChunk("\n"), VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, validatedTagCache = new Map(); function startChunkForTag(tag) { var tagStartChunk = validatedTagCache.get(tag); if (void 0 === tagStartChunk) { if (!VALID_TAG_REGEX.test(tag)) throw Error("Invalid tag: " + tag); tagStartChunk = stringToPrecomputedChunk("<" + tag); validatedTagCache.set(tag, tagStartChunk); } return tagStartChunk; } var doctypeChunk = stringToPrecomputedChunk("<!DOCTYPE html>"); function pushStartInstance( target$jscomp$0, type, props, resumableState, renderState, hoistableState, formatContext, textEmbedded, isFallback ) { switch (type) { case "div": case "span": case "svg": case "path": break; case "a": target$jscomp$0.push(startChunkForTag("a")); var children = null, innerHTML = null, propKey; for (propKey in props) if (hasOwnProperty.call(props, propKey)) { var propValue = props[propKey]; if (null != propValue) switch (propKey) { case "children": children = propValue; break; case "dangerouslySetInnerHTML": innerHTML = propValue; break; case "href": "" === propValue ? pushStringAttribute(target$jscomp$0, "href", "") : pushAttribute(target$jscomp$0, propKey, propValue); break; default: pushAttribute(target$jscomp$0, propKey, propValue); } } target$jscomp$0.push(endOfStartTag); pushInnerHTML(target$jscomp$0, innerHTML, children); if ("string" === typeof children) { target$jscomp$0.push(escapeTextForBrowser(children)); var JSCompiler_inline_result = null; } else JSCompiler_inline_result = children; return JSCompiler_inline_result; case "g": case "p": case "li": break; case "select": target$jscomp$0.push(startChunkForTag("select")); var children$jscomp$0 = null, innerHTML$jscomp$0 = null, propKey$jscomp$0; for (propKey$jscomp$0 in props) if (hasOwnProperty.call(props, propKey$jscomp$0)) { var propValue$jscomp$0 = props[propKey$jscomp$0]; if (null != propValue$jscomp$0) switch (propKey$jscomp$0) { case "children": children$jscomp$0 = propValue$jscomp$0; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$0 = propValue$jscomp$0; break; case "defaultValue": case "value": break; default: pushAttribute( target$jscomp$0, propKey$jscomp$0, propValue$jscomp$0 ); } } target$jscomp$0.push(endOfStartTag); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0); return children$jscomp$0; case "option": var selectedValue = formatContext.selectedValue; target$jscomp$0.push(startChunkForTag("option")); var children$jscomp$1 = null, value = null, selected = null, innerHTML$jscomp$1 = null, propKey$jscomp$1; for (propKey$jscomp$1 in props) if (hasOwnProperty.call(props, propKey$jscomp$1)) { var propValue$jscomp$1 = props[propKey$jscomp$1]; if (null != propValue$jscomp$1) switch (propKey$jscomp$1) { case "children": children$jscomp$1 = propValue$jscomp$1; break; case "selected": selected = propValue$jscomp$1; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$1 = propValue$jscomp$1; break; case "value": value = propValue$jscomp$1; default: pushAttribute( target$jscomp$0, propKey$jscomp$1, propValue$jscomp$1 ); } } if (null != selectedValue) { var stringValue = null !== value ? "" + value : flattenOptionChildren(children$jscomp$1); if (isArrayImpl(selectedValue)) for (var i = 0; i < selectedValue.length; i++) { if ("" + selectedValue[i] === stringValue) { target$jscomp$0.push(selectedMarkerAttribute); break; } } else "" + selectedValue === stringValue && target$jscomp$0.push(selectedMarkerAttribute); } else selected && target$jscomp$0.push(selectedMarkerAttribute); target$jscomp$0.push(endOfStartTag); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$1, children$jscomp$1); return children$jscomp$1; case "textarea": target$jscomp$0.push(startChunkForTag("textarea")); var value$jscomp$0 = null, defaultValue = null, children$jscomp$2 = null, propKey$jscomp$2; for (propKey$jscomp$2 in props) if (hasOwnProperty.call(props, propKey$jscomp$2)) { var propValue$jscomp$2 = props[propKey$jscomp$2]; if (null != propValue$jscomp$2) switch (propKey$jscomp$2) { case "children": children$jscomp$2 = propValue$jscomp$2; break; case "value": value$jscomp$0 = propValue$jscomp$2; break; case "defaultValue": defaultValue = propValue$jscomp$2; break; case "dangerouslySetInnerHTML": throw Error( "`dangerouslySetInnerHTML` does not make sense on <textarea>." ); default: pushAttribute( target$jscomp$0, propKey$jscomp$2, propValue$jscomp$2 ); } } null === value$jscomp$0 && null !== defaultValue && (value$jscomp$0 = defaultValue); target$jscomp$0.push(endOfStartTag); if (null != children$jscomp$2) { if (null != value$jscomp$0) throw Error( "If you supply `defaultValue` on a <textarea>, do not pass children." ); if (isArrayImpl(children$jscomp$2)) { if (1 < children$jscomp$2.length) throw Error("<textarea> can only have at most one child."); value$jscomp$0 = "" + children$jscomp$2[0]; } value$jscomp$0 = "" + children$jscomp$2; } "string" === typeof value$jscomp$0 && "\n" === value$jscomp$0[0] && target$jscomp$0.push(leadingNewline); null !== value$jscomp$0 && target$jscomp$0.push(escapeTextForBrowser("" + value$jscomp$0)); return null; case "input": target$jscomp$0.push(startChunkForTag("input")); var name = null, formAction = null, formEncType = null, formMethod = null, formTarget = null, value$jscomp$1 = null, defaultValue$jscomp$0 = null, checked = null, defaultChecked = null, propKey$jscomp$3; for (propKey$jscomp$3 in props) if (hasOwnProperty.call(props, propKey$jscomp$3)) { var propValue$jscomp$3 = props[propKey$jscomp$3]; if (null != propValue$jscomp$3) switch (propKey$jscomp$3) { case "children": case "dangerouslySetInnerHTML": throw Error( "input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); case "name": name = propValue$jscomp$3; break; case "formAction": formAction = propValue$jscomp$3; break; case "formEncType": formEncType = propValue$jscomp$3; break; case "formMethod": formMethod = propValue$jscomp$3; break; case "formTarget": formTarget = propValue$jscomp$3; break; case "defaultChecked": defaultChecked = propValue$jscomp$3; break; case "defaultValue": defaultValue$jscomp$0 = propValue$jscomp$3; break; case "checked": checked = propValue$jscomp$3; break; case "value": value$jscomp$1 = propValue$jscomp$3; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$3, propValue$jscomp$3 ); } } var formData = pushFormActionAttribute( target$jscomp$0, resumableState, renderState, formAction, formEncType, formMethod, formTarget, name ); null !== checked ? pushBooleanAttribute(target$jscomp$0, "checked", checked) : null !== defaultChecked && pushBooleanAttribute(target$jscomp$0, "checked", defaultChecked); null !== value$jscomp$1 ? pushAttribute(target$jscomp$0, "value", value$jscomp$1) : null !== defaultValue$jscomp$0 && pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0); target$jscomp$0.push(endOfStartTagSelfClosing); null != formData && formData.forEach(pushAdditionalFormField, target$jscomp$0); return null; case "button": target$jscomp$0.push(startChunkForTag("button")); var children$jscomp$3 = null, innerHTML$jscomp$2 = null, name$jscomp$0 = null, formAction$jscomp$0 = null, formEncType$jscomp$0 = null, formMethod$jscomp$0 = null, formTarget$jscomp$0 = null, propKey$jscomp$4; for (propKey$jscomp$4 in props) if (hasOwnProperty.call(props, propKey$jscomp$4)) { var propValue$jscomp$4 = props[propKey$jscomp$4]; if (null != propValue$jscomp$4) switch (propKey$jscomp$4) { case "children": children$jscomp$3 = propValue$jscomp$4; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$2 = propValue$jscomp$4; break; case "name": name$jscomp$0 = propValue$jscomp$4; break; case "formAction": formAction$jscomp$0 = propValue$jscomp$4; break; case "formEncType": formEncType$jscomp$0 = propValue$jscomp$4; break; case "formMethod": formMethod$jscomp$0 = propValue$jscomp$4; break; case "formTarget": formTarget$jscomp$0 = propValue$jscomp$4; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$4, propValue$jscomp$4 ); } } var formData$jscomp$0 = pushFormActionAttribute( target$jscomp$0, resumableState, renderState, formAction$jscomp$0, formEncType$jscomp$0, formMethod$jscomp$0, formTarget$jscomp$0, name$jscomp$0 ); target$jscomp$0.push(endOfStartTag); null != formData$jscomp$0 && formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$2, children$jscomp$3); if ("string" === typeof children$jscomp$3) { target$jscomp$0.push(escapeTextForBrowser(children$jscomp$3)); var JSCompiler_inline_result$jscomp$0 = null; } else JSCompiler_inline_result$jscomp$0 = children$jscomp$3; return JSCompiler_inline_result$jscomp$0; case "form": target$jscomp$0.push(startChunkForTag("form")); var children$jscomp$4 = null, innerHTML$jscomp$3 = null, formAction$jscomp$1 = null, formEncType$jscomp$1 = null, formMethod$jscomp$1 = null, formTarget$jscomp$1 = null, propKey$jscomp$5; for (propKey$jscomp$5 in props) if (hasOwnProperty.call(props, propKey$jscomp$5)) { var propValue$jscomp$5 = props[propKey$jscomp$5]; if (null != propValue$jscomp$5) switch (propKey$jscomp$5) { case "children": children$jscomp$4 = propValue$jscomp$5; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$3 = propValue$jscomp$5; break; case "action": formAction$jscomp$1 = propValue$jscomp$5; break; case "encType": formEncType$jscomp$1 = propValue$jscomp$5; break; case "method": formMethod$jscomp$1 = propValue$jscomp$5; break; case "target": formTarget$jscomp$1 = propValue$jscomp$5; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$5, propValue$jscomp$5 ); } } var formData$jscomp$1 = null, formActionName = null; if ("function" === typeof formAction$jscomp$1) { var customFields = getCustomFormFields( resumableState, formAction$jscomp$1 ); null !== customFields ? ((formAction$jscomp$1 = customFields.action || ""), (formEncType$jscomp$1 = customFields.encType), (formMethod$jscomp$1 = customFields.method), (formTarget$jscomp$1 = customFields.target), (formData$jscomp$1 = customFields.data), (formActionName = customFields.name)) : (target$jscomp$0.push( attributeSeparator, "action", attributeAssign, actionJavaScriptURL, attributeEnd ), (formTarget$jscomp$1 = formMethod$jscomp$1 = formEncType$jscomp$1 = formAction$jscomp$1 = null), injectFormReplayingRuntime(resumableState, renderState)); } null != formAction$jscomp$1 && pushAttribute(target$jscomp$0, "action", formAction$jscomp$1); null != formEncType$jscomp$1 && pushAttribute(target$jscomp$0, "encType", formEncType$jscomp$1); null != formMethod$jscomp$1 && pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1); null != formTarget$jscomp$1 && pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1); target$jscomp$0.push(endOfStartTag); null !== formActionName && (target$jscomp$0.push(startHiddenInputChunk), pushStringAttribute(target$jscomp$0, "name", formActionName), target$jscomp$0.push(endOfStartTagSelfClosing), null != formData$jscomp$1 && formData$jscomp$1.forEach(pushAdditionalFormField, target$jscomp$0)); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$3, children$jscomp$4); if ("string" === typeof children$jscomp$4) { target$jscomp$0.push(escapeTextForBrowser(children$jscomp$4)); var JSCompiler_inline_result$jscomp$1 = null; } else JSCompiler_inline_result$jscomp$1 = children$jscomp$4; return JSCompiler_inline_result$jscomp$1; case "menuitem": target$jscomp$0.push(startChunkForTag("menuitem")); for (var propKey$jscomp$6 in props) if (hasOwnProperty.call(props, propKey$jscomp$6)) { var propValue$jscomp$6 = props[propKey$jscomp$6]; if (null != propValue$jscomp$6) switch (propKey$jscomp$6) { case "children": case "dangerouslySetInnerHTML": throw Error( "menuitems cannot have `children` nor `dangerouslySetInnerHTML`." ); default: pushAttribute( target$jscomp$0, propKey$jscomp$6, propValue$jscomp$6 ); } } target$jscomp$0.push(endOfStartTag); return null; case "object": target$jscomp$0.push(startChunkForTag("object")); var children$jscomp$5 = null, innerHTML$jscomp$4 = null, propKey$jscomp$7; for (propKey$jscomp$7 in props) if (hasOwnProperty.call(props, propKey$jscomp$7)) { var propValue$jscomp$7 = props[propKey$jscomp$7]; if (null != propValue$jscomp$7) switch (propKey$jscomp$7) { case "children": children$jscomp$5 = propValue$jscomp$7; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$4 = propValue$jscomp$7; break; case "data": var sanitizedValue = sanitizeURL("" + propValue$jscomp$7); if ("" === sanitizedValue) break; target$jscomp$0.push( attributeSeparator, "data", attributeAssign, escapeTextForBrowser(sanitizedValue), attributeEnd ); break; default: pushAttribute( target$jscomp$0, propKey$jscomp$7, propValue$jscomp$7 ); } } target$jscomp$0.push(endOfStartTag); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5); if ("string" === typeof children$jscomp$5) { target$jscomp$0.push(escapeTextForBrowser(children$jscomp$5)); var JSCompiler_inline_result$jscomp$2 = null; } else JSCompiler_inline_result$jscomp$2 = children$jscomp$5; return JSCompiler_inline_result$jscomp$2; case "title": if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp ) var JSCompiler_inline_result$jscomp$3 = pushTitleImpl( target$jscomp$0, props ); else isFallback ? (JSCompiler_inline_result$jscomp$3 = null) : (pushTitleImpl(renderState.hoistableChunks, props), (JSCompiler_inline_result$jscomp$3 = void 0)); return JSCompiler_inline_result$jscomp$3; case "link": var rel = props.rel, href = props.href, precedence = props.precedence; if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp || "string" !== typeof rel || "string" !== typeof href || "" === href ) { pushLinkImpl(target$jscomp$0, props); var JSCompiler_inline_result$jscomp$4 = null; } else if ("stylesheet" === props.rel) if ( "string" !== typeof precedence || null != props.disabled || props.onLoad || props.onError ) JSCompiler_inline_result$jscomp$4 = pushLinkImpl( target$jscomp$0, props ); else { var styleQueue = renderState.styles.get(precedence), resourceState = resumableState.styleResources.hasOwnProperty(href) ? resumableState.styleResources[href] : void 0; if (null !== resourceState) { resumableState.styleResources[href] = null; styleQueue || ((styleQueue = { precedence: escapeTextForBrowser(precedence), rules: [], hrefs: [], sheets: new Map() }), renderState.styles.set(precedence, styleQueue)); var resource = { state: 0, props: assign({}, props, { "data-precedence": props.precedence, precedence: null }) }; if (resourceState) { 2 === resourceState.length && adoptPreloadCredentials(resource.props, resourceState); var preloadResource = renderState.preloads.stylesheets.get(href); preloadResource && 0 < preloadResource.length ? (preloadResource.length = 0) : (resource.state = 1); } styleQueue.sheets.set(href, resource); hoistableState && hoistableState.stylesheets.add(resource); } else if (styleQueue) { var resource$9 = styleQueue.sheets.get(href); resource$9 && hoistableState && hoistableState.stylesheets.add(resource$9); } textEmbedded && target$jscomp$0.push(textSeparator); JSCompiler_inline_result$jscomp$4 = null; } else props.onLoad || props.onError ? (JSCompiler_inline_result$jscomp$4 = pushLinkImpl( target$jscomp$0, props )) : (textEmbedded && target$jscomp$0.push(textSeparator), (JSCompiler_inline_result$jscomp$4 = isFallback ? null : pushLinkImpl(renderState.hoistableChunks, props))); return JSCompiler_inline_result$jscomp$4; case "script": var asyncProp = props.async; if ( "string" !== typeof props.src || !props.src || !asyncProp || "function" === typeof asyncProp || "symbol" === typeof asyncProp || props.onLoad || props.onError || 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp ) var JSCompiler_inline_result$jscomp$5 = pushScriptImpl( target$jscomp$0, props ); else { var key = props.src; if ("module" === props.type) { var resources = resumableState.moduleScriptResources; var preloads = renderState.preloads.moduleScripts; } else (resources = resumableState.scriptResources), (preloads = renderState.preloads.scripts); var resourceState$jscomp$0 = resources.hasOwnProperty(key) ? resources[key] : void 0; if (null !== resourceState$jscomp$0) { resources[key] = null; var scriptProps = props; if (resourceState$jscomp$0) { 2 === resourceState$jscomp$0.length && ((scriptProps = assign({}, props)), adoptPreloadCredentials(scriptProps, resourceState$jscomp$0)); var preloadResource$jscomp$0 = preloads.get(key); preloadResource$jscomp$0 && (preloadResource$jscomp$0.length = 0); } var resource$jscomp$0 = []; renderState.scripts.add(resource$jscomp$0); pushScriptImpl(resource$jscomp$0, scriptProps); } textEmbedded && target$jscomp$0.push(textSeparator); JSCompiler_inline_result$jscomp$5 = null; } return JSCompiler_inline_result$jscomp$5; case "style": var precedence$jscomp$0 = props.precedence, href$jscomp$0 = props.href; if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp || "string" !== typeof precedence$jscomp$0 || "string" !== typeof href$jscomp$0 || "" === href$jscomp$0 ) { target$jscomp$0.push(startChunkForTag("style")); var children$jscomp$6 = null, innerHTML$jscomp$5 = null, propKey$jscomp$8; for (propKey$jscomp$8 in props) if (hasOwnProperty.call(props, propKey$jscomp$8)) { var propValue$jscomp$8 = props[propKey$jscomp$8]; if (null != propValue$jscomp$8) switch (propKey$jscomp$8) { case "children": children$jscomp$6 = propValue$jscomp$8; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$5 = propValue$jscomp$8; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$8, propValue$jscomp$8 ); } } target$jscomp$0.push(endOfStartTag); var child = Array.isArray(children$jscomp$6) ? 2 > children$jscomp$6.length ? children$jscomp$6[0] : null : children$jscomp$6; "function" !== typeof child && "symbol" !== typeof child && null !== child && void 0 !== child && target$jscomp$0.push(("" + child).replace(styleRegex, styleReplacer)); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$5, children$jscomp$6); target$jscomp$0.push(endChunkForTag("style")); var JSCompiler_inline_result$jscomp$6 = null; } else { var styleQueue$jscomp$0 = renderState.styles.get(precedence$jscomp$0); if ( null !== (resumableState.styleResources.hasOwnProperty(href$jscomp$0) ? resumableState.styleResources[href$jscomp$0] : void 0) ) { resumableState.styleResources[href$jscomp$0] = null; styleQueue$jscomp$0 ? styleQueue$jscomp$0.hrefs.push( escapeTextForBrowser(href$jscomp$0) ) : ((styleQueue$jscomp$0 = { precedence: escapeTextForBrowser(precedence$jscomp$0), rules: [], hrefs: [escapeTextForBrowser(href$jscomp$0)], sheets: new Map() }), renderState.styles.set(precedence$jscomp$0, styleQueue$jscomp$0)); var target = styleQueue$jscomp$0.rules, children$jscomp$7 = null, innerHTML$jscomp$6 = null, propKey$jscomp$9; for (propKey$jscomp$9 in props) if (hasOwnProperty.call(props, propKey$jscomp$9)) { var propValue$jscomp$9 = props[propKey$jscomp$9]; if (null != propValue$jscomp$9) switch (propKey$jscomp$9) { case "children": children$jscomp$7 = propValue$jscomp$9; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$6 = propValue$jscomp$9; } } var child$jscomp$0 = Array.isArray(children$jscomp$7) ? 2 > children$jscomp$7.length ? children$jscomp$7[0] : null : children$jscomp$7; "function" !== typeof child$jscomp$0 && "symbol" !== typeof child$jscomp$0 && null !== child$jscomp$0 && void 0 !== child$jscomp$0 && target.push( ("" + child$jscomp$0).replace(styleRegex, styleReplacer) ); pushInnerHTML(target, innerHTML$jscomp$6, children$jscomp$7); } styleQueue$jscomp$0 && hoistableState && hoistableState.styles.add(styleQueue$jscomp$0); textEmbedded && target$jscomp$0.push(textSeparator); JSCompiler_inline_result$jscomp$6 = void 0; } return JSCompiler_inline_result$jscomp$6; case "meta": if ( 3 === formatContext.insertionMode || formatContext.tagScope & 1 || null != props.itemProp ) var JSCompiler_inline_result$jscomp$7 = pushSelfClosing( target$jscomp$0, props, "meta" ); else textEmbedded && target$jscomp$0.push(textSeparator), (JSCompiler_inline_result$jscomp$7 = isFallback ? null : "string" === typeof props.charSet ? pushSelfClosing(renderState.charsetChunks, props, "meta") : "viewport" === props.name ? pushSelfClosing(renderState.viewportChunks, props, "meta") : pushSelfClosing(renderState.hoistableChunks, props, "meta")); return JSCompiler_inline_result$jscomp$7; case "listing": case "pre": target$jscomp$0.push(startChunkForTag(type)); var children$jscomp$8 = null, innerHTML$jscomp$7 = null, propKey$jscomp$10; for (propKey$jscomp$10 in props) if (hasOwnProperty.call(props, propKey$jscomp$10)) { var propValue$jscomp$10 = props[propKey$jscomp$10]; if (null != propValue$jscomp$10) switch (propKey$jscomp$10) { case "children": children$jscomp$8 = propValue$jscomp$10; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$7 = propValue$jscomp$10; break; default: pushAttribute( target$jscomp$0, propKey$jscomp$10, propValue$jscomp$10 ); } } target$jscomp$0.push(endOfStartTag); if (null != innerHTML$jscomp$7) { if (null != children$jscomp$8) throw Error( "Can only set one of `children` or `props.dangerouslySetInnerHTML`." ); if ( "object" !== typeof innerHTML$jscomp$7 || !("__html" in innerHTML$jscomp$7) ) throw Error( "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information." ); var html = innerHTML$jscomp$7.__html; null !== html && void 0 !== html && ("string" === typeof html && 0 < html.length && "\n" === html[0] ? target$jscomp$0.push(leadingNewline, html) : target$jscomp$0.push("" + html)); } "string" === typeof children$jscomp$8 && "\n" === children$jscomp$8[0] && target$jscomp$0.push(leadingNewline); return children$jscomp$8; case "img": var src = props.src, srcSet = props.srcSet; if ( !( "lazy" === props.loading || (!src && !srcSet) || ("string" !== typeof src && null != src) || ("string" !== typeof srcSet && null != srcSet) ) && "low" !== props.fetchPriority && !1 === !!(formatContext.tagScope & 3) && ("string" !== typeof src || ":" !== src[4] || ("d" !== src[0] && "D" !== src[0]) || ("a" !== src[1] && "A" !== src[1]) || ("t" !== src[2] && "T" !== src[2]) || ("a" !== src[3] && "A" !== src[3])) && ("string" !== typeof srcSet || ":" !== srcSet[4] || ("d" !== srcSet[0] && "D" !== srcSet[0]) || ("a" !== srcSet[1] && "A" !== srcSet[1]) || ("t" !== srcSet[2] && "T" !== srcSet[2]) || ("a" !== srcSet[3] && "A" !== srcSet[3])) ) { var sizes = "string" === typeof props.sizes ? props.sizes : void 0, key$jscomp$0 = srcSet ? srcSet + "\n" + (sizes || "") : src, promotablePreloads = renderState.preloads.images, resource$jscomp$1 = promotablePreloads.get(key$jscomp$0); if (resource$jscomp$1) { if ( "high" === props.fetchPriority || 10 > renderState.highImagePreloads.size ) promotablePreloads.delete(key$jscomp$0), renderState.highImagePreloads.add(resource$jscomp$1); } else if ( !resumableState.imageResources.hasOwnProperty(key$jscomp$0) ) { resumableState.imageResources[key$jscomp$0] = PRELOAD_NO_CREDS; var input = props.crossOrigin; var JSCompiler_inline_result$jscomp$8 = "string" === typeof input ? "use-credentials" === input ? input : "" : void 0; var headers = renderState.headers, header; headers && 0 < headers.remainingCapacity && ("high" === props.fetchPriority || 500 > headers.highImagePreloads.length) && ((header = getPreloadAsHeader(src, "image", { imageSrcSet: props.srcSet, imageSizes: props.sizes, crossOrigin: JSCompiler_inline_result$jscomp$8, integrity: props.integrity, nonce: props.nonce, type: props.type, fetchPriority: props.fetchPriority, referrerPolicy: props.refererPolicy })), 0 <= (headers.remainingCapacity -= header.length + 2)) ? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS), headers.highImagePreloads && (headers.highImagePreloads += ", "), (headers.highImagePreloads += header)) : ((resource$jscomp$1 = []), pushLinkImpl(resource$jscomp$1, { rel: "preload", as: "image", href: srcSet ? void 0 : src, imageSrcSet: srcSet, imageSizes: sizes, crossOrigin: JSCompiler_inline_result$jscomp$8, integrity: props.integrity, type: props.type, fetchPriority: props.fetchPriority, referrerPolicy: props.referrerPolicy }), "high" === props.fetchPriority || 10 > renderState.highImagePreloads.size ? renderState.highImagePreloads.add(resource$jscomp$1) : (renderState.bulkPreloads.add(resource$jscomp$1), promotablePreloads.set(key$jscomp$0, resource$jscomp$1))); } } return pushSelfClosing(target$jscomp$0, props, "img"); case "base": case "area": case "br": case "col": case "embed": case "hr": case "keygen": case "param": case "source": case "track": case "wbr": return pushSelfClosing(target$jscomp$0, props, type); case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": break; case "head": if (2 > formatContext.insertionMode && null === renderState.headChunks) { renderState.headChunks = []; var JSCompiler_inline_result$jscomp$9 = pushStartGenericElement( renderState.headChunks, props, "head" ); } else JSCompiler_inline_result$jscomp$9 = pushStartGenericElement( target$jscomp$0, props, "head" ); return JSCompiler_inline_result$jscomp$9; case "html": if ( 0 === formatContext.insertionMode && null === renderState.htmlChunks ) { renderState.htmlChunks = [doctypeChunk]; var JSCompiler_inline_result$jscomp$10 = pushStartGenericElement( renderState.htmlChunks, props, "html" ); } else JSCompiler_inline_result$jscomp$10 = pushStartGenericElement( target$jscomp$0, props, "html" ); return JSCompiler_inline_result$jscomp$10; default: if (-1 !== type.indexOf("-")) { target$jscomp$0.push(startChunkForTag(type)); var children$jscomp$9 = null, innerHTML$jscomp$8 = null, propKey$jscomp$11; for (propKey$jscomp$11 in props) if (hasOwnProperty.call(props, propKey$jscomp$11)) { var propValue$jscomp$11 = props[propKey$jscomp$11]; if (null != propValue$jscomp$11) { var attributeName = propKey$jscomp$11; switch (propKey$jscomp$11) { case "children": children$jscomp$9 = propValue$jscomp$11; break; case "dangerouslySetInnerHTML": innerHTML$jscomp$8 = propValue$jscomp$11; break; case "style": pushStyleAttribute(target$jscomp$0, propValue$jscomp$11); break; case "suppressContentEditableWarning": case "suppressHydrationWarning": case "ref": break; case "className": attributeName = "class"; default: if ( isAttributeNameSafe(propKey$jscomp$11) && "function" !== typeof propValue$jscomp$11 && "symbol" !== typeof propValue$jscomp$11 && !1 !== propValue$jscomp$11 ) { if (!0 === propValue$jscomp$11) propValue$jscomp$11 = ""; else if ("object" === typeof propValue$jscomp$11) continue; target$jscomp$0.push( attributeSeparator, attributeName, attributeAssign, escapeTextForBrowser(propValue$jscomp$11), attributeEnd ); } } } } target$jscomp$0.push(endOfStartTag); pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9); return children$jscomp$9; } } return pushStartGenericElement(target$jscomp$0, props, type); } var endTagCache = new Map(); function endChunkForTag(tag) { var chunk = endTagCache.get(tag); void 0 === chunk && ((chunk = stringToPrecomputedChunk("</" + tag + ">")), endTagCache.set(tag, chunk)); return chunk; } function writeBootstrap(destination, renderState) { renderState = renderState.bootstrapChunks; for (var i = 0; i < renderState.length - 1; i++) writeChunk(destination, renderState[i]); return i < renderState.length ? ((i = renderState[i]), (renderState.length = 0), writeChunkAndReturn(destination, i)) : !0; } var placeholder1 = stringToPrecomputedChunk('<template id="'), placeholder2 = stringToPrecomputedChunk('"></template>'), startCompletedSuspenseBoundary = stringToPrecomputedChunk("\x3c!--$--\x3e"), startPendingSuspenseBoundary1 = stringToPrecomputedChunk( '\x3c!--$?--\x3e<template id="' ), startPendingSuspenseBoundary2 = stringToPrecomputedChunk('"></template>'), startClientRenderedSuspenseBoundary = stringToPrecomputedChunk("\x3c!--$!--\x3e"), endSuspenseBoundary = stringToPrecomputedChunk("\x3c!--/$--\x3e"), clientRenderedSuspenseBoundaryError1 = stringToPrecomputedChunk("<template"), clientRenderedSuspenseBoundaryErrorAttrInterstitial = stringToPrecomputedChunk('"'), clientRenderedSuspenseBoundaryError1A = stringToPrecomputedChunk(' data-dgst="'); stringToPrecomputedChunk(' data-msg="'); stringToPrecomputedChunk(' data-stck="'); stringToPrecomputedChunk(' data-cstck="'); var clientRenderedSuspenseBoundaryError2 = stringToPrecomputedChunk("></template>"); function writeStartPendingSuspenseBoundary(destination, renderState, id) { writeChunk(destination, startPendingSuspenseBoundary1); if (null === id) throw Error( "An ID must have been assigned before we can complete the boundary." ); writeChunk(destination, renderState.boundaryPrefix); writeChunk(destination, id.toString(16)); return writeChunkAndReturn(destination, startPendingSuspenseBoundary2); } var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'), startSegmentHTML2 = stringToPrecomputedChunk('">'), endSegmentHTML = stringToPrecomputedChunk("</div>"), startSegmentSVG = stringToPrecomputedChunk( '<svg aria-hidden="true" style="display:none" id="' ), startSegmentSVG2 = stringToPrecomputedChunk('">'), endSegmentSVG = stringToPrecomputedChunk("</svg>"), startSegmentMathML = stringToPrecomputedChunk( '<math aria-hidden="true" style="display:none" id="' ), startSegmentMathML2 = stringToPrecomputedChunk('">'), endSegmentMathML = stringToPrecomputedChunk("</math>"), startSegmentTable = stringToPrecomputedChunk('<table hidden id="'), startSegmentTable2 = stringToPrecomputedChunk('">'), endSegmentTable = stringToPrecomputedChunk("</table>"), startSegmentTableBody = stringToPrecomputedChunk('<table hidden><tbody id="'), startSegmentTableBody2 = stringToPrecomputedChunk('">'), endSegmentTableBody = stringToPrecomputedChunk("</tbody></table>"), startSegmentTableRow = stringToPrecomputedChunk('<table hidden><tr id="'), startSegmentTableRow2 = stringToPrecomputedChunk('">'), endSegmentTableRow = stringToPrecomputedChunk("</tr></table>"), startSegmentColGroup = stringToPrecomputedChunk( '<table hidden><colgroup id="' ), startSegmentColGroup2 = stringToPrecomputedChunk('">'), endSegmentColGroup = stringToPrecomputedChunk("</colgroup></table>"); function writeStartSegment(destination, renderState, formatContext, id) { switch (formatContext.insertionMode) { case 0: case 1: case 2: return ( writeChunk(destination, startSegmentHTML), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentHTML2) ); case 3: return ( writeChunk(destination, startSegmentSVG), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentSVG2) ); case 4: return ( writeChunk(destination, startSegmentMathML), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentMathML2) ); case 5: return ( writeChunk(destination, startSegmentTable), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentTable2) ); case 6: return ( writeChunk(destination, startSegmentTableBody), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentTableBody2) ); case 7: return ( writeChunk(destination, startSegmentTableRow), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentTableRow2) ); case 8: return ( writeChunk(destination, startSegmentColGroup), writeChunk(destination, renderState.segmentPrefix), writeChunk(destination, id.toString(16)), writeChunkAndReturn(destination, startSegmentColGroup2) ); default: throw Error("Unknown insertion mode. This is a bug in React."); } } function writeEndSegment(destination, formatContext) { switch (formatContext.insertionMode) { case 0: case 1: case 2: return writeChunkAndReturn(destination, endSegmentHTML); case 3: return writeChunkAndReturn(destination, endSegmentSVG); case 4: return writeChunkAndReturn(destination, endSegmentMathML); case 5: return writeChunkAndReturn(destination, endSegmentTable); case 6: return writeChunkAndReturn(destination, endSegmentTableBody); case 7: return writeChunkAndReturn(destination, endSegmentTableRow); case 8: return writeChunkAndReturn(destination, endSegmentColGroup); default: throw Error("Unknown insertion mode. This is a bug in React."); } } var completeSegmentScript1Full = stringToPrecomputedChunk( '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("' ), completeSegmentScript1Partial = stringToPrecomputedChunk('$RS("'), completeSegmentScript2 = stringToPrecomputedChunk('","'), completeSegmentScriptEnd = stringToPrecomputedChunk('")\x3c/script>'); stringToPrecomputedChunk('<template data-rsi="" data-sid="'); stringToPrecomputedChunk('" data-pid="'); var completeBoundaryScript1Full = stringToPrecomputedChunk( '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("' ), completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'), completeBoundaryWithStylesScript1FullBoth = stringToPrecomputedChunk( '$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("' ), completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk( '$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("' ), completeBoundaryWithStylesScript1Partial = stringToPrecomputedChunk('$RR("'), completeBoundaryScript2 = stringToPrecomputedChunk('","'), completeBoundaryScript3a = stringToPrecomputedChunk('",'), completeBoundaryScript3b = stringToPrecomputedChunk('"'), completeBoundaryScriptEnd = stringToPrecomputedChunk(")\x3c/script>"); stringToPrecomputedChunk('<template data-rci="" data-bid="'); stringToPrecomputedChunk('<template data-rri="" data-bid="'); stringToPrecomputedChunk('" data-sid="'); stringToPrecomputedChunk('" data-sty="'); var clientRenderScript1Full = stringToPrecomputedChunk( '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("' ), clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'), clientRenderScript1A = stringToPrecomputedChunk('"'), clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(","), clientRenderScriptEnd = stringToPrecomputedChunk(")\x3c/script>"); stringToPrecomputedChunk('<template data-rxi="" data-bid="'); stringToPrecomputedChunk('" data-dgst="'); stringToPrecomputedChunk('" data-msg="'); stringToPrecomputedChunk('" data-stck="'); stringToPrecomputedChunk('" data-cstck="'); var regexForJSStringsInInstructionScripts = /[<\u2028\u2029]/g; function escapeJSStringsForInstructionScripts(input) { return JSON.stringify(input).replace( regexForJSStringsInInstructionScripts, function (match) { switch (match) { case "<": return "\\u003c"; case "\u2028": return "\\u2028"; case "\u2029": return "\\u2029"; default: throw Error( "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } ); } var regexForJSStringsInScripts = /[&><\u2028\u2029]/g; function escapeJSObjectForInstructionScripts(input) { return JSON.stringify(input).replace( regexForJSStringsInScripts, function (match) { switch (match) { case "&": return "\\u0026"; case ">": return "\\u003e"; case "<": return "\\u003c"; case "\u2028": return "\\u2028"; case "\u2029": return "\\u2029"; default: throw Error( "escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } ); } var lateStyleTagResourceOpen1 = stringToPrecomputedChunk( '<style media="not all" data-precedence="' ), lateStyleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'), lateStyleTagResourceOpen3 = stringToPrecomputedChunk('">'), lateStyleTagTemplateClose = stringToPrecomputedChunk("</style>"), currentlyRenderingBoundaryHasStylesToHoist = !1, destinationHasCapacity = !0; function flushStyleTagsLateForBoundary(styleQueue) { var rules = styleQueue.rules, hrefs = styleQueue.hrefs, i = 0; if (hrefs.length) { writeChunk(this, lateStyleTagResourceOpen1); writeChunk(this, styleQueue.precedence); for (writeChunk(this, lateStyleTagResourceOpen2); i < hrefs.length - 1; i++) writeChunk(this, hrefs[i]), writeChunk(this, spaceSeparator); writeChunk(this, hrefs[i]); writeChunk(this, lateStyleTagResourceOpen3); for (i = 0; i < rules.length; i++) writeChunk(this, rules[i]); destinationHasCapacity = writeChunkAndReturn( this, lateStyleTagTemplateClose ); currentlyRenderingBoundaryHasStylesToHoist = !0; rules.length = 0; hrefs.length = 0; } } function hasStylesToHoist(stylesheet) { return 2 !== stylesheet.state ? (currentlyRenderingBoundaryHasStylesToHoist = !0) : !1; } function writeHoistablesForBoundary(destination, hoistableState, renderState) { currentlyRenderingBoundaryHasStylesToHoist = !1; destinationHasCapacity = !0; hoistableState.styles.forEach(flushStyleTagsLateForBoundary, destination); hoistableState.stylesheets.forEach(hasStylesToHoist); currentlyRenderingBoundaryHasStylesToHoist && (renderState.stylesToHoist = !0); return destinationHasCapacity; } function flushResource(resource) { for (var i = 0; i < resource.length; i++) writeChunk(this, resource[i]); resource.length = 0; } var stylesheetFlushingQueue = []; function flushStyleInPreamble(stylesheet) { pushLinkImpl(stylesheetFlushingQueue, stylesheet.props); for (var i = 0; i < stylesheetFlushingQueue.length; i++) writeChunk(this, stylesheetFlushingQueue[i]); stylesheetFlushingQueue.length = 0; stylesheet.state = 2; } var styleTagResourceOpen1 = stringToPrecomputedChunk( '<style data-precedence="' ), styleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'), spaceSeparator = stringToPrecomputedChunk(" "), styleTagResourceOpen3 = stringToPrecomputedChunk('">'), styleTagResourceClose = stringToPrecomputedChunk("</style>"); function flushStylesInPreamble(styleQueue) { var hasStylesheets = 0 < styleQueue.sheets.size; styleQueue.sheets.forEach(flushStyleInPreamble, this); styleQueue.sheets.clear(); var rules = styleQueue.rules, hrefs = styleQueue.hrefs; if (!hasStylesheets || hrefs.length) { writeChunk(this, styleTagResourceOpen1); writeChunk(this, styleQueue.precedence); styleQueue = 0; if (hrefs.length) { for ( writeChunk(this, styleTagResourceOpen2); styleQueue < hrefs.length - 1; styleQueue++ ) writeChunk(this, hrefs[styleQueue]), writeChunk(this, spaceSeparator); writeChunk(this, hrefs[styleQueue]); } writeChunk(this, styleTagResourceOpen3); for (styleQueue = 0; styleQueue < rules.length; styleQueue++) writeChunk(this, rules[styleQueue]); writeChunk(this, styleTagResourceClose); rules.length = 0; hrefs.length = 0; } } function preloadLateStyle(stylesheet) { if (0 === stylesheet.state) { stylesheet.state = 1; var props = stylesheet.props; pushLinkImpl(stylesheetFlushingQueue, { rel: "preload", as: "style", href: stylesheet.props.href, crossOrigin: props.crossOrigin, fetchPriority: props.fetchPriority, integrity: props.integrity, media: props.media, hrefLang: props.hrefLang, referrerPolicy: props.referrerPolicy }); for ( stylesheet = 0; stylesheet < stylesheetFlushingQueue.length; stylesheet++ ) writeChunk(this, stylesheetFlushingQueue[stylesheet]); stylesheetFlushingQueue.length = 0; } } function preloadLateStyles(styleQueue) { styleQueue.sheets.forEach(preloadLateStyle, this); styleQueue.sheets.clear(); } var arrayFirstOpenBracket = stringToPrecomputedChunk("["), arraySubsequentOpenBracket = stringToPrecomputedChunk(",["), arrayInterstitial = stringToPrecomputedChunk(","), arrayCloseBracket = stringToPrecomputedChunk("]"); function writeStyleResourceDependenciesInJS(destination, hoistableState) { writeChunk(destination, arrayFirstOpenBracket); var nextArrayOpenBrackChunk = arrayFirstOpenBracket; hoistableState.stylesheets.forEach(function (resource) { if (2 !== resource.state) if (3 === resource.state) writeChunk(destination, nextArrayOpenBrackChunk), writeChunk( destination, escapeJSObjectForInstructionScripts("" + resource.props.href) ), writeChunk(destination, arrayCloseBracket), (nextArrayOpenBrackChunk = arraySubsequentOpenBracket); else { writeChunk(destination, nextArrayOpenBrackChunk); var precedence = resource.props["data-precedence"], props = resource.props, coercedHref = sanitizeURL("" + resource.props.href); writeChunk( destination, escapeJSObjectForInstructionScripts(coercedHref) ); precedence = "" + precedence; writeChunk(destination, arrayInterstitial); writeChunk( destination, escapeJSObjectForInstructionScripts(precedence) ); for (var propKey in props) if ( hasOwnProperty.call(props, propKey) && ((precedence = props[propKey]), null != precedence) ) switch (propKey) { case "href": case "rel": case "precedence": case "data-precedence": break; case "children": case "dangerouslySetInnerHTML": throw Error( "link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`." ); default: writeStyleResourceAttributeInJS( destination, propKey, precedence ); } writeChunk(destination, arrayCloseBracket); nextArrayOpenBrackChunk = arraySubsequentOpenBracket; resource.state = 3; } }); writeChunk(destination, arrayCloseBracket); } function writeStyleResourceAttributeInJS(destination, name, value) { var attributeName = name.toLowerCase(); switch (typeof value) { case "function": case "symbol": return; } switch (name) { case "innerHTML": case "dangerouslySetInnerHTML": case "suppressContentEditableWarning": case "suppressHydrationWarning": case "style": case "ref": return; case "className": attributeName = "class"; name = "" + value; break; case "hidden": if (!1 === value) return; name = ""; break; case "src": case "href": value = sanitizeURL(value); name = "" + value; break; default: if ( (2 < name.length && ("o" === name[0] || "O" === name[0]) && ("n" === name[1] || "N" === name[1])) || !isAttributeNameSafe(name) ) return; name = "" + value; } writeChunk(destination, arrayInterstitial); writeChunk(destination, escapeJSObjectForInstructionScripts(attributeName)); writeChunk(destination, arrayInterstitial); writeChunk(destination, escapeJSObjectForInstructionScripts(name)); } function createHoistableState() { return { styles: new Set(), stylesheets: new Set() }; } function prefetchDNS(href) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if ("string" === typeof href && href) { if (!resumableState.dnsResources.hasOwnProperty(href)) { resumableState.dnsResources[href] = null; resumableState = renderState.headers; var header, JSCompiler_temp; if ( (JSCompiler_temp = resumableState && 0 < resumableState.remainingCapacity) ) JSCompiler_temp = ((header = "<" + ("" + href).replace( regexForHrefInLinkHeaderURLContext, escapeHrefForLinkHeaderURLContextReplacer ) + ">; rel=dns-prefetch"), 0 <= (resumableState.remainingCapacity -= header.length + 2)); JSCompiler_temp ? ((renderState.resets.dns[href] = null), resumableState.preconnects && (resumableState.preconnects += ", "), (resumableState.preconnects += header)) : ((header = []), pushLinkImpl(header, { href: href, rel: "dns-prefetch" }), renderState.preconnects.add(header)); } enqueueFlush(request); } } else previousDispatcher.D(href); } function preconnect(href, crossOrigin) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if ("string" === typeof href && href) { var bucket = "use-credentials" === crossOrigin ? "credentials" : "string" === typeof crossOrigin ? "anonymous" : "default"; if (!resumableState.connectResources[bucket].hasOwnProperty(href)) { resumableState.connectResources[bucket][href] = null; resumableState = renderState.headers; var header, JSCompiler_temp; if ( (JSCompiler_temp = resumableState && 0 < resumableState.remainingCapacity) ) { JSCompiler_temp = "<" + ("" + href).replace( regexForHrefInLinkHeaderURLContext, escapeHrefForLinkHeaderURLContextReplacer ) + ">; rel=preconnect"; if ("string" === typeof crossOrigin) { var escapedCrossOrigin = ("" + crossOrigin).replace( regexForLinkHeaderQuotedParamValueContext, escapeStringForLinkHeaderQuotedParamValueContextReplacer ); JSCompiler_temp += '; crossorigin="' + escapedCrossOrigin + '"'; } JSCompiler_temp = ((header = JSCompiler_temp), 0 <= (resumableState.remainingCapacity -= header.length + 2)); } JSCompiler_temp ? ((renderState.resets.connect[bucket][href] = null), resumableState.preconnects && (resumableState.preconnects += ", "), (resumableState.preconnects += header)) : ((bucket = []), pushLinkImpl(bucket, { rel: "preconnect", href: href, crossOrigin: crossOrigin }), renderState.preconnects.add(bucket)); } enqueueFlush(request); } } else previousDispatcher.C(href, crossOrigin); } function preload(href, as, options) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (as && href) { switch (as) { case "image": if (options) { var imageSrcSet = options.imageSrcSet; var imageSizes = options.imageSizes; var fetchPriority = options.fetchPriority; } var key = imageSrcSet ? imageSrcSet + "\n" + (imageSizes || "") : href; if (resumableState.imageResources.hasOwnProperty(key)) return; resumableState.imageResources[key] = PRELOAD_NO_CREDS; resumableState = renderState.headers; var header; resumableState && 0 < resumableState.remainingCapacity && "high" === fetchPriority && ((header = getPreloadAsHeader(href, as, options)), 0 <= (resumableState.remainingCapacity -= header.length + 2)) ? ((renderState.resets.image[key] = PRELOAD_NO_CREDS), resumableState.highImagePreloads && (resumableState.highImagePreloads += ", "), (resumableState.highImagePreloads += header)) : ((resumableState = []), pushLinkImpl( resumableState, assign( { rel: "preload", href: imageSrcSet ? void 0 : href, as: as }, options ) ), "high" === fetchPriority ? renderState.highImagePreloads.add(resumableState) : (renderState.bulkPreloads.add(resumableState), renderState.preloads.images.set(key, resumableState))); break; case "style": if (resumableState.styleResources.hasOwnProperty(href)) return; imageSrcSet = []; pushLinkImpl( imageSrcSet, assign({ rel: "preload", href: href, as: as }, options) ); resumableState.styleResources[href] = !options || ("string" !== typeof options.crossOrigin && "string" !== typeof options.integrity) ? PRELOAD_NO_CREDS : [options.crossOrigin, options.integrity]; renderState.preloads.stylesheets.set(href, imageSrcSet); renderState.bulkPreloads.add(imageSrcSet); break; case "script": if (resumableState.scriptResources.hasOwnProperty(href)) return; imageSrcSet = []; renderState.preloads.scripts.set(href, imageSrcSet); renderState.bulkPreloads.add(imageSrcSet); pushLinkImpl( imageSrcSet, assign({ rel: "preload", href: href, as: as }, options) ); resumableState.scriptResources[href] = !options || ("string" !== typeof options.crossOrigin && "string" !== typeof options.integrity) ? PRELOAD_NO_CREDS : [options.crossOrigin, options.integrity]; break; default: if (resumableState.unknownResources.hasOwnProperty(as)) { if ( ((imageSrcSet = resumableState.unknownResources[as]), imageSrcSet.hasOwnProperty(href)) ) return; } else (imageSrcSet = {}), (resumableState.unknownResources[as] = imageSrcSet); imageSrcSet[href] = PRELOAD_NO_CREDS; if ( (resumableState = renderState.headers) && 0 < resumableState.remainingCapacity && "font" === as && ((key = getPreloadAsHeader(href, as, options)), 0 <= (resumableState.remainingCapacity -= key.length + 2)) ) (renderState.resets.font[href] = PRELOAD_NO_CREDS), resumableState.fontPreloads && (resumableState.fontPreloads += ", "), (resumableState.fontPreloads += key); else switch ( ((resumableState = []), (href = assign({ rel: "preload", href: href, as: as }, options)), pushLinkImpl(resumableState, href), as) ) { case "font": renderState.fontPreloads.add(resumableState); break; default: renderState.bulkPreloads.add(resumableState); } } enqueueFlush(request); } } else previousDispatcher.L(href, as, options); } function preloadModule(href, options) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (href) { var as = options && "string" === typeof options.as ? options.as : "script"; switch (as) { case "script": if (resumableState.moduleScriptResources.hasOwnProperty(href)) return; as = []; resumableState.moduleScriptResources[href] = !options || ("string" !== typeof options.crossOrigin && "string" !== typeof options.integrity) ? PRELOAD_NO_CREDS : [options.crossOrigin, options.integrity]; renderState.preloads.moduleScripts.set(href, as); break; default: if (resumableState.moduleUnknownResources.hasOwnProperty(as)) { var resources = resumableState.unknownResources[as]; if (resources.hasOwnProperty(href)) return; } else (resources = {}), (resumableState.moduleUnknownResources[as] = resources); as = []; resources[href] = PRELOAD_NO_CREDS; } pushLinkImpl(as, assign({ rel: "modulepreload", href: href }, options)); renderState.bulkPreloads.add(as); enqueueFlush(request); } } else previousDispatcher.m(href, options); } function preinitStyle(href, precedence, options) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (href) { precedence = precedence || "default"; var styleQueue = renderState.styles.get(precedence), resourceState = resumableState.styleResources.hasOwnProperty(href) ? resumableState.styleResources[href] : void 0; null !== resourceState && ((resumableState.styleResources[href] = null), styleQueue || ((styleQueue = { precedence: escapeTextForBrowser(precedence), rules: [], hrefs: [], sheets: new Map() }), renderState.styles.set(precedence, styleQueue)), (precedence = { state: 0, props: assign( { rel: "stylesheet", href: href, "data-precedence": precedence }, options ) }), resourceState && (2 === resourceState.length && adoptPreloadCredentials(precedence.props, resourceState), (renderState = renderState.preloads.stylesheets.get(href)) && 0 < renderState.length ? (renderState.length = 0) : (precedence.state = 1)), styleQueue.sheets.set(href, precedence), enqueueFlush(request)); } } else previousDispatcher.S(href, precedence, options); } function preinitScript(src, options) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (src) { var resourceState = resumableState.scriptResources.hasOwnProperty(src) ? resumableState.scriptResources[src] : void 0; null !== resourceState && ((resumableState.scriptResources[src] = null), (options = assign({ src: src, async: !0 }, options)), resourceState && (2 === resourceState.length && adoptPreloadCredentials(options, resourceState), (src = renderState.preloads.scripts.get(src))) && (src.length = 0), (src = []), renderState.scripts.add(src), pushScriptImpl(src, options), enqueueFlush(request)); } } else previousDispatcher.X(src, options); } function preinitModuleScript(src, options) { var request = resolveRequest(); if (request) { var resumableState = request.resumableState, renderState = request.renderState; if (src) { var resourceState = resumableState.moduleScriptResources.hasOwnProperty( src ) ? resumableState.moduleScriptResources[src] : void 0; null !== resourceState && ((resumableState.moduleScriptResources[src] = null), (options = assign({ src: src, type: "module", async: !0 }, options)), resourceState && (2 === resourceState.length && adoptPreloadCredentials(options, resourceState), (src = renderState.preloads.moduleScripts.get(src))) && (src.length = 0), (src = []), renderState.scripts.add(src), pushScriptImpl(src, options), enqueueFlush(request)); } } else previousDispatcher.M(src, options); } function adoptPreloadCredentials(target, preloadState) { null == target.crossOrigin && (target.crossOrigin = preloadState[0]); null == target.integrity && (target.integrity = preloadState[1]); } function getPreloadAsHeader(href, as, params) { href = ("" + href).replace( regexForHrefInLinkHeaderURLContext, escapeHrefForLinkHeaderURLContextReplacer ); as = ("" + as).replace( regexForLinkHeaderQuotedParamValueContext, escapeStringForLinkHeaderQuotedParamValueContextReplacer ); as = "<" + href + '>; rel=preload; as="' + as + '"'; for (var paramName in params) hasOwnProperty.call(params, paramName) && ((href = params[paramName]), "string" === typeof href && (as += "; " + paramName.toLowerCase() + '="' + ("" + href).replace( regexForLinkHeaderQuotedParamValueContext, escapeStringForLinkHeaderQuotedParamValueContextReplacer ) + '"')); return as; } var regexForHrefInLinkHeaderURLContext = /[<>\r\n]/g; function escapeHrefForLinkHeaderURLContextReplacer(match) { switch (match) { case "<": return "%3C"; case ">": return "%3E"; case "\n": return "%0A"; case "\r": return "%0D"; default: throw Error( "escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } var regexForLinkHeaderQuotedParamValueContext = /["';,\r\n]/g; function escapeStringForLinkHeaderQuotedParamValueContextReplacer(match) { switch (match) { case '"': return "%22"; case "'": return "%27"; case ";": return "%3B"; case ",": return "%2C"; case "\n": return "%0A"; case "\r": return "%0D"; default: throw Error( "escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React" ); } } function hoistStyleQueueDependency(styleQueue) { this.styles.add(styleQueue); } function hoistStylesheetDependency(stylesheet) { this.stylesheets.add(stylesheet); } var bind = Function.prototype.bind, requestStorage = new async_hooks.AsyncLocalStorage(), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); function getComponentNameFromType(type) { if (null == type) return null; if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null; if ("string" === typeof type) return type; switch (type) { case REACT_FRAGMENT_TYPE: return "Fragment"; case REACT_PORTAL_TYPE: return "Portal"; case REACT_PROFILER_TYPE: return "Profiler"; case REACT_STRICT_MODE_TYPE: return "StrictMode"; case REACT_SUSPENSE_TYPE: return "Suspense"; case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList"; } if ("object" === typeof type) switch (type.$$typeof) { case REACT_CONTEXT_TYPE: return (type.displayName || "Context") + ".Provider"; case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer"; case REACT_FORWARD_REF_TYPE: var innerType = type.render; type = type.displayName; type || ((type = innerType.displayName || innerType.name || ""), (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); return type; case REACT_MEMO_TYPE: return ( (innerType = type.displayName || null), null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo" ); case REACT_LAZY_TYPE: innerType = type._payload; type = type._init; try { return getComponentNameFromType(type(innerType)); } catch (x) {} } return null; } var emptyContextObject = {}, currentActiveSnapshot = null; function popToNearestCommonAncestor(prev, next) { if (prev !== next) { prev.context._currentValue = prev.parentValue; prev = prev.parent; var parentNext = next.parent; if (null === prev) { if (null !== parentNext) throw Error( "The stacks must reach the root at the same time. This is a bug in React." ); } else { if (null === parentNext) throw Error( "The stacks must reach the root at the same time. This is a bug in React." ); popToNearestCommonAncestor(prev, parentNext); } next.context._currentValue = next.value; } } function popAllPrevious(prev) { prev.context._currentValue = prev.parentValue; prev = prev.parent; null !== prev && popAllPrevious(prev); } function pushAllNext(next) { var parentNext = next.parent; null !== parentNext && pushAllNext(parentNext); next.context._currentValue = next.value; } function popPreviousToCommonLevel(prev, next) { prev.context._currentValue = prev.parentValue; prev = prev.parent; if (null === prev) throw Error( "The depth must equal at least at zero before reaching the root. This is a bug in React." ); prev.depth === next.depth ? popToNearestCommonAncestor(prev, next) : popPreviousToCommonLevel(prev, next); } function popNextToCommonLevel(prev, next) { var parentNext = next.parent; if (null === parentNext) throw Error( "The depth must equal at least at zero before reaching the root. This is a bug in React." ); prev.depth === parentNext.depth ? popToNearestCommonAncestor(prev, parentNext) : popNextToCommonLevel(prev, parentNext); next.context._currentValue = next.value; } function switchContext(newSnapshot) { var prev = currentActiveSnapshot; prev !== newSnapshot && (null === prev ? pushAllNext(newSnapshot) : null === newSnapshot ? popAllPrevious(prev) : prev.depth === newSnapshot.depth ? popToNearestCommonAncestor(prev, newSnapshot) : prev.depth > newSnapshot.depth ? popPreviousToCommonLevel(prev, newSnapshot) : popNextToCommonLevel(prev, newSnapshot), (currentActiveSnapshot = newSnapshot)); } var classComponentUpdater = { isMounted: function () { return !1; }, enqueueSetState: function (inst, payload) { inst = inst._reactInternals; null !== inst.queue && inst.queue.push(payload); }, enqueueReplaceState: function (inst, payload) { inst = inst._reactInternals; inst.replace = !0; inst.queue = [payload]; }, enqueueForceUpdate: function () {} }, emptyTreeContext = { id: 1, overflow: "" }; function pushTreeContext(baseContext, totalChildren, index) { var baseIdWithLeadingBit = baseContext.id; baseContext = baseContext.overflow; var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; baseIdWithLeadingBit &= ~(1 << baseLength); index += 1; var length = 32 - clz32(totalChildren) + baseLength; if (30 < length) { var numberOfOverflowBits = baseLength - (baseLength % 5); length = ( baseIdWithLeadingBit & ((1 << numberOfOverflowBits) - 1) ).toString(32); baseIdWithLeadingBit >>= numberOfOverflowBits; baseLength -= numberOfOverflowBits; return { id: (1 << (32 - clz32(totalChildren) + baseLength)) | (index << baseLength) | baseIdWithLeadingBit, overflow: length + baseContext }; } return { id: (1 << length) | (index << baseLength) | baseIdWithLeadingBit, overflow: baseContext }; } var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2; function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`" ); function noop$2() {} function trackUsedThenable(thenableState, thenable, index) { index = thenableState[index]; void 0 === index ? thenableState.push(thenable) : index !== thenable && (thenable.then(noop$2, noop$2), (thenable = index)); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; default: "string" === typeof thenable.status ? thenable.then(noop$2, noop$2) : ((thenableState = thenable), (thenableState.status = "pending"), thenableState.then( function (fulfilledValue) { if ("pending" === thenable.status) { var fulfilledThenable = thenable; fulfilledThenable.status = "fulfilled"; fulfilledThenable.value = fulfilledValue; } }, function (error) { if ("pending" === thenable.status) { var rejectedThenable = thenable; rejectedThenable.status = "rejected"; rejectedThenable.reason = error; } } )); switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; } suspendedThenable = thenable; throw SuspenseException; } } var suspendedThenable = null; function getSuspendedThenable() { if (null === suspendedThenable) throw Error( "Expected a suspended thenable. This is a bug in React. Please file an issue." ); var thenable = suspendedThenable; suspendedThenable = null; return thenable; } function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, currentlyRenderingComponent = null, currentlyRenderingTask = null, currentlyRenderingRequest = null, currentlyRenderingKeyPath = null, firstWorkInProgressHook = null, workInProgressHook = null, isReRender = !1, didScheduleRenderPhaseUpdate = !1, localIdCounter = 0, actionStateCounter = 0, actionStateMatchingIndex = -1, thenableIndexCounter = 0, thenableState = null, renderPhaseUpdates = null, numberOfReRenders = 0; function resolveCurrentlyRenderingComponent() { if (null === currentlyRenderingComponent) throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem." ); return currentlyRenderingComponent; } function createHook() { if (0 < numberOfReRenders) throw Error("Rendered more hooks than during the previous render"); return { memoizedState: null, queue: null, next: null }; } function createWorkInProgressHook() { null === workInProgressHook ? null === firstWorkInProgressHook ? ((isReRender = !1), (firstWorkInProgressHook = workInProgressHook = createHook())) : ((isReRender = !0), (workInProgressHook = firstWorkInProgressHook)) : null === workInProgressHook.next ? ((isReRender = !1), (workInProgressHook = workInProgressHook.next = createHook())) : ((isReRender = !0), (workInProgressHook = workInProgressHook.next)); return workInProgressHook; } function getThenableStateAfterSuspending() { var state = thenableState; thenableState = null; return state; } function resetHooksState() { currentlyRenderingKeyPath = currentlyRenderingRequest = currentlyRenderingTask = currentlyRenderingComponent = null; didScheduleRenderPhaseUpdate = !1; firstWorkInProgressHook = null; numberOfReRenders = 0; workInProgressHook = renderPhaseUpdates = null; } function basicStateReducer(state, action) { return "function" === typeof action ? action(state) : action; } function useReducer(reducer, initialArg, init) { currentlyRenderingComponent = resolveCurrentlyRenderingComponent(); workInProgressHook = createWorkInProgressHook(); if (isReRender) { var queue = workInProgressHook.queue; initialArg = queue.dispatch; if ( null !== renderPhaseUpdates && ((init = renderPhaseUpdates.get(queue)), void 0 !== init) ) { renderPhaseUpdates.delete(queue); queue = workInProgressHook.memoizedState; do (queue = reducer(queue, init.action)), (init = init.next); while (null !== init); workInProgressHook.memoizedState = queue; return [queue, initialArg]; } return [workInProgressHook.memoizedState, initialArg]; } reducer = reducer === basicStateReducer ? "function" === typeof initialArg ? initialArg() : initialArg : void 0 !== init ? init(initialArg) : initialArg; workInProgressHook.memoizedState = reducer; reducer = workInProgressHook.queue = { last: null, dispatch: null }; reducer = reducer.dispatch = dispatchAction.bind( null, currentlyRenderingComponent, reducer ); return [workInProgressHook.memoizedState, reducer]; } function useMemo(nextCreate, deps) { currentlyRenderingComponent = resolveCurrentlyRenderingComponent(); workInProgressHook = createWorkInProgressHook(); deps = void 0 === deps ? null : deps; if (null !== workInProgressHook) { var prevState = workInProgressHook.memoizedState; if (null !== prevState && null !== deps) { var prevDeps = prevState[1]; a: if (null === prevDeps) prevDeps = !1; else { for (var i = 0; i < prevDeps.length && i < deps.length; i++) if (!objectIs(deps[i], prevDeps[i])) { prevDeps = !1; break a; } prevDeps = !0; } if (prevDeps) return prevState[0]; } } nextCreate = nextCreate(); workInProgressHook.memoizedState = [nextCreate, deps]; return nextCreate; } function dispatchAction(componentIdentity, queue, action) { if (25 <= numberOfReRenders) throw Error( "Too many re-renders. React limits the number of renders to prevent an infinite loop." ); if (componentIdentity === currentlyRenderingComponent) if ( ((didScheduleRenderPhaseUpdate = !0), (componentIdentity = { action: action, next: null }), null === renderPhaseUpdates && (renderPhaseUpdates = new Map()), (action = renderPhaseUpdates.get(queue)), void 0 === action) ) renderPhaseUpdates.set(queue, componentIdentity); else { for (queue = action; null !== queue.next; ) queue = queue.next; queue.next = componentIdentity; } } function unsupportedStartTransition() { throw Error("startTransition cannot be called during server rendering."); } function unsupportedSetOptimisticState() { throw Error("Cannot update optimistic state while rendering."); } function createPostbackActionStateKey(permalink, componentKeyPath, hookIndex) { if (void 0 !== permalink) return "p" + permalink; permalink = JSON.stringify([componentKeyPath, null, hookIndex]); componentKeyPath = crypto.createHash("md5"); componentKeyPath.update(permalink); return "k" + componentKeyPath.digest("hex"); } function useActionState(action, initialState, permalink) { resolveCurrentlyRenderingComponent(); var actionStateHookIndex = actionStateCounter++, request = currentlyRenderingRequest; if ("function" === typeof action.$$FORM_ACTION) { var nextPostbackStateKey = null, componentKeyPath = currentlyRenderingKeyPath; request = request.formState; var isSignatureEqual = action.$$IS_SIGNATURE_EQUAL; if (null !== request && "function" === typeof isSignatureEqual) { var postbackKey = request[1]; isSignatureEqual.call(action, request[2], request[3]) && ((nextPostbackStateKey = createPostbackActionStateKey( permalink, componentKeyPath, actionStateHookIndex )), postbackKey === nextPostbackStateKey && ((actionStateMatchingIndex = actionStateHookIndex), (initialState = request[0]))); } var boundAction = action.bind(null, initialState); action = function (payload) { boundAction(payload); }; "function" === typeof boundAction.$$FORM_ACTION && (action.$$FORM_ACTION = function (prefix) { prefix = boundAction.$$FORM_ACTION(prefix); void 0 !== permalink && ((permalink += ""), (prefix.action = permalink)); var formData = prefix.data; formData && (null === nextPostbackStateKey && (nextPostbackStateKey = createPostbackActionStateKey( permalink, componentKeyPath, actionStateHookIndex )), formData.append("$ACTION_KEY", nextPostbackStateKey)); return prefix; }); return [initialState, action, !1]; } var boundAction$22 = action.bind(null, initialState); return [ initialState, function (payload) { boundAction$22(payload); }, !1 ]; } function unwrapThenable(thenable) { var index = thenableIndexCounter; thenableIndexCounter += 1; null === thenableState && (thenableState = []); return trackUsedThenable(thenableState, thenable, index); } function unsupportedRefresh() { throw Error("Cache cannot be refreshed during server rendering."); } function noop$1() {} var HooksDispatcher = { readContext: function (context) { return context._currentValue; }, use: function (usable) { if (null !== usable && "object" === typeof usable) { if ("function" === typeof usable.then) return unwrapThenable(usable); if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue; } throw Error("An unsupported type was passed to use(): " + String(usable)); }, useContext: function (context) { resolveCurrentlyRenderingComponent(); return context._currentValue; }, useMemo: useMemo, useReducer: useReducer, useRef: function (initialValue) { currentlyRenderingComponent = resolveCurrentlyRenderingComponent(); workInProgressHook = createWorkInProgressHook(); var previousRef = workInProgressHook.memoizedState; return null === previousRef ? ((initialValue = { current: initialValue }), (workInProgressHook.memoizedState = initialValue)) : previousRef; }, useState: function (initialState) { return useReducer(basicStateReducer, initialState); }, useInsertionEffect: noop$1, useLayoutEffect: noop$1, useCallback: function (callback, deps) { return useMemo(function () { return callback; }, deps); }, useImperativeHandle: noop$1, useEffect: noop$1, useDebugValue: noop$1, useDeferredValue: function (value, initialValue) { resolveCurrentlyRenderingComponent(); return void 0 !== initialValue ? initialValue : value; }, useTransition: function () { resolveCurrentlyRenderingComponent(); return [!1, unsupportedStartTransition]; }, useId: function () { var JSCompiler_inline_result = currentlyRenderingTask.treeContext; var overflow = JSCompiler_inline_result.overflow; JSCompiler_inline_result = JSCompiler_inline_result.id; JSCompiler_inline_result = ( JSCompiler_inline_result & ~(1 << (32 - clz32(JSCompiler_inline_result) - 1)) ).toString(32) + overflow; var resumableState = currentResumableState; if (null === resumableState) throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component." ); overflow = localIdCounter++; JSCompiler_inline_result = ":" + resumableState.idPrefix + "R" + JSCompiler_inline_result; 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32)); return JSCompiler_inline_result + ":"; }, useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { if (void 0 === getServerSnapshot) throw Error( "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering." ); return getServerSnapshot(); }, useCacheRefresh: function () { return unsupportedRefresh; }, useMemoCache: function (size) { for (var data = Array(size), i = 0; i < size; i++) data[i] = REACT_MEMO_CACHE_SENTINEL; return data; }, useHostTransitionStatus: function () { resolveCurrentlyRenderingComponent(); return sharedNotPendingObject; }, useOptimistic: function (passthrough) { resolveCurrentlyRenderingComponent(); return [passthrough, unsupportedSetOptimisticState]; } }; HooksDispatcher.useFormState = useActionState; HooksDispatcher.useActionState = useActionState; var currentResumableState = null, DefaultAsyncDispatcher = { getCacheForType: function () { throw Error("Not implemented."); } }; function prepareStackTrace(error, structuredStackTrace) { error = (error.name || "Error") + ": " + (error.message || ""); for (var i = 0; i < structuredStackTrace.length; i++) error += "\n at " + structuredStackTrace[i].toString(); return error; } var prefix, suffix; function describeBuiltInComponentFrame(name) { if (void 0 === prefix) try { throw Error(); } catch (x) { var match = x.stack.trim().match(/\n( *(at )?)/); prefix = (match && match[1]) || ""; suffix = -1 < x.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : ""; } return "\n" + prefix + name + suffix; } var reentry = !1; function describeNativeComponentFrame(fn, construct) { if (!fn || reentry) return ""; reentry = !0; var previousPrepareStackTrace = Error.prepareStackTrace; Error.prepareStackTrace = prepareStackTrace; try { var RunInRootFrame = { DetermineComponentFrameRoot: function () { try { if (construct) { var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { set: function () { throw Error(); } }); if ("object" === typeof Reflect && Reflect.construct) { try { Reflect.construct(Fake, []); } catch (x) { var control = x; } Reflect.construct(fn, [], Fake); } else { try { Fake.call(); } catch (x$24) { control = x$24; } fn.call(Fake.prototype); } } else { try { throw Error(); } catch (x$25) { control = x$25; } (Fake = fn()) && "function" === typeof Fake.catch && Fake.catch(function () {}); } } catch (sample) { if (sample && control && "string" === typeof sample.stack) return [sample.stack, control.stack]; } return [null, null]; } }; RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; var namePropDescriptor = Object.getOwnPropertyDescriptor( RunInRootFrame.DetermineComponentFrameRoot, "name" ); namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty( RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" } ); var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1]; if (sampleStack && controlStack) { var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n"); for ( namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot"); ) RunInRootFrame++; for ( ; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes( "DetermineComponentFrameRoot" ); ) namePropDescriptor++; if ( RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length ) for ( RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]; ) namePropDescriptor--; for ( ; 1 <= RunInRootFrame && 0 <= namePropDescriptor; RunInRootFrame--, namePropDescriptor-- ) if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) { if (1 !== RunInRootFrame || 1 !== namePropDescriptor) { do if ( (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) ) { var frame = "\n" + sampleLines[RunInRootFrame].replace(" at new ", " at "); fn.displayName && frame.includes("<anonymous>") && (frame = frame.replace("<anonymous>", fn.displayName)); return frame; } while (1 <= RunInRootFrame && 0 <= namePropDescriptor); } break; } } } finally { (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace); } return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : ""; } function describeComponentStackByType(type) { if ("string" === typeof type) return describeBuiltInComponentFrame(type); if ("function" === typeof type) return type.prototype && type.prototype.isReactComponent ? ((type = describeNativeComponentFrame(type, !0)), type) : describeNativeComponentFrame(type, !1); if ("object" === typeof type && null !== type) { switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: return describeNativeComponentFrame(type.render, !1); case REACT_MEMO_TYPE: return describeNativeComponentFrame(type.type, !1); case REACT_LAZY_TYPE: var lazyComponent = type, payload = lazyComponent._payload; lazyComponent = lazyComponent._init; try { type = lazyComponent(payload); } catch (x) { return describeBuiltInComponentFrame("Lazy"); } return describeComponentStackByType(type); } if ("string" === typeof type.name) return ( (payload = type.env), describeBuiltInComponentFrame( type.name + (payload ? " [" + payload + "]" : "") ) ); } switch (type) { case REACT_SUSPENSE_LIST_TYPE: return describeBuiltInComponentFrame("SuspenseList"); case REACT_SUSPENSE_TYPE: return describeBuiltInComponentFrame("Suspense"); } return ""; } function defaultErrorHandler(error) { if ( "object" === typeof error && null !== error && "string" === typeof error.environmentName ) { var JSCompiler_inline_result = error.environmentName; error = [error].slice(0); "string" === typeof error[0] ? error.splice( 0, 1, "\u001b[0m\u001b[7m%c%s\u001b[0m%c " + error[0], "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", " " + JSCompiler_inline_result + " ", "" ) : error.splice( 0, 0, "\u001b[0m\u001b[7m%c%s\u001b[0m%c ", "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", " " + JSCompiler_inline_result + " ", "" ); error.unshift(console); JSCompiler_inline_result = bind.apply(console.error, error); JSCompiler_inline_result(); } else console.error(error); return null; } function noop() {} function RequestInstance( resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, formState ) { var abortSet = new Set(); this.destination = null; this.flushScheduled = !1; this.resumableState = resumableState; this.renderState = renderState; this.rootFormatContext = rootFormatContext; this.progressiveChunkSize = void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize; this.status = 10; this.fatalError = null; this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0; this.completedRootSegment = null; this.abortableTasks = abortSet; this.pingedTasks = []; this.clientRenderedBoundaries = []; this.completedBoundaries = []; this.partialBoundaries = []; this.trackedPostpones = null; this.onError = void 0 === onError ? defaultErrorHandler : onError; this.onPostpone = void 0 === onPostpone ? noop : onPostpone; this.onAllReady = void 0 === onAllReady ? noop : onAllReady; this.onShellReady = void 0 === onShellReady ? noop : onShellReady; this.onShellError = void 0 === onShellError ? noop : onShellError; this.onFatalError = void 0 === onFatalError ? noop : onFatalError; this.formState = void 0 === formState ? null : formState; } function createRequest( children, resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, formState ) { resumableState = new RequestInstance( resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, formState ); renderState = createPendingSegment( resumableState, 0, null, rootFormatContext, !1, !1 ); renderState.parentFlushed = !0; children = createRenderTask( resumableState, null, children, -1, null, renderState, null, resumableState.abortableTasks, null, rootFormatContext, null, emptyTreeContext, null, !1 ); pushComponentStack(children); resumableState.pingedTasks.push(children); return resumableState; } function createPrerenderRequest( children, resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone ) { children = createRequest( children, resumableState, renderState, rootFormatContext, progressiveChunkSize, onError, onAllReady, onShellReady, onShellError, onFatalError, onPostpone, void 0 ); children.trackedPostpones = { workingMap: new Map(), rootNodes: [], rootSlots: null }; return children; } var currentRequest = null; function resolveRequest() { if (currentRequest) return currentRequest; var store = requestStorage.getStore(); return store ? store : null; } function pingTask(request, task) { request.pingedTasks.push(task); 1 === request.pingedTasks.length && ((request.flushScheduled = null !== request.destination), null !== request.trackedPostpones || 10 === request.status ? scheduleMicrotask(function () { return performWork(request); }) : setImmediate(function () { return performWork(request); })); } function createSuspenseBoundary(request, fallbackAbortableTasks) { return { status: 0, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, completedSegments: [], byteSize: 0, fallbackAbortableTasks: fallbackAbortableTasks, errorDigest: null, contentState: createHoistableState(), fallbackState: createHoistableState(), trackedContentKeyPath: null, trackedFallbackNode: null }; } function createRenderTask( request, thenableState, node, childIndex, blockedBoundary, blockedSegment, hoistableState, abortSet, keyPath, formatContext, context, treeContext, componentStack, isFallback ) { request.allPendingTasks++; null === blockedBoundary ? request.pendingRootTasks++ : blockedBoundary.pendingTasks++; var task = { replay: null, node: node, childIndex: childIndex, ping: function () { return pingTask(request, task); }, blockedBoundary: blockedBoundary, blockedSegment: blockedSegment, hoistableState: hoistableState, abortSet: abortSet, keyPath: keyPath, formatContext: formatContext, context: context, treeContext: treeContext, componentStack: componentStack, thenableState: thenableState, isFallback: isFallback }; abortSet.add(task); return task; } function createReplayTask( request, thenableState, replay, node, childIndex, blockedBoundary, hoistableState, abortSet, keyPath, formatContext, context, treeContext, componentStack, isFallback ) { request.allPendingTasks++; null === blockedBoundary ? request.pendingRootTasks++ : blockedBoundary.pendingTasks++; replay.pendingTasks++; var task = { replay: replay, node: node, childIndex: childIndex, ping: function () { return pingTask(request, task); }, blockedBoundary: blockedBoundary, blockedSegment: null, hoistableState: hoistableState, abortSet: abortSet, keyPath: keyPath, formatContext: formatContext, context: context, treeContext: treeContext, componentStack: componentStack, thenableState: thenableState, isFallback: isFallback }; abortSet.add(task); return task; } function createPendingSegment( request, index, boundary, parentFormatContext, lastPushedText, textEmbedded ) { return { status: 0, id: -1, index: index, parentFlushed: !1, chunks: [], children: [], parentFormatContext: parentFormatContext, boundary: boundary, lastPushedText: lastPushedText, textEmbedded: textEmbedded }; } function pushComponentStack(task) { var node = task.node; if ("object" === typeof node && null !== node) switch (node.$$typeof) { case REACT_ELEMENT_TYPE: task.componentStack = { parent: task.componentStack, type: node.type }; } } function getThrownInfo(node$jscomp$0) { var errorInfo = {}; node$jscomp$0 && Object.defineProperty(errorInfo, "componentStack", { configurable: !0, enumerable: !0, get: function () { try { var info = "", node = node$jscomp$0; do (info += describeComponentStackByType(node.type)), (node = node.parent); while (node); var JSCompiler_inline_result = info; } catch (x) { JSCompiler_inline_result = "\nError generating stack: " + x.message + "\n" + x.stack; } Object.defineProperty(errorInfo, "componentStack", { value: JSCompiler_inline_result }); return JSCompiler_inline_result; } }); return errorInfo; } function logRecoverableError(request, error, errorInfo) { request = request.onError; error = request(error, errorInfo); if (null == error || "string" === typeof error) return error; } function fatalError(request, error) { var onShellError = request.onShellError, onFatalError = request.onFatalError; onShellError(error); onFatalError(error); null !== request.destination ? ((request.status = 14), request.destination.destroy(error)) : ((request.status = 13), (request.fatalError = error)); } function renderWithHooks(request, task, keyPath, Component, props, secondArg) { var prevThenableState = task.thenableState; task.thenableState = null; currentlyRenderingComponent = {}; currentlyRenderingTask = task; currentlyRenderingRequest = request; currentlyRenderingKeyPath = keyPath; actionStateCounter = localIdCounter = 0; actionStateMatchingIndex = -1; thenableIndexCounter = 0; thenableState = prevThenableState; for (request = Component(props, secondArg); didScheduleRenderPhaseUpdate; ) (didScheduleRenderPhaseUpdate = !1), (actionStateCounter = localIdCounter = 0), (actionStateMatchingIndex = -1), (thenableIndexCounter = 0), (numberOfReRenders += 1), (workInProgressHook = null), (request = Component(props, secondArg)); resetHooksState(); return request; } function finishFunctionComponent( request, task, keyPath, children, hasId, actionStateCount, actionStateMatchingIndex ) { var didEmitActionStateMarkers = !1; if (0 !== actionStateCount && null !== request.formState) { var segment = task.blockedSegment; if (null !== segment) { didEmitActionStateMarkers = !0; segment = segment.chunks; for (var i = 0; i < actionStateCount; i++) i === actionStateMatchingIndex ? segment.push(formStateMarkerIsMatching) : segment.push(formStateMarkerIsNotMatching); } } actionStateCount = task.keyPath; task.keyPath = keyPath; hasId ? ((keyPath = task.treeContext), (task.treeContext = pushTreeContext(keyPath, 1, 0)), renderNode(request, task, children, -1), (task.treeContext = keyPath)) : didEmitActionStateMarkers ? renderNode(request, task, children, -1) : renderNodeDestructive(request, task, children, -1); task.keyPath = actionStateCount; } function renderElement(request, task, keyPath, type, props, ref) { if ("function" === typeof type) if (type.prototype && type.prototype.isReactComponent) { var newProps = props; if ("ref" in props) { newProps = {}; for (var propName in props) "ref" !== propName && (newProps[propName] = props[propName]); } var defaultProps = type.defaultProps; if (defaultProps) { newProps === props && (newProps = assign({}, newProps, props)); for (var propName$33 in defaultProps) void 0 === newProps[propName$33] && (newProps[propName$33] = defaultProps[propName$33]); } props = newProps; newProps = emptyContextObject; defaultProps = type.contextType; "object" === typeof defaultProps && null !== defaultProps && (newProps = defaultProps._currentValue); newProps = new type(props, newProps); var initialState = void 0 !== newProps.state ? newProps.state : null; newProps.updater = classComponentUpdater; newProps.props = props; newProps.state = initialState; defaultProps = { queue: [], replace: !1 }; newProps._reactInternals = defaultProps; ref = type.contextType; newProps.context = "object" === typeof ref && null !== ref ? ref._currentValue : emptyContextObject; ref = type.getDerivedStateFromProps; "function" === typeof ref && ((ref = ref(props, initialState)), (initialState = null === ref || void 0 === ref ? initialState : assign({}, initialState, ref)), (newProps.state = initialState)); if ( "function" !== typeof type.getDerivedStateFromProps && "function" !== typeof newProps.getSnapshotBeforeUpdate && ("function" === typeof newProps.UNSAFE_componentWillMount || "function" === typeof newProps.componentWillMount) ) if ( ((type = newProps.state), "function" === typeof newProps.componentWillMount && newProps.componentWillMount(), "function" === typeof newProps.UNSAFE_componentWillMount && newProps.UNSAFE_componentWillMount(), type !== newProps.state && classComponentUpdater.enqueueReplaceState( newProps, newProps.state, null ), null !== defaultProps.queue && 0 < defaultProps.queue.length) ) if ( ((type = defaultProps.queue), (ref = defaultProps.replace), (defaultProps.queue = null), (defaultProps.replace = !1), ref && 1 === type.length) ) newProps.state = type[0]; else { defaultProps = ref ? type[0] : newProps.state; initialState = !0; for (ref = ref ? 1 : 0; ref < type.length; ref++) (propName$33 = type[ref]), (propName$33 = "function" === typeof propName$33 ? propName$33.call(newProps, defaultProps, props, void 0) : propName$33), null != propName$33 && (initialState ? ((initialState = !1), (defaultProps = assign({}, defaultProps, propName$33))) : assign(defaultProps, propName$33)); newProps.state = defaultProps; } else defaultProps.queue = null; type = newProps.render(); if (12 === request.status) throw null; props = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, type, -1); task.keyPath = props; } else { type = renderWithHooks(request, task, keyPath, type, props, void 0); if (12 === request.status) throw null; finishFunctionComponent( request, task, keyPath, type, 0 !== localIdCounter, actionStateCounter, actionStateMatchingIndex ); } else if ("string" === typeof type) if (((newProps = task.blockedSegment), null === newProps)) (newProps = props.children), (defaultProps = task.formatContext), (initialState = task.keyPath), (task.formatContext = getChildFormatContext(defaultProps, type, props)), (task.keyPath = keyPath), renderNode(request, task, newProps, -1), (task.formatContext = defaultProps), (task.keyPath = initialState); else { initialState = pushStartInstance( newProps.chunks, type, props, request.resumableState, request.renderState, task.hoistableState, task.formatContext, newProps.lastPushedText, task.isFallback ); newProps.lastPushedText = !1; defaultProps = task.formatContext; ref = task.keyPath; task.formatContext = getChildFormatContext(defaultProps, type, props); task.keyPath = keyPath; renderNode(request, task, initialState, -1); task.formatContext = defaultProps; task.keyPath = ref; a: { task = newProps.chunks; request = request.resumableState; switch (type) { case "title": case "style": case "script": case "area": case "base": case "br": case "col": case "embed": case "hr": case "img": case "input": case "keygen": case "link": case "meta": case "param": case "source": case "track": case "wbr": break a; case "body": if (1 >= defaultProps.insertionMode) { request.hasBody = !0; break a; } break; case "html": if (0 === defaultProps.insertionMode) { request.hasHtml = !0; break a; } } task.push(endChunkForTag(type)); } newProps.lastPushedText = !1; } else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: type = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, props.children, -1); task.keyPath = type; return; case REACT_OFFSCREEN_TYPE: "hidden" !== props.mode && ((type = task.keyPath), (task.keyPath = keyPath), renderNodeDestructive(request, task, props.children, -1), (task.keyPath = type)); return; case REACT_SUSPENSE_LIST_TYPE: type = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, props.children, -1); task.keyPath = type; return; case REACT_SCOPE_TYPE: throw Error("ReactDOMServer does not yet support scope components."); case REACT_SUSPENSE_TYPE: a: if (null !== task.replay) { type = task.keyPath; task.keyPath = keyPath; keyPath = props.children; try { renderNode(request, task, keyPath, -1); } finally { task.keyPath = type; } } else { type = task.keyPath; var parentBoundary = task.blockedBoundary, parentHoistableState = task.hoistableState; ref = task.blockedSegment; propName$33 = props.fallback; props = props.children; var fallbackAbortSet = new Set(); propName = createSuspenseBoundary(request, fallbackAbortSet); null !== request.trackedPostpones && (propName.trackedContentKeyPath = keyPath); var boundarySegment = createPendingSegment( request, ref.chunks.length, propName, task.formatContext, !1, !1 ); ref.children.push(boundarySegment); ref.lastPushedText = !1; var contentRootSegment = createPendingSegment( request, 0, null, task.formatContext, !1, !1 ); contentRootSegment.parentFlushed = !0; if (null !== request.trackedPostpones) { newProps = [keyPath[0], "Suspense Fallback", keyPath[2]]; defaultProps = [newProps[1], newProps[2], [], null]; request.trackedPostpones.workingMap.set(newProps, defaultProps); propName.trackedFallbackNode = defaultProps; task.blockedSegment = boundarySegment; task.keyPath = newProps; boundarySegment.status = 6; try { renderNode(request, task, propName$33, -1), boundarySegment.lastPushedText && boundarySegment.textEmbedded && boundarySegment.chunks.push(textSeparator), (boundarySegment.status = 1); } catch (thrownValue) { throw ( ((boundarySegment.status = 12 === request.status ? 3 : 4), thrownValue) ); } finally { (task.blockedSegment = ref), (task.keyPath = type); } task = createRenderTask( request, null, props, -1, propName, contentRootSegment, propName.contentState, task.abortSet, keyPath, task.formatContext, task.context, task.treeContext, task.componentStack, task.isFallback ); pushComponentStack(task); request.pingedTasks.push(task); } else { task.blockedBoundary = propName; task.hoistableState = propName.contentState; task.blockedSegment = contentRootSegment; task.keyPath = keyPath; contentRootSegment.status = 6; try { if ( (renderNode(request, task, props, -1), contentRootSegment.lastPushedText && contentRootSegment.textEmbedded && contentRootSegment.chunks.push(textSeparator), (contentRootSegment.status = 1), queueCompletedSegment(propName, contentRootSegment), 0 === propName.pendingTasks && 0 === propName.status) ) { propName.status = 1; break a; } } catch (thrownValue$28) { (propName.status = 4), 12 === request.status ? ((contentRootSegment.status = 3), (newProps = request.fatalError)) : ((contentRootSegment.status = 4), (newProps = thrownValue$28)), (defaultProps = getThrownInfo(task.componentStack)), (initialState = logRecoverableError( request, newProps, defaultProps )), (propName.errorDigest = initialState), untrackBoundary(request, propName); } finally { (task.blockedBoundary = parentBoundary), (task.hoistableState = parentHoistableState), (task.blockedSegment = ref), (task.keyPath = type); } task = createRenderTask( request, null, propName$33, -1, parentBoundary, boundarySegment, propName.fallbackState, fallbackAbortSet, [keyPath[0], "Suspense Fallback", keyPath[2]], task.formatContext, task.context, task.treeContext, task.componentStack, !0 ); pushComponentStack(task); request.pingedTasks.push(task); } } return; } if ("object" === typeof type && null !== type) switch (type.$$typeof) { case REACT_FORWARD_REF_TYPE: if ("ref" in props) for (boundarySegment in ((newProps = {}), props)) "ref" !== boundarySegment && (newProps[boundarySegment] = props[boundarySegment]); else newProps = props; type = renderWithHooks( request, task, keyPath, type.render, newProps, ref ); finishFunctionComponent( request, task, keyPath, type, 0 !== localIdCounter, actionStateCounter, actionStateMatchingIndex ); return; case REACT_MEMO_TYPE: renderElement(request, task, keyPath, type.type, props, ref); return; case REACT_PROVIDER_TYPE: case REACT_CONTEXT_TYPE: defaultProps = props.children; newProps = task.keyPath; props = props.value; initialState = type._currentValue; type._currentValue = props; ref = currentActiveSnapshot; currentActiveSnapshot = type = { parent: ref, depth: null === ref ? 0 : ref.depth + 1, context: type, parentValue: initialState, value: props }; task.context = type; task.keyPath = keyPath; renderNodeDestructive(request, task, defaultProps, -1); request = currentActiveSnapshot; if (null === request) throw Error( "Tried to pop a Context at the root of the app. This is a bug in React." ); request.context._currentValue = request.parentValue; request = currentActiveSnapshot = request.parent; task.context = request; task.keyPath = newProps; return; case REACT_CONSUMER_TYPE: props = props.children; type = props(type._context._currentValue); props = task.keyPath; task.keyPath = keyPath; renderNodeDestructive(request, task, type, -1); task.keyPath = props; return; case REACT_LAZY_TYPE: newProps = type._init; type = newProps(type._payload); if (12 === request.status) throw null; renderElement(request, task, keyPath, type, props, ref); return; } throw Error( "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + ((null == type ? type : typeof type) + ".") ); } } function resumeNode(request, task, segmentId, node, childIndex) { var prevReplay = task.replay, blockedBoundary = task.blockedBoundary, resumedSegment = createPendingSegment( request, 0, null, task.formatContext, !1, !1 ); resumedSegment.id = segmentId; resumedSegment.parentFlushed = !0; try { (task.replay = null), (task.blockedSegment = resumedSegment), renderNode(request, task, node, childIndex), (resumedSegment.status = 1), null === blockedBoundary ? (request.completedRootSegment = resumedSegment) : (queueCompletedSegment(blockedBoundary, resumedSegment), blockedBoundary.parentFlushed && request.partialBoundaries.push(blockedBoundary)); } finally { (task.replay = prevReplay), (task.blockedSegment = null); } } function renderNodeDestructive(request, task, node, childIndex) { null !== task.replay && "number" === typeof task.replay.slots ? resumeNode(request, task, task.replay.slots, node, childIndex) : ((task.node = node), (task.childIndex = childIndex), (node = task.componentStack), pushComponentStack(task), retryNode(request, task), (task.componentStack = node)); } function retryNode(request, task) { var node = task.node, childIndex = task.childIndex; if (null !== node) { if ("object" === typeof node) { switch (node.$$typeof) { case REACT_ELEMENT_TYPE: var type = node.type, key = node.key, props = node.props; node = props.ref; var ref = void 0 !== node ? node : null, name = getComponentNameFromType(type), keyOrIndex = null == key ? (-1 === childIndex ? 0 : childIndex) : key; key = [task.keyPath, name, keyOrIndex]; if (null !== task.replay) a: { var replay = task.replay; childIndex = replay.nodes; for (node = 0; node < childIndex.length; node++) { var node$jscomp$0 = childIndex[node]; if (keyOrIndex === node$jscomp$0[1]) { if (4 === node$jscomp$0.length) { if (null !== name && name !== node$jscomp$0[0]) throw Error( "Expected the resume to render <" + node$jscomp$0[0] + "> in this slot but instead it rendered <" + name + ">. The tree doesn't match so React will fallback to client rendering." ); var childNodes = node$jscomp$0[2]; name = node$jscomp$0[3]; keyOrIndex = task.node; task.replay = { nodes: childNodes, slots: name, pendingTasks: 1 }; try { renderElement(request, task, key, type, props, ref); if ( 1 === task.replay.pendingTasks && 0 < task.replay.nodes.length ) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; } catch (x) { if ( "object" === typeof x && null !== x && (x === SuspenseException || "function" === typeof x.then) ) throw ( (task.node === keyOrIndex && (task.replay = replay), x) ); task.replay.pendingTasks--; props = getThrownInfo(task.componentStack); key = task.blockedBoundary; type = x; props = logRecoverableError(request, type, props); abortRemainingReplayNodes( request, key, childNodes, name, type, props ); } task.replay = replay; } else { if (type !== REACT_SUSPENSE_TYPE) throw Error( "Expected the resume to render <Suspense> in this slot but instead it rendered <" + (getComponentNameFromType(type) || "Unknown") + ">. The tree doesn't match so React will fallback to client rendering." ); b: { replay = void 0; type = node$jscomp$0[5]; ref = node$jscomp$0[2]; name = node$jscomp$0[3]; keyOrIndex = null === node$jscomp$0[4] ? [] : node$jscomp$0[4][2]; node$jscomp$0 = null === node$jscomp$0[4] ? null : node$jscomp$0[4][3]; var prevKeyPath = task.keyPath, previousReplaySet = task.replay, parentBoundary = task.blockedBoundary, parentHoistableState = task.hoistableState, content = props.children; props = props.fallback; var fallbackAbortSet = new Set(), resumedBoundary = createSuspenseBoundary( request, fallbackAbortSet ); resumedBoundary.parentFlushed = !0; resumedBoundary.rootSegmentID = type; task.blockedBoundary = resumedBoundary; task.hoistableState = resumedBoundary.contentState; task.keyPath = key; task.replay = { nodes: ref, slots: name, pendingTasks: 1 }; try { renderNode(request, task, content, -1); if ( 1 === task.replay.pendingTasks && 0 < task.replay.nodes.length ) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; if ( 0 === resumedBoundary.pendingTasks && 0 === resumedBoundary.status ) { resumedBoundary.status = 1; request.completedBoundaries.push(resumedBoundary); break b; } } catch (error) { (resumedBoundary.status = 4), (childNodes = getThrownInfo(task.componentStack)), (replay = logRecoverableError( request, error, childNodes )), (resumedBoundary.errorDigest = replay), task.replay.pendingTasks--, request.clientRenderedBoundaries.push( resumedBoundary ); } finally { (task.blockedBoundary = parentBoundary), (task.hoistableState = parentHoistableState), (task.replay = previousReplaySet), (task.keyPath = prevKeyPath); } task = createReplayTask( request, null, { nodes: keyOrIndex, slots: node$jscomp$0, pendingTasks: 0 }, props, -1, parentBoundary, resumedBoundary.fallbackState, fallbackAbortSet, [key[0], "Suspense Fallback", key[2]], task.formatContext, task.context, task.treeContext, task.componentStack, !0 ); pushComponentStack(task); request.pingedTasks.push(task); } } childIndex.splice(node, 1); break a; } } } else renderElement(request, task, key, type, props, ref); return; case REACT_PORTAL_TYPE: throw Error( "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render." ); case REACT_LAZY_TYPE: childNodes = node._init; node = childNodes(node._payload); if (12 === request.status) throw null; renderNodeDestructive(request, task, node, childIndex); return; } if (isArrayImpl(node)) { renderChildrenArray(request, task, node, childIndex); return; } null === node || "object" !== typeof node ? (childNodes = null) : ((childNodes = (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) || node["@@iterator"]), (childNodes = "function" === typeof childNodes ? childNodes : null)); if (childNodes && (childNodes = childNodes.call(node))) { node = childNodes.next(); if (!node.done) { props = []; do props.push(node.value), (node = childNodes.next()); while (!node.done); renderChildrenArray(request, task, props, childIndex); } return; } if ("function" === typeof node.then) return ( (task.thenableState = null), renderNodeDestructive(request, task, unwrapThenable(node), childIndex) ); if (node.$$typeof === REACT_CONTEXT_TYPE) return renderNodeDestructive( request, task, node._currentValue, childIndex ); childIndex = Object.prototype.toString.call(node); throw Error( "Objects are not valid as a React child (found: " + ("[object Object]" === childIndex ? "object with keys {" + Object.keys(node).join(", ") + "}" : childIndex) + "). If you meant to render a collection of children, use an array instead." ); } if ("string" === typeof node) (childIndex = task.blockedSegment), null !== childIndex && (childIndex.lastPushedText = pushTextInstance( childIndex.chunks, node, request.renderState, childIndex.lastPushedText )); else if ("number" === typeof node || "bigint" === typeof node) (childIndex = task.blockedSegment), null !== childIndex && (childIndex.lastPushedText = pushTextInstance( childIndex.chunks, "" + node, request.renderState, childIndex.lastPushedText )); } } function renderChildrenArray(request, task, children, childIndex) { var prevKeyPath = task.keyPath; if ( -1 !== childIndex && ((task.keyPath = [task.keyPath, "Fragment", childIndex]), null !== task.replay) ) { for ( var replay = task.replay, replayNodes = replay.nodes, j = 0; j < replayNodes.length; j++ ) { var node = replayNodes[j]; if (node[1] === childIndex) { childIndex = node[2]; node = node[3]; task.replay = { nodes: childIndex, slots: node, pendingTasks: 1 }; try { renderChildrenArray(request, task, children, -1); if (1 === task.replay.pendingTasks && 0 < task.replay.nodes.length) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; } catch (x) { if ( "object" === typeof x && null !== x && (x === SuspenseException || "function" === typeof x.then) ) throw x; task.replay.pendingTasks--; children = getThrownInfo(task.componentStack); var boundary = task.blockedBoundary, error = x; children = logRecoverableError(request, error, children); abortRemainingReplayNodes( request, boundary, childIndex, node, error, children ); } task.replay = replay; replayNodes.splice(j, 1); break; } } task.keyPath = prevKeyPath; return; } replay = task.treeContext; replayNodes = children.length; if ( null !== task.replay && ((j = task.replay.slots), null !== j && "object" === typeof j) ) { for (childIndex = 0; childIndex < replayNodes; childIndex++) (node = children[childIndex]), (task.treeContext = pushTreeContext(replay, replayNodes, childIndex)), (boundary = j[childIndex]), "number" === typeof boundary ? (resumeNode(request, task, boundary, node, childIndex), delete j[childIndex]) : renderNode(request, task, node, childIndex); task.treeContext = replay; task.keyPath = prevKeyPath; return; } for (j = 0; j < replayNodes; j++) (childIndex = children[j]), (task.treeContext = pushTreeContext(replay, replayNodes, j)), renderNode(request, task, childIndex, j); task.treeContext = replay; task.keyPath = prevKeyPath; } function untrackBoundary(request, boundary) { request = request.trackedPostpones; null !== request && ((boundary = boundary.trackedContentKeyPath), null !== boundary && ((boundary = request.workingMap.get(boundary)), void 0 !== boundary && ((boundary.length = 4), (boundary[2] = []), (boundary[3] = null)))); } function spawnNewSuspendedReplayTask(request, task, thenableState) { return createReplayTask( request, thenableState, task.replay, task.node, task.childIndex, task.blockedBoundary, task.hoistableState, task.abortSet, task.keyPath, task.formatContext, task.context, task.treeContext, task.componentStack, task.isFallback ); } function spawnNewSuspendedRenderTask(request, task, thenableState) { var segment = task.blockedSegment, newSegment = createPendingSegment( request, segment.chunks.length, null, task.formatContext, segment.lastPushedText, !0 ); segment.children.push(newSegment); segment.lastPushedText = !1; return createRenderTask( request, thenableState, task.node, task.childIndex, task.blockedBoundary, newSegment, task.hoistableState, task.abortSet, task.keyPath, task.formatContext, task.context, task.treeContext, task.componentStack, task.isFallback ); } function renderNode(request, task, node, childIndex) { var previousFormatContext = task.formatContext, previousContext = task.context, previousKeyPath = task.keyPath, previousTreeContext = task.treeContext, previousComponentStack = task.componentStack, segment = task.blockedSegment; if (null === segment) try { return renderNodeDestructive(request, task, node, childIndex); } catch (thrownValue) { if ( (resetHooksState(), (node = thrownValue === SuspenseException ? getSuspendedThenable() : thrownValue), "object" === typeof node && null !== node) ) { if ("function" === typeof node.then) { childIndex = getThenableStateAfterSuspending(); request = spawnNewSuspendedReplayTask(request, task, childIndex).ping; node.then(request, request); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } if ("Maximum call stack size exceeded" === node.message) { node = getThenableStateAfterSuspending(); node = spawnNewSuspendedReplayTask(request, task, node); request.pingedTasks.push(node); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } } } else { var childrenLength = segment.children.length, chunkLength = segment.chunks.length; try { return renderNodeDestructive(request, task, node, childIndex); } catch (thrownValue$48) { if ( (resetHooksState(), (segment.children.length = childrenLength), (segment.chunks.length = chunkLength), (node = thrownValue$48 === SuspenseException ? getSuspendedThenable() : thrownValue$48), "object" === typeof node && null !== node) ) { if ("function" === typeof node.then) { childIndex = getThenableStateAfterSuspending(); request = spawnNewSuspendedRenderTask(request, task, childIndex).ping; node.then(request, request); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } if ("Maximum call stack size exceeded" === node.message) { node = getThenableStateAfterSuspending(); node = spawnNewSuspendedRenderTask(request, task, node); request.pingedTasks.push(node); task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; task.componentStack = previousComponentStack; switchContext(previousContext); return; } } } } task.formatContext = previousFormatContext; task.context = previousContext; task.keyPath = previousKeyPath; task.treeContext = previousTreeContext; switchContext(previousContext); throw node; } function abortTaskSoft(task) { var boundary = task.blockedBoundary; task = task.blockedSegment; null !== task && ((task.status = 3), finishedTask(this, boundary, task)); } function abortRemainingReplayNodes( request$jscomp$0, boundary, nodes, slots, error, errorDigest$jscomp$0 ) { for (var i = 0; i < nodes.length; i++) { var node = nodes[i]; if (4 === node.length) abortRemainingReplayNodes( request$jscomp$0, boundary, node[2], node[3], error, errorDigest$jscomp$0 ); else { node = node[5]; var request = request$jscomp$0, errorDigest = errorDigest$jscomp$0, resumedBoundary = createSuspenseBoundary(request, new Set()); resumedBoundary.parentFlushed = !0; resumedBoundary.rootSegmentID = node; resumedBoundary.status = 4; resumedBoundary.errorDigest = errorDigest; resumedBoundary.parentFlushed && request.clientRenderedBoundaries.push(resumedBoundary); } } nodes.length = 0; if (null !== slots) { if (null === boundary) throw Error( "We should not have any resumable nodes in the shell. This is a bug in React." ); 4 !== boundary.status && ((boundary.status = 4), (boundary.errorDigest = errorDigest$jscomp$0), boundary.parentFlushed && request$jscomp$0.clientRenderedBoundaries.push(boundary)); if ("object" === typeof slots) for (var index in slots) delete slots[index]; } } function abortTask(task, request, error) { var boundary = task.blockedBoundary, segment = task.blockedSegment; if (null !== segment) { if (6 === segment.status) return; segment.status = 3; } segment = getThrownInfo(task.componentStack); if (null === boundary) { if (13 !== request.status && 14 !== request.status) { boundary = task.replay; if (null === boundary) { logRecoverableError(request, error, segment); fatalError(request, error); return; } boundary.pendingTasks--; 0 === boundary.pendingTasks && 0 < boundary.nodes.length && ((task = logRecoverableError(request, error, segment)), abortRemainingReplayNodes( request, null, boundary.nodes, boundary.slots, error, task )); request.pendingRootTasks--; 0 === request.pendingRootTasks && completeShell(request); } } else boundary.pendingTasks--, 4 !== boundary.status && ((boundary.status = 4), (task = logRecoverableError(request, error, segment)), (boundary.status = 4), (boundary.errorDigest = task), untrackBoundary(request, boundary), boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary)), boundary.fallbackAbortableTasks.forEach(function (fallbackTask) { return abortTask(fallbackTask, request, error); }), boundary.fallbackAbortableTasks.clear(); request.allPendingTasks--; 0 === request.allPendingTasks && completeAll(request); } function safelyEmitEarlyPreloads(request, shellComplete) { try { var renderState = request.renderState, onHeaders = renderState.onHeaders; if (onHeaders) { var headers = renderState.headers; if (headers) { renderState.headers = null; var linkHeader = headers.preconnects; headers.fontPreloads && (linkHeader && (linkHeader += ", "), (linkHeader += headers.fontPreloads)); headers.highImagePreloads && (linkHeader && (linkHeader += ", "), (linkHeader += headers.highImagePreloads)); if (!shellComplete) { var queueIter = renderState.styles.values(), queueStep = queueIter.next(); b: for ( ; 0 < headers.remainingCapacity && !queueStep.done; queueStep = queueIter.next() ) for ( var sheetIter = queueStep.value.sheets.values(), sheetStep = sheetIter.next(); 0 < headers.remainingCapacity && !sheetStep.done; sheetStep = sheetIter.next() ) { var sheet = sheetStep.value, props = sheet.props, key = props.href, props$jscomp$0 = sheet.props, header = getPreloadAsHeader(props$jscomp$0.href, "style", { crossOrigin: props$jscomp$0.crossOrigin, integrity: props$jscomp$0.integrity, nonce: props$jscomp$0.nonce, type: props$jscomp$0.type, fetchPriority: props$jscomp$0.fetchPriority, referrerPolicy: props$jscomp$0.referrerPolicy, media: props$jscomp$0.media }); if (0 <= (headers.remainingCapacity -= header.length + 2)) (renderState.resets.style[key] = PRELOAD_NO_CREDS), linkHeader && (linkHeader += ", "), (linkHeader += header), (renderState.resets.style[key] = "string" === typeof props.crossOrigin || "string" === typeof props.integrity ? [props.crossOrigin, props.integrity] : PRELOAD_NO_CREDS); else break b; } } linkHeader ? onHeaders({ Link: linkHeader }) : onHeaders({}); } } } catch (error) { logRecoverableError(request, error, {}); } } function completeShell(request) { null === request.trackedPostpones && safelyEmitEarlyPreloads(request, !0); request.onShellError = noop; request = request.onShellReady; request(); } function completeAll(request) { safelyEmitEarlyPreloads( request, null === request.trackedPostpones ? !0 : null === request.completedRootSegment || 5 !== request.completedRootSegment.status ); request = request.onAllReady; request(); } function queueCompletedSegment(boundary, segment) { if ( 0 === segment.chunks.length && 1 === segment.children.length && null === segment.children[0].boundary && -1 === segment.children[0].id ) { var childSegment = segment.children[0]; childSegment.id = segment.id; childSegment.parentFlushed = !0; 1 === childSegment.status && queueCompletedSegment(boundary, childSegment); } else boundary.completedSegments.push(segment); } function finishedTask(request, boundary, segment) { if (null === boundary) { if (null !== segment && segment.parentFlushed) { if (null !== request.completedRootSegment) throw Error( "There can only be one root segment. This is a bug in React." ); request.completedRootSegment = segment; } request.pendingRootTasks--; 0 === request.pendingRootTasks && completeShell(request); } else boundary.pendingTasks--, 4 !== boundary.status && (0 === boundary.pendingTasks ? (0 === boundary.status && (boundary.status = 1), null !== segment && segment.parentFlushed && 1 === segment.status && queueCompletedSegment(boundary, segment), boundary.parentFlushed && request.completedBoundaries.push(boundary), 1 === boundary.status && (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request), boundary.fallbackAbortableTasks.clear())) : null !== segment && segment.parentFlushed && 1 === segment.status && (queueCompletedSegment(boundary, segment), 1 === boundary.completedSegments.length && boundary.parentFlushed && request.partialBoundaries.push(boundary))); request.allPendingTasks--; 0 === request.allPendingTasks && completeAll(request); } function performWork(request$jscomp$2) { if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) { var prevContext = currentActiveSnapshot, prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = HooksDispatcher; var prevAsyncDispatcher = ReactSharedInternals.A; ReactSharedInternals.A = DefaultAsyncDispatcher; var prevRequest = currentRequest; currentRequest = request$jscomp$2; var prevResumableState = currentResumableState; currentResumableState = request$jscomp$2.resumableState; try { var pingedTasks = request$jscomp$2.pingedTasks, i; for (i = 0; i < pingedTasks.length; i++) { var task = pingedTasks[i], request = request$jscomp$2, segment = task.blockedSegment; if (null === segment) { var request$jscomp$0 = request; if (0 !== task.replay.pendingTasks) { switchContext(task.context); try { "number" === typeof task.replay.slots ? resumeNode( request$jscomp$0, task, task.replay.slots, task.node, task.childIndex ) : retryNode(request$jscomp$0, task); if ( 1 === task.replay.pendingTasks && 0 < task.replay.nodes.length ) throw Error( "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering." ); task.replay.pendingTasks--; task.abortSet.delete(task); finishedTask(request$jscomp$0, task.blockedBoundary, null); } catch (thrownValue) { resetHooksState(); var x = thrownValue === SuspenseException ? getSuspendedThenable() : thrownValue; if ( "object" === typeof x && null !== x && "function" === typeof x.then ) { var ping = task.ping; x.then(ping, ping); task.thenableState = getThenableStateAfterSuspending(); } else { task.replay.pendingTasks--; task.abortSet.delete(task); var errorInfo = getThrownInfo(task.componentStack); request = void 0; var request$jscomp$1 = request$jscomp$0, boundary = task.blockedBoundary, error$jscomp$0 = 12 === request$jscomp$0.status ? request$jscomp$0.fatalError : x, replayNodes = task.replay.nodes, resumeSlots = task.replay.slots; request = logRecoverableError( request$jscomp$1, error$jscomp$0, errorInfo ); abortRemainingReplayNodes( request$jscomp$1, boundary, replayNodes, resumeSlots, error$jscomp$0, request ); request$jscomp$0.pendingRootTasks--; 0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0); request$jscomp$0.allPendingTasks--; 0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0); } } finally { } } } else if ( ((request$jscomp$0 = void 0), (request$jscomp$1 = segment), 0 === request$jscomp$1.status) ) { request$jscomp$1.status = 6; switchContext(task.context); var childrenLength = request$jscomp$1.children.length, chunkLength = request$jscomp$1.chunks.length; try { retryNode(request, task), request$jscomp$1.lastPushedText && request$jscomp$1.textEmbedded && request$jscomp$1.chunks.push(textSeparator), task.abortSet.delete(task), (request$jscomp$1.status = 1), finishedTask(request, task.blockedBoundary, request$jscomp$1); } catch (thrownValue) { resetHooksState(); request$jscomp$1.children.length = childrenLength; request$jscomp$1.chunks.length = chunkLength; var x$jscomp$0 = thrownValue === SuspenseException ? getSuspendedThenable() : 12 === request.status ? request.fatalError : thrownValue; if ( "object" === typeof x$jscomp$0 && null !== x$jscomp$0 && "function" === typeof x$jscomp$0.then ) { request$jscomp$1.status = 0; task.thenableState = getThenableStateAfterSuspending(); var ping$jscomp$0 = task.ping; x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0); } else { var errorInfo$jscomp$0 = getThrownInfo(task.componentStack); task.abortSet.delete(task); request$jscomp$1.status = 4; var boundary$jscomp$0 = task.blockedBoundary; request$jscomp$0 = logRecoverableError( request, x$jscomp$0, errorInfo$jscomp$0 ); null === boundary$jscomp$0 ? fatalError(request, x$jscomp$0) : (boundary$jscomp$0.pendingTasks--, 4 !== boundary$jscomp$0.status && ((boundary$jscomp$0.status = 4), (boundary$jscomp$0.errorDigest = request$jscomp$0), untrackBoundary(request, boundary$jscomp$0), boundary$jscomp$0.parentFlushed && request.clientRenderedBoundaries.push( boundary$jscomp$0 ))); request.allPendingTasks--; 0 === request.allPendingTasks && completeAll(request); } } finally { } } } pingedTasks.splice(0, i); null !== request$jscomp$2.destination && flushCompletedQueues(request$jscomp$2, request$jscomp$2.destination); } catch (error) { logRecoverableError(request$jscomp$2, error, {}), fatalError(request$jscomp$2, error); } finally { (currentResumableState = prevResumableState), (ReactSharedInternals.H = prevDispatcher), (ReactSharedInternals.A = prevAsyncDispatcher), prevDispatcher === HooksDispatcher && switchContext(prevContext), (currentRequest = prevRequest); } } } function flushSubtree(request, destination, segment, hoistableState) { segment.parentFlushed = !0; switch (segment.status) { case 0: segment.id = request.nextSegmentId++; case 5: return ( (hoistableState = segment.id), (segment.lastPushedText = !1), (segment.textEmbedded = !1), (request = request.renderState), writeChunk(destination, placeholder1), writeChunk(destination, request.placeholderPrefix), (request = hoistableState.toString(16)), writeChunk(destination, request), writeChunkAndReturn(destination, placeholder2) ); case 1: segment.status = 2; var r = !0, chunks = segment.chunks, chunkIdx = 0; segment = segment.children; for (var childIdx = 0; childIdx < segment.length; childIdx++) { for (r = segment[childIdx]; chunkIdx < r.index; chunkIdx++) writeChunk(destination, chunks[chunkIdx]); r = flushSegment(request, destination, r, hoistableState); } for (; chunkIdx < chunks.length - 1; chunkIdx++) writeChunk(destination, chunks[chunkIdx]); chunkIdx < chunks.length && (r = writeChunkAndReturn(destination, chunks[chunkIdx])); return r; default: throw Error( "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React." ); } } function flushSegment(request, destination, segment, hoistableState) { var boundary = segment.boundary; if (null === boundary) return flushSubtree(request, destination, segment, hoistableState); boundary.parentFlushed = !0; if (4 === boundary.status) (boundary = boundary.errorDigest), writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary), writeChunk(destination, clientRenderedSuspenseBoundaryError1), boundary && (writeChunk(destination, clientRenderedSuspenseBoundaryError1A), writeChunk(destination, escapeTextForBrowser(boundary)), writeChunk( destination, clientRenderedSuspenseBoundaryErrorAttrInterstitial )), writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2), flushSubtree(request, destination, segment, hoistableState); else if (1 !== boundary.status) 0 === boundary.status && (boundary.rootSegmentID = request.nextSegmentId++), 0 < boundary.completedSegments.length && request.partialBoundaries.push(boundary), writeStartPendingSuspenseBoundary( destination, request.renderState, boundary.rootSegmentID ), hoistableState && ((boundary = boundary.fallbackState), boundary.styles.forEach(hoistStyleQueueDependency, hoistableState), boundary.stylesheets.forEach( hoistStylesheetDependency, hoistableState )), flushSubtree(request, destination, segment, hoistableState); else if (boundary.byteSize > request.progressiveChunkSize) (boundary.rootSegmentID = request.nextSegmentId++), request.completedBoundaries.push(boundary), writeStartPendingSuspenseBoundary( destination, request.renderState, boundary.rootSegmentID ), flushSubtree(request, destination, segment, hoistableState); else { hoistableState && ((segment = boundary.contentState), segment.styles.forEach(hoistStyleQueueDependency, hoistableState), segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState)); writeChunkAndReturn(destination, startCompletedSuspenseBoundary); segment = boundary.completedSegments; if (1 !== segment.length) throw Error( "A previously unvisited boundary must have exactly one root segment. This is a bug in React." ); flushSegment(request, destination, segment[0], hoistableState); } return writeChunkAndReturn(destination, endSuspenseBoundary); } function flushSegmentContainer(request, destination, segment, hoistableState) { writeStartSegment( destination, request.renderState, segment.parentFormatContext, segment.id ); flushSegment(request, destination, segment, hoistableState); return writeEndSegment(destination, segment.parentFormatContext); } function flushCompletedBoundary(request, destination, boundary) { for ( var completedSegments = boundary.completedSegments, i = 0; i < completedSegments.length; i++ ) flushPartiallyCompletedSegment( request, destination, boundary, completedSegments[i] ); completedSegments.length = 0; writeHoistablesForBoundary( destination, boundary.contentState, request.renderState ); completedSegments = request.resumableState; request = request.renderState; i = boundary.rootSegmentID; boundary = boundary.contentState; var requiresStyleInsertion = request.stylesToHoist; request.stylesToHoist = !1; writeChunk(destination, request.startInlineScript); requiresStyleInsertion ? 0 === (completedSegments.instructions & 2) ? ((completedSegments.instructions |= 10), writeChunk(destination, completeBoundaryWithStylesScript1FullBoth)) : 0 === (completedSegments.instructions & 8) ? ((completedSegments.instructions |= 8), writeChunk(destination, completeBoundaryWithStylesScript1FullPartial)) : writeChunk(destination, completeBoundaryWithStylesScript1Partial) : 0 === (completedSegments.instructions & 2) ? ((completedSegments.instructions |= 2), writeChunk(destination, completeBoundaryScript1Full)) : writeChunk(destination, completeBoundaryScript1Partial); completedSegments = i.toString(16); writeChunk(destination, request.boundaryPrefix); writeChunk(destination, completedSegments); writeChunk(destination, completeBoundaryScript2); writeChunk(destination, request.segmentPrefix); writeChunk(destination, completedSegments); requiresStyleInsertion ? (writeChunk(destination, completeBoundaryScript3a), writeStyleResourceDependenciesInJS(destination, boundary)) : writeChunk(destination, completeBoundaryScript3b); boundary = writeChunkAndReturn(destination, completeBoundaryScriptEnd); return writeBootstrap(destination, request) && boundary; } function flushPartiallyCompletedSegment( request, destination, boundary, segment ) { if (2 === segment.status) return !0; var hoistableState = boundary.contentState, segmentID = segment.id; if (-1 === segmentID) { if (-1 === (segment.id = boundary.rootSegmentID)) throw Error( "A root segment ID must have been assigned by now. This is a bug in React." ); return flushSegmentContainer(request, destination, segment, hoistableState); } if (segmentID === boundary.rootSegmentID) return flushSegmentContainer(request, destination, segment, hoistableState); flushSegmentContainer(request, destination, segment, hoistableState); boundary = request.resumableState; request = request.renderState; writeChunk(destination, request.startInlineScript); 0 === (boundary.instructions & 1) ? ((boundary.instructions |= 1), writeChunk(destination, completeSegmentScript1Full)) : writeChunk(destination, completeSegmentScript1Partial); writeChunk(destination, request.segmentPrefix); segmentID = segmentID.toString(16); writeChunk(destination, segmentID); writeChunk(destination, completeSegmentScript2); writeChunk(destination, request.placeholderPrefix); writeChunk(destination, segmentID); destination = writeChunkAndReturn(destination, completeSegmentScriptEnd); return destination; } function flushCompletedQueues(request, destination) { currentView = new Uint8Array(2048); writtenBytes = 0; destinationHasCapacity$1 = !0; try { if (!(0 < request.pendingRootTasks)) { var i, completedRootSegment = request.completedRootSegment; if (null !== completedRootSegment) { if (5 === completedRootSegment.status) return; var renderState = request.renderState, htmlChunks = renderState.htmlChunks, headChunks = renderState.headChunks, i$jscomp$0; if (htmlChunks) { for (i$jscomp$0 = 0; i$jscomp$0 < htmlChunks.length; i$jscomp$0++) writeChunk(destination, htmlChunks[i$jscomp$0]); if (headChunks) for (i$jscomp$0 = 0; i$jscomp$0 < headChunks.length; i$jscomp$0++) writeChunk(destination, headChunks[i$jscomp$0]); else writeChunk(destination, startChunkForTag("head")), writeChunk(destination, endOfStartTag); } else if (headChunks) for (i$jscomp$0 = 0; i$jscomp$0 < headChunks.length; i$jscomp$0++) writeChunk(destination, headChunks[i$jscomp$0]); var charsetChunks = renderState.charsetChunks; for (i$jscomp$0 = 0; i$jscomp$0 < charsetChunks.length; i$jscomp$0++) writeChunk(destination, charsetChunks[i$jscomp$0]); charsetChunks.length = 0; renderState.preconnects.forEach(flushResource, destination); renderState.preconnects.clear(); var viewportChunks = renderState.viewportChunks; for (i$jscomp$0 = 0; i$jscomp$0 < viewportChunks.length; i$jscomp$0++) writeChunk(destination, viewportChunks[i$jscomp$0]); viewportChunks.length = 0; renderState.fontPreloads.forEach(flushResource, destination); renderState.fontPreloads.clear(); renderState.highImagePreloads.forEach(flushResource, destination); renderState.highImagePreloads.clear(); renderState.styles.forEach(flushStylesInPreamble, destination); var importMapChunks = renderState.importMapChunks; for (i$jscomp$0 = 0; i$jscomp$0 < importMapChunks.length; i$jscomp$0++) writeChunk(destination, importMapChunks[i$jscomp$0]); importMapChunks.length = 0; renderState.bootstrapScripts.forEach(flushResource, destination); renderState.scripts.forEach(flushResource, destination); renderState.scripts.clear(); renderState.bulkPreloads.forEach(flushResource, destination); renderState.bulkPreloads.clear(); var hoistableChunks = renderState.hoistableChunks; for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++) writeChunk(destination, hoistableChunks[i$jscomp$0]); hoistableChunks.length = 0; htmlChunks && null === headChunks && writeChunk(destination, endChunkForTag("head")); flushSegment(request, destination, completedRootSegment, null); request.completedRootSegment = null; writeBootstrap(destination, request.renderState); } var renderState$jscomp$0 = request.renderState; completedRootSegment = 0; var viewportChunks$jscomp$0 = renderState$jscomp$0.viewportChunks; for ( completedRootSegment = 0; completedRootSegment < viewportChunks$jscomp$0.length; completedRootSegment++ ) writeChunk(destination, viewportChunks$jscomp$0[completedRootSegment]); viewportChunks$jscomp$0.length = 0; renderState$jscomp$0.preconnects.forEach(flushResource, destination); renderState$jscomp$0.preconnects.clear(); renderState$jscomp$0.fontPreloads.forEach(flushResource, destination); renderState$jscomp$0.fontPreloads.clear(); renderState$jscomp$0.highImagePreloads.forEach( flushResource, destination ); renderState$jscomp$0.highImagePreloads.clear(); renderState$jscomp$0.styles.forEach(preloadLateStyles, destination); renderState$jscomp$0.scripts.forEach(flushResource, destination); renderState$jscomp$0.scripts.clear(); renderState$jscomp$0.bulkPreloads.forEach(flushResource, destination); renderState$jscomp$0.bulkPreloads.clear(); var hoistableChunks$jscomp$0 = renderState$jscomp$0.hoistableChunks; for ( completedRootSegment = 0; completedRootSegment < hoistableChunks$jscomp$0.length; completedRootSegment++ ) writeChunk(destination, hoistableChunks$jscomp$0[completedRootSegment]); hoistableChunks$jscomp$0.length = 0; var clientRenderedBoundaries = request.clientRenderedBoundaries; for (i = 0; i < clientRenderedBoundaries.length; i++) { var boundary = clientRenderedBoundaries[i]; renderState$jscomp$0 = destination; var resumableState = request.resumableState, renderState$jscomp$1 = request.renderState, id = boundary.rootSegmentID, errorDigest = boundary.errorDigest; writeChunk( renderState$jscomp$0, renderState$jscomp$1.startInlineScript ); 0 === (resumableState.instructions & 4) ? ((resumableState.instructions |= 4), writeChunk(renderState$jscomp$0, clientRenderScript1Full)) : writeChunk(renderState$jscomp$0, clientRenderScript1Partial); writeChunk(renderState$jscomp$0, renderState$jscomp$1.boundaryPrefix); writeChunk(renderState$jscomp$0, id.toString(16)); writeChunk(renderState$jscomp$0, clientRenderScript1A); errorDigest && (writeChunk( renderState$jscomp$0, clientRenderErrorScriptArgInterstitial ), writeChunk( renderState$jscomp$0, escapeJSStringsForInstructionScripts(errorDigest || "") )); var JSCompiler_inline_result = writeChunkAndReturn( renderState$jscomp$0, clientRenderScriptEnd ); if (!JSCompiler_inline_result) { request.destination = null; i++; clientRenderedBoundaries.splice(0, i); return; } } clientRenderedBoundaries.splice(0, i); var completedBoundaries = request.completedBoundaries; for (i = 0; i < completedBoundaries.length; i++) if ( !flushCompletedBoundary(request, destination, completedBoundaries[i]) ) { request.destination = null; i++; completedBoundaries.splice(0, i); return; } completedBoundaries.splice(0, i); completeWriting(destination); currentView = new Uint8Array(2048); writtenBytes = 0; destinationHasCapacity$1 = !0; var partialBoundaries = request.partialBoundaries; for (i = 0; i < partialBoundaries.length; i++) { var boundary$51 = partialBoundaries[i]; a: { clientRenderedBoundaries = request; boundary = destination; var completedSegments = boundary$51.completedSegments; for ( JSCompiler_inline_result = 0; JSCompiler_inline_result < completedSegments.length; JSCompiler_inline_result++ ) if ( !flushPartiallyCompletedSegment( clientRenderedBoundaries, boundary, boundary$51, completedSegments[JSCompiler_inline_result] ) ) { JSCompiler_inline_result++; completedSegments.splice(0, JSCompiler_inline_result); var JSCompiler_inline_result$jscomp$0 = !1; break a; } completedSegments.splice(0, JSCompiler_inline_result); JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary( boundary, boundary$51.contentState, clientRenderedBoundaries.renderState ); } if (!JSCompiler_inline_result$jscomp$0) { request.destination = null; i++; partialBoundaries.splice(0, i); return; } } partialBoundaries.splice(0, i); var largeBoundaries = request.completedBoundaries; for (i = 0; i < largeBoundaries.length; i++) if (!flushCompletedBoundary(request, destination, largeBoundaries[i])) { request.destination = null; i++; largeBoundaries.splice(0, i); return; } largeBoundaries.splice(0, i); } } finally { 0 === request.allPendingTasks && 0 === request.pingedTasks.length && 0 === request.clientRenderedBoundaries.length && 0 === request.completedBoundaries.length ? ((request.flushScheduled = !1), (i = request.resumableState), i.hasBody && writeChunk(destination, endChunkForTag("body")), i.hasHtml && writeChunk(destination, endChunkForTag("html")), completeWriting(destination), flushBuffered(destination), (request.status = 14), destination.end(), (request.destination = null)) : (completeWriting(destination), flushBuffered(destination)); } } function startWork(request) { request.flushScheduled = null !== request.destination; scheduleMicrotask(function () { return requestStorage.run(request, performWork, request); }); setImmediate(function () { 10 === request.status && (request.status = 11); null === request.trackedPostpones && requestStorage.run( request, enqueueEarlyPreloadsAfterInitialWork, request ); }); } function enqueueEarlyPreloadsAfterInitialWork(request) { safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks); } function enqueueFlush(request) { !1 === request.flushScheduled && 0 === request.pingedTasks.length && null !== request.destination && ((request.flushScheduled = !0), setImmediate(function () { var destination = request.destination; destination ? flushCompletedQueues(request, destination) : (request.flushScheduled = !1); })); } function startFlowing(request, destination) { if (13 === request.status) (request.status = 14), destination.destroy(request.fatalError); else if (14 !== request.status && null === request.destination) { request.destination = destination; try { flushCompletedQueues(request, destination); } catch (error) { logRecoverableError(request, error, {}), fatalError(request, error); } } } function abort(request, reason) { if (11 === request.status || 10 === request.status) request.status = 12; try { var abortableTasks = request.abortableTasks; if (0 < abortableTasks.size) { var error = void 0 === reason ? Error("The render was aborted by the server without a reason.") : "object" === typeof reason && null !== reason && "function" === typeof reason.then ? Error("The render was aborted by the server with a promise.") : reason; request.fatalError = error; abortableTasks.forEach(function (task) { return abortTask(task, request, error); }); abortableTasks.clear(); } null !== request.destination && flushCompletedQueues(request, request.destination); } catch (error$53) { logRecoverableError(request, error$53, {}), fatalError(request, error$53); } } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; if ("19.0.0" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + "\n - react-dom: 19.0.0\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); function createDrainHandler(destination, request) { return function () { return startFlowing(request, destination); }; } function createCancelHandler(request, reason) { return function () { request.destination = null; abort(request, Error(reason)); }; } function createRequestImpl(children, options) { var resumableState = createResumableState( options ? options.identifierPrefix : void 0, options ? options.unstable_externalRuntimeSrc : void 0, options ? options.bootstrapScriptContent : void 0, options ? options.bootstrapScripts : void 0, options ? options.bootstrapModules : void 0 ); return createRequest( children, resumableState, createRenderState( resumableState, options ? options.nonce : void 0, options ? options.unstable_externalRuntimeSrc : void 0, options ? options.importMap : void 0, options ? options.onHeaders : void 0, options ? options.maxHeadersLength : void 0 ), createRootFormatContext(options ? options.namespaceURI : void 0), options ? options.progressiveChunkSize : void 0, options ? options.onError : void 0, options ? options.onAllReady : void 0, options ? options.onShellReady : void 0, options ? options.onShellError : void 0, void 0, options ? options.onPostpone : void 0, options ? options.formState : void 0 ); } ensureCorrectIsomorphicReactVersion(); function createFakeWritable(readable) { return { write: function (chunk) { return readable.push(chunk); }, end: function () { readable.push(null); }, destroy: function (error) { readable.destroy(error); } }; } exports.prerenderToNodeStream = function (children, options) { return new Promise(function (resolve, reject) { var resumableState = createResumableState( options ? options.identifierPrefix : void 0, options ? options.unstable_externalRuntimeSrc : void 0, options ? options.bootstrapScriptContent : void 0, options ? options.bootstrapScripts : void 0, options ? options.bootstrapModules : void 0 ), request = createPrerenderRequest( children, resumableState, createRenderState( resumableState, void 0, options ? options.unstable_externalRuntimeSrc : void 0, options ? options.importMap : void 0, options ? options.onHeaders : void 0, options ? options.maxHeadersLength : void 0 ), createRootFormatContext(options ? options.namespaceURI : void 0), options ? options.progressiveChunkSize : void 0, options ? options.onError : void 0, function () { var readable = new stream.Readable({ read: function () { startFlowing(request, writable); } }), writable = createFakeWritable(readable); resolve({ prelude: readable }); }, void 0, void 0, reject, options ? options.onPostpone : void 0 ); if (options && options.signal) { var signal = options.signal; if (signal.aborted) abort(request, signal.reason); else { var listener = function () { abort(request, signal.reason); signal.removeEventListener("abort", listener); }; signal.addEventListener("abort", listener); } } startWork(request); }); }; exports.renderToPipeableStream = function (children, options) { var request = createRequestImpl(children, options), hasStartedFlowing = !1; startWork(request); return { pipe: function (destination) { if (hasStartedFlowing) throw Error( "React currently only supports piping to one writable stream." ); hasStartedFlowing = !0; safelyEmitEarlyPreloads( request, null === request.trackedPostpones ? 0 === request.pendingRootTasks : null === request.completedRootSegment ? 0 === request.pendingRootTasks : 5 !== request.completedRootSegment.status ); startFlowing(request, destination); destination.on("drain", createDrainHandler(destination, request)); destination.on( "error", createCancelHandler( request, "The destination stream errored while writing data." ) ); destination.on( "close", createCancelHandler(request, "The destination stream closed early.") ); return destination; }, abort: function (reason) { abort(request, reason); } }; }; exports.version = "19.0.0"; /***/ }), /***/ 6221: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; /** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var React = __webpack_require__(6540); function formatProdErrorMessage(code) { var url = "https://react.dev/errors/" + code; if (1 < arguments.length) { url += "?args[]=" + encodeURIComponent(arguments[1]); for (var i = 2; i < arguments.length; i++) url += "&args[]=" + encodeURIComponent(arguments[i]); } return ( "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." ); } function noop() {} var Internals = { d: { f: noop, r: function () { throw Error(formatProdErrorMessage(522)); }, D: noop, C: noop, L: noop, m: noop, X: noop, S: noop, M: noop }, p: 0, findDOMNode: null }, REACT_PORTAL_TYPE = Symbol.for("react.portal"); function createPortal$1(children, containerInfo, implementation) { var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; return { $$typeof: REACT_PORTAL_TYPE, key: null == key ? null : "" + key, children: children, containerInfo: containerInfo, implementation: implementation }; } var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; function getCrossOriginStringAs(as, input) { if ("font" === as) return ""; if ("string" === typeof input) return "use-credentials" === input ? input : ""; } exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals; exports.createPortal = function (children, container) { var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; if ( !container || (1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) ) throw Error(formatProdErrorMessage(299)); return createPortal$1(children, container, null, key); }; exports.flushSync = function (fn) { var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p; try { if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn(); } finally { (ReactSharedInternals.T = previousTransition), (Internals.p = previousUpdatePriority), Internals.d.f(); } }; exports.preconnect = function (href, options) { "string" === typeof href && (options ? ((options = options.crossOrigin), (options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0)) : (options = null), Internals.d.C(href, options)); }; exports.prefetchDNS = function (href) { "string" === typeof href && Internals.d.D(href); }; exports.preinit = function (href, options) { if ("string" === typeof href && options && "string" === typeof options.as) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0; "style" === as ? Internals.d.S( href, "string" === typeof options.precedence ? options.precedence : void 0, { crossOrigin: crossOrigin, integrity: integrity, fetchPriority: fetchPriority } ) : "script" === as && Internals.d.X(href, { crossOrigin: crossOrigin, integrity: integrity, fetchPriority: fetchPriority, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } }; exports.preinitModule = function (href, options) { if ("string" === typeof href) if ("object" === typeof options && null !== options) { if (null == options.as || "script" === options.as) { var crossOrigin = getCrossOriginStringAs( options.as, options.crossOrigin ); Internals.d.M(href, { crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0 }); } } else null == options && Internals.d.M(href); }; exports.preload = function (href, options) { if ( "string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as ) { var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin); Internals.d.L(href, as, { crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0, nonce: "string" === typeof options.nonce ? options.nonce : void 0, type: "string" === typeof options.type ? options.type : void 0, fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0, referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0, imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0, imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0, media: "string" === typeof options.media ? options.media : void 0 }); } }; exports.preloadModule = function (href, options) { if ("string" === typeof href) if (options) { var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin); Internals.d.m(href, { as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0, crossOrigin: crossOrigin, integrity: "string" === typeof options.integrity ? options.integrity : void 0 }); } else Internals.d.m(href); }; exports.requestFormReset = function (form) { Internals.d.r(form); }; exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; exports.useFormState = function (action, initialState, permalink) { return ReactSharedInternals.H.useFormState(action, initialState, permalink); }; exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; exports.version = "19.0.0"; /***/ }), /***/ 961: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; function checkDCE() { /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function' ) { return; } if (false) {} try { // Verify that the code above has been dead code eliminated (DCE'd). __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); } catch (err) { // DevTools shouldn't crash React, no matter what. // We should still report in case we break this code. console.error(err); } } if (true) { // DCE check should happen before ReactDOM bundle executes so that // DevTools can report bad minification during injection. checkDCE(); module.exports = __webpack_require__(6221); } else {} /***/ }), /***/ 7422: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; module.exports = __webpack_require__(4362); /***/ }), /***/ 4362: /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var __webpack_unused_export__; var l, s; if (true) { l = __webpack_require__(6845); s = __webpack_require__(3839); } else {} __webpack_unused_export__ = l.version; __webpack_unused_export__ = l.renderToString; __webpack_unused_export__ = l.renderToStaticMarkup; exports.renderToPipeableStream = s.renderToPipeableStream; if (s.resumeToPipeableStream) { __webpack_unused_export__ = s.resumeToPipeableStream; } /***/ }), /***/ 9698: /***/ ((__unused_webpack_module, exports) => { "use strict"; /** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); function jsxProd(type, config, maybeKey) { var key = null; void 0 !== maybeKey && (key = "" + maybeKey); void 0 !== config.key && (key = "" + config.key); if ("key" in config) { maybeKey = {}; for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]); } else maybeKey = config; config = maybeKey.ref; return { $$typeof: REACT_ELEMENT_TYPE, type: type, key: key, ref: void 0 !== config ? config : null, props: maybeKey }; } exports.Fragment = REACT_FRAGMENT_TYPE; exports.jsx = jsxProd; exports.jsxs = jsxProd; /***/ }), /***/ 9869: /***/ ((__unused_webpack_module, exports) => { "use strict"; /** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; maybeIterable = (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) || maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } var ReactNoopUpdateQueue = { isMounted: function () { return !1; }, enqueueForceUpdate: function () {}, enqueueReplaceState: function () {}, enqueueSetState: function () {} }, assign = Object.assign, emptyObject = {}; function Component(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject; this.updater = updater || ReactNoopUpdateQueue; } Component.prototype.isReactComponent = {}; Component.prototype.setState = function (partialState, callback) { if ( "object" !== typeof partialState && "function" !== typeof partialState && null != partialState ) throw Error( "takes an object of state variables to update or a function which returns an object of state variables." ); this.updater.enqueueSetState(this, partialState, callback, "setState"); }; Component.prototype.forceUpdate = function (callback) { this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); }; function ComponentDummy() {} ComponentDummy.prototype = Component.prototype; function PureComponent(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject; this.updater = updater || ReactNoopUpdateQueue; } var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy()); pureComponentPrototype.constructor = PureComponent; assign(pureComponentPrototype, Component.prototype); pureComponentPrototype.isPureReactComponent = !0; var isArrayImpl = Array.isArray, ReactSharedInternals = { H: null, A: null, T: null, S: null }, hasOwnProperty = Object.prototype.hasOwnProperty; function ReactElement(type, key, self, source, owner, props) { self = props.ref; return { $$typeof: REACT_ELEMENT_TYPE, type: type, key: key, ref: void 0 !== self ? self : null, props: props }; } function cloneAndReplaceKey(oldElement, newKey) { return ReactElement( oldElement.type, newKey, void 0, void 0, void 0, oldElement.props ); } function isValidElement(object) { return ( "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE ); } function escape(key) { var escaperLookup = { "=": "=0", ":": "=2" }; return ( "$" + key.replace(/[=:]/g, function (match) { return escaperLookup[match]; }) ); } var userProvidedKeyEscapeRegex = /\/+/g; function getElementKey(element, index) { return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36); } function noop$1() {} function resolveThenable(thenable) { switch (thenable.status) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; default: switch ( ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : ((thenable.status = "pending"), thenable.then( function (fulfilledValue) { "pending" === thenable.status && ((thenable.status = "fulfilled"), (thenable.value = fulfilledValue)); }, function (error) { "pending" === thenable.status && ((thenable.status = "rejected"), (thenable.reason = error)); } )), thenable.status) ) { case "fulfilled": return thenable.value; case "rejected": throw thenable.reason; } } throw thenable; } function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) { var type = typeof children; if ("undefined" === type || "boolean" === type) children = null; var invokeCallback = !1; if (null === children) invokeCallback = !0; else switch (type) { case "bigint": case "string": case "number": invokeCallback = !0; break; case "object": switch (children.$$typeof) { case REACT_ELEMENT_TYPE: case REACT_PORTAL_TYPE: invokeCallback = !0; break; case REACT_LAZY_TYPE: return ( (invokeCallback = children._init), mapIntoArray( invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback ) ); } } if (invokeCallback) return ( (callback = callback(children)), (invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar), isArrayImpl(callback) ? ((escapedPrefix = ""), null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function (c) { return c; })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey( callback, escapedPrefix + (null == callback.key || (children && children.key === callback.key) ? "" : ("" + callback.key).replace( userProvidedKeyEscapeRegex, "$&/" ) + "/") + invokeCallback )), array.push(callback)), 1 ); invokeCallback = 0; var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":"; if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) (nameSoFar = children[i]), (type = nextNamePrefix + getElementKey(nameSoFar, i)), (invokeCallback += mapIntoArray( nameSoFar, array, escapedPrefix, type, callback )); else if (((i = getIteratorFn(children)), "function" === typeof i)) for ( children = i.call(children), i = 0; !(nameSoFar = children.next()).done; ) (nameSoFar = nameSoFar.value), (type = nextNamePrefix + getElementKey(nameSoFar, i++)), (invokeCallback += mapIntoArray( nameSoFar, array, escapedPrefix, type, callback )); else if ("object" === type) { if ("function" === typeof children.then) return mapIntoArray( resolveThenable(children), array, escapedPrefix, nameSoFar, callback ); array = String(children); throw Error( "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead." ); } return invokeCallback; } function mapChildren(children, func, context) { if (null == children) return children; var result = [], count = 0; mapIntoArray(children, result, "", "", function (child) { return func.call(context, child, count++); }); return result; } function lazyInitializer(payload) { if (-1 === payload._status) { var ctor = payload._result; ctor = ctor(); ctor.then( function (moduleObject) { if (0 === payload._status || -1 === payload._status) (payload._status = 1), (payload._result = moduleObject); }, function (error) { if (0 === payload._status || -1 === payload._status) (payload._status = 2), (payload._result = error); } ); -1 === payload._status && ((payload._status = 0), (payload._result = ctor)); } if (1 === payload._status) return payload._result.default; throw payload._result; } var reportGlobalError = "function" === typeof reportError ? reportError : function (error) { if ( "object" === typeof window && "function" === typeof window.ErrorEvent ) { var event = new window.ErrorEvent("error", { bubbles: !0, cancelable: !0, message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error), error: error }); if (!window.dispatchEvent(event)) return; } else if ( "object" === typeof process && "function" === typeof process.emit ) { process.emit("uncaughtException", error); return; } console.error(error); }; function noop() {} exports.Children = { map: mapChildren, forEach: function (children, forEachFunc, forEachContext) { mapChildren( children, function () { forEachFunc.apply(this, arguments); }, forEachContext ); }, count: function (children) { var n = 0; mapChildren(children, function () { n++; }); return n; }, toArray: function (children) { return ( mapChildren(children, function (child) { return child; }) || [] ); }, only: function (children) { if (!isValidElement(children)) throw Error( "React.Children.only expected to receive a single React element child." ); return children; } }; exports.Component = Component; exports.Fragment = REACT_FRAGMENT_TYPE; exports.Profiler = REACT_PROFILER_TYPE; exports.PureComponent = PureComponent; exports.StrictMode = REACT_STRICT_MODE_TYPE; exports.Suspense = REACT_SUSPENSE_TYPE; exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals; exports.act = function () { throw Error("act(...) is not supported in production builds of React."); }; exports.cache = function (fn) { return function () { return fn.apply(null, arguments); }; }; exports.cloneElement = function (element, config, children) { if (null === element || void 0 === element) throw Error( "The argument must be a React element, but you passed " + element + "." ); var props = assign({}, element.props), key = element.key, owner = void 0; if (null != config) for (propName in (void 0 !== config.ref && (owner = void 0), void 0 !== config.key && (key = "" + config.key), config)) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || ("ref" === propName && void 0 === config.ref) || (props[propName] = config[propName]); var propName = arguments.length - 2; if (1 === propName) props.children = children; else if (1 < propName) { for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2]; props.children = childArray; } return ReactElement(element.type, key, void 0, void 0, owner, props); }; exports.createContext = function (defaultValue) { defaultValue = { $$typeof: REACT_CONTEXT_TYPE, _currentValue: defaultValue, _currentValue2: defaultValue, _threadCount: 0, Provider: null, Consumer: null }; defaultValue.Provider = defaultValue; defaultValue.Consumer = { $$typeof: REACT_CONSUMER_TYPE, _context: defaultValue }; return defaultValue; }; exports.createElement = function (type, config, children) { var propName, props = {}, key = null; if (null != config) for (propName in (void 0 !== config.key && (key = "" + config.key), config)) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]); var childrenLength = arguments.length - 2; if (1 === childrenLength) props.children = children; else if (1 < childrenLength) { for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2]; props.children = childArray; } if (type && type.defaultProps) for (propName in ((childrenLength = type.defaultProps), childrenLength)) void 0 === props[propName] && (props[propName] = childrenLength[propName]); return ReactElement(type, key, void 0, void 0, null, props); }; exports.createRef = function () { return { current: null }; }; exports.forwardRef = function (render) { return { $$typeof: REACT_FORWARD_REF_TYPE, render: render }; }; exports.isValidElement = isValidElement; exports.lazy = function (ctor) { return { $$typeof: REACT_LAZY_TYPE, _payload: { _status: -1, _result: ctor }, _init: lazyInitializer }; }; exports.memo = function (type, compare) { return { $$typeof: REACT_MEMO_TYPE, type: type, compare: void 0 === compare ? null : compare }; }; exports.startTransition = function (scope) { var prevTransition = ReactSharedInternals.T, currentTransition = {}; ReactSharedInternals.T = currentTransition; try { var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S; null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue); "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError); } catch (error) { reportGlobalError(error); } finally { ReactSharedInternals.T = prevTransition; } }; exports.unstable_useCacheRefresh = function () { return ReactSharedInternals.H.useCacheRefresh(); }; exports.use = function (usable) { return ReactSharedInternals.H.use(usable); }; exports.useActionState = function (action, initialState, permalink) { return ReactSharedInternals.H.useActionState(action, initialState, permalink); }; exports.useCallback = function (callback, deps) { return ReactSharedInternals.H.useCallback(callback, deps); }; exports.useContext = function (Context) { return ReactSharedInternals.H.useContext(Context); }; exports.useDebugValue = function () {}; exports.useDeferredValue = function (value, initialValue) { return ReactSharedInternals.H.useDeferredValue(value, initialValue); }; exports.useEffect = function (create, deps) { return ReactSharedInternals.H.useEffect(create, deps); }; exports.useId = function () { return ReactSharedInternals.H.useId(); }; exports.useImperativeHandle = function (ref, create, deps) { return ReactSharedInternals.H.useImperativeHandle(ref, create, deps); }; exports.useInsertionEffect = function (create, deps) { return ReactSharedInternals.H.useInsertionEffect(create, deps); }; exports.useLayoutEffect = function (create, deps) { return ReactSharedInternals.H.useLayoutEffect(create, deps); }; exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; exports.useOptimistic = function (passthrough, reducer) { return ReactSharedInternals.H.useOptimistic(passthrough, reducer); }; exports.useReducer = function (reducer, initialArg, init) { return ReactSharedInternals.H.useReducer(reducer, initialArg, init); }; exports.useRef = function (initialValue) { return ReactSharedInternals.H.useRef(initialValue); }; exports.useState = function (initialState) { return ReactSharedInternals.H.useState(initialState); }; exports.useSyncExternalStore = function ( subscribe, getSnapshot, getServerSnapshot ) { return ReactSharedInternals.H.useSyncExternalStore( subscribe, getSnapshot, getServerSnapshot ); }; exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; exports.version = "19.0.0"; /***/ }), /***/ 6540: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (true) { module.exports = __webpack_require__(9869); } else {} /***/ }), /***/ 4848: /***/ ((module, __unused_webpack_exports, __webpack_require__) => { "use strict"; if (true) { module.exports = __webpack_require__(9698); } else {} /***/ }), /***/ 290: /***/ ((module) => { "use strict"; module.exports = require("async_hooks"); /***/ }), /***/ 6982: /***/ ((module) => { "use strict"; module.exports = require("crypto"); /***/ }), /***/ 2203: /***/ ((module) => { "use strict"; module.exports = require("stream"); /***/ }), /***/ 9023: /***/ ((module) => { "use strict"; module.exports = require("util"); /***/ }), /***/ 8102: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ _extends) /* harmony export */ }); function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } /***/ }), /***/ 1146: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; // EXPORTS __webpack_require__.d(__webpack_exports__, { A: () => (/* binding */ _inheritsLoose) }); ;// ../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } ;// ../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); } /***/ }), /***/ 9257: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ _objectWithoutPropertiesLoose) /* harmony export */ }); function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; } /***/ }), /***/ 3023: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ R: () => (/* binding */ useMDXComponents), /* harmony export */ x: () => (/* binding */ MDXProvider) /* harmony export */ }); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /** * @import {MDXComponents} from 'mdx/types.js' * @import {Component, ReactElement, ReactNode} from 'react' */ /** * @callback MergeComponents * Custom merge function. * @param {Readonly<MDXComponents>} currentComponents * Current components from the context. * @returns {MDXComponents} * Additional components. * * @typedef Props * Configuration for `MDXProvider`. * @property {ReactNode | null | undefined} [children] * Children (optional). * @property {Readonly<MDXComponents> | MergeComponents | null | undefined} [components] * Additional components to use or a function that creates them (optional). * @property {boolean | null | undefined} [disableParentContext=false] * Turn off outer component context (default: `false`). */ /** @type {Readonly<MDXComponents>} */ const emptyComponents = {} const MDXContext = react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents) /** * Get current components from the MDX Context. * * @param {Readonly<MDXComponents> | MergeComponents | null | undefined} [components] * Additional components to use or a function that creates them (optional). * @returns {MDXComponents} * Current components. */ function useMDXComponents(components) { const contextComponents = react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext) // Memoize to avoid unnecessary top-level context changes return react__WEBPACK_IMPORTED_MODULE_0__.useMemo( function () { // Custom merge via a function prop if (typeof components === 'function') { return components(contextComponents) } return {...contextComponents, ...components} }, [contextComponents, components] ) } /** * Provider for MDX context. * * @param {Readonly<Props>} properties * Properties. * @returns {ReactElement} * Element. * @satisfies {Component} */ function MDXProvider(properties) { /** @type {Readonly<MDXComponents>} */ let allComponents if (properties.disableParentContext) { allComponents = typeof properties.components === 'function' ? properties.components(emptyComponents) : properties.components || emptyComponents } else { allComponents = useMDXComponents(properties.components) } return react__WEBPACK_IMPORTED_MODULE_0__.createElement( MDXContext.Provider, {value: allComponents}, properties.children ) } /***/ }), /***/ 1750: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* unused harmony export clsx */ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx); /***/ }), /***/ 7663: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ My: () => (/* binding */ Prism), /* harmony export */ f4: () => (/* binding */ Highlight2) /* harmony export */ }); /* unused harmony exports normalizeTokens, themes, useTokenize */ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6540); /* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1750); var __create = Object.create; var __defProp = Object.defineProperty; var __defProps = Object.defineProperties; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropDescs = Object.getOwnPropertyDescriptors; var __getOwnPropNames = Object.getOwnPropertyNames; var __getOwnPropSymbols = Object.getOwnPropertySymbols; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __propIsEnum = Object.prototype.propertyIsEnumerable; var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; var __spreadValues = (a, b) => { for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) { if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); } return a; }; var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); var __objRest = (source, exclude) => { var target = {}; for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop]; if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) { if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop]; } return target; }; var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); // ../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js var require_prism = __commonJS({ "../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(exports, module) { var Prism2 = function() { var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i; var uniqueId = 0; var plainTextGrammar = {}; var _ = { /** * A namespace for utility methods. * * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may * change or disappear at any time. * * @namespace * @memberof Prism */ util: { encode: function encode(tokens) { if (tokens instanceof Token) { return new Token(tokens.type, encode(tokens.content), tokens.alias); } else if (Array.isArray(tokens)) { return tokens.map(encode); } else { return tokens.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " "); } }, /** * Returns the name of the type of the given value. * * @param {any} o * @returns {string} * @example * type(null) === 'Null' * type(undefined) === 'Undefined' * type(123) === 'Number' * type('foo') === 'String' * type(true) === 'Boolean' * type([1, 2]) === 'Array' * type({}) === 'Object' * type(String) === 'Function' * type(/abc+/) === 'RegExp' */ type: function(o) { return Object.prototype.toString.call(o).slice(8, -1); }, /** * Returns a unique number for the given object. Later calls will still return the same number. * * @param {Object} obj * @returns {number} */ objId: function(obj) { if (!obj["__id"]) { Object.defineProperty(obj, "__id", { value: ++uniqueId }); } return obj["__id"]; }, /** * Creates a deep clone of the given object. * * The main intended use of this function is to clone language definitions. * * @param {T} o * @param {Record<number, any>} [visited] * @returns {T} * @template T */ clone: function deepClone(o, visited) { visited = visited || {}; var clone; var id; switch (_.util.type(o)) { case "Object": id = _.util.objId(o); if (visited[id]) { return visited[id]; } clone = /** @type {Record<string, any>} */ {}; visited[id] = clone; for (var key in o) { if (o.hasOwnProperty(key)) { clone[key] = deepClone(o[key], visited); } } return ( /** @type {any} */ clone ); case "Array": id = _.util.objId(o); if (visited[id]) { return visited[id]; } clone = []; visited[id] = clone; /** @type {Array} */ /** @type {any} */ o.forEach(function(v, i) { clone[i] = deepClone(v, visited); }); return ( /** @type {any} */ clone ); default: return o; } }, /** * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class. * * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned. * * @param {Element} element * @returns {string} */ getLanguage: function(element) { while (element) { var m = lang.exec(element.className); if (m) { return m[1].toLowerCase(); } element = element.parentElement; } return "none"; }, /** * Sets the Prism `language-xxxx` class of the given element. * * @param {Element} element * @param {string} language * @returns {void} */ setLanguage: function(element, language) { element.className = element.className.replace(RegExp(lang, "gi"), ""); element.classList.add("language-" + language); }, /** * Returns whether a given class is active for `element`. * * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated * if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the * given class is just the given class with a `no-` prefix. * * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its * ancestors have the given class or the negated version of it, then the default activation will be returned. * * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated * version of it, the class is considered active. * * @param {Element} element * @param {string} className * @param {boolean} [defaultActivation=false] * @returns {boolean} */ isActive: function(element, className, defaultActivation) { var no = "no-" + className; while (element) { var classList = element.classList; if (classList.contains(className)) { return true; } if (classList.contains(no)) { return false; } element = element.parentElement; } return !!defaultActivation; } }, /** * This namespace contains all currently loaded languages and the some helper functions to create and modify languages. * * @namespace * @memberof Prism * @public */ languages: { /** * The grammar for plain, unformatted text. */ plain: plainTextGrammar, plaintext: plainTextGrammar, text: plainTextGrammar, txt: plainTextGrammar, /** * Creates a deep copy of the language with the given id and appends the given tokens. * * If a token in `redef` also appears in the copied language, then the existing token in the copied language * will be overwritten at its original position. * * ## Best practices * * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language) * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to * understand the language definition because, normally, the order of tokens matters in Prism grammars. * * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens. * Furthermore, all non-overwriting tokens should be placed after the overwriting ones. * * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`. * @param {Grammar} redef The new tokens to append. * @returns {Grammar} The new language created. * @public * @example * Prism.languages['css-with-colors'] = Prism.languages.extend('css', { * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token * // at its original position * 'comment': { ... }, * // CSS doesn't have a 'color' token, so this token will be appended * 'color': /\b(?:red|green|blue)\b/ * }); */ extend: function(id, redef) { var lang2 = _.util.clone(_.languages[id]); for (var key in redef) { lang2[key] = redef[key]; } return lang2; }, /** * Inserts tokens _before_ another token in a language definition or any other grammar. * * ## Usage * * This helper method makes it easy to modify existing languages. For example, the CSS language definition * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do * this: * * ```js * Prism.languages.markup.style = { * // token * }; * ``` * * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens * before existing tokens. For the CSS example above, you would use it like this: * * ```js * Prism.languages.insertBefore('markup', 'cdata', { * 'style': { * // token * } * }); * ``` * * ## Special cases * * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar * will be ignored. * * This behavior can be used to insert tokens after `before`: * * ```js * Prism.languages.insertBefore('markup', 'comment', { * 'comment': Prism.languages.markup.comment, * // tokens after 'comment' * }); * ``` * * ## Limitations * * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily * deleting properties which is necessary to insert at arbitrary positions. * * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object. * Instead, it will create a new object and replace all references to the target object with the new one. This * can be done without temporarily deleting properties, so the iteration order is well-defined. * * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if * you hold the target object in a variable, then the value of the variable will not change. * * ```js * var oldMarkup = Prism.languages.markup; * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... }); * * assert(oldMarkup !== Prism.languages.markup); * assert(newMarkup === Prism.languages.markup); * ``` * * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the * object to be modified. * @param {string} before The key to insert before. * @param {Grammar} insert An object containing the key-value pairs to be inserted. * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the * object to be modified. * * Defaults to `Prism.languages`. * @returns {Grammar} The new grammar object. * @public */ insertBefore: function(inside, before, insert, root) { root = root || /** @type {any} */ _.languages; var grammar = root[inside]; var ret = {}; for (var token in grammar) { if (grammar.hasOwnProperty(token)) { if (token == before) { for (var newToken in insert) { if (insert.hasOwnProperty(newToken)) { ret[newToken] = insert[newToken]; } } } if (!insert.hasOwnProperty(token)) { ret[token] = grammar[token]; } } } var old = root[inside]; root[inside] = ret; _.languages.DFS(_.languages, function(key, value) { if (value === old && key != inside) { this[key] = ret; } }); return ret; }, // Traverse a language definition with Depth First Search DFS: function DFS(o, callback, type, visited) { visited = visited || {}; var objId = _.util.objId; for (var i in o) { if (o.hasOwnProperty(i)) { callback.call(o, i, o[i], type || i); var property = o[i]; var propertyType = _.util.type(property); if (propertyType === "Object" && !visited[objId(property)]) { visited[objId(property)] = true; DFS(property, callback, null, visited); } else if (propertyType === "Array" && !visited[objId(property)]) { visited[objId(property)] = true; DFS(property, callback, i, visited); } } } } }, plugins: {}, /** * Low-level function, only use if you know what you’re doing. It accepts a string of text as input * and the language definitions to use, and returns a string with the HTML produced. * * The following hooks will be run: * 1. `before-tokenize` * 2. `after-tokenize` * 3. `wrap`: On each {@link Token}. * * @param {string} text A string with the code to be highlighted. * @param {Grammar} grammar An object containing the tokens to use. * * Usually a language definition like `Prism.languages.markup`. * @param {string} language The name of the language definition passed to `grammar`. * @returns {string} The highlighted HTML. * @memberof Prism * @public * @example * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript'); */ highlight: function(text, grammar, language) { var env = { code: text, grammar, language }; _.hooks.run("before-tokenize", env); if (!env.grammar) { throw new Error('The language "' + env.language + '" has no grammar.'); } env.tokens = _.tokenize(env.code, env.grammar); _.hooks.run("after-tokenize", env); return Token.stringify(_.util.encode(env.tokens), env.language); }, /** * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input * and the language definitions to use, and returns an array with the tokenized code. * * When the language definition includes nested tokens, the function is called recursively on each of these tokens. * * This method could be useful in other contexts as well, as a very crude parser. * * @param {string} text A string with the code to be highlighted. * @param {Grammar} grammar An object containing the tokens to use. * * Usually a language definition like `Prism.languages.markup`. * @returns {TokenStream} An array of strings and tokens, a token stream. * @memberof Prism * @public * @example * let code = `var foo = 0;`; * let tokens = Prism.tokenize(code, Prism.languages.javascript); * tokens.forEach(token => { * if (token instanceof Prism.Token && token.type === 'number') { * console.log(`Found numeric literal: ${token.content}`); * } * }); */ tokenize: function(text, grammar) { var rest = grammar.rest; if (rest) { for (var token in rest) { grammar[token] = rest[token]; } delete grammar.rest; } var tokenList = new LinkedList(); addAfter(tokenList, tokenList.head, text); matchGrammar(text, tokenList, grammar, tokenList.head, 0); return toArray(tokenList); }, /** * @namespace * @memberof Prism * @public */ hooks: { all: {}, /** * Adds the given callback to the list of callbacks for the given hook. * * The callback will be invoked when the hook it is registered for is run. * Hooks are usually directly run by a highlight function but you can also run hooks yourself. * * One callback function can be registered to multiple hooks and the same hook multiple times. * * @param {string} name The name of the hook. * @param {HookCallback} callback The callback function which is given environment variables. * @public */ add: function(name, callback) { var hooks2 = _.hooks.all; hooks2[name] = hooks2[name] || []; hooks2[name].push(callback); }, /** * Runs a hook invoking all registered callbacks with the given environment variables. * * Callbacks will be invoked synchronously and in the order in which they were registered. * * @param {string} name The name of the hook. * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered. * @public */ run: function(name, env) { var callbacks = _.hooks.all[name]; if (!callbacks || !callbacks.length) { return; } for (var i = 0, callback; callback = callbacks[i++]; ) { callback(env); } } }, Token }; function Token(type, content, alias, matchedStr) { this.type = type; this.content = content; this.alias = alias; this.length = (matchedStr || "").length | 0; } Token.stringify = function stringify(o, language) { if (typeof o == "string") { return o; } if (Array.isArray(o)) { var s = ""; o.forEach(function(e) { s += stringify(e, language); }); return s; } var env = { type: o.type, content: stringify(o.content, language), tag: "span", classes: ["token", o.type], attributes: {}, language }; var aliases = o.alias; if (aliases) { if (Array.isArray(aliases)) { Array.prototype.push.apply(env.classes, aliases); } else { env.classes.push(aliases); } } _.hooks.run("wrap", env); var attributes = ""; for (var name in env.attributes) { attributes += " " + name + '="' + (env.attributes[name] || "").replace(/"/g, """) + '"'; } return "<" + env.tag + ' class="' + env.classes.join(" ") + '"' + attributes + ">" + env.content + "</" + env.tag + ">"; }; function matchPattern(pattern, pos, text, lookbehind) { pattern.lastIndex = pos; var match = pattern.exec(text); if (match && lookbehind && match[1]) { var lookbehindLength = match[1].length; match.index += lookbehindLength; match[0] = match[0].slice(lookbehindLength); } return match; } function matchGrammar(text, tokenList, grammar, startNode, startPos, rematch) { for (var token in grammar) { if (!grammar.hasOwnProperty(token) || !grammar[token]) { continue; } var patterns = grammar[token]; patterns = Array.isArray(patterns) ? patterns : [patterns]; for (var j = 0; j < patterns.length; ++j) { if (rematch && rematch.cause == token + "," + j) { return; } var patternObj = patterns[j]; var inside = patternObj.inside; var lookbehind = !!patternObj.lookbehind; var greedy = !!patternObj.greedy; var alias = patternObj.alias; if (greedy && !patternObj.pattern.global) { var flags = patternObj.pattern.toString().match(/[imsuy]*$/)[0]; patternObj.pattern = RegExp(patternObj.pattern.source, flags + "g"); } var pattern = patternObj.pattern || patternObj; for (var currentNode = startNode.next, pos = startPos; currentNode !== tokenList.tail; pos += currentNode.value.length, currentNode = currentNode.next) { if (rematch && pos >= rematch.reach) { break; } var str = currentNode.value; if (tokenList.length > text.length) { return; } if (str instanceof Token) { continue; } var removeCount = 1; var match; if (greedy) { match = matchPattern(pattern, pos, text, lookbehind); if (!match || match.index >= text.length) { break; } var from = match.index; var to = match.index + match[0].length; var p = pos; p += currentNode.value.length; while (from >= p) { currentNode = currentNode.next; p += currentNode.value.length; } p -= currentNode.value.length; pos = p; if (currentNode.value instanceof Token) { continue; } for (var k = currentNode; k !== tokenList.tail && (p < to || typeof k.value === "string"); k = k.next) { removeCount++; p += k.value.length; } removeCount--; str = text.slice(pos, p); match.index -= pos; } else { match = matchPattern(pattern, 0, str, lookbehind); if (!match) { continue; } } var from = match.index; var matchStr = match[0]; var before = str.slice(0, from); var after = str.slice(from + matchStr.length); var reach = pos + str.length; if (rematch && reach > rematch.reach) { rematch.reach = reach; } var removeFrom = currentNode.prev; if (before) { removeFrom = addAfter(tokenList, removeFrom, before); pos += before.length; } removeRange(tokenList, removeFrom, removeCount); var wrapped = new Token(token, inside ? _.tokenize(matchStr, inside) : matchStr, alias, matchStr); currentNode = addAfter(tokenList, removeFrom, wrapped); if (after) { addAfter(tokenList, currentNode, after); } if (removeCount > 1) { var nestedRematch = { cause: token + "," + j, reach }; matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch); if (rematch && nestedRematch.reach > rematch.reach) { rematch.reach = nestedRematch.reach; } } } } } } function LinkedList() { var head = { value: null, prev: null, next: null }; var tail = { value: null, prev: head, next: null }; head.next = tail; this.head = head; this.tail = tail; this.length = 0; } function addAfter(list, node, value) { var next = node.next; var newNode = { value, prev: node, next }; node.next = newNode; next.prev = newNode; list.length++; return newNode; } function removeRange(list, node, count) { var next = node.next; for (var i = 0; i < count && next !== list.tail; i++) { next = next.next; } node.next = next; next.prev = node; list.length -= i; } function toArray(list) { var array = []; var node = list.head.next; while (node !== list.tail) { array.push(node.value); node = node.next; } return array; } return _; }(); module.exports = Prism2; Prism2.default = Prism2; } }); // src/prism-langs.ts var Prism = __toESM(require_prism()); Prism.languages.markup = { comment: { pattern: /<!--(?:(?!<!--)[\s\S])*?-->/, greedy: true }, prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: true }, doctype: { pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i, greedy: true, inside: { "internal-subset": { pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, lookbehind: true, greedy: true, inside: null }, string: { pattern: /"[^"]*"|'[^']*'/, greedy: true }, punctuation: /^<!|>$|[[\]]/, "doctype-tag": /^DOCTYPE/i, name: /[^\s<>'"]+/ } }, cdata: { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, greedy: true }, tag: { pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, greedy: true, inside: { tag: { pattern: /^<\/?[^\s>\/]+/, inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ } }, "special-attr": [], "attr-value": { pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, inside: { punctuation: [{ pattern: /^=/, alias: "attr-equals" }, { pattern: /^(\s*)["']|["']$/, lookbehind: true }] } }, punctuation: /\/?>/, "attr-name": { pattern: /[^\s>\/]+/, inside: { namespace: /^[^\s>\/:]+:/ } } } }, entity: [{ pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, /&#x?[\da-f]{1,8};/i] }, Prism.languages.markup.tag.inside["attr-value"].inside.entity = Prism.languages.markup.entity, Prism.languages.markup.doctype.inside["internal-subset"].inside = Prism.languages.markup, Prism.hooks.add("wrap", function(e) { "entity" === e.type && (e.attributes.title = e.content.replace(/&/, "&")); }), Object.defineProperty(Prism.languages.markup.tag, "addInlined", { value: function(e, n) { var t = {}, t = (t["language-" + n] = { pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i, lookbehind: true, inside: Prism.languages[n] }, t.cdata = /^<!\[CDATA\[|\]\]>$/i, { "included-cdata": { pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i, inside: t } }), n = (t["language-" + n] = { pattern: /[\s\S]+/, inside: Prism.languages[n] }, {}); n[e] = { pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() { return e; }), "i"), lookbehind: true, greedy: true, inside: t }, Prism.languages.insertBefore("markup", "cdata", n); } }), Object.defineProperty(Prism.languages.markup.tag, "addAttribute", { value: function(e, n) { Prism.languages.markup.tag.inside["special-attr"].push({ pattern: RegExp(/(^|["'\s])/.source + "(?:" + e + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source, "i"), lookbehind: true, inside: { "attr-name": /^[^\s=]+/, "attr-value": { pattern: /=[\s\S]+/, inside: { value: { pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/, lookbehind: true, alias: [n, "language-" + n], inside: Prism.languages[n] }, punctuation: [{ pattern: /^=/, alias: "attr-equals" }, /"|'/] } } } }); } }), Prism.languages.html = Prism.languages.markup, Prism.languages.mathml = Prism.languages.markup, Prism.languages.svg = Prism.languages.markup, Prism.languages.xml = Prism.languages.extend("markup", {}), Prism.languages.ssml = Prism.languages.xml, Prism.languages.atom = Prism.languages.xml, Prism.languages.rss = Prism.languages.xml, function(e) { var n = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, t = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, a = "(?:[^\\\\-]|" + t.source + ")", a = RegExp(a + "-" + a), r = { pattern: /(<|')[^<>']+(?=[>']$)/, lookbehind: true, alias: "variable" }; e.languages.regex = { "char-class": { pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, lookbehind: true, inside: { "char-class-negation": { pattern: /(^\[)\^/, lookbehind: true, alias: "operator" }, "char-class-punctuation": { pattern: /^\[|\]$/, alias: "punctuation" }, range: { pattern: a, inside: { escape: t, "range-punctuation": { pattern: /-/, alias: "operator" } } }, "special-escape": n, "char-set": { pattern: /\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, escape: t } }, "special-escape": n, "char-set": { pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, backreference: [{ pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" }, { pattern: /\\k<[^<>']+>/, alias: "keyword", inside: { "group-name": r } }], anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, escape: t, group: [{ pattern: /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/, alias: "punctuation", inside: { "group-name": r } }, { pattern: /\)/, alias: "punctuation" }], quantifier: { pattern: /(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/, alias: "number" }, alternation: { pattern: /\|/, alias: "keyword" } }; }(Prism), Prism.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: true, greedy: true }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: true, greedy: true }], string: { pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, greedy: true }, "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i, lookbehind: true, inside: { punctuation: /[.\\]/ } }, keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/, boolean: /\b(?:false|true)\b/, function: /\b\w+(?=\()/, number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, punctuation: /[{}[\];(),.:]/ }, Prism.languages.javascript = Prism.languages.extend("clike", { "class-name": [Prism.languages.clike["class-name"], { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/, lookbehind: true }], keyword: [{ pattern: /((?:^|\})\s*)catch\b/, lookbehind: true }, { pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/, lookbehind: true }], function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/, number: { pattern: RegExp(/(^|[^\w$])/.source + "(?:" + /NaN|Infinity/.source + "|" + /0[bB][01]+(?:_[01]+)*n?/.source + "|" + /0[oO][0-7]+(?:_[0-7]+)*n?/.source + "|" + /0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source + "|" + /\d+(?:_\d+)*n/.source + "|" + /(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source + ")" + /(?![\w$])/.source), lookbehind: true }, operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/ }), Prism.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, Prism.languages.insertBefore("javascript", "keyword", { regex: { pattern: RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + /\//.source + "(?:" + /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source + "|" + /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source + ")" + /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source), lookbehind: true, greedy: true, inside: { "regex-source": { pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, lookbehind: true, alias: "language-regex", inside: Prism.languages.regex }, "regex-delimiter": /^\/|\/$/, "regex-flags": /^[a-z]+$/ } }, "function-variable": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, alias: "function" }, parameter: [{ pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, lookbehind: true, inside: Prism.languages.javascript }, { pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, lookbehind: true, inside: Prism.languages.javascript }, { pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, lookbehind: true, inside: Prism.languages.javascript }, { pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, lookbehind: true, inside: Prism.languages.javascript }], constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/ }), Prism.languages.insertBefore("javascript", "string", { hashbang: { pattern: /^#!.*/, greedy: true, alias: "comment" }, "template-string": { pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, greedy: true, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, lookbehind: true, inside: { "interpolation-punctuation": { pattern: /^\$\{|\}$/, alias: "punctuation" }, rest: Prism.languages.javascript } }, string: /[\s\S]+/ } }, "string-property": { pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m, lookbehind: true, greedy: true, alias: "property" } }), Prism.languages.insertBefore("javascript", "operator", { "literal-property": { pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m, lookbehind: true, alias: "property" } }), Prism.languages.markup && (Prism.languages.markup.tag.addInlined("script", "javascript"), Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source, "javascript")), Prism.languages.js = Prism.languages.javascript, Prism.languages.actionscript = Prism.languages.extend("javascript", { keyword: /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/ }), Prism.languages.actionscript["class-name"].alias = "function", delete Prism.languages.actionscript.parameter, delete Prism.languages.actionscript["literal-property"], Prism.languages.markup && Prism.languages.insertBefore("actionscript", "string", { xml: { pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/, lookbehind: true, inside: Prism.languages.markup } }), function(e) { var n = /#(?!\{).+/, t = { pattern: /#\{[^}]+\}/, alias: "variable" }; e.languages.coffeescript = e.languages.extend("javascript", { comment: n, string: [{ pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: true }, { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: true, inside: { interpolation: t } }], keyword: /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/, "class-member": { pattern: /@(?!\d)\w+/, alias: "variable" } }), e.languages.insertBefore("coffeescript", "comment", { "multiline-comment": { pattern: /###[\s\S]+?###/, alias: "comment" }, "block-regex": { pattern: /\/{3}[\s\S]*?\/{3}/, alias: "regex", inside: { comment: n, interpolation: t } } }), e.languages.insertBefore("coffeescript", "string", { "inline-javascript": { pattern: /`(?:\\[\s\S]|[^\\`])*`/, inside: { delimiter: { pattern: /^`|`$/, alias: "punctuation" }, script: { pattern: /[\s\S]+/, alias: "language-javascript", inside: e.languages.javascript } } }, "multiline-string": [{ pattern: /'''[\s\S]*?'''/, greedy: true, alias: "string" }, { pattern: /"""[\s\S]*?"""/, greedy: true, alias: "string", inside: { interpolation: t } }] }), e.languages.insertBefore("coffeescript", "keyword", { property: /(?!\d)\w+(?=\s*:(?!:))/ }), delete e.languages.coffeescript["template-string"], e.languages.coffee = e.languages.coffeescript; }(Prism), function(l) { var e = l.languages.javadoclike = { parameter: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m, lookbehind: true }, keyword: { pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m, lookbehind: true }, punctuation: /[{}]/ }; Object.defineProperty(e, "addSupport", { value: function(e2, o) { (e2 = "string" == typeof e2 ? [e2] : e2).forEach(function(e3) { var n = function(e4) { e4.inside || (e4.inside = {}), e4.inside.rest = o; }, t = "doc-comment"; if (a = l.languages[e3]) { var a, r = a[t]; if ((r = r ? r : (a = l.languages.insertBefore(e3, "comment", { "doc-comment": { pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, lookbehind: true, alias: "comment" } }))[t]) instanceof RegExp && (r = a[t] = { pattern: r }), Array.isArray(r)) for (var s = 0, i = r.length; s < i; s++) r[s] instanceof RegExp && (r[s] = { pattern: r[s] }), n(r[s]); else n(r); } }); } }), e.addSupport(["java", "javascript", "php"], e); }(Prism), function(e) { var n = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/, n = (e.languages.css = { comment: /\/\*[\s\S]*?\*\//, atrule: { pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + n.source + ")*?" + /(?:;|(?=\s*\{))/.source), inside: { rule: /^@[\w-]+/, "selector-function-argument": { pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/, lookbehind: true, alias: "selector" }, keyword: { pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/, lookbehind: true } } }, url: { pattern: RegExp("\\burl\\((?:" + n.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"), greedy: true, inside: { function: /^url/i, punctuation: /^\(|\)$/, string: { pattern: RegExp("^" + n.source + "$"), alias: "url" } } }, selector: { pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + n.source + ")*(?=\\s*\\{)"), lookbehind: true }, string: { pattern: n, greedy: true }, property: { pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i, lookbehind: true }, important: /!important\b/i, function: { pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i, lookbehind: true }, punctuation: /[(){};:,]/ }, e.languages.css.atrule.inside.rest = e.languages.css, e.languages.markup); n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css")); }(Prism), function(e) { var n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, n = (e.languages.css.selector = { pattern: e.languages.css.selector.pattern, lookbehind: true, inside: n = { "pseudo-element": /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, "pseudo-class": /:[-\w]+/, class: /\.[-\w]+/, id: /#[-\w]+/, attribute: { pattern: RegExp(`\\[(?:[^[\\]"']|` + n.source + ")*\\]"), greedy: true, inside: { punctuation: /^\[|\]$/, "case-sensitivity": { pattern: /(\s)[si]$/i, lookbehind: true, alias: "keyword" }, namespace: { pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/, lookbehind: true, inside: { punctuation: /\|$/ } }, "attr-name": { pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/, lookbehind: true }, "attr-value": [n, { pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/, lookbehind: true }], operator: /[|~*^$]?=/ } }, "n-th": [{ pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/, lookbehind: true, inside: { number: /[\dn]+/, operator: /[+-]/ } }, { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: true }], combinator: />|\+|~|\|\|/, punctuation: /[(),]/ } }, e.languages.css.atrule.inside["selector-function-argument"].inside = n, e.languages.insertBefore("css", "property", { variable: { pattern: /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i, lookbehind: true } }), { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: true }), t = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: true }; e.languages.insertBefore("css", "function", { operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: true }, hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }, color: [{ pattern: /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i, lookbehind: true }, { pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, inside: { unit: n, number: t, function: /[\w-]+(?=\()/, punctuation: /[(),]/ } }], entity: /\\[\da-f]{1,8}/i, unit: n, number: t }); }(Prism), function(e) { var n = /[*&][^\s[\]{},]+/, t = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, a = "(?:" + t.source + "(?:[ ]+" + n.source + ")?|" + n.source + "(?:[ ]+" + t.source + ")?)", r = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() { return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source; }), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source; function i(e2, n2) { n2 = (n2 || "").replace(/m/g, "") + "m"; var t2 = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() { return a; }).replace(/<<value>>/g, function() { return e2; }); return RegExp(t2, n2); } e.languages.yaml = { scalar: { pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() { return a; })), lookbehind: true, alias: "string" }, comment: /#.*/, key: { pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() { return a; }).replace(/<<key>>/g, function() { return "(?:" + r + "|" + s + ")"; })), lookbehind: true, greedy: true, alias: "atrule" }, directive: { pattern: /(^[ \t]*)%.+/m, lookbehind: true, alias: "important" }, datetime: { pattern: i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source), lookbehind: true, alias: "number" }, boolean: { pattern: i(/false|true/.source, "i"), lookbehind: true, alias: "important" }, null: { pattern: i(/null|~/.source, "i"), lookbehind: true, alias: "important" }, string: { pattern: i(s), lookbehind: true, greedy: true }, number: { pattern: i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"), lookbehind: true }, tag: t, important: n, punctuation: /---|[:[\]{}\-,|>?]|\.\.\./ }, e.languages.yml = e.languages.yaml; }(Prism), function(o) { var n = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source; function e(e2) { return e2 = e2.replace(/<inner>/g, function() { return n; }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + e2 + ")"); } var t = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, a = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() { return t; }), r = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source, l = (o.languages.markdown = o.languages.extend("markup", {}), o.languages.insertBefore("markdown", "prolog", { "front-matter-block": { pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, lookbehind: true, greedy: true, inside: { punctuation: /^---|---$/, "front-matter": { pattern: /\S+(?:\s+\S+)*/, alias: ["yaml", "language-yaml"], inside: o.languages.yaml } } }, blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, table: { pattern: RegExp("^" + a + r + "(?:" + a + ")*", "m"), inside: { "table-data-rows": { pattern: RegExp("^(" + a + r + ")(?:" + a + ")*$"), lookbehind: true, inside: { "table-data": { pattern: RegExp(t), inside: o.languages.markdown }, punctuation: /\|/ } }, "table-line": { pattern: RegExp("^(" + a + ")" + r + "$"), lookbehind: true, inside: { punctuation: /\||:?-{3,}:?/ } }, "table-header-row": { pattern: RegExp("^" + a + "$"), inside: { "table-header": { pattern: RegExp(t), alias: "important", inside: o.languages.markdown }, punctuation: /\|/ } } } }, code: [{ pattern: /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, lookbehind: true, alias: "keyword" }, { pattern: /^```[\s\S]*?^```$/m, greedy: true, inside: { "code-block": { pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, lookbehind: true }, "code-language": { pattern: /^(```).+/, lookbehind: true }, punctuation: /```/ } }], title: [{ pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, alias: "important", inside: { punctuation: /==+$|--+$/ } }, { pattern: /(^\s*)#.+/m, lookbehind: true, alias: "important", inside: { punctuation: /^#+|#+$/ } }], hr: { pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, lookbehind: true, alias: "punctuation" }, list: { pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, lookbehind: true, alias: "punctuation" }, "url-reference": { pattern: /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, inside: { variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: true }, string: /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, punctuation: /^[\[\]!:]|[<>]/ }, alias: "url" }, bold: { pattern: e(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source), lookbehind: true, greedy: true, inside: { content: { pattern: /(^..)[\s\S]+(?=..$)/, lookbehind: true, inside: {} }, punctuation: /\*\*|__/ } }, italic: { pattern: e(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source), lookbehind: true, greedy: true, inside: { content: { pattern: /(^.)[\s\S]+(?=.$)/, lookbehind: true, inside: {} }, punctuation: /[*_]/ } }, strike: { pattern: e(/(~~?)(?:(?!~)<inner>)+\2/.source), lookbehind: true, greedy: true, inside: { content: { pattern: /(^~~?)[\s\S]+(?=\1$)/, lookbehind: true, inside: {} }, punctuation: /~~?/ } }, "code-snippet": { pattern: /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, lookbehind: true, greedy: true, alias: ["code", "keyword"] }, url: { pattern: e(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source), lookbehind: true, greedy: true, inside: { operator: /^!/, content: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: true, inside: {} }, variable: { pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, lookbehind: true }, url: { pattern: /(^\]\()[^\s)]+/, lookbehind: true }, string: { pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, lookbehind: true } } } }), ["url", "bold", "italic", "strike"].forEach(function(n2) { ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(e2) { n2 !== e2 && (o.languages.markdown[n2].inside.content.inside[e2] = o.languages.markdown[e2]); }); }), o.hooks.add("after-tokenize", function(e2) { "markdown" !== e2.language && "md" !== e2.language || !function e3(n2) { if (n2 && "string" != typeof n2) for (var t2 = 0, a2 = n2.length; t2 < a2; t2++) { var r2, s = n2[t2]; "code" !== s.type ? e3(s.content) : (r2 = s.content[1], s = s.content[3], r2 && s && "code-language" === r2.type && "code-block" === s.type && "string" == typeof r2.content && (r2 = r2.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp"), r2 = "language-" + (r2 = (/[a-z][\w-]*/i.exec(r2) || [""])[0].toLowerCase()), s.alias ? "string" == typeof s.alias ? s.alias = [s.alias, r2] : s.alias.push(r2) : s.alias = [r2])); } }(e2.tokens); }), o.hooks.add("wrap", function(e2) { if ("code-block" === e2.type) { for (var n2 = "", t2 = 0, a2 = e2.classes.length; t2 < a2; t2++) { var r2 = e2.classes[t2], r2 = /language-(.+)/.exec(r2); if (r2) { n2 = r2[1]; break; } } var s, i = o.languages[n2]; i ? e2.content = o.highlight(function(e3) { e3 = e3.replace(l, ""); return e3 = e3.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(e4, n3) { var t3; return "#" === (n3 = n3.toLowerCase())[0] ? (t3 = "x" === n3[1] ? parseInt(n3.slice(2), 16) : Number(n3.slice(1)), c(t3)) : u[n3] || e4; }); }(e2.content), i, n2) : n2 && "none" !== n2 && o.plugins.autoloader && (s = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(1e16 * Math.random()), e2.attributes.id = s, o.plugins.autoloader.loadLanguages(n2, function() { var e3 = document.getElementById(s); e3 && (e3.innerHTML = o.highlight(e3.textContent, o.languages[n2], n2)); })); } }), RegExp(o.languages.markup.tag.pattern.source, "gi")), u = { amp: "&", lt: "<", gt: ">", quot: '"' }, c = String.fromCodePoint || String.fromCharCode; o.languages.md = o.languages.markdown; }(Prism), Prism.languages.graphql = { comment: /#.*/, description: { pattern: /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i, greedy: true, alias: "string", inside: { "language-markdown": { pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/, lookbehind: true, inside: Prism.languages.markdown } } }, string: { pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/, greedy: true }, number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, boolean: /\b(?:false|true)\b/, variable: /\$[a-z_]\w*/i, directive: { pattern: /@[a-z_]\w*/i, alias: "function" }, "attr-name": { pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i, greedy: true }, "atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" }, scalar: /\b(?:Boolean|Float|ID|Int|String)\b/, constant: /\b[A-Z][A-Z_\d]*\b/, "class-name": { pattern: /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/, lookbehind: true }, fragment: { pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/, lookbehind: true, alias: "function" }, "definition-mutation": { pattern: /(\bmutation\s+)[a-zA-Z_]\w*/, lookbehind: true, alias: "function" }, "definition-query": { pattern: /(\bquery\s+)[a-zA-Z_]\w*/, lookbehind: true, alias: "function" }, keyword: /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/, operator: /[!=|&]|\.{3}/, "property-query": /\w+(?=\s*\()/, object: /\w+(?=\s*\{)/, punctuation: /[!(){}\[\]:=,]/, property: /\w+/ }, Prism.hooks.add("after-tokenize", function(e) { if ("graphql" === e.language) for (var i = e.tokens.filter(function(e2) { return "string" != typeof e2 && "comment" !== e2.type && "scalar" !== e2.type; }), o = 0; o < i.length; ) { var n = i[o++]; if ("keyword" === n.type && "mutation" === n.content) { var t = []; if (p(["definition-mutation", "punctuation"]) && "(" === c(1).content) { o += 2; var a = d(/^\($/, /^\)$/); if (-1 === a) continue; for (; o < a; o++) { var r = c(0); "variable" === r.type && (g(r, "variable-input"), t.push(r.content)); } o = a + 1; } if (p(["punctuation", "property-query"]) && "{" === c(0).content && (o++, g(c(0), "property-mutation"), 0 < t.length)) { var s = d(/^\{$/, /^\}$/); if (-1 !== s) for (var l = o; l < s; l++) { var u = i[l]; "variable" === u.type && 0 <= t.indexOf(u.content) && g(u, "variable-input"); } } } } function c(e2) { return i[o + e2]; } function p(e2, n2) { n2 = n2 || 0; for (var t2 = 0; t2 < e2.length; t2++) { var a2 = c(t2 + n2); if (!a2 || a2.type !== e2[t2]) return; } return 1; } function d(e2, n2) { for (var t2 = 1, a2 = o; a2 < i.length; a2++) { var r2 = i[a2], s2 = r2.content; if ("punctuation" === r2.type && "string" == typeof s2) { if (e2.test(s2)) t2++; else if (n2.test(s2) && 0 === --t2) return a2; } } return -1; } function g(e2, n2) { var t2 = e2.alias; t2 ? Array.isArray(t2) || (e2.alias = t2 = [t2]) : e2.alias = t2 = [], t2.push(n2); } }), Prism.languages.sql = { comment: { pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, lookbehind: true }, variable: [{ pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: true }, /@[\w.$]+/], string: { pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/, greedy: true, lookbehind: true }, identifier: { pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/, greedy: true, lookbehind: true, inside: { punctuation: /^`|`$/ } }, function: /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, keyword: /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i, boolean: /\b(?:FALSE|NULL|TRUE)\b/i, number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, operator: /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i, punctuation: /[;[\]()`,.]/ }, function(b) { var e = b.languages.javascript["template-string"], t = e.pattern.source, m = e.inside.interpolation, f = m.inside["interpolation-punctuation"], s = m.pattern.source; function n(e2, n2) { if (b.languages[e2]) return { pattern: RegExp("((?:" + n2 + ")\\s*)" + t), lookbehind: true, greedy: true, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, "embedded-code": { pattern: /[\s\S]+/, alias: e2 } } }; } function h(e2, n2, t2) { e2 = { code: e2, grammar: n2, language: t2 }; return b.hooks.run("before-tokenize", e2), e2.tokens = b.tokenize(e2.code, e2.grammar), b.hooks.run("after-tokenize", e2), e2.tokens; } function l(a2, e2, r) { var n2 = b.tokenize(a2, { interpolation: { pattern: RegExp(s), lookbehind: true } }), p = 0, d = {}, n2 = h(n2.map(function(e3) { if ("string" == typeof e3) return e3; for (var n3, t2, e3 = e3.content; -1 !== a2.indexOf((t2 = p++, n3 = "___" + r.toUpperCase() + "_" + t2 + "___")); ) ; return d[n3] = e3, n3; }).join(""), e2, r), g = Object.keys(d); return p = 0, function e3(n3) { for (var t2 = 0; t2 < n3.length; t2++) { if (p >= g.length) return; var a3, r2, s2, i, o, l2, u2, c = n3[t2]; "string" == typeof c || "string" == typeof c.content ? (a3 = g[p], -1 !== (u2 = (l2 = "string" == typeof c ? c : c.content).indexOf(a3)) && (++p, r2 = l2.substring(0, u2), o = d[a3], s2 = void 0, (i = {})["interpolation-punctuation"] = f, 3 === (i = b.tokenize(o, i)).length && ((s2 = [1, 1]).push.apply(s2, h(i[1], b.languages.javascript, "javascript")), i.splice.apply(i, s2)), s2 = new b.Token("interpolation", i, m.alias, o), i = l2.substring(u2 + a3.length), o = [], r2 && o.push(r2), o.push(s2), i && (e3(l2 = [i]), o.push.apply(o, l2)), "string" == typeof c ? (n3.splice.apply(n3, [t2, 1].concat(o)), t2 += o.length - 1) : c.content = o)) : (u2 = c.content, Array.isArray(u2) ? e3(u2) : e3([u2])); } }(n2), new b.Token(r, n2, "language-" + r, a2); } b.languages.javascript["template-string"] = [n("css", /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source), n("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), n("svg", /\bsvg/.source), n("markdown", /\b(?:markdown|md)/.source), n("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), n("sql", /\bsql/.source), e].filter(Boolean); var a = { javascript: true, js: true, typescript: true, ts: true, jsx: true, tsx: true }; function u(e2) { return "string" == typeof e2 ? e2 : Array.isArray(e2) ? e2.map(u).join("") : u(e2.content); } b.hooks.add("after-tokenize", function(e2) { e2.language in a && !function e3(n2) { for (var t2 = 0, a2 = n2.length; t2 < a2; t2++) { var r, s2, i, o = n2[t2]; "string" != typeof o && (r = o.content, Array.isArray(r) ? "template-string" === o.type ? (o = r[1], 3 === r.length && "string" != typeof o && "embedded-code" === o.type && (s2 = u(o), o = o.alias, o = Array.isArray(o) ? o[0] : o, i = b.languages[o]) && (r[1] = l(s2, i, o))) : e3(r) : "string" != typeof r && e3([r])); } }(e2.tokens); }); }(Prism), function(e) { e.languages.typescript = e.languages.extend("javascript", { "class-name": { pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/, lookbehind: true, greedy: true, inside: null }, builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/ }), e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/, /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/, /\btype\b(?=\s*(?:[\{*]|$))/), delete e.languages.typescript.parameter, delete e.languages.typescript["literal-property"]; var n = e.languages.extend("typescript", {}); delete n["class-name"], e.languages.typescript["class-name"].inside = n, e.languages.insertBefore("typescript", "function", { decorator: { pattern: /@[$\w\xA0-\uFFFF]+/, inside: { at: { pattern: /^@/, alias: "operator" }, function: /^[\s\S]+/ } }, "generic-function": { pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/, greedy: true, inside: { function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: n } } } }), e.languages.ts = e.languages.typescript; }(Prism), function(e) { var n = e.languages.javascript, t = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, a = "(@(?:arg|argument|param|property)\\s+(?:" + t + "\\s+)?)"; e.languages.jsdoc = e.languages.extend("javadoclike", { parameter: { pattern: RegExp(a + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source), lookbehind: true, inside: { punctuation: /\./ } } }), e.languages.insertBefore("jsdoc", "keyword", { "optional-parameter": { pattern: RegExp(a + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source), lookbehind: true, inside: { parameter: { pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/, lookbehind: true, inside: { punctuation: /\./ } }, code: { pattern: /(=)[\s\S]*(?=\]$)/, lookbehind: true, inside: n, alias: "language-javascript" }, punctuation: /[=[\]]/ } }, "class-name": [{ pattern: RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g, function() { return t; })), lookbehind: true, inside: { punctuation: /\./ } }, { pattern: RegExp("(@[a-z]+\\s+)" + t), lookbehind: true, inside: { string: n.string, number: n.number, boolean: n.boolean, keyword: e.languages.typescript.keyword, operator: /=>|\.\.\.|[&|?:*]/, punctuation: /[.,;=<>{}()[\]]/ } }], example: { pattern: /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/, lookbehind: true, inside: { code: { pattern: /^([\t ]*(?:\*\s*)?)\S.*$/m, lookbehind: true, inside: n, alias: "language-javascript" } } } }), e.languages.javadoclike.addSupport("javascript", e.languages.jsdoc); }(Prism), function(e) { e.languages.flow = e.languages.extend("javascript", {}), e.languages.insertBefore("flow", "keyword", { type: [{ pattern: /\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/, alias: "class-name" }] }), e.languages.flow["function-variable"].pattern = /(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i, delete e.languages.flow.parameter, e.languages.insertBefore("flow", "operator", { "flow-punctuation": { pattern: /\{\||\|\}/, alias: "punctuation" } }), Array.isArray(e.languages.flow.keyword) || (e.languages.flow.keyword = [e.languages.flow.keyword]), e.languages.flow.keyword.unshift({ pattern: /(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/, lookbehind: true }, { pattern: /(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/, lookbehind: true }); }(Prism), Prism.languages.n4js = Prism.languages.extend("javascript", { keyword: /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/ }), Prism.languages.insertBefore("n4js", "constant", { annotation: { pattern: /@+\w+/, alias: "operator" } }), Prism.languages.n4jsd = Prism.languages.n4js, function(e) { function n(e2, n2) { return RegExp(e2.replace(/<ID>/g, function() { return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source; }), n2); } e.languages.insertBefore("javascript", "function-variable", { "method-variable": { pattern: RegExp("(\\.\\s*)" + e.languages.javascript["function-variable"].pattern.source), lookbehind: true, alias: ["function-variable", "method", "function", "property-access"] } }), e.languages.insertBefore("javascript", "function", { method: { pattern: RegExp("(\\.\\s*)" + e.languages.javascript.function.source), lookbehind: true, alias: ["function", "property-access"] } }), e.languages.insertBefore("javascript", "constant", { "known-class-name": [{ pattern: /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/, alias: "class-name" }, { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }] }), e.languages.insertBefore("javascript", "keyword", { imports: { pattern: n(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source), lookbehind: true, inside: e.languages.javascript }, exports: { pattern: n(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source), lookbehind: true, inside: e.languages.javascript } }), e.languages.javascript.keyword.unshift({ pattern: /\b(?:as|default|export|from|import)\b/, alias: "module" }, { pattern: /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/, alias: "control-flow" }, { pattern: /\bnull\b/, alias: ["null", "nil"] }, { pattern: /\bundefined\b/, alias: "nil" }), e.languages.insertBefore("javascript", "operator", { spread: { pattern: /\.{3}/, alias: "operator" }, arrow: { pattern: /=>/, alias: "operator" } }), e.languages.insertBefore("javascript", "punctuation", { "property-access": { pattern: n(/(\.\s*)#?<ID>/.source), lookbehind: true }, "maybe-class-name": { pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/, lookbehind: true }, dom: { pattern: /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/, alias: "variable" }, console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" } }); for (var t = ["function", "function-variable", "method", "method-variable", "property-access"], a = 0; a < t.length; a++) { var r = t[a], s = e.languages.javascript[r], r = (s = "RegExp" === e.util.type(s) ? e.languages.javascript[r] = { pattern: s } : s).inside || {}; (s.inside = r)["maybe-class-name"] = /^[A-Z][\s\S]*/; } }(Prism), function(s) { var e = s.util.clone(s.languages.javascript), t = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, a = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, r = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source; function n(e2, n2) { return e2 = e2.replace(/<S>/g, function() { return t; }).replace(/<BRACES>/g, function() { return a; }).replace(/<SPREAD>/g, function() { return r; }), RegExp(e2, n2); } r = n(r).source, s.languages.jsx = s.languages.extend("markup", e), s.languages.jsx.tag.pattern = n(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source), s.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, s.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, s.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, s.languages.jsx.tag.inside.comment = e.comment, s.languages.insertBefore("inside", "attr-name", { spread: { pattern: n(/<SPREAD>/.source), inside: s.languages.jsx } }, s.languages.jsx.tag), s.languages.insertBefore("inside", "special-attr", { script: { pattern: n(/=<BRACES>/.source), alias: "language-javascript", inside: { "script-punctuation": { pattern: /^=(?=\{)/, alias: "punctuation" }, rest: s.languages.jsx } } }, s.languages.jsx.tag); function i(e2) { for (var n2 = [], t2 = 0; t2 < e2.length; t2++) { var a2 = e2[t2], r2 = false; "string" != typeof a2 && ("tag" === a2.type && a2.content[0] && "tag" === a2.content[0].type ? "</" === a2.content[0].content[0].content ? 0 < n2.length && n2[n2.length - 1].tagName === o(a2.content[0].content[1]) && n2.pop() : "/>" !== a2.content[a2.content.length - 1].content && n2.push({ tagName: o(a2.content[0].content[1]), openedBraces: 0 }) : 0 < n2.length && "punctuation" === a2.type && "{" === a2.content ? n2[n2.length - 1].openedBraces++ : 0 < n2.length && 0 < n2[n2.length - 1].openedBraces && "punctuation" === a2.type && "}" === a2.content ? n2[n2.length - 1].openedBraces-- : r2 = true), (r2 || "string" == typeof a2) && 0 < n2.length && 0 === n2[n2.length - 1].openedBraces && (r2 = o(a2), t2 < e2.length - 1 && ("string" == typeof e2[t2 + 1] || "plain-text" === e2[t2 + 1].type) && (r2 += o(e2[t2 + 1]), e2.splice(t2 + 1, 1)), 0 < t2 && ("string" == typeof e2[t2 - 1] || "plain-text" === e2[t2 - 1].type) && (r2 = o(e2[t2 - 1]) + r2, e2.splice(t2 - 1, 1), t2--), e2[t2] = new s.Token("plain-text", r2, null, r2)), a2.content && "string" != typeof a2.content && i(a2.content); } } var o = function(e2) { return e2 ? "string" == typeof e2 ? e2 : "string" == typeof e2.content ? e2.content : e2.content.map(o).join("") : ""; }; s.hooks.add("after-tokenize", function(e2) { "jsx" !== e2.language && "tsx" !== e2.language || i(e2.tokens); }); }(Prism), function(e) { var n = e.util.clone(e.languages.typescript), n = (e.languages.tsx = e.languages.extend("jsx", n), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"], e.languages.tsx.tag); n.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + n.pattern.source + ")", n.pattern.flags), n.lookbehind = true; }(Prism), Prism.languages.swift = { comment: { pattern: /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/, lookbehind: true, greedy: true }, "string-literal": [{ pattern: RegExp(/(^|[^"#])/.source + "(?:" + /"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source + "|" + /"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source + ")" + /(?!["#])/.source), lookbehind: true, greedy: true, inside: { interpolation: { pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/, lookbehind: true, inside: null }, "interpolation-punctuation": { pattern: /^\)|\\\($/, alias: "punctuation" }, punctuation: /\\(?=[\r\n])/, string: /[\s\S]+/ } }, { pattern: RegExp(/(^|[^"#])(#+)/.source + "(?:" + /"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source + "|" + /"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source + ")\\2"), lookbehind: true, greedy: true, inside: { interpolation: { pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/, lookbehind: true, inside: null }, "interpolation-punctuation": { pattern: /^\)|\\#+\($/, alias: "punctuation" }, string: /[\s\S]+/ } }], directive: { pattern: RegExp(/#/.source + "(?:" + /(?:elseif|if)\b/.source + "(?:[ ]*" + /(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source + ")+|" + /(?:else|endif)\b/.source + ")"), alias: "property", inside: { "directive-name": /^#\w+/, boolean: /\b(?:false|true)\b/, number: /\b\d+(?:\.\d+)*\b/, operator: /!|&&|\|\||[<>]=?/, punctuation: /[(),]/ } }, literal: { pattern: /#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/, alias: "constant" }, "other-directive": { pattern: /#\w+\b/, alias: "property" }, attribute: { pattern: /@\w+/, alias: "atrule" }, "function-definition": { pattern: /(\bfunc\s+)\w+/, lookbehind: true, alias: "function" }, label: { pattern: /\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/, lookbehind: true, alias: "important" }, keyword: /\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/, boolean: /\b(?:false|true)\b/, nil: { pattern: /\bnil\b/, alias: "constant" }, "short-argument": /\$\d+\b/, omit: { pattern: /\b_\b/, alias: "keyword" }, number: /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i, "class-name": /\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/, function: /\b[a-z_]\w*(?=\s*\()/i, constant: /\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/, operator: /[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/, punctuation: /[{}[\]();,.:\\]/ }, Prism.languages.swift["string-literal"].forEach(function(e) { e.inside.interpolation.inside = Prism.languages.swift; }), function(e) { e.languages.kotlin = e.languages.extend("clike", { keyword: { pattern: /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/, lookbehind: true }, function: [{ pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/, greedy: true }, { pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/, lookbehind: true, greedy: true }], number: /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/, operator: /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/ }), delete e.languages.kotlin["class-name"]; var n = { "interpolation-punctuation": { pattern: /^\$\{?|\}$/, alias: "punctuation" }, expression: { pattern: /[\s\S]+/, inside: e.languages.kotlin } }; e.languages.insertBefore("kotlin", "string", { "string-literal": [{ pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/, alias: "multiline", inside: { interpolation: { pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i, inside: n }, string: /[\s\S]+/ } }, { pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/, alias: "singleline", inside: { interpolation: { pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i, lookbehind: true, inside: n }, string: /[\s\S]+/ } }], char: { pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/, greedy: true } }), delete e.languages.kotlin.string, e.languages.insertBefore("kotlin", "keyword", { annotation: { pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/, alias: "builtin" } }), e.languages.insertBefore("kotlin", "function", { label: { pattern: /\b\w+@|@\w+\b/, alias: "symbol" } }), e.languages.kt = e.languages.kotlin, e.languages.kts = e.languages.kotlin; }(Prism), Prism.languages.c = Prism.languages.extend("clike", { comment: { pattern: /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: true }, string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: true }, "class-name": { pattern: /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/, lookbehind: true }, keyword: /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/, function: /\b[a-z_]\w*(?=\s*\()/i, number: /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i, operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/ }), Prism.languages.insertBefore("c", "string", { char: { pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/, greedy: true } }), Prism.languages.insertBefore("c", "string", { macro: { pattern: /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im, lookbehind: true, greedy: true, alias: "property", inside: { string: [{ pattern: /^(#\s*include\s*)<[^>]+>/, lookbehind: true }, Prism.languages.c.string], char: Prism.languages.c.char, comment: Prism.languages.c.comment, "macro-name": [{ pattern: /(^#\s*define\s+)\w+\b(?!\()/i, lookbehind: true }, { pattern: /(^#\s*define\s+)\w+\b(?=\()/i, lookbehind: true, alias: "function" }], directive: { pattern: /^(#\s*)[a-z]+/, lookbehind: true, alias: "keyword" }, "directive-hash": /^#/, punctuation: /##|\\(?=[\r\n])/, expression: { pattern: /\S[\s\S]*/, inside: Prism.languages.c } } } }), Prism.languages.insertBefore("c", "function", { constant: /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/ }), delete Prism.languages.c.boolean, Prism.languages.objectivec = Prism.languages.extend("c", { string: { pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: true }, keyword: /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/, operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/ }), delete Prism.languages.objectivec["class-name"], Prism.languages.objc = Prism.languages.objectivec, Prism.languages.reason = Prism.languages.extend("clike", { string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/, greedy: true }, "class-name": /\b[A-Z]\w*/, keyword: /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/, operator: /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/ }), Prism.languages.insertBefore("reason", "class-name", { char: { pattern: /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/, greedy: true }, constructor: /\b[A-Z]\w*\b(?!\s*\.)/, label: { pattern: /\b[a-z]\w*(?=::)/, alias: "symbol" } }), delete Prism.languages.reason.function, function(e) { for (var n = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source, t = 0; t < 2; t++) n = n.replace(/<self>/g, function() { return n; }); n = n.replace(/<self>/g, function() { return /[^\s\S]/.source; }), e.languages.rust = { comment: [{ pattern: RegExp(/(^|[^\\])/.source + n), lookbehind: true, greedy: true }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: true, greedy: true }], string: { pattern: /b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/, greedy: true }, char: { pattern: /b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/, greedy: true }, attribute: { pattern: /#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/, greedy: true, alias: "attr-name", inside: { string: null } }, "closure-params": { pattern: /([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/, lookbehind: true, greedy: true, inside: { "closure-punctuation": { pattern: /^\||\|$/, alias: "punctuation" }, rest: null } }, "lifetime-annotation": { pattern: /'\w+/, alias: "symbol" }, "fragment-specifier": { pattern: /(\$\w+:)[a-z]+/, lookbehind: true, alias: "punctuation" }, variable: /\$\w+/, "function-definition": { pattern: /(\bfn\s+)\w+/, lookbehind: true, alias: "function" }, "type-definition": { pattern: /(\b(?:enum|struct|trait|type|union)\s+)\w+/, lookbehind: true, alias: "class-name" }, "module-declaration": [{ pattern: /(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/, lookbehind: true, alias: "namespace" }, { pattern: /(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/, lookbehind: true, alias: "namespace", inside: { punctuation: /::/ } }], keyword: [/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/, /\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/], function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())/, macro: { pattern: /\b\w+!/, alias: "property" }, constant: /\b[A-Z_][A-Z_\d]+\b/, "class-name": /\b[A-Z]\w*\b/, namespace: { pattern: /(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/, inside: { punctuation: /::/ } }, number: /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/, boolean: /\b(?:false|true)\b/, punctuation: /->|\.\.=|\.{1,3}|::|[{}[\];(),:]/, operator: /[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/ }, e.languages.rust["closure-params"].inside.rest = e.languages.rust, e.languages.rust.attribute.inside.string = e.languages.rust.string; }(Prism), Prism.languages.go = Prism.languages.extend("clike", { string: { pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/, lookbehind: true, greedy: true }, keyword: /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/, boolean: /\b(?:_|false|iota|nil|true)\b/, number: [/\b0(?:b[01_]+|o[0-7_]+)i?\b/i, /\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i, /(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i], operator: /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./, builtin: /\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/ }), Prism.languages.insertBefore("go", "string", { char: { pattern: /'(?:\\.|[^'\\\r\n]){0,10}'/, greedy: true } }), delete Prism.languages.go["class-name"], function(e) { var n = /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, t = /\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g, function() { return n.source; }); e.languages.cpp = e.languages.extend("c", { "class-name": [{ pattern: RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g, function() { return n.source; })), lookbehind: true }, /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i, /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/], keyword: n, number: { pattern: /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i, greedy: true }, operator: />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/, boolean: /\b(?:false|true)\b/ }), e.languages.insertBefore("cpp", "string", { module: { pattern: RegExp(/(\b(?:import|module)\s+)/.source + "(?:" + /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source + "|" + /<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g, function() { return t; }) + ")"), lookbehind: true, greedy: true, inside: { string: /^[<"][\s\S]+/, operator: /:/, punctuation: /\./ } }, "raw-string": { pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/, alias: "string", greedy: true } }), e.languages.insertBefore("cpp", "keyword", { "generic-function": { pattern: /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i, inside: { function: /^\w+/, generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: e.languages.cpp } } } }), e.languages.insertBefore("cpp", "operator", { "double-colon": { pattern: /::/, alias: "punctuation" } }), e.languages.insertBefore("cpp", "class-name", { "base-clause": { pattern: /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/, lookbehind: true, greedy: true, inside: e.languages.extend("cpp", {}) } }), e.languages.insertBefore("inside", "double-colon", { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i }, e.languages.cpp["base-clause"]); }(Prism), Prism.languages.python = { comment: { pattern: /(^|[^\\])#.*/, lookbehind: true, greedy: true }, "string-interpolation": { pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i, greedy: true, inside: { interpolation: { pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/, lookbehind: true, inside: { "format-spec": { pattern: /(:)[^:(){}]+(?=\}$)/, lookbehind: true }, "conversion-option": { pattern: /![sra](?=[:}]$)/, alias: "punctuation" }, rest: null } }, string: /[\s\S]+/ } }, "triple-quoted-string": { pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i, greedy: true, alias: "string" }, string: { pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i, greedy: true }, function: { pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g, lookbehind: true }, "class-name": { pattern: /(\bclass\s+)\w+/i, lookbehind: true }, decorator: { pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m, lookbehind: true, alias: ["annotation", "punctuation"], inside: { punctuation: /\./ } }, keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/, builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/, boolean: /\b(?:False|None|True)\b/, number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i, operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, punctuation: /[{}[\];(),.:]/ }, Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest = Prism.languages.python, Prism.languages.py = Prism.languages.python, Prism.languages.json = { property: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, lookbehind: true, greedy: true }, string: { pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, lookbehind: true, greedy: true }, comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: true }, number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, punctuation: /[{}[\],]/, operator: /:/, boolean: /\b(?:false|true)\b/, null: { pattern: /\bnull\b/, alias: "keyword" } }, Prism.languages.webmanifest = Prism.languages.json; // src/themes/index.ts var themes_exports = {}; __export(themes_exports, { dracula: () => dracula_default, duotoneDark: () => duotoneDark_default, duotoneLight: () => duotoneLight_default, github: () => github_default, gruvboxMaterialDark: () => gruvboxMaterialDark_default, gruvboxMaterialLight: () => gruvboxMaterialLight_default, jettwaveDark: () => jettwaveDark_default, jettwaveLight: () => jettwaveLight_default, nightOwl: () => nightOwl_default, nightOwlLight: () => nightOwlLight_default, oceanicNext: () => oceanicNext_default, okaidia: () => okaidia_default, oneDark: () => oneDark_default, oneLight: () => oneLight_default, palenight: () => palenight_default, shadesOfPurple: () => shadesOfPurple_default, synthwave84: () => synthwave84_default, ultramin: () => ultramin_default, vsDark: () => vsDark_default, vsLight: () => vsLight_default }); // src/themes/dracula.ts var theme = { plain: { color: "#F8F8F2", backgroundColor: "#282A36" }, styles: [ { types: ["prolog", "constant", "builtin"], style: { color: "rgb(189, 147, 249)" } }, { types: ["inserted", "function"], style: { color: "rgb(80, 250, 123)" } }, { types: ["deleted"], style: { color: "rgb(255, 85, 85)" } }, { types: ["changed"], style: { color: "rgb(255, 184, 108)" } }, { types: ["punctuation", "symbol"], style: { color: "rgb(248, 248, 242)" } }, { types: ["string", "char", "tag", "selector"], style: { color: "rgb(255, 121, 198)" } }, { types: ["keyword", "variable"], style: { color: "rgb(189, 147, 249)", fontStyle: "italic" } }, { types: ["comment"], style: { color: "rgb(98, 114, 164)" } }, { types: ["attr-name"], style: { color: "rgb(241, 250, 140)" } } ] }; var dracula_default = theme; // src/themes/duotoneDark.ts var theme2 = { plain: { backgroundColor: "#2a2734", color: "#9a86fd" }, styles: [ { types: ["comment", "prolog", "doctype", "cdata", "punctuation"], style: { color: "#6c6783" } }, { types: ["namespace"], style: { opacity: 0.7 } }, { types: ["tag", "operator", "number"], style: { color: "#e09142" } }, { types: ["property", "function"], style: { color: "#9a86fd" } }, { types: ["tag-id", "selector", "atrule-id"], style: { color: "#eeebff" } }, { types: ["attr-name"], style: { color: "#c4b9fe" } }, { types: [ "boolean", "string", "entity", "url", "attr-value", "keyword", "control", "directive", "unit", "statement", "regex", "atrule", "placeholder", "variable" ], style: { color: "#ffcc99" } }, { types: ["deleted"], style: { textDecorationLine: "line-through" } }, { types: ["inserted"], style: { textDecorationLine: "underline" } }, { types: ["italic"], style: { fontStyle: "italic" } }, { types: ["important", "bold"], style: { fontWeight: "bold" } }, { types: ["important"], style: { color: "#c4b9fe" } } ] }; var duotoneDark_default = theme2; // src/themes/duotoneLight.ts var theme3 = { plain: { backgroundColor: "#faf8f5", color: "#728fcb" }, styles: [ { types: ["comment", "prolog", "doctype", "cdata", "punctuation"], style: { color: "#b6ad9a" } }, { types: ["namespace"], style: { opacity: 0.7 } }, { types: ["tag", "operator", "number"], style: { color: "#063289" } }, { types: ["property", "function"], style: { color: "#b29762" } }, { types: ["tag-id", "selector", "atrule-id"], style: { color: "#2d2006" } }, { types: ["attr-name"], style: { color: "#896724" } }, { types: [ "boolean", "string", "entity", "url", "attr-value", "keyword", "control", "directive", "unit", "statement", "regex", "atrule" ], style: { color: "#728fcb" } }, { types: ["placeholder", "variable"], style: { color: "#93abdc" } }, { types: ["deleted"], style: { textDecorationLine: "line-through" } }, { types: ["inserted"], style: { textDecorationLine: "underline" } }, { types: ["italic"], style: { fontStyle: "italic" } }, { types: ["important", "bold"], style: { fontWeight: "bold" } }, { types: ["important"], style: { color: "#896724" } } ] }; var duotoneLight_default = theme3; // src/themes/github.ts var theme4 = { plain: { color: "#393A34", backgroundColor: "#f6f8fa" }, styles: [ { types: ["comment", "prolog", "doctype", "cdata"], style: { color: "#999988", fontStyle: "italic" } }, { types: ["namespace"], style: { opacity: 0.7 } }, { types: ["string", "attr-value"], style: { color: "#e3116c" } }, { types: ["punctuation", "operator"], style: { color: "#393A34" } }, { types: [ "entity", "url", "symbol", "number", "boolean", "variable", "constant", "property", "regex", "inserted" ], style: { color: "#36acaa" } }, { types: ["atrule", "keyword", "attr-name", "selector"], style: { color: "#00a4db" } }, { types: ["function", "deleted", "tag"], style: { color: "#d73a49" } }, { types: ["function-variable"], style: { color: "#6f42c1" } }, { types: ["tag", "selector", "keyword"], style: { color: "#00009f" } } ] }; var github_default = theme4; // src/themes/nightOwl.ts var theme5 = { plain: { color: "#d6deeb", backgroundColor: "#011627" }, styles: [ { types: ["changed"], style: { color: "rgb(162, 191, 252)", fontStyle: "italic" } }, { types: ["deleted"], style: { color: "rgba(239, 83, 80, 0.56)", fontStyle: "italic" } }, { types: ["inserted", "attr-name"], style: { color: "rgb(173, 219, 103)", fontStyle: "italic" } }, { types: ["comment"], style: { color: "rgb(99, 119, 119)", fontStyle: "italic" } }, { types: ["string", "url"], style: { color: "rgb(173, 219, 103)" } }, { types: ["variable"], style: { color: "rgb(214, 222, 235)" } }, { types: ["number"], style: { color: "rgb(247, 140, 108)" } }, { types: ["builtin", "char", "constant", "function"], style: { color: "rgb(130, 170, 255)" } }, { // This was manually added after the auto-generation // so that punctuations are not italicised types: ["punctuation"], style: { color: "rgb(199, 146, 234)" } }, { types: ["selector", "doctype"], style: { color: "rgb(199, 146, 234)", fontStyle: "italic" } }, { types: ["class-name"], style: { color: "rgb(255, 203, 139)" } }, { types: ["tag", "operator", "keyword"], style: { color: "rgb(127, 219, 202)" } }, { types: ["boolean"], style: { color: "rgb(255, 88, 116)" } }, { types: ["property"], style: { color: "rgb(128, 203, 196)" } }, { types: ["namespace"], style: { color: "rgb(178, 204, 214)" } } ] }; var nightOwl_default = theme5; // src/themes/nightOwlLight.ts var theme6 = { plain: { color: "#403f53", backgroundColor: "#FBFBFB" }, styles: [ { types: ["changed"], style: { color: "rgb(162, 191, 252)", fontStyle: "italic" } }, { types: ["deleted"], style: { color: "rgba(239, 83, 80, 0.56)", fontStyle: "italic" } }, { types: ["inserted", "attr-name"], style: { color: "rgb(72, 118, 214)", fontStyle: "italic" } }, { types: ["comment"], style: { color: "rgb(152, 159, 177)", fontStyle: "italic" } }, { types: ["string", "builtin", "char", "constant", "url"], style: { color: "rgb(72, 118, 214)" } }, { types: ["variable"], style: { color: "rgb(201, 103, 101)" } }, { types: ["number"], style: { color: "rgb(170, 9, 130)" } }, { // This was manually added after the auto-generation // so that punctuations are not italicised types: ["punctuation"], style: { color: "rgb(153, 76, 195)" } }, { types: ["function", "selector", "doctype"], style: { color: "rgb(153, 76, 195)", fontStyle: "italic" } }, { types: ["class-name"], style: { color: "rgb(17, 17, 17)" } }, { types: ["tag"], style: { color: "rgb(153, 76, 195)" } }, { types: ["operator", "property", "keyword", "namespace"], style: { color: "rgb(12, 150, 155)" } }, { types: ["boolean"], style: { color: "rgb(188, 84, 84)" } } ] }; var nightOwlLight_default = theme6; // src/themes/oceanicNext.ts var colors = { char: "#D8DEE9", comment: "#999999", keyword: "#c5a5c5", primitive: "#5a9bcf", string: "#8dc891", variable: "#d7deea", boolean: "#ff8b50", punctuation: "#5FB3B3", tag: "#fc929e", function: "#79b6f2", className: "#FAC863", method: "#6699CC", operator: "#fc929e" }; var theme7 = { plain: { backgroundColor: "#282c34", color: "#ffffff" }, styles: [ { types: ["attr-name"], style: { color: colors.keyword } }, { types: ["attr-value"], style: { color: colors.string } }, { types: [ "comment", "block-comment", "prolog", "doctype", "cdata", "shebang" ], style: { color: colors.comment } }, { types: [ "property", "number", "function-name", "constant", "symbol", "deleted" ], style: { color: colors.primitive } }, { types: ["boolean"], style: { color: colors.boolean } }, { types: ["tag"], style: { color: colors.tag } }, { types: ["string"], style: { color: colors.string } }, { types: ["punctuation"], style: { color: colors.string } }, { types: ["selector", "char", "builtin", "inserted"], style: { color: colors.char } }, { types: ["function"], style: { color: colors.function } }, { types: ["operator", "entity", "url", "variable"], style: { color: colors.variable } }, { types: ["keyword"], style: { color: colors.keyword } }, { types: ["atrule", "class-name"], style: { color: colors.className } }, { types: ["important"], style: { fontWeight: "400" } }, { types: ["bold"], style: { fontWeight: "bold" } }, { types: ["italic"], style: { fontStyle: "italic" } }, { types: ["namespace"], style: { opacity: 0.7 } } ] }; var oceanicNext_default = theme7; // src/themes/okaidia.ts var theme8 = { plain: { color: "#f8f8f2", backgroundColor: "#272822" }, styles: [ { types: ["changed"], style: { color: "rgb(162, 191, 252)", fontStyle: "italic" } }, { types: ["deleted"], style: { color: "#f92672", fontStyle: "italic" } }, { types: ["inserted"], style: { color: "rgb(173, 219, 103)", fontStyle: "italic" } }, { types: ["comment"], style: { color: "#8292a2", fontStyle: "italic" } }, { types: ["string", "url"], style: { color: "#a6e22e" } }, { types: ["variable"], style: { color: "#f8f8f2" } }, { types: ["number"], style: { color: "#ae81ff" } }, { types: ["builtin", "char", "constant", "function", "class-name"], style: { color: "#e6db74" } }, { types: ["punctuation"], style: { color: "#f8f8f2" } }, { types: ["selector", "doctype"], style: { color: "#a6e22e", fontStyle: "italic" } }, { types: ["tag", "operator", "keyword"], style: { color: "#66d9ef" } }, { types: ["boolean"], style: { color: "#ae81ff" } }, { types: ["namespace"], style: { color: "rgb(178, 204, 214)", opacity: 0.7 } }, { types: ["tag", "property"], style: { color: "#f92672" } }, { types: ["attr-name"], style: { color: "#a6e22e !important" } }, { types: ["doctype"], style: { color: "#8292a2" } }, { types: ["rule"], style: { color: "#e6db74" } } ] }; var okaidia_default = theme8; // src/themes/palenight.ts var theme9 = { plain: { color: "#bfc7d5", backgroundColor: "#292d3e" }, styles: [ { types: ["comment"], style: { color: "rgb(105, 112, 152)", fontStyle: "italic" } }, { types: ["string", "inserted"], style: { color: "rgb(195, 232, 141)" } }, { types: ["number"], style: { color: "rgb(247, 140, 108)" } }, { types: ["builtin", "char", "constant", "function"], style: { color: "rgb(130, 170, 255)" } }, { types: ["punctuation", "selector"], style: { color: "rgb(199, 146, 234)" } }, { types: ["variable"], style: { color: "rgb(191, 199, 213)" } }, { types: ["class-name", "attr-name"], style: { color: "rgb(255, 203, 107)" } }, { types: ["tag", "deleted"], style: { color: "rgb(255, 85, 114)" } }, { types: ["operator"], style: { color: "rgb(137, 221, 255)" } }, { types: ["boolean"], style: { color: "rgb(255, 88, 116)" } }, { types: ["keyword"], style: { fontStyle: "italic" } }, { types: ["doctype"], style: { color: "rgb(199, 146, 234)", fontStyle: "italic" } }, { types: ["namespace"], style: { color: "rgb(178, 204, 214)" } }, { types: ["url"], style: { color: "rgb(221, 221, 221)" } } ] }; var palenight_default = theme9; // src/themes/shadesOfPurple.ts var theme10 = { plain: { color: "#9EFEFF", backgroundColor: "#2D2A55" }, styles: [ { types: ["changed"], style: { color: "rgb(255, 238, 128)" } }, { types: ["deleted"], style: { color: "rgba(239, 83, 80, 0.56)" } }, { types: ["inserted"], style: { color: "rgb(173, 219, 103)" } }, { types: ["comment"], style: { color: "rgb(179, 98, 255)", fontStyle: "italic" } }, { types: ["punctuation"], style: { color: "rgb(255, 255, 255)" } }, { types: ["constant"], style: { color: "rgb(255, 98, 140)" } }, { types: ["string", "url"], style: { color: "rgb(165, 255, 144)" } }, { types: ["variable"], style: { color: "rgb(255, 238, 128)" } }, { types: ["number", "boolean"], style: { color: "rgb(255, 98, 140)" } }, { types: ["attr-name"], style: { color: "rgb(255, 180, 84)" } }, { types: [ "keyword", "operator", "property", "namespace", "tag", "selector", "doctype" ], style: { color: "rgb(255, 157, 0)" } }, { types: ["builtin", "char", "constant", "function", "class-name"], style: { color: "rgb(250, 208, 0)" } } ] }; var shadesOfPurple_default = theme10; // src/themes/synthwave84.ts var theme11 = { plain: { backgroundColor: "linear-gradient(to bottom, #2a2139 75%, #34294f)", backgroundImage: "#34294f", color: "#f92aad", textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3" }, styles: [ { types: ["comment", "block-comment", "prolog", "doctype", "cdata"], style: { color: "#495495", fontStyle: "italic" } }, { types: ["punctuation"], style: { color: "#ccc" } }, { types: [ "tag", "attr-name", "namespace", "number", "unit", "hexcode", "deleted" ], style: { color: "#e2777a" } }, { types: ["property", "selector"], style: { color: "#72f1b8", textShadow: "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475" } }, { types: ["function-name"], style: { color: "#6196cc" } }, { types: ["boolean", "selector-id", "function"], style: { color: "#fdfdfd", textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975" } }, { types: ["class-name", "maybe-class-name", "builtin"], style: { color: "#fff5f6", textShadow: "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75" } }, { types: ["constant", "symbol"], style: { color: "#f92aad", textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3" } }, { types: ["important", "atrule", "keyword", "selector-class"], style: { color: "#f4eee4", textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575" } }, { types: ["string", "char", "attr-value", "regex", "variable"], style: { color: "#f87c32" } }, { types: ["parameter"], style: { fontStyle: "italic" } }, { types: ["entity", "url"], style: { color: "#67cdcc" } }, { types: ["operator"], style: { color: "ffffffee" } }, { types: ["important", "bold"], style: { fontWeight: "bold" } }, { types: ["italic"], style: { fontStyle: "italic" } }, { types: ["entity"], style: { cursor: "help" } }, { types: ["inserted"], style: { color: "green" } } ] }; var synthwave84_default = theme11; // src/themes/ultramin.ts var theme12 = { plain: { color: "#282a2e", backgroundColor: "#ffffff" }, styles: [ { types: ["comment"], style: { color: "rgb(197, 200, 198)" } }, { types: ["string", "number", "builtin", "variable"], style: { color: "rgb(150, 152, 150)" } }, { types: ["class-name", "function", "tag", "attr-name"], style: { color: "rgb(40, 42, 46)" } } ] }; var ultramin_default = theme12; // src/themes/vsDark.ts var theme13 = { plain: { color: "#9CDCFE", backgroundColor: "#1E1E1E" }, styles: [ { types: ["prolog"], style: { color: "rgb(0, 0, 128)" } }, { types: ["comment"], style: { color: "rgb(106, 153, 85)" } }, { types: ["builtin", "changed", "keyword", "interpolation-punctuation"], style: { color: "rgb(86, 156, 214)" } }, { types: ["number", "inserted"], style: { color: "rgb(181, 206, 168)" } }, { types: ["constant"], style: { color: "rgb(100, 102, 149)" } }, { types: ["attr-name", "variable"], style: { color: "rgb(156, 220, 254)" } }, { types: ["deleted", "string", "attr-value", "template-punctuation"], style: { color: "rgb(206, 145, 120)" } }, { types: ["selector"], style: { color: "rgb(215, 186, 125)" } }, { // Fix tag color types: ["tag"], style: { color: "rgb(78, 201, 176)" } }, { // Fix tag color for HTML types: ["tag"], languages: ["markup"], style: { color: "rgb(86, 156, 214)" } }, { types: ["punctuation", "operator"], style: { color: "rgb(212, 212, 212)" } }, { // Fix punctuation color for HTML types: ["punctuation"], languages: ["markup"], style: { color: "#808080" } }, { types: ["function"], style: { color: "rgb(220, 220, 170)" } }, { types: ["class-name"], style: { color: "rgb(78, 201, 176)" } }, { types: ["char"], style: { color: "rgb(209, 105, 105)" } } ] }; var vsDark_default = theme13; // src/themes/vsLight.ts var theme14 = { plain: { color: "#000000", backgroundColor: "#ffffff" }, styles: [ { types: ["comment"], style: { color: "rgb(0, 128, 0)" } }, { types: ["builtin"], style: { color: "rgb(0, 112, 193)" } }, { types: ["number", "variable", "inserted"], style: { color: "rgb(9, 134, 88)" } }, { types: ["operator"], style: { color: "rgb(0, 0, 0)" } }, { types: ["constant", "char"], style: { color: "rgb(129, 31, 63)" } }, { types: ["tag"], style: { color: "rgb(128, 0, 0)" } }, { types: ["attr-name"], style: { color: "rgb(255, 0, 0)" } }, { types: ["deleted", "string"], style: { color: "rgb(163, 21, 21)" } }, { types: ["changed", "punctuation"], style: { color: "rgb(4, 81, 165)" } }, { types: ["function", "keyword"], style: { color: "rgb(0, 0, 255)" } }, { types: ["class-name"], style: { color: "rgb(38, 127, 153)" } } ] }; var vsLight_default = theme14; // src/themes/jettwaveDark.ts var theme15 = { plain: { color: "#f8fafc", backgroundColor: "#011627" }, styles: [ { types: ["prolog"], style: { color: "#000080" } }, { types: ["comment"], style: { color: "#6A9955" } }, { types: ["builtin", "changed", "keyword", "interpolation-punctuation"], style: { color: "#569CD6" } }, { types: ["number", "inserted"], style: { color: "#B5CEA8" } }, { types: ["constant"], style: { color: "#f8fafc" } }, { types: ["attr-name", "variable"], style: { color: "#9CDCFE" } }, { types: ["deleted", "string", "attr-value", "template-punctuation"], style: { color: "#cbd5e1" } }, { types: ["selector"], style: { color: "#D7BA7D" } }, { types: ["tag"], style: { color: "#0ea5e9" } }, { types: ["tag"], languages: ["markup"], style: { color: "#0ea5e9" } }, { types: ["punctuation", "operator"], style: { color: "#D4D4D4" } }, { types: ["punctuation"], languages: ["markup"], style: { color: "#808080" } }, { types: ["function"], style: { color: "#7dd3fc" } }, { types: ["class-name"], style: { color: "#0ea5e9" } }, { types: ["char"], style: { color: "#D16969" } } ] }; var jettwaveDark_default = theme15; // src/themes/jettwaveLight.ts var theme16 = { plain: { color: "#0f172a", backgroundColor: "#f1f5f9" }, styles: [ { types: ["prolog"], style: { color: "#000080" } }, { types: ["comment"], style: { color: "#6A9955" } }, { types: ["builtin", "changed", "keyword", "interpolation-punctuation"], style: { color: "#0c4a6e" } }, { types: ["number", "inserted"], style: { color: "#B5CEA8" } }, { types: ["constant"], style: { color: "#0f172a" } }, { types: ["attr-name", "variable"], style: { color: "#0c4a6e" } }, { types: ["deleted", "string", "attr-value", "template-punctuation"], style: { color: "#64748b" } }, { types: ["selector"], style: { color: "#D7BA7D" } }, { types: ["tag"], style: { color: "#0ea5e9" } }, { types: ["tag"], languages: ["markup"], style: { color: "#0ea5e9" } }, { types: ["punctuation", "operator"], style: { color: "#475569" } }, { types: ["punctuation"], languages: ["markup"], style: { color: "#808080" } }, { types: ["function"], style: { color: "#0e7490" } }, { types: ["class-name"], style: { color: "#0ea5e9" } }, { types: ["char"], style: { color: "#D16969" } } ] }; var jettwaveLight_default = theme16; // src/themes/oneDark.ts var theme17 = { plain: { backgroundColor: "hsl(220, 13%, 18%)", color: "hsl(220, 14%, 71%)", textShadow: "0 1px rgba(0, 0, 0, 0.3)" }, styles: [ { types: ["comment", "prolog", "cdata"], style: { color: "hsl(220, 10%, 40%)" } }, { types: ["doctype", "punctuation", "entity"], style: { color: "hsl(220, 14%, 71%)" } }, { types: [ "attr-name", "class-name", "maybe-class-name", "boolean", "constant", "number", "atrule" ], style: { color: "hsl(29, 54%, 61%)" } }, { types: ["keyword"], style: { color: "hsl(286, 60%, 67%)" } }, { types: ["property", "tag", "symbol", "deleted", "important"], style: { color: "hsl(355, 65%, 65%)" } }, { types: [ "selector", "string", "char", "builtin", "inserted", "regex", "attr-value" ], style: { color: "hsl(95, 38%, 62%)" } }, { types: ["variable", "operator", "function"], style: { color: "hsl(207, 82%, 66%)" } }, { types: ["url"], style: { color: "hsl(187, 47%, 55%)" } }, { types: ["deleted"], style: { textDecorationLine: "line-through" } }, { types: ["inserted"], style: { textDecorationLine: "underline" } }, { types: ["italic"], style: { fontStyle: "italic" } }, { types: ["important", "bold"], style: { fontWeight: "bold" } }, { types: ["important"], style: { color: "hsl(220, 14%, 71%)" } } ] }; var oneDark_default = theme17; // src/themes/oneLight.ts var theme18 = { plain: { backgroundColor: "hsl(230, 1%, 98%)", color: "hsl(230, 8%, 24%)" }, styles: [ { types: ["comment", "prolog", "cdata"], style: { color: "hsl(230, 4%, 64%)" } }, { types: ["doctype", "punctuation", "entity"], style: { color: "hsl(230, 8%, 24%)" } }, { types: [ "attr-name", "class-name", "boolean", "constant", "number", "atrule" ], style: { color: "hsl(35, 99%, 36%)" } }, { types: ["keyword"], style: { color: "hsl(301, 63%, 40%)" } }, { types: ["property", "tag", "symbol", "deleted", "important"], style: { color: "hsl(5, 74%, 59%)" } }, { types: [ "selector", "string", "char", "builtin", "inserted", "regex", "attr-value", "punctuation" ], style: { color: "hsl(119, 34%, 47%)" } }, { types: ["variable", "operator", "function"], style: { color: "hsl(221, 87%, 60%)" } }, { types: ["url"], style: { color: "hsl(198, 99%, 37%)" } }, { types: ["deleted"], style: { textDecorationLine: "line-through" } }, { types: ["inserted"], style: { textDecorationLine: "underline" } }, { types: ["italic"], style: { fontStyle: "italic" } }, { types: ["important", "bold"], style: { fontWeight: "bold" } }, { types: ["important"], style: { color: "hsl(230, 8%, 24%)" } } ] }; var oneLight_default = theme18; // src/themes/gruvboxMaterialDark.ts var theme19 = { plain: { color: "#ebdbb2", backgroundColor: "#292828" }, styles: [ { types: [ "imports", "class-name", "maybe-class-name", "constant", "doctype", "builtin", "function" ], style: { color: "#d8a657" } }, { types: ["property-access"], style: { color: "#7daea3" } }, { types: ["tag"], style: { color: "#e78a4e" } }, { types: ["attr-name", "char", "url", "regex"], style: { color: "#a9b665" } }, { types: ["attr-value", "string"], style: { color: "#89b482" } }, { types: ["comment", "prolog", "cdata", "operator", "inserted"], style: { color: "#a89984" } }, { types: [ "delimiter", "boolean", "keyword", "selector", "important", "atrule", "property", "variable", "deleted" ], style: { color: "#ea6962" } }, { types: ["entity", "number", "symbol"], style: { color: "#d3869b" } } ] }; var gruvboxMaterialDark_default = theme19; // src/themes/gruvboxMaterialLight.ts var theme20 = { plain: { color: "#654735", backgroundColor: "#f9f5d7" }, styles: [ { types: [ "delimiter", "boolean", "keyword", "selector", "important", "atrule", "property", "variable", "deleted" ], style: { color: "#af2528" } }, { types: [ "imports", "class-name", "maybe-class-name", "constant", "doctype", "builtin" ], style: { color: "#b4730e" } }, { types: ["string", "attr-value"], style: { color: "#477a5b" } }, { types: ["property-access"], style: { color: "#266b79" } }, { types: ["function", "attr-name", "char", "url"], style: { color: "#72761e" } }, { types: ["tag"], style: { color: "#b94c07" } }, { types: ["comment", "prolog", "cdata", "operator", "inserted"], style: { color: "#a89984" } }, { types: ["entity", "number", "symbol"], style: { color: "#924f79" } } ] }; var gruvboxMaterialLight_default = theme20; // src/index.ts // src/components/useThemeDictionary.ts // src/utils/themeToDict.ts var themeToDict = (theme21, language) => { const { plain } = theme21; const themeDict = theme21.styles.reduce((acc, themeEntry) => { const { languages: languages2, style } = themeEntry; if (languages2 && !languages2.includes(language)) { return acc; } themeEntry.types.forEach((type) => { const accStyle = __spreadValues(__spreadValues({}, acc[type]), style); acc[type] = accStyle; }); return acc; }, {}); themeDict.root = plain; themeDict.plain = __spreadProps(__spreadValues({}, plain), { backgroundColor: void 0 }); return themeDict; }; var themeToDict_default = themeToDict; // src/components/useThemeDictionary.ts var useThemeDictionary = (language, theme21) => { const [themeDictionary, setThemeDictionary] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)( themeToDict_default(theme21, language) ); const previousTheme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); const previousLanguage = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { if (theme21 !== previousTheme.current || language !== previousLanguage.current) { previousTheme.current = theme21; previousLanguage.current = language; setThemeDictionary(themeToDict_default(theme21, language)); } }, [language, theme21]); return themeDictionary; }; // src/components/useGetLineProps.ts var useGetLineProps = (themeDictionary) => (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( (_a) => { var _b = _a, { className, style, line } = _b, rest = __objRest(_b, ["className", "style", "line"]); const output = __spreadProps(__spreadValues({}, rest), { className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)("token-line", className) }); if (typeof themeDictionary === "object" && "plain" in themeDictionary) output.style = themeDictionary.plain; if (typeof style === "object") output.style = __spreadValues(__spreadValues({}, output.style || {}), style); return output; }, [themeDictionary] ); // src/components/useGetTokenProps.ts var useGetTokenProps = (themeDictionary) => { const styleForToken = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( ({ types, empty }) => { if (themeDictionary == null) return void 0; else if (types.length === 1 && types[0] === "plain") { return empty != null ? { display: "inline-block" } : void 0; } else if (types.length === 1 && empty != null) { return themeDictionary[types[0]]; } return Object.assign( empty != null ? { display: "inline-block" } : {}, ...types.map((type) => themeDictionary[type]) ); }, [themeDictionary] ); return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( (_a) => { var _b = _a, { token, className, style } = _b, rest = __objRest(_b, ["token", "className", "style"]); const output = __spreadProps(__spreadValues({}, rest), { className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)("token", ...token.types, className), children: token.content, style: styleForToken(token) }); if (style != null) { output.style = __spreadValues(__spreadValues({}, output.style || {}), style); } return output; }, [styleForToken] ); }; // src/utils/normalizeTokens.ts var newlineRe = /\r\n|\r|\n/; var normalizeEmptyLines = (line) => { if (line.length === 0) { line.push({ types: ["plain"], content: "\n", empty: true }); } else if (line.length === 1 && line[0].content === "") { line[0].content = "\n"; line[0].empty = true; } }; var appendTypes = (types, add) => { const typesSize = types.length; if (typesSize > 0 && types[typesSize - 1] === add) { return types; } return types.concat(add); }; var normalizeTokens = (tokens) => { const typeArrStack = [[]]; const tokenArrStack = [tokens]; const tokenArrIndexStack = [0]; const tokenArrSizeStack = [tokens.length]; let i = 0; let stackIndex = 0; let currentLine = []; const acc = [currentLine]; while (stackIndex > -1) { while ((i = tokenArrIndexStack[stackIndex]++) < tokenArrSizeStack[stackIndex]) { let content; let types = typeArrStack[stackIndex]; const tokenArr = tokenArrStack[stackIndex]; const token = tokenArr[i]; if (typeof token === "string") { types = stackIndex > 0 ? types : ["plain"]; content = token; } else { types = appendTypes(types, token.type); if (token.alias) { types = appendTypes(types, token.alias); } content = token.content; } if (typeof content !== "string") { stackIndex++; typeArrStack.push(types); tokenArrStack.push(content); tokenArrIndexStack.push(0); tokenArrSizeStack.push(content.length); continue; } const splitByNewlines = content.split(newlineRe); const newlineCount = splitByNewlines.length; currentLine.push({ types, content: splitByNewlines[0] }); for (let i2 = 1; i2 < newlineCount; i2++) { normalizeEmptyLines(currentLine); acc.push(currentLine = []); currentLine.push({ types, content: splitByNewlines[i2] }); } } stackIndex--; typeArrStack.pop(); tokenArrStack.pop(); tokenArrIndexStack.pop(); tokenArrSizeStack.pop(); } normalizeEmptyLines(currentLine); return acc; }; var normalizeTokens_default = normalizeTokens; // src/components/useTokenize.ts var useTokenize = ({ prism, code, grammar, language }) => { const prismRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(prism); return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => { if (grammar == null) return normalizeTokens_default([code]); const prismConfig = { code, grammar, language, tokens: [] }; prismRef.current.hooks.run("before-tokenize", prismConfig); prismConfig.tokens = prismRef.current.tokenize(code, grammar); prismRef.current.hooks.run("after-tokenize", prismConfig); return normalizeTokens_default(prismConfig.tokens); }, [code, grammar, language]); }; // src/components/highlight.ts var Highlight = ({ children, language: _language, code, theme: theme21, prism }) => { const language = _language.toLowerCase(); const themeDictionary = useThemeDictionary(language, theme21); const getLineProps = useGetLineProps(themeDictionary); const getTokenProps = useGetTokenProps(themeDictionary); const grammar = prism.languages[language]; const tokens = useTokenize({ prism, language, code, grammar }); return children({ tokens, className: `prism-code language-${language}`, style: themeDictionary != null ? themeDictionary.root : {}, getLineProps, getTokenProps }); }; // src/index.ts var Highlight2 = (props) => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Highlight, __spreadProps(__spreadValues({}, props), { prism: props.prism || Prism, theme: props.theme || vsDark_default, code: props.code, language: props.language })); /*! Bundled license information: prismjs/prism.js: (** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT <https://opensource.org/licenses/MIT> * @author Lea Verou <https://lea.verou.me> * @namespace * @public *) */ //# sourceMappingURL=index.mjs.map /***/ }), /***/ 6143: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ A: () => (/* binding */ invariant) /* harmony export */ }); var isProduction = "production" === 'production'; var prefix = 'Invariant failed'; function invariant(condition, message) { if (condition) { return; } if (isProduction) { throw new Error(prefix); } var provided = typeof message === 'function' ? message() : message; var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix; throw new Error(value); } /***/ }), /***/ 4629: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ __addDisposableResource: () => (/* binding */ __addDisposableResource), /* harmony export */ __assign: () => (/* binding */ __assign), /* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator), /* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator), /* harmony export */ __asyncValues: () => (/* binding */ __asyncValues), /* harmony export */ __await: () => (/* binding */ __await), /* harmony export */ __awaiter: () => (/* binding */ __awaiter), /* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet), /* harmony export */ __classPrivateFieldIn: () => (/* binding */ __classPrivateFieldIn), /* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet), /* harmony export */ __createBinding: () => (/* binding */ __createBinding), /* harmony export */ __decorate: () => (/* binding */ __decorate), /* harmony export */ __disposeResources: () => (/* binding */ __disposeResources), /* harmony export */ __esDecorate: () => (/* binding */ __esDecorate), /* harmony export */ __exportStar: () => (/* binding */ __exportStar), /* harmony export */ __extends: () => (/* binding */ __extends), /* harmony export */ __generator: () => (/* binding */ __generator), /* harmony export */ __importDefault: () => (/* binding */ __importDefault), /* harmony export */ __importStar: () => (/* binding */ __importStar), /* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject), /* harmony export */ __metadata: () => (/* binding */ __metadata), /* harmony export */ __param: () => (/* binding */ __param), /* harmony export */ __propKey: () => (/* binding */ __propKey), /* harmony export */ __read: () => (/* binding */ __read), /* harmony export */ __rest: () => (/* binding */ __rest), /* harmony export */ __rewriteRelativeImportExtension: () => (/* binding */ __rewriteRelativeImportExtension), /* harmony export */ __runInitializers: () => (/* binding */ __runInitializers), /* harmony export */ __setFunctionName: () => (/* binding */ __setFunctionName), /* harmony export */ __spread: () => (/* binding */ __spread), /* harmony export */ __spreadArray: () => (/* binding */ __spreadArray), /* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays), /* harmony export */ __values: () => (/* binding */ __values), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /****************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; function __extends(d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); } var __assign = function() { __assign = Object.assign || function __assign(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; } return __assign.apply(this, arguments); } function __rest(s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; } function __decorate(decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; } function __param(paramIndex, decorator) { return function (target, key) { decorator(target, key, paramIndex); } } function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); var _, done = false; for (var i = decorators.length - 1; i >= 0; i--) { var context = {}; for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; for (var p in contextIn.access) context.access[p] = contextIn.access[p]; context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); if (kind === "accessor") { if (result === void 0) continue; if (result === null || typeof result !== "object") throw new TypeError("Object expected"); if (_ = accept(result.get)) descriptor.get = _; if (_ = accept(result.set)) descriptor.set = _; if (_ = accept(result.init)) initializers.unshift(_); } else if (_ = accept(result)) { if (kind === "field") initializers.unshift(_); else descriptor[key] = _; } } if (target) Object.defineProperty(target, contextIn.name, descriptor); done = true; }; function __runInitializers(thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); } return useValue ? value : void 0; }; function __propKey(x) { return typeof x === "symbol" ? x : "".concat(x); }; function __setFunctionName(f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); }; function __metadata(metadataKey, metadataValue) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); } function __awaiter(thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); } function __generator(thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (g && (g = 0, op[0] && (_ = 0)), _) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } } var __createBinding = Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; }); function __exportStar(m, o) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); } function __values(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); if (o && typeof o.length === "number") return { next: function () { if (o && i >= o.length) o = void 0; return { value: o && o[i++], done: !o }; } }; throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); } function __read(o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; var i = m.call(o), r, ar = [], e; try { while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error: error }; } finally { try { if (r && !r.done && (m = i["return"])) m.call(i); } finally { if (e) throw e.error; } } return ar; } /** @deprecated */ function __spread() { for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); return ar; } /** @deprecated */ function __spreadArrays() { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; return r; } function __spreadArray(to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); } function __await(v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } function __asyncGenerator(thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var g = generator.apply(thisArg, _arguments || []), i, q = []; return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } function fulfill(value) { resume("next", value); } function reject(value) { resume("throw", value); } function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } } function __asyncDelegator(o) { var i, p; return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } } function __asyncValues(o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } } function __makeTemplateObject(cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __setModuleDefault = Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }; function __importStar(mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; } function __importDefault(mod) { return (mod && mod.__esModule) ? mod : { default: mod }; } function __classPrivateFieldGet(receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); } function __classPrivateFieldSet(receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; } function __classPrivateFieldIn(state, receiver) { if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); return typeof state === "function" ? receiver === state : state.has(receiver); } function __addDisposableResource(env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); var dispose, inner; if (async) { if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); dispose = value[Symbol.asyncDispose]; } if (dispose === void 0) { if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); dispose = value[Symbol.dispose]; if (async) inner = dispose; } if (typeof dispose !== "function") throw new TypeError("Object not disposable."); if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; env.stack.push({ value: value, dispose: dispose, async: async }); } else if (async) { env.stack.push({ async: true }); } return value; } var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { var e = new Error(message); return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; }; function __disposeResources(env) { function fail(e) { env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; env.hasError = true; } var r, s = 0; function next() { while (r = env.stack.pop()) { try { if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); if (r.dispose) { var result = r.dispose.call(r.value); if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); } else s |= 1; } catch (e) { fail(e); } } if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); if (env.hasError) throw env.error; } return next(); } function __rewriteRelativeImportExtension(path, preserveJsx) { if (typeof path === "string" && /^\.\.?\//.test(path)) { return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); }); } return path; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ __extends, __assign, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __createBinding, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension, }); /***/ }), /***/ 4784: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* * AUTOGENERATED - DON'T EDIT * Your edits in this file will be overwritten in the next build! * Modify the docusaurus.config.js file at your site's root instead. */ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ "title": "My Site", "tagline": "Dinosaurs are cool", "favicon": "img/favicon.ico", "future": { "v4": { "removeLegacyPostBuildHeadAttribute": true }, "experimental_faster": { "swcJsLoader": false, "swcJsMinimizer": false, "swcHtmlMinimizer": false, "lightningCssMinimizer": false, "mdxCrossCompilerCache": false, "rspackBundler": false, "rspackPersistentCache": false, "ssgWorkerThreads": false }, "experimental_storage": { "type": "localStorage", "namespace": false }, "experimental_router": "browser" }, "url": "https://your-docusaurus-site.example.com", "baseUrl": "/", "organizationName": "facebook", "projectName": "docusaurus", "onBrokenLinks": "throw", "onBrokenMarkdownLinks": "warn", "i18n": { "defaultLocale": "en", "locales": [ "en" ], "path": "i18n", "localeConfigs": {} }, "presets": [ [ "classic", { "docs": { "sidebarPath": "./sidebars.ts", "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/" }, "blog": { "showReadingTime": true, "feedOptions": { "type": [ "rss", "atom" ], "xslt": true }, "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/", "onInlineTags": "warn", "onInlineAuthors": "warn", "onUntruncatedBlogPosts": "warn" }, "theme": { "customCss": "./src/css/custom.css" } } ] ], "themeConfig": { "image": "img/docusaurus-social-card.jpg", "navbar": { "title": "My Site", "logo": { "alt": "My Site Logo", "src": "img/logo.svg" }, "items": [ { "type": "docSidebar", "sidebarId": "tutorialSidebar", "position": "left", "label": "Tutorial" }, { "to": "/blog", "label": "Blog", "position": "left" }, { "href": "https://github.com/facebook/docusaurus", "label": "GitHub", "position": "right" } ], "hideOnScroll": false }, "footer": { "style": "dark", "links": [ { "title": "Docs", "items": [ { "label": "Tutorial", "to": "/docs/intro" } ] }, { "title": "Community", "items": [ { "label": "Stack Overflow", "href": "https://stackoverflow.com/questions/tagged/docusaurus" }, { "label": "Discord", "href": "https://discordapp.com/invite/docusaurus" }, { "label": "X", "href": "https://x.com/docusaurus" } ] }, { "title": "More", "items": [ { "label": "Blog", "to": "/blog" }, { "label": "GitHub", "href": "https://github.com/facebook/docusaurus" } ] } ], "copyright": "Copyright © 2025 My Project, Inc. Built with Docusaurus." }, "prism": { "theme": { "plain": { "color": "#393A34", "backgroundColor": "#f6f8fa" }, "styles": [ { "types": [ "comment", "prolog", "doctype", "cdata" ], "style": { "color": "#999988", "fontStyle": "italic" } }, { "types": [ "namespace" ], "style": { "opacity": 0.7 } }, { "types": [ "string", "attr-value" ], "style": { "color": "#e3116c" } }, { "types": [ "punctuation", "operator" ], "style": { "color": "#393A34" } }, { "types": [ "entity", "url", "symbol", "number", "boolean", "variable", "constant", "property", "regex", "inserted" ], "style": { "color": "#36acaa" } }, { "types": [ "atrule", "keyword", "attr-name", "selector" ], "style": { "color": "#00a4db" } }, { "types": [ "function", "deleted", "tag" ], "style": { "color": "#d73a49" } }, { "types": [ "function-variable" ], "style": { "color": "#6f42c1" } }, { "types": [ "tag", "selector", "keyword" ], "style": { "color": "#00009f" } } ] }, "darkTheme": { "plain": { "color": "#F8F8F2", "backgroundColor": "#282A36" }, "styles": [ { "types": [ "prolog", "constant", "builtin" ], "style": { "color": "rgb(189, 147, 249)" } }, { "types": [ "inserted", "function" ], "style": { "color": "rgb(80, 250, 123)" } }, { "types": [ "deleted" ], "style": { "color": "rgb(255, 85, 85)" } }, { "types": [ "changed" ], "style": { "color": "rgb(255, 184, 108)" } }, { "types": [ "punctuation", "symbol" ], "style": { "color": "rgb(248, 248, 242)" } }, { "types": [ "string", "char", "tag", "selector" ], "style": { "color": "rgb(255, 121, 198)" } }, { "types": [ "keyword", "variable" ], "style": { "color": "rgb(189, 147, 249)", "fontStyle": "italic" } }, { "types": [ "comment" ], "style": { "color": "rgb(98, 114, 164)" } }, { "types": [ "attr-name" ], "style": { "color": "rgb(241, 250, 140)" } } ] }, "additionalLanguages": [], "magicComments": [ { "className": "theme-code-block-highlighted-line", "line": "highlight-next-line", "block": { "start": "highlight-start", "end": "highlight-end" } } ] }, "colorMode": { "defaultMode": "light", "disableSwitch": false, "respectPrefersColorScheme": false }, "docs": { "versionPersistence": "localStorage", "sidebar": { "hideable": false, "autoCollapseCategories": false } }, "blog": { "sidebar": { "groupByYear": true } }, "metadata": [], "tableOfContents": { "minHeadingLevel": 2, "maxHeadingLevel": 3 } }, "baseUrlIssueBanner": true, "onBrokenAnchors": "warn", "onDuplicateRoutes": "warn", "staticDirectories": [ "static" ], "customFields": {}, "plugins": [], "themes": [], "scripts": [], "headTags": [], "stylesheets": [], "clientModules": [], "titleDelimiter": "|", "noIndex": false, "markdown": { "format": "mdx", "mermaid": false, "mdx1Compat": { "comments": true, "admonitions": true, "headingIds": true }, "anchors": { "maintainCase": false } } }); /***/ }), /***/ 2654: /***/ ((module) => { "use strict"; module.exports = {}; /***/ }), /***/ 5516: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}'); /***/ }), /***/ 5513: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"title":"Recent posts","items":[{"title":"Welcome","permalink":"/blog/welcome","unlisted":false,"date":"2021-08-26T00:00:00.000Z"},{"title":"MDX Blog Post","permalink":"/blog/mdx-blog-post","unlisted":false,"date":"2021-08-01T00:00:00.000Z"},{"title":"Long Blog Post","permalink":"/blog/long-blog-post","unlisted":false,"date":"2019-05-29T00:00:00.000Z"},{"title":"First Blog Post","permalink":"/blog/first-blog-post","unlisted":false,"date":"2019-05-28T00:00:00.000Z"}]}'); /***/ }), /***/ 1912: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"blogBasePath":"/blog","blogTitle":"Blog","authorsListPath":"/blog/authors"}'); /***/ }), /***/ 7735: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"archive":{"blogPosts":[{"id":"welcome","metadata":{"permalink":"/blog/welcome","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"Docusaurus blogging features are powered by the blog plugin.","date":"2021-08-26T00:00:00.000Z","tags":[{"inline":false,"label":"Facebook","permalink":"/blog/tags/facebook","description":"Facebook tag description"},{"inline":false,"label":"Hello","permalink":"/blog/tags/hello","description":"Hello tag description"},{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.465,"hasTruncateMarker":true,"authors":[{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"},{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["slorber","yangshun"],"tags":["facebook","hello","docusaurus"]},"unlisted":false,"nextItem":{"title":"MDX Blog Post","permalink":"/blog/mdx-blog-post"}},"content":"[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).\\n\\nHere are a few tips you might find useful.\\n\\n<!-- truncate -->\\n\\nSimply add Markdown files (or folders) to the `blog` directory.\\n\\nRegular blog authors can be added to `authors.yml`.\\n\\nThe blog post date can be extracted from filenames, such as:\\n\\n- `2019-05-30-welcome.md`\\n- `2019-05-30-welcome/index.md`\\n\\nA blog post folder can be convenient to co-locate blog post images:\\n\\n![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)\\n\\nThe blog supports tags as well!\\n\\n**And if you don\'t want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config."},{"id":"mdx-blog-post","metadata":{"permalink":"/blog/mdx-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-01-mdx-blog-post.mdx","source":"@site/blog/2021-08-01-mdx-blog-post.mdx","title":"MDX Blog Post","description":"Blog posts support Docusaurus Markdown features, such as MDX.","date":"2021-08-01T00:00:00.000Z","tags":[{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.235,"hasTruncateMarker":true,"authors":[{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"}],"frontMatter":{"slug":"mdx-blog-post","title":"MDX Blog Post","authors":["slorber"],"tags":["docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/blog/welcome"},"nextItem":{"title":"Long Blog Post","permalink":"/blog/long-blog-post"}},"content":"Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).\\n\\n:::tip\\n\\nUse the power of React to create interactive blog posts.\\n\\n:::\\n\\n{/* truncate */}\\n\\nFor example, use JSX to create an interactive button:\\n\\n```js\\n<button onClick={() => alert(\'button clicked!\')}>Click me!</button>\\n```\\n\\n<button onClick={() => alert(\'button clicked!\')}>Click me!</button>"},{"id":"long-blog-post","metadata":{"permalink":"/blog/long-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-29-long-blog-post.md","source":"@site/blog/2019-05-29-long-blog-post.md","title":"Long Blog Post","description":"This is the summary of a very long blog post,","date":"2019-05-29T00:00:00.000Z","tags":[{"inline":false,"label":"Hello","permalink":"/blog/tags/hello","description":"Hello tag description"},{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":2.06,"hasTruncateMarker":true,"authors":[{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"long-blog-post","title":"Long Blog Post","authors":"yangshun","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"MDX Blog Post","permalink":"/blog/mdx-blog-post"},"nextItem":{"title":"First Blog Post","permalink":"/blog/first-blog-post"}},"content":"This is the summary of a very long blog post,\\n\\nUse a `<!--` `truncate` `-->` comment to limit blog post size in the list view.\\n\\n<!-- truncate -->\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\\n\\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"},{"id":"first-blog-post","metadata":{"permalink":"/blog/first-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-28-first-blog-post.md","source":"@site/blog/2019-05-28-first-blog-post.md","title":"First Blog Post","description":"Lorem ipsum dolor sit amet...","date":"2019-05-28T00:00:00.000Z","tags":[{"inline":false,"label":"Hola","permalink":"/blog/tags/hola","description":"Hola tag description"},{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.135,"hasTruncateMarker":true,"authors":[{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"},{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"first-blog-post","title":"First Blog Post","authors":["slorber","yangshun"],"tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Long Blog Post","permalink":"/blog/long-blog-post"}},"content":"Lorem ipsum dolor sit amet...\\n\\n<!-- truncate -->\\n\\n...consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet"}]}}'); /***/ }), /***/ 6600: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"authors":[{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun","count":3},{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber","count":3}]}'); /***/ }), /***/ 4971: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"author":{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber","count":3},"listMetadata":{"permalink":"/blog/authors/all-sebastien-lorber-articles","page":1,"postsPerPage":10,"totalPages":1,"totalCount":3,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 6067: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"author":{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun","count":3},"listMetadata":{"permalink":"/blog/authors/yangshun","page":1,"postsPerPage":10,"totalPages":1,"totalCount":3,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 9328: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"metadata":{"permalink":"/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":4,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 8070: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"tags":[{"label":"Facebook","permalink":"/blog/tags/facebook","description":"Facebook tag description","count":1},{"label":"Hello","permalink":"/blog/tags/hello","description":"Hello tag description","count":2},{"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description","count":4},{"label":"Hola","permalink":"/blog/tags/hola","description":"Hola tag description","count":1}]}'); /***/ }), /***/ 8174: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"tag":{"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description","allTagsPath":"/blog/tags","count":4,"unlisted":false},"listMetadata":{"permalink":"/blog/tags/docusaurus","page":1,"postsPerPage":10,"totalPages":1,"totalCount":4,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 8539: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"tag":{"label":"Facebook","permalink":"/blog/tags/facebook","description":"Facebook tag description","allTagsPath":"/blog/tags","count":1,"unlisted":false},"listMetadata":{"permalink":"/blog/tags/facebook","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 4035: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"tag":{"label":"Hello","permalink":"/blog/tags/hello","description":"Hello tag description","allTagsPath":"/blog/tags","count":2,"unlisted":false},"listMetadata":{"permalink":"/blog/tags/hello","page":1,"postsPerPage":10,"totalPages":1,"totalCount":2,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 7134: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"tag":{"label":"Hola","permalink":"/blog/tags/hola","description":"Hola tag description","allTagsPath":"/blog/tags","count":1,"unlisted":false},"listMetadata":{"permalink":"/blog/tags/hola","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}}'); /***/ }), /***/ 2421: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"permalink":"/blog/first-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-28-first-blog-post.md","source":"@site/blog/2019-05-28-first-blog-post.md","title":"First Blog Post","description":"Lorem ipsum dolor sit amet...","date":"2019-05-28T00:00:00.000Z","tags":[{"inline":false,"label":"Hola","permalink":"/blog/tags/hola","description":"Hola tag description"},{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.135,"hasTruncateMarker":true,"authors":[{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"},{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"first-blog-post","title":"First Blog Post","authors":["slorber","yangshun"],"tags":["hola","docusaurus"]},"unlisted":false,"prevItem":{"title":"Long Blog Post","permalink":"/blog/long-blog-post"}}'); /***/ }), /***/ 5802: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"permalink":"/blog/long-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-29-long-blog-post.md","source":"@site/blog/2019-05-29-long-blog-post.md","title":"Long Blog Post","description":"This is the summary of a very long blog post,","date":"2019-05-29T00:00:00.000Z","tags":[{"inline":false,"label":"Hello","permalink":"/blog/tags/hello","description":"Hello tag description"},{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":2.06,"hasTruncateMarker":true,"authors":[{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"long-blog-post","title":"Long Blog Post","authors":"yangshun","tags":["hello","docusaurus"]},"unlisted":false,"prevItem":{"title":"MDX Blog Post","permalink":"/blog/mdx-blog-post"},"nextItem":{"title":"First Blog Post","permalink":"/blog/first-blog-post"}}'); /***/ }), /***/ 1632: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"permalink":"/blog/mdx-blog-post","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-01-mdx-blog-post.mdx","source":"@site/blog/2021-08-01-mdx-blog-post.mdx","title":"MDX Blog Post","description":"Blog posts support Docusaurus Markdown features, such as MDX.","date":"2021-08-01T00:00:00.000Z","tags":[{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.235,"hasTruncateMarker":true,"authors":[{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"}],"frontMatter":{"slug":"mdx-blog-post","title":"MDX Blog Post","authors":["slorber"],"tags":["docusaurus"]},"unlisted":false,"prevItem":{"title":"Welcome","permalink":"/blog/welcome"},"nextItem":{"title":"Long Blog Post","permalink":"/blog/long-blog-post"}}'); /***/ }), /***/ 8811: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"permalink":"/blog/welcome","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"Docusaurus blogging features are powered by the blog plugin.","date":"2021-08-26T00:00:00.000Z","tags":[{"inline":false,"label":"Facebook","permalink":"/blog/tags/facebook","description":"Facebook tag description"},{"inline":false,"label":"Hello","permalink":"/blog/tags/hello","description":"Hello tag description"},{"inline":false,"label":"Docusaurus","permalink":"/blog/tags/docusaurus","description":"Docusaurus tag description"}],"readingTime":0.465,"hasTruncateMarker":true,"authors":[{"name":"Sébastien Lorber","title":"Docusaurus maintainer","url":"https://sebastienlorber.com","page":{"permalink":"/blog/authors/all-sebastien-lorber-articles"},"socials":{"x":"https://x.com/sebastienlorber","linkedin":"https://www.linkedin.com/in/sebastienlorber/","github":"https://github.com/slorber","newsletter":"https://thisweekinreact.com"},"imageURL":"https://github.com/slorber.png","key":"slorber"},{"name":"Yangshun Tay","title":"Ex-Meta Staff Engineer, Co-founder GreatFrontEnd","url":"https://linkedin.com/in/yangshun","page":{"permalink":"/blog/authors/yangshun"},"socials":{"x":"https://x.com/yangshunz","linkedin":"https://www.linkedin.com/in/yangshun/","github":"https://github.com/yangshun","newsletter":"https://www.greatfrontend.com"},"imageURL":"https://github.com/yangshun.png","key":"yangshun"}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["slorber","yangshun"],"tags":["facebook","hello","docusaurus"]},"unlisted":false,"nextItem":{"title":"MDX Blog Post","permalink":"/blog/mdx-blog-post"}}'); /***/ }), /***/ 7093: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}'); /***/ }), /***/ 6164: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Tutorial Intro","href":"/docs/intro","docId":"intro","unlisted":false},{"type":"category","label":"Tutorial - Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Create a Page","href":"/docs/tutorial-basics/create-a-page","docId":"tutorial-basics/create-a-page","unlisted":false},{"type":"link","label":"Create a Document","href":"/docs/tutorial-basics/create-a-document","docId":"tutorial-basics/create-a-document","unlisted":false},{"type":"link","label":"Create a Blog Post","href":"/docs/tutorial-basics/create-a-blog-post","docId":"tutorial-basics/create-a-blog-post","unlisted":false},{"type":"link","label":"Markdown Features","href":"/docs/tutorial-basics/markdown-features","docId":"tutorial-basics/markdown-features","unlisted":false},{"type":"link","label":"Deploy your site","href":"/docs/tutorial-basics/deploy-your-site","docId":"tutorial-basics/deploy-your-site","unlisted":false},{"type":"link","label":"Congratulations!","href":"/docs/tutorial-basics/congratulations","docId":"tutorial-basics/congratulations","unlisted":false}],"href":"/docs/category/tutorial---basics"},{"type":"category","label":"Tutorial - Extras","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Manage Docs Versions","href":"/docs/tutorial-extras/manage-docs-versions","docId":"tutorial-extras/manage-docs-versions","unlisted":false},{"type":"link","label":"Translate your site","href":"/docs/tutorial-extras/translate-your-site","docId":"tutorial-extras/translate-your-site","unlisted":false}],"href":"/docs/category/tutorial---extras"}]},"docs":{"intro":{"id":"intro","title":"Tutorial Intro","description":"Let\'s discover Docusaurus in less than 5 minutes.","sidebar":"tutorialSidebar"},"tutorial-basics/congratulations":{"id":"tutorial-basics/congratulations","title":"Congratulations!","description":"You have just learned the basics of Docusaurus and made some changes to the initial template.","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-blog-post":{"id":"tutorial-basics/create-a-blog-post","title":"Create a Blog Post","description":"Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-document":{"id":"tutorial-basics/create-a-document","title":"Create a Document","description":"Documents are groups of pages connected through:","sidebar":"tutorialSidebar"},"tutorial-basics/create-a-page":{"id":"tutorial-basics/create-a-page","title":"Create a Page","description":"Add Markdown or React files to src/pages to create a standalone page:","sidebar":"tutorialSidebar"},"tutorial-basics/deploy-your-site":{"id":"tutorial-basics/deploy-your-site","title":"Deploy your site","description":"Docusaurus is a static-site-generator (also called Jamstack).","sidebar":"tutorialSidebar"},"tutorial-basics/markdown-features":{"id":"tutorial-basics/markdown-features","title":"Markdown Features","description":"Docusaurus supports Markdown and a few additional features.","sidebar":"tutorialSidebar"},"tutorial-extras/manage-docs-versions":{"id":"tutorial-extras/manage-docs-versions","title":"Manage Docs Versions","description":"Docusaurus can manage multiple versions of your docs.","sidebar":"tutorialSidebar"},"tutorial-extras/translate-your-site":{"id":"tutorial-extras/translate-your-site","title":"Translate your site","description":"Let\'s translate docs/intro.md to French.","sidebar":"tutorialSidebar"}}}}'); /***/ }), /***/ 1549: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Basics","description":"5 minutes to learn the most important Docusaurus concepts.","slug":"/category/tutorial---basics","permalink":"/docs/category/tutorial---basics","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Tutorial Intro","permalink":"/docs/intro"},"next":{"title":"Create a Page","permalink":"/docs/tutorial-basics/create-a-page"}}}}'); /***/ }), /***/ 3618: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"categoryGeneratedIndex":{"title":"Tutorial - Extras","slug":"/category/tutorial---extras","permalink":"/docs/category/tutorial---extras","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Congratulations!","permalink":"/docs/tutorial-basics/congratulations"},"next":{"title":"Manage Docs Versions","permalink":"/docs/tutorial-extras/manage-docs-versions"}}}}'); /***/ }), /***/ 8552: /***/ ((module) => { "use strict"; module.exports = /*#__PURE__*/JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}'); /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ id: moduleId, /******/ loaded: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = __webpack_modules__; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = __webpack_module_cache__; /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ var getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { /******/ __webpack_require__.p = "/"; /******/ })(); /******/ /************************************************************************/ /******/ /******/ // module factories are used so entry inlining is disabled /******/ // startup /******/ // Load entry module and return exports /******/ var __webpack_exports__ = __webpack_require__(1200); /******/ module.exports = __webpack_exports__; /******/ /******/ })() ;