1(self["webpackChunk_yarnpkg_docusaurus"] = self["webpackChunk_yarnpkg_docusaurus"] || []).push([[8792],{ 2 3/***/ 318: 4/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 5 6"use strict"; 7__webpack_require__.r(__webpack_exports__); 8// extracted by mini-css-extract-plugin 9 10 11/***/ }), 12 13/***/ 1281: 14/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 15 16"use strict"; 17// ESM COMPAT FLAG 18__webpack_require__.r(__webpack_exports__); 19 20// EXPORTS 21__webpack_require__.d(__webpack_exports__, { 22 "default": () => (/* binding */ useBrokenLinks) 23}); 24 25// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 26var jsx_runtime = __webpack_require__(48231); 27// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 28var react = __webpack_require__(77407); 29;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/BrokenLinksContext.js 30 31 32const createStatefulBrokenLinks = () => { 33 const allAnchors = /* @__PURE__ */ new Set(); 34 const allLinks = /* @__PURE__ */ new Set(); 35 return { 36 collectAnchor: (anchor) => { 37 typeof anchor !== "undefined" && allAnchors.add(anchor); 38 }, 39 collectLink: (link) => { 40 typeof link !== "undefined" && allLinks.add(link); 41 }, 42 getCollectedAnchors: () => [...allAnchors], 43 getCollectedLinks: () => [...allLinks] 44 }; 45}; 46const Context = react.createContext({ 47 collectAnchor: () => { 48 }, 49 collectLink: () => { 50 } 51}); 52const useBrokenLinksContext = () => (0,react.useContext)(Context); 53function BrokenLinksProvider({ children, brokenLinks }) { 54 return /* @__PURE__ */ jsx(Context.Provider, { 55 value: brokenLinks, 56 children 57 }); 58} 59 60;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useBrokenLinks.js 61 62function useBrokenLinks() { 63 return useBrokenLinksContext(); 64} 65 66 67/***/ }), 68 69/***/ 1298: 70/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 71 72"use strict"; 73/* harmony export */ __webpack_require__.d(__webpack_exports__, { 74/* harmony export */ Bc: () => (/* binding */ A), 75/* harmony export */ E8: () => (/* binding */ cn), 76/* harmony export */ a1: () => (/* binding */ an) 77/* harmony export */ }); 78/* unused harmony exports DocSearch, version */ 79/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 80/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(78993); 81function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void r(e)}c.done?t(u):Promise.resolve(u).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){a(i,n,o,c,u,"next",e)}function u(e){a(i,n,o,c,u,"throw",e)}c(void 0)}))}}function u(e,t,r){return t=p(t),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,d()?Reflect.construct(t,r||[],p(e).constructor):t.apply(e,r))}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,r){return Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
vendor: 5,506 bytes, line 81
81).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(null,arguments)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(){b=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),c=new x(n||[]);return o(a,"_invoke",{value:D(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var m="suspendedStart",p="suspendedYield",v="executing",d="completed",h={};function y(){}function g(){}function S(){}var O={};l(O,a,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(C([])));E&&E!==r&&n.call(E,a)&&(O=E);var j=S.prototype=y.prototype=Object.create(O);function P(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function r(o,i,a,c){var u=f(e[o],e,i);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function D(t,r,n){var o=m;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=k(c,n);if(u){if(u===h)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===m)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var l=f(t,r,n);if("normal"===l.type){if(o=n.done?d:p,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=d,n.method="throw",n.arg=l.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,h;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,h):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=S,o(j,"constructor",{value:S,configurable:!0}),o(S,"constructor",{value:g,configurable:!0}),g.displayName=l(S,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,l(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},P(I.prototype),l(I.prototype,c,(function(){return this})),t.AsyncIterator=I,t.async=function(e,r,n,o,i){void 0===i&&(i=Prom
vendor: 8,222 bytes, line 81
81ise);var a=new I(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},P(j),l(j,u,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),h}},t}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||E(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function j(e){var t="function"==typeof Map?new Map:void 0;return j=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(d())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&S(o,r.prototype),o}(e,arguments,p(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),S(r,e)},j(e)}function P(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function I(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var D=["translations"],k="Ctrl";var A=react__WEBPACK_IMPORTED_MODULE_0__.forwardRef((function(n,o){var i=n.translations,a=void 0===i?{}:i,c=g(n,D),u=a.buttonText,l=void 0===u?"Search":u,s=a.buttonAriaLabel,f=void 0===s?"Search":s,p=O((0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),2),v=p[0],d=p[1];(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?d("â"):d(k))}),[]);var h=O(v===k?[k,"Ctrl",react__WEBPACK_IMPORTED_MODULE_0__.createElement(P,null)]:["Meta","Command",v],3),y=h[0],b=h[1],S=h[2];return react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",m({type:"button",className:"DocSearch DocSearch-Button","aria-label":"".concat(f," (").concat(b,"+K)")},c,{ref:o}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Button-Container"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(I,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Button-Placeholder"},l)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Button-Keys"},null!==v&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(_,{reactsToKey:y},S),react__WEBPACK_IMPORTED_MODULE_0__.createElement(_,{reactsToKey:"k"},"K"))))}));function _(n){var o=n.reactsToKey,i=n.children,a=O((0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(!1),2),c=a[0],u=a[1];return (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)((function(){if(o)return window.addEventListener("keydown",e),window.addEventListener("keyup",t),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",t)};function e(e){e.key===o&&u(!0)}function t(e){e.key!==o&&"Meta"!==e.key||u(!1)}}),[o]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("kbd",{className:c?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},i)}function x(e,t){var r=void 0;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];r&&clearTimeout(r),r=setTimeout((function(){return e.apply(void 0,o)}),t)}}function C(e){return e.reduce((function(e,t){return e.concat(t)}),[])}var N=0;function T(e){return 0===e.collections.length?0:e.collections.reduce((function(e,t){return e+t.items.length}),0)}function L(e){return e!==Object(e)}function R(e,t){if(e===t)return!0;
81if(L(e)||L(t)||"function"==typeof e||"function"==typeof t)return e===t;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];if(!(o in t))return!1;if(!R(e[o],t[o]))return!1}return!0}var q=function(){};var M=[{segment:"autocomplete-core",version:"1.17.9"}];function H(e){var t=e.item,r=e.items,n=void 0===r?[]:r;return{index:t.__autocomplete_indexName,items:[t],positions:[1+n.findIndex((function(e){return e.objectID===t.objectID}))],queryID:t.__autocomplete_queryID,algoliaSource:["autocomplete"]}}function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return F(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var U=["items"],K=["items"];function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function z(e){return function(e){if(Array.isArray(e))return J(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return J(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Q(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){G(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==V(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==V(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===V(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e){return e.map((function(e){var t=e.items,r=Q(e,U);return Z(Z({},r),{},{objectIDs:(null==t?void 0:t.map((function(e){return e.objectID})))||r.objectIDs})}
vendor: 18,622 bytes, line 81
81))}function $(e){var t,r,n,o=(t=B((e.version||"").split(".").map(Number),2),r=t[0],n=t[1],r>=3||2===r&&n>=4||1===r&&n>=10);function i(t,r,n){if(o&&void 0!==n){var i=n[0].__autocomplete_algoliaCredentials,a={"X-Algolia-Application-Id":i.appId,"X-Algolia-API-Key":i.apiKey};e.apply(void 0,[t].concat(z(r),[{headers:a}]))}else e.apply(void 0,[t].concat(z(r)))}return{init:function(t,r){e("init",{appId:t,apiKey:r})},setAuthenticatedUserToken:function(t){e("setAuthenticatedUserToken",t)},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.length>0&&i("clickedObjectIDsAfterSearch",Y(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.length>0&&i("clickedObjectIDs",Y(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r.length>0&&e.apply(void 0,["clickedFilters"].concat(r))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.length>0&&i("convertedObjectIDsAfterSearch",Y(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.length>0&&i("convertedObjectIDs",Y(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r.length>0&&e.apply(void 0,["convertedFilters"].concat(r))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.length>0&&t.reduce((function(e,t){var r=t.items,n=Q(t,K);return[].concat(z(e),z(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n<e.objectIDs.length;n+=t)r.push(Z(Z({},e),{},{objectIDs:e.objectIDs.slice(n,n+t)}));return r}(Z(Z({},n),{},{objectIDs:(null==r?void 0:r.map((function(e){return e.objectID})))||n.objectIDs})).map((function(e){return{items:r,payload:e}}))))}),[]).forEach((function(e){var t=e.items;return i("viewedObjectIDs",[e.payload],t)}))},viewedFilters:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r.length>0&&e.apply(void 0,["viewedFilters"].concat(r))}}}function X(e){var t=e.items.reduce((function(e,t){var r;return e[t.__autocomplete_indexName]=(null!==(r=e[t.__autocomplete_indexName])&&void 0!==r?r:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function ee(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function re(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ne(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){ae(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ae(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==te(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==te(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===te(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ce="2.15.0",ue="https://cdn.jsdelivr.net/npm/search-insights@".concat(ce,"/dist/search-insights.min.js"),le=x((function(e){var t=e.onItemsChange,r=e.items,n=e.insights,o=e.state;t({insights:n,insightsEvents:X({items:r}).map((function(e){return ie({eventName:"Items Viewed"},e)})),state:o})}),400);function se(e){var t=function(e){return ie({onItemsChange:function(e){var t=e.insights,r=e.insightsEvents,n=e.state;t.viewedObjectIDs.apply(t,re(r.map((function(e){return ie(ie({},e),{},{algoliaSource:fe(e.algoliaSource,n.context)})}))))},onSelect:function(e){var t=e.insights,r=e.insightsEvents,n=e.state;t.clickedObjectIDsAfterSearch.apply(t,re(r.map((function(e){return ie(ie({},e),{},{algoliaSource:fe(e.algoliaSource,n.context)})}))))},onActive:q,__autocomplete_clickAnalytics:!0},e)}(e),r=t.insightsClient,n=t.insightsInitParams,o=t.onItemsChange,i=t.onSelect,a=t.onActive,c=t.__autocomplete_clickAnalytics,u=r;if(r||function(e){if("undefined"!=typeof window)e({window:window})}((function(e){var t=e.window,r=t.AlgoliaAnalyticsObject||"aa";"string"==typeof r&&(u=t[r]),u||(t.AlgoliaAnalyticsObject=r,t[r]||(t[r]=function(){t[r].queue||(t[r].queue=[]);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t[r].queue.push(n)}),t[r].version=ce,u=t[r],function(e){var t="[Autocomplete]: Could not load search-insights.js. Please load it manually following https://alg.li/insights-autocomplete";try{var r=e.document.createElement("script");r.async=!0,r.src=ue,r.onerror=function(){console.error(t)},document.body.appendChild(r)}catch(e){console.error(t)}}(t))})),!u)return{};n&&u("init",ie({partial:!0},n));var l=$(u),s={current:[]},f=x((function(e){var t=e.state;if(t.isOpen){var r=t.collections.reduce((function(e,t){return[].concat(re(e),re(t.items))}),[]).filter(ee);R(s.current.map((function(e){return e.objectID})),r.map((function(e){return e.objectID})))||(s.current=r,r.length>0&&le({onItemsChange:o,items:r,insights:l,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,r=e.onSelect,n=e.onActive;function o(e){t({algoliaInsightsPlugin:{__algoliaSearchParameters:ie(ie({},c?{clickAnalytics:!0}:{}),e?{userToken:me(e)}:{}),insights:l}})}u("addAlgoliaAgent","insights-plugin"),o(),u("onUserTokenChange",(function(e){o(e)})),u("getUserToken",null,(function(e,t){o(t)})),r((function(e){var t=e.item,r=e.state,n=e.event,o=e.source;ee(t)&&i({state:r,event:n,insights:l,item:t,insightsEvents:[ie({eventName:"Item Selected"},H({item:t,items:o.getItems().filter(ee)}))]})})),n((function(e){var t=e.item,r=e.source,n=e.state,o=e.event;ee(t)&&a({state:n,event:o,insights:l,item:t,insightsEvents:[ie({eventName:"Item Active"},H({item:t,items:r.getItems().filter(ee)}))]})}))},onStateChange:function(e){var t=e.state;f({state:t})},__autocomplete_pluginOptions:e}}function fe(){var e,t=arguments.length>1?arguments[1]:void 0;return[].concat(re(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]),["autocomplete-internal"],re(null!==(e=t.algoliaInsightsPlugin)&&void 0!==e&&e.__automaticInsights?["autocomplete-automatic"]:[]))}function me(e){return"number"==typeof e?e.toString():e}function pe(e,t){var r=t;return{then:function(t,n){return pe(e.then(de(t,r,e),de(n,r,e)),r)},catch:function(t){return pe(e.catch(de(t,r,e)),r)},finally:function(t){return t&&r.onCancelList.push(t),pe(e.finally(de(t&&function(){return r.onCancelList=[],t()},r,e)),r)},cancel:function(){r.isCanceled=!0;var e=r.onCancelList;r.onCancelList=[],e.forEach((function(e){e()}))},isCanceled:function(){return!0===r.isCanceled}}}function ve(e){return pe(e,{isCanceled:!1,onCancelList:[]})}function de(e,t,r){return e?function(r){return t.isCanceled?r:e(r)}:r}function he(e,t,r,n){if(!r)return null;if(e<0&&(null===t||null!==n&&0===t))return r+e;var o=(null===t?-1:t)+e;return o<=-1||o>=r?null===n?null:0:o}function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){be(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function be(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Se(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Se(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e){return Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Se(e)}function Oe(e){var t=function(e){var t=e.collections.map((function(e){return e.items.length})).reduce((function(e,t,r){var n=(e[r-1]||0)+t;return e.push(n),e}),[]).reduce((function(t,r){return r<=e.activeItemId?t+1:t}),0);return e.collections[t]}(e);if(!t)return null;var r=t.items[function(e){for(var t=e.state,r=e.collection,n=!1,o=0,i=0;!1===n;){var a=t.collections[o];if(a===r){n=!0;break}i+=a.items.length,o++}return t.activeItemId-i}({state:e,collection:t})],n=t.source;return{item:r,itemInputValue:n.getItemInputValue({item:r,state:e}),itemUrl:n.getItemUrl({item:r,state:e}),source:n}}function we(e,t,r){return[e,null==r?void 0:r.sourceId,t].filter(Boolean).join("-").replace(/\s/g,"")}var Ee=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function je(e){return e.nativeEvent||e}function Pe(e){return Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(e)}function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function De(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Pe(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Pe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Pe(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ke(e,t,r){var n,o=t.initialState;return{getState:function(){return o},dispatch:function(n,i){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){De(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o);o=e(o,{type:n,props:t,payload:i}),r({state:o,prevState:a})},pendingRequests:(n=[],{add:function(e){return n.push(e),e.finally((function(){n=n.filter((function(t){return t!==e}))}))},cancelAll:function(){n.forEach((function(e){return e.cancel()}))},isEmpty:function(){return 0===n.length}})}}function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){Ce(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ce(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ae(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ae(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ne(e){return Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(e)}function Te(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Le(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Le(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ne(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ne(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function He(e,t){var r,n="undefined"!=typeof window?window:{},o=e.plugins||[];return qe(qe({debug:!1,openOnFocus:!1,enterKeyHint:void 0,ignoreCompositionEvents:!1,placeholder:"",autoFocus:!1,defaultActiveItemId:null,stallThreshold:300,insights:void 0,environment:n,shouldPanelOpen:function(e){return T(e.state)>0},reshape:function(e){return e.sources}},e),{},{id:null!==(r=e.id)&&void 0!==r?r:"autocomplete-".concat(N++),plugins:o,initialState:qe({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var r;null===(r=e.onStateChange)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onStateChange)||void 0===r?void 0:r.call(e,t)}))},onSubmit:function(t){var r;null===(r=e.onSubmit)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onSubmit)||void 0===r?void 0:r.call(e,t)}))},onReset:function(t){var r;null===(r=e.onReset)||void 0===r||r.call(e,t),o.forEach((function(e){var r;return null===(r=e.onReset)||void 0===r?void 0:r.call(e,t)}))},getSources:function(r){return Promise.all([].concat(Te(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var r=[];return Promise.resolve(e(t)).then((function(e){return Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,r.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));r.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:q,onResolve:q};Object.keys(t).forEach((function(e){t[e].__default=!0}));var n=ge(ge({},t),e);return Promise.resolve(n)})))}))}(e,r)}))).then((function(e){return C(e)})).then((function(e){return e.map((function(e){return qe(qe({},e),{},{onSelect:function(r){e.onSelect(r),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,r)}))},onActive:function(r){e.onActive(r),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,r)}))},onResolve:function(r){e.onResolve(r),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,r)}))}})}))}))},navigator:qe({navigate:function(e){var t=e.itemUrl;n.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,r=n.open(t,"_blank","noopener");null==r||r.focus()},navigateNewWindow:function(e){var t=e.itemUrl;n.open(t,"_blank","noopener")}},e.navigator)})}function Be(e){return Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Be(e)}function Fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
81t%2?Fe(Object(r),!0).forEach((function(t){Ke(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ke(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Be(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Be(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Be(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){Qe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ve(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ve(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function We(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ze(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ze(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ge(e){return Boolean(e.execute)}function Ye(e,t,r){if(o=e,Boolean(null==o?void 0:o.execute)){var n="algolia"===e.requesterId?Object.assign.apply(Object,[{}].concat(We(Object.keys(r.context).map((function(e){var t;return null===(t=r.context[e])||void 0===t?void 0:t.__algoliaSearchParameters}))))):{};return Je(Je({},e),{},{requests:e.queries.map((function(r){return{query:"algolia"===e.requesterId?Je(Je({},r),{}
vendor: 24,133 bytes, line 81
81,{params:Je(Je({},n),r.params)}):r,sourceId:t,transformResponse:e.transformResponse}}))})}var o;return{items:e,sourceId:t}}function $e(e){var t=e.reduce((function(e,t){if(!Ge(t))return e.push(t),e;var r=t.searchClient,n=t.execute,o=t.requesterId,i=t.requests,a=e.find((function(e){return Ge(t)&&Ge(e)&&e.searchClient===r&&Boolean(o)&&e.requesterId===o}));if(a){var c;(c=a.items).push.apply(c,We(i))}else{var u={execute:n,requesterId:o,items:i,searchClient:r};e.push(u)}return e}),[]).map((function(e){if(!Ge(e))return Promise.resolve(e);var t=e,r=t.execute,n=t.items;return r({searchClient:t.searchClient,requests:n})}));return Promise.all(t).then((function(e){return C(e)}))}function Xe(e,t,r){return t.map((function(t){var n,o=e.filter((function(e){return e.sourceId===t.sourceId})),i=o.map((function(e){return e.items})),a=o[0].transformResponse,c=a?a({results:n=i,hits:n.map((function(e){return e.hits})).filter(Boolean),facetHits:n.map((function(e){var t;return null===(t=e.facetHits)||void 0===t?void 0:t.map((function(e){return{label:e.value,count:e.count,_highlightResult:{label:{value:e.highlighted}}}}))})).filter(Boolean)}):i;return t.onResolve({source:t,results:i,items:c,state:r.getState()}),c.every(Boolean),'The `getItems` function from source "'.concat(t.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),".\n\nDid you forget to return items?\n\nSee: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems"),{source:t,items:c}}))}function et(e){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},et(e)}var tt=["event","nextState","props","query","refresh","store"];function rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach((function(t){ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ot(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==et(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===et(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function it(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var at,ct,ut,lt=null,st=(at=-1,ct=-1,ut=void 0,function(e){var t=++at;return Promise.resolve(e).then((function(e){return ut&&t<ct?ut:(ct=t,ut=e,e)}))});function ft(e){var t=e.event,r=e.nextState,n=void 0===r?{}:r,o=e.props,i=e.query,a=e.refresh,c=e.store,u=it(e,tt);lt&&o.environment.clearTimeout(lt);var l=u.setCollections,s=u.setIsOpen,f=u.setQuery,m=u.setActiveItemId,p=u.setStatus,v=u.setContext;if(f(i),m(o.defaultActiveItemId),!i&&!1===o.openOnFocus){var d,h=c.getState().collections.map((function(e){return nt(nt({},e),{},{items:[]})}));p("idle"),l(h),s(null!==(d=n.isOpen)&&void 0!==d?d:o.shouldPanelOpen({state:c.getState()}));var y=ve(st(h).then((function(){return Promise.resolve()})));return c.pendingRequests.add(y)}p("loading"),lt=o.environment.setTimeout((function(){p("stalled")}),o.stallThreshold);var g=ve(st(o.getSources(nt({query:i,refresh:a,state:c.getState()},u)).then((function(e){return Promise.all(e.map((function(e){return Promise.resolve(e.getItems(nt({query:i,refresh:a,state:c.getState()},u))).then((function(t){return Ye(t,e.sourceId,c.getState())}))}))).then($e).then((function(t){var r,n=t.some((function(e){return function(e){return!Array.isArray(e)&&Boolean(null==e?void 0:e._automaticInsights)}(e.items)}));n&&v({algoliaInsightsPlugin:nt(nt({},(null===(r=c.getState().context)||void 0===r?void 0:r.algoliaInsightsPlugin)||{}),{},{__automaticInsights:n})});return Xe(t,e,c)})).then((function(e){return function(e){var t=e.collections,r=e.props,n=e.state,o=t.reduce((function(e,t){return Ue(Ue({},e),{},Ke({},t.source.sourceId,Ue(Ue({},t.source),{},{getItems:function(){return C(t.items)}})))}),{}),i=r.plugins.reduce((function(e,t){return t.reshape?t.reshape(e):e}),{sourcesBySourceId:o,state:n}).sourcesBySourceId;return C(r.reshape({sourcesBySourceId:i,sources:Object.values(i),state:n})).filter(Boolean).map((function(e){return{source:e,items:e.getItems()}}))}({collections:e,props:o,state:c.getState()})}))})))).then((function(e){var r;p("idle"),l(e);var f=o.shouldPanelOpen({state:c.getState()});s(null!==(r=n.isOpen)&&void 0!==r?r:o.openOnFocus&&!i&&f||f);var m=Oe(c.getState());if(null!==c.getState().activeItemId&&m){var v=m.item,d=m.itemInputValue,h=m.itemUrl,y=m.source;y.onActive(nt({event:t,item:v,itemInputValue:d,itemUrl:h,refresh:a,source:y,state:c.getState()},u))}})).finally((function(){p("idle"),lt&&o.environment.clearTimeout(lt)}));return c.pendingRequests.add(g)}function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}var pt=["event","props","refresh","store"];function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==mt(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==mt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===mt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function gt(e){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(e)}var bt=["props","refresh","store"],St=["inputElement","formElement","panelElement"],Ot=["inputElement"],wt=["inputElement","maxLength"],Et=["source"],jt=["item","source"];function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function It(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){Dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Dt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==gt(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===gt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function At(e){var t=e.props,r=e.refresh,n=e.store,o=kt(e,bt);return{getEnvironmentProps:function(e){var r=e.inputElement,o=e.formElement,i=e.panelElement;function a(e){!n.getState().isOpen&&n.pendingRequests.isEmpty()||e.target===r||!1===[o,i].some((function(t){return r=t,n=e.target,r===n||r.contains(n);var r,n}))&&(n.dispatch("blur",null),t.debug||n.pendingRequests.cancelAll())}return It({onTouchStart:a,onMouseDown:a,onTouchMove:function(e){!1!==n.getState().isOpen&&r===t.environment.document.activeElement&&e.target!==r&&r.blur()}},kt(e,St))},getRootProps:function(e){return It({role:"combobox","aria-expanded":n.getState().isOpen,"aria-haspopup":"listbox","aria-controls":n.getState().isOpen?n.getState().collections.map((function(e){var r=e.source;return we(t.id,"list",r)})).join(" "):void 0,"aria-labelledby":we(t.id,"label")},e)},getFormProps:function(e){return e.inputElement,It({action:"",noValidate:!0,role:"search",onSubmit:function(i){var a;i.preventDefault(),t.onSubmit(It({event:i,refresh:r,state:n.getState()},o)),n.dispatch("submit",null),null===(a=e.inputElement)||void 0===a||a.blur()},onReset:function(i){var a;i.preventDefault(),t.onReset(It({event:i,refresh:r,state:n.getState()},o)),n.dispatch("reset",null),null===(a=e.inputElement)||void 0===a||a.focus()}},kt(e,Ot))},getLabelProps:function(e){return It({htmlFor:we(t.id,"input"),id:we(t.id,"label")},e)},getInputProps:function(e){var i;function a(e){(t.openOnFocus||Boolean(n.getState().query))&&ft(It({event:e,props:t,query:n.getState().completion||n.getState().query,refresh:r,store:n},o)),n.dispatch("focus",null)}var c=e||{};c.inputElement;var u=c.maxLength,l=void 0===u?512:u,s=kt(c,wt),f=Oe(n.getState()),m=function(e){return Boolean(e&&e.match(Ee))}((null===(i=t.environment.navigator)||void 0===i?void 0:i.userAgent)||""),p=t.enterKeyHint||(null!=f&&f.itemUrl&&!m?"go":"search");return It({"aria-autocomplete":"both","aria-activedescendant":n.getState().isOpen&&null!==n.getState().activeItemId?we(t.id,"item-".concat(n.getState().activeItemId),null==f?void 0:f.source):void 0,"aria-controls":n.getState().isOpen?n.getState().collections.map((function(e){var r=e.source;return we(t.id,"list",r)})).join(" "):void 0,"aria-labelledby":we(t.id,"label"),value:n.getState().completion||n.getState().query,id:we(t.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:p,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:l,type:"search",onChange:function(e){var i=e.currentTarget.value;t.ignoreCompositionEvents&&je(e).isComposing?o.setQuery(i):ft(It({event:e,props:t,query:i.slice(0,l),refresh:r,store:n},o))},onCompositionEnd:function(e){ft(It({event:e,props:t,query:e.currentTarget.value.slice(0,l),refresh:r,store:n},o))},onKeyDown:function(e){je(e).isComposing||function(e){var t=e.event,r=e.props,n=e.refresh,o=e.store,i=yt(e,pt);if("ArrowUp"===t.key||"ArrowDown"===t.key){var a=function(){var e=Oe(o.getState()),t=r.environment.document.getElementById(we(r.id,"item-".concat(o.getState().activeItemId),null==e?void 0:e.source));t&&(t.scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):t.scrollIntoView(!1))},c=function(){var e=Oe(o.getState());if(null!==o.getState().activeItemId&&e){var r=e.item,a=e.itemInputValue,c=e.itemUrl,u=e.source;u.onActive(dt({event:t,item:r,itemInputValue:a,itemUrl:c,refresh:n,source:u,state:o.getState()},i))}};t.preventDefault(),!1===o.getState().isOpen&&(r.openOnFocus||Boolean(o.getState().query))?ft(dt({event:t,props:r,query:o.getState().query,refresh:n,store:o},i)).then((function(){o.dispatch(t.key,{nextActiveItemId:r.defaultActiveItemId}),c(),setTimeout(a,0)})):(o.dispatch(t.key,{}),c(),a())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return void(r.debug||o.pendingRequests.cancelAll());t.preventDefault();var u=Oe(o.getState()),l=u.item,s=u.itemInputValue,f=u.itemUrl,m=u.source;if(t.metaKey||t.ctrlKey)void 0!==f&&(m.onSelect(dt({event:t,item:l,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},i)),r.navigator.navigateNewTab({itemUrl:f,item:l,state:o.getState()}));else if(t.shiftKey)void 0!==f&&(m.onSelect(dt({event:t,item:l,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},i)),r.navigator.navigateNewWindow({itemUrl:f,item:l,state:o.getState()}));else if(t.altKey);else{if(void 0!==f)return m.onSelect(dt({event:t,item:l,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},i)),void r.navigator.navigate({itemUrl:f,item:l,state:o.getState()});ft(dt({event:t,nextState:{isOpen:!1},props:r,query:s,refresh:n,store:o},i)).then((function(){m.onSelect(dt({event:t,item:l,itemInputValue:s,itemUrl:f,refresh:n,source:m,state:o.getState()},i))}))}}}(It({event:e,props:t,refresh:r,store:n},o))},onFocus:a,onBlur:q,onClick:function(r){e.inputElement!==t.environment.document.activeElement||n.getState().isOpen||a(r)}},s)},getPanelProps:function(e){return It({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){n.dispatch("mouseleave",null)}},e)},getListProps:function(e){var r=e||{},n=r.source,o=kt(r,Et);return It({role:"listbox","aria-labelledby":we(t.id,"label"),id:we(t.id,"list",n)},o)},getItemProps:function(e){var i=e.item,a=e.source,c=kt(e,jt);return It({id:we(t.id,"item-".concat(i.__autocomplete_id),a),role:"option","aria-selected":n.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(e){if(i.__autocomplete_id!==n.getState().activeItemId){n.dispatch("mousemove",i.__autocomplete_id);var t=Oe(n.getState());if(null!==n.getState().activeItemId&&t){var a=t.item,c=t.itemInputValue,u=t.itemUrl,l=t.source;l.onActive(It({event:e,item:a,itemInputValue:c,itemUrl:u,refresh:r,source:l,state:n.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var c=a.getItemInputValue({item:i,state:n.getState()}),u=a.getItemUrl({item:i,state:n.getState()});(u?Promise.resolve():ft(It({event:e,nextState:{isOpen:!1},props:t,query:c,refresh:r,store:n},o))).then((function(){a.onSelect(It({event:e,item:i,itemInputValue:c,itemUrl:u,refresh:r,source:a,state:n.getState()},o))}))}},c)}}}function _t(e){return _t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(e)}function xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){Nt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==_t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_t(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e){var t,r,n,o,i=e.plugins,a=e.options,c=null===(t=((null===(r=a.__autocomplete_metadata)||void 0===r?void 0:r.userAgents)||[])[0])||void 0===t?void 0:t.segment,u=c?Nt({},c,Object.keys((null===(n=a.__autocomplete_metadata)||void 0===n?void 0:n.options)||{})):{};return{plugins:i.map((function(e){return{name:e.name,options:Object.keys(e.__autocomplete_pluginOptions||[])}})),options:Ct({"autocomplete-core":Object.keys(a)},u),ua:M.concat((null===(o=a.__autocomplete_metadata)||void 0===o?void 0:o.userAgents)||[])}}function Lt(e){var t,r=e.state;return!1===r.isOpen||null===r.activeItemId?null:(null===(t=Oe(r))||void 0===t?void 0:t.itemInputValue)||null}function Rt(e){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(e)}function qt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(r),!0).forEach((function(t){Ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ht(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Rt(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Rt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Rt(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=function(e,t){switch(t.type){case"setActiveItemId":case"mousemove":return Mt(Mt({},e),{},{activeItemId:t.payload});case"setQuery":return Mt(Mt({},e),{},{query:t.payload,completion:null});case"setCollections":return Mt(Mt({},e),{},{collections:t.payload});case"setIsOpen":return Mt(Mt({},e),{},{isOpen:t.payload});case"setStatus":return Mt(Mt({},e),{},{status:t.payload});case"setContext":return Mt(Mt({},e),{},{context:Mt(Mt({},e.context),t.payload)});case"ArrowDown":var r=Mt(Mt({},e),{},{activeItemId:t.payload.hasOwnProperty("nextActiveItemId")?t.payload.nextActiveItemId:he(1,e.activeItemId,T(e),t.props.defaultActiveItemId)});return Mt(Mt({},r),{},{completion:Lt({state:r})});case"ArrowUp":var n=Mt(Mt({},e),{},{activeItemId:he(-1,e.activeItemId,T(e),t.props.defaultActiveItemId)});return Mt(Mt({},n),{},{completion:Lt({state:n})});case"Escape":return e.isOpen?Mt(Mt({},e),{},{activeItemId:null,isOpen:!1,completion:null}):Mt(Mt({},e),{},{activeItemId:null,query:"",status:"idle",collections:[]});case"submit":return Mt(Mt({},e),{},{activeItemId:null,isOpen:!1,status:"idle"});case"reset":return Mt(Mt({},e),{},{activeItemId:!0===t.props.openOnFocus?t.props.defaultActiveItemId:null,status:"idle",completion:null,query:""});case"focus":return Mt(Mt({},e),{},{activeItemId:t.props.defaultActiveItemId,isOpen:(t.props.openOnFocus||Boolean(e.query))&&t.props.shouldPanelOpen({state:e})});case"blur":return t.props.debug?e:Mt(Mt({},e),{},{isOpen:!1,activeItemId:null});case"mouseleave":return Mt(Mt({},e),{},{activeItemId:t.props.defaultActiveItemId});default:return"The reducer action ".concat(JSON.stringify(t.type)," is not supported."),e}};function Ft(e){return Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ft(e)}function Ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(r),!0).forEach((function(t){Vt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ft(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ft(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zt(e){var t=[],r=He(e,t),n=ke(Bt,r,(function(e){var t,n,i=e.prevState,l=e.state;if(r.onStateChange(Kt({prevState:i,state:l,refresh:a,navigator:r.navigator},o)),!u()&&null!==(t=l.context)&&void 0!==t&&null!==(n=t.algoliaInsightsPlugin)&&void 0!==n&&n.__automaticInsights&&!1!==r.insights){var s=se({__autocomplete_clickAnalytics:!1});r.plugins.push(s),c([s])}})),o=function(e){var t=e.store;return{setActiveItemId:function(e){t.dispatch("setActiveItemId",e)},setQuery:function(e){t.dispatch("setQuery",e)},setCollections:function(e){var r=0,n=e.map((function(e){return xe(xe({},e),{},{items:C(e.items).map((function(e){return xe(xe({},e),{},{__autocomplete_id:r++})}))})}));t.dispatch("setCollections",n)},setIsOpen:function(e){t.dispatch("setIsOpen",e)},setStatus:function(e){t.dispatch("setStatus",e)},setContext:function(e){t.dispatch("setContext",e)}}}({store:n}),i=At(Kt({props:r,refresh:a,store:n,navigator:r.navigator},o));function a(){return ft(Kt({event:new Event("input"),nextState:{isOpen:n.getState().isOpen},props:r,navigator:r.navigator,query:n.getState().query,refresh:a,store:n},o))}function c(e){e.forEach((function(e){var n;return null===(n=e.subscribe)||void 0===n?void 0:n.call(e,Kt(Kt({},o),{},{navigator:r.navigator,refresh:a,onSelect:function(e){t.push({onSelect:e})},onActive:function(e){t.push({onActive:e})},onResolve:function(e){t.push({onResolve:e})}}))}))}function u(){return r.plugins.some((function(e){return"aa.algoliaInsightsPlugin"===e.name}))}if(r.insights&&!u()){var l="boolean"==typeof r.insights?{}:r.insights;r.plugins.push(se(l))}return c(r.plugins),function(e){var t,r,n=e.metadata,o=e.environment;if(null===(t=o.navigator)||void 0===t||null===(r=t.userAgent)||void 0===r?void 0:r.includes("Algolia Crawler")){var i=o.document.createElement("meta"),a=o.document.querySelector("head");i.name="algolia:metadata",setTimeout((function(){i.content=JSON.stringify(n),a.appendChild(i)}),0)}}({metadata:Tt({plugins:r.plugins,options:e}),environment:r.environment}),Kt(Kt({refresh:a,navigator:r.navigator},i),o)}function Jt(t){var r=t.translations,n=(void 0===r?{}:r).searchByText,o=void 0===n?"Search by":n;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Label"},o),react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"7
817",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.
8112,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function Qt(t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function Wt(t){var r=t.translations,n=void 0===r?{}:r,o=n.selectText,i=void 0===o?"to select":o,a=n.selectKeyAriaLabel,c=void 0===a?"Enter key":a,u=n.navigateText,l=void 0===u?"to navigate":u,s=n.navigateUpKeyAriaLabel,f=void 0===s?"Arrow up":s,m=n.navigateDownKeyAriaLabel,p=void 0===m?"Arrow down":m,v=n.closeText,d=void 0===v?"to close":v,h=n.closeKeyAriaLabel,y=void 0===h?"Escape key":h,g=n.searchByText,b=void 0===g?"Search by":g;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Logo"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Jt,{translations:{searchByText:b}})),react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul",{className:"DocSearch-Commands"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("li",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("kbd",{className:"DocSearch-Commands-Key"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Qt,{ariaLabel:c},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Label"},i)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("li",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("kbd",{className:"DocSearch-Commands-Key"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Qt,{ariaLabel:p},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("kbd",{className:"DocSearch-Commands-Key"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Qt,{ariaLabel:f},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Label"},l)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("li",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("kbd",{className:"DocSearch-Commands-Key"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Qt,{ariaLabel:y},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-Label"},d))))}
81function Zt(t){var r=t.hit,n=t.children;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("a",{href:r.url},n)}function Gt(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{fill:"none",fillRule:"evenodd"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Yt(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function $t(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Xt(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8 17l-6-6 6-6"})))}var er=function(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function tr(t){switch(t.type){case"lvl1":return react__WEBPACK_IMPORTED_MODULE_0__.createElement(er,null);case"content":return react__WEBPACK_IMPORTED_MODULE_0__.createElement(nr,null);default:return react__WEBPACK_IMPORTED_MODULE_0__.createElement(rr,null)}}function rr(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function nr(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function or(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function ir(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function ar(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function cr(t){var r=t.translations,n=void 0===r?{}:r,o=n.titleText,i=void 0===o?"Unable to fetch results":o,a=n.helpText,c=void 0===a?"You might want to check your network connection.":a;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-ErrorScreen"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Screen-Icon"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(ir,null)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("p",{className:"DocSearch-Title"},i),react__WEBPACK_IMPORTED_MODULE_0__.createElement("p",{className:"DocSearch-Help"},c))}var ur=["translations"];function lr(t){var r=t.translations,n=void 0===r?{}:r,o=g(t,ur),i=n.noResultsText,a=void 0===i?"No results for":i,c=n.suggestedQueryText,u=void 0===c?"Try searching for":c,l=n.reportMissingResultsText,s=void 0===l?"Believe this query should return results?":l,f=n.reportMissingResultsLinkText,m=void 0===f?"Let us know.":f,p=o.state.context.searchSuggestions;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-NoResults"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Screen-Icon"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(ar,null)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("p",{className:"DocSearch-Title"},a,' "',react__WEBPACK_IMPORTED_MODULE_0__.createElement("strong",null,o.state.query),'"'),p&&p.length>0&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("p",{className:"DocSearch-Help"},u,":"),react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul",null,p.slice(0,3).reduce((function(t,r){return[].concat(w(t),[react__WEBPACK_IMPORTED_MODULE_0__.createElement("li",{key:r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{className:"DocSearch-Prefill",ke
81y:r,type:"button",onClick:function(){o.setQuery(r.toLowerCase()+" "),o.refresh(),o.inputRef.current.focus()}},r))])}),[]))),o.getMissingResultsUrl&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("p",{className:"DocSearch-Help"},"".concat(s," "),react__WEBPACK_IMPORTED_MODULE_0__.createElement("a",{href:o.getMissingResultsUrl({query:o.state.query}),target:"_blank",rel:"noopener noreferrer"},m)))}var sr=["hit","attribute","tagName"];function fr(e,t){return t.split(".").reduce((function(e,t){return null!=e&&e[t]?e[t]:null}),e)}function mr(e){var t=e.hit,r=e.attribute,o=e.tagName,i=void 0===o?"span":o,a=g(e,sr);return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(i,y(y({},a),{},{dangerouslySetInnerHTML:{__html:fr(t,"_snippetResult.".concat(r,".value"))||fr(t,r)}}))}function pr(t){return t.collection&&0!==t.collection.items.length?react__WEBPACK_IMPORTED_MODULE_0__.createElement("section",{className:"DocSearch-Hits"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-source"},t.title),react__WEBPACK_IMPORTED_MODULE_0__.createElement("ul",t.getListProps(),t.collection.items.map((function(r,n){return react__WEBPACK_IMPORTED_MODULE_0__.createElement(vr,m({key:[t.title,r.objectID].join(":"),item:r,index:n},t))})))):null}function vr(t){var r=t.item,n=t.index,o=t.renderIcon,i=t.renderAction,a=t.getItemProps,c=t.onItemClick,u=t.collection,l=t.hitComponent,s=O(react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),2),f=s[0],p=s[1],v=O(react__WEBPACK_IMPORTED_MODULE_0__.useState(!1),2),d=v[0],h=v[1],y=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),g=l;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("li",m({className:["DocSearch-Hit",r.__docsearch_parent&&"DocSearch-Hit--Child",f&&"DocSearch-Hit--deleting",d&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){y.current&&y.current()}},a({item:r,source:u.source,onClick:function(e){c(r,e)}})),react__WEBPACK_IMPORTED_MODULE_0__.createElement(g,{hit:r},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-Container"},o({item:r,index:n}),r.hierarchy[r.type]&&"lvl1"===r.type&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-content-wrapper"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(mr,{className:"DocSearch-Hit-title",hit:r,attribute:"hierarchy.lvl1"}),r.content&&react__WEBPACK_IMPORTED_MODULE_0__.createElement(mr,{className:"DocSearch-Hit-path",hit:r,attribute:"content"})),r.hierarchy[r.type]&&("lvl2"===r.type||"lvl3"===r.type||"lvl4"===r.type||"lvl5"===r.type||"lvl6"===r.type)&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-content-wrapper"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(mr,{className:"DocSearch-Hit-title",hit:r,attribute:"hierarchy.".concat(r.type)}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(mr,{className:"DocSearch-Hit-path",hit:r,attribute:"hierarchy.lvl1"})),"content"===r.type&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-content-wrapper"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(mr,{className:"DocSearch-Hit-title",hit:r,attribute:"content"}),react__WEBPACK_IMPORTED_MODULE_0__.createElement(mr,{className:"DocSearch-Hit-path",hit:r,attribute:"hierarchy.lvl1"})),i({item:r,runDeleteTransition:function(e){p(!0),y.current=e},runFavoriteTransition:function(e){h(!0),y.current=e}}))))}function dr(e,t,r){return e.reduce((function(e,n){var o=t(n);return e.hasOwnProperty(o)||(e[o]=[]),e[o].length<(r||5)&&e[o].push(n),e}),{})}function hr(e){return e}function yr(e){return 1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function gr(){}var br=/(<mark>|<\/mark>)/g,Sr=RegExp(br.source);function Or(e){var t,r,n=e;if(!n.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var o=n.__docsearch_parent?null===(t=n.__docsearch_parent)||void 0===t||null===(t=t._highlightResult)||void 0===t||null===(t=t.hierarchy)||void 0===t?void 0:t.lvl0:null===(r=e._highlightResult)||void 0===r||null===(r=r.hierarchy)||void 0===r?void 0:r.lvl0;return o?o.value&&Sr.test(o.value)?o.value.replace(br,""):o.value:e.hierarchy.lvl0}function wr(t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map((function(r){if(0===r.items.length)return null;var n=Or(r.items[0]);return react__WEBPACK_IMPORTED_MODULE_0__.createElement(pr,m({},t,{key:r.source.sourceId,title:n,collection:r,renderIcon:function(t){var n,o=t.item,i=t.index;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,o.__docsearch_parent&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},o.__docsearch_parent!==(null===(n=r.items[i+1])||void 0===n?void 0:n.__docsearch_parent)?react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8 6v21M20 27H8.3"}):react__WEBPACK_IMPORTED_MODULE_0__.createElement("path",{d:"M8 6v42M20 27H8.3"}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-icon"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(tr,{type:o.type})))},renderAction:function(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-action"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Xt,null))}}))})),t.resultsFooterComponent&&react__WEBPACK_IMPORTED_MODULE_0__.createElement("section",{className:"DocSearch-HitsFooter"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(t.resultsFooterComponent,{state:t.state})))}var Er=["translations"];function jr(t){var r=t.translations,n=void 0===r?{}:r,o=g(t,Er),i=n.recentSearchesTitle,a=void 0===i?"Recent":i,c=n.noRecentSearchesText,u=void 0===c?"N
81o recent searches":c,l=n.saveRecentSearchButtonTitle,s=void 0===l?"Save this search":l,f=n.removeRecentSearchButtonTitle,p=void 0===f?"Remove this search from history":f,v=n.favoriteSearchesTitle,d=void 0===v?"Favorite":v,h=n.removeFavoriteSearchButtonTitle,y=void 0===h?"Remove this search from favorites":h;return"idle"===o.state.status&&!1===o.hasCollections?o.disableUserPersonalization?null:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-StartScreen"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("p",{className:"DocSearch-Help"},u)):!1===o.hasCollections?null:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Dropdown-Container"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(pr,m({},o,{title:a,collection:o.state.collections[0],renderIcon:function(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-icon"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Yt,null))},renderAction:function(t){var r=t.item,n=t.runFavoriteTransition,i=t.runDeleteTransition;return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-action"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{className:"DocSearch-Hit-action-button",title:s,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),n((function(){o.favoriteSearches.add(r),o.recentSearches.remove(r),o.refresh()}))}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(or,null))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-action"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),i((function(){o.recentSearches.remove(r),o.refresh()}))}},react__WEBPACK_IMPORTED_MODULE_0__.createElement($t,null))))}})),react__WEBPACK_IMPORTED_MODULE_0__.createElement(pr,m({},o,{title:d,collection:o.state.collections[1],renderIcon:function(){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-icon"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(or,null))},renderAction:function(t){var r=t.item,n=t.runDeleteTransition;return react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Hit-action"},react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{className:"DocSearch-Hit-action-button",title:y,type:"submit",onClick:function(e){e.preventDefault(),e.stopPropagation(),n((function(){o.favoriteSearches.remove(r),o.refresh()}))}},react__WEBPACK_IMPORTED_MODULE_0__.createElement($t,null)))}})))}var Pr=["translations"],Ir=react__WEBPACK_IMPORTED_MODULE_0__.memo((function(t){var r=t.translations,n=void 0===r?{}:r,o=g(t,Pr);if("error"===o.state.status)return react__WEBPACK_IMPORTED_MODULE_0__.createElement(cr,{translations:null==n?void 0:n.errorScreen});var i=o.state.collections.some((function(e){return e.items.length>0}));return o.state.query?!1===i?react__WEBPACK_IMPORTED_MODULE_0__.createElement(lr,m({},o,{translations:null==n?void 0:n.noResultsScreen})):react__WEBPACK_IMPORTED_MODULE_0__.createElement(wr,o):react__WEBPACK_IMPORTED_MODULE_0__.createElement(jr,m({},o,{hasCollections:i,translations:null==n?void 0:n.startScreen}))}),(function(e,t){return"loading"===t.state.status||"stalled"===t.state.status})),Dr=["translations"];function kr(t){var r=t.translations,n=void 0===r?{}:r,o=g(t,Dr),i=n.resetButtonTitle,a=void 0===i?"Clear the query":i,c=n.resetButtonAriaLabel,u=void 0===c?"Clear the query":c,l=n.cancelButtonText,s=void 0===l?"Cancel":l,f=n.cancelButtonAriaLabel,p=void 0===f?"Cancel":f,v=n.searchInputLabel,d=void 0===v?"Search":v,h=o.getFormProps({inputElement:o.inputRef.current}).onReset;return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){o.autoFocus&&o.inputRef.current&&o.inputRef.current.focus()}),[o.autoFocus,o.inputRef]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){o.isFromSelection&&o.inputRef.current&&o.inputRef.current.select()}),[o.isFromSelection,o.inputRef]),react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("form",{className:"DocSearch-
81Form",onSubmit:function(e){e.preventDefault()},onReset:h},react__WEBPACK_IMPORTED_MODULE_0__.createElement("label",m({className:"DocSearch-MagnifierLabel"},o.getLabelProps()),react__WEBPACK_IMPORTED_MODULE_0__.createElement(I,null),react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},d)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-LoadingIndicator"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Gt,null)),react__WEBPACK_IMPORTED_MODULE_0__.createElement("input",m({className:"DocSearch-Input",ref:o.inputRef},o.getInputProps({inputElement:o.inputRef.current,autoFocus:o.autoFocus,maxLength:64}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{type:"reset",title:a,className:"DocSearch-Reset","aria-label":u,hidden:!o.state.query},react__WEBPACK_IMPORTED_MODULE_0__.createElement($t,null))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":p,onClick:o.onClose},s))}var Ar=["_highlightResult","_snippetResult"];function _r(e){return!1===function(){var e="__TEST_KEY__";try{return localStorage.setItem(e,""),localStorage.removeItem(e),!0}catch(e){return!1}}()?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function xr(e){var t=e.key,r=e.limit,n=void 0===r?5:r,o=_r(t),i=o.getItem().slice(0,n);return{add:function(e){var t=e;t._highlightResult,t._snippetResult;
81var r=g(t,Ar),a=i.findIndex((function(e){return e.objectID===r.objectID}));a>-1&&i.splice(a,1),i.unshift(r),i=i.slice(0,n),o.setItem(i)},remove:function(e){i=i.filter((function(t){return t.objectID!==e.objectID})),o.setItem(i)},getAll:function(){return i}}}function Cr(e){var t,r="algolia-client-js-".concat(e.key);function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function o(){return JSON.parse(n().getItem(r)||"{}")}function i(e){n().setItem(r,JSON.stringify(e))}return{get:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then((function(){var r,n,a;return r=e.timeToLive?1e3*e.timeToLive:null,n=o(),i(a=Object.fromEntries(Object.entries(n).filter((function(e){return void 0!==O(e,2)[1].timestamp})))),r&&i(Object.fromEntries(Object.entries(a).filter((function(e){var t=O(e,2)[1],n=(new Date).getTime();return!(t.timestamp+r<n)})))),o()[JSON.stringify(t)]})).then((function(e){return Promise.all([e?e.value:r(),void 0!==e])})).then((function(e){var t=O(e,2),r=t[0],o=t[1];return Promise.all([r,o||n.miss(r)])})).then((function(e){return O(e,1)[0]}))},set:function(e,t){return Promise.resolve().then((function(){var i=o();return i[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:t},n().setItem(r,JSON.stringify(i)),t}))},delete:function(e){return Promise.resolve().then((function(){var t=o();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}))},clear:function(){return Promise.resolve().then((function(){n().removeItem(r)}))}}}function Nr(e){var t=w(e.caches),r=t.shift();return void 0===r?{get:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return t().then((function(e){return Promise.all([e,r.miss(e)])})).then((function(e){return O(e,1)[0]}))},set:function(e,t){return Promise.resolve(t)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return r.get(e,n,o).catch((function(){return Nr({caches:t}).get(e,n,o)}))},set:function(e,n){return r.set(e,n).catch((function(){return Nr({caches:t}).set(e,n)}))},delete:function(e){return r.delete(e).catch((function(){return Nr({caches:t}).delete(e)}))},clear:function(){return r.clear().catch((function(){return Nr({caches:t}).clear()}))}}}function Tr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},t={};return{get:function(r,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(r);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);var a=n();return a.then((function(e){return o.miss(e)})).then((function(){return a}))},set:function(r,n){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)},delete:function(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Lr(e){var t=e.algoliaAgents,r=e.client,n=e.version,o=function(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(e){var r="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return-1===t.value.indexOf(r)&&(t.value="".concat(t.value).concat(r)),t}};return t}(n).add({segment:r,version:n});return t.forEach((function(e){return o.add(e)})),o}var Rr=12e4;function qr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"up",r=Date.now();return y(y({},e),{},{status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>Rr},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=Rr}})}var Mr=function(){function e(t,r){var n;return l(this,e),f(n=u(this,e,[t]),"name","AlgoliaError"),r&&(n.name=r),n}return v(e,j(Error)),s(e)}(),Hr=function(){function e(t,r,n){var o;return l(this,e),f(o=u(this,e,[t,n]),"stackTrace",void 0),o.stackTrace=r,o}return v(e,Mr),s(e)}(),Br=function(){function e(t){return l(this,e),u(this,e,["Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support.",t,"RetryError"])}return v(e,Hr),s(e)}(),Fr=function(){function e(t,r,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ApiError";return l(this,e),f(o=u(this,e,[t,n,i]),"status",void 0),o.status=r,o}return v(e,Hr),s(e)}(),Ur=function(){function e(t,r){var n;return l(this,e),f(n=u(this,e,[t,"DeserializationError"]),"response",void 0),n.response=r,n}return v(e,Mr),s(e)}(),Kr=function(){function e(t,r,n,o){var i;return l(this,e),f(i=u(this,e,[t,r,o,"DetailedApiError"]),"error",void 0),i.error=n,i}return v(e,Fr),s(e)}();function Vr(e,t,r){var n,o=(n=r,Object.keys(n).filter((function(e){return void 0!==n[e]})).sort().map((function(e){return"".concat(e,"=").concat(encodeURIComponent("[object Array]"===Object.prototype.toString.call(n[e])?n[e].join(","):n[e]).replace(/\+/g,"%20"))})).join("&")),i="".concat(e.protocol,"://").concat(e.url).concat(e.port?":".concat(e.port):"","/").concat("/"===t.charAt(0)?t.substring(1):t);return o.length&&(i+="?".concat(o)),i}function zr(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data)){var r=Array.isArray(e.data)?e.data:y(y({},e.data),t.data);return JSON.stringify(r)}}function Jr(e,t,r){var n=y(y(y({Accept:"application/json"},e),t),r),o={};
81return Object.keys(n).forEach((function(e){var t=n[e];o[e.toLowerCase()]=t})),o}function Qr(e){try{return JSON.parse(e.content)}catch(t){throw new Ur(t.message,e)}}function Wr(e,t){var r=e.content,n=e.status;try{var o=JSON.parse(r);return"error"in o?new Kr(o.message,n,o.error,t):new Fr(o.message,n,t)}catch(e){}return new Fr(r,n,t)}function Zr(e){return e.map((function(e){return Gr(e)}))}function Gr(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return y(y({},e),{},{request:y(y({},e.request),{},{headers:y(y({},e.request.headers),t)})})}var Yr=["appId","apiKey","authMode","algoliaAgents"],$r=["params"],Xr="5.19.0";function en(e){return[{url:"".concat(e,"-dsn.algolia.net"),accept:"read",protocol:"https"},{url:"".concat(e,".algolia.net"),accept:"write",protocol:"https"}].concat(function(e){for(var t=e,r=e.length-1;r>0;r--){var n=Math.floor(Math.random()*(r+1)),o=e[r];t[r]=e[n],t[n]=o}return t}([{url:"".concat(e,"-1.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-2.algolianet.com"),accept:"readWrite",protocol:"https"},{url:"".concat(e,"-3.algolianet.com"),accept:"readWrite",protocol:"https"}]))}function tn(e){var t=e.appId,r=e.apiKey,n=e.authMode,o=e.algoliaAgents,i=g(e,Yr),a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"WithinHeaders",n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:function(){return"WithinHeaders"===r?n:{}},queryParameters:function(){return"WithinQueryParameters"===r?n:{}}}}(t,r,n),u=function(e){var t=e.hosts,r=e.hostsCache,n=e.baseHeaders,o=e.logger,i=e.baseQueryParameters,a=e.algoliaAgent,u=e.timeouts,l=e.requester,s=e.requestsCache,f=e.responsesCache;function m(e){return p.apply(this,arguments)}function p(){return(p=c(b().mark((function e(t){var n,o,i,a,c;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map((function(e){return r.get(e,(function(){return Promise.resolve(qr(e))}))})));case 2:return n=e.sent,o=n.filter((function(e){return e.isUp()})),i=n.filter((function(e){return e.isTimedOut()})),a=[].concat(w(o),w(i)),c=a.length>0?a:t,e.abrupt("return",{hosts:c,getTimeout:function(e,t){return(0===i.length&&0===e?1:i.length+3+e)*t}});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e,t){return d.apply(this,arguments)}function d(){return d=c(b().mark((function e(s,f){var p,v,d,h,g,S,O,E,j,P,I,D,k,A=arguments;return b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p=!(A.length>2&&void 0!==A[2])||A[2],v=[],d=zr(s,f),h=Jr(n,s.headers,f.headers),g="GET"===s.method?y(y({},s.data),f.data):{},S=y(y(y({},i),s.queryParameters),g),a.value&&(S["x-algolia-agent"]=a.value),f&&f.queryParameters)for(O=0,E=Object.keys(f.queryParameters);O<E.length;O++)j=E[O],f.queryParameters[j]&&"[object Object]"!==Object.prototype.toString.call(f.queryParameters[j])?S[j]=f.queryParameters[j].toString():S[j]=f.queryParameters[j];return P=0,I=function(){var e=c(b().mark((function e(t,n){var i,a,c,m,g,O;return b().wrap((function(e){for(;;
81)switch(e.prev=e.next){case 0:if(void 0!==(i=t.pop())){e.next=3;break}throw new Br(Zr(v));case 3:return a=y(y({},u),f.timeouts),c={data:d,headers:h,method:s.method,url:Vr(i,s.path,S),connectTimeout:n(P,a.connect),responseTimeout:n(P,p?a.read:a.write)},m=function(e){var r={request:c,response:e,host:i,triesLeft:t.length};return v.push(r),r},e.next=8,l.send(c);case 8:if(w=void 0,E=void 0,w=(b=g=e.sent).isTimedOut,E=b.status,!(w||function(e){var t=e.isTimedOut,r=e.status;return!t&&!~~r}({isTimedOut:w,status:E})||2!=~~(E/100)&&4!=~~(E/100))){e.next=16;break}return O=m(g),g.isTimedOut&&P++,o.info("Retryable failure",Gr(O)),e.next=15,r.set(i,qr(i,g.isTimedOut?"timed out":"down"));case 15:return e.abrupt("return",I(t,n));case 16:if(2!=~~(g.status/100)){e.next=18;break}return e.abrupt("return",Qr(g));case 18:throw m(g),Wr(g,v);case 20:case"end":return e.stop()}var b,w,E}),e)})));return function(t,r){return e.apply(this,arguments)}}(),D=t.filter((function(e){return"readWrite"===e.accept||(p?"read"===e.accept:"write"===e.accept)})),e.next=13,m(D);case 13:return k=e.sent,e.abrupt("return",I(w(k.hosts).reverse(),k.getTimeout));case 15:case"end":return e.stop()}}),e)}))),d.apply(this,arguments)}return{hostsCache:r,requester:l,timeouts:u,logger:o,algoliaAgent:a,baseHeaders:n,baseQueryParameters:i,hosts:t,request:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.useReadTransporter||"GET"===e.method;if(!r)return v(e,t,r);var o=function(){return v(e,t)};if(!0!==(t.cacheable||e.cacheable))return o();var a={request:e,requestOptions:t,transporter:{queryParameters:i,headers:n}};return f.get(a,(function(){return s.get(a,(function(){return s.set(a,o()).then((function(e){return Promise.all([s.delete(a),e])}),(function(e){return Promise.all([s.delete(a),Promise.reject(e)])})).then((function(e){var t=O(e,2);return t[0],t[1]}))}))}),{miss:function(e){return f.set(a,e)}})},requestsCache:s,responsesCache:f}}(y(y({hosts:en(t)},i),{},{algoliaAgent:Lr({algoliaAgents:o,client:"Lite",version:Xr}),baseHeaders:y(y({"content-type":"text/plain"},a.headers()),i.baseHeaders),baseQueryParameters:y(y({},a.queryParameters()),i.baseQueryParameters)}));return{transporter:u,appId:t,apiKey:r,clearCache:function(){return Promise.all([u.requestsCache.clear(),u.responsesCache.clear()]).then((function(){}))},get _ua(){return u.algoliaAgent.value},addAlgoliaAgent:function(e,t){u.algoliaAgent.add({segment:e,version:t})},setClientApiKey:function(e){var t=e.apiKey;n&&"WithinHeaders"!==n?u.baseQueryParameters["x-algolia-api-key"]=t:u.baseHeaders["x-algolia-api-key"]=t},searchForHits:function(e,t){return this.search(e,t)},searchForFacets:function(e,t){return this.search(e,t)},customPost:function(e,t){var r=e.path,n=e.parameters,o=e.body;if(!r)throw new Error("Parameter `path` is required when calling `customPost`.");var i={method:"POST",path:"/{path}".replace("{path}",r),queryParameters:n||{},headers:{},data:o||{}};return u.request(i,t)},getRecommendations:function(e,t){e&&Array.isArray(e)&&(e={requests:e});if(!e)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");var r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return u.request(r,t)},search:function(e,t){if(e&&Array.isArray(e)){var r={requests:e.map((function(e){var t=e.params,r=g(e,$r);return"facet"===r.type?y(y(y({},r),t),{},{type:"facet"}):y(y(y({},r),t),{},{facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}))};e=r}if(!e)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");var n={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return u.request(n,t)}}}var rn="3.9.0";function nn(t,r,n){return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){var e=function(e,t,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return tn(y({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:function(e,t){return Promise.resolve()},info:function(e,t){return Promise.resolve()},error:function(e,t){return Promise.resolve()}},requester:{send:function(e){return new Promise((function(t){var r=new XMLHttpRequest;
81r.open(e.method,e.url,!0),Object.keys(e.headers).forEach((function(t){return r.setRequestHeader(t,e.headers[t])}));var n,o=function(e,n){return setTimeout((function(){r.abort(),t({status:0,content:n,isTimedOut:!0})}),e)},i=o(e.connectTimeout,"Connection timeout");r.onreadystatechange=function(){r.readyState>r.OPENED&&void 0===n&&(clearTimeout(i),n=o(e.responseTimeout,"Socket timeout"))},r.onerror=function(){0===r.status&&(clearTimeout(i),clearTimeout(n),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=function(){clearTimeout(i),clearTimeout(n),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)}))}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:Tr(),requestsCache:Tr({serializable:!1}),hostsCache:Nr({caches:[Cr({key:"".concat(Xr,"-").concat(e)}),Tr()]})},r))}(t,r);return e.addAlgoliaAgent("docsearch",rn),!1===/docsearch.js \(.*\)/.test(e.transporter.algoliaAgent.value)&&e.addAlgoliaAgent("docsearch-react",rn),n(e)}),[t,r,n])}var on=["footer","searchBox"];function an(t){var r=t.appId,n=t.apiKey,o=t.indexName,i=t.placeholder,a=void 0===i?"Search docs":i,c=t.searchParameters,u=t.maxResultsPerGroup,l=t.onClose,s=void 0===l?gr:l,f=t.transformItems,p=void 0===f?hr:f,v=t.hitComponent,d=void 0===v?Zt:v,h=t.resultsFooterComponent,b=void 0===h?function(){return null}:h,S=t.navigator,w=t.initialScrollY,E=void 0===w?0:w,j=t.transformSearchClient,P=void 0===j?hr:j,I=t.disableUserPersonalization,D=void 0!==I&&I,k=t.initialQuery,A=void 0===k?"":k,_=t.translations,x=void 0===_?{}:_,C=t.getMissingResultsUrl,N=t.insights,T=void 0!==N&&N,L=x.footer,R=x.searchBox,q=g(x,on),M=O(react__WEBPACK_IMPORTED_MODULE_0__.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),H=M[0],B=M[1],F=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),U=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),K=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),V=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),z=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null),J=react__WEBPACK_IMPORTED_MODULE_0__.useRef(10),Q=react__WEBPACK_IMPORTED_MODULE_0__.useRef("undefined"!=typeof window?window.getSelection().toString().slice(0,64):"").current,W=react__WEBPACK_IMPORTED_MODULE_0__.useRef(A||Q).current,Z=nn(r,n,P),G=react__WEBPACK_IMPORTED_MODULE_0__.useRef(xr({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,Y=react__WEBPACK_IMPORTED_MODULE_0__.useRef(xr({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:0===G.getAll().length?7:4})).current,$=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(e){if(!D){var t="content"===e.type?e.__docsearch_parent:e;t&&-1===G.getAll().findIndex((function(e){return e.objectID===t.objectID}))&&Y.add(t)}}),[G,Y,D]),X=react__WEBPACK_IMPORTED_MODULE_0__.useCallback((function(e){if(H.context.algoliaInsightsPlugin&&e.__autocomplete_id){var t=e,r={eventName:"Item Selected",index:t.__autocomplete_indexName,items:[t],positions:[e.__autocomplete_id],queryID:t.__autocomplete_queryID};H.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(r)}}),[H.context.algoliaInsightsPlugin]),ee=react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return zt({id:"docsearch",defaultActiveItemId:0,placeholder:a,openOnFocus:!0,initialState:{query:W,context:{searchSuggestions:[]}},insights:T,navigator:S,onStateChange:function(e){B(e.state)},getSources:function(e){var t=e.query,i=e.state,a=e.setContext,l=e.setStatus;if(!t)return D?[]:[{sourceId:"recentSearches",onSelect:function(e){var t=e.item,r=e.event;$(t),yr(r)||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return Y.getAll()}},{sourceId:"favoriteSearches",onSelect:function(e){var t=e.item,r=e.event;$(t),yr(r)||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return G.getAll()}}];var f=Boolean(T);return Z.search({requests:[y({query:t,indexName:o,attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(J.current),"hierarchy.lvl2:".concat(J.current),"hierarchy.lvl3:".concat(J.current),"hierarchy.lvl4:".concat(J.current),"hierarchy.lvl5:".concat(J.current),"hierarchy.lvl6:".concat(J.current),"content:".concat(J.current)],snippetEllipsisText:"â¦",highlightPreTag:"<mark>",highlightPostTag:"</mark>",hitsPerPage:20,clickAnalytics:f},c)]}).catch((function(e){throw"RetryError"===e.name&&l("error"),e})).then((function(e){var t=e.results[0],c=t.hits,l=t.nbHits,m=dr(c,(function(e){return Or(e)}),u);i.context.searchSuggestions.length<Object.keys(m).length&&a({searchSuggestions:Object.keys(m)}),a({nbHits:l});var v={};return f&&(v={__autocomplete_indexName:o,__autocomplete_queryID:t.queryID,__autocomplete_algoliaCredentials:{appId:r,apiKey:n}}),Object.values(m).map((function(e,t){return{sourceId:"hits".concat(t),onSelect:function(e){var t=e.item,r=e.event;$(t),yr(r)||s()},getItemUrl:function(e){return e.item.url},getItems:function(){return Object.values(dr(e,(function(e){return e.hierarchy.lvl1}),u)).map(p).map((function(e){return e.map((function(t){var r=null,n=e.find((function(e){return"lvl1"===e.type&&e.hierarchy.lvl1===t.hierarchy.lvl1}));return"lvl1"!==t.type&&n&&(r=n),y(y({},t),{},{__docsearch_parent:r},v)}))})).flat()}}}))}))}})}),[o,c,u,Z,s,Y,G,$,W,a,S,p,D,T,r,n]),te=ee.getEnvironmentProps,re=ee.getRootProps,ne=ee.refresh;return function(t){var r=t.getEnvironmentProps,n=t.panelElement,o=t.formElement,i=t.inputElement;react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(n&&o&&i){var e=r({panelElement:n,formElement:o,inputElement:i}),t=e.onTouchStart,a=e.onTouchMove;return window.addEventListener("touchstart",t),window.addEventListener("touchmove",a),function(){window.removeEventListener("touchstart",t),window.removeEventListener("touchmove",a)}}}),[r,n,o,i])}({getEnvironmentProps:te,panelElement:V.current,formElement:K.current,inputElement:z.current}),function(t){var r=t.container;react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){if(r){var e=r.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),t=e[0],n=e[e.length-1];return r.addEventListener("keydown",o),function(){r.removeEventListener("keydown",o)}}function o(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),t.focus()))}}),[r])}({container:F.current}),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){return document.body.classList.add("DocSearch--active"),function(){var e,t;document.body.classList.remove("DocSearch--active"),null===(e=(t=window).scrollTo)||void 0===e||e.call(t,0,E)}}),[]),react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect((function(){var e=window.innerWidth-document.body.clientWidth;return document.body.style.marginRight="".concat(e,"px"),function(){document.body.style.marginRight="0px"}}),[]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){window.matchMedia("(max-width: 768px)").matches&&(J.current=5)}),[]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){V.current&&(V.current.scrollTop=0)}),[H.query]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){W.length>0&&(ne(),z.current&&z.current.focus())}),[W,ne]),react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){function e(){if(U.current){var e=.01*window.innerHeight;U.current.style.setProperty("--docsearch-vh","".concat(e,"px"))}}return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",m({ref:F},re({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container","stalled"===H.status&&"DocSearch-Container--Stalled","error"===H.status&&"DocSearch-Container--Errored"].filter(
81Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(e){e.target===e.currentTarget&&s()}}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Modal",ref:U},react__WEBPACK_IMPORTED_MODULE_0__.createElement("header",{className:"DocSearch-SearchBar",ref:K},react__WEBPACK_IMPORTED_MODULE_0__.createElement(kr,m({},ee,{state:H,autoFocus:0===W.length,inputRef:z,isFromSelection:Boolean(W)&&W===Q,translations:R,onClose:s}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"DocSearch-Dropdown",ref:V},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Ir,m({},ee,{indexName:o,state:H,hitComponent:d,resultsFooterComponent:b,disableUserPersonalization:D,recentSearches:Y,favoriteSearches:G,inputRef:z,translations:q,getMissingResultsUrl:C,onItemClick:function(e,t){X(e),$(e),yr(t)||s()}}))),react__WEBPACK_IMPORTED_MODULE_0__.createElement("footer",{className:"DocSearch-Footer"},react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wt,{translations:L}))))}function cn(t){var r=t.isOpen,n=t.onOpen,o=t.onClose,i=t.onInput,a=t.searchButtonRef;react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){function e(e){var t;if("Escape"===e.code&&r||"k"===(null===(t=e.key)||void 0===t?void 0:t.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,r=t.tagName;return t.isContentEditable||"INPUT"===r||"SELECT"===r||"TEXTAREA"===r}(e)&&"/"===e.key&&!r)return e.preventDefault(),void(r?o():document.body.classList.contains("DocSearch--active")||n());a&&a.current===document.activeElement&&i&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&i(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[r,n,o,i,a])}function un(t){var r,n,i=e.useRef(null),a=O(e.useState(!1),2),c=a[0],u=a[1],l=O(e.useState((null==t?void 0:t.initialQuery)||void 0),2),s=l[0],f=l[1],p=e.useCallback((function(){u(!0)}),[u]),v=e.useCallback((function(){u(!1),f(null==t?void 0:t.initialQuery)}),[u,t.initialQuery]);return cn({isOpen:c,onOpen:p,onClose:v,onInput:e.useCallback((function(e){u(!0),f(e.key)}),[u,f]),searchButtonRef:i}),e.createElement(e.Fragment,null,e.createElement(A,{ref:i,translations:null==t||null===(r=t.translations)||void 0===r?void 0:r.button,onClick:p}),c&&o(e.createElement(an,m({},t,{initialScrollY:window.scrollY,initialQuery:s,translations:null==t||null===(n=t.translations)||void 0===n?void 0:n.modal,onClose:v})),document.body))} 82 83 84/***/ }), 85 86/***/ 1982: 87/***/ ((__unused_webpack_module, exports) => { 88 89"use strict"; 90/** 91 * @license React 92 * scheduler.production.js 93 * 94 * Copyright (c) Meta Platforms, Inc. and affiliates. 95 * 96 * This source code is licensed under the MIT license found in the 97 * LICENSE file in the root directory of this source tree. 98 */ 99 100 101function push(heap, node) { 102 var index = heap.length; 103 heap.push(node); 104 a: for (; 0 < index; ) { 105 var parentIndex = (index - 1) >>> 1, 106 parent = heap[parentIndex]; 107 if (0 < compare(parent, node)) 108 (heap[parentIndex] = node), (heap[index] = parent), (index = parentIndex); 109 else break a; 110 } 111} 112function peek(heap) { 113 return 0 === heap.length ? null : heap[0]; 114} 115function pop(heap) { 116 if (0 === heap.length) return null; 117 var first = heap[0], 118 last = heap.pop(); 119 if (last !== first) { 120 heap[0] = last; 121 a: for ( 122 var index = 0, length = heap.length, halfLength = length >>> 1; 123 index < halfLength; 124 125 ) { 126 var leftIndex = 2 * (index + 1) - 1, 127 left = heap[leftIndex], 128 rightIndex = leftIndex + 1, 129 right = heap[rightIndex]; 130 if (0 > compare(left, last)) 131 rightIndex < length && 0 > compare(right, left) 132 ? ((heap[index] = right), 133 (heap[rightIndex] = last), 134 (index = rightIndex)) 135 : ((heap[index] = left), 136 (heap[leftIndex] = last), 137 (index = leftIndex)); 138 else if (rightIndex < length && 0 > compare(right, last)) 139 (heap[index] = right), (heap[rightIndex] = last), (index = rightIndex); 140 else break a; 141 } 142 } 143 return first; 144} 145function compare(a, b) { 146 var diff = a.sortIndex - b.sortIndex; 147 return 0 !== diff ? diff : a.id - b.id; 148} 149exports.unstable_now = void 0; 150if ("object" === typeof performance && "function" === typeof performance.now) { 151 var localPerformance = performance; 152 exports.unstable_now = function () { 153 return localPerformance.now(); 154 }; 155} else { 156 var localDate = Date, 157 initialTime = localDate.now(); 158 exports.unstable_now = function () { 159 return localDate.now() - initialTime; 160 }; 161} 162var taskQueue = [], 163 timerQueue = [], 164 taskIdCounter = 1, 165 currentTask = null, 166 currentPriorityLevel = 3, 167 isPerformingWork = !1, 168 isHostCallbackScheduled = !1, 169 isHostTimeoutScheduled = !1, 170 needsPaint = !1, 171 localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, 172 localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, 173 localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null; 174function advanceTimers(currentTime) { 175 for (var timer = peek(timerQueue); null !== timer; ) { 176 if (null === timer.callback) pop(timerQueue); 177 else if (timer.startTime <= currentTime) 178 pop(timerQueue), 179 (timer.sortIndex = timer.expirationTime), 180 push(taskQueue, timer); 181 else break; 182 timer = peek(timerQueue); 183 } 184} 185function handleTimeout(currentTime) { 186 isHostTimeoutScheduled = !1; 187 advanceTimers(currentTime); 188 if (!isHostCallbackScheduled) 189 if (null !== peek(taskQueue)) 190 (isHostCallbackScheduled = !0), 191 isMessageLoopRunning || 192 ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline()); 193 else { 194 var firstTimer = peek(timerQueue); 195 null !== firstTimer && 196 requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime); 197 } 198} 199var isMessageLoopRunning = !1, 200 taskTimeoutID = -1, 201 frameInterval = 5, 202 startTime = -1; 203function shouldYieldToHost() { 204 return needsPaint 205 ? !0 206 : exports.unstable_now() - startTime < frameInterval 207 ? !1 208 : !0; 209} 210function performWorkUntilDeadline() { 211 needsPaint = !1; 212 if (isMessageLoopRunning) { 213 var currentTime = exports.unstable_now(); 214 startTime = currentTime; 215 var hasMoreWork = !0; 216 try { 217 a: { 218 isHostCallbackScheduled = !1; 219 isHostTimeoutScheduled && 220 ((isHostTimeoutScheduled = !1), 221 localClearTimeout(taskTimeoutID), 222 (taskTimeoutID = -1)); 223 isPerformingWork = !0; 224 var previousPriorityLevel = currentPriorityLevel; 225 try { 226 b: { 227 advanceTimers(currentTime); 228 for ( 229 currentTask = peek(taskQueue); 230 null !== currentTask && 231 !( 232 currentTask.expirationTime > currentTime && shouldYieldToHost() 233 ); 234 235 ) { 236 var callback = currentTask.callback; 237 if ("function" === typeof callback) { 238 currentTask.callback = null; 239 currentPriorityLevel = currentTask.priorityLevel; 240 var continuationCallback = callback( 241 currentTask.expirationTime <= currentTime 242 ); 243 currentTime = exports.unstable_now(); 244 if ("function" === typeof continuationCallback) { 245 currentTask.callback = continuationCallback; 246 advanceTimers(currentTime); 247 hasMoreWork = !0; 248 break b; 249 } 250 currentTask === peek(taskQueue) && pop(taskQueue); 251 advanceTimers(currentTime); 252 } else pop(taskQueue); 253 currentTask = peek(taskQueue); 254 } 255 if (null !== currentTask) hasMoreWork = !0; 256 else { 257 var firstTimer = peek(timerQueue); 258 null !== firstTimer && 259 requestHostTimeout( 260 handleTimeout, 261 firstTimer.startTime - currentTime 262 ); 263 hasMoreWork = !1; 264 } 265 } 266 break a; 267 } finally { 268 (currentTask = null),
269 (currentPriorityLevel = previousPriorityLevel), 270 (isPerformingWork = !1); 271 } 272 hasMoreWork = void 0; 273 } 274 } finally { 275 hasMoreWork 276 ? schedulePerformWorkUntilDeadline() 277 : (isMessageLoopRunning = !1); 278 } 279 } 280} 281var schedulePerformWorkUntilDeadline; 282if ("function" === typeof localSetImmediate) 283 schedulePerformWorkUntilDeadline = function () { 284 localSetImmediate(performWorkUntilDeadline); 285 }; 286else if ("undefined" !== typeof MessageChannel) { 287 var channel = new MessageChannel(), 288 port = channel.port2; 289 channel.port1.onmessage = performWorkUntilDeadline; 290 schedulePerformWorkUntilDeadline = function () { 291 port.postMessage(null); 292 }; 293} else 294 schedulePerformWorkUntilDeadline = function () { 295 localSetTimeout(performWorkUntilDeadline, 0); 296 }; 297function requestHostTimeout(callback, ms) { 298 taskTimeoutID = localSetTimeout(function () { 299 callback(exports.unstable_now()); 300 }, ms); 301} 302exports.unstable_IdlePriority = 5; 303exports.unstable_ImmediatePriority = 1; 304exports.unstable_LowPriority = 4; 305exports.unstable_NormalPriority = 3; 306exports.unstable_Profiling = null; 307exports.unstable_UserBlockingPriority = 2; 308exports.unstable_cancelCallback = function (task) { 309 task.callback = null; 310}; 311exports.unstable_forceFrameRate = function (fps) { 312 0 > fps || 125 < fps 313 ? console.error( 314 "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" 315 ) 316 : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5); 317}; 318exports.unstable_getCurrentPriorityLevel = function () { 319 return currentPriorityLevel; 320}; 321exports.unstable_next = function (eventHandler) { 322 switch (currentPriorityLevel) { 323 case 1: 324 case 2: 325 case 3: 326 var priorityLevel = 3; 327 break; 328 default: 329 priorityLevel = currentPriorityLevel; 330 } 331 var previousPriorityLevel = currentPriorityLevel; 332 currentPriorityLevel = priorityLevel; 333 try { 334 return eventHandler(); 335 } finally { 336 currentPriorityLevel = previousPriorityLevel; 337 } 338}; 339exports.unstable_requestPaint = function () { 340 needsPaint = !0; 341}; 342exports.unstable_runWithPriority = function (priorityLevel, eventHandler) { 343 switch (priorityLevel) { 344 case 1: 345 case 2: 346 case 3: 347 case 4: 348 case 5: 349 break; 350 default: 351 priorityLevel = 3; 352 } 353 var previousPriorityLevel = currentPriorityLevel; 354 currentPriorityLevel = priorityLevel; 355 try { 356 return eventHandler(); 357 } finally { 358 currentPriorityLevel = previousPriorityLevel; 359 } 360}; 361exports.unstable_scheduleCallback = function ( 362 priorityLevel, 363 callback, 364 options 365) { 366 var currentTime = exports.unstable_now(); 367 "object" === typeof options && null !== options 368 ? ((options = options.delay), 369 (options = 370 "number" === typeof options && 0 < options 371 ? currentTime + options 372 : currentTime)) 373 : (options = currentTime); 374 switch (priorityLevel) { 375 case 1: 376 var timeout = -1; 377 break; 378 case 2: 379 timeout = 250; 380 break; 381 case 5: 382 timeout = 1073741823; 383 break; 384 case 4: 385 timeout = 1e4; 386 break; 387 default: 388 timeout = 5e3; 389 } 390 timeout = options + timeout; 391 priorityLevel = { 392 id: taskIdCounter++, 393 callback: callback, 394 priorityLevel: priorityLevel, 395 startTime: options, 396 expirationTime: timeout, 397 sortIndex: -1 398 }; 399 options > currentTime 400 ? ((priorityLevel.sortIndex = options), 401 push(timerQueue, priorityLevel), 402 null === peek(taskQueue) && 403 priorityLevel === peek(timerQueue) && 404 (isHostTimeoutScheduled 405 ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1)) 406 : (isHostTimeoutScheduled = !0), 407 requestHostTimeout(handleTimeout, options - currentTime))) 408 : ((priorityLevel.sortIndex = timeout), 409 push(taskQueue, priorityLevel), 410 isHostCallbackScheduled || 411 isPerformingWork || 412 ((isHostCallbackScheduled = !0), 413 isMessageLoopRunning || 414 ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline()))); 415 return priorityLevel; 416}; 417exports.unstable_shouldYield = shouldYieldToHost; 418exports.unstable_wrapCallback = function (callback) { 419 var parentPriorityLevel = currentPriorityLevel; 420 return function () { 421 var previousPriorityLevel = currentPriorityLevel; 422 currentPriorityLevel = parentPriorityLevel; 423 try { 424 return callback.apply(this, arguments); 425 } finally { 426 currentPriorityLevel = previousPriorityLevel; 427 } 428 }; 429}; 430 431 432/***/ }), 433 434/***/ 2300: 435/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 436 437"use strict"; 438var __webpack_unused_export__; 439 440__webpack_unused_export__ = ({ value: true }); 441exports.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; 442const tslib_1 = __webpack_require__(88016); 443exports.LU = "__blog-post-container"; 444var applyTrailingSlash_1 = __webpack_require__(46955); 445Object.defineProperty(exports, "Ks", ({ enumerable: true, get: function() { 446 return tslib_1.__importDefault(applyTrailingSlash_1).default; 447} })); 448__webpack_unused_export__ = ({ enumerable: true, get: function() { 449 return applyTrailingSlash_1.addTrailingSlash; 450} }); 451__webpack_unused_export__ = ({ enumerable: true, get: function() { 452 return applyTrailingSlash_1.addLeadingSlash; 453} }); 454__webpack_unused_export__ = ({ enumerable: true, get: function() { 455 return applyTrailingSlash_1.removeTrailingSlash; 456} }); 457var stringUtils_1 = __webpack_require__(37026); 458__webpack_unused_export__ = ({ enumerable: true, get: function() { 459 return stringUtils_1.addPrefix; 460} }); 461__webpack_unused_export__ = ({ enumerable: true, get: function() { 462 return stringUtils_1.removeSuffix; 463} }); 464__webpack_unused_export__ = ({ enumerable: true, get: function() { 465 return stringUtils_1.addSuffix; 466} }); 467__webpack_unused_export__ = ({ enumerable: true, get: function() { 468 return stringUtils_1.removePrefix; 469} }); 470var errorUtils_1 = __webpack_require__(92921); 471Object.defineProperty(exports, "rA", ({ enumerable: true, get: function() { 472 return errorUtils_1.getErrorCausalChain; 473} })); 474 475 476/***/ }), 477 478/***/ 3458: 479/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 480 481"use strict"; 482 483// EXPORTS 484__webpack_require__.d(__webpack_exports__, { 485 A: () => (/* binding */ Layout) 486}); 487 488// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 489var jsx_runtime = __webpack_require__(48231); 490// EXTERNAL MODULE: ../../.yarn/cache/clsx-npm-2.1.0-29d286e1de-2e0ce7c3b6.zip/node_modules/clsx/dist/clsx.mjs 491var clsx = __webpack_require__(75437); 492// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17
492/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/ErrorBoundary.js + 1 modules 493var ErrorBoundary = __webpack_require__(10035); 494// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/metadataUtils.js 495var metadataUtils = __webpack_require__(35646); 496// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/skipToContentUtils.js 497var skipToContentUtils = __webpack_require__(25886); 498// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/ThemeClassNames.js 499var ThemeClassNames = __webpack_require__(48073); 500// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/useKeyboardNavigation.js + 1 modules 501var useKeyboardNavigation = __webpack_require__(79583); 502;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/SkipToContent/styles.module.css 503// extracted by mini-css-extract-plugin 504/* harmony default export */ const styles_module = ({"skipToContent":"skipToContent_YG_3"}); 505;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/SkipToContent/index.js 506 507 508 509function SkipToContent() { 510 return /* @__PURE__ */ (0,jsx_runtime.jsx)(skipToContentUtils/* SkipToContentLink */.K, { 511 className: styles_module.skipToContent 512 }); 513} 514 515// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useThemeConfig.js 516var useThemeConfig = __webpack_require__(90864); 517// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/contexts/announcementBar.js 518var contexts_announcementBar = __webpack_require__(5279); 519// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Translate.js + 1 modules 520var Translate = __webpack_require__(66187); 521;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/Close/index.js 522var __defProp = Object.defineProperty; 523var __defProps = Object.defineProperties; 524var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 525var __getOwnPropSymbols = Object.getOwnPropertySymbols; 526var __hasOwnProp = Object.prototype.hasOwnProperty; 527var __propIsEnum = Object.prototype.propertyIsEnumerable; 528var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 529var __spreadValues = (a, b) => { 530 for (var prop in b || (b = {})) 531 if (__hasOwnProp.call(b, prop)) 532 __defNormalProp(a, prop, b[prop]); 533 if (__getOwnPropSymbols) 534 for (var prop of __getOwnPropSymbols(b)) { 535 if (__propIsEnum.call(b, prop)) 536 __defNormalProp(a, prop, b[prop]); 537 } 538 return a; 539}; 540var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 541var __objRest = (source, exclude) => { 542 var target = {}; 543 for (var prop in source) 544 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 545 target[prop] = source[prop]; 546 if (source != null && __getOwnPropSymbols) 547 for (var prop of __getOwnPropSymbols(source)) { 548 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 549 target[prop] = source[prop]; 550 } 551 return target; 552}; 553 554function IconClose(_a) { 555 var _b = _a, { 556 width = 21, 557 height = 21, 558 color = "currentColor", 559 strokeWidth = 1.2, 560 className 561 } = _b, restProps = __objRest(_b, [ 562 "width", 563 "height", 564 "color", 565 "strokeWidth", 566 "className" 567 ]); 568 return /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", __spreadProps(__spreadValues({
569 viewBox: "0 0 15 15", 570 width, 571 height 572 }, restProps), { 573 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("g", { 574 stroke: color, 575 strokeWidth, 576 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("path", { 577 d: "M.75.75l13.5 13.5M14.25.75L.75 14.25" 578 }) 579 }) 580 })); 581} 582 583;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/AnnouncementBar/CloseButton/styles.module.css 584// extracted by mini-css-extract-plugin 585/* harmony default export */ const CloseButton_styles_module = ({"closeButton":"closeButton_cfyj"}); 586;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/AnnouncementBar/CloseButton/index.js 587var CloseButton_defProp = Object.defineProperty; 588var CloseButton_defProps = Object.defineProperties; 589var CloseButton_getOwnPropDescs = Object.getOwnPropertyDescriptors; 590var CloseButton_getOwnPropSymbols = Object.getOwnPropertySymbols; 591var CloseButton_hasOwnProp = Object.prototype.hasOwnProperty; 592var CloseButton_propIsEnum = Object.prototype.propertyIsEnumerable; 593var CloseButton_defNormalProp = (obj, key, value) => key in obj ? CloseButton_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 594var CloseButton_spreadValues = (a, b) => { 595 for (var prop in b || (b = {})) 596 if (CloseButton_hasOwnProp.call(b, prop)) 597 CloseButton_defNormalProp(a, prop, b[prop]); 598 if (CloseButton_getOwnPropSymbols) 599 for (var prop of CloseButton_getOwnPropSymbols(b)) { 600 if (CloseButton_propIsEnum.call(b, prop)) 601 CloseButton_defNormalProp(a, prop, b[prop]); 602 } 603 return a; 604}; 605var CloseButton_spreadProps = (a, b) => CloseButton_defProps(a, CloseButton_getOwnPropDescs(b)); 606 607 608 609 610 611function AnnouncementBarCloseButton(props) { 612 return /* @__PURE__ */ (0,jsx_runtime.jsx)("button", CloseButton_spreadProps(CloseButton_spreadValues({ 613 type: "button", 614 "aria-label": (0,Translate/* translate */.T)({ 615 id: "theme.AnnouncementBar.closeButtonAriaLabel", 616 message: "Close", 617 description: "The ARIA label for close button of announcement bar" 618 }) 619 }, props), { 620 className: (0,clsx/* default */.A)("clean-btn close", CloseButton_styles_module.closeButton, props.className), 621 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(IconClose, { 622 width: 14, 623 height: 14, 624 strokeWidth: 3.1 625 }) 626 })); 627} 628 629;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/AnnouncementBar/Content/styles.module.css 630// extracted by mini-css-extract-plugin 631/* harmony default export */ const Content_styles_module = ({"content":"content_cMEH"}); 632;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/AnnouncementBar/Content/index.js 633var Content_defProp = Object.defineProperty; 634var Content_defProps = Object.defineProperties; 635var Content_getOwnPropDescs = Object.getOwnPropertyDescriptors; 636var Content_getOwnPropSymbols = Object.getOwnPropertySymbols; 637var Content_hasOwnProp = Object.prototype.hasOwnProperty; 638var Content_propIsEnum = Object.prototype.propertyIsEnumerable; 639var Content_defNormalProp = (obj, key, value) => key in obj ? Content_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 640var Content_spreadValues = (a, b) => { 641 for (var prop in b || (b = {})) 642 if (Content_hasOwnProp.call(b, prop)) 643 Content_defNormalProp(a, prop, b[prop]); 644 if (Content_getOwnPropSymbols) 645 for (var prop of Content_getOwnPropSymbols(b)) { 646 if (Content_propIsEnum.call(b, prop)) 647 Content_defNormalProp(a, prop, b[prop]); 648 } 649 return a; 650}; 651var Content_spreadProps = (a, b) => Content_defProps(a, Content_getOwnPropDescs(b)); 652 653 654 655 656function AnnouncementBarContent(props) { 657 const { announcementBar } = (0,useThemeConfig/* useThemeConfig */.p)(); 658 const { content } = announcementBar; 659 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", Content_spreadProps(Content_spreadValues({}, props), { 660 className: (0,clsx/* default */.A)(Content_styles_module.content, props.className), 661 dangerouslySetInnerHTML: { __html: content } 662 })); 663} 664 665;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/AnnouncementBar/styles.module.css 666// extracted by mini-css-extract-plugin 667/* harmony default export */ const AnnouncementBar_styles_module = ({"announcementBar":"announcementBar_YKKg","announcementBarPlaceholder":"announcementBarPlaceholder_BpAf","announcementBarClose":"announcementBarClose_GDgm","announcementBarContent":"announcementBarContent_Kt29"}); 668;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/AnnouncementBar/index.js 669 670 671 672 673 674 675function AnnouncementBar() { 676 const { announcementBar } = (0,useThemeConfig/* useThemeConfig */.p)(); 677 const { isActive, close } = (0,contexts_announcementBar/* useAnnouncementBar */.M)(); 678 if (!isActive) { 679 return null; 680 } 681 const { backgroundColor, textColor, isCloseable } = announcementBar; 682 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 683 className: AnnouncementBar_styles_module.announcementBar, 684 style: { backgroundColor, color: textColor }, 685 role: "banner", 686 children: [
687 isCloseable && /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 688 className: AnnouncementBar_styles_module.announcementBarPlaceholder 689 }), 690 /* @__PURE__ */ (0,jsx_runtime.jsx)(AnnouncementBarContent, { 691 className: AnnouncementBar_styles_module.announcementBarContent 692 }), 693 isCloseable && /* @__PURE__ */ (0,jsx_runtime.jsx)(AnnouncementBarCloseButton, { 694 onClick: close, 695 className: AnnouncementBar_styles_module.announcementBarClose 696 }) 697 ] 698 }); 699} 700 701// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/contexts/navbarMobileSidebar.js 702var navbarMobileSidebar = __webpack_require__(72575); 703// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 704var react = __webpack_require__(77407); 705// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useLocationChange.js 706var useLocationChange = __webpack_require__(82468); 707// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/scrollUtils.js 708var scrollUtils = __webpack_require__(69186); 709;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/useHideableNavbar.js 710 711 712 713function useHideableNavbar(hideOnScroll) { 714 const [isNavbarVisible, setIsNavbarVisible] = (0,react.useState)(hideOnScroll); 715 const isFocusedAnchor = (0,react.useRef)(false); 716 const navbarHeight = (0,react.useRef)(0); 717 const navbarRef = (0,react.useCallback)((node) => { 718 if (node !== null) { 719 navbarHeight.current = node.getBoundingClientRect().height; 720 } 721 }, []); 722 (0,scrollUtils/* useScrollPosition */.Mq)(({ scrollY: scrollTop }, lastPosition) => { 723 if (!hideOnScroll) { 724 return; 725 } 726 if (scrollTop < navbarHeight.current) { 727 setIsNavbarVisible(true); 728 return; 729 } 730 if (isFocusedAnchor.current) { 731 isFocusedAnchor.current = false; 732 return; 733 } 734 const lastScrollTop = lastPosition == null ? void 0 : lastPosition.scrollY; 735 const documentHeight = document.documentElement.scrollHeight - navbarHeight.current; 736 const windowHeight = window.innerHeight; 737 if (lastScrollTop && scrollTop >= lastScrollTop) { 738 setIsNavbarVisible(false); 739 } else if (scrollTop + windowHeight < documentHeight) { 740 setIsNavbarVisible(true); 741 } 742 }); 743 (0,useLocationChange/* useLocationChange */.$)((locationChangeEvent) => { 744 if (!hideOnScroll) { 745 return; 746 } 747 const currentHash = locationChangeEvent.location.hash; 748 const currentHashAnchor = currentHash ? document.getElementById(currentHash.substring(1)) : void 0; 749 if (currentHashAnchor) { 750 isFocusedAnchor.current = true; 751 setIsNavbarVisible(false); 752 return; 753 } 754 setIsNavbarVisible(true); 755 }); 756 return { navbarRef, isNavbarVisible }; 757} 758 759;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/useLockBodyScroll.js 760 761function useLockBodyScroll(lock = true) { 762 (0,react.useEffect)(() => { 763 document.body.style.overflow = lock ? "hidden" : "visible"; 764 return () => { 765 document.body.style.overflow = "visible"; 766 }; 767 }, [lock]); 768} 769 770// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/reactUtils.js 771var reactUtils = __webpack_require__(80178); 772// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/contexts/navbarSecondaryMenu/content.js 773var navbarSecondaryMenu_content = __webpack_require__(6914); 774;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/contexts/navbarSecondaryMenu/display.js 775var display_defProp = Object.defineProperty; 776var display_getOwnPropSymbols = Object.getOwnPropertySymbols; 777var display_hasOwnProp = Object.prototype.hasOwnProperty; 778var display_propIsEnum = Object.prototype.propertyIsEnumerable; 779var display_defNormalProp = (obj, key, value) => key in obj ? display_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 780var display_spreadValues = (a, b) => { 781 for (var prop in b || (b = {})) 782 if (display_hasOwnProp.call(b, prop)) 783 display_defNormalProp(a, prop, b[prop]); 784 if (display_getOwnPropSymbols) 785 for (var prop of display_getOwnPropSymbols(b)) { 786 if (display_propIsEnum.call(b, prop)) 787 display_defNormalProp(a, prop, b[prop]); 788 } 789 return a; 790}; 791 792 793 794 795 796const Context = react.createContext(null); 797function useContextValue() { 798 const mobileSidebar = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 799 const content = (0,navbarSecondaryMenu_content/* useNavbarSecondaryMenuContent */.YL)(); 800 const [shown, setShown] = (0,react.useState)(false); 801 const hasContent = content.component !== null; 802 const previousHasContent = (0,reactUtils/* usePrevious */.ZC)(hasContent); 803 (0,react.useEffect)(() => { 804 const contentBecameAvailable = hasContent && !previousHasContent; 805 if (contentBecameAvailable) { 806 setShown(true); 807 } 808 }, [hasContent, previousHasContent]); 809 (0,react.useEffect)(() => { 810 if (!hasContent) { 811 setShown(false); 812 return; 813 } 814 if (!mobileSidebar.shown) { 815 setShown(true); 816 } 817 }, [mobileSidebar.shown, hasContent]); 818 return (0,react.useMemo)(() => [shown, setShown], [shown]); 819} 820function NavbarSecondaryMenuDisplayProvider({ children }) { 821 const value = useContextValue(); 822 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Context.Provider, { 823 value, 824 children 825 }); 826} 827function renderElement(content) { 828 if (content.component) { 829 const Comp = content.component; 830 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Comp, display_spreadValues({}, content.props)); 831 } 832 return void 0; 833} 834function useNavbarSecondaryMenu() { 835 const value = (0,react.useContext)(Context); 836 if (!value) { 837 throw new reactUtils/* ReactContextError */.dV("NavbarSecondaryMenuDisplayProvider"); 838 } 839 const [shown, setShown] = value; 840 const hide = (0,react.useCallback)(() => setShown(false), [setShown]); 841 const content = (0,navbarSecondaryMenu_content/* useNavbarSecondaryMenuContent */.YL)(); 842 return (0,react.useMemo)(() => ({ shown, hide, content: renderElement(content) }), [hide, content, shown]); 843} 844 845;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/MobileSidebar/Layout/index.js 846 847 848 849function NavbarMobileSidebarLayout({ 850 header, 851 primaryMenu, 852 secondaryMenu 853}) { 854 const { shown: secondaryMenuShown } = useNavbarSecondaryMenu(); 855 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 856 className: "navbar-sidebar", 857 children: [ 858 header,
859 /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 860 className: (0,clsx/* default */.A)("navbar-sidebar__items", { 861 "navbar-sidebar__items--show-secondary": secondaryMenuShown 862 }), 863 children: [ 864 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 865 className: "navbar-sidebar__item menu", 866 children: primaryMenu 867 }), 868 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 869 className: "navbar-sidebar__item menu", 870 children: secondaryMenu 871 }) 872 ] 873 }) 874 ] 875 }); 876} 877 878// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/contexts/colorMode.js 879var contexts_colorMode = __webpack_require__(61887); 880// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useIsBrowser.js 881var useIsBrowser = __webpack_require__(38389); 882;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/LightMode/index.js 883var LightMode_defProp = Object.defineProperty; 884var LightMode_defProps = Object.defineProperties; 885var LightMode_getOwnPropDescs = Object.getOwnPropertyDescriptors; 886var LightMode_getOwnPropSymbols = Object.getOwnPropertySymbols; 887var LightMode_hasOwnProp = Object.prototype.hasOwnProperty; 888var LightMode_propIsEnum = Object.prototype.propertyIsEnumerable; 889var LightMode_defNormalProp = (obj, key, value) => key in obj ? LightMode_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 890var LightMode_spreadValues = (a, b) => { 891 for (var prop in b || (b = {})) 892 if (LightMode_hasOwnProp.call(b, prop)) 893 LightMode_defNormalProp(a, prop, b[prop]); 894 if (LightMode_getOwnPropSymbols) 895 for (var prop of LightMode_getOwnPropSymbols(b)) { 896 if (LightMode_propIsEnum.call(b, prop)) 897 LightMode_defNormalProp(a, prop, b[prop]); 898 } 899 return a; 900}; 901var LightMode_spreadProps = (a, b) => LightMode_defProps(a, LightMode_getOwnPropDescs(b)); 902 903function IconLightMode(props) { 904 return /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", LightMode_spreadProps(LightMode_spreadValues({ 905 viewBox: "0 0 24 24", 906 width: 24, 907 height: 24 908 }, props), { 909 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("path", { 910 fill: "currentColor", 911 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" 912 }) 913 })); 914} 915 916;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/DarkMode/index.js 917var DarkMode_defProp = Object.defineProperty; 918var DarkMode_defProps = Object.defineProperties; 919var DarkMode_getOwnPropDescs = Object.getOwnPropertyDescriptors; 920var DarkMode_getOwnPropSymbols = Object.getOwnPropertySymbols; 921var DarkMode_hasOwnProp = Object.prototype.hasOwnProperty; 922var DarkMode_propIsEnum = Object.prototype.propertyIsEnumerable;
923var DarkMode_defNormalProp = (obj, key, value) => key in obj ? DarkMode_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 924var DarkMode_spreadValues = (a, b) => { 925 for (var prop in b || (b = {})) 926 if (DarkMode_hasOwnProp.call(b, prop)) 927 DarkMode_defNormalProp(a, prop, b[prop]); 928 if (DarkMode_getOwnPropSymbols) 929 for (var prop of DarkMode_getOwnPropSymbols(b)) { 930 if (DarkMode_propIsEnum.call(b, prop)) 931 DarkMode_defNormalProp(a, prop, b[prop]); 932 } 933 return a; 934}; 935var DarkMode_spreadProps = (a, b) => DarkMode_defProps(a, DarkMode_getOwnPropDescs(b)); 936 937function IconDarkMode(props) { 938 return /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", DarkMode_spreadProps(DarkMode_spreadValues({ 939 viewBox: "0 0 24 24", 940 width: 24, 941 height: 24 942 }, props), { 943 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("path", { 944 fill: "currentColor", 945 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" 946 }) 947 })); 948} 949 950;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/ColorModeToggle/styles.module.css 951// extracted by mini-css-extract-plugin 952/* harmony default export */ const ColorModeToggle_styles_module = ({"toggle":"toggle_bdoe","toggleButton":"toggleButton_LaCU","darkToggleIcon":"darkToggleIcon_dTfs","lightToggleIcon":"lightToggleIcon_Hn3H","toggleButtonDisabled":"toggleButtonDisabled_FMbd"}); 953;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/ColorModeToggle/index.js 954 955 956 957 958 959 960 961 962function ColorModeToggle({ className, buttonClassName, value, onChange }) { 963 const isBrowser = (0,useIsBrowser/* default */.A)(); 964 const title = (0,Translate/* translate */.T)( 965 { 966 message: "Switch between dark and light mode (currently {mode})", 967 id: "theme.colorToggle.ariaLabel", 968 description: "The ARIA label for the navbar color mode toggle" 969 }, 970 { 971 mode: value === "dark" ? (0,Translate/* translate */.T)({ 972 message: "dark mode", 973 id: "theme.colorToggle.ariaLabel.mode.dark", 974 description: "The name for the dark color mode" 975 }) : (0,Translate/* translate */.T)({ 976 message: "light mode", 977 id: "theme.colorToggle.ariaLabel.mode.light", 978 description: "The name for the light color mode" 979 }) 980 } 981 ); 982 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 983 className: (0,clsx/* default */.A)(ColorModeToggle_styles_module.toggle, className), 984 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)("button", { 985 className: (0,clsx/* default */.A)( 986 "clean-btn", 987 ColorModeToggle_styles_module.toggleButton, 988 !isBrowser && ColorModeToggle_styles_module.toggleButtonDisabled, 989 buttonClassName 990 ), 991 type: "button", 992 onClick: () => onChange(value === "dark" ? "light" : "dark"), 993 disabled: !isBrowser, 994 title, 995 "aria-label": title, 996 "aria-live": "polite", 997 "aria-pressed": value === "dark" ? "true" : "false", 998 children: [
999 /* @__PURE__ */ (0,jsx_runtime.jsx)(IconLightMode, { 1000 className: (0,clsx/* default */.A)(ColorModeToggle_styles_module.toggleIcon, ColorModeToggle_styles_module.lightToggleIcon) 1001 }), 1002 /* @__PURE__ */ (0,jsx_runtime.jsx)(IconDarkMode, { 1003 className: (0,clsx/* default */.A)(ColorModeToggle_styles_module.toggleIcon, ColorModeToggle_styles_module.darkToggleIcon) 1004 }) 1005 ] 1006 }) 1007 }); 1008} 1009/* harmony default export */ const theme_ColorModeToggle = (react.memo(ColorModeToggle)); 1010 1011;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/ColorModeToggle/styles.module.css 1012// extracted by mini-css-extract-plugin 1013/* harmony default export */ const Navbar_ColorModeToggle_styles_module = ({"darkNavbarColorModeToggle":"darkNavbarColorModeToggle_VzSa"}); 1014;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/ColorModeToggle/index.js 1015 1016 1017 1018 1019function NavbarColorModeToggle({ className }) { 1020 const navbarStyle = (0,useThemeConfig/* useThemeConfig */.p)().navbar.style; 1021 const disabled = (0,useThemeConfig/* useThemeConfig */.p)().colorMode.disableSwitch; 1022 const { colorMode, setColorMode } = (0,contexts_colorMode/* useColorMode */.G)(); 1023 if (disabled) { 1024 return null; 1025 } 1026 return /* @__PURE__ */ (0,jsx_runtime.jsx)(theme_ColorModeToggle, { 1027 className, 1028 buttonClassName: navbarStyle === "dark" ? Navbar_ColorModeToggle_styles_module.darkNavbarColorModeToggle : void 0, 1029 value: colorMode, 1030 onChange: setColorMode 1031 }); 1032} 1033 1034// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Logo/index.js 1035var Logo = __webpack_require__(12451); 1036;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Logo/index.js 1037 1038 1039function NavbarLogo() { 1040 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Logo/* default */.A, { 1041 className: "navbar__brand", 1042 imageClassName: "navbar__logo", 1043 titleClassName: "navbar__title text--truncate" 1044 }); 1045} 1046 1047;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/MobileSidebar/Header/index.js 1048 1049 1050 1051 1052 1053 1054function CloseButton() { 1055 const mobileSidebar = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 1056 return /* @__PURE__ */ (0,jsx_runtime.jsx)("button", { 1057 type: "button", 1058 "aria-label": (0,Translate/* translate */.T)({ 1059 id: "theme.docs.sidebar.closeSidebarButtonAriaLabel", 1060 message: "Close navigation bar", 1061 description: "The ARIA label for close button of mobile sidebar" 1062 }), 1063 className: "clean-btn navbar-sidebar__close", 1064 onClick: () => mobileSidebar.toggle(), 1065 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(IconClose, { 1066 color: "var(--ifm-color-emphasis-600)" 1067 }) 1068 }); 1069} 1070function NavbarMobileSidebarHeader() { 1071 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 1072 className: "navbar-sidebar__brand", 1073 children: [
1074 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarLogo, {}), 1075 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarColorModeToggle, { 1076 className: "margin-right--md" 1077 }), 1078 /* @__PURE__ */ (0,jsx_runtime.jsx)(CloseButton, {}) 1079 ] 1080 }); 1081} 1082 1083// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Link.js 1084var Link = __webpack_require__(14196); 1085// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useBaseUrl.js 1086var useBaseUrl = __webpack_require__(54271); 1087// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/isInternalUrl.js 1088var isInternalUrl = __webpack_require__(98908); 1089// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/regexpUtils.js 1090var regexpUtils = __webpack_require__(73398); 1091// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/ExternalLink/index.js + 1 modules 1092var ExternalLink = __webpack_require__(60679); 1093;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/NavbarNavLink.js 1094var NavbarNavLink_defProp = Object.defineProperty; 1095var NavbarNavLink_getOwnPropSymbols = Object.getOwnPropertySymbols; 1096var NavbarNavLink_hasOwnProp = Object.prototype.hasOwnProperty; 1097var NavbarNavLink_propIsEnum = Object.prototype.propertyIsEnumerable; 1098var NavbarNavLink_defNormalProp = (obj, key, value) => key in obj ? NavbarNavLink_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 1099var NavbarNavLink_spreadValues = (a, b) => { 1100 for (var prop in b || (b = {})) 1101 if (NavbarNavLink_hasOwnProp.call(b, prop)) 1102 NavbarNavLink_defNormalProp(a, prop, b[prop]); 1103 if (NavbarNavLink_getOwnPropSymbols) 1104 for (var prop of NavbarNavLink_getOwnPropSymbols(b)) { 1105 if (NavbarNavLink_propIsEnum.call(b, prop)) 1106 NavbarNavLink_defNormalProp(a, prop, b[prop]); 1107 } 1108 return a; 1109}; 1110var NavbarNavLink_objRest = (source, exclude) => { 1111 var target = {}; 1112 for (var prop in source) 1113 if (NavbarNavLink_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 1114 target[prop] = source[prop]; 1115 if (source != null && NavbarNavLink_getOwnPropSymbols) 1116 for (var prop of NavbarNavLink_getOwnPropSymbols(source)) { 1117 if (exclude.indexOf(prop) < 0 && NavbarNavLink_propIsEnum.call(source, prop)) 1118 target[prop] = source[prop]; 1119 } 1120 return target; 1121}; 1122 1123 1124 1125 1126 1127 1128function NavbarNavLink(_a) { 1129 var _b = _a, { 1130 activeBasePath, 1131 activeBaseRegex, 1132 to, 1133 href, 1134 label, 1135 html, 1136 isDropdownLink, 1137 prependBaseUrlToHref 1138 } = _b, props = NavbarNavLink_objRest(_b, [ 1139 "activeBasePath", 1140 "activeBaseRegex", 1141 "to", 1142 "href", 1143 "label", 1144 "html", 1145 "isDropdownLink", 1146 "prependBaseUrlToHref" 1147 ]); 1148 const toUrl = (0,useBaseUrl/* default */.Ay)(to); 1149 const activeBaseUrl = (0,useBaseUrl/* default */.Ay)(activeBasePath); 1150 const normalizedHref = (0,useBaseUrl/* default */.Ay)(href, { forcePrependBaseUrl: true }); 1151 const isExternalLink = label && href && !(0,isInternalUrl/* default */.A)(href); 1152 const linkContentProps = html ? { dangerouslySetInnerHTML: { __html: html } } : { 1153 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 1154 children: [ 1155 label,
1156 isExternalLink && /* @__PURE__ */ (0,jsx_runtime.jsx)(ExternalLink/* default */.A, NavbarNavLink_spreadValues({}, isDropdownLink && { width: 12, height: 12 })) 1157 ] 1158 }) 1159 }; 1160 if (href) { 1161 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Link["default"], NavbarNavLink_spreadValues(NavbarNavLink_spreadValues({ 1162 href: prependBaseUrlToHref ? normalizedHref : href 1163 }, props), linkContentProps)); 1164 } 1165 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Link["default"], NavbarNavLink_spreadValues(NavbarNavLink_spreadValues(NavbarNavLink_spreadValues({ 1166 to: toUrl, 1167 isNavLink: true 1168 }, (activeBasePath || activeBaseRegex) && { 1169 isActive: (_match, location) => activeBaseRegex ? (0,regexpUtils/* isRegexpStringMatch */.G)(activeBaseRegex, location.pathname) : location.pathname.startsWith(activeBaseUrl) 1170 }), props), linkContentProps)); 1171} 1172 1173;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DefaultNavbarItem.js 1174var DefaultNavbarItem_defProp = Object.defineProperty; 1175var DefaultNavbarItem_defProps = Object.defineProperties; 1176var DefaultNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 1177var DefaultNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 1178var DefaultNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 1179var DefaultNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 1180var DefaultNavbarItem_defNormalProp = (obj, key, value) => key in obj ? DefaultNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 1181var DefaultNavbarItem_spreadValues = (a, b) => { 1182 for (var prop in b || (b = {})) 1183 if (DefaultNavbarItem_hasOwnProp.call(b, prop)) 1184 DefaultNavbarItem_defNormalProp(a, prop, b[prop]); 1185 if (DefaultNavbarItem_getOwnPropSymbols) 1186 for (var prop of DefaultNavbarItem_getOwnPropSymbols(b)) { 1187 if (DefaultNavbarItem_propIsEnum.call(b, prop)) 1188 DefaultNavbarItem_defNormalProp(a, prop, b[prop]); 1189 } 1190 return a; 1191}; 1192var DefaultNavbarItem_spreadProps = (a, b) => DefaultNavbarItem_defProps(a, DefaultNavbarItem_getOwnPropDescs(b)); 1193var DefaultNavbarItem_objRest = (source, exclude) => { 1194 var target = {}; 1195 for (var prop in source) 1196 if (DefaultNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 1197 target[prop] = source[prop]; 1198 if (source != null && DefaultNavbarItem_getOwnPropSymbols) 1199 for (var prop of DefaultNavbarItem_getOwnPropSymbols(source)) { 1200 if (exclude.indexOf(prop) < 0 && DefaultNavbarItem_propIsEnum.call(source, prop)) 1201 target[prop] = source[prop]; 1202 } 1203 return target; 1204}; 1205 1206 1207 1208function DefaultNavbarItemDesktop(_a) { 1209 var _b = _a, { 1210 className, 1211 isDropdownItem = false 1212 } = _b, props = DefaultNavbarItem_objRest(_b, [ 1213 "className", 1214 "isDropdownItem" 1215 ]); 1216 const element = /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarNavLink, DefaultNavbarItem_spreadValues({ 1217 className: (0,clsx/* default */.A)( 1218 isDropdownItem ? "dropdown__link" : "navbar__item navbar__link", 1219 className 1220 ), 1221 isDropdownLink: isDropdownItem 1222 }, props)); 1223 if (isDropdownItem) { 1224 return /* @__PURE__ */ (0,jsx_runtime.jsx)("li", { 1225 children: element 1226 }); 1227 } 1228 return element; 1229} 1230function DefaultNavbarItemMobile(_c) { 1231 var _d = _c, { className, isDropdownItem } = _d, props = DefaultNavbarItem_objRest(_d, ["className", "isDropdownItem"]); 1232 return /* @__PURE__ */ (0,jsx_runtime.jsx)("li", { 1233 className: "menu__list-item", 1234 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarNavLink, DefaultNavbarItem_spreadValues({ 1235 className: (0,clsx/* default */.A)("menu__link", className) 1236 }, props)) 1237 }); 1238} 1239function DefaultNavbarItem(_e) { 1240 var _f = _e, { 1241 mobile = false, 1242 position 1243 } = _f, props = DefaultNavbarItem_objRest(_f, [ 1244 "mobile", 1245 "position" 1246 ]); 1247 var _a; 1248 const Comp = mobile ? DefaultNavbarItemMobile : DefaultNavbarItemDesktop; 1249 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Comp, DefaultNavbarItem_spreadProps(DefaultNavbarItem_spreadValues({}, props), { 1250 activeClassName: (_a = props.activeClassName) != null ? _a : mobile ? "menu__link--active" : "navbar__link--active" 1251 })); 1252} 1253 1254// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/components/Collapsible/index.js 1255var Collapsible = __webpack_require__(90020); 1256// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/routesUtils.js 1257var routesUtils = __webpack_require__(85223); 1258// EXTERNAL MODULE: ../../.yarn/__virtual__/react-router-virtual-f409f9d4ca/0/cache/react-router-npm-5.3.4-cc0757f6df-99d54a99af.zip/node_modules/react-router/esm/react-router.js 1259var react_router = __webpack_require__(8662); 1260// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17
1260/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useDocusaurusContext.js 1261var useDocusaurusContext = __webpack_require__(99788); 1262;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useLocalPathname.js 1263 1264 1265function useLocalPathname() { 1266 const { siteConfig: { baseUrl } } = (0,useDocusaurusContext["default"])(); 1267 const { pathname } = (0,react_router/* useLocation */.zy)(); 1268 return pathname.replace(baseUrl, "/"); 1269} 1270 1271;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DropdownNavbarItem/styles.module.css 1272// extracted by mini-css-extract-plugin 1273/* harmony default export */ const DropdownNavbarItem_styles_module = ({"dropdownNavbarItemMobile":"dropdownNavbarItemMobile_A_ev"}); 1274;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DropdownNavbarItem/index.js 1275var DropdownNavbarItem_defProp = Object.defineProperty; 1276var DropdownNavbarItem_defProps = Object.defineProperties; 1277var DropdownNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 1278var DropdownNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 1279var DropdownNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 1280var DropdownNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 1281var DropdownNavbarItem_defNormalProp = (obj, key, value) => key in obj ? DropdownNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 1282var DropdownNavbarItem_spreadValues = (a, b) => { 1283 for (var prop in b || (b = {})) 1284 if (DropdownNavbarItem_hasOwnProp.call(b, prop)) 1285 DropdownNavbarItem_defNormalProp(a, prop, b[prop]); 1286 if (DropdownNavbarItem_getOwnPropSymbols) 1287 for (var prop of DropdownNavbarItem_getOwnPropSymbols(b)) { 1288 if (DropdownNavbarItem_propIsEnum.call(b, prop)) 1289 DropdownNavbarItem_defNormalProp(a, prop, b[prop]); 1290 } 1291 return a; 1292}; 1293var DropdownNavbarItem_spreadProps = (a, b) => DropdownNavbarItem_defProps(a, DropdownNavbarItem_getOwnPropDescs(b)); 1294var DropdownNavbarItem_objRest = (source, exclude) => { 1295 var target = {}; 1296 for (var prop in source) 1297 if (DropdownNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 1298 target[prop] = source[prop]; 1299 if (source != null && DropdownNavbarItem_getOwnPropSymbols) 1300 for (var prop of DropdownNavbarItem_getOwnPropSymbols(source)) { 1301 if (exclude.indexOf(prop) < 0 && DropdownNavbarItem_propIsEnum.call(source, prop)) 1302 target[prop] = source[prop]; 1303 } 1304 return target; 1305}; 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315function isItemActive(item, localPathname) { 1316 if ((0,routesUtils/* isSamePath */.ys)(item.to, localPathname)) { 1317 return true; 1318 } 1319 if ((0,regexpUtils/* isRegexpStringMatch */.G)(item.activeBaseRegex, localPathname)) { 1320 return true; 1321 } 1322 if (item.activeBasePath && localPathname.startsWith(item.activeBasePath)) { 1323 return true; 1324 } 1325 return false; 1326} 1327function containsActiveItems(items, localPathname) { 1328 return items.some((item) => isItemActive(item, localPathname)); 1329} 1330function DropdownNavbarItemDesktop(_a) { 1331 var _b = _a, { 1332 items, 1333 position, 1334 className, 1335 onClick 1336 } = _b, props = DropdownNavbarItem_objRest(_b, [ 1337 "items", 1338 "position", 1339 "className", 1340 "onClick" 1341 ]); 1342 var _a2; 1343 const dropdownRef = (0,react.useRef)(null); 1344 const [showDropdown, setShowDropdown] = (0,react.useState)(false); 1345 (0,react.useEffect)(() => { 1346 const handleClickOutside = (event) => { 1347 if (!dropdownRef.current || dropdownRef.current.contains(event.target)) { 1348 return; 1349 } 1350 setShowDropdown(false); 1351 }; 1352 document.addEventListener("mousedown", handleClickOutside); 1353 document.addEventListener("touchstart", handleClickOutside); 1354 document.addEventListener("focusin", handleClickOutside); 1355 return () => { 1356 document.removeEventListener("mousedown", handleClickOutside); 1357 document.removeEventListener("touchstart", handleClickOutside); 1358 document.removeEventListener("focusin", handleClickOutside); 1359 }; 1360 }, [dropdownRef]); 1361 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 1362 ref: dropdownRef, 1363 className: (0,clsx/* default */.A)("navbar__item", "dropdown", "dropdown--hoverable", { 1364 "dropdown--right": position === "right", 1365 "dropdown--show": showDropdown 1366 }), 1367 children: [
1368 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarNavLink, DropdownNavbarItem_spreadProps(DropdownNavbarItem_spreadValues({ 1369 "aria-haspopup": "true", 1370 "aria-expanded": showDropdown, 1371 role: "button", 1372 href: props.to ? void 0 : "#", 1373 className: (0,clsx/* default */.A)("navbar__link", className) 1374 }, props), { 1375 onClick: props.to ? void 0 : (e) => e.preventDefault(), 1376 onKeyDown: (e) => { 1377 if (e.key === "Enter") { 1378 e.preventDefault(); 1379 setShowDropdown(!showDropdown); 1380 } 1381 }, 1382 children: (_a2 = props.children) != null ? _a2 : props.label 1383 })), 1384 /* @__PURE__ */ (0,jsx_runtime.jsx)("ul", { 1385 className: "dropdown__menu", 1386 children: items.map((childItemProps, i) => /* @__PURE__ */ (0,react.createElement)(NavbarItem, DropdownNavbarItem_spreadProps(DropdownNavbarItem_spreadValues({ 1387 isDropdownItem: true, 1388 activeClassName: "dropdown__link--active" 1389 }, childItemProps), { 1390 key: i 1391 }))) 1392 }) 1393 ] 1394 }); 1395} 1396function DropdownNavbarItemMobile(_c) { 1397 var _d = _c, { 1398 items, 1399 className, 1400 position, 1401 onClick 1402 } = _d, props = DropdownNavbarItem_objRest(_d, [ 1403 "items", 1404 "className", 1405 "position", 1406 "onClick" 1407 ]); 1408 var _a; 1409 const localPathname = useLocalPathname(); 1410 const containsActive = containsActiveItems(items, localPathname); 1411 const { collapsed, toggleCollapsed, setCollapsed } = (0,Collapsible/* useCollapsible */.u)({ 1412 initialState: () => !containsActive 1413 }); 1414 (0,react.useEffect)(() => { 1415 if (containsActive) { 1416 setCollapsed(!containsActive); 1417 } 1418 }, [localPathname, containsActive, setCollapsed]); 1419 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("li", { 1420 className: (0,clsx/* default */.A)("menu__list-item", { 1421 "menu__list-item--collapsed": collapsed 1422 }), 1423 children: [
1424 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarNavLink, DropdownNavbarItem_spreadProps(DropdownNavbarItem_spreadValues({ 1425 role: "button", 1426 className: (0,clsx/* default */.A)( 1427 DropdownNavbarItem_styles_module.dropdownNavbarItemMobile, 1428 "menu__link menu__link--sublist menu__link--sublist-caret", 1429 className 1430 ) 1431 }, props), { 1432 onClick: (e) => { 1433 e.preventDefault(); 1434 toggleCollapsed(); 1435 }, 1436 children: (_a = props.children) != null ? _a : props.label 1437 })), 1438 /* @__PURE__ */ (0,jsx_runtime.jsx)(Collapsible/* Collapsible */.N, { 1439 lazy: true, 1440 as: "ul", 1441 className: "menu__list", 1442 collapsed, 1443 children: items.map((childItemProps, i) => /* @__PURE__ */ (0,react.createElement)(NavbarItem, DropdownNavbarItem_spreadProps(DropdownNavbarItem_spreadValues({ 1444 mobile: true, 1445 isDropdownItem: true, 1446 onClick, 1447 activeClassName: "menu__link--active" 1448 }, childItemProps), { 1449 key: i 1450 }))) 1451 }) 1452 ] 1453 }); 1454} 1455function DropdownNavbarItem(_e) { 1456 var _f = _e, { mobile = false } = _f, props = DropdownNavbarItem_objRest(_f, ["mobile"]); 1457 const Comp = mobile ? DropdownNavbarItemMobile : DropdownNavbarItemDesktop; 1458 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Comp, DropdownNavbarItem_spreadValues({}, props)); 1459} 1460 1461// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useAlternatePageUtils.js 1462var useAlternatePageUtils = __webpack_require__(31981); 1463;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/Language/index.js 1464var Language_defProp = Object.defineProperty; 1465var Language_defProps = Object.defineProperties; 1466var Language_getOwnPropDescs = Object.getOwnPropertyDescriptors; 1467var Language_getOwnPropSymbols = Object.getOwnPropertySymbols; 1468var Language_hasOwnProp = Object.prototype.hasOwnProperty; 1469var Language_propIsEnum = Object.prototype.propertyIsEnumerable; 1470var Language_defNormalProp = (obj, key, value) => key in obj ? Language_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 1471var Language_spreadValues = (a, b) => { 1472 for (var prop in b || (b = {})) 1473 if (Language_hasOwnProp.call(b, prop)) 1474 Language_defNormalProp(a, prop, b[prop]); 1475 if (Language_getOwnPropSymbols) 1476 for (var prop of Language_getOwnPropSymbols(b)) { 1477 if (Language_propIsEnum.call(b, prop)) 1478 Language_defNormalProp(a, prop, b[prop]); 1479 } 1480 return a; 1481}; 1482var Language_spreadProps = (a, b) => Language_defProps(a, Language_getOwnPropDescs(b)); 1483var Language_objRest = (source, exclude) => { 1484 var target = {}; 1485 for (var prop in source) 1486 if (Language_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 1487 target[prop] = source[prop]; 1488 if (source != null && Language_getOwnPropSymbols) 1489 for (var prop of Language_getOwnPropSymbols(source)) { 1490 if (exclude.indexOf(prop) < 0 && Language_propIsEnum.call(source, prop)) 1491 target[prop] = source[prop]; 1492 } 1493 return target; 1494}; 1495 1496function IconLanguage(_a) { 1497 var _b = _a, { width = 20, height = 20 } = _b, props = Language_objRest(_b, ["width", "height"]); 1498 return /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", Language_spreadProps(Language_spreadValues({ 1499 viewBox: "0 0 24 24", 1500 width, 1501 height, 1502 "aria-hidden": true 1503 }, props), { 1504 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("path", { 1505 fill: "currentColor", 1506 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" 1507 }) 1508 })); 1509} 1510 1511;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css 1512// extracted by mini-css-extract-plugin 1513/* harmony default export */ const LocaleDropdownNavbarItem_styles_module = ({"iconLanguage":"iconLanguage_SOUA"}); 1514;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.js 1515var LocaleDropdownNavbarItem_defProp = Object.defineProperty; 1516var LocaleDropdownNavbarItem_defProps = Object.defineProperties; 1517var LocaleDropdownNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 1518var LocaleDropdownNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 1519var LocaleDropdownNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 1520var LocaleDropdownNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 1521var LocaleDropdownNavbarItem_defNormalProp = (obj, key, value) => key in obj ? LocaleDropdownNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 1522var LocaleDropdownNavbarItem_spreadValues = (a, b) => { 1523 for (var prop in b || (b = {})) 1524 if (LocaleDropdownNavbarItem_hasOwnProp.call(b, prop)) 1525 LocaleDropdownNavbarItem_defNormalProp(a, prop, b[prop]); 1526 if (LocaleDropdownNavbarItem_getOwnPropSymbols) 1527 for (var prop of LocaleDropdownNavbarItem_getOwnPropSymbols(b)) { 1528 if (LocaleDropdownNavbarItem_propIsEnum.call(b, prop)) 1529 LocaleDropdownNavbarItem_defNormalProp(a, prop, b[prop]); 1530 } 1531 return a; 1532}; 1533var LocaleDropdownNavbarItem_spreadProps = (a, b) => LocaleDropdownNavbarItem_defProps(a, LocaleDropdownNavbarItem_getOwnPropDescs(b)); 1534var LocaleDropdownNavbarItem_objRest = (source, exclude) => { 1535 var target = {}; 1536 for (var prop in source) 1537 if (LocaleDropdownNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 1538 target[prop] = source[prop]; 1539 if (source != null && LocaleDropdownNavbarItem_getOwnPropSymbols) 1540 for (var prop of LocaleDropdownNavbarItem_getOwnPropSymbols(source)) { 1541 if (exclude.indexOf(prop) < 0 && LocaleDropdownNavbarItem_propIsEnum.call(source, prop)) 1542 target[prop] = source[prop]; 1543 } 1544 return target; 1545}; 1546 1547 1548 1549 1550 1551 1552 1553 1554function LocaleDropdownNavbarItem(_a) { 1555 var _b = _a, { 1556 mobile, 1557 dropdownItemsBefore, 1558 dropdownItemsAfter, 1559 queryString = "" 1560 } = _b, props = LocaleDropdownNavbarItem_objRest(_b, [ 1561 "mobile", 1562 "dropdownItemsBefore", 1563 "dropdownItemsAfter", 1564 "queryString" 1565 ]); 1566 const { 1567 i18n: { currentLocale, locales, localeConfigs } 1568 } = (0,useDocusaurusContext["default"])(); 1569 const alternatePageUtils = (0,useAlternatePageUtils/* useAlternatePageUtils */.o)(); 1570 const { search, hash } = (0,react_router/* useLocation */.zy)(); 1571 const localeItems = locales.map((locale) => { 1572 const baseTo = `pathname://${alternatePageUtils.createUrl({ 1573 locale, 1574 fullyQualified: false 1575 })}`; 1576 const to = `${baseTo}${search}${hash}${queryString}`; 1577 return { 1578 label: localeConfigs[locale].label, 1579 lang: localeConfigs[locale].htmlLang, 1580 to, 1581 target: "_self", 1582 autoAddBaseUrl: false, 1583 className: locale === currentLocale ? mobile ? "menu__link--active" : "dropdown__link--active" : "" 1584 }; 1585 }); 1586 const items = [...dropdownItemsBefore, ...localeItems, ...dropdownItemsAfter]; 1587 const dropdownLabel = mobile ? (0,Translate/* translate */.T)({ 1588 message: "Languages", 1589 id: "theme.navbar.mobileLanguageDropdown.label", 1590 description: "The label for the mobile language switcher dropdown" 1591 }) : localeConfigs[currentLocale].label; 1592 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DropdownNavbarItem, LocaleDropdownNavbarItem_spreadProps(LocaleDropdownNavbarItem_spreadValues({}, props), { 1593 mobile, 1594 label: /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 1595 children: [
1596 /* @__PURE__ */ (0,jsx_runtime.jsx)(IconLanguage, { 1597 className: LocaleDropdownNavbarItem_styles_module.iconLanguage 1598 }), 1599 dropdownLabel 1600 ] 1601 }), 1602 items 1603 })); 1604} 1605 1606// EXTERNAL MODULE: ../../.yarn/__virtual__/react-dom-virtual-25a1a36845/0/cache/react-dom-npm-19.1.0-773f826e46-c5b5860586.zip/node_modules/react-dom/index.js 1607var react_dom = __webpack_require__(78993); 1608// EXTERNAL MODULE: ../../.yarn/__virtual__/@docsearch-react-virtual-4debed6bcd/0/cache/@docsearch-react-npm-3.9.0-ed0a33f83b-26f8dbb7bb.zip/node_modules/@docsearch/react/dist/esm/index.js 1609var esm = __webpack_require__(1298); 1610// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Head.js 1611var Head = __webpack_require__(52658); 1612// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/useSearchPage.js
1613var useSearchPage = __webpack_require__(11541); 1614// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-search-algolia-virtual-2fd7c25ad9/0/cache/@docusaurus-theme-search-algolia-npm-3.7.0-33372258bc-a9dda7e785.zip/node_modules/@docusaurus/theme-search-algolia/lib/client/useSearchResultUrlProcessor.js 1615var useSearchResultUrlProcessor = __webpack_require__(80930); 1616// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/searchUtils.js 1617var searchUtils = __webpack_require__(40821); 1618// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsSearch.js 1619var docsSearch = __webpack_require__(35131); 1620;// ../../.yarn/__virtual__/@docusaurus-theme-search-algolia-virtual-2fd7c25ad9/0/cache/@docusaurus-theme-search-algolia-npm-3.7.0-33372258bc-a9dda7e785.zip/node_modules/@docusaurus/theme-search-algolia/lib/client/useAlgoliaContextualFacetFilters.js 1621 1622 1623 1624function useSearchTags() { 1625 const docsTags = (0,docsSearch/* useDocsContextualSearchTags */.v)(); 1626 return [searchUtils/* DEFAULT_SEARCH_TAG */.C, ...docsTags]; 1627} 1628function useAlgoliaContextualFacetFilters() { 1629 const locale = (0,useDocusaurusContext["default"])().i18n.currentLocale; 1630 const tags = useSearchTags(); 1631 const languageFilter = `language:${locale}`; 1632 const tagsFilter = tags.map((tag) => `docusaurus_tag:${tag}`); 1633 return [languageFilter, tagsFilter]; 1634} 1635 1636;// ../../.yarn/__virtual__/@docusaurus-theme-search-algolia-virtual-2fd7c25ad9/0/cache/@docusaurus-theme-search-algolia-npm-3.7.0-33372258bc-a9dda7e785.zip/node_modules/@docusaurus/theme-search-algolia/lib/theme/SearchTranslations/index.js 1637 1638const translations = { 1639 button: { 1640 buttonText: (0,Translate/* translate */.T)({ 1641 id: "theme.SearchBar.label", 1642 message: "Search", 1643 description: "The ARIA label and placeholder for search button" 1644 }), 1645 buttonAriaLabel: (0,Translate/* translate */.T)({ 1646 id: "theme.SearchBar.label", 1647 message: "Search", 1648 description: "The ARIA label and placeholder for search button" 1649 }) 1650 }, 1651 modal: { 1652 searchBox: { 1653 resetButtonTitle: (0,Translate/* translate */.T)({ 1654 id: "theme.SearchModal.searchBox.resetButtonTitle", 1655 message: "Clear the query", 1656 description: "The label and ARIA label for search box reset button" 1657 }), 1658 resetButtonAriaLabel: (0,Translate/* translate */.T)({ 1659 id: "theme.SearchModal.searchBox.resetButtonTitle", 1660 message: "Clear the query", 1661 description: "The label and ARIA label for search box reset button" 1662 }), 1663 cancelButtonText: (0,Translate/* translate */.T)({ 1664 id: "theme.SearchModal.searchBox.cancelButtonText", 1665 message: "Cancel", 1666 description: "The label and ARIA label for search box cancel button" 1667 }), 1668 cancelButtonAriaLabel: (0,Translate/* translate */.T)({ 1669 id: "theme.SearchModal.searchBox.cancelButtonText", 1670 message: "Cancel", 1671 description: "The label and ARIA label for search box cancel button" 1672 }) 1673 }, 1674 startScreen: { 1675 recentSearchesTitle: (0,Translate/* translate */.T)({ 1676 id: "theme.SearchModal.startScreen.recentSearchesTitle", 1677 message: "Recent", 1678 description: "The title for recent searches" 1679 }), 1680 noRecentSearchesText: (0,Translate/* translate */.T)({ 1681 id: "theme.SearchModal.startScreen.noRecentSearchesText", 1682 message: "No recent searches", 1683 description: "The text when no recent searches" 1684 }), 1685 saveRecentSearchButtonTitle: (0,Translate/* translate */.T)({ 1686 id: "theme.SearchModal.startScreen.saveRecentSearchButtonTitle", 1687 message: "Save this search", 1688 description: "The label for save recent search button" 1689 }), 1690 removeRecentSearchButtonTitle: (0,Translate/* translate */.T)({ 1691 id: "theme.SearchModal.startScreen.removeRecentSearchButtonTitle", 1692 message: "Remove this search from history", 1693 description: "The label for remove recent search button" 1694 }), 1695 favoriteSearchesTitle: (0,Translate/* translate */.T)({ 1696 id: "theme.SearchModal.startScreen.favoriteSearchesTitle", 1697 message: "Favorite", 1698 description: "The title for favorite searches" 1699 }), 1700 removeFavoriteSearchButtonTitle: (0,Translate/* translate */.T)({ 1701 id: "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle", 1702 message: "Remove this search from favorites", 1703 description: "The label for remove favorite search button" 1704 }) 1705 }, 1706 errorScreen: { 1707 titleText: (0,Translate/* translate */.T)({ 1708 id: "theme.SearchModal.errorScreen.titleText", 1709 message: "Unable to fetch results", 1710 description: "The title for error screen of search modal" 1711 }), 1712 helpText: (0,Translate/* translate */.T)({ 1713 id: "theme.SearchModal.errorScreen.helpText", 1714 message: "You might want to check your network connection.", 1715 description: "The help text for error screen of search modal" 1716 }) 1717 }, 1718 footer: { 1719 selectText: (0,Translate/* translate */.T)({ 1720 id: "theme.SearchModal.footer.selectText", 1721 message: "to select", 1722 description: "The explanatory text of the action for the enter key" 1723 }), 1724 selectKeyAriaLabel: (0,Translate/* translate */.T)({ 1725 id: "theme.SearchModal.footer.selectKeyAriaLabel", 1726 message: "Enter key", 1727 description: "The ARIA label for the Enter key button that makes the selection" 1728 }), 1729 navigateText: (0,Translate/* translate */.T)({ 1730 id: "theme.SearchModal.footer.navigateText", 1731 message: "to navigate", 1732 description: "The explanatory text of the action for the Arrow up and Arrow down key" 1733 }), 1734 navigateUpKeyAriaLabel: (0,Translate/* translate */.T)({ 1735 id: "theme.SearchModal.footer.navigateUpKeyAriaLabel", 1736 message: "Arrow up", 1737 description: "The ARIA label for the Arrow up key button that makes the navigation" 1738 }), 1739 navigateDownKeyAriaLabel: (0,Translate/* translate */.T)({ 1740 id: "theme.SearchModal.footer.navigateDownKeyAriaLabel", 1741 message: "Arrow down", 1742 description: "The ARIA label for the Arrow down key button that makes the navigation" 1743 }), 1744 closeText: (0,Translate/* translate */.T)({ 1745 id: "theme.SearchModal.footer.closeText", 1746 message: "to close", 1747 description: "The explanatory text of the action for Escape key" 1748 }),
1749 closeKeyAriaLabel: (0,Translate/* translate */.T)({ 1750 id: "theme.SearchModal.footer.closeKeyAriaLabel", 1751 message: "Escape key", 1752 description: "The ARIA label for the Escape key button that close the modal" 1753 }), 1754 searchByText: (0,Translate/* translate */.T)({ 1755 id: "theme.SearchModal.footer.searchByText", 1756 message: "Search by", 1757 description: "The text explain that the search is making by Algolia" 1758 }) 1759 }, 1760 noResultsScreen: { 1761 noResultsText: (0,Translate/* translate */.T)({ 1762 id: "theme.SearchModal.noResultsScreen.noResultsText", 1763 message: "No results for", 1764 description: "The text explains that there are no results for the following search" 1765 }), 1766 suggestedQueryText: (0,Translate/* translate */.T)({ 1767 id: "theme.SearchModal.noResultsScreen.suggestedQueryText", 1768 message: "Try searching for", 1769 description: "The text for the suggested query when no results are found for the following search" 1770 }), 1771 reportMissingResultsText: (0,Translate/* translate */.T)({ 1772 id: "theme.SearchModal.noResultsScreen.reportMissingResultsText", 1773 message: "Believe this query should return results?", 1774 description: "The text for the question where the user thinks there are missing results" 1775 }), 1776 reportMissingResultsLinkText: (0,Translate/* translate */.T)({ 1777 id: "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText", 1778 message: "Let us know.", 1779 description: "The text for the link to report missing results" 1780 }) 1781 } 1782 }, 1783 placeholder: (0,Translate/* translate */.T)({ 1784 id: "theme.SearchModal.placeholder", 1785 message: "Search docs", 1786 description: "The placeholder of the input of the DocSearch pop-up modal" 1787 }) 1788}; 1789/* harmony default export */ const SearchTranslations = (translations); 1790 1791;// ../../.yarn/__virtual__/@docusaurus-theme-search-algolia-virtual-2fd7c25ad9/0/cache/@docusaurus-theme-search-algolia-npm-3.7.0-33372258bc-a9dda7e785.zip/node_modules/@docusaurus/theme-search-algolia/lib/theme/SearchBar/index.js 1792var SearchBar_defProp = Object.defineProperty; 1793var SearchBar_defProps = Object.defineProperties; 1794var SearchBar_getOwnPropDescs = Object.getOwnPropertyDescriptors; 1795var SearchBar_getOwnPropSymbols = Object.getOwnPropertySymbols; 1796var SearchBar_hasOwnProp = Object.prototype.hasOwnProperty; 1797var SearchBar_propIsEnum = Object.prototype.propertyIsEnumerable; 1798var SearchBar_defNormalProp = (obj, key, value) => key in obj ? SearchBar_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 1799var SearchBar_spreadValues = (a, b) => { 1800 for (var prop in b || (b = {})) 1801 if (SearchBar_hasOwnProp.call(b, prop)) 1802 SearchBar_defNormalProp(a, prop, b[prop]); 1803 if (SearchBar_getOwnPropSymbols) 1804 for (var prop of SearchBar_getOwnPropSymbols(b)) { 1805 if (SearchBar_propIsEnum.call(b, prop)) 1806 SearchBar_defNormalProp(a, prop, b[prop]); 1807 } 1808 return a; 1809}; 1810var SearchBar_spreadProps = (a, b) => SearchBar_defProps(a, SearchBar_getOwnPropDescs(b)); 1811var SearchBar_objRest = (source, exclude) => { 1812 var target = {}; 1813 for (var prop in source) 1814 if (SearchBar_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 1815 target[prop] = source[prop]; 1816 if (source != null && SearchBar_getOwnPropSymbols) 1817 for (var prop of SearchBar_getOwnPropSymbols(source)) { 1818 if (exclude.indexOf(prop) < 0 && SearchBar_propIsEnum.call(source, prop)) 1819 target[prop] = source[prop]; 1820 } 1821 return target; 1822}; 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835let DocSearchModal = null; 1836function importDocSearchModalIfNeeded() { 1837 if (DocSearchModal) { 1838 return Promise.resolve(); 1839 } 1840 return Promise.all([ 1841 __webpack_require__.e(/* import() */ 7716).then(__webpack_require__.bind(__webpack_require__, 17716)), 1842 Promise.all(/* import() */[__webpack_require__.e(1869), __webpack_require__.e(9887)]).then(__webpack_require__.bind(__webpack_require__, 79887)), 1843 Promise.all(/* import() */[__webpack_require__.e(1869), __webpack_require__.e(6706)]).then(__webpack_require__.bind(__webpack_require__, 56706)) 1844 ]).then(([{ DocSearchModal: Modal }]) => { 1845 DocSearchModal = Modal; 1846 }); 1847} 1848function useNavigator({ externalUrlRegex }) { 1849 const history = (0,react_router/* useHistory */.W6)(); 1850 const [navigator] = (0,react.useState)(() => { 1851 return { 1852 navigate(params) { 1853 if ((0,regexpUtils/* isRegexpStringMatch */.G)(externalUrlRegex, params.itemUrl)) { 1854 window.location.href = params.itemUrl; 1855 } else { 1856 history.push(params.itemUrl); 1857 } 1858 } 1859 }; 1860 }); 1861 return navigator; 1862} 1863function useTransformSearchClient() { 1864 const { 1865 siteMetadata: { docusaurusVersion } 1866 } = (0,useDocusaurusContext["default"])(); 1867 return (0,react.useCallback)( 1868 (searchClient) => { 1869 searchClient.addAlgoliaAgent("docusaurus", docusaurusVersion); 1870 return searchClient; 1871 }, 1872 [docusaurusVersion] 1873 ); 1874} 1875function useTransformItems(props) { 1876 const processSearchResultUrl = (0,useSearchResultUrlProcessor/* useSearchResultUrlProcessor */.C)(); 1877 const [transformItems] = (0,react.useState)(() => { 1878 return (items) => props.transformItems ? props.transformItems(items) : items.map((item) => SearchBar_spreadProps(SearchBar_spreadValues({}, item), { 1879 url: processSearchResultUrl(item.url) 1880 })); 1881 }); 1882 return transformItems; 1883} 1884function useResultsFooterComponent({ closeModal }) { 1885 return (0,react.useMemo)( 1886 () => ({ state }) => /* @__PURE__ */ (0,jsx_runtime.jsx)(ResultsFooter, { 1887 state, 1888 onClose: closeModal 1889 }), 1890 [closeModal] 1891 ); 1892} 1893function Hit({ hit, children }) { 1894 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Link["default"], { 1895 to: hit.url, 1896 children 1897 }); 1898} 1899function ResultsFooter({ state, onClose }) { 1900 const createSearchLink = (0,useSearchPage/* useSearchLinkCreator */.w)(); 1901 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Link["default"], { 1902 to: createSearchLink(state.query), 1903 onClick: onClose, 1904 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(Translate/* default */.A, { 1905 id: "theme.SearchBar.seeAll", 1906 values: { count: state.context.nbHits }, 1907 children: "See all {count} results" 1908 }) 1909 }); 1910} 1911function useSearchParameters(_a) { 1912 var _b = _a, { contextualSearch } = _b, props = SearchBar_objRest(_b, ["contextualSearch"]); 1913 var _a2, _b2; 1914 function mergeFacetFilters(f1, f2) { 1915 const normalize = (f) => typeof f === "string" ? [f] : f; 1916 return [...normalize(f1), ...normalize(f2)]; 1917 } 1918 const contextualSearchFacetFilters = useAlgoliaContextualFacetFilters(); 1919 const configFacetFilters = (_b2 = (_a2 = props.searchParameters) == null ? void 0 : _a2.facetFilters) != null ? _b2 : []; 1920 const facetFilters = contextualSearch ? mergeFacetFilters(contextualSearchFacetFilters, configFacetFilters) : configFacetFilters; 1921 return SearchBar_spreadProps(SearchBar_spreadValues({}, props.searchParameters), { 1922 facetFilters 1923 }); 1924} 1925function DocSearch(_c) { 1926 var _d = _c, { externalUrlRegex } = _d, props = SearchBar_objRest(_d, ["externalUrlRegex"]); 1927 var _a, _b, _c2, _d2; 1928 const navigator = useNavigator({ externalUrlRegex }); 1929 const searchParameters = useSearchParameters(SearchBar_spreadValues({}, props)); 1930 const transformItems = useTransformItems(props); 1931 const transformSearchClient = useTransformSearchClient(); 1932 const searchContainer = (0,react.useRef)(null); 1933 const searchButtonRef = (0,react.useRef)(null); 1934 const [isOpen, setIsOpen] = (0,react.useState)(false); 1935 const [initialQuery, setInitialQuery] = (0,react.useState)(void 0); 1936 const prepareSearchContainer = (0,react.useCallback)(() => { 1937 if (!searchContainer.current) { 1938 const divElement = document.createElement("div"); 1939 searchContainer.current = divElement; 1940 document.body.insertBefore(divElement, document.body.firstChild); 1941 } 1942 }, []); 1943 const openModal = (0,react.useCallback)(() => { 1944 prepareSearchContainer(); 1945 importDocSearchModalIfNeeded().then(() => setIsOpen(true)); 1946 }, [prepareSearchContainer]); 1947 const closeModal = (0,react.useCallback)(() => { 1948 var _a2; 1949 setIsOpen(false); 1950 (_a2 = searchButtonRef.current) == null ? void 0 : _a2.focus(); 1951 setInitialQuery(void 0); 1952 }, []); 1953 const handleInput = (0,react.useCallback)( 1954 (event) => { 1955 if (event.key === "f" && (event.metaKey || event.ctrlKey)) { 1956 return; 1957 } 1958 event.preventDefault(); 1959 setInitialQuery(event.key); 1960 openModal(); 1961 }, 1962 [openModal] 1963 ); 1964 const resultsFooterComponent = useResultsFooterComponent({ closeModal }); 1965 (0,esm/* useDocSearchKeyboardEvents */.E8)({ 1966 isOpen, 1967 onOpen: openModal, 1968 onClose: closeModal, 1969 onInput: handleInput, 1970 searchButtonRef 1971 }); 1972 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 1973 children: [
1974 /* @__PURE__ */ (0,jsx_runtime.jsx)(Head/* default */.A, { 1975 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("link", { 1976 rel: "preconnect", 1977 href: `https://${props.appId}-dsn.algolia.net`, 1978 crossOrigin: "anonymous" 1979 }) 1980 }), 1981 /* @__PURE__ */ (0,jsx_runtime.jsx)(esm/* DocSearchButton */.Bc, { 1982 onTouchStart: importDocSearchModalIfNeeded, 1983 onFocus: importDocSearchModalIfNeeded, 1984 onMouseOver: importDocSearchModalIfNeeded, 1985 onClick: openModal, 1986 ref: searchButtonRef, 1987 translations: (_b = (_a = props.translations) == null ? void 0 : _a.button) != null ? _b : SearchTranslations.button 1988 }), 1989 isOpen && DocSearchModal && searchContainer.current && (0,react_dom.createPortal)( 1990 /* @__PURE__ */ (0,jsx_runtime.jsx)(DocSearchModal, SearchBar_spreadProps(SearchBar_spreadValues(SearchBar_spreadProps(SearchBar_spreadValues({ 1991 onClose: closeModal, 1992 initialScrollY: window.scrollY, 1993 initialQuery, 1994 navigator, 1995 transformItems, 1996 hitComponent: Hit, 1997 transformSearchClient 1998 }, props.searchPagePath && { 1999 resultsFooterComponent 2000 }), { 2001 placeholder: SearchTranslations.placeholder 2002 }), props), { 2003 translations: (_d2 = (_c2 = props.translations) == null ? void 0 : _c2.modal) != null ? _d2 : SearchTranslations.modal, 2004 searchParameters 2005 })), 2006 searchContainer.current 2007 ) 2008 ] 2009 }); 2010} 2011function SearchBar() { 2012 const { siteConfig } = (0,useDocusaurusContext["default"])(); 2013 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DocSearch, SearchBar_spreadValues({}, siteConfig.themeConfig.algolia)); 2014} 2015 2016;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Search/styles.module.css 2017// extracted by mini-css-extract-plugin 2018/* harmony default export */ const Search_styles_module = ({"navbarSearchContainer":"navbarSearchContainer_OJc8"}); 2019;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Search/index.js 2020 2021 2022 2023function NavbarSearch({ children, className }) { 2024 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2025 className: (0,clsx/* default */.A)(className, Search_styles_module.navbarSearchContainer), 2026 children 2027 }); 2028} 2029 2030;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/SearchNavbarItem.js 2031 2032 2033 2034function SearchNavbarItem({ mobile, className }) { 2035 if (mobile) { 2036 return null; 2037 } 2038 return /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarSearch, { 2039 className, 2040 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(SearchBar, {}) 2041 }); 2042} 2043 2044;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/HtmlNavbarItem.js 2045 2046 2047function HtmlNavbarItem({ 2048 value, 2049 className, 2050 mobile = false, 2051 isDropdownItem = false 2052}) { 2053 const Comp = isDropdownItem ? "li" : "div"; 2054 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Comp, { 2055 className: (0,clsx/* default */.A)( 2056 { 2057 navbar__item: !mobile && !isDropdownItem, 2058 "menu__list-item": mobile 2059 }, 2060 className 2061 ), 2062 dangerouslySetInnerHTML: { __html: value } 2063 }); 2064} 2065 2066// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/index.js + 2 modules 2067var client = __webpack_require__(49733); 2068// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsUtils.js 2069var docsUtils = __webpack_require__(53198); 2070;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DocNavbarItem.js 2071var DocNavbarItem_defProp = Object.defineProperty; 2072var DocNavbarItem_defProps = Object.defineProperties; 2073var DocNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2074var DocNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 2075var DocNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 2076var DocNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 2077var DocNavbarItem_defNormalProp = (obj, key, value) => key in obj ? DocNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2078var DocNavbarItem_spreadValues = (a, b) => { 2079 for (var prop in b || (b = {})) 2080 if (DocNavbarItem_hasOwnProp.call(b, prop)) 2081 DocNavbarItem_defNormalProp(a, prop, b[prop]); 2082 if (DocNavbarItem_getOwnPropSymbols) 2083 for (var prop of DocNavbarItem_getOwnPropSymbols(b)) { 2084 if (DocNavbarItem_propIsEnum.call(b, prop)) 2085 DocNavbarItem_defNormalProp(a, prop, b[prop]); 2086 } 2087 return a; 2088}; 2089var DocNavbarItem_spreadProps = (a, b) => DocNavbarItem_defProps(a, DocNavbarItem_getOwnPropDescs(b)); 2090var DocNavbarItem_objRest = (source, exclude) => { 2091 var target = {}; 2092 for (var prop in source) 2093 if (DocNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2094 target[prop] = source[prop]; 2095 if (source != null && DocNavbarItem_getOwnPropSymbols) 2096 for (var prop of DocNavbarItem_getOwnPropSymbols(source)) { 2097 if (exclude.indexOf(prop) < 0 && DocNavbarItem_propIsEnum.call(source, prop)) 2098 target[prop] = source[prop]; 2099 } 2100 return target; 2101}; 2102 2103 2104 2105function DocNavbarItem(_a) { 2106 var _b = _a, { 2107 docId, 2108 label: staticLabel, 2109 docsPluginId 2110 } = _b, props = DocNavbarItem_objRest(_b, [ 2111 "docId", 2112 "label", 2113 "docsPluginId" 2114 ]); 2115 const { activeDoc } = (0,client.useActiveDocContext)(docsPluginId); 2116 const doc = (0,docsUtils/* useLayoutDoc */.QB)(docId, docsPluginId); 2117 const pageActive = (activeDoc == null ? void 0 : activeDoc.path) === (doc
2117== null ? void 0 : doc.path); 2118 if (doc === null || doc.unlisted && !pageActive) { 2119 return null; 2120 } 2121 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DefaultNavbarItem, DocNavbarItem_spreadProps(DocNavbarItem_spreadValues({ 2122 exact: true 2123 }, props), { 2124 isActive: () => pageActive || !!(activeDoc == null ? void 0 : activeDoc.sidebar) && activeDoc.sidebar === doc.sidebar, 2125 label: staticLabel != null ? staticLabel : doc.id, 2126 to: doc.path 2127 })); 2128} 2129 2130;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DocSidebarNavbarItem.js 2131var DocSidebarNavbarItem_defProp = Object.defineProperty; 2132var DocSidebarNavbarItem_defProps = Object.defineProperties; 2133var DocSidebarNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2134var DocSidebarNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 2135var DocSidebarNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 2136var DocSidebarNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 2137var DocSidebarNavbarItem_defNormalProp = (obj, key, value) => key in obj ? DocSidebarNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2138var DocSidebarNavbarItem_spreadValues = (a, b) => { 2139 for (var prop in b || (b = {})) 2140 if (DocSidebarNavbarItem_hasOwnProp.call(b, prop)) 2141 DocSidebarNavbarItem_defNormalProp(a, prop, b[prop]); 2142 if (DocSidebarNavbarItem_getOwnPropSymbols) 2143 for (var prop of DocSidebarNavbarItem_getOwnPropSymbols(b)) { 2144 if (DocSidebarNavbarItem_propIsEnum.call(b, prop)) 2145 DocSidebarNavbarItem_defNormalProp(a, prop, b[prop]); 2146 } 2147 return a; 2148}; 2149var DocSidebarNavbarItem_spreadProps = (a, b) => DocSidebarNavbarItem_defProps(a, DocSidebarNavbarItem_getOwnPropDescs(b)); 2150var DocSidebarNavbarItem_objRest = (source, exclude) => { 2151 var target = {}; 2152 for (var prop in source) 2153 if (DocSidebarNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2154 target[prop] = source[prop]; 2155 if (source != null && DocSidebarNavbarItem_getOwnPropSymbols) 2156 for (var prop of DocSidebarNavbarItem_getOwnPropSymbols(source)) { 2157 if (exclude.indexOf(prop) < 0 && DocSidebarNavbarItem_propIsEnum.call(source, prop)) 2158 target[prop] = source[prop]; 2159 } 2160 return target; 2161}; 2162 2163 2164 2165function DocSidebarNavbarItem(_a) { 2166 var _b = _a, { 2167 sidebarId, 2168 label, 2169 docsPluginId 2170 } = _b, props = DocSidebarNavbarItem_objRest(_b, [ 2171 "sidebarId", 2172 "label", 2173 "docsPluginId" 2174 ]); 2175 const { activeDoc } = (0,client.useActiveDocContext)(docsPluginId); 2176 const sidebarLink = (0,docsUtils/* useLayoutDocsSidebar */.fW)(sidebarId, docsPluginId).link; 2177 if (!sidebarLink) { 2178 throw new Error( 2179 `DocSidebarNavbarItem: Sidebar with ID "${sidebarId}" doesn't have anything to be linked to.` 2180 ); 2181 } 2182 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DefaultNavbarItem, DocSidebarNavbarItem_spreadProps(DocSidebarNavbarItem_spreadValues({ 2183 exact: true 2184 }, props), { 2185 isActive: () => (activeDoc == null ? void 0 : activeDoc.sidebar) === sidebarId, 2186 label: label != null ? label : sidebarLink.label, 2187 to: sidebarLink.path 2188 })); 2189} 2190 2191;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DocsVersionNavbarItem.js 2192var DocsVersionNavbarItem_defProp = Object.defineProperty; 2193var DocsVersionNavbarItem_defProps = Object.defineProperties; 2194var DocsVersionNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2195var DocsVersionNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 2196var DocsVersionNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 2197var DocsVersionNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 2198var DocsVersionNavbarItem_defNormalProp = (obj, key, value) => key in obj ? DocsVersionNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2199var DocsVersionNavbarItem_spreadValues = (a, b) => { 2200 for (var prop in b || (b = {})) 2201 if (DocsVersionNavbarItem_hasOwnProp.call(b, prop)) 2202 DocsVersionNavbarItem_defNormalProp(a, prop, b[prop]); 2203 if (DocsVersionNavbarItem_getOwnPropSymbols) 2204 for (var prop of DocsVersionNavbarItem_getOwnPropSymbols(b)) { 2205 if (DocsVersionNavbarItem_propIsEnum.call(b, prop)) 2206 DocsVersionNavbarItem_defNormalProp(a, prop, b[prop]); 2207 } 2208 return a; 2209}; 2210var DocsVersionNavbarItem_spreadProps = (a, b) => DocsVersionNavbarItem_defProps(a, DocsVersionNavbarItem_getOwnPropDescs(b)); 2211var DocsVersionNavbarItem_objRest = (source, exclude) => { 2212 var target = {}; 2213 for (var prop in source) 2214 if (DocsVersionNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2215 target[prop] = source[prop]; 2216 if (source != null && DocsVersionNavbarItem_getOwnPropSymbols) 2217 for (var prop of DocsVersionNavbarItem_getOwnPropSymbols(source)) { 2218 if (exclude.indexOf(prop) < 0 && DocsVersionNavbarItem_propIsEnum.call(source, prop)) 2219 target[prop] = source[prop]; 2220 } 2221 return target; 2222}; 2223 2224 2225 2226const getVersionMainDoc = (version) => version.docs.find((doc) => doc.id === version.mainDocId); 2227function DocsVersionNavbarItem(_a) { 2228 var _b = _a, { 2229 label: staticLabel, 2230 to: staticTo, 2231 docsPluginId 2232 } = _b, props = DocsVersionNavbarItem_objRest(_b, [ 2233 "label", 2234 "to", 2235 "docsPluginId" 2236 ]); 2237 const version = (0,docsUtils/* useDocsVersionCandidates */.Vd)(docsPluginId)[0]; 2238 const label = staticLabel != null ? staticLabel : version.label; 2239 const path = staticTo != null ? staticTo : getVersionMainDoc(version).path; 2240 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DefaultNavbarItem, DocsVersionNavbarItem_spreadProps(DocsVersionNavbarItem_spreadValues({}, props), { 2241 label, 2242 to: path 2243 })); 2244} 2245 2246// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsPreferredVersion.js 2247var docsPreferredVersion = __webpack_require__(28908); 2248;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.js 2249var DocsVersionDropdownNavbarItem_defProp = Object.defineProperty; 2250var DocsVersionDropdownNavbarItem_defProps = Object.defineProperties; 2251var DocsVersionDropdownNavbarItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2252var DocsVersionDropdownNavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 2253var DocsVersionDropdownNavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 2254var DocsVersionDropdownNavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 2255var DocsVersionDropdownNavbarItem_defNormalProp = (obj, key, value) => key in obj ? DocsVersionDropdownNavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2256var DocsVersionDropdownNavbarItem_spreadValues = (a, b) => { 2257 for (var prop in b || (b = {})) 2258 if (DocsVersionDropdownNavbarItem_hasOwnProp.call(b, prop)) 2259 DocsVersionDropdownNavbarItem_defNormalProp(a, prop, b[prop]); 2260 if (DocsVersionDropdownNavbarItem_getOwnPropSymbols) 2261 for (var prop of DocsVersionDropdownNavbarItem_getOwnPropSymbols(b)) { 2262 if (DocsVersionDropdownNavbarItem_propIsEnum.call(b, prop)) 2263 DocsVersionDropdownNavbarItem_defNormalProp(a, prop, b[prop]); 2264 } 2265 return a; 2266}; 2267var DocsVersionDropdownNavbarItem_spreadProps = (a, b) => DocsVersionDropdownNavbarItem_defProps(a, DocsVersionDropdownNavbarItem_getOwnPropDescs(b)); 2268var DocsVersionDropdownNavbarItem_objRest = (source, exclude) => { 2269 var target = {}; 2270 for (var prop in source) 2271 if (DocsVersionDropdownNavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2272 target[prop] = source[prop]; 2273 if (source != null && DocsVersionDropdownNavbarItem_getOwnPropSymbols) 2274 for (var prop of DocsVersionDropdownNavbarItem_getOwnPropSymbols(source)) { 2275 if (exclude.indexOf(prop) < 0 && DocsVersionDropdownNavbarItem_propIsEnum.call(source, prop)) 2276 target[prop] = source[prop]; 2277 } 2278 return target; 2279}; 2280 2281 2282 2283 2284 2285 2286function DocsVersionDropdownNavbarItem_getVersionMainDoc(version) { 2287 return version.docs.find((doc) => doc.id === version.mainDocId); 2288} 2289function getVersionTargetDoc(version, activeDocContext) { 2290 var _a; 2291 return (_a = activeDocContext.alternateDocVersions[version.name]) != null ? _a : DocsVersionDropdownNavbarItem_getVersionMainDoc(version); 2292} 2293function DocsVersionDropdownNavbarItem(_a) { 2294 var _b = _a, { 2295 mobile, 2296 docsPluginId, 2297 dropdownActiveClassDisabled, 2298 dropdownItemsBefore, 2299 dropdownItemsAfter 2300 } = _b, props = DocsVersionDropdownNavbarItem_objRest(_b, [ 2301 "mobile", 2302 "docsPluginId", 2303 "dropdownActiveClassDisabled", 2304 "dropdownItemsBefore", 2305 "dropdownItemsAfter" 2306 ]); 2307 const { search, hash } = (0,react_router/* useLocation */.zy)(); 2308 const activeDocContext = (0,client.useActiveDocContext)(docsPluginId); 2309 const versions = (0,client.useVersions)(docsPluginId); 2310 const { savePreferredVersionName } = (0,docsPreferredVersion/* useDocsPreferredVersion */.g1)(docsPluginId); 2311 function versionToLink(version) { 2312 const targetDoc = getVersionTargetDoc(version, activeDocContext); 2313 return { 2314 label: version.label, 2315 to: `${targetDoc.path}${search}${hash}`, 2316 isActive: () => version === activeDocContext.activeVersion, 2317 onClick: () => savePreferredVersionName(version.name) 2318 }; 2319 } 2320 const items = [ 2321 ...dropdownItemsBefore, 2322 ...versions.map(versionToLink), 2323 ...dropdownItemsAfter 2324 ]; 2325 const dropdownVersion = (0,docsUtils/* useDocsVersionCandidates */.Vd)(docsPluginId)[0]; 2326 const dropdownLabel = mobile && items.length > 1 ? (0,Translate/* translate */.T)({ 2327 id: "theme.navbar.mobileVersionsDropdown.label", 2328 message: "Versions", 2329 description: "The label for the navbar versions dropdown on mobile view" 2330 }) : dropdownVersion.label; 2331 const dropdownTo = mobile && items.length > 1 ? void 0 : getVersionTargetDoc(dropdownVersion, activeDocContext).path; 2332 if (items.length <= 1) { 2333 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DefaultNavbarItem, DocsVersionDropdownNavbarItem_spreadProps(DocsVersionDropdownNavbarItem_spreadValues({}, props), { 2334 mobile, 2335 label: dropdownLabel, 2336 to: dropdownTo, 2337 isActive: dropdownActiveClassDisabled ? () => false : void 0 2338 })); 2339 } 2340 return /* @__PURE__ */ (0,jsx_runtime.jsx)(DropdownNavbarItem, DocsVersionDropdownNavbarItem_spreadProps(DocsVersionDropdownNavbarItem_spreadValues({}, props), { 2341 mobile, 2342 label: dropdownLabel, 2343 to: dropdownTo, 2344 items, 2345 isActive: dropdownActiveClassDisabled ? () => false : void 0 2346 })); 2347} 2348 2349;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/ComponentTypes.js 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359const ComponentTypes = { 2360 default: DefaultNavbarItem, 2361 localeDropdown: LocaleDropdownNavbarItem, 2362 search: SearchNavbarItem, 2363 dropdown: DropdownNavbarItem, 2364 html: HtmlNavbarItem, 2365 doc: DocNavbarItem, 2366 docSidebar: DocSidebarNavbarItem, 2367 docsVersion: DocsVersionNavbarItem, 2368 docsVersionDropdown: DocsVersionDropdownNavbarItem 2369}; 2370/* harmony default export */ const NavbarItem_ComponentTypes = (ComponentTypes); 2371 2372;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/NavbarItem/index.js 2373var NavbarItem_defProp = Object.defineProperty; 2374var NavbarItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 2375var NavbarItem_hasOwnProp = Object.prototype.hasOwnProperty; 2376var NavbarItem_propIsEnum = Object.prototype.propertyIsEnumerable; 2377var NavbarItem_defNormalProp = (obj, key, value) => key in obj ? NavbarItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2378var NavbarItem_spreadValues = (a, b) => { 2379 for (var prop in b || (b = {})) 2380 if (NavbarItem_hasOwnProp.call(b, prop)) 2381 NavbarItem_defNormalProp(a, prop, b[prop]); 2382 if (NavbarItem_getOwnPropSymbols) 2383 for (var prop of NavbarItem_getOwnPropSymbols(b)) { 2384 if (NavbarItem_propIsEnum.call(b, prop)) 2385 NavbarItem_defNormalProp(a, prop, b[prop]); 2386 } 2387 return a; 2388}; 2389var NavbarItem_objRest = (source, exclude) => { 2390 var target = {}; 2391 for (var prop in source) 2392 if (NavbarItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2393 target[prop] = source[prop]; 2394 if (source != null && NavbarItem_getOwnPropSymbols) 2395 for (var prop of NavbarItem_getOwnPropSymbols(source)) { 2396 if (exclude.indexOf(prop) < 0 && NavbarItem_propIsEnum.call(source, prop)) 2397 target[prop] = source[prop]; 2398 } 2399 return target; 2400}; 2401 2402 2403function normalizeComponentType(type, props) { 2404 if (!type || type === "default") { 2405 return "items" in props ? "dropdown" : "default"; 2406 } 2407 return type; 2408} 2409function NavbarItem(_a) { 2410 var _b = _a, { type }
2410 = _b, props = NavbarItem_objRest(_b, ["type"]); 2411 const componentType = normalizeComponentType(type, props); 2412 const NavbarItemComponent = NavbarItem_ComponentTypes[componentType]; 2413 if (!NavbarItemComponent) { 2414 throw new Error(`No NavbarItem component found for type "${type}".`); 2415 } 2416 return /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarItemComponent, NavbarItem_spreadValues({}, props)); 2417} 2418 2419;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.js 2420var PrimaryMenu_defProp = Object.defineProperty; 2421var PrimaryMenu_defProps = Object.defineProperties; 2422var PrimaryMenu_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2423var PrimaryMenu_getOwnPropSymbols = Object.getOwnPropertySymbols; 2424var PrimaryMenu_hasOwnProp = Object.prototype.hasOwnProperty; 2425var PrimaryMenu_propIsEnum = Object.prototype.propertyIsEnumerable; 2426var PrimaryMenu_defNormalProp = (obj, key, value) => key in obj ? PrimaryMenu_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2427var PrimaryMenu_spreadValues = (a, b) => { 2428 for (var prop in b || (b = {})) 2429 if (PrimaryMenu_hasOwnProp.call(b, prop)) 2430 PrimaryMenu_defNormalProp(a, prop, b[prop]); 2431 if (PrimaryMenu_getOwnPropSymbols) 2432 for (var prop of PrimaryMenu_getOwnPropSymbols(b)) { 2433 if (PrimaryMenu_propIsEnum.call(b, prop)) 2434 PrimaryMenu_defNormalProp(a, prop, b[prop]); 2435 } 2436 return a; 2437}; 2438var PrimaryMenu_spreadProps = (a, b) => PrimaryMenu_defProps(a, PrimaryMenu_getOwnPropDescs(b)); 2439 2440 2441 2442 2443 2444function useNavbarItems() { 2445 return (0,useThemeConfig/* useThemeConfig */.p)().navbar.items; 2446} 2447function NavbarMobilePrimaryMenu() { 2448 const mobileSidebar = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 2449 const items = useNavbarItems(); 2450 return /* @__PURE__ */ (0,jsx_runtime.jsx)("ul", { 2451 className: "menu__list", 2452 children: items.map((item, i) => /* @__PURE__ */ (0,react.createElement)(NavbarItem, PrimaryMenu_spreadProps(PrimaryMenu_spreadValues({ 2453 mobile: true 2454 }, item), { 2455 onClick: () => mobileSidebar.toggle(), 2456 key: i 2457 }))) 2458 }); 2459} 2460 2461;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.js 2462var SecondaryMenu_defProp = Object.defineProperty; 2463var SecondaryMenu_defProps = Object.defineProperties; 2464var SecondaryMenu_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2465var SecondaryMenu_getOwnPropSymbols = Object.getOwnPropertySymbols; 2466var SecondaryMenu_hasOwnProp = Object.prototype.hasOwnProperty; 2467var SecondaryMenu_propIsEnum = Object.prototype.propertyIsEnumerable; 2468var SecondaryMenu_defNormalProp = (obj, key, value) => key in obj ? SecondaryMenu_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2469var SecondaryMenu_spreadValues = (a, b) => { 2470 for (var prop in b || (b = {})) 2471 if (SecondaryMenu_hasOwnProp.call(b, prop)) 2472 SecondaryMenu_defNormalProp(a, prop, b[prop]); 2473 if (SecondaryMenu_getOwnPropSymbols) 2474 for (var prop of SecondaryMenu_getOwnPropSymbols(b)) { 2475 if (SecondaryMenu_propIsEnum.call(b, prop)) 2476 SecondaryMenu_defNormalProp(a, prop, b[prop]); 2477 } 2478 return a; 2479}; 2480var SecondaryMenu_spreadProps = (a, b) => SecondaryMenu_defProps(a, SecondaryMenu_getOwnPropDescs(b)); 2481 2482 2483 2484 2485function SecondaryMenuBackButton(props) { 2486 return /* @__PURE__ */ (0,jsx_runtime.jsx)("button", SecondaryMenu_spreadProps(SecondaryMenu_spreadValues({}, props), { 2487 type: "button", 2488 className: "clean-btn navbar-sidebar__back", 2489 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(Translate/* default */.A, { 2490 id: "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel", 2491 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)", 2492 children: "\u2190 Back to main menu" 2493 }) 2494 })); 2495} 2496function NavbarMobileSidebarSecondaryMenu() { 2497 const isPrimaryMenuEmpty = (0,useThemeConfig/* useThemeConfig */.p)().navbar.items.length === 0; 2498 const secondaryMenu = useNavbarSecondaryMenu(); 2499 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 2500 children: [
2501 !isPrimaryMenuEmpty && /* @__PURE__ */ (0,jsx_runtime.jsx)(SecondaryMenuBackButton, { 2502 onClick: () => secondaryMenu.hide() 2503 }), 2504 secondaryMenu.content 2505 ] 2506 }); 2507} 2508 2509;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/MobileSidebar/index.js 2510 2511 2512 2513 2514 2515 2516function NavbarMobileSidebar() { 2517 const mobileSidebar = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 2518 useLockBodyScroll(mobileSidebar.shown); 2519 if (!mobileSidebar.shouldRender) { 2520 return null; 2521 } 2522 return /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarMobileSidebarLayout, { 2523 header: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarMobileSidebarHeader, {}), 2524 primaryMenu: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarMobilePrimaryMenu, {}), 2525 secondaryMenu: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarMobileSidebarSecondaryMenu, {}) 2526 }); 2527} 2528 2529;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Layout/styles.module.css 2530// extracted by mini-css-extract-plugin 2531/* harmony default export */ const Layout_styles_module = ({"navbarHideable":"navbarHideable_YG_m","navbarHidden":"navbarHidden_txXo"}); 2532;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Layout/index.js 2533var Layout_defProp = Object.defineProperty; 2534var Layout_defProps = Object.defineProperties; 2535var Layout_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2536var Layout_getOwnPropSymbols = Object.getOwnPropertySymbols; 2537var Layout_hasOwnProp = Object.prototype.hasOwnProperty; 2538var Layout_propIsEnum = Object.prototype.propertyIsEnumerable; 2539var Layout_defNormalProp = (obj, key, value) => key in obj ? Layout_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2540var Layout_spreadValues = (a, b) => { 2541 for (var prop in b || (b = {})) 2542 if (Layout_hasOwnProp.call(b, prop)) 2543 Layout_defNormalProp(a, prop, b[prop]); 2544 if (Layout_getOwnPropSymbols) 2545 for (var prop of Layout_getOwnPropSymbols(b)) { 2546 if (Layout_propIsEnum.call(b, prop)) 2547 Layout_defNormalProp(a, prop, b[prop]); 2548 } 2549 return a; 2550}; 2551var Layout_spreadProps = (a, b) => Layout_defProps(a, Layout_getOwnPropDescs(b)); 2552 2553 2554 2555 2556 2557 2558 2559function NavbarBackdrop(props) { 2560 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", Layout_spreadProps(Layout_spreadValues({ 2561 role: "presentation" 2562 }, props), { 2563 className: (0,clsx/* default */.A)("navbar-sidebar__backdrop", props.className) 2564 })); 2565} 2566function NavbarLayout({ children }) { 2567 const { 2568 navbar: { hideOnScroll, style } 2569 } = (0,useThemeConfig/* useThemeConfig */.p)(); 2570 const mobileSidebar = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 2571 const { navbarRef, isNavbarVisible } = useHideableNavbar(hideOnScroll); 2572 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("nav", { 2573 ref: navbarRef, 2574 "aria-label": (0,Translate/* translate */.T)({ 2575 id: "theme.NavBar.navAriaLabel", 2576 message: "Main", 2577 description: "The ARIA label for the main navigation" 2578 }), 2579 className: (0,clsx/* default */.A)( 2580 "navbar", 2581 "navbar--fixed-top", 2582 hideOnScroll && [ 2583 Layout_styles_module.navbarHideable, 2584 !isNavbarVisible && Layout_styles_module.navbarHidden 2585 ], 2586 { 2587 "navbar--dark": style === "dark", 2588 "navbar--primary": style === "primary", 2589 "navbar-sidebar--show": mobileSidebar.shown 2590 } 2591 ), 2592 children: [ 2593 children,
2594 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarBackdrop, { 2595 onClick: mobileSidebar.toggle 2596 }), 2597 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarMobileSidebar, {}) 2598 ] 2599 }); 2600} 2601 2602// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/errorBoundaryUtils.js + 1 modules 2603var errorBoundaryUtils = __webpack_require__(35495); 2604;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/navbarUtils.js 2605 2606 2607 2608 2609const DefaultNavItemPosition = "right"; 2610function splitNavbarItems(items) { 2611 function isLeft(item) { 2612 var _a; 2613 return ((_a = item.position) != null ? _a : DefaultNavItemPosition) === "left"; 2614 } 2615 const leftItems = items.filter(isLeft); 2616 const rightItems = items.filter((item) => !isLeft(item)); 2617 return [leftItems, rightItems]; 2618} 2619function NavbarProvider({ children }) { 2620 return /* @__PURE__ */ (0,jsx_runtime.jsx)(navbarSecondaryMenu_content/* NavbarSecondaryMenuContentProvider */.y_, { 2621 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(navbarMobileSidebar/* NavbarMobileSidebarProvider */.e, { 2622 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarSecondaryMenuDisplayProvider, { 2623 children 2624 }) 2625 }) 2626 }); 2627} 2628 2629;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/Menu/index.js 2630var Menu_defProp = Object.defineProperty; 2631var Menu_defProps = Object.defineProperties; 2632var Menu_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2633var Menu_getOwnPropSymbols = Object.getOwnPropertySymbols; 2634var Menu_hasOwnProp = Object.prototype.hasOwnProperty; 2635var Menu_propIsEnum = Object.prototype.propertyIsEnumerable; 2636var Menu_defNormalProp = (obj, key, value) => key in obj ? Menu_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2637var Menu_spreadValues = (a, b) => { 2638 for (var prop in b || (b = {})) 2639 if (Menu_hasOwnProp.call(b, prop)) 2640 Menu_defNormalProp(a, prop, b[prop]); 2641 if (Menu_getOwnPropSymbols) 2642 for (var prop of Menu_getOwnPropSymbols(b)) { 2643 if (Menu_propIsEnum.call(b, prop)) 2644 Menu_defNormalProp(a, prop, b[prop]); 2645 } 2646 return a; 2647}; 2648var Menu_spreadProps = (a, b) => Menu_defProps(a, Menu_getOwnPropDescs(b)); 2649var Menu_objRest = (source, exclude) => { 2650 var target = {}; 2651 for (var prop in source) 2652 if (Menu_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2653 target[prop] = source[prop]; 2654 if (source != null && Menu_getOwnPropSymbols) 2655 for (var prop of Menu_getOwnPropSymbols(source)) { 2656 if (exclude.indexOf(prop) < 0 && Menu_propIsEnum.call(source, prop)) 2657 target[prop] = source[prop]; 2658 } 2659 return target; 2660}; 2661 2662function IconMenu(_a) { 2663 var _b = _a, { 2664 width = 30, 2665 height = 30, 2666 className 2667 } = _b, restProps = Menu_objRest(_b, [ 2668 "width", 2669 "height", 2670 "className" 2671 ]); 2672 return /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", Menu_spreadProps(Menu_spreadValues({ 2673 className, 2674 width, 2675 height, 2676 viewBox: "0 0 30 30", 2677 "aria-hidden": "true" 2678 }, restProps), { 2679 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("path", { 2680 stroke: "currentColor", 2681 strokeLinecap: "round", 2682 strokeMiterlimit: "10", 2683 strokeWidth: "2", 2684 d: "M4 7h22M4 15h22M4 23h22" 2685 }) 2686 })); 2687} 2688 2689;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/MobileSidebar/Toggle/index.js 2690 2691 2692 2693 2694function MobileSidebarToggle() { 2695 const { toggle, shown } = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 2696 return /* @__PURE__ */ (0,jsx_runtime.jsx)("button", { 2697 onClick: toggle, 2698 "aria-label": (0,Translate/* translate */.T)({ 2699 id: "theme.docs.sidebar.toggleSidebarButtonAriaLabel", 2700 message: "Toggle navigation bar", 2701 description: "The ARIA label for hamburger menu button of mobile navigation" 2702 }), 2703 "aria-expanded": shown, 2704 className: "navbar__toggle clean-btn", 2705 type: "button", 2706 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(IconMenu, {}) 2707 }); 2708} 2709 2710;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Content/styles.module.css 2711// extracted by mini-css-extract-plugin 2712/* harmony default export */ const Navbar_Content_styles_module = ({"colorModeToggle":"colorModeToggle_SuQ5"}); 2713;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/Content/index.js 2714var Navbar_Content_defProp = Object.defineProperty; 2715var Navbar_Content_getOwnPropSymbols = Object.getOwnPropertySymbols; 2716var Navbar_Content_hasOwnProp = Object.prototype.hasOwnProperty; 2717var Navbar_Content_propIsEnum = Object.prototype.propertyIsEnumerable; 2718var Navbar_Content_defNormalProp = (obj, key, value) => key in obj ? Navbar_Content_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2719var Navbar_Content_spreadValues = (a, b) => { 2720 for (var prop in b || (b = {})) 2721 if (Navbar_Content_hasOwnProp.call(b, prop)) 2722 Navbar_Content_defNormalProp(a, prop, b[prop]); 2723 if (Navbar_Content_getOwnPropSymbols) 2724 for (var prop of Navbar_Content_getOwnPropSymbols(b)) { 2725 if (Navbar_Content_propIsEnum.call(b, prop)) 2726 Navbar_Content_defNormalProp(a, prop, b[prop]); 2727 } 2728 return a; 2729}; 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740function Content_useNavbarItems() { 2741 return (0,useThemeConfig/* useThemeConfig */.p)().navbar.items; 2742} 2743function NavbarItems({ items }) { 2744 return /* @__PURE__ */ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, { 2745 children: items.map((item, i) => /* @__PURE__ */ (0,jsx_runtime.jsx)(errorBoundaryUtils/* ErrorCauseBoundary */.k2, { 2746 onError: (error) => new Error( 2747 `A theme navbar item failed to render. 2748Please double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config: 2749${JSON.stringify(item, null, 2)}`, 2750 { cause: error } 2751 ), 2752 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarItem, Navbar_Content_spreadValues({}, item)) 2753 }, i)) 2754 }); 2755} 2756function NavbarContentLayout({ left, right }) { 2757 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 2758 className: "navbar__inner", 2759 children: [
2760 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2761 className: "navbar__items", 2762 children: left 2763 }), 2764 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2765 className: "navbar__items navbar__items--right", 2766 children: right 2767 }) 2768 ] 2769 }); 2770} 2771function NavbarContent() { 2772 const mobileSidebar = (0,navbarMobileSidebar/* useNavbarMobileSidebar */.M)(); 2773 const items = Content_useNavbarItems(); 2774 const [leftItems, rightItems] = splitNavbarItems(items); 2775 const searchBarItem = items.find((item) => item.type === "search"); 2776 return /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarContentLayout, { 2777 left: /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 2778 children: [ 2779 !mobileSidebar.disabled && /* @__PURE__ */ (0,jsx_runtime.jsx)(MobileSidebarToggle, {}), 2780 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarLogo, {}), 2781 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarItems, { 2782 items: leftItems 2783 }) 2784 ] 2785 }), 2786 right: /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 2787 children: [
2788 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarItems, { 2789 items: rightItems 2790 }), 2791 /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarColorModeToggle, { 2792 className: Navbar_Content_styles_module.colorModeToggle 2793 }), 2794 !searchBarItem && /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarSearch, { 2795 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(SearchBar, {}) 2796 }) 2797 ] 2798 }) 2799 }); 2800} 2801 2802;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/index.js 2803 2804 2805 2806function Navbar() { 2807 return /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarLayout, { 2808 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(NavbarContent, {}) 2809 }); 2810} 2811 2812// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/footerUtils.js 2813var footerUtils = __webpack_require__(35660); 2814;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/LinkItem/index.js 2815var LinkItem_defProp = Object.defineProperty; 2816var LinkItem_defProps = Object.defineProperties; 2817var LinkItem_getOwnPropDescs = Object.getOwnPropertyDescriptors; 2818var LinkItem_getOwnPropSymbols = Object.getOwnPropertySymbols; 2819var LinkItem_hasOwnProp = Object.prototype.hasOwnProperty; 2820var LinkItem_propIsEnum = Object.prototype.propertyIsEnumerable; 2821var LinkItem_defNormalProp = (obj, key, value) => key in obj ? LinkItem_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 2822var LinkItem_spreadValues = (a, b) => { 2823 for (var prop in b || (b = {})) 2824 if (LinkItem_hasOwnProp.call(b, prop)) 2825 LinkItem_defNormalProp(a, prop, b[prop]); 2826 if (LinkItem_getOwnPropSymbols) 2827 for (var prop of LinkItem_getOwnPropSymbols(b)) { 2828 if (LinkItem_propIsEnum.call(b, prop)) 2829 LinkItem_defNormalProp(a, prop, b[prop]); 2830 } 2831 return a; 2832}; 2833var LinkItem_spreadProps = (a, b) => LinkItem_defProps(a, LinkItem_getOwnPropDescs(b)); 2834var LinkItem_objRest = (source, exclude) => { 2835 var target = {}; 2836 for (var prop in source) 2837 if (LinkItem_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 2838 target[prop] = source[prop]; 2839 if (source != null && LinkItem_getOwnPropSymbols) 2840 for (var prop of LinkItem_getOwnPropSymbols(source)) { 2841 if (exclude.indexOf(prop) < 0 && LinkItem_propIsEnum.call(source, prop)) 2842 target[prop] = source[prop]; 2843 } 2844 return target; 2845}; 2846 2847 2848 2849 2850 2851 2852function FooterLinkItem({ item }) { 2853 const _a = item, { to, href, label, prependBaseUrlToHref, className } = _a, props = LinkItem_objRest(_a, ["to", "href", "label", "prependBaseUrlToHref", "className"]); 2854 const toUrl = (0,useBaseUrl/* default */.Ay)(to); 2855 const normalizedHref = (0,useBaseUrl/* default */.Ay)(href, { forcePrependBaseUrl: true }); 2856 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(Link["default"], LinkItem_spreadProps(LinkItem_spreadValues(LinkItem_spreadValues({ 2857 className: (0,clsx/* default */.A)("footer__link-item", className) 2858 }, href ? { 2859 href: prependBaseUrlToHref ? normalizedHref : href 2860 } : { 2861 to: toUrl 2862 }), props), { 2863 children: [ 2864 label, 2865 href && !(0,isInternalUrl/* default */.A)(href) && /* @__P
2865URE__ */ (0,jsx_runtime.jsx)(ExternalLink/* default */.A, {}) 2866 ] 2867 })); 2868} 2869 2870;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Links/MultiColumn/index.js 2871 2872 2873 2874function ColumnLinkItem({ item }) { 2875 var _a; 2876 return item.html ? /* @__PURE__ */ (0,jsx_runtime.jsx)("li", { 2877 className: (0,clsx/* default */.A)("footer__item", item.className), 2878 dangerouslySetInnerHTML: { __html: item.html } 2879 }) : /* @__PURE__ */ (0,jsx_runtime.jsx)("li", { 2880 className: "footer__item", 2881 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLinkItem, { 2882 item 2883 }) 2884 }, (_a = item.href) != null ? _a : item.to); 2885} 2886function Column({ column }) { 2887 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 2888 className: (0,clsx/* default */.A)("col footer__col", column.className), 2889 children: [ 2890 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2891 className: "footer__title", 2892 children: column.title 2893 }),
2894 /* @__PURE__ */ (0,jsx_runtime.jsx)("ul", { 2895 className: "footer__items clean-list", 2896 children: column.items.map((item, i) => /* @__PURE__ */ (0,jsx_runtime.jsx)(ColumnLinkItem, { 2897 item 2898 }, i)) 2899 }) 2900 ] 2901 }); 2902} 2903function FooterLinksMultiColumn({ columns }) { 2904 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2905 className: "row footer__links", 2906 children: columns.map((column, i) => /* @__PURE__ */ (0,jsx_runtime.jsx)(Column, { 2907 column 2908 }, i)) 2909 }); 2910} 2911 2912;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Links/Simple/index.js 2913 2914 2915 2916 2917function Separator() { 2918 return /* @__PURE__ */ (0,jsx_runtime.jsx)("span", { 2919 className: "footer__link-separator", 2920 children: "\xB7" 2921 }); 2922} 2923function SimpleLinkItem({ item }) { 2924 return item.html ? /* @__PURE__ */ (0,jsx_runtime.jsx)("span", { 2925 className: (0,clsx/* default */.A)("footer__link-item", item.className), 2926 dangerouslySetInnerHTML: { __html: item.html } 2927 }) : /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLinkItem, { 2928 item 2929 }); 2930} 2931function FooterLinksSimple({ links }) { 2932 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2933 className: "footer__links text--center", 2934 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 2935 className: "footer__links", 2936 children: links.map((item, i) => /* @__PURE__ */ (0,jsx_runtime.jsxs)(react.Fragment, { 2937 children: [
2938 /* @__PURE__ */ (0,jsx_runtime.jsx)(SimpleLinkItem, { 2939 item 2940 }), 2941 links.length !== i + 1 && /* @__PURE__ */ (0,jsx_runtime.jsx)(Separator, {}) 2942 ] 2943 }, i)) 2944 }) 2945 }); 2946} 2947 2948;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Links/index.js 2949 2950 2951 2952 2953function FooterLinks({ links }) { 2954 return (0,footerUtils/* isMultiColumnFooterLinks */.C)(links) ? /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLinksMultiColumn, { 2955 columns: links 2956 }) : /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLinksSimple, { 2957 links 2958 }); 2959} 2960 2961// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/ThemedImage/index.js 2962var ThemedImage = __webpack_require__(35184); 2963;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Logo/styles.module.css 2964// extracted by mini-css-extract-plugin 2965/* harmony default export */ const Logo_styles_module = ({"footerLogoLink":"footerLogoLink_aH_k"}); 2966;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Logo/index.js 2967 2968 2969 2970 2971 2972 2973function LogoImage({ logo }) { 2974 var _a; 2975 const { withBaseUrl } = (0,useBaseUrl/* useBaseUrlUtils */.hH)(); 2976 const sources = { 2977 light: withBaseUrl(logo.src), 2978 dark: withBaseUrl((_a = logo.srcDark) != null ? _a : logo.src) 2979 }; 2980 return /* @__PURE__ */ (0,jsx_runtime.jsx)(ThemedImage/* default */.A, { 2981 className: (0,clsx/* default */.A)("footer__logo", logo.className), 2982 alt: logo.alt, 2983 sources, 2984 width: logo.width, 2985 height: logo.height, 2986 style: logo.style 2987 }); 2988} 2989function FooterLogo({ logo }) { 2990 return logo.href ? /* @__PURE__ */ (0,jsx_runtime.jsx)(Link["default"], { 2991 href: logo.href, 2992 className: Logo_styles_module.footerLogoLink, 2993 target: logo.target, 2994 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(LogoImage, { 2995 logo 2996 }) 2997 }) : /* @__PURE__ */ (0,jsx_runtime.jsx)(LogoImage, { 2998 logo 2999 }); 3000} 3001 3002;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Copyright/index.js 3003 3004function FooterCopyright({ copyright }) { 3005 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 3006 className: "footer__copyright", 3007 dangerouslySetInnerHTML: { __html: copyright } 3008 }); 3009} 3010 3011;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/Layout/index.js 3012 3013 3014function FooterLayout({ style, links, logo, copyright }) { 3015 return /* @__PURE__ */ (0,jsx_runtime.jsx)("footer", { 3016 className: (0,clsx/* default */.A)("footer", { 3017 "footer--dark": style === "dark" 3018 }), 3019 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 3020 className: "container container-fluid", 3021 children: [ 3022 links,
3023 (logo || copyright) && /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 3024 className: "footer__bottom text--center", 3025 children: [ 3026 logo && /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 3027 className: "margin-bottom--sm", 3028 children: logo 3029 }), 3030 copyright 3031 ] 3032 }) 3033 ] 3034 }) 3035 }); 3036} 3037 3038;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Footer/index.js 3039 3040 3041 3042 3043 3044 3045 3046function Footer() { 3047 const { footer } = (0,useThemeConfig/* useThemeConfig */.p)(); 3048 if (!footer) { 3049 return null; 3050 } 3051 const { copyright, links, logo, style } = footer; 3052 return /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLayout, { 3053 style, 3054 links: links && links.length > 0 && /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLinks, { 3055 links 3056 }), 3057 logo: logo && /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterLogo, { 3058 logo 3059 }), 3060 copyright: copyright && /* @__PURE__ */ (0,jsx_runtime.jsx)(FooterCopyright, { 3061 copyright 3062 }) 3063 }); 3064} 3065/* harmony default export */ const theme_Footer = (react.memo(Footer)); 3066 3067;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Layout/Provider/index.js 3068 3069 3070 3071 3072const Provider = (0,reactUtils/* composeProviders */.fM)([ 3073 contexts_colorMode/* ColorModeProvider */.a, 3074 contexts_announcementBar/* AnnouncementBarProvider */.o, 3075 scrollUtils/* ScrollControllerProvider */.Tv, 3076 docsPreferredVersion/* DocsPreferredVersionContextProvider */.VQ, 3077 metadataUtils/* PluginHtmlClassNameProvider */.Jx, 3078 NavbarProvider 3079]); 3080function LayoutProvider({ children }) { 3081 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Provider, { 3082 children 3083 }); 3084} 3085 3086// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Heading/index.js + 1 modules 3087var Heading = __webpack_require__(19042); 3088;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/ErrorPageContent.js 3089 3090 3091 3092 3093function ErrorPageContent({ error, tryAgain }) { 3094 return /* @__PURE__ */ (0,jsx_runtime.jsx)("main", { 3095 className: "container margin-vert--xl", 3096 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 3097 className: "row", 3098 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 3099 className: "col col--6 col--offset-3", 3100 children: [
3101 /* @__PURE__ */ (0,jsx_runtime.jsx)(Heading["default"], { 3102 as: "h1", 3103 className: "hero__title", 3104 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(Translate/* default */.A, { 3105 id: "theme.ErrorPageContent.title", 3106 description: "The title of the fallback page when the page crashed", 3107 children: "This page crashed." 3108 }) 3109 }), 3110 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 3111 className: "margin-vert--lg", 3112 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(errorBoundaryUtils/* ErrorBoundaryTryAgainButton */.a2, { 3113 onClick: tryAgain, 3114 className: "button button--primary shadow--lw" 3115 }) 3116 }), 3117 /* @__PURE__ */ (0,jsx_runtime.jsx)("hr", {}), 3118 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 3119 className: "margin-vert--md", 3120 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(errorBoundaryUtils/* ErrorBoundaryError */.bq, { 3121 error 3122 }) 3123 }) 3124 ] 3125 }) 3126 }) 3127 }); 3128} 3129 3130;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Layout/styles.module.css 3131// extracted by mini-css-extract-plugin 3132/* harmony default export */ const theme_Layout_styles_module = ({"mainWrapper":"mainWrapper_pF6E"}); 3133;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Layout/index.js 3134var theme_Layout_defProp = Object.defineProperty; 3135var theme_Layout_getOwnPropSymbols = Object.getOwnPropertySymbols; 3136var theme_Layout_hasOwnProp = Object.prototype.hasOwnProperty; 3137var theme_Layout_propIsEnum = Object.prototype.propertyIsEnumerable; 3138var theme_Layout_defNormalProp = (obj, key, value) => key in obj ? theme_Layout_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 3139var theme_Layout_spreadValues = (a, b) => { 3140 for (var prop in b || (b = {})) 3141 if (theme_Layout_hasOwnProp.call(b, prop)) 3142 theme_Layout_defNormalProp(a, prop, b[prop]); 3143 if (theme_Layout_getOwnPropSymbols) 3144 for (var prop of theme_Layout_getOwnPropSymbols(b)) { 3145 if (theme_Layout_propIsEnum.call(b, prop)) 3146 theme_Layout_defNormalProp(a, prop, b[prop]); 3147 } 3148 return a; 3149}; 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162function Layout(props) { 3163 const { 3164 children, 3165 noFooter, 3166 wrapperClassName, 3167 title, 3168 description 3169 } = props; 3170 (0,useKeyboardNavigation/* useKeyboardNavigation */.J)(); 3171 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(LayoutProvider, { 3172 children: [
3173 /* @__PURE__ */ (0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be, { 3174 title, 3175 description 3176 }), 3177 /* @__PURE__ */ (0,jsx_runtime.jsx)(SkipToContent, {}), 3178 /* @__PURE__ */ (0,jsx_runtime.jsx)(AnnouncementBar, {}), 3179 /* @__PURE__ */ (0,jsx_runtime.jsx)(Navbar, {}), 3180 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 3181 id: skipToContentUtils/* SkipToContentFallbackId */.j, 3182 className: (0,clsx/* default */.A)( 3183 ThemeClassNames/* ThemeClassNames */.G.wrapper.main, 3184 theme_Layout_styles_module.mainWrapper, 3185 wrapperClassName 3186 ), 3187 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorBoundary/* default */.A, { 3188 fallback: (params) => /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorPageContent, theme_Layout_spreadValues({}, params)), 3189 children 3190 }) 3191 }), 3192 !noFooter && /* @__PURE__ */ (0,jsx_runtime.jsx)(theme_Footer, {}) 3193 ] 3194 }); 3195} 3196 3197 3198/***/ }), 3199 3200/***/ 4375: 3201/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 3202 3203"use strict"; 3204 3205 3206if (true) { 3207 module.exports = __webpack_require__(1982); 3208} else {} 3209 3210 3211/***/ }), 3212 3213/***/ 4467: 3214/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 3215 3216"use strict"; 3217/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3218/* harmony export */ I9: () => (/* binding */ HashRouter), 3219/* harmony export */ Kd: () => (/* binding */ BrowserRouter), 3220/* harmony export */ N_: () => (/* binding */ Link), 3221/* harmony export */ k2: () => (/* binding */ NavLink) 3222/* harmony export */ }); 3223/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8662); 3224/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81298); 3225/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 3226/* harmony import */ var history__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(77822); 3227/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79405); 3228/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(45804); 3229/* harmony import */ var tiny_invariant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(21991); 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241/** 3242 * The public API for a <Router> that uses HTML5 history. 3243 */ 3244 3245var BrowserRouter = /*#__PURE__*/function (_React$Component) { 3246 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(BrowserRouter, _React$Component); 3247 3248 function BrowserRouter() { 3249 var _this; 3250 3251 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 3252 args[_key] = arguments[_key]; 3253 } 3254 3255 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 3256 _this.history = (0,history__WEBPACK_IMPORTED_MODULE_2__/* .createBrowserHistory */ .zR)(_this.props); 3257 return _this; 3258 } 3259 3260 var _proto = BrowserRouter.prototype; 3261 3262 _proto.render = function render() { 3263 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__/* .Router */ .Ix, { 3264 history: this.history, 3265 children: this.props.children 3266 }); 3267 }; 3268 3269 return BrowserRouter; 3270}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 3271 3272if (false) {} 3273 3274/** 3275 * The public API for a <Router> that uses window.location.hash. 3276 */ 3277 3278var HashRouter = /*#__PURE__*/function (_React$Component) { 3279 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(HashRouter, _React$Component); 3280 3281 function HashRouter() { 3282 var _this; 3283 3284 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 3285 args[_key] = arguments[_key]; 3286 } 3287 3288 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 3289 _this.history = (0,history__WEBPACK_IMPORTED_MODULE_2__/* .createHashHistory */ .TM)(_this.props); 3290 return _this; 3291 } 3292 3293 var _proto = HashRouter.prototype; 3294 3295 _proto.render = function render() { 3296 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__/* .Router */ .Ix, { 3297 history: this.history, 3298 children: this.props.children 3299 }); 3300 }; 3301 3302 return HashRouter; 3303}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 3304 3305if (false) {} 3306 3307var resolveToLocation = function resolveToLocation(to, currentLocation) { 3308 return typeof to === "function" ? to(currentLocation) : to; 3309}; 3310var normalizeToLocation = function normalizeToLocation(to, currentLocation) { 3311 return typeof to === "string" ? (0,history__WEBPACK_IMPORTED_MODULE_2__/* .createLocation */ .yJ)(to, null, null, currentLocation) : to; 3312}; 3313 3314var forwardRefShim = function forwardRefShim(C) { 3315 return C; 3316}; 3317 3318var forwardRef = react__WEBPACK_IMPORTED_MODULE_0__.forwardRef; 3319 3320if (typeof forwardRef === "undefined") { 3321 forwardRef = forwardRefShim; 3322} 3323 3324function isModifiedEvent(event) { 3325 return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); 3326} 3327 3328var LinkAnchor = forwardRef(function (_ref, forwardedRef) { 3329 var innerRef = _ref.innerRef, 3330 navigate = _ref.navigate, 3331 _onClick = _ref.onClick, 3332 rest = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(_ref, ["innerRef", "navigate", "onClick"]); 3333 3334 var target = rest.target; 3335 3336 var props = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A)({}, rest, { 3337 onClick: function onClick(event) {
3338 try { 3339 if (_onClick) _onClick(event); 3340 } catch (ex) { 3341 event.preventDefault(); 3342 throw ex; 3343 } 3344 3345 if (!event.defaultPrevented && // onClick prevented default 3346 event.button === 0 && ( // ignore everything but left clicks 3347 !target || target === "_self") && // let browser handle "target=_blank" etc. 3348 !isModifiedEvent(event) // ignore clicks with modifier keys 3349 ) { 3350 event.preventDefault(); 3351 navigate(); 3352 } 3353 } 3354 }); // React 15 compat 3355 3356 3357 if (forwardRefShim !== forwardRef) { 3358 props.ref = forwardedRef || innerRef; 3359 } else { 3360 props.ref = innerRef; 3361 } 3362 /* eslint-disable-next-line jsx-a11y/anchor-has-content */ 3363 3364 3365 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("a", props); 3366}); 3367 3368if (false) {} 3369/** 3370 * The public API for rendering a history-aware <a>. 3371 */ 3372 3373 3374var Link = forwardRef(function (_ref2, forwardedRef) { 3375 var _ref2$component = _ref2.component, 3376 component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, 3377 replace = _ref2.replace, 3378 to = _ref2.to, 3379 innerRef = _ref2.innerRef, 3380 rest = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(_ref2, ["component", "replace", "to", "innerRef"]); 3381 3382 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__/* .__RouterContext */ .XZ.Consumer, null, function (context) { 3383 !context ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A)(false) : void 0; 3384 var history = context.history; 3385 var location = normalizeToLocation(resolveToLocation(to, context.location), context.location); 3386 var href = location ? history.createHref(location) : ""; 3387 3388 var props = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A)({}, rest, { 3389 href: href, 3390 navigate: function navigate() { 3391 var location = resolveToLocation(to, context.location); 3392 var isDuplicateNavigation = (0,history__WEBPACK_IMPORTED_MODULE_2__/* .createPath */ .AO)(context.location) === (0,history__WEBPACK_IMPORTED_MODULE_2__/* .createPath */ .AO)(normalizeToLocation(location)); 3393 var method = replace || isDuplicateNavigation ? history.replace : history.push; 3394 method(location); 3395 } 3396 }); // React 15 compat 3397 3398 3399 if (forwardRefShim !== forwardRef) { 3400 props.ref = forwardedRef || innerRef; 3401 } else { 3402 props.innerRef = innerRef; 3403 } 3404 3405 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(component, props); 3406 }); 3407}); 3408 3409if (false) { var refType, toType; } 3410 3411var forwardRefShim$1 = function forwardRefShim(C) { 3412 return C; 3413}; 3414 3415var forwardRef$1 = react__WEBPACK_IMPORTED_MODULE_0__.forwardRef; 3416 3417if (typeof forwardRef$1 === "undefined") { 3418 forwardRef$1 = forwardRefShim$1; 3419} 3420 3421function joinClassnames() { 3422 for (var _len = arguments.length, classnames = new Array(_len), _key = 0; _key < _len; _key++) { 3423 classnames[_key] = arguments[_key]; 3424 } 3425 3426 return classnames.filter(function (i) { 3427 return i; 3428 }).join(" "); 3429} 3430/** 3431 * A <Link> wrapper that knows if it's "active" or not. 3432 */ 3433 3434 3435var NavLink = forwardRef$1(function (_ref, forwardedRef) { 3436 var _ref$ariaCurrent = _ref["aria-current"], 3437 ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, 3438 _ref$activeClassName = _ref.activeClassName, 3439 activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, 3440 activeStyle = _ref.activeStyle, 3441 classNameProp = _ref.className, 3442 exact = _ref.exact, 3443 isActiveProp = _ref.isActive, 3444 locationProp = _ref.location, 3445 sensitive = _ref.sensitive, 3446 strict = _ref.strict, 3447 styleProp = _ref.style, 3448 to = _ref.to, 3449 innerRef = _ref.innerRef, 3450 rest = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(_ref, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]); 3451 3452 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_3__/* .__RouterContext */ .XZ.Consumer, null, function (context) { 3453 !context ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A)(false) : void 0; 3454 var currentLocation = locationProp || context.location; 3455 var toLocation = normalizeToLocation(resolveToLocation(to, currentLocation), currentLocation); 3456 var path = toLocation.pathname; // Regex taken from: https://github.com/pillarjs/path-to-regexp/blob/master/index.js#L202 3457 3458 var escapedPath = path && path.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); 3459 var match = escapedPath ? (0,react_router__WEBPACK_IMPORTED_MODULE_3__/* .matchPath */ .B6)(currentLocation.pathname, { 3460 path: escapedPath, 3461 exact: exact, 3462 sensitive: sensitive,
3463 strict: strict 3464 }) : null; 3465 var isActive = !!(isActiveProp ? isActiveProp(match, currentLocation) : match); 3466 var className = typeof classNameProp === "function" ? classNameProp(isActive) : classNameProp; 3467 var style = typeof styleProp === "function" ? styleProp(isActive) : styleProp; 3468 3469 if (isActive) { 3470 className = joinClassnames(className, activeClassName); 3471 style = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A)({}, style, activeStyle); 3472 } 3473 3474 var props = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A)({ 3475 "aria-current": isActive && ariaCurrent || null, 3476 className: className, 3477 style: style, 3478 to: toLocation 3479 }, rest); // React 15 compat 3480 3481 3482 if (forwardRefShim$1 !== forwardRef$1) { 3483 props.ref = forwardedRef || innerRef; 3484 } else { 3485 props.innerRef = innerRef; 3486 } 3487 3488 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Link, props); 3489 }); 3490}); 3491 3492if (false) { var ariaCurrentType; } 3493 3494 3495//# sourceMappingURL=react-router-dom.js.map 3496 3497 3498/***/ }), 3499 3500/***/ 4784: 3501/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 3502 3503"use strict"; 3504__webpack_require__.r(__webpack_exports__); 3505/* harmony export */ __webpack_require__.d(__webpack_exports__, { 3506/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 3507/* harmony export */ }); 3508/* 3509 * AUTOGENERATED - DON'T EDIT 3510 * Your edits in this file will be overwritten in the next build! 3511 * Modify the docusaurus.config.js file at your site's root instead. 3512 */ 3513/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 3514 "title": "Yarn", 3515 "tagline": "Yarn, the modern JavaScript package manager", 3516 "url": "https://yarnpkg.com", 3517 "baseUrl": "/", 3518 "onBrokenLinks": "warn", 3519 "onBrokenMarkdownLinks": "warn", 3520 "favicon": "img/yarn-favicon.svg", 3521 "trailingSlash": false, 3522 "i18n": { 3523 "defaultLocale": "en", 3524 "locales": [ 3525 "en" 3526 ], 3527 "path": "i18n", 3528 "localeConfigs": {} 3529 }, 3530 "plugins": [ 3531 [ 3532 "./config/docusaurus/plugins/webpack-config.ts", 3533 { 3534 "changelog": { 3535 "remarkPlugins": [ 3536 null, 3537 null 3538 ] 3539 } 3540 } 3541 ], 3542 [ 3543 "/opt/build/repo/packages/docusaurus/config/docusaurus/plugins/cli-docs.ts", 3544 { 3545 "remarkPlugins": [ 3546 null, 3547 null 3548 ] 3549 } 3550 ], 3551 [ 3552 "docusaurus-plugin-typedoc-api", 3553 { 3554 "projectRoot": "/opt/build/repo", 3555 "packages": [ 3556 { 3557 "path": "packages/plugin-catalog", 3558 "category": "Default Plugins", 3559 "entry": { 3560 "index": { 3561 "path": "./sources/index.ts", 3562 "label": "Main Entrypoint" 3563 } 3564 } 3565 }, 3566 { 3567 "path": "packages/plugin-compat", 3568 "category": "Default Plugins", 3569 "entry": { 3570 "index": { 3571 "path": "./sources/index.ts", 3572 "label": "Main Entrypoint" 3573 } 3574 } 3575 }, 3576 { 3577 "path": "packages/plugin-constraints", 3578 "category": "Default Plugins", 3579 "entry": { 3580 "index": { 3581 "path": "./sources/index.ts", 3582 "label": "Main Entrypoint" 3583 } 3584 } 3585 }, 3586 { 3587 "path": "packages/plugin-dlx", 3588 "category": "Default Plugins", 3589 "entry": { 3590 "index": { 3591 "path": "./sources/index.ts", 3592 "label": "Main Entrypoint" 3593 } 3594 } 3595 }, 3596 { 3597 "path": "packages/plugin-essentials", 3598 "category": "Default Plugins", 3599 "entry": { 3600 "index": { 3601 "path": "./sources/index.ts", 3602 "label": "Main Entrypoint" 3603 } 3604 } 3605 }, 3606 { 3607 "path": "packages/plugin-exec", 3608 "category": "Default Plugins", 3609 "entry": { 3610 "index": { 3611 "path": "./sources/index.ts", 3612 "label": "Main Entrypoint" 3613 } 3614 } 3615 }, 3616 { 3617 "path": "packages/plugin-file", 3618 "category": "Default Plugins", 3619 "entry": { 3620 "index": { 3621 "path": "./sources/index.ts", 3622 "label": "Main Entrypoint" 3623 } 3624 } 3625 }, 3626 { 3627 "path": "packages/plugin-git", 3628 "category": "Default Plugins", 3629 "entry": { 3630 "index": { 3631 "path": "./sources/index.ts", 3632 "label": "Main Entrypoint" 3633 } 3634 } 3635 }, 3636 { 3637 "path": "packages/plugin-github", 3638 "category": "Default Plugins", 3639 "entry": { 3640 "index": { 3641 "path": "./sources/index.ts", 3642 "label": "Main Entrypoint" 3643 } 3644 } 3645 }, 3646 { 3647 "path": "packages/plugin-http", 3648 "category": "Default Plugins", 3649 "entry": { 3650 "index": { 3651 "path": "./sources/index.ts", 3652 "label": "Main Entrypoint" 3653 } 3654 } 3655 }, 3656 { 3657 "path": "packages/plugin-init", 3658 "category": "Default Plugins", 3659 "entry": { 3660 "index": { 3661 "path": "./sources/index.ts", 3662 "label": "Main Entrypoint" 3663 } 3664 } 3665 }, 3666 { 3667 "path": "packages/plugin-interactive-tools", 3668 "category": "Default Plugins", 3669 "entry": { 3670 "index": { 3671 "path": "./sources/index.ts", 3672 "label": "Main Entrypoint" 3673 } 3674 } 3675 }, 3676 { 3677 "path": "packages/plugin-jsr", 3678 "category": "Default Plugins", 3679 "entry": { 3680 "index": { 3681 "path": "./sources/index.ts", 3682 "label": "Main Entrypoint" 3683 } 3684 } 3685 }, 3686 { 3687 "path": "packages/plugin-link", 3688 "category": "Default Plugins", 3689 "entry": { 3690 "index": { 3691 "path": "./sources/index.ts", 3692 "label": "Main Entrypoint" 3693 } 3694 } 3695 }, 3696 { 3697 "path": "packages/plugin-nm", 3698 "category": "Default Plugins", 3699 "entry": { 3700 "index": { 3701 "path": "./sources/index.ts", 3702 "label": "Main Entrypoint" 3703 } 3704 } 3705 }, 3706 { 3707 "path": "packages/plugin-npm", 3708 "category": "Default Plugins", 3709 "entry": { 3710 "index": { 3711 "path": "./sources/index.ts", 3712 "label": "Main Entrypoint" 3713 } 3714 } 3715 }, 3716 { 3717 "path": "packages/plugin-npm-cli", 3718 "category": "Default Plugins", 3719 "entry": { 3720 "index": { 3721 "path": "./sources/index.ts", 3722 "label": "Main Entrypoint" 3723 } 3724 } 3725 }, 3726 {
3727 "path": "packages/plugin-pack", 3728 "category": "Default Plugins", 3729 "entry": { 3730 "index": { 3731 "path": "./sources/index.ts", 3732 "label": "Main Entrypoint" 3733 } 3734 } 3735 }, 3736 { 3737 "path": "packages/plugin-patch", 3738 "category": "Default Plugins", 3739 "entry": { 3740 "index": { 3741 "path": "./sources/index.ts", 3742 "label": "Main Entrypoint" 3743 } 3744 } 3745 }, 3746 { 3747 "path": "packages/plugin-pnp", 3748 "category": "Default Plugins", 3749 "entry": { 3750 "index": { 3751 "path": "./sources/index.ts", 3752 "label": "Main Entrypoint" 3753 } 3754 } 3755 }, 3756 { 3757 "path": "packages/plugin-pnpm", 3758 "category": "Default Plugins", 3759 "entry": { 3760 "index": { 3761 "path": "./sources/index.ts", 3762 "label": "Main Entrypoint" 3763 } 3764 } 3765 }, 3766 { 3767 "path": "packages/plugin-stage", 3768 "category": "Default Plugins", 3769 "entry": { 3770 "index": { 3771 "path": "./sources/index.ts", 3772 "label": "Main Entrypoint" 3773 } 3774 } 3775 }, 3776 { 3777 "path": "packages/plugin-typescript", 3778 "category": "Default Plugins", 3779 "entry": { 3780 "index": { 3781 "path": "./sources/index.ts", 3782 "label": "Main Entrypoint" 3783 } 3784 } 3785 }, 3786 { 3787 "path": "packages/plugin-version", 3788 "category": "Default Plugins", 3789 "entry": { 3790 "index": { 3791 "path": "./sources/index.ts", 3792 "label": "Main Entrypoint" 3793 } 3794 } 3795 }, 3796 { 3797 "path": "packages/plugin-workspace-tools", 3798 "category": "Default Plugins", 3799 "entry": { 3800 "index": { 3801 "path": "./sources/index.ts", 3802 "label": "Main Entrypoint" 3803 } 3804 } 3805 }, 3806 { 3807 "path": "packages/yarnpkg-builder", 3808 "category": "Yarn Packages", 3809 "entry": { 3810 "index": { 3811 "path": "./sources/index.ts", 3812 "label": "Main Entrypoint" 3813 } 3814 } 3815 }, 3816 { 3817 "path": "packages/yarnpkg-cli", 3818 "category": "Yarn Packages", 3819 "entry": { 3820 "index": { 3821 "path": "./sources/index.ts", 3822 "label": "Main Entrypoint" 3823 }, 3824 "polyfills": { 3825 "path": "./sources/polyfills.ts", 3826 "label": "Entrypoint: polyfills" 3827 } 3828 } 3829 }, 3830 { 3831 "path": "packages/yarnpkg-core", 3832 "category": "Generic Packages", 3833 "entry": { 3834 "index": { 3835 "path": "./sources/index.ts", 3836 "label": "Main Entrypoint" 3837 }, 3838 "structUtils": { 3839 "path": "./sources/structUtils.ts", 3840 "label": "Entrypoint: structUtils" 3841 }, 3842 "semverUtils": { 3843 "path": "./sources/semverUtils.ts", 3844 "label": "Entrypoint: semverUtils" 3845 } 3846 } 3847 }, 3848 { 3849 "path": "packages/yarnpkg-doctor", 3850 "category": "Generic Packages", 3851 "entry": {} 3852 }, 3853 { 3854 "path": "packages/yarnpkg-extensions", 3855 "category": "Generic Packages", 3856 "entry": { 3857 "index": { 3858 "path": "./sources/index.ts", 3859 "label": "Main Entrypoint" 3860 } 3861 } 3862 }, 3863 { 3864 "path": "packages/yarnpkg-fslib", 3865 "category": "Generic Packages", 3866 "entry": { 3867 "index": { 3868 "path": "./sources/index.ts", 3869 "label": "Main Entrypoint" 3870 } 3871 } 3872 }, 3873 { 3874 "path": "packages/yarnpkg-libui", 3875 "category": "Generic Packages", 3876 "entry": {} 3877 }, 3878 { 3879 "path": "packages/yarnpkg-libzip", 3880 "category": "Generic Packages", 3881 "entry": { 3882 "[browser]": { 3883 "path": "./sources/async.ts", 3884 "label": "Condition: browser" 3885 }, 3886 "index": { 3887 "path": "./sources/sync.ts", 3888 "label": "Default Entrypoint" 3889 } 3890 } 3891 }, 3892 { 3893 "path": "packages/yarnpkg-nm", 3894 "category": "Generic Packages", 3895 "entry": { 3896 "index": { 3897 "path": "./sources/index.ts", 3898 "label": "Main Entrypoint" 3899 }, 3900 "hoist": { 3901 "path": "./sources/hoist.ts", 3902 "label": "Entrypoint: hoist" 3903 } 3904 } 3905 }, 3906 { 3907 "path": "packages/yarnpkg-parsers", 3908 "category": "Generic Packages", 3909 "entry": { 3910 "index": { 3911 "path": "./sources/index.ts", 3912 "label": "Main Entrypoint" 3913 } 3914 } 3915 }, 3916 { 3917 "path": "packages/yarnpkg-pnp", 3918 "category": "Generic Packages", 3919 "entry": { 3920 "index": { 3921 "path": "./sources/index.ts", 3922 "label": "Main Entrypoint" 3923 }, 3924 "sources/esm-loader/loaderFlags": { 3925 "path": "./sources/esm-loader/loaderFlags.ts", 3926 "label": "Entrypoint: sources/esm-loader/loaderFlags" 3927 } 3928 } 3929 }, 3930 { 3931 "path": "packages/yarnpkg-pnpify", 3932 "category": "Generic Packages", 3933 "entry": { 3934 "index": { 3935 "path": "./sources/index.ts", 3936 "label": "Main Entrypoint" 3937 }, 3938 "utils": { 3939 "path": "./sources/utils.ts", 3940 "label": "Entrypoint: utils" 3941 }, 3942 "cli": { 3943 "path": "./sources/cli.ts", 3944 "label": "Entrypoint: cli" 3945 } 3946 } 3947 }, 3948 { 3949 "path": "packages/yarnpkg-sdks", 3950 "category": "Generic Packages", 3951 "entry": { 3952 "index": { 3953 "path": "./sources/index.ts", 3954 "label": "Main Entrypoint" 3955 } 3956 } 3957 }, 3958 { 3959 "path": "packages/yarnpkg-shell", 3960 "category": "Generic Packages", 3961 "entry": { 3962 "index": { 3963 "path": "./sources/index.ts", 3964 "label": "Main Entrypoint" 3965 } 3966 } 3967 }, 3968 { 3969 "path": "packages/yarnpkg-types", 3970 "category": "Generic Packages", 3971 "entry": { 3972 "index": { 3973 "path": "./sources/index.ts", 3974 "label": "Main Entrypoint" 3975 } 3976 } 3977 } 3978 ], 3979 "packageCategories": [ 3980 "Generic Packages", 3981 "Yarn Packages", 3982 "Default Plugins" 3983 ], 3984 "readmes": true, 3985 "gitRefName": "502acfec2f4bf81663d95f3de6a6ae63ec4e344a", 3986 "typedocOptions": { 3987 "plugin": [ 3988 "./config/typedoc/plugin.ts" 3989 ] 3990 }, 3991 "remarkPlugins": [ 3992 null, 3993 null 3994 ] 3995 } 3996 ] 3997 ], 3998 "webpack": {}, 3999 "presets": [ 4000 [ 4001 "classic", 4002 { 4003 "blog": { 4004 "routeBasePath": "blog", 4005 "remarkPlugins": [ 4006 null, 4007 null 4008 ] 4009 }, 4010 "docs": { 4011 "routeBasePath": "/", 4012 "versions": { 4013 "current": { 4014 "label": "master (4.18.0-dev)" 4015 } 4016 }, 4017 "sidebarPath": "./config/docusaurus/sidebars.ts", 4018 "editUrl": "https://github.com/yarnpkg/berry/edit/master/packages/docusaurus/", 4019 "remarkPlugins": [ 4020 null, 4021 null 4022 ] 4023 }, 4024 "theme": { 4025 "customCss": "./src/css/custom.css" 4026 } 4027 } 4028 ] 4029 ], 4030 "scripts": [ 4031 "/js/custom.js" 4032 ], 4033 "themeConfig": { 4034 "image": "img/social-preview.png", 4035 "colorMode": { 4036 "defaultMode": "light", 4037 "disableSwitch": true, 4038 "respectPrefersColorScheme": false 4039 }, 4040 "algolia": { 4041 "appId": "STXW7VT1S5", 4042 "apiKey": "ecdfaea128fd901572b14543a2116eee", 4043 "indexName": "yarnpkg_next", 4044 "searchPagePath": "docs/search", 4045 "contextualSearch": true, 4046 "searchParameters": {} 4047 }, 4048 "navbar": { 4049 "title": "Yarn", 4050 "logo": { 4051 "alt": "Yarn Logo", 4052 "src": "data:image/svg+xml;
4052base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDExNTQuOCA1MTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHN0eWxlPi5zdDB7ZmlsbDojZmZmfS5zdDF7ZmlsbDpyZWR9PC9zdHlsZT4KICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNzE4LjYgMjU3LjhjLTggMjcuNi0yMC44IDQ3LjYtMzUuMiA2My42VjE4MWMwLTkuNi04LjQtMTcuNi0yMS42LTE3LjYtNS42IDAtMTAuNCAyLjgtMTAuNCA2LjggMCAyLjggMS42IDUuMiAxLjYgMTIuOHY2NC40Yy00LjggMjgtMTYuOCA1NC0zMi44IDU0LTExLjYgMC0xOC40LTExLjYtMTguNC0zMy4yIDAtMzMuNiA0LjQtNTEuMiAxMS42LTgwLjggMS42LTYgMTMuMi0yMi02LjQtMjItMjEuMiAwLTE4LjQgOC0yMS4yIDE0LjggMCAwLTEzLjQgNDcuNi0xMy40IDkwIDAgMzQuOCAxNC42IDU3LjYgNDEuNCA1Ny42IDE3LjIgMCAyOS42LTExLjYgMzkuMi0yNy42VjM1MWMtMjYuNCAyMy4yLTQ5LjYgNDMuNi00OS42IDg0IDAgMjUuNiAxNiA0NiAzOC40IDQ2IDIwLjQgMCA0MS42LTE0LjggNDEuNi01Ni44VjM1NWMyMS42LTE4LjggNDQuOC00Mi40IDU4LjQtODguOC40LTEuNi40LTMuNi40LTQgMC03LjYtNy42LTE2LjQtMTQtMTYuNC00IDAtNy4yIDMuNi05LjYgMTJ6bS03Ni44IDE5OGMtNi40IDAtMTAuNC05LjYtMTAuNC0yMiAwLTI0IDguOC0zOS4yIDIxLjYtNTIuNHY0Mi44YzAgNy42IDEuNiAzMS42LTExLjIgMzEuNnoiLz4KICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNODMzLjQgMzAxYy05LjYgMC0xMy42LTkuNi0xMy42LTE4LjR2LTY2YzAtOS42LTguNC0xNy42LTIxLjYtMTcuNi01LjYgMC0xMC40IDIuOC0xMC40IDYuOCAwIDIuOCAxLjYgNS4yIDEuNiAxMi44djYxLjZDNzg1IDI5MS40IDc3Ny44IDMwMSA3NjcgMzAxYy0xNCAwLTIyLjgtMTItMjIuOC0zMi44IDAtNTcuNiAzNS42LTgzLjYgNjYtODMuNiA0IDAgOCAuOCAxMS42LjggNCAwIDUuMi0yLjQgNS4yLTkuMiAwLTEwLjQtNy42LTE2LjgtMTguNC0xNi44LTQ4LjggMC05NS4yIDQwLjgtOTUuMiAxMDcuNiAwIDM0IDE2LjQgNjAuNCA0Ny42IDYwLjQgMTUuMiAwIDI2LjQtNy4yIDM0LjQtMTYuNCA2IDkuNiAxNi44IDE2LjQgMzAuOCAxNi40IDM0LjQgMCA1MC40LTM2IDU3LjItNjIuNC40LTEuNi40LTIuNC40LTIuOCAwLTcuNi03LjYtMTYuNC0xNC0xNi40LTQgMC04IDMuNi05LjYgMTItMy42IDE3LjYtMTAuOCA0My4yLTI2LjggNDMuMnoiLz4KICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOTQ5IDMyNy40YzM0LjQgMCA1MC0zNiA1Ny4yLTYyLjQgMC0uOC40LTEuNi40LTIuOCAwLTcuNi03LjYtMTYuNC0xNC0xNi40LTQgMC04IDMuNi05LjYgMTItMy42IDE3LjYtMTAuNCA0My4yLTI4LjggNDMuMi0xMC44IDAtMTYtMTAuNC0xNi0yMS42IDAtNDAgMTgtODcuMiAxOC05MiAxLjYtOS4yLTE0LjQtMjIuNC0xOS4yLTIyLjRoLTIwLjhjLTQgMC04IDAtMjEuMi0xLjYtNC40LTE2LjQtMTUuNi0yMS4yLTI1LjItMjEuMi0xMC40IDAtMjAgNy4yLTIwIDE4LjQgMCAxMS42IDcuMiAyMCAxNy4yIDI1LjYtLjQgMjAuNC0yIDUzLjYtNi40IDY5LjYtMy42IDEzLjYgMTcuMiAyOCAyMi40IDExLjIgNy4yLTIzLjIgOS42LTU4IDEwLTczLjZoMzQuOGMtMTIuOCAzNC40LTIwIDYyLjgtMjAgODguNCAwIDM1LjIgMjIuNCA0NS42IDQxLjIgNDUuNnoiLz4KICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNIDk4NC42IDE4MyBDIDk4NC42IDE3NS40IDk4MyAxNzMgOTgzIDE3MC4yIEMgOTgzIDE2Ni4yIDk4Ny44IDE2My40IDk5My40IDE2My40IEMgMTAwNi42IDE2My40IDEwMTUgMTcxLjQgMTAxNSAxODEgTCAxMDE1IDE5OSBDIDEwMjUuOCAxNzYuNiAxMDQwLjIgMTU5LjQgMTA1OS44IDE1OS40IEMgMTA4Ni42IDE1OS40IDEwOTMgMTgxLjQgMTA5MyAxOTkuOCBMIDEwOTMgMjgyLjYgQyAxMDkzIDI4Ni4yIDEwOTMgMzAxIDExMDMuNCAzMDEgQyAxMTE5LjQgMzAxIDExMjcuNiAyNzUuNCAxMTMxLjIgMjU3LjggQyAxMTMyLjggMjQ5LjQgMTEzNi44IDI0NS44IDExNDAuOCAyNDUuOCBDIDExNDcuMiAyNDUuOCAxMTU0LjggMjU0LjYgMTE1NC44IDI2Mi4yIEMgMTE1NC44IDI2Mi42IDExNTQuOCAyNjMuNCAxMTU0LjQgMjY1IEMgMTE0Ny42IDI5MS40IDExMzAuNiAzMjcuNCAxMDk2LjIgMzI3LjQgQyAxMDc1IDMyNy40IDEwNjIuNiAzMTAuMiAxMDYyLjYgMjg5LjggTCAxMDYyLjYgMjA4LjYgQyAxMDYyLjYgMTk2LjIgMTA2MS44IDE4NS44IDEwNTQuMiAxODUuOCBDIDEwNDIuNiAxODUuOCAxMDE3LjggMjIwLjIgMTAxNSAyNTEuOCBMIDEwMTUgMzEwLjIgQyAxMDE1IDMxNy44IDEwMTUuNCAzMjcuNCAxMDAzLjggMzI3LjQgQyA5OTUuOCAzMjcuNCA5ODQuNiAzMjQuNiA5ODQuNiAzMDkuOCBaIE0gMjU5IDAgQyA0MDIgMCA1MTggMTE2IDUxOCAyNTkgQyA1MTggNDAyIDQwMiA1MTggMjU5IDUxOCBDIDExNiA1MTggMCA0MDIgMCAyNTkgQyAwIDExNiAxMTYgMCAyNTkgMCBaIE0gNDM1LjIgMzM3LjUgQyA0MzMuNCAzMjMuMyA0MjEuNCAzMTMuNSA0MDYgMzEzLjcgQyAzODMgMzE0IDM2My43IDMyNS45IDM1MC45IDMzMy44IEMgMzQ1LjkgMzM2LjkgMzQxLjYgMzM5LjIgMzM3LjkgMzQwLjkgQyAzMzguNyAzMjkuMyAzMzggMzE0LjEgMzMyIDI5Ny40IEMgMzI0LjcgMjc3LjQgMzE0LjkgMjY1LjEgMzA3LjkgMjU4IEMgMzE2IDI0Ni4yIDMyNy4xIDIyOSAzMzIuMyAyMDIuNCBDIDMzNi44IDE3OS43IDMzNS40IDE0NC40IDMyNS4xIDEyNC42IEMgMzIzIDEyMC42IDMxOS41IDExNy43IDMxNS4xIDExNi41IEMgMzEzLjMgMTE2IDMwOS45IDExNSAzMDMuMiAxMTYuOSBDIDI5My4xIDk2IDI4OS42IDkzLjggMjg2LjkgOTIgQyAyODEuMyA4OC40IDI3NC43IDg3LjYgMjY4LjUgODkuOSBDIDI2MC4yIDkyLjkgMjUzLjEgMTAwLjkgMjQ2LjQgMTE1LjEgQyAyNDUuNCAxMTcuMiAyNDQuNSAxMTkuMiAyNDMuNyAxMjEuMiBDIDIzMSAxMjIuMSAyMTEgMTI2LjcgMTk0LjEgMTQ1IEMgMTkyIDE0Ny4zIDE4Ny45IDE0OSAxODMuNiAxNTAuNiBMIDE4My43IDE1MC42IEMgMTc0LjkgMTUzLjcgMTcwLjkgMTYwLjkgMTY2IDE3My45IEMgMTU5LjIgMTkyLjEgMTY2LjIgMjEwIDE3My4xIDIyMS42IEMgMTYzLjcgMjMwIDE1MS4yIDI0My40IDE0NC42IDI1OS4xIEMgMTM2LjQgMjc4LjUgMTM1LjUgMjk3LjUgMTM1LjggMzA3LjggQyAxMjguOCAzMTUuMiAxMTggMzI5LjEgMTE2LjggMzQ0LjcgQyAxMTUuMiAzNjYuNSAxMjMuMSAzODEuMyAxMjYuNiAzODYuNyBDIDEyNy42IDM4OC4zIDEyOC43IDM4OS42IDEyOS45IDM5MC45IEMgMTI5LjUgMzkzLjYgMTI5LjQgMzk2LjUgMTMwIDM5OS41IEMgMTMxLjMgNDA2LjUgMTM1LjcgNDEyLjIgMTQyLjQgNDE1LjggQyAxNTUuNiA0MjIuOCAxNzQgNDI1LjggMTg4LjIgNDE4LjcgQyAxOTMuMyA0MjQuMSAyMDIuNiA0MjkuMyAyMTkuNSA0MjkuMyBMIDIyMC41IDQyOS4zIEMgMjI0LjggNDI5LjMgMjc5LjQgNDI2LjQgMjk1LjMgNDIyLjUgQyAzMDIuNCA0MjAuOCAzMDcuMyA0MTcuOCAzMTAuNSA0MTUuMSBDIDMyMC43IDQxMS45IDM0OC45IDQwMi4zIDM3NS41IDM4NS4xIEMgMzk0LjMgMzcyLjkgNDAwLjggMzcwLjMgNDE0LjggMzY2LjkgQyA0MjguNCAzNjMuNiA0MzYuOSAzNTEuMiA0MzUuMiAzMzcuNSBaIE0gNDExLjQgMzUyLjIgQyAzOTUuNCAzNTYgMzg3LjMgMzU5LjUgMzY3LjUgMzcyLjQgQyAzMzYuNiAzOTIuNCAzMDIuOCA0MDEuNyAzMDIuOCA0MDEuNyBDIDMwMi44IDQwMS43IDMwMCA0MDUuOSAyOTEuOSA0MDcuOCBDIDI3Ny45IDQxMS4yIDIyNS4yIDQxNC4xIDIyMC40IDQxNC4yIEMgMjA3LjUgNDE0LjMgMTk5LjYgNDEwLjkgMTk3LjQgNDA1LjYgQyAxOTAuNyAzODkuNiAyMDcgMzgyLjYgMjA3IDM4Mi42IEMgMjA3IDM4Mi42IDIwMy40IDM4MC40IDIwMS4zIDM3OC40IEMgMTk5LjQgMzc2LjUgMTk3LjQgMzcyLjcgMTk2LjggMzc0LjEgQyAxOTQuMyAzODAuMiAxOTMgMzk1LjEgMTg2LjMgNDAxLjggQyAxNzcuMSA0MTEuMSAxNTkuNyA0MDggMTQ5LjQgNDAyLjYgQyAxMzguMSAzOTYuNiAxNTAuMiAzODIuNSAxNTAuMiAzODIuNSBDIDE1MC4yIDM4Mi41IDE0NC4xIDM4Ni4xIDEzOS4yIDM3OC43IEMgMTM0LjggMzcxLjkgMTMwLjcgMzYwLjMgMTMxLjggMzQ2IEMgMTMzIDMyOS43IDE1MS4yIDMxMy45IDE1MS4yIDMxMy45IEMgMTUxLjIgMzEzLjkgMTQ4IDI4OS44IDE1OC41IDI2NS4xIEMgMTY4IDI0Mi42IDE5My42IDIyNC41IDE5My42IDIyNC41IEMgMTkzLjYgMjI0LjUgMTcyLjEgMjAwLjcgMTgwLjEgMTc5LjMgQyAxODUuMyAxNjUuMyAxODcuNCAxNjUuNCAxODkuMSAxNjQuOCBDIDE5NS4xIDE2Mi41IDIwMC45IDE2MCAyMDUuMiAxNTUuMyBDIDIyNi43IDEzMi4xIDI1NC4xIDEzNi41IDI1NC4xIDEzNi41IEMgMjU0LjEgMTM2LjUgMjY3LjEgOTcgMjc5LjEgMTA0LjcgQyAyODIuOCAxMDcuMSAyOTYuMSAxMzYuNyAyOTYuMSAxMzYuNyBDIDI5Ni4xIDEzNi43IDMxMC4zIDEyOC40IDMxMS45IDEzMS41IEMgMzIwLjUgMTQ4LjIgMzIxLjUgMTgwLjEgMzE3LjcgMTk5LjUgQyAzMTEuMyAyMzEuNSAyOTUuMyAyNDguNyAyODguOSAyNTkuNSBDIDI4Ny40IDI2MiAzMDYuMSAyNjkuOSAzMTcuOSAzMDIuNiBDIDMyOC44IDMzMi41IDMxOS4xIDM1Ny42IDMyMC44IDM2MC40IEMgMzIxLjEgMzYwLjkgMzIxLjIgMzYxLjEgMzIxLjIgMzYxLjEgQyAzMjEuMiAzNjEuMSAzMzMuNyAzNjIuMSAzNTguOCAzNDYuNiBDIDM3Mi4yIDMzOC4zIDM4OC4xIDMyOSA0MDYuMiAzMjguOCBDIDQyMy43IDMyOC41IDQyNC42IDM0OSA0MTEuNCAzNTIuMiBaIi8+Cjwvc3ZnPg==" 4053 }, 4054 "items": [ 4055 { 4056 "type": "docSidebar", 4057 "sidebarId": "gettingStarted", 4058 "position": "left", 4059 "label": "Get Started" 4060 }, 4061 { 4062 "type": "docSidebar", 4063 "sidebarId": "features", 4064 "position": "left", 4065 "label": "Features" 4066 }, 4067 { 4068 "to": "cli", 4069 "label": "CLI", 4070 "position": "left" 4071 }, 4072 { 4073 "type": "docSidebar", 4074 "sidebarId": "configuration", 4075 "label": "Configuration", 4076 "position": "left" 4077 }, 4078 { 4079 "type": "docSidebar", 4080 "sidebarId": "advanced", 4081 "label": "Advanced", 4082 "position": "left" 4083 }, 4084 { 4085 "to": "blog", 4086 "label": "Blog", 4087 "position": "left" 4088 }, 4089 { 4090 "to": "api", 4091 "label": "API", 4092 "position": "left" 4093 }, 4094 { 4095 "type": "docsVersionDropdown", 4096 "position": "right", 4097 "dropdownActiveClassDisabled": true, 4098 "dropdownItemsAfter": [ 4099 { 4100 "label": "3.8.7", 4101 "href": "https://v3.yarnpkg.com" 4102 }, 4103 { 4104 "label": "1.22.22", 4105 "href": "https://classic.yarnpkg.com/en/docs" 4106 } 4107 ], 4108 "dropdownItemsBefore": [] 4109 }, 4110 { 4111 "href": "https://discord.gg/yarnpkg", 4112 "label": "Discord", 4113 "position": "right" 4114 }, 4115 { 4116 "href": "https://github.com/yarnpkg/berry", 4117 "label": "GitHub", 4118 "position": "right" 4119 } 4120 ], 4121 "hideOnScroll": false 4122 }, 4123 "footer": {
4124 "style": "dark", 4125 "links": [], 4126 "copyright": "Copyright © 2026 Yarn Contributors, Inc. Built with Docusaurus." 4127 }, 4128 "prism": { 4129 "theme": { 4130 "plain": { 4131 "color": "#393A34", 4132 "backgroundColor": "#f6f8fa" 4133 }, 4134 "styles": [ 4135 { 4136 "types": [ 4137 "comment", 4138 "prolog", 4139 "doctype", 4140 "cdata" 4141 ], 4142 "style": { 4143 "color": "#999988", 4144 "fontStyle": "italic" 4145 } 4146 }, 4147 { 4148 "types": [ 4149 "namespace" 4150 ], 4151 "style": { 4152 "opacity": 0.7 4153 } 4154 }, 4155 { 4156 "types": [ 4157 "string", 4158 "attr-value" 4159 ], 4160 "style": { 4161 "color": "#e3116c" 4162 } 4163 }, 4164 { 4165 "types": [ 4166 "punctuation", 4167 "operator" 4168 ], 4169 "style": { 4170 "color": "#393A34" 4171 } 4172 }, 4173 { 4174 "types": [ 4175 "entity", 4176 "url", 4177 "symbol", 4178 "number", 4179 "boolean", 4180 "variable", 4181 "constant", 4182 "property", 4183 "regex", 4184 "inserted" 4185 ], 4186 "style": { 4187 "color": "#36acaa" 4188 } 4189 }, 4190 { 4191 "types": [ 4192 "atrule", 4193 "keyword", 4194 "attr-name", 4195 "selector" 4196 ], 4197 "style": { 4198 "color": "#00a4db" 4199 } 4200 }, 4201 { 4202 "types": [ 4203 "function", 4204 "deleted", 4205 "tag" 4206 ], 4207 "style": { 4208 "color": "#d73a49" 4209 } 4210 }, 4211 { 4212 "types": [ 4213 "function-variable" 4214 ], 4215 "style": { 4216 "color": "#6f42c1" 4217 } 4218 }, 4219 { 4220 "types": [ 4221 "tag", 4222 "selector", 4223 "keyword" 4224 ], 4225 "style": { 4226 "color": "#00009f" 4227 } 4228 } 4229 ] 4230 }, 4231 "darkTheme": { 4232 "plain": { 4233 "color": "#F8F8F2", 4234 "backgroundColor": "#282A36" 4235 }, 4236 "styles": [ 4237 { 4238 "types": [ 4239 "prolog", 4240 "constant", 4241 "builtin" 4242 ], 4243 "style": { 4244 "color": "rgb(189, 147, 249)" 4245 } 4246 }, 4247 { 4248 "types": [ 4249 "inserted", 4250 "function" 4251 ], 4252 "style": { 4253 "color": "rgb(80, 250, 123)" 4254 } 4255 }, 4256 { 4257 "types": [ 4258 "deleted" 4259 ], 4260 "style": { 4261 "color": "rgb(255, 85, 85)" 4262 } 4263 }, 4264 { 4265 "types": [ 4266 "changed" 4267 ], 4268 "style": { 4269 "color": "rgb(255, 184, 108)" 4270 } 4271 }, 4272 { 4273 "types": [ 4274 "punctuation", 4275 "symbol" 4276 ], 4277 "style": { 4278 "color": "rgb(248, 248, 242)" 4279 } 4280 }, 4281 { 4282 "types": [ 4283 "string", 4284 "char", 4285 "tag", 4286 "selector" 4287 ], 4288 "style": { 4289 "color": "rgb(255, 121, 198)" 4290 } 4291 }, 4292 { 4293 "types": [ 4294 "keyword", 4295 "variable" 4296 ], 4297 "style": { 4298 "color": "rgb(189, 147, 249)", 4299 "fontStyle": "italic" 4300 } 4301 }, 4302 { 4303 "types": [ 4304 "comment" 4305 ], 4306 "style": { 4307 "color": "rgb(98, 114, 164)" 4308 } 4309 }, 4310 { 4311 "types": [ 4312 "attr-name" 4313 ], 4314 "style": { 4315 "color": "rgb(241, 250, 140)" 4316 } 4317 } 4318 ] 4319 }, 4320 "additionalLanguages": [ 4321 "bash", 4322 "json" 4323 ], 4324 "magicComments": [ 4325 { 4326 "className": "theme-code-block-highlighted-line", 4327 "line": "highlight-next-line", 4328 "block": { 4329 "start": "highlight-start", 4330 "end": "highlight-end" 4331 } 4332 } 4333 ] 4334 }, 4335 "docs": { 4336 "versionPersistence": "localStorage", 4337 "sidebar": { 4338 "hideable": false, 4339 "autoCollapseCategories": false 4340 } 4341 }, 4342 "blog": { 4343 "sidebar": { 4344 "groupByYear": true 4345 } 4346 }, 4347 "metadata": [], 4348 "tableOfContents": { 4349 "minHeadingLevel": 2, 4350 "maxHeadingLevel": 3 4351 } 4352 }, 4353 "baseUrlIssueBanner": true, 4354 "future": { 4355 "experimental_faster": { 4356 "swcJsLoader": false, 4357 "swcJsMinimizer": false, 4358 "swcHtmlMinimizer": false, 4359 "lightningCssMinimizer": false, 4360 "mdxCrossCompilerCache": false, 4361 "rspackBundler": false 4362 }, 4363 "experimental_storage": { 4364 "type": "localStorage", 4365 "namespace": false 4366 }, 4367 "experimental_router": "browser" 4368 },
4369 "onBrokenAnchors": "warn", 4370 "onDuplicateRoutes": "warn", 4371 "staticDirectories": [ 4372 "static" 4373 ], 4374 "customFields": {}, 4375 "themes": [], 4376 "headTags": [], 4377 "stylesheets": [], 4378 "clientModules": [], 4379 "titleDelimiter": "|", 4380 "noIndex": false, 4381 "markdown": { 4382 "format": "mdx", 4383 "mermaid": false, 4384 "mdx1Compat": { 4385 "comments": true, 4386 "admonitions": true, 4387 "headingIds": true 4388 }, 4389 "anchors": { 4390 "maintainCase": false 4391 } 4392 } 4393}); 4394 4395 4396/***/ }), 4397 4398/***/ 5279: 4399/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 4400 4401"use strict"; 4402/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4403/* harmony export */ M: () => (/* binding */ useAnnouncementBar), 4404/* harmony export */ o: () => (/* binding */ AnnouncementBarProvider) 4405/* harmony export */ }); 4406/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 4407/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 4408/* harmony import */ var _docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38389); 4409/* harmony import */ var _utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27099); 4410/* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80178); 4411/* harmony import */ var _utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90864); 4412 4413 4414 4415 4416 4417 4418const AnnouncementBarDismissStorage = (0,_utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__/* .createStorageSlot */ .Wf)("docusaurus.announcement.dismiss"); 4419const IdStorage = (0,_utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__/* .createStorageSlot */ .Wf)("docusaurus.announcement.id"); 4420const isDismissedInStorage = () => AnnouncementBarDismissStorage.get() === "true"; 4421const setDismissedInStorage = (bool) => AnnouncementBarDismissStorage.set(String(bool)); 4422const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(null); 4423function useContextValue() { 4424 const { announcementBar } = (0,_utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__/* .useThemeConfig */ .p)(); 4425 const isBrowser = (0,_docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(); 4426 const [isClosed, setClosed] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(() => isBrowser ? isDismissedInStorage() : false); 4427 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 4428 setClosed(isDismissedInStorage()); 4429 }, []); 4430 const handleClose = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => { 4431 setDismissedInStorage(true); 4432 setClosed(true); 4433 }, []); 4434 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 4435 if (!announcementBar) { 4436 return; 4437 } 4438 const { id } = announcementBar; 4439 let viewedId = IdStorage.get(); 4440 if (viewedId === "annoucement-bar") { 4441 viewedId = "announcement-bar"; 4442 } 4443 const isNewAnnouncement = id !== viewedId; 4444 IdStorage.set(id); 4445 if (isNewAnnouncement) { 4446 setDismissedInStorage(false); 4447 } 4448 if (isNewAnnouncement || !isDismissedInStorage()) { 4449 setClosed(false); 4450 } 4451 }, [announcementBar]); 4452 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({ 4453 isActive: !!announcementBar && !isClosed, 4454 close: handleClose 4455 }), [announcementBar, isClosed, handleClose]); 4456} 4457function AnnouncementBarProvider({ children }) { 4458 const value = useContextValue(); 4459 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 4460 value, 4461 children 4462 }); 4463} 4464function useAnnouncementBar() { 4465 const api = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 4466 if (!api) { 4467 throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV("AnnouncementBarProvider"); 4468 } 4469 return api; 4470} 4471 4472 4473/***/ }), 4474 4475/***/ 5403: 4476/***/ ((module) => { 4477 4478"use strict"; 4479/** 4480 * Copyright (c) 2013-present, Facebook, Inc. 4481 * 4482 * This source code is licensed under the MIT license found in the 4483 * LICENSE file in the root directory of this source tree. 4484 */ 4485 4486 4487 4488var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; 4489 4490module.exports = ReactPropTypesSecret; 4491 4492 4493/***/ }), 4494 4495/***/ 6914: 4496/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 4497 4498"use strict"; 4499/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4500/* harmony export */ GX: () => (/* binding */ NavbarSecondaryMenuFiller), 4501/* harmony export */ YL: () => (/* binding */ useNavbarSecondaryMenuContent), 4502/* harmony export */ y_: () => (/* binding */ NavbarSecondaryMenuContentProvider) 4503/* harmony export */ }); 4504/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 4505/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 4506/* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 4507 4508 4509 4510const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(null); 4511function NavbarSecondaryMenuContentProvider({ children }) { 4512 const value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({
4512component: null, props: null }); 4513 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 4514 value, 4515 children 4516 }); 4517} 4518function useNavbarSecondaryMenuContent() { 4519 const value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 4520 if (!value) { 4521 throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV("NavbarSecondaryMenuContentProvider"); 4522 } 4523 return value[0]; 4524} 4525function NavbarSecondaryMenuFiller({ component, props }) { 4526 const context = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 4527 if (!context) { 4528 throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV("NavbarSecondaryMenuContentProvider"); 4529 } 4530 const [, setContent] = context; 4531 const memoizedProps = (0,_utils_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .useShallowMemoObject */ .Be)(props); 4532 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 4533 setContent({ component, props: memoizedProps }); 4534 }, [setContent, component, memoizedProps]); 4535 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => () => setContent({ component: null, props: null }), [setContent]); 4536 return null; 4537} 4538 4539 4540/***/ }), 4541 4542/***/ 6940: 4543/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 4544 4545"use strict"; 4546/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4547/* harmony export */ u: () => (/* binding */ matchRoutes), 4548/* harmony export */ v: () => (/* binding */ renderRoutes) 4549/* harmony export */ }); 4550/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8662); 4551/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(79405); 4552/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 4553 4554 4555 4556 4557function matchRoutes(routes, pathname, 4558/*not public API*/ 4559branch) { 4560 if (branch === void 0) { 4561 branch = []; 4562 } 4563 4564 routes.some(function (route) { 4565 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 4566 : react_router__WEBPACK_IMPORTED_MODULE_1__/* .Router */ .Ix.computeRootMatch(pathname); // use default "root" match 4567 4568 if (match) { 4569 branch.push({ 4570 route: route, 4571 match: match 4572 }); 4573 4574 if (route.routes) { 4575 matchRoutes(route.routes, pathname, branch); 4576 } 4577 } 4578 4579 return match; 4580 }); 4581 return branch; 4582} 4583 4584function renderRoutes(routes, extraProps, switchProps) { 4585 if (extraProps === void 0) { 4586 extraProps = {}; 4587 } 4588 4589 if (switchProps === void 0) { 4590 switchProps = {}; 4591 } 4592 4593 return routes ? react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__/* .Switch */ .dO, switchProps, routes.map(function (route, i) { 4594 return react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__/* .Route */ .qh, { 4595 key: route.key || i, 4596 path: route.path, 4597 exact: route.exact, 4598 strict: route.strict, 4599 render: function render(props) { 4600 return route.render ? route.render((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)({}, props, {}, extraProps, { 4601 route: route 4602 })) : react__WEBPACK_IMPORTED_MODULE_0__.createElement(route.component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)({}, props, extraProps, { 4603 route: route 4604 })); 4605 } 4606 }); 4607 })) : null; 4608} 4609 4610 4611//# sourceMappingURL=react-router-config.js.map 4612 4613 4614/***/ }), 4615 4616/***/ 8468: 4617/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 4618 4619"use strict"; 4620 4621 4622if (true) { 4623 module.exports = __webpack_require__(13432); 4624} else {} 4625 4626 4627/***/ }), 4628 4629/***/ 8662: 4630/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 4631 4632"use strict"; 4633/* harmony export */ __webpack_require__.d(__webpack_exports__, { 4634/* harmony export */ B6: () => (/* binding */ matchPath), 4635/* harmony export */ Ix: () => (/* binding */ Router), 4636/* harmony export */ W6: () => (/* binding */ useHistory), 4637/* harmony export */ XZ: () => (/* binding */ context), 4638/* harmony export */ dO: () => (/* binding */ Switch), 4639/* harmony export */ qh: () => (/* binding */ Route), 4640/* harmony export */ rd: () => (/* binding */ Redirect), 4641/* harmony export */ zy: () => (/* binding */ useLocation) 4642/* harmony export */ }); 4643/* unused harmony exports MemoryRouter, Prompt, StaticRouter, __HistoryContext, generatePath, useParams, useRouteMatch, withRouter */ 4644/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(81298); 4645/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 4646/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26826); 4647/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_5__); 4648/* harmony import */ var history__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77822); 4649/* harmony import */ var tiny_invariant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(21991); 4650/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(79405); 4651/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9840); 4652/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(path_to_regexp__WEBPACK_IMPORTED_MODULE_1__); 4653/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8468); 4654/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(45804); 4655/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15419); 4656/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_3__); 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669var MAX_SIGNED_31_BIT_INT = 1073741823; 4670var commonjsGlobal = typeof globalThis !== "undefined" // 'global proper' 4671? // eslint-disable-next-line no-undef 4672globalThis : typeof window !== "undefined" ? window // Browser 4673: typeof __webpack_require__.g !== "undefined" ? __webpack_require__.g // node.js 4674: {}; 4675 4676function getUniqueId() { 4677 var key = "__global_unique_id__"; 4678 return commonjsGlobal[key] = (commonjsGlobal[key] || 0) + 1; 4679} // Inlined Object.is polyfill. 4680// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is 4681 4682 4683function objectIs(x, y) { 4684 if (x === y) { 4685 return x !== 0 || 1 / x === 1 / y; 4686 } else { 4687 // eslint-disable-next-line no-self-compare 4688 return x !== x && y !== y; 4689 } 4690} 4691 4692function createEventEmitter(value) { 4693 var handlers = []; 4694 return { 4695 on: function on(handler) { 4696 handlers.push(handler); 4697 }, 4698 off: function off(handler) { 4699 handlers = handlers.filter(function (h) { 4700 return h !== handler; 4701 }); 4702 }, 4703 get: function get() { 4704 return value; 4705 }, 4706 set: function set(newValue, changedBits) { 4707 value = newValue;
4708 handlers.forEach(function (handler) { 4709 return handler(value, changedBits); 4710 }); 4711 } 4712 }; 4713} 4714 4715function onlyChild(children) { 4716 return Array.isArray(children) ? children[0] : children; 4717} 4718 4719function createReactContext(defaultValue, calculateChangedBits) { 4720 var _Provider$childContex, _Consumer$contextType; 4721 4722 var contextProp = "__create-react-context-" + getUniqueId() + "__"; 4723 4724 var Provider = /*#__PURE__*/function (_React$Component) { 4725 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Provider, _React$Component); 4726 4727 function Provider() { 4728 var _this; 4729 4730 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 4731 args[_key] = arguments[_key]; 4732 } 4733 4734 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 4735 _this.emitter = createEventEmitter(_this.props.value); 4736 return _this; 4737 } 4738 4739 var _proto = Provider.prototype; 4740 4741 _proto.getChildContext = function getChildContext() { 4742 var _ref; 4743 4744 return _ref = {}, _ref[contextProp] = this.emitter, _ref; 4745 }; 4746 4747 _proto.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { 4748 if (this.props.value !== nextProps.value) { 4749 var oldValue = this.props.value; 4750 var newValue = nextProps.value; 4751 var changedBits; 4752 4753 if (objectIs(oldValue, newValue)) { 4754 changedBits = 0; // No change 4755 } else { 4756 changedBits = typeof calculateChangedBits === "function" ? calculateChangedBits(oldValue, newValue) : MAX_SIGNED_31_BIT_INT; 4757 4758 if (false) {} 4759 4760 changedBits |= 0; 4761 4762 if (changedBits !== 0) { 4763 this.emitter.set(nextProps.value, changedBits); 4764 } 4765 } 4766 } 4767 }; 4768 4769 _proto.render = function render() { 4770 return this.props.children; 4771 }; 4772 4773 return Provider; 4774 }(react__WEBPACK_IMPORTED_MODULE_0__.Component); 4775 4776 Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object).isRequired, _Provider$childContex); 4777 4778 var Consumer = /*#__PURE__*/function (_React$Component2) { 4779 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Consumer, _React$Component2); 4780 4781 function Consumer() { 4782 var _this2; 4783 4784 for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { 4785 args[_key2] = arguments[_key2]; 4786 } 4787 4788 _this2 = _React$Component2.call.apply(_React$Component2, [this].concat(args)) || this; 4789 _this2.observedBits = void 0; 4790 _this2.state = { 4791 value: _this2.getValue() 4792 }; 4793 4794 _this2.onUpdate = function (newValue, changedBits) { 4795 var observedBits = _this2.observedBits | 0; 4796 4797 if ((observedBits & changedBits) !== 0) { 4798 _this2.setState({ 4799 value: _this2.getValue() 4800 }); 4801 } 4802 }; 4803 4804 return _this2; 4805 } 4806 4807 var _proto2 = Consumer.prototype; 4808 4809 _proto2.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { 4810 var observedBits = nextProps.observedBits; 4811 this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default 4812 : observedBits; 4813 }; 4814 4815 _proto2.componentDidMount = function componentDidMount() { 4816 if (this.context[contextProp]) { 4817 this.context[contextProp].on(this.onUpdate); 4818 } 4819 4820 var observedBits = this.props.observedBits; 4821 this.observedBits = observedBits === undefined || observedBits === null ? MAX_SIGNED_31_BIT_INT // Subscribe to all changes by default 4822 : observedBits; 4823 }; 4824 4825 _proto2.componentWillUnmount = function componentWillUnmount() { 4826 if (this.context[contextProp]) { 4827 this.context[contextProp].off(this.onUpdate); 4828 } 4829 }; 4830 4831 _proto2.getValue = function getValue() { 4832 if (this.context[contextProp]) { 4833 return this.context[contextProp].get(); 4834 } else { 4835 return defaultValue; 4836 } 4837 }; 4838 4839 _proto2.render = function render() { 4840 return onlyChild(this.props.children)(this.state.value); 4841 }; 4842 4843 return Consumer; 4844 }(react__WEBPACK_IMPORTED_MODULE_0__.Component); 4845 4846 Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = (prop_types__WEBPACK_IMPORTED_MODULE_5___default().object), _Consumer$contextType); 4847 return { 4848 Provider: Provider, 4849 Consumer: Consumer 4850 }; 4851} 4852 4853// MIT License 4854var createContext = react__WEBPACK_IMPORTED_MODULE_0__.createContext || createReactContext; 4855 4856// TODO: Replace with React.createContext once we can assume React 16+ 4857 4858var createNamedContext = function createNamedContext(name) { 4859 var context = createContext(); 4860 context.displayName = name; 4861 return context; 4862}; 4863 4864var historyContext = /*#__PURE__*/createNamedContext("Router-History"); 4865
4866var context = /*#__PURE__*/createNamedContext("Router"); 4867 4868/** 4869 * The public API for putting history on context. 4870 */ 4871 4872var Router = /*#__PURE__*/function (_React$Component) { 4873 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Router, _React$Component); 4874 4875 Router.computeRootMatch = function computeRootMatch(pathname) { 4876 return { 4877 path: "/", 4878 url: "/", 4879 params: {}, 4880 isExact: pathname === "/" 4881 }; 4882 }; 4883 4884 function Router(props) { 4885 var _this; 4886 4887 _this = _React$Component.call(this, props) || this; 4888 _this.state = { 4889 location: props.history.location 4890 }; // This is a bit of a hack. We have to start listening for location 4891 // changes here in the constructor in case there are any <Redirect>s 4892 // on the initial render. If there are, they will replace/push when 4893 // they mount and since cDM fires in children before parents, we may 4894 // get a new location before the <Router> is mounted. 4895 4896 _this._isMounted = false; 4897 _this._pendingLocation = null; 4898 4899 if (!props.staticContext) { 4900 _this.unlisten = props.history.listen(function (location) { 4901 _this._pendingLocation = location; 4902 }); 4903 } 4904 4905 return _this; 4906 } 4907 4908 var _proto = Router.prototype; 4909 4910 _proto.componentDidMount = function componentDidMount() { 4911 var _this2 = this; 4912 4913 this._isMounted = true; 4914 4915 if (this.unlisten) { 4916 // Any pre-mount location changes have been captured at 4917 // this point, so unregister the listener. 4918 this.unlisten(); 4919 } 4920 4921 if (!this.props.staticContext) { 4922 this.unlisten = this.props.history.listen(function (location) { 4923 if (_this2._isMounted) { 4924 _this2.setState({ 4925 location: location 4926 }); 4927 } 4928 }); 4929 } 4930 4931 if (this._pendingLocation) { 4932 this.setState({ 4933 location: this._pendingLocation 4934 }); 4935 } 4936 }; 4937 4938 _proto.componentWillUnmount = function componentWillUnmount() { 4939 if (this.unlisten) { 4940 this.unlisten(); 4941 this._isMounted = false; 4942 this._pendingLocation = null; 4943 } 4944 }; 4945 4946 _proto.render = function render() { 4947 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Provider, { 4948 value: { 4949 history: this.props.history, 4950 location: this.state.location, 4951 match: Router.computeRootMatch(this.state.location.pathname), 4952 staticContext: this.props.staticContext 4953 } 4954 }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(historyContext.Provider, { 4955 children: this.props.children || null, 4956 value: this.props.history 4957 })); 4958 }; 4959 4960 return Router; 4961}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 4962 4963if (false) {} 4964 4965/** 4966 * The public API for a <Router> that stores location in memory. 4967 */ 4968 4969var MemoryRouter = /*#__PURE__*/function (_React$Component) { 4970 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(MemoryRouter, _React$Component); 4971 4972 function MemoryRouter() { 4973 var _this; 4974 4975 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 4976 args[_key] = arguments[_key]; 4977 } 4978 4979 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 4980 _this.history = (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createMemoryHistory */ .sC)(_this.props); 4981 return _this; 4982 } 4983 4984 var _proto = MemoryRouter.prototype; 4985 4986 _proto.render = function render() { 4987 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, { 4988 history: this.history, 4989 children: this.props.children 4990 }); 4991 }; 4992 4993 return MemoryRouter; 4994}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 4995 4996if (false) {} 4997 4998var Lifecycle = /*#__PURE__*/function (_React$Component) { 4999 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Lifecycle, _React$Component); 5000 5001 function Lifecycle() { 5002 return _React$Component.apply(this, arguments) || this; 5003 } 5004 5005 var _proto = Lifecycle.prototype; 5006 5007 _proto.componentDidMount = function componentDidMount() { 5008 if (this.props.onMount) this.props.onMount.call(this, this); 5009 }; 5010 5011 _proto.componentDidUpdate = function componentDidUpdate(prevProps) { 5012 if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps); 5013 }; 5014 5015 _proto.componentWillUnmount = function componentWillUnmount() { 5016 if (this.props.onUnmount) this.props.onUnmount.call(this, this); 5017 }; 5018 5019 _proto.render = function render() { 5020 return null; 5021 }; 5022 5023 return Lifecycle; 5024}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 5025 5026/** 5027 * The public API for prompting the user before navigating away from a screen. 5028 */ 5029 5030function Prompt(_ref) { 5031 var message = _ref.message, 5032 _ref$when = _ref.when, 5033 when = _ref$when === void 0 ? true : _ref$when; 5034 return /*#__PURE__*/React.createElement(context.Consumer, null, function (context) { 5035 !context ? false ? 0 : invariant(false) : void 0; 5036 if (!when || context.staticContext) return null; 5037 var method = context.history.block; 5038 return /*#__PURE__*/React.createElement(Lifecycle, { 5039 onMount: function onMount(self) { 5040 self.release = method(message); 5041 }, 5042 onUpdate: function onUpdate(self, prevProps) { 5043 if (prevProps.message !== message) { 5044 self.release(); 5045 self.release = method(message); 5046 } 5047 }, 5048 onUnmount: function onUnmount(self) { 5049 self.release(); 5050 }, 5051 message: message 5052 }); 5053 }); 5054} 5055 5056if (false) { var messageType; } 5057 5058var cache = {}; 5059var cacheLimit = 10000; 5060var cacheCount = 0; 5061 5062function compilePath(path) { 5063 if (cache[path]) return cache[path]; 5064 var generator = path_to_regexp__WEBPACK_IMPORTED_MODULE_1___default().compile(path); 5065 5066 if (cacheCount < cacheLimit) { 5067 cache[path] = generator; 5068 cacheCount++; 5069 } 5070 5071 return generator; 5072} 5073/** 5074 * Public API for generating a URL pathname from a path and parameters. 5075 */ 5076 5077 5078function generatePath(path, params) { 5079 if (path === void 0) { 5080 path = "/"; 5081 } 5082 5083 if (params === void 0) { 5084 params = {}; 5085 } 5086 5087 return path === "/" ? path : compilePath(path)(params, { 5088 pretty: true 5089 }); 5090} 5091 5092/** 5093 * The public API for navigating programmatically with a component. 5094 */ 5095 5096function Redirect(_ref) { 5097 var computedMatch = _ref.computedMatch, 5098 to = _ref.to, 5099 _ref$push = _ref.push, 5100 push = _ref$push === void 0 ? false : _ref$push; 5101 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Consumer, null, function (context) { 5102 !context ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) : void 0; 5103 var history = context.history, 5104 staticContext = context.staticContext; 5105 var method = push ? history.push : history.replace; 5106 var location = (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createLocation */ .yJ)(computedMatch ? typeof to === "string" ? generatePath(to, computedMatch.params) : (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, to, { 5107 pathname: generatePath(to.pathname, computedMatch.params) 5108 }) : to); // When rendering in a static context, 5109 // set the new location immediately. 5110 5111 if (staticContext) { 5112 method(location); 5113 return null; 5114 } 5115 5116 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Lifecycle, { 5117 onMount: function onMount() { 5118 method(location); 5119 }, 5120 onUpdate: function onUpdate(self, prevProps) { 5121 var prevLocation = (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createLocation */ .yJ)(prevProps.to); 5122 5123 if (!(0,history__WEBPACK_IMPORTED_MODULE_6__/* .locationsAreEqual */ .Fu)(prevLocation, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, location, { 5124 key: prevLocation.key 5125 }))) { 5126 method(location); 5127 } 5128 }, 5129 to: to 5130 }); 5131 }); 5132} 5133 5134if (false) {} 5135 5136var cache$1 = {}; 5137var cacheLimit$1 = 10000; 5138var cacheCount$1 = 0; 5139 5140function compilePath$1(path, options) { 5141 var cacheKey = "" + options.end + options.strict + options.sensitive; 5142 var pathCache = cache$1[cacheKey] || (cache$1[cacheKey] = {}); 5143 if (pathCache[path]) return pathCache[path]; 5144 var keys = []; 5145 var regexp = path_to_regexp__WEBPACK_IMPORTED_MODULE_1___default()(path, keys, options); 5146 var result = { 5147 regexp: regexp, 5148 keys: keys 5149 }; 5150 5151 if (cacheCount$1 < cacheLimit$1) { 5152 pathCache[path] = result; 5153 cacheCount$1++; 5154 } 5155 5156 return result; 5157} 5158/** 5159 * Public API for matching a URL pathname to a path. 5160 */ 5161 5162 5163function matchPath(pathname, options) { 5164 if (options === void 0) { 5165 options = {}; 5166 } 5167 5168 if (typeof options === "string" || Array.isArray(options)) { 5169 options = { 5170 path: options 5171 }; 5172 } 5173 5174 var _options = options, 5175 path = _options.path, 5176 _options$exact = _options.exact, 5177 exact = _options$exact === void 0 ? false : _options$exact, 5178 _options$strict = _options.strict,
5179 strict = _options$strict === void 0 ? false : _options$strict, 5180 _options$sensitive = _options.sensitive, 5181 sensitive = _options$sensitive === void 0 ? false : _options$sensitive; 5182 var paths = [].concat(path); 5183 return paths.reduce(function (matched, path) { 5184 if (!path && path !== "") return null; 5185 if (matched) return matched; 5186 5187 var _compilePath = compilePath$1(path, { 5188 end: exact, 5189 strict: strict, 5190 sensitive: sensitive 5191 }), 5192 regexp = _compilePath.regexp, 5193 keys = _compilePath.keys; 5194 5195 var match = regexp.exec(pathname); 5196 if (!match) return null; 5197 var url = match[0], 5198 values = match.slice(1); 5199 var isExact = pathname === url; 5200 if (exact && !isExact) return null; 5201 return { 5202 path: path, 5203 // the path used to match 5204 url: path === "/" && url === "" ? "/" : url, 5205 // the matched portion of the URL 5206 isExact: isExact, 5207 // whether or not we matched exactly 5208 params: keys.reduce(function (memo, key, index) { 5209 memo[key.name] = values[index]; 5210 return memo; 5211 }, {}) 5212 }; 5213 }, null); 5214} 5215 5216function isEmptyChildren(children) { 5217 return react__WEBPACK_IMPORTED_MODULE_0__.Children.count(children) === 0; 5218} 5219 5220function evalChildrenDev(children, props, path) { 5221 var value = children(props); 5222 false ? 0 : void 0; 5223 return value || null; 5224} 5225/** 5226 * The public API for matching a single path and rendering. 5227 */ 5228 5229 5230var Route = /*#__PURE__*/function (_React$Component) { 5231 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Route, _React$Component); 5232 5233 function Route() { 5234 return _React$Component.apply(this, arguments) || this; 5235 } 5236 5237 var _proto = Route.prototype; 5238 5239 _proto.render = function render() { 5240 var _this = this; 5241 5242 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Consumer, null, function (context$1) { 5243 !context$1 ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) : void 0; 5244 var location = _this.props.location || context$1.location; 5245 var match = _this.props.computedMatch ? _this.props.computedMatch // <Switch> already computed the match for us 5246 : _this.props.path ? matchPath(location.pathname, _this.props) : context$1.match; 5247 5248 var props = (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, context$1, { 5249 location: location, 5250 match: match 5251 }); 5252 5253 var _this$props = _this.props, 5254 children = _this$props.children, 5255 component = _this$props.component, 5256 render = _this$props.render; // Preact uses an empty array as children by 5257 // default, so use null if that's the case. 5258 5259 if (Array.isArray(children) && isEmptyChildren(children)) { 5260 children = null; 5261 } 5262 5263 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Provider, { 5264 value: props 5265 }, 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); 5266 }); 5267 }; 5268 5269 return Route; 5270}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 5271 5272if (false) {} 5273 5274function addLeadingSlash(path) { 5275 return path.charAt(0) === "/" ? path : "/" + path; 5276} 5277 5278function addBasename(basename, location) { 5279 if (!basename) return location; 5280 return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, location, { 5281 pathname: addLeadingSlash(basename) + location.pathname 5282 }); 5283} 5284 5285function stripBasename(basename, location) { 5286 if (!basename) return location; 5287 var base = addLeadingSlash(basename); 5288 if (location.pathname.indexOf(base) !== 0) return location; 5289 return (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, location, { 5290 pathname: location.pathname.substr(base.length) 5291 }); 5292} 5293 5294function createURL(location) { 5295 return typeof location === "string" ? location : (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createPath */ .AO)(location); 5296} 5297 5298function staticHandler(methodName) { 5299 return function () { 5300 false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) ; 5301 }; 5302} 5303 5304function noop() {} 5305/** 5306 * The public top-level API for a "static" <Router>, so-called because it 5307 * can't actually change the current location. Instead, it just records 5308 * location changes in a context object. Useful mainly in testing and 5309 * server-rendering scenarios. 5310 */ 5311 5312 5313var StaticRouter = /*#__PURE__*/function (_React$Component) { 5314 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(StaticRouter, _React$Component); 5315 5316 function StaticRouter() { 5317 var _this; 5318 5319 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 5320 args[_key] = arguments[_key]; 5321 } 5322 5323 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 5324 5325 _this.handlePush = function (location) { 5326 return _this.navigateTo(location, "PUSH"); 5327 }; 5328 5329 _this.handleReplace = function (location) { 5330 return _this.navigateTo(location, "REPLACE"); 5331 }; 5332 5333 _this.handleListen = function () { 5334 return noop; 5335 }; 5336 5337 _this.handleBlock = function () { 5338 return noop; 5339 }; 5340 5341 return _this; 5342 } 5343 5344 var _proto = StaticRouter.prototype; 5345 5346 _proto.navigateTo = function navigateTo(location, action) { 5347 var _this$props = this.props, 5348 _this$props$basename = _this$props.basename, 5349 basename = _this$props$basename === void 0 ? "" : _this$props$basename, 5350 _this$props$context = _this$props.context, 5351 context = _this$props$context === void 0 ? {}
5351 : _this$props$context; 5352 context.action = action; 5353 context.location = addBasename(basename, (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createLocation */ .yJ)(location)); 5354 context.url = createURL(context.location); 5355 }; 5356 5357 _proto.render = function render() { 5358 var _this$props2 = this.props, 5359 _this$props2$basename = _this$props2.basename, 5360 basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, 5361 _this$props2$context = _this$props2.context, 5362 context = _this$props2$context === void 0 ? {} : _this$props2$context, 5363 _this$props2$location = _this$props2.location, 5364 location = _this$props2$location === void 0 ? "/" : _this$props2$location, 5365 rest = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .A)(_this$props2, ["basename", "context", "location"]); 5366 5367 var history = { 5368 createHref: function createHref(path) { 5369 return addLeadingSlash(basename + createURL(path)); 5370 }, 5371 action: "POP", 5372 location: stripBasename(basename, (0,history__WEBPACK_IMPORTED_MODULE_6__/* .createLocation */ .yJ)(location)), 5373 push: this.handlePush, 5374 replace: this.handleReplace, 5375 go: staticHandler("go"), 5376 goBack: staticHandler("goBack"), 5377 goForward: staticHandler("goForward"), 5378 listen: this.handleListen, 5379 block: this.handleBlock 5380 }; 5381 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Router, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, rest, { 5382 history: history, 5383 staticContext: context 5384 })); 5385 }; 5386 5387 return StaticRouter; 5388}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 5389 5390if (false) {} 5391 5392/** 5393 * The public API for rendering the first <Route> that matches. 5394 */ 5395 5396var Switch = /*#__PURE__*/function (_React$Component) { 5397 (0,_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(Switch, _React$Component); 5398 5399 function Switch() { 5400 return _React$Component.apply(this, arguments) || this; 5401 } 5402 5403 var _proto = Switch.prototype; 5404 5405 _proto.render = function render() { 5406 var _this = this; 5407 5408 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(context.Consumer, null, function (context) { 5409 !context ? false ? 0 : (0,tiny_invariant__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .A)(false) : void 0; 5410 var location = _this.props.location || context.location; 5411 var element, match; // We use React.Children.forEach instead of React.Children.toArray().find() 5412 // here because toArray adds keys to all child elements and we do not want 5413 // to trigger an unmount/remount for two <Route>s that render the same 5414 // component at different URLs. 5415 5416 react__WEBPACK_IMPORTED_MODULE_0__.Children.forEach(_this.props.children, function (child) { 5417 if (match == null && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.isValidElement(child)) { 5418 element = child; 5419 var path = child.props.path || child.props.from; 5420 match = path ? matchPath(location.pathname, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .A)({}, child.props, { 5421 path: path 5422 })) : context.match; 5423 } 5424 }); 5425 return match ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(element, { 5426 location: location, 5427 computedMatch: match 5428 }) : null; 5429 }); 5430 }; 5431 5432 return Switch; 5433}(react__WEBPACK_IMPORTED_MODULE_0__.Component); 5434 5435if (false) {} 5436 5437/** 5438 * A public higher-order component to access the imperative API 5439 */ 5440 5441function withRouter(Component) { 5442 var displayName = "withRouter(" + (Component.displayName || Component.name) + ")"; 5443 5444 var C = function C(props) { 5445 var wrappedComponentRef = props.wrappedComponentRef, 5446 remainingProps = _objectWithoutPropertiesLoose(props, ["wrappedComponentRef"]); 5447 5448 return /*#__PURE__*/React.createElement(context.Consumer, null, function (context) { 5449 !context ? false ? 0 : invariant(false) : void 0; 5450 return /*#__PURE__*/React.createElement(Component, _extends({}, remainingProps, context, { 5451 ref: wrappedComponentRef 5452 })); 5453 }); 5454 }; 5455 5456 C.displayName = displayName; 5457 C.WrappedComponent = Component; 5458 5459 if (false) {} 5460 5461 return hoistStatics(C, Component); 5462} 5463 5464var useContext = react__WEBPACK_IMPORTED_MODULE_0__.useContext; 5465function useHistory() { 5466 if (false) {} 5467 5468 return useContext(historyContext); 5469} 5470function useLocation() { 5471 if (false) {} 5472 5473 return useContext(context).location; 5474} 5475function useParams() { 5476 if (false) {} 5477 5478 var match = useContext(context).match; 5479 return match ? match.params : {}; 5480} 5481function useRouteMatch(path) { 5482 if (false) {} 5483 5484 var location = useLocation(); 5485 var match = useContext(context).match; 5486 return path ? matchPath(location.pathname, path) : match; 5487} 5488 5489if (false) { var secondaryBuildName, initialBuildName, buildNames, key, global$1; } 5490 5491 5492//# sourceMappingURL=react-router.js.map 5493 5494 5495/***/ }), 5496 5497/***/ 9123: 5498/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 5499 5500"use strict"; 5501/* harmony export */ __webpack_require__.d(__webpack_exports__, { 5502/* harmony export */ A: () => (/* binding */ flat) 5503/* harmony export */ }); 5504const isTree = (x) => typeof x === "object" && !!x && Object.keys(x).length > 0; 5505function flat(target) { 5506 const delimiter = "."; 5507 const output = {}; 5508 function dfs(object, prefix) { 5509 Object.entries(object).forEach(([key, value]) => { 5510 const newKey = prefix ? `${prefix}${delimiter}${key}` : key; 5511 if (isTree(value)) { 5512 dfs(value, newKey); 5513 } else { 5514 output[newKey] = value; 5515 } 5516 }); 5517 } 5518 dfs(target); 5519 return output; 5520} 5521 5522 5523/***/ }), 5524 5525/***/ 9350: 5526/***/ (function(module, exports, __webpack_require__) { 5527 5528var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress 5529 * @license MIT */ 5530 5531;(function(root, factory) { 5532 5533 if (true) { 5534 !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory), 5535 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 5536 (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : 5537 __WEBPACK_AMD_DEFINE_FACTORY__),
vendor: 9,791 bytes, lines 5538-5937
5538 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 5539 } else {} 5540 5541})(this, function() { 5542 var NProgress = {}; 5543 5544 NProgress.version = '0.2.0'; 5545 5546 var Settings = NProgress.settings = { 5547 minimum: 0.08, 5548 easing: 'ease', 5549 positionUsing: '', 5550 speed: 200, 5551 trickle: true, 5552 trickleRate: 0.02, 5553 trickleSpeed: 800, 5554 showSpinner: true, 5555 barSelector: '[role="bar"]', 5556 spinnerSelector: '[role="spinner"]', 5557 parent: 'body', 5558 template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>' 5559 }; 5560 5561 /** 5562 * Updates configuration. 5563 * 5564 * NProgress.configure({ 5565 * minimum: 0.1 5566 * }); 5567 */ 5568 NProgress.configure = function(options) { 5569 var key, value; 5570 for (key in options) { 5571 value = options[key]; 5572 if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value; 5573 } 5574 5575 return this; 5576 }; 5577 5578 /** 5579 * Last number. 5580 */ 5581 5582 NProgress.status = null; 5583 5584 /** 5585 * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. 5586 * 5587 * NProgress.set(0.4); 5588 * NProgress.set(1.0); 5589 */ 5590 5591 NProgress.set = function(n) { 5592 var started = NProgress.isStarted(); 5593 5594 n = clamp(n, Settings.minimum, 1); 5595 NProgress.status = (n === 1 ? null : n); 5596 5597 var progress = NProgress.render(!started), 5598 bar = progress.querySelector(Settings.barSelector), 5599 speed = Settings.speed, 5600 ease = Settings.easing; 5601 5602 progress.offsetWidth; /* Repaint */ 5603 5604 queue(function(next) { 5605 // Set positionUsing if it hasn't already been set 5606 if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS(); 5607 5608 // Add transition 5609 css(bar, barPositionCSS(n, speed, ease)); 5610 5611 if (n === 1) { 5612 // Fade out 5613 css(progress, { 5614 transition: 'none', 5615 opacity: 1 5616 }); 5617 progress.offsetWidth; /* Repaint */ 5618 5619 setTimeout(function() { 5620 css(progress, { 5621 transition: 'all ' + speed + 'ms linear', 5622 opacity: 0 5623 }); 5624 setTimeout(function() { 5625 NProgress.remove(); 5626 next(); 5627 }, speed); 5628 }, speed); 5629 } else { 5630 setTimeout(next, speed); 5631 } 5632 }); 5633 5634 return this; 5635 }; 5636 5637 NProgress.isStarted = function() { 5638 return typeof NProgress.status === 'number'; 5639 }; 5640 5641 /** 5642 * Shows the progress bar. 5643 * This is the same as setting the status to 0%, except that it doesn't go backwards. 5644 * 5645 * NProgress.start(); 5646 * 5647 */ 5648 NProgress.start = function() { 5649 if (!NProgress.status) NProgress.set(0); 5650 5651 var work = function() { 5652 setTimeout(function() { 5653 if (!NProgress.status) return; 5654 NProgress.trickle(); 5655 work(); 5656 }, Settings.trickleSpeed); 5657 }; 5658 5659 if (Settings.trickle) work(); 5660 5661 return this; 5662 }; 5663 5664 /** 5665 * Hides the progress bar. 5666 * This is the *sort of* the same as setting the status to 100%, with the 5667 * difference being `done()` makes some placebo effect of some realistic motion. 5668 * 5669 * NProgress.done(); 5670 * 5671 * If `true` is passed, it will show the progress bar even if its hidden. 5672 * 5673 * NProgress.done(true); 5674 */ 5675 5676 NProgress.done = function(force) { 5677 if (!force && !NProgress.status) return this; 5678 5679 return NProgress.inc(0.3 + 0.5 * Math.random()).set(1); 5680 }; 5681 5682 /** 5683 * Increments by a random amount. 5684 */ 5685 5686 NProgress.inc = function(amount) { 5687 var n = NProgress.status; 5688 5689 if (!n) { 5690 return NProgress.start(); 5691 } else { 5692 if (typeof amount !== 'number') { 5693 amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95); 5694 } 5695 5696 n = clamp(n + amount, 0, 0.994); 5697 return NProgress.set(n); 5698 } 5699 }; 5700 5701 NProgress.trickle = function() { 5702 return NProgress.inc(Math.random() * Settings.trickleRate); 5703 }; 5704 5705 /** 5706 * Waits for all supplied jQuery promises and 5707 * increases the progress as the promises resolve. 5708 * 5709 * @param $promise jQUery Promise 5710 */ 5711 (function() { 5712 var initial = 0, current = 0; 5713 5714 NProgress.promise = function($promise) { 5715 if (!$promise || $promise.state() === "resolved") { 5716 return this; 5717 } 5718 5719 if (current === 0) { 5720 NProgress.start(); 5721 } 5722 5723 initial++; 5724 current++; 5725 5726 $promise.always(function() { 5727 current--; 5728 if (current === 0) { 5729 initial = 0; 5730 NProgress.done(); 5731 } else { 5732 NProgress.set((initial - current) / initial); 5733 } 5734 }); 5735 5736 return this; 5737 }; 5738 5739 })(); 5740 5741 /** 5742 * (Internal) renders the progress bar markup based on the `template` 5743 * setting. 5744 */ 5745 5746 NProgress.render = function(fromStart) { 5747 if (NProgress.isRendered()) return document.getElementById('nprogress'); 5748 5749 addClass(document.documentElement, 'nprogress-busy'); 5750 5751 var progress = document.createElement('div'); 5752 progress.id = 'nprogress'; 5753 progress.innerHTML = Settings.template; 5754 5755 var bar = progress.querySelector(Settings.barSelector), 5756 perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0), 5757 parent = document.querySelector(Settings.parent), 5758 spinner; 5759 5760 css(bar, { 5761 transition: 'all 0 linear', 5762 transform: 'translate3d(' + perc + '%,0,0)' 5763 }); 5764 5765 if (!Settings.showSpinner) { 5766 spinner = progress.querySelector(Settings.spinnerSelector); 5767 spinner && removeElement(spinner); 5768 } 5769 5770 if (parent != document.body) { 5771 addClass(parent, 'nprogress-custom-parent'); 5772 } 5773 5774 parent.appendChild(progress); 5775 return progress; 5776 }; 5777 5778 /** 5779 * Removes the element. Opposite of render(). 5780 */ 5781 5782 NProgress.remove = function() { 5783 removeClass(document.documentElement, 'nprogress-busy'); 5784 removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent'); 5785 var progress = document.getElementById('nprogress'); 5786 progress && removeElement(progress); 5787 }; 5788 5789 /** 5790 * Checks if the progress bar is rendered. 5791 */ 5792 5793 NProgress.isRendered = function() { 5794 return !!document.getElementById('nprogress'); 5795 }; 5796 5797 /** 5798 * Determine which positioning CSS rule to use. 5799 */ 5800 5801 NProgress.getPositioningCSS = function() { 5802 // Sniff on document.body.style 5803 var bodyStyle = document.body.style; 5804 5805 // Sniff prefixes 5806 var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' : 5807 ('MozTransform' in bodyStyle) ? 'Moz' : 5808 ('msTransform' in bodyStyle) ? 'ms' : 5809 ('OTransform' in bodyStyle) ? 'O' : ''; 5810 5811 if (vendorPrefix + 'Perspective' in bodyStyle) { 5812 // Modern browsers with 3D support, e.g. Webkit, IE10 5813 return 'translate3d'; 5814 } else if (vendorPrefix + 'Transform' in bodyStyle) { 5815 // Browsers without 3D support, e.g. IE9 5816 return 'translate'; 5817 } else { 5818 // Browsers without translate() support, e.g. IE7-8 5819 return 'margin'; 5820 } 5821 }; 5822 5823 /** 5824 * Helpers 5825 */ 5826 5827 function clamp(n, min, max) { 5828 if (n < min) return min; 5829 if (n > max) return max; 5830 return n; 5831 } 5832 5833 /** 5834 * (Internal) converts a percentage (`0..1`) to a bar translateX 5835 * percentage (`-100%..0%`). 5836 */ 5837 5838 function toBarPerc(n) { 5839 return (-1 + n) * 100; 5840 } 5841 5842 5843 /** 5844 * (Internal) returns the correct CSS for changing the bar's 5845 * position given an n percentage, and speed and ease from Settings 5846 */ 5847 5848 function barPositionCSS(n, speed, ease) { 5849 var barCSS; 5850 5851 if (Settings.positionUsing === 'translate3d') { 5852 barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' }; 5853 } else if (Settings.positionUsing === 'translate') { 5854 barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' }; 5855 } else { 5856 barCSS = { 'margin-left': toBarPerc(n)+'%' }; 5857 } 5858 5859 barCSS.transition = 'all '+speed+'ms '+ease; 5860 5861 return barCSS; 5862 } 5863 5864 /** 5865 * (Internal) Queues a function to be executed. 5866 */ 5867 5868 var queue = (function() { 5869 var pending = []; 5870 5871 function next() { 5872 var fn = pending.shift(); 5873 if (fn) { 5874 fn(next); 5875 } 5876 } 5877 5878 return function(fn) { 5879 pending.push(fn); 5880 if (pending.length == 1) next(); 5881 }; 5882 })(); 5883 5884 /** 5885 * (Internal) Applies css properties to an element, similar to the jQuery 5886 * css method. 5887 * 5888 * While this helper does assist with vendor prefixed property names, it 5889 * does not perform any manipulation of values prior to setting styles. 5890 */ 5891 5892 var css = (function() { 5893 var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ], 5894 cssProps = {}; 5895 5896 function camelCase(string) { 5897 return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) { 5898 return letter.toUpperCase(); 5899 }); 5900 } 5901 5902 function getVendorProp(name) { 5903 var style = document.body.style; 5904 if (name in style) return name; 5905 5906 var i = cssPrefixes.length, 5907 capName = name.charAt(0).toUpperCase() + name.slice(1), 5908 vendorName; 5909 while (i--) { 5910 vendorName = cssPrefixes[i] + capName; 5911 if (vendorName in style) return vendorName; 5912 } 5913 5914 return name; 5915 } 5916 5917 function getStyleProp(name) { 5918 name = camelCase(name); 5919 return cssProps[name] || (cssProps[name] = getVendorProp(name)); 5920 } 5921 5922 function applyCss(element, prop, value) { 5923 prop = getStyleProp(prop); 5924 element.style[prop] = value; 5925 } 5926 5927 return function(element, properties) { 5928 var args = arguments, 5929 prop, 5930 value; 5931 5932 if (args.length == 2) { 5933 for (prop in properties) { 5934 value = properties[prop]; 5935 if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value); 5936 } 5937 } else {
5938 applyCss(element, args[1], args[2]); 5939 } 5940 } 5941 })(); 5942 5943 /** 5944 * (Internal) Determines if an element or space separated list of class names contains a class name. 5945 */ 5946 5947 function hasClass(element, name) { 5948 var list = typeof element == 'string' ? element : classList(element); 5949 return list.indexOf(' ' + name + ' ') >= 0; 5950 } 5951 5952 /** 5953 * (Internal) Adds a class to an element. 5954 */ 5955 5956 function addClass(element, name) { 5957 var oldList = classList(element), 5958 newList = oldList + name; 5959 5960 if (hasClass(oldList, name)) return; 5961 5962 // Trim the opening space. 5963 element.className = newList.substring(1); 5964 } 5965 5966 /** 5967 * (Internal) Removes a class from an element. 5968 */ 5969 5970 function removeClass(element, name) { 5971 var oldList = classList(element), 5972 newList; 5973 5974 if (!hasClass(element, name)) return; 5975 5976 // Replace the class name. 5977 newList = oldList.replace(' ' + name + ' ', ' '); 5978 5979 // Trim the opening and closing spaces. 5980 element.className = newList.substring(1, newList.length - 1); 5981 } 5982 5983 /** 5984 * (Internal) Gets a space separated list of the class names on the element. 5985 * The list is wrapped with a single space on each end to facilitate finding 5986 * matches within the list. 5987 */ 5988 5989 function classList(element) { 5990 return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' '); 5991 } 5992 5993 /** 5994 * (Internal) Removes an element from the DOM. 5995 */ 5996 5997 function removeElement(element) { 5998 element && element.parentNode && element.parentNode.removeChild(element); 5999 } 6000 6001 return NProgress; 6002}); 6003 6004 6005 6006/***/ }), 6007 6008/***/ 9571: 6009/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6010 6011"use strict"; 6012/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6013/* harmony export */ W: () => (/* binding */ DEFAULT_PLUGIN_ID) 6014/* harmony export */ }); 6015const DEFAULT_PLUGIN_ID = "default"; 6016 6017 6018/***/ }), 6019 6020/***/ 9840: 6021/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 6022 6023var isarray = __webpack_require__(90237) 6024 6025/** 6026 * Expose `pathToRegexp`. 6027 */ 6028module.exports = pathToRegexp 6029module.exports.parse = parse 6030module.exports.compile = compile 6031module.exports.tokensToFunction = tokensToFunction 6032module.exports.tokensToRegExp = tokensToRegExp 6033 6034/** 6035 * The main path matching regexp utility. 6036 * 6037 * @type {RegExp} 6038 */ 6039var PATH_REGEXP = new RegExp([ 6040 // Match escaped characters that would otherwise appear in future matches. 6041 // This allows the user to escape special characters that won't transform. 6042 '(\\\\.)', 6043 // Match Express-style parameters and un-named parameters with a prefix 6044 // and optional suffixes. Matches appear as: 6045 // 6046 // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined] 6047 // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined] 6048 // "/*" => ["/", undefined, undefined, undefined, undefined, "*"] 6049 '([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))' 6050].join('|'), 'g') 6051 6052/** 6053 * Parse a string for the raw tokens. 6054 * 6055 * @param {string} str 6056 * @param {Object=} options 6057 * @return {!Array} 6058 */ 6059function parse (str, options) { 6060 var tokens = [] 6061 var key = 0 6062 var index = 0 6063 var path = '' 6064 var defaultDelimiter = options && options.delimiter || '/' 6065 var res 6066 6067 while ((res = PATH_REGEXP.exec(str)) != null) { 6068 var m = res[0] 6069 var escaped = res[1] 6070 var offset = res.index 6071 path += str.slice(index, offset) 6072 index = offset + m.length 6073 6074 // Ignore already escaped sequences. 6075 if (escaped) { 6076 path += escaped[1] 6077 continue 6078 } 6079 6080 var next = str[index] 6081 var prefix = res[2] 6082 var name = res[3] 6083 var capture = res[4] 6084 var group = res[5] 6085 var modifier = res[6] 6086 var asterisk = res[7] 6087 6088 // Push the current path onto the tokens. 6089 if (path) { 6090 tokens.push(path) 6091 path = '' 6092 } 6093 6094 var partial = prefix != null && next != null && next !== prefix 6095 var repeat = modifier === '+' || modifier === '*' 6096 var optional = modifier === '?' || modifier === '*' 6097 var delimiter = res[2] || defaultDelimiter 6098 var pattern = capture || group 6099 6100 tokens.push({ 6101 name: name || key++, 6102 prefix: prefix || '', 6103 delimiter: delimiter, 6104 optional: optional, 6105 repeat: repeat, 6106 partial: partial, 6107 asterisk: !!asterisk, 6108 pattern: pattern ? escapeGroup(pattern) : (asterisk ? '.*' : '[^' + escapeString(delimiter) + ']+?') 6109 }) 6110 } 6111 6112 // Match any characters still remaining. 6113 if (index < str.length) { 6114 path += str.substr(index) 6115 } 6116 6117 // If the path exists, push it onto the end. 6118 if (path) { 6119 tokens.push(path) 6120 } 6121 6122 return tokens 6123} 6124 6125/** 6126 * Compile a string to a template function for the path.
6127 * 6128 * @param {string} str 6129 * @param {Object=} options 6130 * @return {!function(Object=, Object=)} 6131 */ 6132function compile (str, options) { 6133 return tokensToFunction(parse(str, options), options) 6134} 6135 6136/** 6137 * Prettier encoding of URI path segments. 6138 * 6139 * @param {string} 6140 * @return {string} 6141 */ 6142function encodeURIComponentPretty (str) { 6143 return encodeURI(str).replace(/[\/?#]/g, function (c) { 6144 return '%' + c.charCodeAt(0).toString(16).toUpperCase() 6145 }) 6146} 6147 6148/** 6149 * Encode the asterisk parameter. Similar to `pretty`, but allows slashes. 6150 * 6151 * @param {string} 6152 * @return {string} 6153 */ 6154function encodeAsterisk (str) { 6155 return encodeURI(str).replace(/[?#]/g, function (c) { 6156 return '%' + c.charCodeAt(0).toString(16).toUpperCase() 6157 }) 6158} 6159 6160/** 6161 * Expose a method for transforming tokens into the path function. 6162 */ 6163function tokensToFunction (tokens, options) { 6164 // Compile all the tokens into regexps. 6165 var matches = new Array(tokens.length) 6166 6167 // Compile all the patterns before compilation. 6168 for (var i = 0; i < tokens.length; i++) { 6169 if (typeof tokens[i] === 'object') { 6170 matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$', flags(options)) 6171 } 6172 } 6173 6174 return function (obj, opts) { 6175 var path = '' 6176 var data = obj || {} 6177 var options = opts || {} 6178 var encode = options.pretty ? encodeURIComponentPretty : encodeURIComponent 6179 6180 for (var i = 0; i < tokens.length; i++) { 6181 var token = tokens[i] 6182 6183 if (typeof token === 'string') { 6184 path += token 6185 6186 continue 6187 } 6188 6189 var value = data[token.name] 6190 var segment 6191 6192 if (value == null) { 6193 if (token.optional) { 6194 // Prepend partial segment prefixes. 6195 if (token.partial) { 6196 path += token.prefix 6197 } 6198 6199 continue 6200 } else { 6201 throw new TypeError('Expected "' + token.name + '" to be defined') 6202 } 6203 } 6204 6205 if (isarray(value)) { 6206 if (!token.repeat) { 6207 throw new TypeError('Expected "' + token.name + '" to not repeat, but received `' + JSON.stringify(value) + '`') 6208 } 6209 6210 if (value.length === 0) { 6211 if (token.optional) { 6212 continue 6213 } else { 6214 throw new TypeError('Expected "' + token.name + '" to not be empty') 6215 } 6216 } 6217 6218 for (var j = 0; j < value.length; j++) { 6219 segment = encode(value[j]) 6220 6221 if (!matches[i].test(segment)) { 6222 throw new TypeError('Expected all "' + token.name + '" to match "' + token.pattern + '", but received `' + JSON.stringify(segment) + '`') 6223 } 6224 6225 path += (j === 0 ? token.prefix : token.delimiter) + segment 6226 } 6227 6228 continue 6229 } 6230 6231 segment = token.asterisk ? encodeAsterisk(value) : encode(value) 6232 6233 if (!matches[i].test(segment)) { 6234 throw new TypeError('Expected "' + token.name + '" to match "' + token.pattern + '", but received "' + segment + '"') 6235 } 6236 6237 path += token.prefix + segment 6238 } 6239 6240 return path 6241 } 6242} 6243 6244/** 6245 * Escape a regular expression string. 6246 * 6247 * @param {string} str 6248 * @return {string} 6249 */ 6250function escapeString (str) { 6251 return str.replace(/([.+*?=^!:${}()[\]|\/\\])/g, '\\$1') 6252} 6253 6254/** 6255 * Escape the capturing group by escaping special characters and meaning. 6256 * 6257 * @param {string} group 6258 * @return {string} 6259 */ 6260function escapeGroup (group) { 6261 return group.replace(/([=!:$\/()])/g, '\\$1') 6262} 6263 6264/** 6265 * Attach the keys as a property of the regexp. 6266 * 6267 * @param {!RegExp} re 6268 * @param {Array} keys 6269 * @return {!RegExp} 6270 */ 6271function attachKeys (re, keys) { 6272 re.keys = keys 6273 return re 6274} 6275 6276/** 6277 * Get the flags for a regexp from the options. 6278 * 6279 * @param {Object} options 6280 * @return {string} 6281 */ 6282function flags (options) { 6283 return options && options.sensitive ? '' : 'i' 6284} 6285 6286/** 6287 * Pull out keys from a regexp. 6288 * 6289 * @param {!RegExp} path 6290 * @param {!Array} keys 6291 * @return {!RegExp} 6292 */ 6293function regexpToRegexp (path, keys) { 6294 // Use a negative lookahead to match only capturing groups. 6295 var groups = path.source.match(/\((?!\?)/g) 6296 6297 if (groups) { 6298 for (var i = 0; i < groups.length; i++) { 6299 keys.push({ 6300 name: i, 6301 prefix: null, 6302 delimiter: null, 6303 optional: false, 6304 repeat: false, 6305 partial: false, 6306 asterisk: false, 6307 pattern: null 6308 }) 6309 } 6310 } 6311 6312 return attachKeys(path, keys) 6313} 6314 6315/** 6316 * Transform an array into a regexp. 6317 * 6318 * @param {!Array} path 6319 * @param {Array} keys 6320 * @param {!Object} options 6321 * @return {!RegExp} 6322 */ 6323function arrayToRegexp (path, keys, options) { 6324 var parts = [] 6325 6326 for (var i = 0; i < path.length; i++) { 6327 parts.push(pathToRegexp(path[i], keys, options).source) 6328 } 6329 6330 var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options)) 6331 6332 return attachKeys(regexp, keys) 6333} 6334 6335/** 6336 * Create a path regexp from string input. 6337 * 6338 * @param {string} path 6339 * @param {!Array} keys 6340 * @param {!Object} options 6341 * @return {!RegExp} 6342 */ 6343function stringToRegexp (path, keys, options) { 6344 return tokensToRegExp(parse(path, options), keys, options) 6345} 6346 6347/** 6348 * Expose a function for taking tokens and returning a RegExp. 6349 * 6350 * @param {!Array} tokens 6351 * @param {(Array|Object)=} keys 6352 * @param {Object=} options 6353 * @return {!RegExp} 6354 */ 6355function tokensToRegExp (tokens, keys, options) { 6356 if (!isarray(keys)) {
6357 options = /** @type {!Object} */ (keys || options) 6358 keys = [] 6359 } 6360 6361 options = options || {} 6362 6363 var strict = options.strict 6364 var end = options.end !== false 6365 var route = '' 6366 6367 // Iterate over the tokens and create our regexp string. 6368 for (var i = 0; i < tokens.length; i++) { 6369 var token = tokens[i] 6370 6371 if (typeof token === 'string') { 6372 route += escapeString(token) 6373 } else { 6374 var prefix = escapeString(token.prefix) 6375 var capture = '(?:' + token.pattern + ')' 6376 6377 keys.push(token) 6378 6379 if (token.repeat) { 6380 capture += '(?:' + prefix + capture + ')*' 6381 } 6382 6383 if (token.optional) { 6384 if (!token.partial) { 6385 capture = '(?:' + prefix + '(' + capture + '))?' 6386 } else { 6387 capture = prefix + '(' + capture + ')?' 6388 } 6389 } else { 6390 capture = prefix + '(' + capture + ')' 6391 } 6392 6393 route += capture 6394 } 6395 } 6396 6397 var delimiter = escapeString(options.delimiter || '/') 6398 var endsWithDelimiter = route.slice(-delimiter.length) === delimiter 6399 6400 // In non-strict mode we allow a slash at the end of match. If the path to 6401 // match already ends with a slash, we remove it for consistency. The slash 6402 // is valid at the end of a path match, not in the middle. This is important 6403 // in non-ending mode, where "/test/" shouldn't match "/test//route". 6404 if (!strict) { 6405 route = (endsWithDelimiter ? route.slice(0, -delimiter.length) : route) + '(?:' + delimiter + '(?=$))?' 6406 } 6407 6408 if (end) { 6409 route += '$' 6410 } else { 6411 // In non-ending mode, we need the capturing groups to match as much as 6412 // possible by using a positive lookahead to the end or next path segment. 6413 route += strict && endsWithDelimiter ? '' : '(?=' + delimiter + '|$)' 6414 } 6415 6416 return attachKeys(new RegExp('^' + route, flags(options)), keys) 6417} 6418 6419/** 6420 * Normalize the given path string, returning a regular expression. 6421 * 6422 * An empty array can be passed in for the keys, which will hold the 6423 * placeholder key descriptions. For example, using `/user/:id`, `keys` will 6424 * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`. 6425 * 6426 * @param {(string|RegExp|Array)} path 6427 * @param {(Array|Object)=} keys 6428 * @param {Object=} options 6429 * @return {!RegExp} 6430 */ 6431function pathToRegexp (path, keys, options) { 6432 if (!isarray(keys)) {
6433 options = /** @type {!Object} */ (keys || options) 6434 keys = [] 6435 } 6436 6437 options = options || {} 6438 6439 if (path instanceof RegExp) { 6440 return regexpToRegexp(path, /** @type {!Array} */ (keys)) 6441 } 6442 6443 if (isarray(path)) { 6444 return arrayToRegexp(/** @type {!Array} */ (path), /** @type {!Array} */ (keys), options) 6445 } 6446 6447 return stringToRegexp(/** @type {string} */ (path), /** @type {!Array} */ (keys), options) 6448} 6449 6450 6451/***/ }), 6452 6453/***/ 10035: 6454/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6455 6456"use strict"; 6457 6458// EXPORTS 6459__webpack_require__.d(__webpack_exports__, { 6460 A: () => (/* binding */ ErrorBoundary) 6461}); 6462 6463// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 6464var jsx_runtime = __webpack_require__(48231); 6465// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 6466var react = __webpack_require__(77407); 6467// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/ExecutionEnvironment.js 6468var ExecutionEnvironment = __webpack_require__(91979); 6469// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Head.js 6470var Head = __webpack_require__(52658); 6471// EXTERNAL MODULE: ../../.yarn/cache/@docusaurus-utils-common-npm-3.7.0-d5b8a79f92-3938f9fada.zip/node_modules/@docusaurus/utils-common/lib/index.js 6472var lib = __webpack_require__(2300); 6473// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Layout/index.js + 65 modules 6474var Layout = __webpack_require__(3458); 6475// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/routeContext.js 6476var routeContext = __webpack_require__(29856); 6477;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/theme-fallback/Error/index.js 6478 6479 6480 6481 6482 6483 6484function ErrorDisplay({ error, tryAgain }) { 6485 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 6486 style: { 6487 display: "flex", 6488 flexDirection: "column", 6489 justifyContent: "center", 6490 alignItems: "flex-start", 6491 minHeight: "100vh", 6492 width: "100%", 6493 maxWidth: "80ch", 6494 fontSize: "20px", 6495 margin: "0 auto", 6496 padding: "1rem" 6497 }, 6498 children: [
6499 /* @__PURE__ */ (0,jsx_runtime.jsx)("h1", { 6500 style: { fontSize: "3rem" }, 6501 children: "This page crashed" 6502 }), 6503 /* @__PURE__ */ (0,jsx_runtime.jsx)("button", { 6504 type: "button", 6505 onClick: tryAgain, 6506 style: { 6507 margin: "1rem 0", 6508 fontSize: "2rem", 6509 cursor: "pointer", 6510 borderRadius: 20, 6511 padding: "1rem" 6512 }, 6513 children: "Try again" 6514 }), 6515 /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorBoundaryError, { 6516 error 6517 }) 6518 ] 6519 }); 6520} 6521function ErrorBoundaryError({ error }) { 6522 const causalChain = (0,lib/* getErrorCausalChain */.rA)(error); 6523 const fullMessage = causalChain.map((e) => e.message).join("\n\nCause:\n"); 6524 return /* @__PURE__ */ (0,jsx_runtime.jsx)("p", { 6525 style: { whiteSpace: "pre-wrap" }, 6526 children: fullMessage 6527 }); 6528} 6529function ErrorRouteContextProvider({ children }) { 6530 return /* @__PURE__ */ (0,jsx_runtime.jsx)(routeContext/* RouteContextProvider */.W, { 6531 value: { 6532 plugin: { name: "docusaurus-core-error-boundary", id: "default" } 6533 }, 6534 children 6535 }); 6536} 6537function Error({ error, tryAgain }) { 6538 return /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorRouteContextProvider, { 6539 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)(ErrorBoundary, { 6540 fallback: () => /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorDisplay, { 6541 error, 6542 tryAgain 6543 }), 6544 children: [
6545 /* @__PURE__ */ (0,jsx_runtime.jsx)(Head/* default */.A, { 6546 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("title", { 6547 children: "Page Error" 6548 }) 6549 }), 6550 /* @__PURE__ */ (0,jsx_runtime.jsx)(Layout/* default */.A, { 6551 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorDisplay, { 6552 error, 6553 tryAgain 6554 }) 6555 }) 6556 ] 6557 }) 6558 }); 6559} 6560 6561;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/ErrorBoundary.js 6562var __defProp = Object.defineProperty; 6563var __getOwnPropSymbols = Object.getOwnPropertySymbols; 6564var __hasOwnProp = Object.prototype.hasOwnProperty; 6565var __propIsEnum = Object.prototype.propertyIsEnumerable; 6566var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 6567var __spreadValues = (a, b) => { 6568 for (var prop in b || (b = {})) 6569 if (__hasOwnProp.call(b, prop)) 6570 __defNormalProp(a, prop, b[prop]); 6571 if (__getOwnPropSymbols) 6572 for (var prop of __getOwnPropSymbols(b)) { 6573 if (__propIsEnum.call(b, prop)) 6574 __defNormalProp(a, prop, b[prop]); 6575 } 6576 return a; 6577}; 6578 6579 6580 6581 6582const DefaultFallback = (params) => /* @__PURE__ */ (0,jsx_runtime.jsx)(Error, __spreadValues({}, params)); 6583class ErrorBoundary extends react.Component { 6584 constructor(props) { 6585 super(props); 6586 this.state = { error: null }; 6587 } 6588 componentDidCatch(error) { 6589 if (ExecutionEnvironment/* default */.A.canUseDOM) { 6590 this.setState({ error }); 6591 } 6592 } 6593 render() { 6594 var _a; 6595 const { children } = this.props; 6596 const { error } = this.state; 6597 if (error) { 6598 const fallbackParams = { 6599 error, 6600 tryAgain: () => this.setState({ error: null }) 6601 }; 6602 const fallback = (_a = this.props.fallback) != null ? _a : DefaultFallback; 6603 return fallback(fallbackParams); 6604 } 6605 return children != null ? children : null; 6606 } 6607} 6608 6609 6610/***/ }), 6611 6612/***/ 11541: 6613/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6614 6615"use strict"; 6616/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6617/* harmony export */ b: () => (/* binding */ useSearchQueryString), 6618/* harmony export */ w: () => (/* binding */ useSearchLinkCreator) 6619/* harmony export */ }); 6620/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 6621/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99788); 6622/* harmony import */ var _utils_historyUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27127); 6623 6624 6625 6626const SEARCH_PARAM_QUERY = "q"; 6627function useSearchQueryString() { 6628 return (0,_utils_historyUtils__WEBPACK_IMPORTED_MODULE_2__/* .useQueryString */ .l)(SEARCH_PARAM_QUERY); 6629} 6630function useSearchLinkCreator() { 6631 const { siteConfig: { baseUrl, themeConfig } } = (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__["default"])(); 6632 const { algolia: { searchPagePath } } = themeConfig; 6633 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((searchValue) => `${baseUrl}${searchPagePath}?${SEARCH_PARAM_QUERY}=${encodeURIComponent(searchValue)}`, [baseUrl, searchPagePath]); 6634} 6635 6636 6637/***/ }), 6638 6639/***/ 11739: 6640/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6641 6642"use strict"; 6643/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6644/* harmony export */ l: () => (/* binding */ useWindowSize) 6645/* harmony export */ }); 6646/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 6647/* harmony import */ var _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91979); 6648 6649 6650const windowSizes = { 6651 desktop: "desktop", 6652 mobile: "mobile", 6653 ssr: "ssr" 6654}; 6655const DesktopBreakpoint = 996; 6656function getWindowSize(desktopBreakpoint) { 6657 if (!_docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.canUseDOM) { 6658 throw new Error("getWindowSize() should only be called after React hydration"); 6659 } 6660 return window.innerWidth > desktopBreakpoint ? windowSizes.desktop : windowSizes.mobile; 6661} 6662function useWindowSize({ desktopBreakpoint = DesktopBreakpoint } = {}) { 6663 const [windowSize, setWindowSize] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => "ssr"); 6664 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 6665 function updateWindowSize() { 6666 setWindowSize(getWindowSize(desktopBreakpoint)); 6667 } 6668 updateWindowSize(); 6669 window.addEventListener("resize", updateWindowSize); 6670 return () => { 6671 window.removeEventListener("resize", updateWindowSize); 6672 }; 6673 }, [desktopBreakpoint]); 6674 return windowSize; 6675} 6676 6677 6678/***/ }), 6679 6680/***/ 12451:
6681/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6682 6683"use strict"; 6684/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6685/* harmony export */ A: () => (/* binding */ Logo) 6686/* harmony export */ }); 6687/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 6688/* harmony import */ var _docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14196); 6689/* harmony import */ var _docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(54271); 6690/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99788); 6691/* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(90864); 6692/* harmony import */ var _theme_ThemedImage__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35184); 6693var __defProp = Object.defineProperty; 6694var __defProps = Object.defineProperties; 6695var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 6696var __getOwnPropSymbols = Object.getOwnPropertySymbols; 6697var __hasOwnProp = Object.prototype.hasOwnProperty; 6698var __propIsEnum = Object.prototype.propertyIsEnumerable; 6699var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 6700var __spreadValues = (a, b) => { 6701 for (var prop in b || (b = {})) 6702 if (__hasOwnProp.call(b, prop)) 6703 __defNormalProp(a, prop, b[prop]); 6704 if (__getOwnPropSymbols) 6705 for (var prop of __getOwnPropSymbols(b)) { 6706 if (__propIsEnum.call(b, prop)) 6707 __defNormalProp(a, prop, b[prop]); 6708 } 6709 return a; 6710}; 6711var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 6712var __objRest = (source, exclude) => { 6713 var target = {}; 6714 for (var prop in source) 6715 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 6716 target[prop] = source[prop]; 6717 if (source != null && __getOwnPropSymbols) 6718 for (var prop of __getOwnPropSymbols(source)) { 6719 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 6720 target[prop] = source[prop]; 6721 } 6722 return target; 6723}; 6724 6725 6726 6727 6728 6729 6730function LogoThemedImage({ logo, alt, imageClassName }) { 6731 const sources = { 6732 light: (0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay)(logo.src), 6733 dark: (0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay)(logo.srcDark || logo.src) 6734 }; 6735 const themedImage = /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_theme_ThemedImage__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A, { 6736 className: logo.className, 6737 sources, 6738 height: logo.height, 6739 width: logo.width, 6740 alt, 6741 style: logo.style 6742 }); 6743 return imageClassName ? /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { 6744 className: imageClassName, 6745 children: themedImage 6746 }) : themedImage; 6747} 6748function Logo(props) { 6749 var _b; 6750 const { 6751 siteConfig: { title } 6752 } = (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_3__["default"])(); 6753 const { 6754 navbar: { title: navbarTitle, logo } 6755 } = (0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_5__/* .useThemeConfig */ .p)(); 6756 const _a = props, { imageClassName, titleClassName } = _a, propsRest = __objRest(_a, ["imageClassName", "titleClassName"]); 6757 const logoLink = (0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay)((logo == null ? void 0 : logo.href) || "/"); 6758 const fallbackAlt = navbarTitle ? "" : title; 6759 const alt = (_b = logo == null ? void 0 : logo.alt) != null ? _b : fallbackAlt; 6760 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_docusaurus_Link__WEBPACK_IMPORTED_MODULE_1__["default"], __spreadProps(__spreadValues(__spreadValues({ 6761 to: logoLink 6762 }, propsRest), (logo == null ? void 0 : logo.target) && { target: logo.target }), { 6763 children: [
6764 logo && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LogoThemedImage, { 6765 logo, 6766 alt, 6767 imageClassName 6768 }), 6769 navbarTitle != null && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("b", { 6770 className: titleClassName, 6771 children: navbarTitle 6772 }) 6773 ] 6774 })); 6775} 6776 6777 6778/***/ }), 6779 6780/***/ 13432: 6781/***/ ((__unused_webpack_module, exports) => { 6782 6783"use strict"; 6784/** @license React v16.13.1 6785 * react-is.production.min.js 6786 * 6787 * Copyright (c) Facebook, Inc. and its affiliates. 6788 * 6789 * This source code is licensed under the MIT license found in the 6790 * LICENSE file in the root directory of this source tree. 6791 */ 6792 6793var 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? 6794Symbol.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; 6795function 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; 6796exports.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}; 6797exports.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}; 6798exports.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; 6799 6800 6801/***/ }), 6802 6803/***/ 14196: 6804/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6805 6806"use strict"; 6807__webpack_require__.r(__webpack_exports__); 6808/* harmony export */ __webpack_require__.d(__webpack_exports__, { 6809/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 6810/* harmony export */ }); 6811/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 6812/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 6813/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4467); 6814/* harmony import */ var _docusaurus_utils_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2300); 6815/* harmony import */ var _useDocusaurusContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(99788); 6816/* harmony import */ var _isInternalUrl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(98908); 6817/* harmony import */ var _ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(91979); 6818/* harmony import */ var _useBrokenLinks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1281); 6819/* harmony import */ var _useBaseUrl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54271); 6820var __defProp = Object.defineProperty; 6821var __defProps = Object.defineProperties; 6822var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 6823var __getOwnPropSymbols = Object.getOwnPropertySymbols; 6824var __hasOwnProp = Object.prototype.hasOwnProperty; 6825var __propIsEnum = Object.prototype.propertyIsEnumerable; 6826var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 6827var __spreadValues = (a, b) => { 6828 for (var prop in b || (b = {})) 6829 if (__hasOwnProp.call(b, prop)) 6830 __defNormalProp(a, prop, b[prop]); 6831 if (__getOwnPropSymbols) 6832 for (var prop of __getOwnPropSymbols(b)) { 6833 if (__propIsEnum.call(b, prop)) 6834 __defNormalProp(a, prop, b[prop]); 6835 } 6836 return a; 6837}; 6838var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 6839var __objRest = (source, exclude) => { 6840 var target = {}; 6841 for (var prop in source) 6842 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 6843 target[prop] = source[prop]; 6844 if (source != null && __getOwnPropSymbols) 6845 for (var prop of __getOwnPropSymbols(source)) { 6846 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 6847 target[prop] = source[prop]; 6848 } 6849 return target; 6850}; 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860const shouldAddBaseUrlAutomatically = (to) => to.startsWith("/"); 6861function Link(_a, forwardedRef) { 6862 var _b = _a, { isNavLink, to, href, activeClassName, isActive, "data-noBrokenLinkCheck": noBrokenLinkCheck, autoAddBaseUrl = true } = _b, props = __objRest(_b, ["isNavLink", "to", "href", "activeClassName", "isActive", "data-noBrokenLinkCheck", "autoAddBaseUrl"]); 6863 var _a2; 6864 const { siteConfig } = (0,_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_2__["default"])(); 6865 const { trailingSlash, baseUrl } = siteConfig; 6866 const router = siteConfig.future.experimental_router; 6867 const { withBaseUrl } = (0,_useBaseUrl__WEBPACK_IMPORTED_MODULE_5__/* .useBaseUrlUtils */ .hH)(); 6868 const brokenLinks = (0,_useBrokenLinks__WEBPACK_IMPORTED_MODULE_4__["default"])(); 6869 const innerRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null); 6870 (0,react__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle)(forwardedRef, () => innerRef.current); 6871 const targetLinkUnprefixed = to || href; 6872 function maybeAddBaseUrl(str) { 6873 return autoAddBaseUrl && shouldAddBaseUrlAutomatically(str) ? withBaseUrl(str) : str; 6874 } 6875 const isInternal = (0,_isInternalUrl__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A)(targetLinkUnprefixed); 6876 const targetLinkWithoutPathnameProtocol = targetLinkUnprefixed == null ? void 0 : targetLinkUnprefixed.replace("pathname://", ""); 6877 let targetLink = typeof targetLinkWithoutPathnameProtocol !== "undefined" ? maybeAddBaseUrl(targetLinkWithoutPathnameProtocol) : void 0; 6878 if (router === "hash" && (targetLink == null ? void 0 : targetLink.startsWith("./"))) { 6879 targetLink = targetLink == null ? void 0 : targetLink.slice(1); 6880 } 6881 if (targetLink && isInternal) { 6882 targetLink = (0,_docusaurus_utils_common__WEBPACK_IMPORTED_MODULE_7__/* .applyTrailingSlash */ .Ks)(targetLink, { trailingSlash, baseUrl }); 6883 } 6884 const preloaded = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(false); 6885 const LinkComponent = isNavLink ? react_router_dom__WEBPACK_IMPORTED_MODULE_8__/* .NavLink */ .k2 : react_router_dom__WEBPACK_IMPORTED_MODULE_8__/* .Link */ .N_; 6886 const IOSupported = _ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A.canUseIntersectionObserver; 6887 const ioRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(); 6888 const handleRef = (el) => { 6889 innerRef.current = el; 6890 if (IOSupported && el && isInternal) { 6891 ioRef.current = new window.IntersectionObserver((entries) => {
6892 entries.forEach((entry) => { 6893 if (el === entry.target) { 6894 if (entry.isIntersecting || entry.intersectionRatio > 0) { 6895 ioRef.current.unobserve(el); 6896 ioRef.current.disconnect(); 6897 if (targetLink != null) { 6898 window.docusaurus.prefetch(targetLink); 6899 } 6900 } 6901 } 6902 }); 6903 }); 6904 ioRef.current.observe(el); 6905 } 6906 }; 6907 const onInteractionEnter = () => { 6908 if (!preloaded.current && targetLink != null) { 6909 window.docusaurus.preload(targetLink); 6910 preloaded.current = true; 6911 } 6912 }; 6913 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 6914 if (!IOSupported && isInternal && _ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A.canUseDOM) { 6915 if (targetLink != null) { 6916 window.docusaurus.prefetch(targetLink); 6917 } 6918 } 6919 return () => { 6920 if (IOSupported && ioRef.current) { 6921 ioRef.current.disconnect(); 6922 } 6923 }; 6924 }, [ioRef, targetLink, IOSupported, isInternal]); 6925 const isAnchorLink = (_a2 = targetLink == null ? void 0 : targetLink.startsWith("#")) != null ? _a2 : false; 6926 const hasInternalTarget = !props.target || props.target === "_self"; 6927 const isRegularHtmlLink = !targetLink || !isInternal || !hasInternalTarget || isAnchorLink && router !== "hash"; 6928 if (!noBrokenLinkCheck && (isAnchorLink || !isRegularHtmlLink)) { 6929 brokenLinks.collectLink(targetLink); 6930 } 6931 if (props.id) { 6932 brokenLinks.collectAnchor(props.id); 6933 } 6934 const testOnlyProps = false ? 0 : {}; 6935 return isRegularHtmlLink ? /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", __spreadValues(__spreadValues(__spreadValues({ 6936 ref: innerRef, 6937 href: targetLink 6938 }, targetLinkUnprefixed && !isInternal && { target: "_blank", rel: "noopener noreferrer" }), props), testOnlyProps)) : /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LinkComponent, __spreadValues(__spreadValues(__spreadProps(__spreadValues({}, props), { 6939 onMouseEnter: onInteractionEnter, 6940 onTouchStart: onInteractionEnter, 6941 innerRef: handleRef, 6942 to: targetLink 6943 }), isNavLink && { isActive, activeClassName }), testOnlyProps)); 6944} 6945/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (react__WEBPACK_IMPORTED_MODULE_1__.forwardRef(Link)); 6946 6947 6948/***/ }), 6949 6950/***/ 14709: 6951/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 6952 6953"use strict"; 6954 6955// EXPORTS 6956__webpack_require__.d(__webpack_exports__, { 6957 o: () => (/* binding */ Context), 6958 l: () => (/* binding */ DocusaurusContextProvider) 6959}); 6960 6961// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 6962var jsx_runtime = __webpack_require__(48231); 6963// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 6964var react = __webpack_require__(77407); 6965// EXTERNAL MODULE: ./.docusaurus/docusaurus.config.mjs 6966var docusaurus_config = __webpack_require__(4784); 6967;// ./.docusaurus/globalData.json 6968const globalData_namespaceObject = /*#__PURE__*/JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"master (4.18.0-dev)","isLast":true,"path":"/","mainDocId":"getting-started/basics/intro","docs":[{"id":"advanced/general-reference/error-codes","path":"/advanced/error-codes","sidebar":"advanced"},{"id":"advanced/general-reference/lexicon","path":"/advanced/lexicon","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/exec","path":"/protocol/exec","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/file","path":"/protocol/file","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/git","path":"/protocol/git","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/jsr","path":"/protocol/jsr","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/link","path":"/protocol/link","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/npm","path":"/protocol/npm","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/patch","path":"/protocol/patch","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/portal","path":"/protocol/portal","sidebar":"advanced"},{"id":"advanced/general-reference/protocols/workspace","path":"/protocol/workspace","sidebar":"advanced"},{"id":"advanced/package-management/lifecycle-scripts","path":"/advanced/lifecycle-scripts","sidebar":"advanced"},{"id":"advanced/package-management/rulebook","path":"/advanced/rulebook","sidebar":"advanced"},{"id":"advanced/pnp/pnp-api","path":"/advanced/pnpapi","sidebar":"advanced"},{"id":"advanced/pnp/pnp-spec","path":"/advanced/pnp-spec","sidebar":"advanced"},{"id":"advanced/pnp/pnpify","path":"/advanced/pnpify","sidebar":"advanced"},{"id":"advanced/technical/architecture","path":"/advanced/architecture","sidebar":"advanced"},{"id":"advanced/technical/changelog","path":"/advanced/changelog","sidebar":"advanced"},{"id":"advanced/technical/contributing","path":"/advanced/contributing","sidebar":"advanced"},{"id":"advanced/technical/plugin-tutorial","path":"/advanced/plugin-tutorial","sidebar":"advanced"},{"id":"advanced/technical/telemetry","path":"/advanced/telemetry","sidebar":"advanced"},{"id":"configuration/manifest","path":"/configuration/manifest","sidebar":"configuration"},{"id":"configuration/yarnrc","path":"/configuration/yarnrc","sidebar":"configuration"},{"id":"features/caching","path":"/features/caching","sidebar":"features"},{"id":"features/catalogs","path":"/features/catalogs","sidebar":"features"},{"id":"features/constraints","path":"/features/constraints","sidebar":"features"},{"id":"features/extensibility","path":"/features/extensibility","sidebar":"features"},{"id":"features/install-modes","path":"/features/linkers","sidebar":"features"},{"id":"features/patching","path":"/features/patching","sidebar":"features"},{"id":"features/performances","path":"/features/performances","sidebar":"features"},{"id":"features/plugnplay","path":"/features/pnp","sidebar":"features"},{"id":"features/release-workflow","path":"/features/release-workflow","sidebar":"features"},{"id":"features/scripting","path":"/features/scripting","sidebar":"features"},{"id":"features/security","path":"/features/security","sidebar":"features"},{"id":"features/workspaces","path":"/features/workspaces","sidebar":"features"},{"id":"getting-started/basics/install","path":"/getting-started/install","sidebar":"gettingStarted"},{"id":"getting-started/basics/intro","path":"/getting-started","sidebar":"gettingStarted"},{"id":"getting-started/basics/usage","path":"/getting-started/usage","sidebar":"gettingStarted"},{"id":"getting-started/extra/corepack","path":"/corepack","sidebar":"gettingStarted"},{"id":"getting-started/extra/editor-sdks","path":"/getting-started/editor-sdks","sidebar":"gettingStarted"},{"id":"getting-started/extra/questions-and-answers","path":"/getting-started/qa","sidebar":"gettingStarted"},{"id":"getting-started/extra/recipes","path":"/getting-started/recipes","sidebar":"gettingStarted"},{"id":"getting-started/migrating/benefits","path":"/migration/overview","sidebar":"gettingStarted"},{"id":"getting-started/migrating/pnp","path":"/migration/pnp","sidebar":"gettingStarted"},{"id":"getting-started/migrating/steps","path":"/migration/guide","sidebar":"gettingStarted"},{"id":"/protocols","path":"/protocols","sidebar":"advanced"}],"draftIds":[],"sidebars":{"gettingStarted":{"link":{"path":"/getting-started","label":"getting-started/basics/intro"}},"advanced":{"link":{"path":"/advanced/error-codes","label":"advanced/general-reference/error-codes"}},"features":{"link":{"path":"/features/caching","label":"features/caching"}},"configuration":{"link":{"path":"/configuration/manifest","label":"configuration/manifest"}}}}],"breadcrumbs":true}}}'); 6969;// ./.docusaurus/i18n.json 6970const 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"}}}'); 6971// EXTERNAL MODULE: ./.docusaurus/codeTranslations.json 6972var codeTranslations = __webpack_require__(22654); 6973;// ./.docusaurus/site-metadata.json 6974const site_metadata_namespaceObject = /*#__PURE__*/JSON.parse('{"docusaurusVersion":"3.7.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","ver
6974sion":"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"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.7.0"},"docusaurus-plugin-yarn-webpack-config":{"type":"project"},"docusaurus-plugin-yarn-cli-docs":{"type":"project"},"docusaurus-plugin-typedoc-api":{"type":"package","name":"docusaurus-plugin-typedoc-api","version":"4.4.0"}}}'); 6975;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/docusaurusContext.js 6976 6977 6978 6979 6980 6981 6982 6983const contextValue = { 6984 siteConfig: docusaurus_config["default"], 6985 siteMetadata: site_metadata_namespaceObject, 6986 globalData: globalData_namespaceObject, 6987 i18n: i18n_namespaceObject, 6988 codeTranslations: codeTranslations 6989}; 6990const Context = react.createContext(contextValue); 6991function DocusaurusContextProvider({ children }) { 6992 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Context.Provider, { 6993 value: contextValue, 6994 children 6995 }); 6996} 6997 6998 6999/***/ }), 7000 7001/***/ 14712: 7002/***/ ((module, exports) => { 7003 7004var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 7005 Copyright (c) 2018 Jed Watson. 7006 Licensed under the MIT License (MIT), see 7007 http://jedwatson.github.io/classnames 7008*/ 7009/* global define */ 7010 7011(function () { 7012 'use strict'; 7013 7014 var hasOwn = {}.hasOwnProperty; 7015 var nativeCodeString = '[native code]'; 7016 7017 function classNames() { 7018 var classes = []; 7019 7020 for (var i = 0; i < arguments.length; i++) { 7021 var arg = arguments[i]; 7022 if (!arg) continue; 7023 7024 var argType = typeof arg; 7025 7026 if (argType === 'string' || argType === 'number') { 7027 classes.push(arg); 7028 } else if (Array.isArray(arg)) { 7029 if (arg.length) { 7030 var inner = classNames.apply(null, arg); 7031 if (inner) { 7032 classes.push(inner); 7033 } 7034 } 7035 } else if (argType === 'object') { 7036 if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) { 7037 classes.push(arg.toString()); 7038 continue; 7039 } 7040 7041 for (var key in arg) { 7042 if (hasOwn.call(arg, key) && arg[key]) { 7043 classes.push(key); 7044 } 7045 } 7046 } 7047 } 7048 7049 return classes.join(' '); 7050 } 7051 7052 if ( true && module.exports) { 7053 classNames.default = classNames; 7054 module.exports = classNames; 7055 } else if (true) { 7056 // register as 'classnames', consistent with npm package name 7057 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { 7058 return classNames; 7059 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), 7060 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 7061 } else {} 7062}()); 7063 7064 7065/***/ }), 7066 7067/***/ 14859: 7068/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 7069 7070"use strict"; 7071/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7072/* harmony export */ n: () => (/* binding */ DocsVersionProvider), 7073/* harmony export */ r: () => (/* binding */ useDocsVersion) 7074/* harmony export */ }); 7075/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 7076/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 7077/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 7078 7079 7080 7081const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(null); 7082function DocsVersionProvider({ children, version }) { 7083 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 7084 value: version, 7085 children 7086 }); 7087} 7088function useDocsVersion() { 7089 const version = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 7090 if (version === null) { 7091 throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV("DocsVersionProvider"); 7092 } 7093 return version; 7094} 7095 7096 7097/***/ }), 7098 7099/***/ 15062: 7100/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 7101 7102"use strict"; 7103/* harmony export */ __webpack_require__.d(__webpack_exports__, { 7104/* harmony export */ Q: () => (/* binding */ Subscribable) 7105/* harmony export */ });
7106// src/subscribable.ts 7107var Subscribable = class { 7108 constructor() { 7109 this.listeners = /* @__PURE__ */ new Set(); 7110 this.subscribe = this.subscribe.bind(this); 7111 } 7112 subscribe(listener) { 7113 this.listeners.add(listener); 7114 this.onSubscribe(); 7115 return () => { 7116 this.listeners.delete(listener); 7117 this.onUnsubscribe(); 7118 }; 7119 } 7120 hasListeners() { 7121 return this.listeners.size > 0; 7122 } 7123 onSubscribe() { 7124 } 7125 onUnsubscribe() { 7126 } 7127}; 7128 7129//# sourceMappingURL=subscribable.js.map 7130 7131/***/ }), 7132 7133/***/ 15419: 7134/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 7135 7136"use strict"; 7137 7138 7139var reactIs = __webpack_require__(8468); 7140 7141/** 7142 * Copyright 2015, Yahoo! Inc. 7143 * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. 7144 */ 7145var REACT_STATICS = { 7146 childContextTypes: true, 7147 contextType: true, 7148 contextTypes: true, 7149 defaultProps: true, 7150 displayName: true, 7151 getDefaultProps: true, 7152 getDerivedStateFromError: true, 7153 getDerivedStateFromProps: true, 7154 mixins: true, 7155 propTypes: true, 7156 type: true 7157}; 7158var KNOWN_STATICS = { 7159 name: true, 7160 length: true, 7161 prototype: true, 7162 caller: true, 7163 callee: true, 7164 arguments: true, 7165 arity: true 7166}; 7167var FORWARD_REF_STATICS = { 7168 '$$typeof': true, 7169 render: true, 7170 defaultProps: true, 7171 displayName: true, 7172 propTypes: true 7173}; 7174var MEMO_STATICS = { 7175 '$$typeof': true, 7176 compare: true, 7177 defaultProps: true, 7178 displayName: true, 7179 propTypes: true, 7180 type: true 7181}; 7182var TYPE_STATICS = {}; 7183TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS; 7184TYPE_STATICS[reactIs.Memo] = MEMO_STATICS; 7185 7186function getStatics(component) { 7187 // React v16.11 and below 7188 if (reactIs.isMemo(component)) { 7189 return MEMO_STATICS; 7190 } // React v16.12 and above 7191 7192 7193 return TYPE_STATICS[component['$$typeof']] || REACT_STATICS; 7194} 7195 7196var defineProperty = Object.defineProperty; 7197var getOwnPropertyNames = Object.getOwnPropertyNames; 7198var getOwnPropertySymbols = Object.getOwnPropertySymbols; 7199var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 7200var getPrototypeOf = Object.getPrototypeOf; 7201var objectPrototype = Object.prototype; 7202function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) { 7203 if (typeof sourceComponent !== 'string') { 7204 // don't hoist over string (html) components 7205 if (objectPrototype) { 7206 var inheritedComponent = getPrototypeOf(sourceComponent); 7207 7208 if (inheritedComponent && inheritedComponent !== objectPrototype) { 7209 hoistNonReactStatics(targetComponent, inheritedComponent, blacklist); 7210 } 7211 } 7212 7213 var keys = getOwnPropertyNames(sourceComponent); 7214 7215 if (getOwnPropertySymbols) { 7216 keys = keys.concat(getOwnPropertySymbols(sourceComponent)); 7217 } 7218 7219 var targetStatics = getStatics(targetComponent); 7220 var sourceStatics = getStatics(sourceComponent); 7221 7222 for (var i = 0; i < keys.length; ++i) { 7223 var key = keys[i]; 7224 7225 if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) { 7226 var descriptor = getOwnPropertyDescriptor(sourceComponent, key); 7227 7228 try { 7229 // Avoid failures from read-only properties 7230 defineProperty(targetComponent, key, descriptor); 7231 } catch (e) {} 7232 } 7233 } 7234 } 7235 7236 return targetComponent; 7237} 7238 7239module.exports = hoistNonReactStatics; 7240 7241 7242/***/ }), 7243 7244/***/ 19042: 7245/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 7246 7247"use strict";
7248// ESM COMPAT FLAG 7249__webpack_require__.r(__webpack_exports__); 7250 7251// EXPORTS 7252__webpack_require__.d(__webpack_exports__, { 7253 "default": () => (/* binding */ Heading) 7254}); 7255 7256// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 7257var jsx_runtime = __webpack_require__(48231); 7258// EXTERNAL MODULE: ../../.yarn/cache/clsx-npm-2.1.0-29d286e1de-2e0ce7c3b6.zip/node_modules/clsx/dist/clsx.mjs 7259var clsx = __webpack_require__(75437); 7260// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Translate.js + 1 modules 7261var Translate = __webpack_require__(66187); 7262// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useThemeConfig.js 7263var useThemeConfig = __webpack_require__(90864); 7264// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Link.js 7265var Link = __webpack_require__(14196); 7266// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useBrokenLinks.js + 1 modules 7267var useBrokenLinks = __webpack_require__(1281); 7268;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Heading/styles.module.css 7269// extracted by mini-css-extract-plugin 7270/* harmony default export */ const styles_module = ({"anchorWithStickyNavbar":"anchorWithStickyNavbar_hhKX","anchorWithHideOnScrollNavbar":"anchorWithHideOnScrollNavbar_YonW"}); 7271;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Heading/index.js 7272var __defProp = Object.defineProperty; 7273var __defProps = Object.defineProperties; 7274var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 7275var __getOwnPropSymbols = Object.getOwnPropertySymbols; 7276var __hasOwnProp = Object.prototype.hasOwnProperty; 7277var __propIsEnum = Object.prototype.propertyIsEnumerable; 7278var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 7279var __spreadValues = (a, b) => { 7280 for (var prop in b || (b = {})) 7281 if (__hasOwnProp.call(b, prop)) 7282 __defNormalProp(a, prop, b[prop]); 7283 if (__getOwnPropSymbols) 7284 for (var prop of __getOwnPropSymbols(b)) { 7285 if (__propIsEnum.call(b, prop)) 7286 __defNormalProp(a, prop, b[prop]); 7287 } 7288 return a; 7289}; 7290var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 7291var __objRest = (source, exclude) => { 7292 var target = {}; 7293 for (var prop in source) 7294 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 7295 target[prop] = source[prop]; 7296 if (source != null && __getOwnPropSymbols) 7297 for (var prop of __getOwnPropSymbols(source)) { 7298 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 7299 target[prop] = source[prop]; 7300 } 7301 return target; 7302}; 7303 7304 7305 7306 7307 7308 7309 7310function Heading(_a) { 7311 var _b = _a, { as: As, id } = _b, props = __objRest(_b, ["as", "id"]); 7312 const brokenLinks = (0,useBrokenLinks["default"])(); 7313 const { 7314 navbar: { hideOnScroll } 7315 } = (0,useThemeConfig/* useThemeConfig */.p)(); 7316 if (As === "h1" || !id) { 7317 return /* @__PURE__ */ (0,jsx_runtime.jsx)(As, __spreadProps(__spreadValues({}, props), { 7318 id: void 0 7319 })); 7320 } 7321 brokenLinks.collectAnchor(id); 7322 const anchorTitle = (0,Translate/* translate */.T)( 7323 { 7324 id: "theme.common.headingLinkTitle", 7325 message: "Direct link to {heading}", 7326 description: "Title for link to heading" 7327 }, 7328 { 7329 heading: typeof props.children === "string" ? props.children : id 7330 } 7331 ); 7332 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(As, __spreadProps(__spreadValues({}, props), { 7333 className: (0,clsx/* default */.A)( 7334 "anchor", 7335 hideOnScroll ? styles_module.anchorWithHideOnScrollNavbar : styles_module.anchorWithStickyNavbar, 7336 props.className 7337 ), 7338 id, 7339 children: [ 7340 props.children,
vendor: 10,220 bytes, lines 7341-7678
7341 /* @__PURE__ */ (0,jsx_runtime.jsx)(Link["default"], { 7342 className: "hash-link", 7343 to: `#${id}`, 7344 "aria-label": anchorTitle, 7345 title: anchorTitle, 7346 children: "\u200B" 7347 }) 7348 ] 7349 })); 7350} 7351 7352 7353/***/ }), 7354 7355/***/ 19356: 7356/***/ ((__unused_webpack_module, exports) => { 7357 7358"use strict"; 7359/** 7360 * @license React 7361 * react.production.js 7362 * 7363 * Copyright (c) Meta Platforms, Inc. and affiliates. 7364 * 7365 * This source code is licensed under the MIT license found in the 7366 * LICENSE file in the root directory of this source tree. 7367 */ 7368 7369 7370var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), 7371 REACT_PORTAL_TYPE = Symbol.for("react.portal"), 7372 REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), 7373 REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), 7374 REACT_PROFILER_TYPE = Symbol.for("react.profiler"), 7375 REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), 7376 REACT_CONTEXT_TYPE = Symbol.for("react.context"), 7377 REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), 7378 REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), 7379 REACT_MEMO_TYPE = Symbol.for("react.memo"), 7380 REACT_LAZY_TYPE = Symbol.for("react.lazy"), 7381 MAYBE_ITERATOR_SYMBOL = Symbol.iterator; 7382function getIteratorFn(maybeIterable) { 7383 if (null === maybeIterable || "object" !== typeof maybeIterable) return null; 7384 maybeIterable = 7385 (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) || 7386 maybeIterable["@@iterator"]; 7387 return "function" === typeof maybeIterable ? maybeIterable : null; 7388} 7389var ReactNoopUpdateQueue = { 7390 isMounted: function () { 7391 return !1; 7392 }, 7393 enqueueForceUpdate: function () {}, 7394 enqueueReplaceState: function () {}, 7395 enqueueSetState: function () {} 7396 }, 7397 assign = Object.assign, 7398 emptyObject = {}; 7399function Component(props, context, updater) { 7400 this.props = props; 7401 this.context = context; 7402 this.refs = emptyObject; 7403 this.updater = updater || ReactNoopUpdateQueue; 7404} 7405Component.prototype.isReactComponent = {}; 7406Component.prototype.setState = function (partialState, callback) { 7407 if ( 7408 "object" !== typeof partialState && 7409 "function" !== typeof partialState && 7410 null != partialState 7411 ) 7412 throw Error( 7413 "takes an object of state variables to update or a function which returns an object of state variables." 7414 ); 7415 this.updater.enqueueSetState(this, partialState, callback, "setState"); 7416}; 7417Component.prototype.forceUpdate = function (callback) { 7418 this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); 7419}; 7420function ComponentDummy() {} 7421ComponentDummy.prototype = Component.prototype; 7422function PureComponent(props, context, updater) { 7423 this.props = props; 7424 this.context = context; 7425 this.refs = emptyObject; 7426 this.updater = updater || ReactNoopUpdateQueue; 7427} 7428var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy()); 7429pureComponentPrototype.constructor = PureComponent; 7430assign(pureComponentPrototype, Component.prototype); 7431pureComponentPrototype.isPureReactComponent = !0; 7432var isArrayImpl = Array.isArray, 7433 ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null }, 7434 hasOwnProperty = Object.prototype.hasOwnProperty; 7435function ReactElement(type, key, self, source, owner, props) { 7436 self = props.ref; 7437 return { 7438 $$typeof: REACT_ELEMENT_TYPE, 7439 type: type, 7440 key: key, 7441 ref: void 0 !== self ? self : null, 7442 props: props 7443 }; 7444} 7445function cloneAndReplaceKey(oldElement, newKey) { 7446 return ReactElement( 7447 oldElement.type, 7448 newKey, 7449 void 0, 7450 void 0, 7451 void 0, 7452 oldElement.props 7453 ); 7454} 7455function isValidElement(object) { 7456 return ( 7457 "object" === typeof object && 7458 null !== object && 7459 object.$$typeof === REACT_ELEMENT_TYPE 7460 ); 7461} 7462function escape(key) { 7463 var escaperLookup = { "=": "=0", ":": "=2" }; 7464 return ( 7465 "$" + 7466 key.replace(/[=:]/g, function (match) { 7467 return escaperLookup[match]; 7468 }) 7469 ); 7470} 7471var userProvidedKeyEscapeRegex = /\/+/g; 7472function getElementKey(element, index) { 7473 return "object" === typeof element && null !== element && null != element.key 7474 ? escape("" + element.key) 7475 : index.toString(36); 7476} 7477function noop$1() {} 7478function resolveThenable(thenable) { 7479 switch (thenable.status) { 7480 case "fulfilled": 7481 return thenable.value; 7482 case "rejected": 7483 throw thenable.reason; 7484 default: 7485 switch ( 7486 ("string" === typeof thenable.status 7487 ? thenable.then(noop$1, noop$1) 7488 : ((thenable.status = "pending"), 7489 thenable.then( 7490 function (fulfilledValue) { 7491 "pending" === thenable.status && 7492 ((thenable.status = "fulfilled"), 7493 (thenable.value = fulfilledValue)); 7494 }, 7495 function (error) { 7496 "pending" === thenable.status && 7497 ((thenable.status = "rejected"), (thenable.reason = error)); 7498 } 7499 )), 7500 thenable.status) 7501 ) { 7502 case "fulfilled": 7503 return thenable.value; 7504 case "rejected": 7505 throw thenable.reason; 7506 } 7507 } 7508 throw thenable; 7509} 7510function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) { 7511 var type = typeof children; 7512 if ("undefined" === type || "boolean" === type) children = null; 7513 var invokeCallback = !1; 7514 if (null === children) invokeCallback = !0; 7515 else 7516 switch (type) { 7517 case "bigint": 7518 case "string": 7519 case "number": 7520 invokeCallback = !0; 7521 break; 7522 case "object": 7523 switch (children.$$typeof) { 7524 case REACT_ELEMENT_TYPE: 7525 case REACT_PORTAL_TYPE: 7526 invokeCallback = !0; 7527 break; 7528 case REACT_LAZY_TYPE: 7529 return ( 7530 (invokeCallback = children._init), 7531 mapIntoArray( 7532 invokeCallback(children._payload), 7533 array, 7534 escapedPrefix, 7535 nameSoFar, 7536 callback 7537 ) 7538 ); 7539 } 7540 } 7541 if (invokeCallback) 7542 return ( 7543 (callback = callback(children)), 7544 (invokeCallback = 7545 "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar), 7546 isArrayImpl(callback) 7547 ? ((escapedPrefix = ""), 7548 null != invokeCallback && 7549 (escapedPrefix = 7550 invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), 7551 mapIntoArray(callback, array, escapedPrefix, "", function (c) { 7552 return c; 7553 })) 7554 : null != callback && 7555 (isValidElement(callback) && 7556 (callback = cloneAndReplaceKey( 7557 callback, 7558 escapedPrefix + 7559 (null == callback.key || 7560 (children && children.key === callback.key) 7561 ? "" 7562 : ("" + callback.key).replace( 7563 userProvidedKeyEscapeRegex, 7564 "$&/" 7565 ) + "/") + 7566 invokeCallback 7567 )), 7568 array.push(callback)), 7569 1 7570 ); 7571 invokeCallback = 0; 7572 var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":"; 7573 if (isArrayImpl(children)) 7574 for (var i = 0; i < children.length; i++) 7575 (nameSoFar = children[i]), 7576 (type = nextNamePrefix + getElementKey(nameSoFar, i)), 7577 (invokeCallback += mapIntoArray( 7578 nameSoFar, 7579 array, 7580 escapedPrefix, 7581 type, 7582 callback 7583 )); 7584 else if (((i = getIteratorFn(children)), "function" === typeof i)) 7585 for ( 7586 children = i.call(children), i = 0; 7587 !(nameSoFar = children.next()).done; 7588 7589 ) 7590 (nameSoFar = nameSoFar.value), 7591 (type = nextNamePrefix + getElementKey(nameSoFar, i++)), 7592 (invokeCallback += mapIntoArray( 7593 nameSoFar, 7594 array, 7595 escapedPrefix, 7596 type, 7597 callback 7598 )); 7599 else if ("object" === type) { 7600 if ("function" === typeof children.then) 7601 return mapIntoArray( 7602 resolveThenable(children), 7603 array, 7604 escapedPrefix, 7605 nameSoFar, 7606 callback 7607 ); 7608 array = String(children); 7609 throw Error( 7610 "Objects are not valid as a React child (found: " + 7611 ("[object Object]" === array 7612 ? "object with keys {" + Object.keys(children).join(", ") + "}" 7613 : array) + 7614 "). If you meant to render a collection of children, use an array instead." 7615 ); 7616 } 7617 return invokeCallback; 7618} 7619function mapChildren(children, func, context) { 7620 if (null == children) return children; 7621 var result = [], 7622 count = 0; 7623 mapIntoArray(children, result, "", "", function (child) { 7624 return func.call(context, child, count++); 7625 }); 7626 return result; 7627} 7628function lazyInitializer(payload) { 7629 if (-1 === payload._status) { 7630 var ctor = payload._result; 7631 ctor = ctor(); 7632 ctor.then( 7633 function (moduleObject) { 7634 if (0 === payload._status || -1 === payload._status) 7635 (payload._status = 1), (payload._result = moduleObject); 7636 }, 7637 function (error) { 7638 if (0 === payload._status || -1 === payload._status) 7639 (payload._status = 2), (payload._result = error); 7640 } 7641 ); 7642 -1 === payload._status && ((payload._status = 0), (payload._result = ctor)); 7643 } 7644 if (1 === payload._status) return payload._result.default; 7645 throw payload._result; 7646} 7647var reportGlobalError = 7648 "function" === typeof reportError 7649 ? reportError 7650 : function (error) { 7651 if ( 7652 "object" === typeof window && 7653 "function" === typeof window.ErrorEvent 7654 ) { 7655 var event = new window.ErrorEvent("error", { 7656 bubbles: !0, 7657 cancelable: !0, 7658 message: 7659 "object" === typeof error && 7660 null !== error && 7661 "string" === typeof error.message 7662 ? String(error.message) 7663 : String(error), 7664 error: error 7665 }); 7666 if (!window.dispatchEvent(event)) return; 7667 } else if ( 7668 "object" === typeof process && 7669 "function" === typeof process.emit 7670 ) { 7671 process.emit("uncaughtException", error); 7672 return; 7673 } 7674 console.error(error); 7675 }; 7676function noop() {} 7677exports.Children = { 7678 map: mapChildren,
7679 forEach: function (children, forEachFunc, forEachContext) { 7680 mapChildren( 7681 children, 7682 function () { 7683 forEachFunc.apply(this, arguments); 7684 }, 7685 forEachContext 7686 ); 7687 }, 7688 count: function (children) { 7689 var n = 0; 7690 mapChildren(children, function () { 7691 n++; 7692 }); 7693 return n; 7694 }, 7695 toArray: function (children) { 7696 return ( 7697 mapChildren(children, function (child) { 7698 return child; 7699 }) || [] 7700 ); 7701 }, 7702 only: function (children) { 7703 if (!isValidElement(children)) 7704 throw Error( 7705 "React.Children.only expected to receive a single React element child." 7706 ); 7707 return children; 7708 } 7709}; 7710exports.Component = Component; 7711exports.Fragment = REACT_FRAGMENT_TYPE; 7712exports.Profiler = REACT_PROFILER_TYPE; 7713exports.PureComponent = PureComponent; 7714exports.StrictMode = REACT_STRICT_MODE_TYPE; 7715exports.Suspense = REACT_SUSPENSE_TYPE; 7716exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = 7717 ReactSharedInternals; 7718exports.__COMPILER_RUNTIME = { 7719 __proto__: null, 7720 c: function (size) { 7721 return ReactSharedInternals.H.useMemoCache(size); 7722 } 7723}; 7724exports.cache = function (fn) { 7725 return function () { 7726 return fn.apply(null, arguments); 7727 }; 7728}; 7729exports.cloneElement = function (element, config, children) { 7730 if (null === element || void 0 === element) 7731 throw Error( 7732 "The argument must be a React element, but you passed " + element + "." 7733 ); 7734 var props = assign({}, element.props), 7735 key = element.key, 7736 owner = void 0; 7737 if (null != config) 7738 for (propName in (void 0 !== config.ref && (owner = void 0), 7739 void 0 !== config.key && (key = "" + config.key), 7740 config)) 7741 !hasOwnProperty.call(config, propName) || 7742 "key" === propName || 7743 "__self" === propName || 7744 "__source" === propName || 7745 ("ref" === propName && void 0 === config.ref) || 7746 (props[propName] = config[propName]); 7747 var propName = arguments.length - 2; 7748 if (1 === propName) props.children = children; 7749 else if (1 < propName) { 7750 for (var childArray = Array(propName), i = 0; i < propName; i++) 7751 childArray[i] = arguments[i + 2]; 7752 props.children = childArray; 7753 } 7754 return ReactElement(element.type, key, void 0, void 0, owner, props); 7755}; 7756exports.createContext = function (defaultValue) { 7757 defaultValue = { 7758 $$typeof: REACT_CONTEXT_TYPE, 7759 _currentValue: defaultValue, 7760 _currentValue2: defaultValue, 7761 _threadCount: 0, 7762 Provider: null, 7763 Consumer: null 7764 }; 7765 defaultValue.Provider = defaultValue; 7766 defaultValue.Consumer = { 7767 $$typeof: REACT_CONSUMER_TYPE, 7768 _context: defaultValue 7769 }; 7770 return defaultValue; 7771}; 7772exports.createElement = function (type, config, children) { 7773 var propName, 7774 props = {}, 7775 key = null; 7776 if (null != config) 7777 for (propName in (void 0 !== config.key && (key = "" + config.key), config)) 7778 hasOwnProperty.call(config, propName) && 7779 "key" !== propName && 7780 "__self" !== propName && 7781 "__source" !== propName && 7782 (props[propName] = config[propName]); 7783 var childrenLength = arguments.length - 2; 7784 if (1 === childrenLength) props.children = children; 7785 else if (1 < childrenLength) { 7786 for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) 7787 childArray[i] = arguments[i + 2]; 7788 props.children = childArray; 7789 } 7790 if (type && type.defaultProps) 7791 for (propName in ((childrenLength = type.defaultProps), childrenLength)) 7792 void 0 === props[propName] && 7793 (props[propName] = childrenLength[propName]); 7794 return ReactElement(type, key, void 0, void 0, null, props); 7795}; 7796exports.createRef = function () { 7797 return { current: null }; 7798}; 7799exports.forwardRef = function (render) { 7800 return { $$typeof: REACT_FORWARD_REF_TYPE, render: render }; 7801}; 7802exports.isValidElement = isValidElement; 7803exports.lazy = function (ctor) { 7804 return { 7805 $$typeof: REACT_LAZY_TYPE, 7806 _payload: { _status: -1, _result: ctor }, 7807 _init: lazyInitializer 7808 }; 7809}; 7810exports.memo = function (type, compare) { 7811 return { 7812 $$typeof: REACT_MEMO_TYPE, 7813 type: type, 7814 compare: void 0 === compare ? null : compare 7815 }; 7816}; 7817exports.startTransition = function (scope) { 7818 var prevTransition = ReactSharedInternals.T, 7819 currentTransition = {}; 7820 ReactSharedInternals.T = currentTransition; 7821 try { 7822 var returnValue = scope(), 7823 onStartTransitionFinish = ReactSharedInternals.S; 7824 null !== onStartTransitionFinish && 7825 onStartTransitionFinish(currentTransition, returnValue); 7826 "object" === typeof returnValue && 7827 null !== returnValue && 7828 "function" === typeof returnValue.then && 7829 returnValue.then(noop, reportGlobalError); 7830 } catch (error) { 7831 reportGlobalError(error); 7832 } finally { 7833 ReactSharedInternals.T = prevTransition; 7834 } 7835}; 7836exports.unstable_useCacheRefresh = function () { 7837 return ReactSharedInternals.H.useCacheRefresh(); 7838}; 7839exports.use = function (usable) {
7840 return ReactSharedInternals.H.use(usable); 7841}; 7842exports.useActionState = function (action, initialState, permalink) { 7843 return ReactSharedInternals.H.useActionState(action, initialState, permalink); 7844}; 7845exports.useCallback = function (callback, deps) { 7846 return ReactSharedInternals.H.useCallback(callback, deps); 7847}; 7848exports.useContext = function (Context) { 7849 return ReactSharedInternals.H.useContext(Context); 7850}; 7851exports.useDebugValue = function () {}; 7852exports.useDeferredValue = function (value, initialValue) { 7853 return ReactSharedInternals.H.useDeferredValue(value, initialValue); 7854}; 7855exports.useEffect = function (create, createDeps, update) { 7856 var dispatcher = ReactSharedInternals.H; 7857 if ("function" === typeof update) 7858 throw Error( 7859 "useEffect CRUD overload is not enabled in this build of React." 7860 ); 7861 return dispatcher.useEffect(create, createDeps); 7862}; 7863exports.useId = function () { 7864 return ReactSharedInternals.H.useId(); 7865}; 7866exports.useImperativeHandle = function (ref, create, deps) { 7867 return ReactSharedInternals.H.useImperativeHandle(ref, create, deps); 7868}; 7869exports.useInsertionEffect = function (create, deps) { 7870 return ReactSharedInternals.H.useInsertionEffect(create, deps); 7871}; 7872exports.useLayoutEffect = function (create, deps) { 7873 return ReactSharedInternals.H.useLayoutEffect(create, deps); 7874}; 7875exports.useMemo = function (create, deps) { 7876 return ReactSharedInternals.H.useMemo(create, deps); 7877}; 7878exports.useOptimistic = function (passthrough, reducer) { 7879 return ReactSharedInternals.H.useOptimistic(passthrough, reducer); 7880}; 7881exports.useReducer = function (reducer, initialArg, init) { 7882 return ReactSharedInternals.H.useReducer(reducer, initialArg, init); 7883}; 7884exports.useRef = function (initialValue) { 7885 return ReactSharedInternals.H.useRef(initialValue); 7886}; 7887exports.useState = function (initialState) { 7888 return ReactSharedInternals.H.useState(initialState); 7889}; 7890exports.useSyncExternalStore = function ( 7891 subscribe, 7892 getSnapshot, 7893 getServerSnapshot 7894) { 7895 return ReactSharedInternals.H.useSyncExternalStore( 7896 subscribe, 7897 getSnapshot, 7898 getServerSnapshot 7899 ); 7900}; 7901exports.useTransition = function () { 7902 return ReactSharedInternals.H.useTransition(); 7903}; 7904exports.version = "19.1.0"; 7905 7906 7907/***/ }), 7908 7909/***/ 21347: 7910/***/ (() => { 7911 7912(function (Prism) { 7913 // $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|' 7914 // + LC_ALL, RANDOM, REPLY, SECONDS. 7915 // + make sure PS1..4 are here as they are not always set, 7916 // - some useless things. 7917 var envVars = '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
7917CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b'; 7918 7919 var commandAfterHeredoc = { 7920 pattern: /(^(["']?)\w+\2)[ \t]+\S.*/, 7921 lookbehind: true, 7922 alias: 'punctuation', // this looks reasonably well in all themes 7923 inside: null // see below 7924 }; 7925 7926 var insideString = { 7927 'bash': commandAfterHeredoc, 7928 'environment': { 7929 pattern: RegExp('\\$' + envVars), 7930 alias: 'constant' 7931 }, 7932 'variable': [ 7933 // [0]: Arithmetic Environment 7934 { 7935 pattern: /\$?\(\([\s\S]+?\)\)/, 7936 greedy: true, 7937 inside: { 7938 // If there is a $ sign at the beginning highlight $(( and )) as variable 7939 'variable': [ 7940 { 7941 pattern: /(^\$\(\([\s\S]+)\)\)/, 7942 lookbehind: true 7943 }, 7944 /^\$\(\(/ 7945 ], 7946 'number': /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/, 7947 // Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic 7948 'operator': /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/, 7949 // If there is no $ sign at the beginning highlight (( and )) as punctuation 7950 'punctuation': /\(\(?|\)\)?|,|;/ 7951 } 7952 }, 7953 // [1]: Command Substitution 7954 { 7955 pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/, 7956 greedy: true, 7957 inside: { 7958 'variable': /^\$\(|^`|\)$|`$/ 7959 } 7960 }, 7961 // [2]: Brace expansion 7962 { 7963 pattern: /\$\{[^}]+\}/, 7964 greedy: true, 7965 inside: { 7966 'operator': /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/, 7967 'punctuation': /[\[\]]/, 7968 'environment': { 7969 pattern: RegExp('(\\{)' + envVars), 7970 lookbehind: true, 7971 alias: 'constant' 7972 } 7973 } 7974 }, 7975 /\$(?:\w+|[#?*!@$])/ 7976 ], 7977 // Escape sequences from echo and printf's manuals, and escaped quotes. 7978 'entity': /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/ 7979 }; 7980 7981 Prism.languages.bash = { 7982 'shebang': { 7983 pattern: /^#!\s*\/.*/, 7984 alias: 'important' 7985 }, 7986 'comment': { 7987 pattern: /(^|[^"{\\$])#.*/, 7988 lookbehind: true 7989 }, 7990 'function-name': [ 7991 // a) function foo { 7992 // b) foo() { 7993 // c) function foo() { 7994 // but not âfoo {â 7995 { 7996 // a) and c) 7997 pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/, 7998 lookbehind: true, 7999 alias: 'function' 8000 }, 8001 { 8002 // b) 8003 pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/, 8004 alias: 'function' 8005 } 8006 ], 8007 // Highlight variable names as variables in for and select beginnings. 8008 'for-or-select': { 8009 pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/, 8010 alias: 'variable', 8011 lookbehind: true 8012 }, 8013 // Highlight variable names as variables in the left-hand part 8014 // of assignments (â=â and â+=â). 8015 'assign-left': { 8016 pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/, 8017 inside: { 8018 'environment': { 8019 pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars), 8020 lookbehind: true, 8021 alias: 'constant' 8022 } 8023 }, 8024 alias: 'variable', 8025 lookbehind: true 8026 }, 8027 // Highlight parameter names as variables 8028 'parameter': { 8029 pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/, 8030 alias: 'variable', 8031 lookbehind: true 8032 }, 8033 'string': [ 8034 // Support for Here-documents https://en.wikipedia.org/wiki/Here_document 8035 { 8036 pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/, 8037 lookbehind: true, 8038 greedy: true, 8039 inside: insideString 8040 }, 8041 // Here-document with quotes around the tag 8042 // â No expansion (so no âinsideâ). 8043 { 8044 pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/, 8045 lookbehind: true, 8046 greedy: true, 8047 inside: { 8048 'bash': commandAfterHeredoc 8049 } 8050 }, 8051 // âNormalâ string 8052 { 8053 // https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html 8054 pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/, 8055 lookbehind: true, 8056 greedy: true, 8057 inside: insideString 8058 }, 8059 { 8060 // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html 8061 pattern: /(^|[^$\\])'[^']*'/, 8062 lookbehind: true, 8063 greedy: true 8064 }, 8065 { 8066 // https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html 8067 pattern: /\$'(?:[^'\\]|\\[\s\S])*'/, 8068 greedy: true, 8069 inside: { 8070 'entity': insideString.entity 8071 } 8072 } 8073 ], 8074 'environment': { 8075 pattern: RegExp('\\$?' + envVars), 8076 alias: 'constant' 8077 }, 8078 'variable': insideString.variable, 8079 'function': { 8080 pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|
8080ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/, 8081 lookbehind: true 8082 }, 8083 'keyword': { 8084 pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/, 8085 lookbehind: true 8086 }, 8087 // https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html 8088 'builtin': { 8089 pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/, 8090 lookbehind: true, 8091 // Alias added to make those easier to distinguish from strings. 8092 alias: 'class-name' 8093 }, 8094 'boolean': { 8095 pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/, 8096 lookbehind: true 8097 }, 8098 'file-descriptor': { 8099 pattern: /\B&\d\b/, 8100 alias: 'important' 8101 }, 8102 'operator': { 8103 // Lots of redirections here, but not just that. 8104 pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/, 8105 inside: { 8106 'file-descriptor': { 8107 pattern: /^\d/, 8108 alias: 'important' 8109 } 8110 } 8111 }, 8112 'punctuation': /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/, 8113 'number': { 8114 pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/, 8115 lookbehind: true 8116 } 8117 }; 8118 8119 commandAfterHeredoc.inside = Prism.languages.bash; 8120 8121 /* Patterns in command substitution. */ 8122 var toBeCopied = [ 8123 'comment', 8124 'function-name', 8125 'for-or-select', 8126 'assign-left', 8127 'parameter', 8128 'string', 8129 'environment', 8130 'function', 8131 'keyword', 8132 'builtin', 8133 'boolean', 8134 'file-descriptor', 8135 'operator', 8136 'punctuation', 8137 'number' 8138 ]; 8139 var inside = insideString.variable[1].inside; 8140 for (var i = 0; i < toBeCopied.length; i++) { 8141 inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]]; 8142 } 8143 8144 Prism.languages.sh = Prism.languages.bash; 8145 Prism.languages.shell = Prism.languages.bash; 8146}(Prism)); 8147 8148 8149/***/ }), 8150 8151/***/ 21528: 8152/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8153 8154"use strict"; 8155__webpack_require__.r(__webpack_exports__); 8156/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8157/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 8158/* harmony export */ }); 8159/* harmony import */ var nprogress__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9350); 8160/* harmony import */ var nprogress__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(nprogress__WEBPACK_IMPORTED_MODULE_0__); 8161 8162 8163nprogress__WEBPACK_IMPORTED_MODULE_0___default().configure({ showSpinner: false });
8164const delay = 200; 8165const clientModule = { 8166 onRouteUpdate({ location, previousLocation }) { 8167 if (previousLocation && location.pathname !== previousLocation.pathname) { 8168 const progressBarTimeout = window.setTimeout(() => { 8169 nprogress__WEBPACK_IMPORTED_MODULE_0___default().start(); 8170 }, delay); 8171 return () => window.clearTimeout(progressBarTimeout); 8172 } 8173 return void 0; 8174 }, 8175 onRouteDidUpdate() { 8176 nprogress__WEBPACK_IMPORTED_MODULE_0___default().done(); 8177 } 8178}; 8179/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clientModule); 8180 8181 8182/***/ }), 8183 8184/***/ 21991: 8185/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8186 8187"use strict"; 8188/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8189/* harmony export */ A: () => (/* binding */ invariant) 8190/* harmony export */ }); 8191var isProduction = "production" === 'production'; 8192var prefix = 'Invariant failed'; 8193function invariant(condition, message) { 8194 if (condition) { 8195 return; 8196 } 8197 if (isProduction) { 8198 throw new Error(prefix); 8199 } 8200 var provided = typeof message === 'function' ? message() : message; 8201 var value = provided ? prefix + ": " + provided : prefix; 8202 throw new Error(value); 8203} 8204 8205 8206 8207 8208/***/ }), 8209 8210/***/ 22654: 8211/***/ ((module) => { 8212 8213"use strict"; 8214module.exports = {}; 8215 8216/***/ }), 8217 8218/***/ 24280: 8219/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8220 8221"use strict"; 8222/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8223/* harmony export */ T: () => (/* binding */ pendingThenable) 8224/* harmony export */ });
8225// src/thenable.ts 8226function pendingThenable() { 8227 let resolve; 8228 let reject; 8229 const thenable = new Promise((_resolve, _reject) => { 8230 resolve = _resolve; 8231 reject = _reject; 8232 }); 8233 thenable.status = "pending"; 8234 thenable.catch(() => { 8235 }); 8236 function finalize(data) { 8237 Object.assign(thenable, data); 8238 delete thenable.resolve; 8239 delete thenable.reject; 8240 } 8241 thenable.resolve = (value) => { 8242 finalize({ 8243 status: "fulfilled", 8244 value 8245 }); 8246 resolve(value); 8247 }; 8248 thenable.reject = (reason) => { 8249 finalize({ 8250 status: "rejected", 8251 reason 8252 }); 8253 reject(reason); 8254 }; 8255 return thenable; 8256} 8257 8258//# sourceMappingURL=thenable.js.map 8259 8260/***/ }), 8261 8262/***/ 25886: 8263/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8264 8265"use strict"; 8266/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8267/* harmony export */ K: () => (/* binding */ SkipToContentLink), 8268/* harmony export */ j: () => (/* binding */ SkipToContentFallbackId) 8269/* harmony export */ }); 8270/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 8271/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 8272/* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8662); 8273/* harmony import */ var _docusaurus_Translate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(66187); 8274/* harmony import */ var _useLocationChange__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82468); 8275var __defProp = Object.defineProperty; 8276var __defProps = Object.defineProperties; 8277var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 8278var __getOwnPropSymbols = Object.getOwnPropertySymbols; 8279var __hasOwnProp = Object.prototype.hasOwnProperty; 8280var __propIsEnum = Object.prototype.propertyIsEnumerable; 8281var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 8282var __spreadValues = (a, b) => { 8283 for (var prop in b || (b = {})) 8284 if (__hasOwnProp.call(b, prop)) 8285 __defNormalProp(a, prop, b[prop]); 8286 if (__getOwnPropSymbols) 8287 for (var prop of __getOwnPropSymbols(b)) { 8288 if (__propIsEnum.call(b, prop)) 8289 __defNormalProp(a, prop, b[prop]); 8290 } 8291 return a; 8292}; 8293var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 8294 8295 8296 8297 8298 8299const SkipToContentFallbackId = "__docusaurus_skipToContent_fallback"; 8300function getSkipToContentTarget() { 8301 var _a; 8302 return (_a = document.querySelector("main:first-of-type")) != null ? _a : document.getElementById(SkipToContentFallbackId); 8303} 8304function programmaticFocus(el) { 8305 el.setAttribute("tabindex", "-1"); 8306 el.focus(); 8307 el.removeAttribute("tabindex"); 8308} 8309function useSkipToContent() { 8310 const containerRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null); 8311 const { action } = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_3__/* .useHistory */ .W6)(); 8312 const onClick = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((e) => { 8313 e.preventDefault(); 8314 const targetElement = getSkipToContentTarget(); 8315 if (targetElement) { 8316 programmaticFocus(targetElement); 8317 } 8318 }, []); 8319 (0,_useLocationChange__WEBPACK_IMPORTED_MODULE_4__/* .useLocationChange */ .$)(({ location }) => { 8320 if (containerRef.current && !location.hash && action === "PUSH") { 8321 programmaticFocus(containerRef.current); 8322 } 8323 }); 8324 return { containerRef, onClick }; 8325} 8326const DefaultSkipToContentLabel = (0,_docusaurus_Translate__WEBPACK_IMPORTED_MODULE_2__/* .translate */ .T)({ 8327 id: "theme.common.skipToMainContent", 8328 description: "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation", 8329 message: "Skip to main content" 8330}); 8331function SkipToContentLink(props) { 8332 var _a; 8333 const linkLabel = (_a = props.children) != null ? _a : DefaultSkipToContentLabel; 8334 const { containerRef, onClick } = useSkipToContent(); 8335 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { 8336 ref: containerRef,
8337 role: "region", 8338 "aria-label": DefaultSkipToContentLabel, 8339 children: /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a", __spreadProps(__spreadValues({}, props), { 8340 href: `#${SkipToContentFallbackId}`, 8341 onClick, 8342 children: linkLabel 8343 })) 8344 }); 8345} 8346 8347 8348/***/ }), 8349 8350/***/ 26826: 8351/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 8352 8353/** 8354 * Copyright (c) 2013-present, Facebook, Inc. 8355 * 8356 * This source code is licensed under the MIT license found in the 8357 * LICENSE file in the root directory of this source tree. 8358 */ 8359 8360if (false) { var throwOnDirectAccess, ReactIs; } else { 8361 // By explicitly using `prop-types` you are opting into new production behavior. 8362 // http://fb.me/prop-types-in-prod 8363 module.exports = __webpack_require__(43724)(); 8364} 8365 8366 8367/***/ }), 8368 8369/***/ 27099: 8370/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8371 8372"use strict"; 8373 8374// EXPORTS 8375__webpack_require__.d(__webpack_exports__, { 8376 Wf: () => (/* binding */ createStorageSlot), 8377 Eo: () => (/* binding */ listStorageKeys), 8378 Dv: () => (/* binding */ useStorageSlot) 8379}); 8380 8381// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 8382var react = __webpack_require__(77407); 8383;// ./.docusaurus/site-storage.json 8384const site_storage_namespaceObject = /*#__PURE__*/JSON.parse('{"N":"localStorage","M":""}'); 8385;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/storageUtils.js 8386 8387 8388const DefaultStorageType = site_storage_namespaceObject.N; 8389function applyNamespace(storageKey) { 8390 return `${storageKey}${site_storage_namespaceObject.M}`; 8391} 8392function dispatchChangeEvent({ key, oldValue, newValue, storage }) { 8393 if (oldValue === newValue) { 8394 return; 8395 } 8396 const event = document.createEvent("StorageEvent"); 8397 event.initStorageEvent("storage", false, false, key, oldValue, newValue, window.location.href, storage); 8398 window.dispatchEvent(event); 8399} 8400function getBrowserStorage(storageType = DefaultStorageType) { 8401 if (typeof window === "undefined") { 8402 throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process."); 8403 } 8404 if (storageType === "none") { 8405 return null; 8406 } 8407 try { 8408 return window[storageType]; 8409 } catch (err) { 8410 logOnceBrowserStorageNotAvailableWarning(err); 8411 return null; 8412 } 8413} 8414let hasLoggedBrowserStorageNotAvailableWarning = false; 8415function logOnceBrowserStorageNotAvailableWarning(error) { 8416 if (!hasLoggedBrowserStorageNotAvailableWarning) { 8417 console.warn(`Docusaurus browser storage is not available. 8418Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`, error); 8419 hasLoggedBrowserStorageNotAvailableWarning = true; 8420 } 8421} 8422const NoopStorageSlot = { 8423 get: () => null, 8424 set: () => { 8425 }, 8426 del: () => { 8427 }, 8428 listen: () => () => { 8429 } 8430}; 8431function createServerStorageSlot(key) { 8432 function throwError() { 8433 throw new Error(`Illegal storage API usage for storage key "${key}". 8434Docusaurus storage APIs are not supposed to be called on the server-rendering process. 8435Please only call storage APIs in effects and event handlers.`); 8436 } 8437 return { 8438 get: throwError, 8439 set: throwError, 8440 del: throwError, 8441 listen: throwError 8442 }; 8443} 8444function createStorageSlot(keyInput, options) { 8445 const key = applyNamespace(keyInput); 8446 if (typeof window === "undefined") { 8447 return createServerStorageSlot(key); 8448 } 8449 const storage = getBrowserStorage(options == null ? void 0 : options.persistence); 8450 if (storage === null) { 8451 return NoopStorageSlot; 8452 } 8453 return { 8454 get: () => { 8455 try { 8456 return storage.getItem(key); 8457 } catch (err) { 8458 console.error(`Docusaurus storage error, can't get key=${key}`, err); 8459 return null; 8460 } 8461 }, 8462 set: (newValue) => { 8463 try { 8464 const oldValue = storage.getItem(key); 8465 storage.setItem(key, newValue); 8466 dispatchChangeEvent({ 8467 key, 8468 oldValue, 8469 newValue, 8470 storage 8471 }); 8472 } catch (err) { 8473 console.error(`Docusaurus storage error, can't set ${key}=${newValue}`, err); 8474 } 8475 }, 8476 del: () => {
8477 try { 8478 const oldValue = storage.getItem(key); 8479 storage.removeItem(key); 8480 dispatchChangeEvent({ key, oldValue, newValue: null, storage }); 8481 } catch (err) { 8482 console.error(`Docusaurus storage error, can't delete key=${key}`, err); 8483 } 8484 }, 8485 listen: (onChange) => { 8486 try { 8487 const listener = (event) => { 8488 if (event.storageArea === storage && event.key === key) { 8489 onChange(event); 8490 } 8491 }; 8492 window.addEventListener("storage", listener); 8493 return () => window.removeEventListener("storage", listener); 8494 } catch (err) { 8495 console.error(`Docusaurus storage error, can't listen for changes of key=${key}`, err); 8496 return () => { 8497 }; 8498 } 8499 } 8500 }; 8501} 8502function useStorageSlot(key, options) { 8503 const storageSlot = (0,react.useRef)(() => { 8504 if (key === null) { 8505 return NoopStorageSlot; 8506 } 8507 return createStorageSlot(key, options); 8508 }).current(); 8509 const listen = (0,react.useCallback)((onChange) => { 8510 if (typeof window === "undefined") { 8511 return () => { 8512 }; 8513 } 8514 return storageSlot.listen(onChange); 8515 }, [storageSlot]); 8516 const currentValue = (0,react.useSyncExternalStore)(listen, () => { 8517 if (false) {} 8518 return storageSlot.get(); 8519 }, () => null); 8520 return [currentValue, storageSlot]; 8521} 8522function listStorageKeys(storageType = DefaultStorageType) { 8523 const browserStorage = getBrowserStorage(storageType); 8524 if (!browserStorage) { 8525 return []; 8526 } 8527 const keys = []; 8528 for (let i = 0; i < browserStorage.length; i += 1) { 8529 const key = browserStorage.key(i); 8530 if (key !== null) { 8531 keys.push(key); 8532 } 8533 } 8534 return keys; 8535} 8536 8537 8538/***/ }), 8539 8540/***/ 27127: 8541/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8542 8543"use strict"; 8544/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8545/* harmony export */ $Z: () => (/* binding */ useHistoryPopHandler), 8546/* harmony export */ Hl: () => (/* binding */ useHistorySelector), 8547/* harmony export */ W9: () => (/* binding */ useClearQueryString), 8548/* harmony export */ fV: () => (/* binding */ useQueryStringList), 8549/* harmony export */ l: () => (/* binding */ useQueryString) 8550/* harmony export */ }); 8551/* unused harmony export useQueryStringValue */ 8552/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 8553/* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8662); 8554/* harmony import */ var _reactUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 8555 8556 8557 8558function useHistoryActionHandler(handler) { 8559 const history = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useHistory */ .W6)(); 8560 const stableHandler = (0,_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .useEvent */ ._q)(handler); 8561 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)( 8562 () => history.block((location, action) => stableHandler(location, action)), 8563 [history, stableHandler] 8564 ); 8565} 8566function useHistoryPopHandler(handler) { 8567 useHistoryActionHandler((location, action) => { 8568 if (action === "POP") { 8569 return handler(location, action); 8570 } 8571 return void 0; 8572 }); 8573} 8574function useHistorySelector(selector) { 8575 const history = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useHistory */ .W6)(); 8576 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useSyncExternalStore)(history.listen, () => selector(history), () => selector(history)); 8577} 8578function useQueryStringValue(key) { 8579 return useHistorySelector((history) => { 8580 if (key === null) { 8581 return null; 8582 } 8583 return new URLSearchParams(history.location.search).get(key); 8584 }); 8585} 8586function useQueryStringUpdater(key) { 8587 const history = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useHistory */ .W6)(); 8588 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((newValue, options) => { 8589 const searchParams = new URLSearchParams(history.location.search); 8590 if (newValue) { 8591 searchParams.set(key, newValue); 8592 } else { 8593 searchParams.delete(key); 8594 } 8595 const updateHistory = (options == null ? void 0 : options.push) ? history.push : history.replace; 8596 updateHistory({ 8597 search: searchParams.toString() 8598 }); 8599 }, [key, history]); 8600} 8601function useQueryString(key) { 8602 var _a; 8603 const value = (_a = useQueryStringValue(key)) != null ? _a : "";
8604 const update = useQueryStringUpdater(key); 8605 return [value, update]; 8606} 8607function useQueryStringListValues(key) { 8608 const arrayJsonString = useHistorySelector((history) => { 8609 const values = new URLSearchParams(history.location.search).getAll(key); 8610 return JSON.stringify(values); 8611 }); 8612 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => JSON.parse(arrayJsonString), [arrayJsonString]); 8613} 8614function useQueryStringListUpdater(key) { 8615 const history = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useHistory */ .W6)(); 8616 const setValues = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((update, options) => { 8617 const searchParams = new URLSearchParams(history.location.search); 8618 const newValues = Array.isArray(update) ? update : update(searchParams.getAll(key)); 8619 searchParams.delete(key); 8620 newValues.forEach((v) => searchParams.append(key, v)); 8621 const updateHistory = (options == null ? void 0 : options.push) ? history.push : history.replace; 8622 updateHistory({ 8623 search: searchParams.toString() 8624 }); 8625 }, [history, key]); 8626 return setValues; 8627} 8628function useQueryStringList(key) { 8629 const values = useQueryStringListValues(key); 8630 const setValues = useQueryStringListUpdater(key); 8631 return [values, setValues]; 8632} 8633function useClearQueryString() { 8634 const history = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useHistory */ .W6)(); 8635 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => { 8636 history.replace({ 8637 search: void 0 8638 }); 8639 }, [history]); 8640} 8641 8642 8643/***/ }), 8644 8645/***/ 27437: 8646/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8647 8648"use strict"; 8649/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8650/* harmony export */ A: () => (/* binding */ useRouteContext) 8651/* harmony export */ }); 8652/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 8653/* harmony import */ var _routeContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(29856); 8654 8655 8656function useRouteContext() { 8657 const context = react__WEBPACK_IMPORTED_MODULE_0__.useContext(_routeContext__WEBPACK_IMPORTED_MODULE_1__/* .Context */ .o); 8658 if (!context) { 8659 throw new Error("Unexpected: no Docusaurus route context found"); 8660 } 8661 return context; 8662} 8663 8664 8665/***/ }), 8666 8667/***/ 28895: 8668/***/ (() => { 8669 8670// https://www.json.org/json-en.html 8671Prism.languages.json = { 8672 'property': { 8673 pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, 8674 lookbehind: true, 8675 greedy: true 8676 }, 8677 'string': { 8678 pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, 8679 lookbehind: true, 8680 greedy: true 8681 }, 8682 'comment': { 8683 pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, 8684 greedy: true 8685 }, 8686 'number': /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, 8687 'punctuation': /[{}[\],]/, 8688 'operator': /:/, 8689 'boolean': /\b(?:false|true)\b/, 8690 'null': { 8691 pattern: /\bnull\b/, 8692 alias: 'keyword' 8693 } 8694}; 8695 8696Prism.languages.webmanifest = Prism.languages.json; 8697 8698 8699/***/ }), 8700 8701/***/ 28908: 8702/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8703 8704"use strict"; 8705/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8706/* harmony export */ VQ: () => (/* binding */ DocsPreferredVersionContextProvider), 8707/* harmony export */ XK: () => (/* binding */ useDocsPreferredVersionByPluginId), 8708/* harmony export */ g1: () => (/* binding */ useDocsPreferredVersion) 8709/* harmony export */ }); 8710/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 8711/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 8712/* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49733); 8713/* harmony import */ var _docusaurus_constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9571); 8714/* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(90864); 8715/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(27099); 8716/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80178); 8717var __defProp = Object.defineProperty; 8718var __defProps = Object.defineProperties; 8719var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 8720var __getOwnPropSymbols = Object.getOwnPropertySymbols; 8721var __hasOwnProp = Object.prototype.hasOwnProperty; 8722var __propIsEnum = Object.prototype.propertyIsEnumerable; 8723var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 8724var __spreadValues = (a, b) => { 8725 for (var prop in b || (b = {})) 8726 if (__hasOwnProp.call(b, prop)) 8727 __defNormalProp(a, prop, b[prop]); 8728 if (__getOwnPropSymbols) 8729 for (var prop of __getOwnPropSymbols(b)) { 8730 if (__propIsEnum.call(b, prop)) 8731 __defNormalProp(a, prop, b[prop]); 8732 } 8733 return a; 8734}; 8735var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 8736 8737 8738 8739 8740 8741 8742const storageKey = (pluginId) => `docs-preferred-version-${pluginId}`; 8743const DocsPreferredVersionStorage = { 8744 save: (pluginId, persistence, versionName) => { 8745 (0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .createStorageSlot */ .Wf)(storageKey(pluginId), { persistence }).set(versionName); 8746 }, 8747 read: (pluginId, persistence) => (0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .createStorageSlot */ .Wf)(storageKey(pluginId), { persistence }).get(), 8748 clear: (pluginId, persistence) => { 8749 (0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .createStorageSlot */ .Wf)(storageKey(pluginId), { persistence }).del(); 8750 } 8751}; 8752const getInitialState = (pluginIds) => Object.fromEntries(pluginIds.map((id) => [id, { preferredVersionName: null }])); 8753function readStorageState({ pluginIds, versionPersistence, allDocsData }) { 8754 function restorePluginState(pluginId) { 8755 const preferredVersionNameUnsafe = DocsPreferredVersionStorage.read(pluginId, versionPersistence); 8756 const pluginData = allDocsData[pluginId]; 8757 const versionExists = pluginData.versions.some((version) => version.name === preferredVersionNameUnsafe); 8758 if (versionExists) { 8759 return { preferredVersionName: preferredVersionNameUnsafe }; 8760 } 8761 DocsPreferredVersionStorage.clear(pluginId, versionPersistence); 8762 return { preferredVersionName: null }; 8763 } 8764 return Object.fromEntries(pluginIds.map((id) => [id, restorePluginState(id)])); 8765} 8766function useVersionPersistence() { 8767 return (0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .useThemeConfig */ .p)().docs.versionPersistence; 8768} 8769const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(null); 8770function useContextValue() { 8771 const allDocsData = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__.useAllDocsData)(); 8772 const versionPersistence = useVersionPersistence(); 8773 const pluginIds = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => Object.keys(allDocsData), [allDocsData]); 8774 const [state, setState] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(() => getInitialState(pluginIds)); 8775 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 8776 setState(readStorageState({ allDocsData, versionPersistence, pluginIds })); 8777 }, [allDocsData, versionPersistence, pluginIds]); 8778 const api = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => { 8779 function savePreferredVersion(pluginId, versionName) { 8780 DocsPreferredVersionStorage.save(pluginId, versionPersistence, versionName); 8781 setState((s) => __spreadProps(__spreadValues({}, s), { 8782 [pluginId]: { preferredVersionName: versionName } 8783 })); 8784 } 8785 return { 8786 savePreferredVersion 8787 }; 8788 }, [versionPersistence]); 8789 return [state, api]; 8790} 8791function DocsPreferredVersionContextProviderUnsafe({ children }) { 8792 const value = useContextValue(); 8793 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 8794 value, 8795 children 8796 }); 8797} 8798function DocsPreferredVersionContextProvider({ children }) { 8799 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(DocsPreferredVersionContextProviderUnsafe, { 8800 children 8801 }); 8802} 8803function useDocsPreferredVersionContext() { 8804 const value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 8805 if (!value) { 8806 throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV("DocsPreferredVersionContextProvider"); 8807 } 8808 return value; 8809} 8810function useDocsPreferredVersion(pluginId = _docusaurus_constants__WEBPACK_IMPORTED_MODULE_6__/* .DEFAULT_PLUGIN_ID */ .W) { 8811 var _a; 8812 const docsData = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__.useDocsData)(pluginId); 8813 const [state, api] = useDocsPreferredVersionContext(); 8814 const { preferredVersionName } = state[pluginId]; 8815 const preferredVersion = (_a = docsData.versions.find((version) => version.name === preferredVersionName)) != null ? _a : null; 8816 const savePreferredVersionName = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((versionName) => { 8817 api.savePreferredVersion(pluginId, versionName); 8818 }, [api, pluginId]); 8819 return { preferredVersion, savePreferredVersionName }; 8820} 8821function useDocsPreferredVersionByPluginId() { 8822 const allDocsData = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_4__.useAllDocsData)(); 8823 const [state] = useDocsPreferredVersionContext(); 8824 function getPluginIdPreferredVersion(pluginId) { 8825 var _a; 8826 const docsData = allDocsData[pluginId]; 8827 const { preferredVersionName } = state[pluginId]; 8828 return (_a = docsData.versions.find((version) => version.name === preferredVersionName)) != null ? _a : null; 8829 } 8830 const pluginIds = Object.keys(allDocsData); 8831 return Object.fromEntries(pluginIds.map((id) => [id, getPluginIdPreferredVersion(id)])); 8832} 8833 8834 8835/***/ }), 8836 8837/***/ 29237: 8838/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8839 8840"use strict"; 8841__webpack_require__.r(__webpack_exports__); 8842// extracted by mini-css-extract-plugin 8843 8844 8845/***/ }), 8846 8847/***/ 29856: 8848/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 8849 8850"use strict"; 8851/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8852/* harmony export */ W: () => (/* binding */ RouteContextProvider), 8853/* harmony export */ o: () => (/* binding */ Context) 8854/* harmony export */ }); 8855/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 8856/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 8857var __defProp = Object.defineProperty; 8858var __getOwnPropSymbols = Object.getOwnPropertySymbols; 8859var __hasOwnProp = Object.prototype.hasOwnProperty; 8860var __propIsEnum = Object.prototype.propertyIsEnumerable; 8861var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 8862var __spreadValues = (a, b) => { 8863 for (var prop in b || (b = {})) 8864 if (__hasOwnProp.call(b, prop)) 8865 __defNormalProp(a, prop, b[prop]); 8866 if (__getOwnPropSymbols) 8867 for (var prop of __getOwnPropSymbols(b)) { 8868 if (__propIsEnum.call(b, prop)) 8869 __defNormalProp(a, prop, b[prop]); 8870 } 8871 return a; 8872}; 8873 8874 8875const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(null); 8876function mergeContexts({ parent, value }) { 8877 if (!parent) { 8878 if (!value) { 8879 throw new Error("Unexpected: no Docusaurus route context found"); 8880 } else if (!("plugin" in value)) { 8881 throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute"); 8882 } 8883 return value; 8884 } 8885 const data = __spreadValues(__spreadValues({}, parent.data), value == null ? void 0 : value.data); 8886 return { 8887 plugin: parent.plugin, 8888 data 8889 }; 8890} 8891function RouteContextProvider({ children, value }) { 8892 const parent = react__WEBPACK_IMPORTED_MODULE_1__.useContext(Context); 8893 const mergedValue = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => mergeContexts({ parent, value }), [parent, value]); 8894 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 8895 value: mergedValue, 8896 children 8897 }); 8898} 8899 8900 8901/***/ }), 8902
8903/***/ 31342: 8904/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8905 8906"use strict"; 8907/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8908/* harmony export */ Cp: () => (/* binding */ partialMatchKey), 8909/* harmony export */ EN: () => (/* binding */ hashKey), 8910/* harmony export */ Eh: () => (/* binding */ resolveEnabled), 8911/* harmony export */ F$: () => (/* binding */ hashQueryKeyByOptions), 8912/* harmony export */ MK: () => (/* binding */ matchQuery), 8913/* harmony export */ S$: () => (/* binding */ isServer), 8914/* harmony export */ ZM: () => (/* binding */ ensureQueryFn), 8915/* harmony export */ ZZ: () => (/* binding */ addToStart), 8916/* harmony export */ Zw: () => (/* binding */ functionalUpdate), 8917/* harmony export */ d2: () => (/* binding */ resolveStaleTime), 8918/* harmony export */ f8: () => (/* binding */ shallowEqualObjects), 8919/* harmony export */ gn: () => (/* binding */ isValidTimeout), 8920/* harmony export */ hT: () => (/* binding */ skipToken), 8921/* harmony export */ j3: () => (/* binding */ timeUntilStale), 8922/* harmony export */ lQ: () => (/* binding */ noop), 8923/* harmony export */ nJ: () => (/* binding */ matchMutation), 8924/* harmony export */ pl: () => (/* binding */ replaceData), 8925/* harmony export */ y9: () => (/* binding */ addToEnd), 8926/* harmony export */ yy: () => (/* binding */ sleep) 8927/* harmony export */ }); 8928/* unused harmony exports isPlainArray, isPlainObject, keepPreviousData, replaceEqualDeep */
8929// src/utils.ts 8930var isServer = typeof window === "undefined" || "Deno" in globalThis; 8931function noop() { 8932} 8933function functionalUpdate(updater, input) { 8934 return typeof updater === "function" ? updater(input) : updater; 8935} 8936function isValidTimeout(value) { 8937 return typeof value === "number" && value >= 0 && value !== Infinity; 8938} 8939function timeUntilStale(updatedAt, staleTime) { 8940 return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0); 8941} 8942function resolveStaleTime(staleTime, query) { 8943 return typeof staleTime === "function" ? staleTime(query) : staleTime; 8944} 8945function resolveEnabled(enabled, query) { 8946 return typeof enabled === "function" ? enabled(query) : enabled; 8947} 8948function matchQuery(filters, query) { 8949 const { 8950 type = "all", 8951 exact, 8952 fetchStatus, 8953 predicate, 8954 queryKey, 8955 stale 8956 } = filters; 8957 if (queryKey) { 8958 if (exact) { 8959 if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) { 8960 return false; 8961 } 8962 } else if (!partialMatchKey(query.queryKey, queryKey)) { 8963 return false; 8964 } 8965 } 8966 if (type !== "all") { 8967 const isActive = query.isActive(); 8968 if (type === "active" && !isActive) { 8969 return false; 8970 } 8971 if (type === "inactive" && isActive) { 8972 return false; 8973 } 8974 } 8975 if (typeof stale === "boolean" && query.isStale() !== stale) { 8976 return false; 8977 } 8978 if (fetchStatus && fetchStatus !== query.state.fetchStatus) { 8979 return false; 8980 } 8981 if (predicate && !predicate(query)) { 8982 return false; 8983 } 8984 return true; 8985} 8986function matchMutation(filters, mutation) { 8987 const { exact, status, predicate, mutationKey } = filters; 8988 if (mutationKey) { 8989 if (!mutation.options.mutationKey) { 8990 return false; 8991 } 8992 if (exact) { 8993 if (hashKey(mutation.options.mutationKey) !== hashKey(mutationKey)) { 8994 return false; 8995 } 8996 } else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) { 8997 return false; 8998 } 8999 } 9000 if (status && mutation.state.status !== status) { 9001 return false; 9002 } 9003 if (predicate && !predicate(mutation)) { 9004 return false; 9005 } 9006 return true; 9007} 9008function hashQueryKeyByOptions(queryKey, options) { 9009 const hashFn = options?.queryKeyHashFn || hashKey; 9010 return hashFn(queryKey); 9011} 9012function hashKey(queryKey) { 9013 return JSON.stringify( 9014 queryKey, 9015 (_, val) => isPlainObject(val) ? Object.keys(val).sort().reduce((result, key) => { 9016 result[key] = val[key]; 9017 return result; 9018 }, {}) : val 9019 ); 9020} 9021function partialMatchKey(a, b) { 9022 if (a === b) { 9023 return true; 9024 } 9025 if (typeof a !== typeof b) { 9026 return false; 9027 } 9028 if (a && b && typeof a === "object" && typeof b === "object") { 9029 return Object.keys(b).every((key) => partialMatchKey(a[key], b[key])); 9030 } 9031 return false; 9032} 9033function replaceEqualDeep(a, b) { 9034 if (a === b) { 9035 return a; 9036 } 9037 const array = isPlainArray(a) && isPlainArray(b); 9038 if (array || isPlainObject(a) && isPlainObject(b)) { 9039 const aItems = array ? a : Object.keys(a); 9040 const aSize = aItems.length; 9041 const bItems = array ? b : Object.keys(b); 9042 const bSize = bItems.length; 9043 const copy = array ? [] : {}; 9044 let equalItems = 0; 9045 for (let i = 0; i < bSize; i++) { 9046 const key = array ? i : bItems[i]; 9047 if ((!array && aItems.includes(key) || array) && a[key] === void 0 && b[key] === void 0) { 9048 copy[key] = void 0; 9049 equalItems++; 9050 } else { 9051 copy[key] = replaceEqualDeep(a[key], b[key]); 9052 if (copy[key] === a[key] && a[key] !== void 0) { 9053 equalItems++; 9054 } 9055 } 9056 } 9057 return aSize === bSize && equalItems === aSize ? a : copy; 9058 } 9059 return b; 9060} 9061function shallowEqualObjects(a, b) { 9062 if (!b || Object.keys(a).length !== Object.keys(b).length) { 9063 return false; 9064 } 9065 for (const key in a) { 9066 if (a[key] !== b[key]) { 9067 return false; 9068 } 9069 } 9070 return true; 9071} 9072function isPlainArray(value) { 9073 return Array.isArray(value) && value.length === Object.keys(value).length; 9074} 9075function isPlainObject(o) { 9076 if (!hasObjectPrototype(o)) { 9077 return false; 9078 } 9079 const ctor = o.constructor; 9080 if (ctor === void 0) { 9081 return true; 9082 } 9083 const prot = ctor.prototype; 9084 if (!hasObjectPrototype(prot)) { 9085 return false;
9086 } 9087 if (!prot.hasOwnProperty("isPrototypeOf")) { 9088 return false; 9089 } 9090 if (Object.getPrototypeOf(o) !== Object.prototype) { 9091 return false; 9092 } 9093 return true; 9094} 9095function hasObjectPrototype(o) { 9096 return Object.prototype.toString.call(o) === "[object Object]"; 9097} 9098function sleep(timeout) { 9099 return new Promise((resolve) => { 9100 setTimeout(resolve, timeout); 9101 }); 9102} 9103function replaceData(prevData, data, options) { 9104 if (typeof options.structuralSharing === "function") { 9105 return options.structuralSharing(prevData, data); 9106 } else if (options.structuralSharing !== false) { 9107 if (false) {} 9108 return replaceEqualDeep(prevData, data); 9109 } 9110 return data; 9111} 9112function keepPreviousData(previousData) { 9113 return previousData; 9114} 9115function addToEnd(items, item, max = 0) { 9116 const newItems = [...items, item]; 9117 return max && newItems.length > max ? newItems.slice(1) : newItems; 9118} 9119function addToStart(items, item, max = 0) { 9120 const newItems = [item, ...items]; 9121 return max && newItems.length > max ? newItems.slice(0, -1) : newItems; 9122} 9123var skipToken = Symbol(); 9124function ensureQueryFn(options, fetchOptions) { 9125 if (false) {} 9126 if (!options.queryFn && fetchOptions?.initialPromise) { 9127 return () => fetchOptions.initialPromise; 9128 } 9129 if (!options.queryFn || options.queryFn === skipToken) { 9130 return () => Promise.reject(new Error(`Missing queryFn: '${options.queryHash}'`)); 9131 } 9132 return options.queryFn; 9133} 9134 9135//# sourceMappingURL=utils.js.map 9136 9137/***/ }), 9138 9139/***/ 31567: 9140/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9141 9142"use strict"; 9143/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9144/* harmony export */ B1: () => (/* binding */ rectToClientRect), 9145/* harmony export */ C0: () => (/* binding */ getSide), 9146/* harmony export */ Dz: () => (/* binding */ getAlignmentAxis), 9147/* harmony export */ Jx: () => (/* binding */ createCoords), 9148/* harmony export */ LI: () => (/* binding */ round), 9149/* harmony export */ PG: () => (/* binding */ getOppositeAxis), 9150/* harmony export */ RI: () => (/* binding */ floor), 9151/* harmony export */ Sg: () => (/* binding */ getAlignment), 9152/* harmony export */ T9: () => (/* binding */ max), 9153/* harmony export */ TV: () => (/* binding */ getSideAxis), 9154/* harmony export */ WJ: () => (/* binding */ getExpandedPlacements), 9155/* harmony export */ _3: () => (/* binding */ evaluate), 9156/* harmony export */ bV: () => (/* binding */ getOppositePlacement), 9157/* harmony export */ jk: () => (/* binding */ min), 9158/* harmony export */ lP: () => (/* binding */ getOppositeAxisPlacements), 9159/* harmony export */ nI: () => (/* binding */ getPaddingObject), 9160/* harmony export */ qE: () => (/* binding */ clamp), 9161/* harmony export */ sq: () => (/* binding */ getAxisLength), 9162/* harmony export */ w7: () => (/* binding */ getAlignmentSides) 9163/* harmony export */ }); 9164/* unused harmony exports alignments, expandPaddingObject, getOppositeAlignmentPlacement, placements, sides */ 9165/** 9166 * Custom positioning reference element. 9167 * @see https://floating-ui.com/docs/virtual-elements 9168 */ 9169 9170const sides = (/* unused pure expression or super */ null && (['top', 'right', 'bottom', 'left'])); 9171const alignments = (/* unused pure expression or super */ null && (['start', 'end'])); 9172const placements = /*#__PURE__*/(/* unused pure expression or super */ null && (sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []))); 9173const min = Math.min; 9174const max = Math.max; 9175const round = Math.round; 9176const floor = Math.floor; 9177const createCoords = v => ({ 9178 x: v, 9179 y: v 9180}); 9181const oppositeSideMap = { 9182 left: 'right', 9183 right: 'left', 9184 bottom: 'top', 9185 top: 'bottom' 9186}; 9187const oppositeAlignmentMap = { 9188 start: 'end', 9189 end: 'start' 9190}; 9191function clamp(start, value, end) { 9192 return max(start, min(value, end)); 9193} 9194function evaluate(value, param) { 9195 return typeof value === 'function' ? value(param) : value; 9196} 9197function getSide(placement) { 9198 return placement.split('-')[0]; 9199} 9200function getAlignment(placement) { 9201 return placement.split('-')[1]; 9202} 9203function getOppositeAxis(axis) { 9204 return axis === 'x' ? 'y' : 'x'; 9205} 9206function getAxisLength(axis) { 9207 return axis === 'y' ? 'height' : 'width'; 9208} 9209function getSideAxis(placement) { 9210 return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x'; 9211} 9212function getAlignmentAxis(placement) { 9213 return getOppositeAxis(getSideAxis(placement)); 9214} 9215function getAlignmentSides(placement, rects, rtl) { 9216 if (rtl === void 0) { 9217 rtl = false;
9218 } 9219 const alignment = getAlignment(placement); 9220 const alignmentAxis = getAlignmentAxis(placement); 9221 const length = getAxisLength(alignmentAxis); 9222 let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top'; 9223 if (rects.reference[length] > rects.floating[length]) { 9224 mainAlignmentSide = getOppositePlacement(mainAlignmentSide); 9225 } 9226 return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)]; 9227} 9228function getExpandedPlacements(placement) { 9229 const oppositePlacement = getOppositePlacement(placement); 9230 return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)]; 9231} 9232function getOppositeAlignmentPlacement(placement) { 9233 return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]); 9234} 9235function getSideList(side, isStart, rtl) { 9236 const lr = ['left', 'right']; 9237 const rl = ['right', 'left']; 9238 const tb = ['top', 'bottom']; 9239 const bt = ['bottom', 'top']; 9240 switch (side) { 9241 case 'top': 9242 case 'bottom': 9243 if (rtl) return isStart ? rl : lr; 9244 return isStart ? lr : rl; 9245 case 'left': 9246 case 'right': 9247 return isStart ? tb : bt; 9248 default: 9249 return []; 9250 } 9251} 9252function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) { 9253 const alignment = getAlignment(placement); 9254 let list = getSideList(getSide(placement), direction === 'start', rtl); 9255 if (alignment) { 9256 list = list.map(side => side + "-" + alignment); 9257 if (flipAlignment) { 9258 list = list.concat(list.map(getOppositeAlignmentPlacement)); 9259 } 9260 } 9261 return list; 9262} 9263function getOppositePlacement(placement) { 9264 return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]); 9265} 9266function expandPaddingObject(padding) { 9267 return { 9268 top: 0, 9269 right: 0, 9270 bottom: 0, 9271 left: 0, 9272 ...padding 9273 }; 9274} 9275function getPaddingObject(padding) { 9276 return typeof padding !== 'number' ? expandPaddingObject(padding) : { 9277 top: padding, 9278 right: padding, 9279 bottom: padding, 9280 left: padding 9281 }; 9282} 9283function rectToClientRect(rect) { 9284 return { 9285 ...rect, 9286 top: rect.y, 9287 left: rect.x, 9288 right: rect.x + rect.width, 9289 bottom: rect.y + rect.height 9290 }; 9291} 9292 9293 9294 9295 9296/***/ }), 9297 9298/***/ 31981: 9299/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9300 9301"use strict"; 9302/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9303/* harmony export */ o: () => (/* binding */ useAlternatePageUtils) 9304/* harmony export */ }); 9305/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99788); 9306/* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8662); 9307/* harmony import */ var _docusaurus_utils_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2300); 9308 9309 9310 9311function useAlternatePageUtils() { 9312 const { siteConfig: { baseUrl, url, trailingSlash }, i18n: { defaultLocale, currentLocale } } = (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__["default"])(); 9313 const { pathname } = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .zy)(); 9314 const canonicalPathname = (0,_docusaurus_utils_common__WEBPACK_IMPORTED_MODULE_2__/* .applyTrailingSlash */ .Ks)(pathname, { 9315 trailingSlash, 9316 baseUrl 9317 }); 9318 const baseUrlUnlocalized = currentLocale === defaultLocale ? baseUrl : baseUrl.replace(`/${currentLocale}/`, "/"); 9319 const pathnameSuffix = canonicalPathname.replace(baseUrl, ""); 9320 function getLocalizedBaseUrl(locale) { 9321 return locale === defaultLocale ? `${baseUrlUnlocalized}` : `${baseUrlUnlocalized}${locale}/`; 9322 } 9323 function createUrl({ locale, fullyQualified }) { 9324 return `${fullyQualified ? url : ""}${getLocalizedBaseUrl(locale)}${pathnameSuffix}`; 9325 } 9326 return { createUrl }; 9327} 9328 9329 9330/***/ }), 9331 9332/***/ 32156: 9333/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 9334 9335"use strict"; 9336/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9337/* harmony export */ m: () => (/* binding */ focusManager) 9338/* harmony export */ }); 9339/* unused harmony export FocusManager */ 9340/* harmony import */ var _subscribable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15062); 9341/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31342);
9342// src/focusManager.ts 9343 9344 9345var FocusManager = class extends _subscribable_js__WEBPACK_IMPORTED_MODULE_0__/* .Subscribable */ .Q { 9346 #focused; 9347 #cleanup; 9348 #setup; 9349 constructor() { 9350 super(); 9351 this.#setup = (onFocus) => { 9352 if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .isServer */ .S$ && window.addEventListener) { 9353 const listener = () => onFocus(); 9354 window.addEventListener("visibilitychange", listener, false); 9355 return () => { 9356 window.removeEventListener("visibilitychange", listener); 9357 }; 9358 } 9359 return; 9360 }; 9361 } 9362 onSubscribe() { 9363 if (!this.#cleanup) { 9364 this.setEventListener(this.#setup); 9365 } 9366 } 9367 onUnsubscribe() { 9368 if (!this.hasListeners()) { 9369 this.#cleanup?.(); 9370 this.#cleanup = void 0; 9371 } 9372 } 9373 setEventListener(setup) { 9374 this.#setup = setup; 9375 this.#cleanup?.(); 9376 this.#cleanup = setup((focused) => { 9377 if (typeof focused === "boolean") { 9378 this.setFocused(focused); 9379 } else { 9380 this.onFocus(); 9381 } 9382 }); 9383 } 9384 setFocused(focused) { 9385 const changed = this.#focused !== focused; 9386 if (changed) { 9387 this.#focused = focused; 9388 this.onFocus(); 9389 } 9390 } 9391 onFocus() { 9392 const isFocused = this.isFocused(); 9393 this.listeners.forEach((listener) => { 9394 listener(isFocused); 9395 }); 9396 } 9397 isFocused() { 9398 if (typeof this.#focused === "boolean") { 9399 return this.#focused; 9400 } 9401 return globalThis.document?.visibilityState !== "hidden"; 9402 } 9403}; 9404var focusManager = new FocusManager(); 9405 9406//# sourceMappingURL=focusManager.js.map 9407 9408/***/ }), 9409 9410/***/ 35131: 9411/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9412 9413"use strict"; 9414/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9415/* harmony export */ k: () => (/* binding */ getDocsVersionSearchTag), 9416/* harmony export */ v: () => (/* binding */ useDocsContextualSearchTags) 9417/* harmony export */ }); 9418/* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49733); 9419/* harmony import */ var _docsPreferredVersion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(28908); 9420 9421 9422function getDocsVersionSearchTag(pluginId, versionName) { 9423 return `docs-${pluginId}-${versionName}`; 9424} 9425function useDocsContextualSearchTags() { 9426 const allDocsData = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_0__.useAllDocsData)(); 9427 const activePluginAndVersion = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_0__.useActivePluginAndVersion)(); 9428 const docsPreferredVersionByPluginId = (0,_docsPreferredVersion__WEBPACK_IMPORTED_MODULE_1__/* .useDocsPreferredVersionByPluginId */ .XK)(); 9429 function getDocPluginTags(pluginId) { 9430 var _a; 9431 const activeVersion = (activePluginAndVersion == null ? void 0 : activePluginAndVersion.activePlugin.pluginId) === pluginId ? activePluginAndVersion.activeVersion : void 0; 9432 const preferredVersion = docsPreferredVersionByPluginId[pluginId]; 9433 const latestVersion = allDocsData[pluginId].versions.find((v) => v.isLast); 9434 const version = (_a = activeVersion != null ? activeVersion : preferredVersion) != null ? _a : latestVersion; 9435 return getDocsVersionSearchTag(pluginId, version.name); 9436 } 9437 return [...Object.keys(allDocsData).map(getDocPluginTags)]; 9438} 9439 9440 9441/***/ }), 9442 9443/***/ 35184: 9444/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9445 9446"use strict"; 9447/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9448/* harmony export */ A: () => (/* binding */ ThemedImage) 9449/* harmony export */ }); 9450/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 9451/* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(81902); 9452var __defProp = Object.defineProperty; 9453var __getOwnPropSymbols = Object.getOwnPropertySymbols; 9454var __hasOwnProp = Object.prototype.hasOwnProperty; 9455var __propIsEnum = Object.prototype.propertyIsEnumerable; 9456var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 9457var __spreadValues = (a, b) => { 9458 for (var prop in b || (b = {})) 9459 if (__hasOwnProp.call(b, prop)) 9460 __defNormalProp(a, prop, b[prop]); 9461 if (__getOwnPropSymbols) 9462 for (var prop of __getOwnPropSymbols(b)) { 9463 if (__propIsEnum.call(b, prop)) 9464 __defNormalProp(a, prop, b[prop]); 9465 } 9466 return a; 9467}; 9468var __objRest = (source, exclude) => { 9469 var target = {}; 9470 for (var prop in source) 9471 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 9472 target[prop] = source[prop]; 9473 if (source != null && __getOwnPropSymbols) 9474 for (var prop of __getOwnPropSymbols(source)) { 9475 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 9476 target[prop] = source[prop]; 9477 } 9478 return target; 9479}; 9480 9481 9482function ThemedImage(props) { 9483 const _a = props, { sources, className: parentClassName, alt } = _a, propsRest = __objRest(_a, ["sources", "className", "alt"]); 9484 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A, { 9485 className: parentClassName, 9486 children: ({ theme, className }) => /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("img", __spreadValues({ 9487 src: sources[theme], 9488 alt, 9489 className 9490 }, propsRest)) 9491 }); 9492} 9493 9494 9495/***/ }), 9496 9497/***/ 35495: 9498/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9499 9500"use strict"; 9501 9502// EXPORTS 9503__webpack_require__.d(__webpack_exports__, { 9504 bq: () => (/* binding */ ErrorBoundaryError), 9505 MN: () => (/* binding */ ErrorBoundaryErrorMessageFallback), 9506 a2: () => (/* binding */ ErrorBoundaryTryAgainButton), 9507 k2: () => (/* binding */ ErrorCauseBoundary) 9508}); 9509 9510// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 9511var jsx_runtime = __webpack_require__(48231); 9512// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 9513var react = __webpack_require__(77407); 9514// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17
9514/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Translate.js + 1 modules 9515var Translate = __webpack_require__(66187); 9516// EXTERNAL MODULE: ../../.yarn/cache/@docusaurus-utils-common-npm-3.7.0-d5b8a79f92-3938f9fada.zip/node_modules/@docusaurus/utils-common/lib/index.js 9517var lib = __webpack_require__(2300); 9518;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/errorBoundaryUtils.module.css 9519// extracted by mini-css-extract-plugin 9520/* harmony default export */ const errorBoundaryUtils_module = ({"errorBoundaryError":"errorBoundaryError_dYE0","errorBoundaryFallback":"errorBoundaryFallback_iCq5"}); 9521;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/errorBoundaryUtils.js 9522var __defProp = Object.defineProperty; 9523var __defProps = Object.defineProperties; 9524var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 9525var __getOwnPropSymbols = Object.getOwnPropertySymbols; 9526var __hasOwnProp = Object.prototype.hasOwnProperty; 9527var __propIsEnum = Object.prototype.propertyIsEnumerable; 9528var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 9529var __spreadValues = (a, b) => { 9530 for (var prop in b || (b = {})) 9531 if (__hasOwnProp.call(b, prop)) 9532 __defNormalProp(a, prop, b[prop]); 9533 if (__getOwnPropSymbols) 9534 for (var prop of __getOwnPropSymbols(b)) { 9535 if (__propIsEnum.call(b, prop)) 9536 __defNormalProp(a, prop, b[prop]); 9537 } 9538 return a; 9539}; 9540var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 9541 9542 9543 9544 9545 9546function ErrorBoundaryTryAgainButton(props) { 9547 return /* @__PURE__ */ (0,jsx_runtime.jsx)("button", __spreadProps(__spreadValues({ 9548 type: "button" 9549 }, props), { 9550 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(Translate/* default */.A, { 9551 id: "theme.ErrorPageContent.tryAgain", 9552 description: "The label of the button to try again rendering when the React error boundary captures an error", 9553 children: "Try again" 9554 }) 9555 })); 9556} 9557function ErrorBoundaryErrorMessageFallback({ error, tryAgain }) { 9558 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 9559 className: errorBoundaryUtils_module.errorBoundaryFallback, 9560 children: [
9561 /* @__PURE__ */ (0,jsx_runtime.jsx)("p", { 9562 children: error.message 9563 }), 9564 /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorBoundaryTryAgainButton, { 9565 onClick: tryAgain 9566 }) 9567 ] 9568 }); 9569} 9570function ErrorBoundaryError({ error }) { 9571 const causalChain = (0,lib/* getErrorCausalChain */.rA)(error); 9572 const fullMessage = causalChain.map((e) => e.message).join("\n\nCause:\n"); 9573 return /* @__PURE__ */ (0,jsx_runtime.jsx)("p", { 9574 className: errorBoundaryUtils_module.errorBoundaryError, 9575 children: fullMessage 9576 }); 9577} 9578class ErrorCauseBoundary extends react.Component { 9579 componentDidCatch(error, errorInfo) { 9580 throw this.props.onError(error, errorInfo); 9581 } 9582 render() { 9583 return this.props.children; 9584 } 9585} 9586 9587 9588/***/ }), 9589 9590/***/ 35646: 9591/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9592 9593"use strict"; 9594/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9595/* harmony export */ Jx: () => (/* binding */ PluginHtmlClassNameProvider), 9596/* harmony export */ be: () => (/* binding */ PageMetadata), 9597/* harmony export */ e3: () => (/* binding */ HtmlClassNameProvider) 9598/* harmony export */ }); 9599/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 9600/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 9601/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75437); 9602/* harmony import */ var _docusaurus_Head__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52658); 9603/* harmony import */ var _docusaurus_useRouteContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27437); 9604/* harmony import */ var _docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(54271); 9605/* harmony import */ var _generalUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(64099); 9606 9607 9608 9609 9610 9611 9612 9613function PageMetadata({ title, description, keywords, image, children }) { 9614 const pageTitle = (0,_generalUtils__WEBPACK_IMPORTED_MODULE_5__/* .useTitleFormatter */ .s)(title); 9615 const { withBaseUrl } = (0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_4__/* .useBaseUrlUtils */ .hH)(); 9616 const pageImage = image ? withBaseUrl(image, { absolute: true }) : void 0; 9617 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_docusaurus_Head__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A, { 9618 children: [ 9619 title && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("title", { 9620 children: pageTitle 9621 }), 9622 title && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 9623 property: "og:title", 9624 content: pageTitle 9625 }),
9626 description && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 9627 name: "description", 9628 content: description 9629 }), 9630 description && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 9631 property: "og:description", 9632 content: description 9633 }), 9634 keywords && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 9635 name: "keywords", 9636 content: Array.isArray(keywords) ? keywords.join(",") : keywords 9637 }), 9638 pageImage && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 9639 property: "og:image", 9640 content: pageImage 9641 }), 9642 pageImage && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 9643 name: "twitter:image", 9644 content: pageImage 9645 }), 9646 children 9647 ] 9648 }); 9649} 9650const HtmlClassNameContext = react__WEBPACK_IMPORTED_MODULE_1__.createContext(void 0); 9651function HtmlClassNameProvider({ className: classNameProp, children }) { 9652 const classNameContext = react__WEBPACK_IMPORTED_MODULE_1__.useContext(HtmlClassNameContext); 9653 const className = (0,clsx__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A)(classNameContext, classNameProp); 9654 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(HtmlClassNameContext.Provider, { 9655 value: className, 9656 children: [
9657 /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_docusaurus_Head__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A, { 9658 children: /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("html", { 9659 className 9660 }) 9661 }), 9662 children 9663 ] 9664 }); 9665} 9666function pluginNameToClassName(pluginName) { 9667 return `plugin-${pluginName.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi, "")}`; 9668} 9669function PluginHtmlClassNameProvider({ children }) { 9670 const routeContext = (0,_docusaurus_useRouteContext__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)(); 9671 const nameClass = pluginNameToClassName(routeContext.plugin.name); 9672 const idClass = `plugin-id-${routeContext.plugin.id}`; 9673 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(HtmlClassNameProvider, { 9674 className: (0,clsx__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .A)(nameClass, idClass), 9675 children 9676 }); 9677} 9678 9679 9680/***/ }), 9681 9682/***/ 35660: 9683/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9684 9685"use strict"; 9686/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9687/* harmony export */ C: () => (/* binding */ isMultiColumnFooterLinks) 9688/* harmony export */ }); 9689function isMultiColumnFooterLinks(links) { 9690 return "title" in links[0]; 9691} 9692 9693 9694/***/ }), 9695 9696/***/ 36572: 9697/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9698 9699"use strict"; 9700/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9701/* harmony export */ $z: () => (/* binding */ groupBy), 9702/* harmony export */ XI: () => (/* binding */ duplicates), 9703/* harmony export */ sb: () => (/* binding */ uniq) 9704/* harmony export */ }); 9705function duplicates(arr, comparator = (a, b) => a === b) { 9706 return arr.filter((v, vIndex) => arr.findIndex((u) => comparator(u, v)) !== vIndex); 9707} 9708function uniq(arr) { 9709 return Array.from(new Set(arr)); 9710} 9711function groupBy(items, keySelector) { 9712 var _a; 9713 const result = {}; 9714 let index = 0; 9715 for (const item of items) { 9716 const key = keySelector(item, index); 9717 (_a = result[key]) != null ? _a : result[key] = []; 9718 result[key].push(item); 9719 index += 1; 9720 } 9721 return result; 9722} 9723 9724 9725/***/ }), 9726 9727/***/ 37026: 9728/***/ ((__unused_webpack_module, exports) => { 9729 9730"use strict"; 9731 9732Object.defineProperty(exports, "__esModule", ({ value: true })); 9733exports.addPrefix = addPrefix; 9734exports.removeSuffix = removeSuffix; 9735exports.addSuffix = addSuffix; 9736exports.removePrefix = removePrefix; 9737function addPrefix(str, prefix) { 9738 return str.startsWith(prefix) ? str : `${prefix}${str}`; 9739} 9740function removeSuffix(str, suffix) { 9741 if (suffix === "") { 9742 return str; 9743 } 9744 return str.endsWith(suffix) ? str.slice(0, -suffix.length) : str; 9745} 9746function addSuffix(str, suffix) { 9747 return str.endsWith(suffix) ? str : `${str}${suffix}`; 9748} 9749function removePrefix(str, prefix) { 9750 return str.startsWith(prefix) ? str.slice(prefix.length) : str; 9751} 9752 9753 9754/***/ }), 9755 9756/***/ 37279: 9757/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 9758 9759"use strict"; 9760/** 9761 * @license React 9762 * react-dom-client.production.js 9763 * 9764 * Copyright (c) Meta Platforms, Inc. and affiliates. 9765 * 9766 * This source code is licensed under the MIT license found in the 9767 * LICENSE file in the root directory of this source tree. 9768 */ 9769 9770/* 9771 Modernizr 3.0.0pre (Custom Build) | MIT 9772*/ 9773 9774var Scheduler = __webpack_require__(4375), 9775 React = __webpack_require__(77407), 9776 ReactDOM = __webpack_require__(78993); 9777function formatProdErrorMessage(code) { 9778 var url = "https://react.dev/errors/" + code; 9779 if (1 < arguments.length) { 9780 url += "?args[]=" + encodeURIComponent(arguments[1]); 9781 for (var i = 2; i < arguments.length; i++) 9782 url += "&args[]=" + encodeURIComponent(arguments[i]); 9783 } 9784 return ( 9785 "Minified React error #" + 9786 code + 9787 "; visit " + 9788 url + 9789 " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." 9790 ); 9791} 9792function isValidContainer(node) { 9793 return !( 9794 !node || 9795 (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType) 9796 ); 9797} 9798function getNearestMountedFiber(fiber) { 9799 var node = fiber, 9800 nearestMounted = fiber; 9801 if (fiber.alternate) for (; node.return; ) node = node.return; 9802 else { 9803 fiber = node; 9804 do 9805 (node = fiber), 9806 0 !== (node.flags & 4098) && (nearestMounted = node.return), 9807 (fiber = node.return); 9808 while (fiber); 9809 } 9810 return 3 === node.tag ? nearestMounted : null; 9811} 9812function getSuspenseInstanceFromFiber(fiber) { 9813 if (13 === fiber.tag) { 9814 var suspenseState = fiber.memoizedState; 9815 null === suspenseState && 9816 ((fiber = fiber.alternate),
9817 null !== fiber && (suspenseState = fiber.memoizedState)); 9818 if (null !== suspenseState) return suspenseState.dehydrated; 9819 } 9820 return null; 9821} 9822function assertIsMounted(fiber) { 9823 if (getNearestMountedFiber(fiber) !== fiber) 9824 throw Error(formatProdErrorMessage(188)); 9825} 9826function findCurrentFiberUsingSlowPath(fiber) { 9827 var alternate = fiber.alternate; 9828 if (!alternate) { 9829 alternate = getNearestMountedFiber(fiber); 9830 if (null === alternate) throw Error(formatProdErrorMessage(188)); 9831 return alternate !== fiber ? null : fiber; 9832 } 9833 for (var a = fiber, b = alternate; ; ) { 9834 var parentA = a.return; 9835 if (null === parentA) break; 9836 var parentB = parentA.alternate; 9837 if (null === parentB) { 9838 b = parentA.return; 9839 if (null !== b) { 9840 a = b; 9841 continue; 9842 } 9843 break; 9844 } 9845 if (parentA.child === parentB.child) { 9846 for (parentB = parentA.child; parentB; ) { 9847 if (parentB === a) return assertIsMounted(parentA), fiber; 9848 if (parentB === b) return assertIsMounted(parentA), alternate; 9849 parentB = parentB.sibling; 9850 } 9851 throw Error(formatProdErrorMessage(188)); 9852 } 9853 if (a.return !== b.return) (a = parentA), (b = parentB); 9854 else { 9855 for (var didFindChild = !1, child$0 = parentA.child; child$0; ) { 9856 if (child$0 === a) { 9857 didFindChild = !0; 9858 a = parentA; 9859 b = parentB; 9860 break; 9861 } 9862 if (child$0 === b) { 9863 didFindChild = !0; 9864 b = parentA; 9865 a = parentB; 9866 break; 9867 } 9868 child$0 = child$0.sibling; 9869 } 9870 if (!didFindChild) { 9871 for (child$0 = parentB.child; child$0; ) { 9872 if (child$0 === a) { 9873 didFindChild = !0; 9874 a = parentB; 9875 b = parentA; 9876 break; 9877 } 9878 if (child$0 === b) { 9879 didFindChild = !0; 9880 b = parentB; 9881 a = parentA; 9882 break; 9883 } 9884 child$0 = child$0.sibling; 9885 } 9886 if (!didFindChild) throw Error(formatProdErrorMessage(189)); 9887 } 9888 } 9889 if (a.alternate !== b) throw Error(formatProdErrorMessage(190)); 9890 } 9891 if (3 !== a.tag) throw Error(formatProdErrorMessage(188)); 9892 return a.stateNode.current === a ? fiber : alternate; 9893} 9894function findCurrentHostFiberImpl(node) { 9895 var tag = node.tag; 9896 if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node; 9897 for (node = node.child; null !== node; ) { 9898 tag = findCurrentHostFiberImpl(node); 9899 if (null !== tag) return tag; 9900 node = node.sibling; 9901 } 9902 return null; 9903} 9904var assign = Object.assign, 9905 REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), 9906 REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), 9907 REACT_PORTAL_TYPE = Symbol.for("react.portal"), 9908 REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), 9909 REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), 9910 REACT_PROFILER_TYPE = Symbol.for("react.profiler"), 9911 REACT_PROVIDER_TYPE = Symbol.for("react.provider"), 9912 REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), 9913 REACT_CONTEXT_TYPE = Symbol.for("react.context"), 9914 REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), 9915 REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), 9916 REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), 9917 REACT_MEMO_TYPE = Symbol.for("react.memo"), 9918 REACT_LAZY_TYPE = Symbol.for("react.lazy"); 9919Symbol.for("react.scope"); 9920var REACT_ACTIVITY_TYPE = Symbol.for("react.activity"); 9921Symbol.for("react.legacy_hidden"); 9922Symbol.for("react.tracing_marker"); 9923var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"); 9924Symbol.for("react.view_transition"); 9925var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; 9926function getIteratorFn(maybeIterable) { 9927 if (null === maybeIterable || "object" !== typeof maybeIterable) return null; 9928 maybeIterable = 9929 (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) || 9930 maybeIterable["@@iterator"]; 9931 return "function" === typeof maybeIterable ? maybeIterable : null; 9932} 9933var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); 9934function getComponentNameFromType(type) { 9935 if (null == type) return null; 9936 if ("function" === typeof type) 9937 return type.$$typeof === REACT_CLIENT_REFERENCE 9938 ? null 9939 : type.displayName || type.name || null; 9940 if ("string" === typeof type) return type; 9941 switch (type) { 9942 case REACT_FRAGMENT_TYPE: 9943 return "Fragment";
9944 case REACT_PROFILER_TYPE: 9945 return "Profiler"; 9946 case REACT_STRICT_MODE_TYPE: 9947 return "StrictMode"; 9948 case REACT_SUSPENSE_TYPE: 9949 return "Suspense"; 9950 case REACT_SUSPENSE_LIST_TYPE: 9951 return "SuspenseList"; 9952 case REACT_ACTIVITY_TYPE: 9953 return "Activity"; 9954 } 9955 if ("object" === typeof type) 9956 switch (type.$$typeof) { 9957 case REACT_PORTAL_TYPE: 9958 return "Portal"; 9959 case REACT_CONTEXT_TYPE: 9960 return (type.displayName || "Context") + ".Provider"; 9961 case REACT_CONSUMER_TYPE: 9962 return (type._context.displayName || "Context") + ".Consumer"; 9963 case REACT_FORWARD_REF_TYPE: 9964 var innerType = type.render; 9965 type = type.displayName; 9966 type || 9967 ((type = innerType.displayName || innerType.name || ""), 9968 (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); 9969 return type; 9970 case REACT_MEMO_TYPE: 9971 return ( 9972 (innerType = type.displayName || null), 9973 null !== innerType 9974 ? innerType 9975 : getComponentNameFromType(type.type) || "Memo" 9976 ); 9977 case REACT_LAZY_TYPE: 9978 innerType = type._payload; 9979 type = type._init; 9980 try { 9981 return getComponentNameFromType(type(innerType)); 9982 } catch (x) {} 9983 } 9984 return null; 9985} 9986var isArrayImpl = Array.isArray, 9987 ReactSharedInternals = 9988 React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, 9989 ReactDOMSharedInternals = 9990 ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, 9991 sharedNotPendingObject = { 9992 pending: !1, 9993 data: null, 9994 method: null, 9995 action: null 9996 }, 9997 valueStack = [], 9998 index = -1; 9999function createCursor(defaultValue) { 10000 return { current: defaultValue }; 10001} 10002function pop(cursor) { 10003 0 > index || 10004 ((cursor.current = valueStack[index]), (valueStack[index] = null), index--); 10005} 10006function push(cursor, value) { 10007 index++; 10008 valueStack[index] = cursor.current; 10009 cursor.current = value; 10010} 10011var contextStackCursor = createCursor(null), 10012 contextFiberStackCursor = createCursor(null), 10013 rootInstanceStackCursor = createCursor(null), 10014 hostTransitionProviderCursor = createCursor(null); 10015function pushHostContainer(fiber, nextRootInstance) { 10016 push(rootInstanceStackCursor, nextRootInstance); 10017 push(contextFiberStackCursor, fiber); 10018 push(contextStackCursor, null); 10019 switch (nextRootInstance.nodeType) { 10020 case 9: 10021 case 11: 10022 fiber = (fiber = nextRootInstance.documentElement) 10023 ? (fiber = fiber.namespaceURI) 10024 ? getOwnHostContext(fiber) 10025 : 0 10026 : 0; 10027 break; 10028 default: 10029 if ( 10030 ((fiber = nextRootInstance.tagName), 10031 (nextRootInstance = nextRootInstance.namespaceURI)) 10032 ) 10033 (nextRootInstance = getOwnHostContext(nextRootInstance)), 10034 (fiber = getChildHostContextProd(nextRootInstance, fiber)); 10035 else 10036 switch (fiber) { 10037 case "svg": 10038 fiber = 1; 10039 break; 10040 case "math": 10041 fiber = 2; 10042 break; 10043 default: 10044 fiber = 0; 10045 } 10046 } 10047 pop(contextStackCursor); 10048 push(contextStackCursor, fiber); 10049} 10050function popHostContainer() { 10051 pop(contextStackCursor); 10052 pop(contextFiberStackCursor); 10053 pop(rootInstanceStackCursor); 10054} 10055function pushHostContext(fiber) { 10056 null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber); 10057 var context = contextStackCursor.current; 10058 var JSCompiler_inline_result = getChildHostContextProd(context, fiber.type); 10059 context !== JSCompiler_inline_result && 10060 (push(contextFiberStackCursor, fiber), 10061 push(contextStackCursor, JSCompiler_inline_result)); 10062} 10063function popHostContext(fiber) { 10064 contextFiberStackCursor.current === fiber && 10065 (pop(contextStackCursor), pop(contextFiberStackCursor)); 10066 hostTransitionProviderCursor.current === fiber && 10067 (pop(hostTransitionProviderCursor), 10068 (HostTransitionContext._currentValue = sharedNotPendingObject)); 10069} 10070var hasOwnProperty = Object.prototype.hasOwnProperty, 10071 scheduleCallback$3 = Scheduler.unstable_scheduleCallback, 10072 cancelCallback$1 = Scheduler.unstable_cancelCallback, 10073 shouldYield = Scheduler.unstable_shouldYield, 10074 requestPaint = Scheduler.unstable_requestPaint, 10075 now = Scheduler.unstable_now, 10076 getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, 10077 ImmediatePriority = Scheduler.unstable_ImmediatePriority, 10078 UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, 10079 NormalPriority$1 = Scheduler.unstable_NormalPriority, 10080 LowPriority = Scheduler.unstable_LowPriority, 10081 IdlePriority = Scheduler.unstable_IdlePriority, 10082 log$1 = Scheduler.log, 10083 unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, 10084 rendererID = null, 10085 injectedHook = null; 10086function setIsStrictModeForDevtools(newIsStrictMode) { 10087 "function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode); 10088 if (injectedHook && "function" === typeof injectedHook.setStrictMode) 10089 try { 10090 injectedHook.setStrictMode(rendererID, newIsStrictMode); 10091 } catch (err) {} 10092}
10093var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, 10094 log = Math.log, 10095 LN2 = Math.LN2; 10096function clz32Fallback(x) { 10097 x >>>= 0; 10098 return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; 10099} 10100var nextTransitionLane = 256, 10101 nextRetryLane = 4194304; 10102function getHighestPriorityLanes(lanes) { 10103 var pendingSyncLanes = lanes & 42; 10104 if (0 !== pendingSyncLanes) return pendingSyncLanes; 10105 switch (lanes & -lanes) { 10106 case 1: 10107 return 1; 10108 case 2: 10109 return 2; 10110 case 4: 10111 return 4; 10112 case 8: 10113 return 8; 10114 case 16: 10115 return 16; 10116 case 32: 10117 return 32; 10118 case 64: 10119 return 64; 10120 case 128: 10121 return 128; 10122 case 256: 10123 case 512: 10124 case 1024: 10125 case 2048: 10126 case 4096: 10127 case 8192: 10128 case 16384: 10129 case 32768: 10130 case 65536: 10131 case 131072: 10132 case 262144: 10133 case 524288: 10134 case 1048576: 10135 case 2097152: 10136 return lanes & 4194048; 10137 case 4194304: 10138 case 8388608: 10139 case 16777216: 10140 case 33554432: 10141 return lanes & 62914560; 10142 case 67108864: 10143 return 67108864; 10144 case 134217728: 10145 return 134217728; 10146 case 268435456: 10147 return 268435456; 10148 case 536870912: 10149 return 536870912; 10150 case 1073741824: 10151 return 0; 10152 default: 10153 return lanes; 10154 } 10155} 10156function getNextLanes(root, wipLanes, rootHasPendingCommit) { 10157 var pendingLanes = root.pendingLanes; 10158 if (0 === pendingLanes) return 0; 10159 var nextLanes = 0, 10160 suspendedLanes = root.suspendedLanes, 10161 pingedLanes = root.pingedLanes; 10162 root = root.warmLanes; 10163 var nonIdlePendingLanes = pendingLanes & 134217727; 10164 0 !== nonIdlePendingLanes 10165 ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes), 10166 0 !== pendingLanes 10167 ? (nextLanes = getHighestPriorityLanes(pendingLanes)) 10168 : ((pingedLanes &= nonIdlePendingLanes), 10169 0 !== pingedLanes 10170 ? (nextLanes = getHighestPriorityLanes(pingedLanes)) 10171 : rootHasPendingCommit || 10172 ((rootHasPendingCommit = nonIdlePendingLanes & ~root), 10173 0 !== rootHasPendingCommit && 10174 (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) 10175 : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes), 10176 0 !== nonIdlePendingLanes 10177 ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes)) 10178 : 0 !== pingedLanes 10179 ? (nextLanes = getHighestPriorityLanes(pingedLanes)) 10180 : rootHasPendingCommit || 10181 ((rootHasPendingCommit = pendingLanes & ~root), 10182 0 !== rootHasPendingCommit && 10183 (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))); 10184 return 0 === nextLanes 10185 ? 0 10186 : 0 !== wipLanes && 10187 wipLanes !== nextLanes && 10188 0 === (wipLanes & suspendedLanes) && 10189 ((suspendedLanes = nextLanes & -nextLanes), 10190 (rootHasPendingCommit = wipLanes & -wipLanes), 10191 suspendedLanes >= rootHasPendingCommit || 10192 (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048))) 10193 ? wipLanes 10194 : nextLanes; 10195} 10196function checkIfRootIsPrerendering(root, renderLanes) { 10197 return ( 10198 0 === 10199 (root.pendingLanes & 10200 ~(root.suspendedLanes & ~root.pingedLanes) & 10201 renderLanes) 10202 ); 10203} 10204function computeExpirationTime(lane, currentTime) { 10205 switch (lane) { 10206 case 1: 10207 case 2: 10208 case 4: 10209 case 8: 10210 case 64: 10211 return currentTime + 250; 10212 case 16: 10213 case 32: 10214 case 128: 10215 case 256: 10216 case 512: 10217 case 1024: 10218 case 2048: 10219 case 4096: 10220 case 8192: 10221 case 16384: 10222 case 32768: 10223 case 65536: 10224 case 131072: 10225 case 262144: 10226 case 524288: 10227 case 1048576: 10228 case 2097152: 10229 return currentTime + 5e3; 10230 case 4194304: 10231 case 8388608: 10232 case 16777216: 10233 case 33554432: 10234 return -1; 10235 case 67108864: 10236 case 134217728: 10237 case 268435456: 10238 case 536870912: 10239 case 1073741824: 10240 return -1; 10241 default: 10242 return -1; 10243 } 10244} 10245function claimNextTransitionLane() { 10246 var lane = nextTransitionLane; 10247 nextTransitionLane <<= 1; 10248 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); 10249 return lane; 10250} 10251function claimNextRetryLane() { 10252 var lane = nextRetryLane; 10253 nextRetryLane <<= 1; 10254 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304); 10255 return lane; 10256} 10257function createLaneMap(initial) { 10258 for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial); 10259 return laneMap; 10260} 10261function markRootUpdated$1(root, updateLane) { 10262 root.pendingLanes |= updateLane; 10263 268435456 !== updateLane && 10264 ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0)); 10265} 10266function markRootFinished( 10267 root, 10268 finishedLanes, 10269 remainingLanes, 10270 spawnedLane, 10271 updatedLanes, 10272 suspendedRetryLanes 10273) { 10274 var previouslyPendingLanes = root.pendingLanes; 10275 root.pendingLanes = remainingLanes; 10276 root.suspendedLanes = 0; 10277 root.pingedLanes = 0; 10278 root.warmLanes = 0; 10279 root.expiredLanes &= remainingLanes; 10280 root.entangledLanes &= remainingLanes; 10281 root.errorRecoveryDisabledLanes &= remainingLanes; 10282 root.shellSuspendCounter = 0; 10283 var entanglements = root.entanglements, 10284 expirationTimes = root.expirationTimes, 10285 hiddenUpdates = root.hiddenUpdates; 10286 for ( 10287 remainingLanes = previouslyPendingLanes & ~remainingLanes; 10288 0 < remainingLanes; 10289 10290 ) { 10291 var index$5 = 31 - clz32(remainingLanes), 10292 lane = 1 << index$5; 10293 entanglements[index$5] = 0; 10294 expirationTimes[index$5] = -1; 10295 var hiddenUpdatesForLane = hiddenUpdates[index$5]; 10296 if (null !== hiddenUpdatesForLane) 10297 for ( 10298 hiddenUpdates[index$5] = null, index$5 = 0; 10299 index$5 < hiddenUpdatesForLane.length; 10300 index$5++ 10301 ) { 10302 var update = hiddenUpdatesForLane[index$5]; 10303 null !== update && (update.lane &= -536870913); 10304 } 10305 remainingLanes &= ~lane; 10306 } 10307 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0); 10308 0 !== suspendedRetryLanes && 10309 0 === updatedLanes && 10310 0 !== root.tag && 10311 (root.suspendedLanes |= 10312 suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes)); 10313} 10314function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { 10315 root.pendingLanes |= spawnedLane; 10316 root.suspendedLanes &= ~spawnedLane; 10317 var spawnedLaneIndex = 31 - clz32(spawnedLane); 10318 root.entangledLanes |= spawnedLane; 10319 root.entanglements[spawnedLaneIndex] = 10320 root.entanglements[spawnedLaneIndex] | 10321 1073741824 | 10322 (entangledLanes & 4194090); 10323} 10324function markRootEntangled(root, entangledLanes) { 10325 var rootEntangledLanes = (root.entangledLanes |= entangledLanes); 10326 for (root = root.entanglements; rootEntangledLanes; ) { 10327 var index$6 = 31 - clz32(rootEntangledLanes), 10328 lane = 1 << index$6; 10329 (lane & entangledLanes) | (root[index$6] & entangledLanes) && 10330 (root[index$6] |= entangledLanes); 10331 rootEntangledLanes &= ~lane; 10332 } 10333} 10334function getBumpedLaneForHydrationByLane(lane) { 10335 switch (lane) { 10336 case 2: 10337 lane = 1; 10338 break; 10339 case 8: 10340 lane = 4; 10341 break; 10342 case 32: 10343 lane = 16; 10344 break; 10345 case 256: 10346 case 512: 10347 case 1024: 10348 case 2048: 10349 case 4096: 10350 case 8192: 10351 case 16384: 10352 case 32768: 10353 case 65536: 10354 case 131072: 10355 case 262144: 10356 case 524288: 10357 case 1048576: 10358 case 2097152: 10359 case 4194304: 10360 case 8388608: 10361 case 16777216: 10362 case 33554432: 10363 lane = 128; 10364 break; 10365 case 268435456: 10366 lane = 134217728; 10367 break; 10368 default: 10369 lane = 0; 10370 } 10371 return lane; 10372} 10373function lanesToEventPriority(lanes) { 10374 lanes &= -lanes; 10375 return 2 < lanes 10376 ? 8 < lanes 10377 ? 0 !== (lanes & 134217727) 10378 ? 32 10379 : 268435456 10380 : 8 10381 : 2; 10382} 10383function resolveUpdatePriority() { 10384 var updatePriority = ReactDOMSharedInternals.p; 10385 if (0 !== updatePriority) return updatePriority; 10386 updatePriority = window.event; 10387 return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type); 10388} 10389function runWithPriority(priority, fn) { 10390 var previousPriority = ReactDOMSharedInternals.p; 10391 try { 10392 return (ReactDOMSharedInternals.p = priority), fn(); 10393 } finally { 10394 ReactDOMSharedInternals.p = previousPriority; 10395 } 10396} 10397var randomKey = Math.random().toString(36).slice(2), 10398 internalInstanceKey = "__reactFiber$" + randomKey, 10399 internalPropsKey = "__reactProps$" + randomKey, 10400 internalContainerInstanceKey = "__reactContainer$" + randomKey, 10401 internalEventHandlersKey = "__reactEvents$" + randomKey, 10402 internalEventHandlerListenersKey = "__reactListeners$" + randomKey, 10403 internalEventHandlesSetKey = "__reactHandles$" + randomKey, 10404 internalRootNodeResourcesKey = "__reactResources$" + randomKey, 10405 internalHoistableMarker = "__reactMarker$" + randomKey; 10406function detachDeletedInstance(node) { 10407 delete node[internalInstanceKey]; 10408 delete node[internalPropsKey]; 10409 delete node[internalEventHandlersKey]; 10410 delete node[internalEventHandlerListenersKey]; 10411 delete node[internalEventHandlesSetKey]; 10412} 10413function getClosestInstanceFromNode(targetNode) { 10414 var targetInst = targetNode[internalInstanceKey]; 10415 if (targetInst) return targetInst; 10416 for (var parentNode = targetNode.parentNode; parentNode; ) { 10417 if ( 10418 (targetInst = 10419 parentNode[internalContainerInstanceKey] || 10420 parentNode[internalInstanceKey]) 10421 ) { 10422 parentNode = targetInst.alternate; 10423 if ( 10424 null !== targetInst.child || 10425 (null !== parentNode && null !== parentNode.child) 10426 ) 10427 for ( 10428 targetNode = getParentSuspenseInstance(targetNode); 10429 null !== targetNode;
10430 10431 ) { 10432 if ((parentNode = targetNode[internalInstanceKey])) return parentNode; 10433 targetNode = getParentSuspenseInstance(targetNode); 10434 } 10435 return targetInst; 10436 } 10437 targetNode = parentNode; 10438 parentNode = targetNode.parentNode; 10439 } 10440 return null; 10441} 10442function getInstanceFromNode(node) { 10443 if ( 10444 (node = node[internalInstanceKey] || node[internalContainerInstanceKey]) 10445 ) { 10446 var tag = node.tag; 10447 if ( 10448 5 === tag || 10449 6 === tag || 10450 13 === tag || 10451 26 === tag || 10452 27 === tag || 10453 3 === tag 10454 ) 10455 return node; 10456 } 10457 return null; 10458} 10459function getNodeFromInstance(inst) { 10460 var tag = inst.tag; 10461 if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode; 10462 throw Error(formatProdErrorMessage(33)); 10463} 10464function getResourcesFromRoot(root) { 10465 var resources = root[internalRootNodeResourcesKey]; 10466 resources || 10467 (resources = root[internalRootNodeResourcesKey] = 10468 { hoistableStyles: new Map(), hoistableScripts: new Map() }); 10469 return resources; 10470} 10471function markNodeAsHoistable(node) { 10472 node[internalHoistableMarker] = !0; 10473} 10474var allNativeEvents = new Set(), 10475 registrationNameDependencies = {}; 10476function registerTwoPhaseEvent(registrationName, dependencies) { 10477 registerDirectEvent(registrationName, dependencies); 10478 registerDirectEvent(registrationName + "Capture", dependencies); 10479} 10480function registerDirectEvent(registrationName, dependencies) { 10481 registrationNameDependencies[registrationName] = dependencies; 10482 for ( 10483 registrationName = 0;
10484 registrationName < dependencies.length; 10485 registrationName++ 10486 ) 10487 allNativeEvents.add(dependencies[registrationName]); 10488} 10489var VALID_ATTRIBUTE_NAME_REGEX = RegExp( 10490 "^[: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]*$" 10491 ), 10492 illegalAttributeNameCache = {}, 10493 validatedAttributeNameCache = {}; 10494function isAttributeNameSafe(attributeName) { 10495 if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) 10496 return !0; 10497 if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1; 10498 if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) 10499 return (validatedAttributeNameCache[attributeName] = !0); 10500 illegalAttributeNameCache[attributeName] = !0; 10501 return !1; 10502} 10503function setValueForAttribute(node, name, value) { 10504 if (isAttributeNameSafe(name)) 10505 if (null === value) node.removeAttribute(name); 10506 else { 10507 switch (typeof value) { 10508 case "undefined": 10509 case "function": 10510 case "symbol": 10511 node.removeAttribute(name); 10512 return; 10513 case "boolean": 10514 var prefix$8 = name.toLowerCase().slice(0, 5); 10515 if ("data-" !== prefix$8 && "aria-" !== prefix$8) { 10516 node.removeAttribute(name); 10517 return; 10518 } 10519 } 10520 node.setAttribute(name, "" + value); 10521 } 10522} 10523function setValueForKnownAttribute(node, name, value) { 10524 if (null === value) node.removeAttribute(name); 10525 else { 10526 switch (typeof value) { 10527 case "undefined": 10528 case "function": 10529 case "symbol": 10530 case "boolean": 10531 node.removeAttribute(name); 10532 return; 10533 } 10534 node.setAttribute(name, "" + value); 10535 } 10536} 10537function setValueForNamespacedAttribute(node, namespace, name, value) { 10538 if (null === value) node.removeAttribute(name); 10539 else { 10540 switch (typeof value) { 10541 case "undefined": 10542 case "function": 10543 case "symbol": 10544 case "boolean": 10545 node.removeAttribute(name); 10546 return; 10547 } 10548 node.setAttributeNS(namespace, name, "" + value); 10549 } 10550} 10551var prefix, suffix; 10552function describeBuiltInComponentFrame(name) { 10553 if (void 0 === prefix) 10554 try { 10555 throw Error(); 10556 } catch (x) { 10557 var match = x.stack.trim().match(/\n( *(at )?)/); 10558 prefix = (match && match[1]) || ""; 10559 suffix = 10560 -1 < x.stack.indexOf("\n at") 10561 ? " (<anonymous>)" 10562 : -1 < x.stack.indexOf("@") 10563 ? "@unknown:0:0" 10564 : ""; 10565 } 10566 return "\n" + prefix + name + suffix; 10567} 10568var reentry = !1; 10569function describeNativeComponentFrame(fn, construct) { 10570 if (!fn || reentry) return ""; 10571 reentry = !0; 10572 var previousPrepareStackTrace = Error.prepareStackTrace; 10573 Error.prepareStackTrace = void 0; 10574 try { 10575 var RunInRootFrame = { 10576 DetermineComponentFrameRoot: function () { 10577 try { 10578 if (construct) { 10579 var Fake = function () { 10580 throw Error(); 10581 }; 10582 Object.defineProperty(Fake.prototype, "props", { 10583 set: function () { 10584 throw Error(); 10585 } 10586 }); 10587 if ("object" === typeof Reflect && Reflect.construct) { 10588 try { 10589 Reflect.construct(Fake, []); 10590 } catch (x) { 10591 var control = x; 10592 } 10593 Reflect.construct(fn, [], Fake); 10594 } else { 10595 try { 10596 Fake.call(); 10597 } catch (x$9) { 10598 control = x$9; 10599 } 10600 fn.call(Fake.prototype); 10601 } 10602 } else { 10603 try { 10604 throw Error(); 10605 } catch (x$10) { 10606 control = x$10; 10607 } 10608 (Fake = fn()) && 10609 "function" === typeof Fake.catch && 10610 Fake.catch(function () {}); 10611 } 10612 } catch (sample) {
10613 if (sample && control && "string" === typeof sample.stack) 10614 return [sample.stack, control.stack]; 10615 } 10616 return [null, null]; 10617 } 10618 }; 10619 RunInRootFrame.DetermineComponentFrameRoot.displayName = 10620 "DetermineComponentFrameRoot"; 10621 var namePropDescriptor = Object.getOwnPropertyDescriptor( 10622 RunInRootFrame.DetermineComponentFrameRoot, 10623 "name" 10624 ); 10625 namePropDescriptor && 10626 namePropDescriptor.configurable && 10627 Object.defineProperty( 10628 RunInRootFrame.DetermineComponentFrameRoot, 10629 "name", 10630 { value: "DetermineComponentFrameRoot" } 10631 ); 10632 var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), 10633 sampleStack = _RunInRootFrame$Deter[0], 10634 controlStack = _RunInRootFrame$Deter[1]; 10635 if (sampleStack && controlStack) { 10636 var sampleLines = sampleStack.split("\n"), 10637 controlLines = controlStack.split("\n"); 10638 for ( 10639 namePropDescriptor = RunInRootFrame = 0; 10640 RunInRootFrame < sampleLines.length && 10641 !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot"); 10642 10643 ) 10644 RunInRootFrame++; 10645 for ( 10646 ; 10647 namePropDescriptor < controlLines.length && 10648 !controlLines[namePropDescriptor].includes( 10649 "DetermineComponentFrameRoot" 10650 ); 10651 10652 ) 10653 namePropDescriptor++; 10654 if ( 10655 RunInRootFrame === sampleLines.length || 10656 namePropDescriptor === controlLines.length 10657 ) 10658 for ( 10659 RunInRootFrame = sampleLines.length - 1, 10660 namePropDescriptor = controlLines.length - 1; 10661 1 <= RunInRootFrame && 10662 0 <= namePropDescriptor && 10663 sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]; 10664 10665 ) 10666 namePropDescriptor--; 10667 for ( 10668 ; 10669 1 <= RunInRootFrame && 0 <= namePropDescriptor; 10670 RunInRootFrame--, namePropDescriptor-- 10671 ) 10672 if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) { 10673 if (1 !== RunInRootFrame || 1 !== namePropDescriptor) { 10674 do 10675 if ( 10676 (RunInRootFrame--, 10677 namePropDescriptor--, 10678 0 > namePropDescriptor || 10679 sampleLines[RunInRootFrame] !== 10680 controlLines[namePropDescriptor]) 10681 ) { 10682 var frame = 10683 "\n" + 10684 sampleLines[RunInRootFrame].replace(" at new ", " at "); 10685 fn.displayName && 10686 frame.includes("<anonymous>") && 10687 (frame = frame.replace("<anonymous>", fn.displayName)); 10688 return frame; 10689 } 10690 while (1 <= RunInRootFrame && 0 <= namePropDescriptor); 10691 } 10692 break; 10693 } 10694 } 10695 } finally { 10696 (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace); 10697 } 10698 return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") 10699 ? describeBuiltInComponentFrame(previousPrepareStackTrace) 10700 : ""; 10701} 10702function describeFiber(fiber) { 10703 switch (fiber.tag) { 10704 case 26: 10705 case 27: 10706 case 5: 10707 return describeBuiltInComponentFrame(fiber.type); 10708 case 16: 10709 return describeBuiltInComponentFrame("Lazy"); 10710 case 13: 10711 return describeBuiltInComponentFrame("Suspense"); 10712 case 19: 10713 return describeBuiltInComponentFrame("SuspenseList"); 10714 case 0: 10715 case 15: 10716 return describeNativeComponentFrame(fiber.type, !1); 10717 case 11: 10718 return describeNativeComponentFrame(fiber.type.render, !1); 10719 case 1: 10720 return describeNativeComponentFrame(fiber.type, !0); 10721 case 31: 10722 return describeBuiltInComponentFrame("Activity"); 10723 default: 10724 return ""; 10725 } 10726}
10727function getStackByFiberInDevAndProd(workInProgress) { 10728 try { 10729 var info = ""; 10730 do 10731 (info += describeFiber(workInProgress)), 10732 (workInProgress = workInProgress.return); 10733 while (workInProgress); 10734 return info; 10735 } catch (x) { 10736 return "\nError generating stack: " + x.message + "\n" + x.stack; 10737 } 10738} 10739function getToStringValue(value) { 10740 switch (typeof value) { 10741 case "bigint": 10742 case "boolean": 10743 case "number": 10744 case "string": 10745 case "undefined": 10746 return value; 10747 case "object": 10748 return value; 10749 default: 10750 return ""; 10751 } 10752} 10753function isCheckable(elem) { 10754 var type = elem.type; 10755 return ( 10756 (elem = elem.nodeName) && 10757 "input" === elem.toLowerCase() && 10758 ("checkbox" === type || "radio" === type) 10759 ); 10760} 10761function trackValueOnNode(node) { 10762 var valueField = isCheckable(node) ? "checked" : "value", 10763 descriptor = Object.getOwnPropertyDescriptor( 10764 node.constructor.prototype, 10765 valueField 10766 ), 10767 currentValue = "" + node[valueField]; 10768 if ( 10769 !node.hasOwnProperty(valueField) && 10770 "undefined" !== typeof descriptor && 10771 "function" === typeof descriptor.get && 10772 "function" === typeof descriptor.set 10773 ) { 10774 var get = descriptor.get, 10775 set = descriptor.set; 10776 Object.defineProperty(node, valueField, { 10777 configurable: !0, 10778 get: function () { 10779 return get.call(this); 10780 }, 10781 set: function (value) { 10782 currentValue = "" + value; 10783 set.call(this, value); 10784 } 10785 }); 10786 Object.defineProperty(node, valueField, { 10787 enumerable: descriptor.enumerable 10788 }); 10789 return { 10790 getValue: function () { 10791 return currentValue; 10792 }, 10793 setValue: function (value) { 10794 currentValue = "" + value; 10795 }, 10796 stopTracking: function () { 10797 node._valueTracker = null; 10798 delete node[valueField]; 10799 } 10800 }; 10801 } 10802} 10803function track(node) { 10804 node._valueTracker || (node._valueTracker = trackValueOnNode(node)); 10805} 10806function updateValueIfChanged(node) { 10807 if (!node) return !1; 10808 var tracker = node._valueTracker; 10809 if (!tracker) return !0; 10810 var lastValue = tracker.getValue(); 10811 var value = ""; 10812 node && 10813 (value = isCheckable(node) 10814 ? node.checked 10815 ? "true" 10816 : "false" 10817 : node.value); 10818 node = value; 10819 return node !== lastValue ? (tracker.setValue(node), !0) : !1; 10820} 10821function getActiveElement(doc) { 10822 doc = doc || ("undefined" !== typeof document ? document : void 0); 10823 if ("undefined" === typeof doc) return null; 10824 try { 10825 return doc.activeElement || doc.body; 10826 } catch (e) { 10827 return doc.body; 10828 } 10829} 10830var escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g; 10831function escapeSelectorAttributeValueInsideDoubleQuotes(value) { 10832 return value.replace( 10833 escapeSelectorAttributeValueInsideDoubleQuotesRegex, 10834 function (ch) { 10835 return "\\" + ch.charCodeAt(0).toString(16) + " "; 10836 } 10837 ); 10838} 10839function updateInput( 10840 element, 10841 value, 10842 defaultValue, 10843 lastDefaultValue, 10844 checked, 10845 defaultChecked, 10846 type, 10847 name 10848) { 10849 element.name = ""; 10850 null != type && 10851 "function" !== typeof type && 10852 "symbol" !== typeof type && 10853 "boolean" !== typeof type 10854 ? (element.type = type) 10855 : element.removeAttribute("type"); 10856 if (null != value) 10857 if ("number" === type) { 10858 if ((0 === value && "" === element.value) || element.value != value) 10859 element.value = "" + getToStringValue(value); 10860 } else 10861 element.value !== "" + getToStringValue(value) && 10862 (element.value = "" + getToStringValue(value)); 10863 else 10864 ("submit" !== type && "reset" !== type) || element.removeAttribute("value"); 10865 null != value 10866 ? setDefaultValue(element, type, getToStringValue(value)) 10867 : null != defaultValue 10868 ? setDefaultValue(element, type, getToStringValue(defaultValue)) 10869 : null != lastDefaultValue && element.removeAttribute("value"); 10870 null == checked && 10871 null != defaultChecked && 10872 (element.defaultChecked = !!defaultChecked); 10873 null != checked && 10874 (element.checked = 10875 checked && "function" !== typeof checked && "symbol" !== typeof checked); 10876 null != name && 10877 "function" !== typeof name && 10878 "symbol" !== typeof name && 10879 "boolean" !== typeof name 10880 ? (element.name = "" + getToStringValue(name)) 10881 : element.removeAttribute("name"); 10882} 10883function initInput( 10884 element, 10885 value, 10886 defaultValue, 10887 checked, 10888 defaultChecked, 10889 type, 10890 name, 10891 isHydrating 10892) { 10893 null != type && 10894 "function" !== typeof type && 10895 "symbol" !== typeof type && 10896 "boolean" !== typeof type && 10897 (element.type = type); 10898 if (null != value || null != defaultValue) { 10899 if ( 10900 !( 10901 ("submit" !== type && "reset" !== type) || 10902 (void 0 !== value && null !== value) 10903 ) 10904 ) 10905 return; 10906 defaultValue = 10907 null != defaultValue ? "" + getToStringValue(defaultValue) : ""; 10908 value = null != value ? "" + getToStringValue(value) : defaultValue; 10909 isHydrating || value === element.value || (element.value = value); 10910 element.defaultValue = value; 10911 } 10912 checked = null != checked ? checked : defaultChecked; 10913 checked = 10914 "function" !== typeof checked && "symbol" !== typeof checked && !!checked; 10915 element.checked = isHydrating ? element.checked : !!checked; 10916 element.defaultChecked = !!checked; 10917 null != name && 10918 "function" !== typeof name && 10919 "symbol" !== typeof name && 10920 "boolean" !== typeof name && 10921 (element.name = name); 10922} 10923function setDefaultValue(node, type, value) { 10924 ("number" === type && getActiveElement(node.ownerDocument) === no
10924de) || 10925 node.defaultValue === "" + value || 10926 (node.defaultValue = "" + value); 10927} 10928function updateOptions(node, multiple, propValue, setDefaultSelected) { 10929 node = node.options; 10930 if (multiple) { 10931 multiple = {}; 10932 for (var i = 0; i < propValue.length; i++) 10933 multiple["$" + propValue[i]] = !0; 10934 for (propValue = 0; propValue < node.length; propValue++) 10935 (i = multiple.hasOwnProperty("$" + node[propValue].value)), 10936 node[propValue].selected !== i && (node[propValue].selected = i), 10937 i && setDefaultSelected && (node[propValue].defaultSelected = !0); 10938 } else { 10939 propValue = "" + getToStringValue(propValue); 10940 multiple = null; 10941 for (i = 0; i < node.length; i++) { 10942 if (node[i].value === propValue) { 10943 node[i].selected = !0; 10944 setDefaultSelected && (node[i].defaultSelected = !0); 10945 return; 10946 } 10947 null !== multiple || node[i].disabled || (multiple = node[i]); 10948 } 10949 null !== multiple && (multiple.selected = !0); 10950 } 10951} 10952function updateTextarea(element, value, defaultValue) { 10953 if ( 10954 null != value && 10955 ((value = "" + getToStringValue(value)), 10956 value !== element.value && (element.value = value), 10957 null == defaultValue) 10958 ) { 10959 element.defaultValue !== value && (element.defaultValue = value); 10960 return; 10961 } 10962 element.defaultValue = 10963 null != defaultValue ? "" + getToStringValue(defaultValue) : ""; 10964} 10965function initTextarea(element, value, defaultValue, children) { 10966 if (null == value) { 10967 if (null != children) { 10968 if (null != defaultValue) throw Error(formatProdErrorMessage(92)); 10969 if (isArrayImpl(children)) { 10970 if (1 < children.length) throw Error(formatProdErrorMessage(93)); 10971 children = children[0]; 10972 } 10973 defaultValue = children; 10974 } 10975 null == defaultValue && (defaultValue = ""); 10976 value = defaultValue; 10977 } 10978 defaultValue = getToStringValue(value); 10979 element.defaultValue = defaultValue; 10980 children = element.textContent; 10981 children === defaultValue && 10982 "" !== children && 10983 null !== children && 10984 (element.value = children); 10985} 10986function setTextContent(node, text) { 10987 if (text) { 10988 var firstChild = node.firstChild; 10989 if ( 10990 firstChild && 10991 firstChild === node.lastChild && 10992 3 === firstChild.nodeType 10993 ) { 10994 firstChild.nodeValue = text; 10995 return; 10996 } 10997 } 10998 node.textContent = text; 10999} 11000var unitlessNumbers = new Set( 11001 "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( 11002 " " 11003 ) 11004); 11005function setValueForStyle(style, styleName, value) { 11006 var isCustomProperty = 0 === styleName.indexOf("--"); 11007 null == value || "boolean" === typeof value || "" === value 11008 ? isCustomProperty 11009 ? style.setProperty(styleName, "") 11010 : "float" === styleName 11011 ? (style.cssFloat = "") 11012 : (style[styleName] = "") 11013 : isCustomProperty 11014 ? style.setProperty(styleName, value) 11015 : "number" !== typeof value || 11016 0 === value || 11017 unitlessNumbers.has(styleName) 11018 ? "float" === styleName 11019 ? (style.cssFloat = value) 11020 : (style[styleName] = ("" + value).trim()) 11021 : (style[styleName] = value + "px"); 11022} 11023function setValueForStyles(node, styles, prevStyles) { 11024 if (null != styles && "object" !== typeof styles) 11025 throw Error(formatProdErrorMessage(62)); 11026 node = node.style; 11027 if (null != prevStyles) { 11028 for (var styleName in prevStyles) 11029 !prevStyles.hasOwnProperty(styleName) || 11030 (null != styles && styles.hasOwnProperty(styleName)) || 11031 (0 === styleName.indexOf("--") 11032 ? node.setProperty(styleName, "") 11033 : "float" === styleName 11034 ? (node.cssFloat = "") 11035 : (node[styleName] = "")); 11036 for (var styleName$16 in styles) 11037 (styleName = styles[styleName$16]), 11038 styles.hasOwnProperty(styleName$16) && 11039 prevStyles[styleName$16] !== styleName && 11040 setValueForStyle(node, styleName$16, styleName); 11041 } else 11042 for (var styleName$17 in styles) 11043 styles.hasOwnProperty(styleName$17) && 11044 setValueForStyle(node, styleName$17, styles[styleName$17]); 11045} 11046function isCustomElement(tagName) { 11047 if (-1 === tagName.indexOf("-")) return !1; 11048 switch (tagName) { 11049 case "annotation-xml": 11050 case "color-profile": 11051 case "font-face": 11052 case "font-face-src": 11053 case "font-face-uri": 11054 case "font-face-format": 11055 case "font-face-name": 11056 case "missing-glyph": 11057 return !1; 11058 default: 11059 return !0; 11060 } 11061} 11062var aliases = new Map([ 11063 ["acceptCharset", "accept-charset"], 11064 ["htmlFor", "for"], 11065 ["httpEquiv", "http-equiv"], 11066 ["crossOrigin", "crossorigin"], 11067 ["accentHeight", "accent-height"], 11068 ["alignmentBaseline", "alignment-baseline"], 11069 ["arabicForm", "arabic-form"], 11070 ["baselineShift", "baseline-shift"], 11071 ["capHeight", "cap-height"], 11072 ["clipPath", "clip-path"], 11073 ["clipRule", "clip-rule"], 11074 ["colorInterpolation", "color-interpolation"], 11075 ["colorInterpolationFilters", "color-interpolation-filters"], 11076 ["colorProfile", "color-profile"],
11077 ["colorRendering", "color-rendering"], 11078 ["dominantBaseline", "dominant-baseline"], 11079 ["enableBackground", "enable-background"], 11080 ["fillOpacity", "fill-opacity"], 11081 ["fillRule", "fill-rule"], 11082 ["floodColor", "flood-color"], 11083 ["floodOpacity", "flood-opacity"], 11084 ["fontFamily", "font-family"], 11085 ["fontSize", "font-size"], 11086 ["fontSizeAdjust", "font-size-adjust"], 11087 ["fontStretch", "font-stretch"], 11088 ["fontStyle", "font-style"], 11089 ["fontVariant", "font-variant"], 11090 ["fontWeight", "font-weight"], 11091 ["glyphName", "glyph-name"], 11092 ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], 11093 ["glyphOrientationVertical", "glyph-orientation-vertical"], 11094 ["horizAdvX", "horiz-adv-x"], 11095 ["horizOriginX", "horiz-origin-x"], 11096 ["imageRendering", "image-rendering"], 11097 ["letterSpacing", "letter-spacing"], 11098 ["lightingColor", "lighting-color"], 11099 ["markerEnd", "marker-end"], 11100 ["markerMid", "marker-mid"], 11101 ["markerStart", "marker-start"], 11102 ["overlinePosition", "overline-position"], 11103 ["overlineThickness", "overline-thickness"], 11104 ["paintOrder", "paint-order"], 11105 ["panose-1", "panose-1"], 11106 ["pointerEvents", "pointer-events"], 11107 ["renderingIntent", "rendering-intent"], 11108 ["shapeRendering", "shape-rendering"], 11109 ["stopColor", "stop-color"], 11110 ["stopOpacity", "stop-opacity"], 11111 ["strikethroughPosition", "strikethrough-position"], 11112 ["strikethroughThickness", "strikethrough-thickness"], 11113 ["strokeDasharray", "stroke-dasharray"], 11114 ["strokeDashoffset", "stroke-dashoffset"], 11115 ["strokeLinecap", "stroke-linecap"], 11116 ["strokeLinejoin", "stroke-linejoin"], 11117 ["strokeMiterlimit", "stroke-miterlimit"], 11118 ["strokeOpacity", "stroke-opacity"], 11119 ["strokeWidth", "stroke-width"], 11120 ["textAnchor", "text-anchor"], 11121 ["textDecoration", "text-decoration"], 11122 ["textRendering", "text-rendering"], 11123 ["transformOrigin", "transform-origin"], 11124 ["underlinePosition", "underline-position"], 11125 ["underlineThickness", "underline-thickness"], 11126 ["unicodeBidi", "unicode-bidi"], 11127 ["unicodeRange", "unicode-range"], 11128 ["unitsPerEm", "units-per-em"], 11129 ["vAlphabetic", "v-alphabetic"], 11130 ["vHanging", "v-hanging"], 11131 ["vIdeographic", "v-ideographic"], 11132 ["vMathematical", "v-mathematical"], 11133 ["vectorEffect", "vector-effect"], 11134 ["vertAdvY", "vert-adv-y"], 11135 ["vertOriginX", "vert-origin-x"], 11136 ["vertOriginY", "vert-origin-y"], 11137 ["wordSpacing", "word-spacing"], 11138 ["writingMode", "writing-mode"], 11139 ["xmlnsXlink", "xmlns:xlink"], 11140 ["xHeight", "x-height"] 11141 ]), 11142 isJavaScriptProtocol = 11143 /^[\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; 11144function sanitizeURL(url) { 11145 return isJavaScriptProtocol.test("" + url) 11146 ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" 11147 : url; 11148} 11149var currentReplayingEvent = null; 11150function getEventTarget(nativeEvent) { 11151 nativeEvent = nativeEvent.target || nativeEvent.srcElement || window; 11152 nativeEvent.correspondingUseElement && 11153 (nativeEvent = nativeEvent.correspondingUseElement); 11154 return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent; 11155} 11156var restoreTarget = null, 11157 restoreQueue = null; 11158function restoreStateOfTarget(target) { 11159 var internalInstance = getInstanceFromNode(target); 11160 if (internalInstance && (target = internalInstance.stateNode)) { 11161 var props = target[internalPropsKey] || null; 11162 a: switch (((target = internalInstance.stateNode), internalInstance.type)) { 11163 case "input": 11164 updateInput( 11165 target, 11166 props.value, 11167 props.defaultValue, 11168 props.defaultValue, 11169 props.checked, 11170 props.defaultChecked, 11171 props.type, 11172 props.name 11173 ); 11174 internalInstance = props.name; 11175 if ("radio" === props.type && null != internalInstance) { 11176 for (props = target; props.parentNode; ) props = props.parentNode; 11177 props = props.querySelectorAll( 11178 'input[name="' + 11179 escapeSelectorAttributeValueInsideDoubleQuotes( 11180 "" + internalInstance 11181 ) + 11182 '"][type="radio"]' 11183 ); 11184 for ( 11185 internalInstance = 0; 11186 internalInstance < props.length; 11187 internalInstance++ 11188 ) { 11189 var otherNode = props[internalInstance];
11190 if (otherNode !== target && otherNode.form === target.form) { 11191 var otherProps = otherNode[internalPropsKey] || null; 11192 if (!otherProps) throw Error(formatProdErrorMessage(90)); 11193 updateInput( 11194 otherNode, 11195 otherProps.value, 11196 otherProps.defaultValue, 11197 otherProps.defaultValue, 11198 otherProps.checked, 11199 otherProps.defaultChecked, 11200 otherProps.type, 11201 otherProps.name 11202 ); 11203 } 11204 } 11205 for ( 11206 internalInstance = 0; 11207 internalInstance < props.length; 11208 internalInstance++ 11209 ) 11210 (otherNode = props[internalInstance]), 11211 otherNode.form === target.form && updateValueIfChanged(otherNode); 11212 } 11213 break a; 11214 case "textarea": 11215 updateTextarea(target, props.value, props.defaultValue); 11216 break a; 11217 case "select": 11218 (internalInstance = props.value), 11219 null != internalInstance && 11220 updateOptions(target, !!props.multiple, internalInstance, !1); 11221 } 11222 } 11223} 11224var isInsideEventHandler = !1; 11225function batchedUpdates$1(fn, a, b) { 11226 if (isInsideEventHandler) return fn(a, b); 11227 isInsideEventHandler = !0; 11228 try { 11229 var JSCompiler_inline_result = fn(a); 11230 return JSCompiler_inline_result; 11231 } finally { 11232 if ( 11233 ((isInsideEventHandler = !1), 11234 null !== restoreTarget || null !== restoreQueue) 11235 ) 11236 if ( 11237 (flushSyncWork$1(), 11238 restoreTarget && 11239 ((a = restoreTarget), 11240 (fn = restoreQueue), 11241 (restoreQueue = restoreTarget = null), 11242 restoreStateOfTarget(a), 11243 fn)) 11244 ) 11245 for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]); 11246 } 11247} 11248function getListener(inst, registrationName) { 11249 var stateNode = inst.stateNode; 11250 if (null === stateNode) return null; 11251 var props = stateNode[internalPropsKey] || null; 11252 if (null === props) return null; 11253 stateNode = props[registrationName]; 11254 a: switch (registrationName) { 11255 case "onClick": 11256 case "onClickCapture": 11257 case "onDoubleClick": 11258 case "onDoubleClickCapture": 11259 case "onMouseDown": 11260 case "onMouseDownCapture": 11261 case "onMouseMove": 11262 case "onMouseMoveCapture": 11263 case "onMouseUp": 11264 case "onMouseUpCapture": 11265 case "onMouseEnter": 11266 (props = !props.disabled) || 11267 ((inst = inst.type), 11268 (props = !( 11269 "button" === inst || 11270 "input" === inst || 11271 "select" === inst || 11272 "textarea" === inst 11273 ))); 11274 inst = !props; 11275 break a; 11276 default: 11277 inst = !1; 11278 } 11279 if (inst) return null; 11280 if (stateNode && "function" !== typeof stateNode) 11281 throw Error( 11282 formatProdErrorMessage(231, registrationName, typeof stateNode) 11283 ); 11284 return stateNode; 11285} 11286var canUseDOM = !( 11287 "undefined" === typeof window || 11288 "undefined" === typeof window.document || 11289 "undefined" === typeof window.document.createElement 11290 ), 11291 passiveBrowserEventsSupported = !1; 11292if (canUseDOM) 11293 try { 11294 var options = {}; 11295 Object.defineProperty(options, "passive", { 11296 get: function () { 11297 passiveBrowserEventsSupported = !0; 11298 } 11299 }); 11300 window.addEventListener("test", options, options); 11301 window.removeEventListener("test", options, options); 11302 } catch (e) { 11303 passiveBrowserEventsSupported = !1; 11304 } 11305var root = null, 11306 startText = null, 11307 fallbackText = null; 11308function getData() { 11309 if (fallbackText) return fallbackText; 11310 var start, 11311 startValue = startText, 11312 startLength = startValue.length, 11313 end, 11314 endValue = "value" in root ? root.value : root.textContent, 11315 endLength = endValue.length; 11316 for ( 11317 start = 0; 11318 start < startLength && startValue[start] === endValue[start]; 11319 start++ 11320 ); 11321 var minEnd = startLength - start; 11322 for ( 11323 end = 1; 11324 end <= minEnd && 11325 startValue[startLength - end] === endValue[endLength - end]; 11326 end++ 11327 ); 11328 return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0)); 11329}
11330function getEventCharCode(nativeEvent) { 11331 var keyCode = nativeEvent.keyCode; 11332 "charCode" in nativeEvent 11333 ? ((nativeEvent = nativeEvent.charCode), 11334 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13)) 11335 : (nativeEvent = keyCode); 11336 10 === nativeEvent && (nativeEvent = 13); 11337 return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0; 11338} 11339function functionThatReturnsTrue() { 11340 return !0; 11341} 11342function functionThatReturnsFalse() { 11343 return !1; 11344} 11345function createSyntheticEvent(Interface) { 11346 function SyntheticBaseEvent( 11347 reactName, 11348 reactEventType, 11349 targetInst, 11350 nativeEvent, 11351 nativeEventTarget 11352 ) { 11353 this._reactName = reactName; 11354 this._targetInst = targetInst; 11355 this.type = reactEventType; 11356 this.nativeEvent = nativeEvent; 11357 this.target = nativeEventTarget; 11358 this.currentTarget = null; 11359 for (var propName in Interface) 11360 Interface.hasOwnProperty(propName) && 11361 ((reactName = Interface[propName]), 11362 (this[propName] = reactName 11363 ? reactName(nativeEvent) 11364 : nativeEvent[propName])); 11365 this.isDefaultPrevented = ( 11366 null != nativeEvent.defaultPrevented 11367 ? nativeEvent.defaultPrevented 11368 : !1 === nativeEvent.returnValue 11369 ) 11370 ? functionThatReturnsTrue 11371 : functionThatReturnsFalse; 11372 this.isPropagationStopped = functionThatReturnsFalse; 11373 return this; 11374 } 11375 assign(SyntheticBaseEvent.prototype, { 11376 preventDefault: function () { 11377 this.defaultPrevented = !0; 11378 var event = this.nativeEvent; 11379 event && 11380 (event.preventDefault 11381 ? event.preventDefault() 11382 : "unknown" !== typeof event.returnValue && (event.returnValue = !1), 11383 (this.isDefaultPrevented = functionThatReturnsTrue)); 11384 }, 11385 stopPropagation: function () { 11386 var event = this.nativeEvent; 11387 event && 11388 (event.stopPropagation 11389 ? event.stopPropagation() 11390 : "unknown" !== typeof event.cancelBubble && 11391 (event.cancelBubble = !0), 11392 (this.isPropagationStopped = functionThatReturnsTrue)); 11393 }, 11394 persist: function () {}, 11395 isPersistent: functionThatReturnsTrue 11396 }); 11397 return SyntheticBaseEvent; 11398} 11399var EventInterface = { 11400 eventPhase: 0, 11401 bubbles: 0, 11402 cancelable: 0, 11403 timeStamp: function (event) { 11404 return event.timeStamp || Date.now(); 11405 }, 11406 defaultPrevented: 0, 11407 isTrusted: 0 11408 }, 11409 SyntheticEvent = createSyntheticEvent(EventInterface), 11410 UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }), 11411 SyntheticUIEvent = createSyntheticEvent(UIEventInterface), 11412 lastMovementX, 11413 lastMovementY, 11414 lastMouseEvent, 11415 MouseEventInterface = assign({}, UIEventInterface, { 11416 screenX: 0, 11417 screenY: 0, 11418 clientX: 0, 11419 clientY: 0, 11420 pageX: 0, 11421 pageY: 0, 11422 ctrlKey: 0,
11423 shiftKey: 0, 11424 altKey: 0, 11425 metaKey: 0, 11426 getModifierState: getEventModifierState, 11427 button: 0, 11428 buttons: 0, 11429 relatedTarget: function (event) { 11430 return void 0 === event.relatedTarget 11431 ? event.fromElement === event.srcElement 11432 ? event.toElement 11433 : event.fromElement 11434 : event.relatedTarget; 11435 }, 11436 movementX: function (event) { 11437 if ("movementX" in event) return event.movementX; 11438 event !== lastMouseEvent && 11439 (lastMouseEvent && "mousemove" === event.type 11440 ? ((lastMovementX = event.screenX - lastMouseEvent.screenX), 11441 (lastMovementY = event.screenY - lastMouseEvent.screenY)) 11442 : (lastMovementY = lastMovementX = 0), 11443 (lastMouseEvent = event)); 11444 return lastMovementX; 11445 }, 11446 movementY: function (event) { 11447 return "movementY" in event ? event.movementY : lastMovementY; 11448 } 11449 }), 11450 SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), 11451 DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }), 11452 SyntheticDragEvent = createSyntheticEvent(DragEventInterface), 11453 FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }), 11454 SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), 11455 AnimationEventInterface = assign({}, EventInterface, { 11456 animationName: 0, 11457 elapsedTime: 0, 11458 pseudoElement: 0 11459 }), 11460 SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), 11461 ClipboardEventInterface = assign({}, EventInterface, { 11462 clipboardData: function (event) { 11463 return "clipboardData" in event 11464 ? event.clipboardData 11465 : window.clipboardData; 11466 } 11467 }), 11468 SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), 11469 CompositionEventInterface = assign({}, EventInterface, { data: 0 }), 11470 SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), 11471 normalizeKey = { 11472 Esc: "Escape", 11473 Spacebar: " ", 11474 Left: "ArrowLeft", 11475 Up: "ArrowUp", 11476 Right: "ArrowRight", 11477 Down: "ArrowDown", 11478 Del: "Delete", 11479 Win: "OS", 11480 Menu: "ContextMenu", 11481 Apps: "ContextMenu", 11482 Scroll: "ScrollLock", 11483 MozPrintableKey: "Unidentified" 11484 }, 11485 translateToKey = { 11486 8: "Backspace", 11487 9: "Tab", 11488 12: "Clear", 11489 13: "Enter", 11490 16: "Shift", 11491 17: "Control", 11492 18: "Alt", 11493 19: "Pause", 11494 20: "CapsLock", 11495 27: "Escape", 11496 32: " ", 11497 33: "PageUp", 11498 34: "PageDown", 11499 35: "End", 11500 36: "Home", 11501 37: "ArrowLeft", 11502 38: "ArrowUp", 11503 39: "ArrowRight", 11504 40: "ArrowDown", 11505 45: "Insert", 11506 46: "Delete", 11507 112: "F1", 11508 113: "F2", 11509 114: "F3", 11510 115: "F4", 11511 116: "F5", 11512 117: "F6", 11513 118: "F7", 11514 119: "F8", 11515 120: "F9", 11516 121: "F10", 11517 122: "F11", 11518 123: "F12", 11519 144: "NumLock", 11520 145: "ScrollLock", 11521 224: "Meta" 11522 }, 11523 modifierKeyToProp = { 11524 Alt: "altKey", 11525 Control: "ctrlKey", 11526 Meta: "metaKey", 11527 Shift: "shiftKey" 11528 }; 11529function modifierStateGetter(keyArg) { 11530 var nativeEvent = this.nativeEvent; 11531 return nativeEvent.getModifierState 11532 ? nativeEvent.getModifierState(keyArg) 11533 : (keyArg = modifierKeyToProp[keyArg]) 11534 ? !!nativeEvent[keyArg] 11535 : !1; 11536} 11537function getEventModifierState() { 11538 return modifierStateGetter; 11539} 11540var KeyboardEventInterface = assign({}, UIEventInterface, { 11541 key: function (nativeEvent) { 11542 if (nativeEvent.key) { 11543 var key = normalizeKey[nativeEvent.key] || nativeEvent.key; 11544 if ("Unidentified" !== key) return key; 11545 } 11546 return "keypress" === nativeEvent.type 11547 ? ((nativeEvent = getEventCharCode(nativeEvent)), 11548 13 === nativeEvent ? "Enter" : String.fromCharCode(nativeEvent)) 11549 : "keydown" === nativeEvent.type || "keyup" === nativeEvent.type 11550 ? translateToKey[nativeEvent.keyCode] || "Unidentified" 11551 : ""; 11552 }, 11553 code: 0, 11554 location: 0, 11555 ctrlKey: 0,
11556 shiftKey: 0, 11557 altKey: 0, 11558 metaKey: 0, 11559 repeat: 0, 11560 locale: 0, 11561 getModifierState: getEventModifierState, 11562 charCode: function (event) { 11563 return "keypress" === event.type ? getEventCharCode(event) : 0; 11564 }, 11565 keyCode: function (event) { 11566 return "keydown" === event.type || "keyup" === event.type 11567 ? event.keyCode 11568 : 0; 11569 }, 11570 which: function (event) { 11571 return "keypress" === event.type 11572 ? getEventCharCode(event) 11573 : "keydown" === event.type || "keyup" === event.type 11574 ? event.keyCode 11575 : 0; 11576 } 11577 }), 11578 SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), 11579 PointerEventInterface = assign({}, MouseEventInterface, { 11580 pointerId: 0, 11581 width: 0, 11582 height: 0, 11583 pressure: 0, 11584 tangentialPressure: 0, 11585 tiltX: 0, 11586 tiltY: 0, 11587 twist: 0, 11588 pointerType: 0, 11589 isPrimary: 0 11590 }), 11591 SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), 11592 TouchEventInterface = assign({}, UIEventInterface, { 11593 touches: 0, 11594 targetTouches: 0, 11595 changedTouches: 0, 11596 altKey: 0, 11597 metaKey: 0, 11598 ctrlKey: 0,
11599 shiftKey: 0, 11600 getModifierState: getEventModifierState 11601 }), 11602 SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), 11603 TransitionEventInterface = assign({}, EventInterface, { 11604 propertyName: 0, 11605 elapsedTime: 0, 11606 pseudoElement: 0 11607 }), 11608 SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), 11609 WheelEventInterface = assign({}, MouseEventInterface, { 11610 deltaX: function (event) { 11611 return "deltaX" in event 11612 ? event.deltaX 11613 : "wheelDeltaX" in event 11614 ? -event.wheelDeltaX 11615 : 0; 11616 }, 11617 deltaY: function (event) { 11618 return "deltaY" in event 11619 ? event.deltaY 11620 : "wheelDeltaY" in event 11621 ? -event.wheelDeltaY 11622 : "wheelDelta" in event 11623 ? -event.wheelDelta 11624 : 0; 11625 }, 11626 deltaZ: 0, 11627 deltaMode: 0 11628 }), 11629 SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), 11630 ToggleEventInterface = assign({}, EventInterface, { 11631 newState: 0, 11632 oldState: 0 11633 }), 11634 SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), 11635 END_KEYCODES = [9, 13, 27, 32], 11636 canUseCompositionEvent = canUseDOM && "CompositionEvent" in window, 11637 documentMode = null; 11638canUseDOM && 11639 "documentMode" in document && 11640 (documentMode = document.documentMode); 11641var canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode, 11642 useFallbackCompositionData = 11643 canUseDOM && 11644 (!canUseCompositionEvent || 11645 (documentMode && 8 < documentMode && 11 >= documentMode)), 11646 SPACEBAR_CHAR = String.fromCharCode(32), 11647 hasSpaceKeypress = !1; 11648function isFallbackCompositionEnd(domEventName, nativeEvent) { 11649 switch (domEventName) { 11650 case "keyup": 11651 return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode); 11652 case "keydown": 11653 return 229 !== nativeEvent.keyCode; 11654 case "keypress": 11655 case "mousedown": 11656 case "focusout": 11657 return !0; 11658 default: 11659 return !1; 11660 } 11661} 11662function getDataFromCustomEvent(nativeEvent) { 11663 nativeEvent = nativeEvent.detail; 11664 return "object" === typeof nativeEvent && "data" in nativeEvent 11665 ? nativeEvent.data 11666 : null; 11667} 11668var isComposing = !1; 11669function getNativeBeforeInputChars(domEventName, nativeEvent) { 11670 switch (domEventName) { 11671 case "compositionend": 11672 return getDataFromCustomEvent(nativeEvent); 11673 case "keypress": 11674 if (32 !== nativeEvent.which) return null; 11675 hasSpaceKeypress = !0; 11676 return SPACEBAR_CHAR; 11677 case "textInput": 11678 return ( 11679 (domEventName = nativeEvent.data), 11680 domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName 11681 ); 11682 default: 11683 return null; 11684 } 11685} 11686function getFallbackBeforeInputChars(domEventName, nativeEvent) { 11687 if (isComposing) 11688 return "compositionend" === domEventName || 11689 (!canUseCompositionEvent && 11690 isFallbackCompositionEnd(domEventName, nativeEvent)) 11691 ? ((domEventName = getData()), 11692 (fallbackText = startText = root = null), 11693 (isComposing = !1), 11694 domEventName) 11695 : null; 11696 switch (domEventName) { 11697 case "paste": 11698 return null; 11699 case "keypress": 11700 if ( 11701 !(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || 11702 (nativeEvent.ctrlKey && nativeEvent.altKey) 11703 ) { 11704 if (nativeEvent.char && 1 < nativeEvent.char.length) 11705 return nativeEvent.char; 11706 if (nativeEvent.which) return String.fromCharCode(nativeEvent.which); 11707 } 11708 return null; 11709 case "compositionend": 11710 return useFallbackCompositionData && "ko" !== nativeEvent.locale 11711 ? null 11712 : nativeEvent.data; 11713 default: 11714 return null; 11715 } 11716} 11717var supportedInputTypes = { 11718 color: !0, 11719 date: !0, 11720 datetime: !0, 11721 "datetime-local": !0, 11722 email: !0, 11723 month: !0, 11724 number: !0, 11725 password: !0, 11726 range: !0, 11727 search: !0, 11728 tel: !0, 11729 text: !0, 11730 time: !0, 11731 url: !0, 11732 week: !0 11733}; 11734function isTextInputElement(elem) { 11735 var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); 11736 return "input" === nodeName 11737 ? !!supportedInputTypes[elem.type] 11738 : "textarea" === nodeName 11739 ? !0 11740 : !1; 11741} 11742function createAndAccumulateChangeEvent( 11743 dispatchQueue, 11744 inst, 11745 nativeEvent, 11746 target 11747) { 11748 restoreTarget 11749 ? restoreQueue 11750 ? restoreQueue.push(target) 11751 : (restoreQueue = [target]) 11752 : (restoreTarget = target); 11753 inst = accumulateTwoPhaseListeners(inst, "onChange"); 11754 0 < inst.length && 11755 ((nativeEvent = new SyntheticEvent( 11756 "onChange", 11757 "change", 11758 null, 11759 nativeEvent, 11760 target 11761 )), 11762 dispatchQueue.push({ event: nativeEvent, listeners: inst })); 11763} 11764var activeElement$1 = null, 11765 activeElementInst$1 = null; 11766function runEventInBatch(dispatchQueue) {
11767 processDispatchQueue(dispatchQueue, 0); 11768} 11769function getInstIfValueChanged(targetInst) { 11770 var targetNode = getNodeFromInstance(targetInst); 11771 if (updateValueIfChanged(targetNode)) return targetInst; 11772} 11773function getTargetInstForChangeEvent(domEventName, targetInst) { 11774 if ("change" === domEventName) return targetInst; 11775} 11776var isInputEventSupported = !1; 11777if (canUseDOM) { 11778 var JSCompiler_inline_result$jscomp$282; 11779 if (canUseDOM) { 11780 var isSupported$jscomp$inline_417 = "oninput" in document; 11781 if (!isSupported$jscomp$inline_417) { 11782 var element$jscomp$inline_418 = document.createElement("div"); 11783 element$jscomp$inline_418.setAttribute("oninput", "return;"); 11784 isSupported$jscomp$inline_417 = 11785 "function" === typeof element$jscomp$inline_418.oninput; 11786 } 11787 JSCompiler_inline_result$jscomp$282 = isSupported$jscomp$inline_417; 11788 } else JSCompiler_inline_result$jscomp$282 = !1; 11789 isInputEventSupported = 11790 JSCompiler_inline_result$jscomp$282 && 11791 (!document.documentMode || 9 < document.documentMode); 11792} 11793function stopWatchingForValueChange() { 11794 activeElement$1 && 11795 (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), 11796 (activeElementInst$1 = activeElement$1 = null)); 11797} 11798function handlePropertyChange(nativeEvent) { 11799 if ( 11800 "value" === nativeEvent.propertyName && 11801 getInstIfValueChanged(activeElementInst$1) 11802 ) { 11803 var dispatchQueue = []; 11804 createAndAccumulateChangeEvent( 11805 dispatchQueue, 11806 activeElementInst$1, 11807 nativeEvent, 11808 getEventTarget(nativeEvent) 11809 ); 11810 batchedUpdates$1(runEventInBatch, dispatchQueue); 11811 } 11812} 11813function handleEventsForInputEventPolyfill(domEventName, target, targetInst) { 11814 "focusin" === domEventName 11815 ? (stopWatchingForValueChange(), 11816 (activeElement$1 = target), 11817 (activeElementInst$1 = targetInst), 11818 activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) 11819 : "focusout" === domEventName && stopWatchingForValueChange(); 11820} 11821function getTargetInstForInputEventPolyfill(domEventName) { 11822 if ( 11823 "selectionchange" === domEventName || 11824 "keyup" === domEventName || 11825 "keydown" === domEventName 11826 ) 11827 return getInstIfValueChanged(activeElementInst$1); 11828} 11829function getTargetInstForClickEvent(domEventName, targetInst) { 11830 if ("click" === domEventName) return getInstIfValueChanged(targetInst); 11831} 11832function getTargetInstForInputOrChangeEvent(domEventName, targetInst) { 11833 if ("input" === domEventName || "change" === domEventName) 11834 return getInstIfValueChanged(targetInst); 11835} 11836function is(x, y) { 11837 return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); 11838} 11839var objectIs = "function" === typeof Object.is ? Object.is : is; 11840function shallowEqual(objA, objB) { 11841 if (objectIs(objA, objB)) return !0; 11842 if ( 11843 "object" !== typeof objA || 11844 null === objA || 11845 "object" !== typeof objB || 11846 null === objB 11847 ) 11848 return !1; 11849 var keysA = Object.keys(objA), 11850 keysB = Object.keys(objB); 11851 if (keysA.length !== keysB.length) return !1; 11852 for (keysB = 0; keysB < keysA.length; keysB++) { 11853 var currentKey = keysA[keysB]; 11854 if ( 11855 !hasOwnProperty.call(objB, currentKey) || 11856 !objectIs(objA[currentKey], objB[currentKey]) 11857 ) 11858 return !1; 11859 } 11860 return !0; 11861} 11862function getLeafNode(node) { 11863 for (; node && node.firstChild; ) node = node.firstChild; 11864 return node; 11865} 11866function getNodeForCharacterOffset(root, offset) { 11867 var node = getLeafNode(root); 11868 root = 0; 11869 for (var nodeEnd; node; ) { 11870 if (3 === node.nodeType) { 11871 nodeEnd = root + node.textContent.length; 11872 if (root <= offset && nodeEnd >= offset) 11873 return { node: node, offset: offset - root }; 11874 root = nodeEnd; 11875 } 11876 a: { 11877 for (; node; ) { 11878 if (node.nextSibling) { 11879 node = node.nextSibling; 11880 break a; 11881 } 11882 node = node.parentNode; 11883 } 11884 node = void 0; 11885 } 11886 node = getLeafNode(node); 11887 } 11888} 11889function containsNode(outerNode, innerNode) { 11890 return outerNode && innerNode 11891 ? outerNode === innerNode 11892 ? !0 11893 : outerNode && 3 === outerNode.nodeType 11894 ? !1 11895 : innerNode && 3 === innerNode.nodeType
11896 ? containsNode(outerNode, innerNode.parentNode) 11897 : "contains" in outerNode 11898 ? outerNode.contains(innerNode) 11899 : outerNode.compareDocumentPosition 11900 ? !!(outerNode.compareDocumentPosition(innerNode) & 16) 11901 : !1 11902 : !1; 11903} 11904function getActiveElementDeep(containerInfo) { 11905 containerInfo = 11906 null != containerInfo && 11907 null != containerInfo.ownerDocument && 11908 null != containerInfo.ownerDocument.defaultView 11909 ? containerInfo.ownerDocument.defaultView 11910 : window; 11911 for ( 11912 var element = getActiveElement(containerInfo.document); 11913 element instanceof containerInfo.HTMLIFrameElement; 11914 11915 ) { 11916 try { 11917 var JSCompiler_inline_result = 11918 "string" === typeof element.contentWindow.location.href; 11919 } catch (err) { 11920 JSCompiler_inline_result = !1; 11921 } 11922 if (JSCompiler_inline_result) containerInfo = element.contentWindow; 11923 else break; 11924 element = getActiveElement(containerInfo.document); 11925 } 11926 return element; 11927} 11928function hasSelectionCapabilities(elem) { 11929 var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); 11930 return ( 11931 nodeName && 11932 (("input" === nodeName && 11933 ("text" === elem.type || 11934 "search" === elem.type || 11935 "tel" === elem.type || 11936 "url" === elem.type || 11937 "password" === elem.type)) || 11938 "textarea" === nodeName || 11939 "true" === elem.contentEditable) 11940 ); 11941} 11942var skipSelectionChangeEvent = 11943 canUseDOM && "documentMode" in document && 11 >= document.documentMode, 11944 activeElement = null, 11945 activeElementInst = null, 11946 lastSelection = null, 11947 mouseDown = !1; 11948function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) { 11949 var doc = 11950 nativeEventTarget.window === nativeEventTarget 11951 ? nativeEventTarget.document 11952 : 9 === nativeEventTarget.nodeType 11953 ? nativeEventTarget 11954 : nativeEventTarget.ownerDocument;
11955 mouseDown || 11956 null == activeElement || 11957 activeElement !== getActiveElement(doc) || 11958 ((doc = activeElement), 11959 "selectionStart" in doc && hasSelectionCapabilities(doc) 11960 ? (doc = { start: doc.selectionStart, end: doc.selectionEnd }) 11961 : ((doc = ( 11962 (doc.ownerDocument && doc.ownerDocument.defaultView) || 11963 window 11964 ).getSelection()), 11965 (doc = { 11966 anchorNode: doc.anchorNode, 11967 anchorOffset: doc.anchorOffset, 11968 focusNode: doc.focusNode, 11969 focusOffset: doc.focusOffset 11970 })), 11971 (lastSelection && shallowEqual(lastSelection, doc)) || 11972 ((lastSelection = doc), 11973 (doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect")), 11974 0 < doc.length && 11975 ((nativeEvent = new SyntheticEvent( 11976 "onSelect", 11977 "select", 11978 null, 11979 nativeEvent, 11980 nativeEventTarget 11981 )), 11982 dispatchQueue.push({ event: nativeEvent, listeners: doc }), 11983 (nativeEvent.target = activeElement)))); 11984} 11985function makePrefixMap(styleProp, eventName) { 11986 var prefixes = {}; 11987 prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(); 11988 prefixes["Webkit" + styleProp] = "webkit" + eventName; 11989 prefixes["Moz" + styleProp] = "moz" + eventName; 11990 return prefixes; 11991} 11992var vendorPrefixes = { 11993 animationend: makePrefixMap("Animation", "AnimationEnd"), 11994 animationiteration: makePrefixMap("Animation", "AnimationIteration"), 11995 animationstart: makePrefixMap("Animation", "AnimationStart"), 11996 transitionrun: makePrefixMap("Transition", "TransitionRun"), 11997 transitionstart: makePrefixMap("Transition", "TransitionStart"), 11998 transitioncancel: makePrefixMap("Transition", "TransitionCancel"), 11999 transitionend: makePrefixMap("Transition", "TransitionEnd") 12000 }, 12001 prefixedEventNames = {}, 12002 style = {}; 12003canUseDOM && 12004 ((style = document.createElement("div").style), 12005 "AnimationEvent" in window || 12006 (delete vendorPrefixes.animationend.animation, 12007 delete vendorPrefixes.animationiteration.animation, 12008 delete vendorPrefixes.animationstart.animation), 12009 "TransitionEvent" in window || 12010 delete vendorPrefixes.transitionend.transition); 12011function getVendorPrefixedEventName(eventName) { 12012 if (prefixedEventNames[eventName]) return prefixedEventNames[eventName]; 12013 if (!vendorPrefixes[eventName]) return eventName; 12014 var prefixMap = vendorPrefixes[eventName], 12015 styleProp; 12016 for (styleProp in prefixMap) 12017 if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) 12018 return (prefixedEventNames[eventName] = prefixMap[styleProp]); 12019 return eventName; 12020} 12021var ANIMATION_END = getVendorPrefixedEventName("animationend"), 12022 ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"), 12023 ANIMATION_START = getVendorPrefixedEventName("animationstart"), 12024 TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"), 12025 TRANSITION_START = getVendorPrefixedEventName("transitionstart"), 12026 TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"), 12027 TRANSITION_END = getVendorPrefixedEventName("transitionend"), 12028 topLevelEventsToReactNames = new Map(), 12029 simpleEventPluginEvents = 12030 "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split( 12031 " " 12032 ); 12033simpleEventPluginEvents.push("scrollEnd"); 12034function registerSimpleEvent(domEventName, reactName) { 12035 topLevelEventsToReactNames.set(domEventName, reactName); 12036 registerTwoPhaseEvent(reactName, [domEventName]); 12037} 12038var CapturedStacks = new WeakMap(); 12039function createCapturedValueAtFiber(value, source) { 12040 if ("object" === typeof value && null !== value) { 12041 var existing = CapturedStacks.get(value); 12042 if (void 0 !== existing) return existing; 12043 source = { 12044 value: value, 12045 source: source, 12046 stack: getStackByFiberInDevAndProd(source) 12047 }; 12048 CapturedStacks.set(value, source); 12049 return source; 12050 } 12051 return { 12052 value: value, 12053 source: source, 12054 stack: getStackByFiberInDevAndProd(source) 12055 }; 12056}
12057var concurrentQueues = [], 12058 concurrentQueuesIndex = 0, 12059 concurrentlyUpdatedLanes = 0; 12060function finishQueueingConcurrentUpdates() { 12061 for ( 12062 var endIndex = concurrentQueuesIndex, 12063 i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0); 12064 i < endIndex; 12065 12066 ) { 12067 var fiber = concurrentQueues[i]; 12068 concurrentQueues[i++] = null; 12069 var queue = concurrentQueues[i]; 12070 concurrentQueues[i++] = null; 12071 var update = concurrentQueues[i]; 12072 concurrentQueues[i++] = null; 12073 var lane = concurrentQueues[i]; 12074 concurrentQueues[i++] = null; 12075 if (null !== queue && null !== update) { 12076 var pending = queue.pending; 12077 null === pending 12078 ? (update.next = update) 12079 : ((update.next = pending.next), (pending.next = update)); 12080 queue.pending = update; 12081 } 12082 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane); 12083 } 12084} 12085function enqueueUpdate$1(fiber, queue, update, lane) { 12086 concurrentQueues[concurrentQueuesIndex++] = fiber; 12087 concurrentQueues[concurrentQueuesIndex++] = queue; 12088 concurrentQueues[concurrentQueuesIndex++] = update; 12089 concurrentQueues[concurrentQueuesIndex++] = lane; 12090 concurrentlyUpdatedLanes |= lane; 12091 fiber.lanes |= lane; 12092 fiber = fiber.alternate; 12093 null !== fiber && (fiber.lanes |= lane); 12094} 12095function enqueueConcurrentHookUpdate(fiber, queue, update, lane) { 12096 enqueueUpdate$1(fiber, queue, update, lane); 12097 return getRootForUpdatedFiber(fiber); 12098} 12099function enqueueConcurrentRenderForLane(fiber, lane) { 12100 enqueueUpdate$1(fiber, null, null, lane); 12101 return getRootForUpdatedFiber(fiber); 12102} 12103function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) { 12104 sourceFiber.lanes |= lane; 12105 var alternate = sourceFiber.alternate; 12106 null !== alternate && (alternate.lanes |= lane); 12107 for (var isHidden = !1, parent = sourceFiber.return; null !== parent; ) 12108 (parent.childLanes |= lane), 12109 (alternate = parent.alternate), 12110 null !== alternate && (alternate.childLanes |= lane), 12111 22 === parent.tag && 12112 ((sourceFiber = parent.stateNode), 12113 null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)), 12114 (sourceFiber = parent), 12115 (parent = parent.return); 12116 return 3 === sourceFiber.tag 12117 ? ((parent = sourceFiber.stateNode), 12118 isHidden && 12119 null !== update && 12120 ((isHidden = 31 - clz32(lane)), 12121 (sourceFiber = parent.hiddenUpdates), 12122 (alternate = sourceFiber[isHidden]), 12123 null === alternate 12124 ? (sourceFiber[isHidden] = [update]) 12125 : alternate.push(update), 12126 (update.lane = lane | 536870912)), 12127 parent) 12128 : null; 12129} 12130function getRootForUpdatedFiber(sourceFiber) { 12131 if (50 < nestedUpdateCount) 12132 throw ( 12133 ((nestedUpdateCount = 0), 12134 (rootWithNestedUpdates = null), 12135 Error(formatProdErrorMessage(185))) 12136 ); 12137 for (var parent = sourceFiber.return; null !== parent; ) 12138 (sourceFiber = parent), (parent = sourceFiber.return); 12139 return 3 === sourceFiber.tag ? sourceFiber.stateNode : null; 12140} 12141var emptyContextObject = {}; 12142function FiberNode(tag, pendingProps, key, mode) { 12143 this.tag = tag; 12144 this.key = key; 12145 this.sibling = 12146 this.child = 12147 this.return = 12148 this.stateNode = 12149 this.type = 12150 this.elementType = 12151 null; 12152 this.index = 0; 12153 this.refCleanup = this.ref = null; 12154 this.pendingProps = pendingProps; 12155 this.dependencies = 12156 this.memoizedState = 12157 this.updateQueue = 12158 this.memoizedProps = 12159 null; 12160 this.mode = mode; 12161 this.subtreeFlags = this.flags = 0; 12162 this.deletions = null; 12163 this.childLanes = this.lanes = 0; 12164 this.alternate = null; 12165} 12166function createFiberImplClass(tag, pendingProps, key, mode) { 12167 return new FiberNode(tag, pendingProps, key, mode); 12168} 12169function shouldConstruct(Component) { 12170 Component = Component.prototype; 12171 return !(!Component || !Component.isReactComponent); 12172} 12173function createWorkInProgress(current, pendingProps) { 12174 var workInProgress = current.alternate; 12175 null === workInProgress 12176 ? ((workInProgress = createFiberImplClass( 12177 current.tag, 12178 pendingProps, 12179 current.key, 12180 current.mode 12181 )), 12182 (workInProgress.elementType = current.elementType), 12183 (workInProgress.type = current.type), 12184 (workInProgress.stateNode = current.stateNode), 12185 (workInProgress.alternate = current), 12186 (current.alternate = workInProgress)) 12187 : ((workInProgress.pendingProps = pendingProps), 12188 (workInProgress.type = current.type), 12189 (workInProgress.flags = 0), 12190 (workInProgress.subtreeFlags = 0), 12191 (workInProgress.deletions = null)); 12192 workInProgress.flags = current.flags & 65011712; 12193 workInProgress.childLanes = current.childLanes; 12194 workInProgress.lanes = current.lanes; 12195 workInProgress.child = current.child; 12196 workInProgress.memoizedProps = current.memoizedProps; 12197 workInProgress.memoizedState = current.memoizedState; 12198 workInProgress.updateQueue = current.updateQueue; 12199 pendingProps = current.dependencies; 12200 workInProgress.dependencies =
12201 null === pendingProps 12202 ? null 12203 : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext }; 12204 workInProgress.sibling = current.sibling; 12205 workInProgress.index = current.index; 12206 workInProgress.ref = current.ref; 12207 workInProgress.refCleanup = current.refCleanup; 12208 return workInProgress; 12209} 12210function resetWorkInProgress(workInProgress, renderLanes) { 12211 workInProgress.flags &= 65011714; 12212 var current = workInProgress.alternate; 12213 null === current 12214 ? ((workInProgress.childLanes = 0), 12215 (workInProgress.lanes = renderLanes), 12216 (workInProgress.child = null), 12217 (workInProgress.subtreeFlags = 0), 12218 (workInProgress.memoizedProps = null), 12219 (workInProgress.memoizedState = null), 12220 (workInProgress.updateQueue = null), 12221 (workInProgress.dependencies = null), 12222 (workInProgress.stateNode = null)) 12223 : ((workInProgress.childLanes = current.childLanes), 12224 (workInProgress.lanes = current.lanes), 12225 (workInProgress.child = current.child), 12226 (workInProgress.subtreeFlags = 0), 12227 (workInProgress.deletions = null),
12228 (workInProgress.memoizedProps = current.memoizedProps), 12229 (workInProgress.memoizedState = current.memoizedState), 12230 (workInProgress.updateQueue = current.updateQueue), 12231 (workInProgress.type = current.type), 12232 (renderLanes = current.dependencies), 12233 (workInProgress.dependencies = 12234 null === renderLanes 12235 ? null 12236 : { 12237 lanes: renderLanes.lanes, 12238 firstContext: renderLanes.firstContext 12239 })); 12240 return workInProgress; 12241} 12242function createFiberFromTypeAndProps( 12243 type, 12244 key, 12245 pendingProps, 12246 owner, 12247 mode, 12248 lanes 12249) { 12250 var fiberTag = 0; 12251 owner = type; 12252 if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1); 12253 else if ("string" === typeof type) 12254 fiberTag = isHostHoistableType( 12255 type, 12256 pendingProps, 12257 contextStackCursor.current 12258 ) 12259 ? 26 12260 : "html" === type || "head" === type || "body" === type 12261 ? 27 12262 : 5; 12263 else 12264 a: switch (type) { 12265 case REACT_ACTIVITY_TYPE: 12266 return ( 12267 (type = createFiberImplClass(31, pendingProps, key, mode)), 12268 (type.elementType = REACT_ACTIVITY_TYPE), 12269 (type.lanes = lanes), 12270 type 12271 ); 12272 case REACT_FRAGMENT_TYPE: 12273 return createFiberFromFragment(pendingProps.children, mode, lanes, key); 12274 case REACT_STRICT_MODE_TYPE: 12275 fiberTag = 8; 12276 mode |= 24; 12277 break; 12278 case REACT_PROFILER_TYPE: 12279 return ( 12280 (type = createFiberImplClass(12, pendingProps, key, mode | 2)), 12281 (type.elementType = REACT_PROFILER_TYPE), 12282 (type.lanes = lanes), 12283 type 12284 ); 12285 case REACT_SUSPENSE_TYPE: 12286 return ( 12287 (type = createFiberImplClass(13, pendingProps, key, mode)), 12288 (type.elementType = REACT_SUSPENSE_TYPE), 12289 (type.lanes = lanes), 12290 type 12291 ); 12292 case REACT_SUSPENSE_LIST_TYPE: 12293 return ( 12294 (type = createFiberImplClass(19, pendingProps, key, mode)), 12295 (type.elementType = REACT_SUSPENSE_LIST_TYPE), 12296 (type.lanes = lanes), 12297 type 12298 ); 12299 default: 12300 if ("object" === typeof type && null !== type) 12301 switch (type.$$typeof) { 12302 case REACT_PROVIDER_TYPE: 12303 case REACT_CONTEXT_TYPE: 12304 fiberTag = 10; 12305 break a; 12306 case REACT_CONSUMER_TYPE: 12307 fiberTag = 9; 12308 break a; 12309 case REACT_FORWARD_REF_TYPE: 12310 fiberTag = 11; 12311 break a; 12312 case REACT_MEMO_TYPE: 12313 fiberTag = 14; 12314 break a; 12315 case REACT_LAZY_TYPE: 12316 fiberTag = 16; 12317 owner = null; 12318 break a; 12319 } 12320 fiberTag = 29; 12321 pendingProps = Error( 12322 formatProdErrorMessage(130, null === type ? "null" : typeof type, "") 12323 ); 12324 owner = null; 12325 } 12326 key = createFiberImplClass(fiberTag, pendingProps, key, mode); 12327 key.elementType = type; 12328 key.type = owner; 12329 key.lanes = lanes; 12330 return key; 12331} 12332function createFiberFromFragment(elements, mode, lanes, key) { 12333 elements = createFiberImplClass(7, elements, key, mode); 12334 elements.lanes = lanes; 12335 return elements; 12336} 12337function createFiberFromText(content, mode, lanes) { 12338 content = createFiberImplClass(6, content, null, mode); 12339 content.lanes = lanes; 12340 return content; 12341} 12342function createFiberFromPortal(portal, mode, lanes) { 12343 mode = createFiberImplClass( 12344 4, 12345 null !== portal.children ? portal.children : [], 12346 portal.key, 12347 mode 12348 ); 12349 mode.lanes = lanes; 12350 mode.stateNode = { 12351 containerInfo: portal.containerInfo, 12352 pendingChildren: null, 12353 implementation: portal.implementation 12354 }; 12355 return mode; 12356} 12357var forkStack = [], 12358 forkStackIndex = 0, 12359 treeForkProvider = null, 12360 treeForkCount = 0, 12361 idStack = [], 12362 idStackIndex = 0, 12363 treeContextProvider = null, 12364 treeContextId = 1, 12365 treeContextOverflow = ""; 12366function pushTreeFork(workInProgress, totalChildren) { 12367 forkStack[forkStackIndex++] = treeForkCount; 12368 forkStack[forkStackIndex++] = treeForkProvider; 12369 treeForkProvider = workInProgress; 12370 treeForkCount = totalChildren; 12371} 12372function pushTreeId(workInProgress, totalChildren, index) { 12373 idStack[idStackIndex++] = treeContextId; 12374 idStack[idStackIndex++] = treeContextOverflow; 12375 idStack[idStackIndex++] = treeContextProvider; 12376 treeContextProvider = workInProgress; 12377 var baseIdWithLeadingBit = treeContextId; 12378 workInProgress = treeContextOverflow; 12379 var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1; 12380 baseIdWithLeadingBit &= ~(1 << baseLength); 12381 index += 1; 12382 var length = 32 - clz32(totalChildren) + baseLength; 12383 if (30 < length) { 12384 var numberOfOverflowBits = baseLength - (baseLength % 5); 12385 length = ( 12386 baseIdWithLeadingBit & 12387 ((1 << numberOfOverflowBits) - 1) 12388 ).toString(32); 12389 baseIdWithLeadingBit >>= numberOfOverflowBits; 12390 baseLength -= numberOfOverflowBits; 12391 treeContextId = 12392 (1 << (32 - clz32(totalChildren) + baseLength)) | 12393 (index << baseLength) | 12394 baseIdWithLeadingBit; 12395 treeContextOverflow = length + workInProgress; 12396 } else 12397 (treeContextId = 12398 (1 << length) | (index << baseLength) | baseIdWithLeadingBit), 12399 (treeContextOverflow = workInProgress); 12400} 12401function pushMaterializedTreeId(workInProgress) { 12402 null !== workInProgress.return && 12403 (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0)); 12404} 12405function popTreeContext(workInProgress) { 12406 for (; workInProgress === treeForkProvider; ) 12407 (treeForkProvider = forkStack[--forkStackIndex]), 12408 (forkStack[forkStackIndex] = null),
12409 (treeForkCount = forkStack[--forkStackIndex]), 12410 (forkStack[forkStackIndex] = null); 12411 for (; workInProgress === treeContextProvider; ) 12412 (treeContextProvider = idStack[--idStackIndex]), 12413 (idStack[idStackIndex] = null), 12414 (treeContextOverflow = idStack[--idStackIndex]), 12415 (idStack[idStackIndex] = null), 12416 (treeContextId = idStack[--idStackIndex]), 12417 (idStack[idStackIndex] = null); 12418} 12419var hydrationParentFiber = null, 12420 nextHydratableInstance = null, 12421 isHydrating = !1, 12422 hydrationErrors = null, 12423 rootOrSingletonContext = !1, 12424 HydrationMismatchException = Error(formatProdErrorMessage(519)); 12425function throwOnHydrationMismatch(fiber) { 12426 var error = Error(formatProdErrorMessage(418, "")); 12427 queueHydrationError(createCapturedValueAtFiber(error, fiber)); 12428 throw HydrationMismatchException; 12429} 12430function prepareToHydrateHostInstance(fiber) { 12431 var instance = fiber.stateNode, 12432 type = fiber.type, 12433 props = fiber.memoizedProps; 12434 instance[internalInstanceKey] = fiber; 12435 instance[internalPropsKey] = props; 12436 switch (type) { 12437 case "dialog": 12438 listenToNonDelegatedEvent("cancel", instance); 12439 listenToNonDelegatedEvent("close", instance); 12440 break; 12441 case "iframe": 12442 case "object": 12443 case "embed": 12444 listenToNonDelegatedEvent("load", instance); 12445 break; 12446 case "video": 12447 case "audio": 12448 for (type = 0; type < mediaEventTypes.length; type++) 12449 listenToNonDelegatedEvent(mediaEventTypes[type], instance); 12450 break; 12451 case "source": 12452 listenToNonDelegatedEvent("error", instance); 12453 break; 12454 case "img": 12455 case "image": 12456 case "link": 12457 listenToNonDelegatedEvent("error", instance); 12458 listenToNonDelegatedEvent("load", instance); 12459 break; 12460 case "details": 12461 listenToNonDelegatedEvent("toggle", instance); 12462 break; 12463 case "input": 12464 listenToNonDelegatedEvent("invalid", instance); 12465 initInput( 12466 instance, 12467 props.value, 12468 props.defaultValue, 12469 props.checked, 12470 props.defaultChecked, 12471 props.type, 12472 props.name, 12473 !0 12474 ); 12475 track(instance); 12476 break; 12477 case "select": 12478 listenToNonDelegatedEvent("invalid", instance); 12479 break; 12480 case "textarea": 12481 listenToNonDelegatedEvent("invalid", instance), 12482 initTextarea(instance, props.value, props.defaultValue, props.children), 12483 track(instance); 12484 } 12485 type = props.children; 12486 ("string" !== typeof type && 12487 "number" !== typeof type && 12488 "bigint" !== typeof type) || 12489 instance.textContent === "" + type || 12490 !0 === props.suppressHydrationWarning || 12491 checkForUnmatchedText(instance.textContent, type) 12492 ? (null != props.popover && 12493 (listenToNonDelegatedEvent("beforetoggle", instance), 12494 listenToNonDelegatedEvent("toggle", instance)), 12495 null != props.onScroll && listenToNonDelegatedEvent("scroll", instance), 12496 null != props.onScrollEnd && 12497 listenToNonDelegatedEvent("scrollend", instance), 12498 null != props.onClick && (instance.onclick = noop$1), 12499 (instance = !0)) 12500 : (instance = !1); 12501 instance || throwOnHydrationMismatch(fiber); 12502} 12503function popToNextHostParent(fiber) { 12504 for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) 12505 switch (hydrationParentFiber.tag) { 12506 case 5: 12507 case 13: 12508 rootOrSingletonContext = !1; 12509 return; 12510 case 27: 12511 case 3: 12512 rootOrSingletonContext = !0; 12513 return; 12514 default: 12515 hydrationParentFiber = hydrationParentFiber.return; 12516 } 12517} 12518function popHydrationState(fiber) { 12519 if (fiber !== hydrationParentFiber) return !1; 12520 if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; 12521 var tag = fiber.tag, 12522 JSCompiler_temp; 12523 if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { 12524 if ((JSCompiler_temp = 5 === tag)) 12525 (JSCompiler_temp = fiber.type), 12526 (JSCompiler_temp = 12527 !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || 12528 shouldSetTextContent(fiber.type, fiber.memoizedProps)); 12529 JSCompiler_temp = !JSCompiler_temp; 12530 } 12531 JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); 12532 popToNextHostParent(fiber); 12533 if (13 === tag) { 12534 fiber = fiber.memoizedState; 12535 fiber = null !== fiber ? fiber.dehydrated : null; 12536 if (!fiber) throw Error(formatProdErrorMessage(317)); 12537 a: { 12538 fiber = fiber.nextSibling; 12539 for (tag = 0; fiber; ) { 12540 if (8 === fiber.nodeType) 12541 if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) { 12542 if (0 === tag) { 12543 nextHydratableInstance = getNextHydratable(fiber.nextSibling); 12544 break a; 12545 } 12546 tag--; 12547 } else
12548 ("$" !== JSCompiler_temp && 12549 "$!" !== JSCompiler_temp && 12550 "$?" !== JSCompiler_temp) || 12551 tag++; 12552 fiber = fiber.nextSibling; 12553 } 12554 nextHydratableInstance = null; 12555 } 12556 } else 12557 27 === tag 12558 ? ((tag = nextHydratableInstance), 12559 isSingletonScope(fiber.type) 12560 ? ((fiber = previousHydratableOnEnteringScopedSingleton), 12561 (previousHydratableOnEnteringScopedSingleton = null), 12562 (nextHydratableInstance = fiber)) 12563 : (nextHydratableInstance = tag)) 12564 : (nextHydratableInstance = hydrationParentFiber 12565 ? getNextHydratable(fiber.stateNode.nextSibling) 12566 : null); 12567 return !0; 12568} 12569function resetHydrationState() { 12570 nextHydratableInstance = hydrationParentFiber = null; 12571 isHydrating = !1; 12572} 12573function upgradeHydrationErrorsToRecoverable() { 12574 var queuedErrors = hydrationErrors; 12575 null !== queuedErrors && 12576 (null === workInProgressRootRecoverableErrors 12577 ? (workInProgressRootRecoverableErrors = queuedErrors) 12578 : workInProgressRootRecoverableErrors.push.apply( 12579 workInProgressRootRecoverableErrors, 12580 queuedErrors 12581 ), 12582 (hydrationErrors = null)); 12583 return queuedErrors; 12584} 12585function queueHydrationError(error) { 12586 null === hydrationErrors 12587 ? (hydrationErrors = [error]) 12588 : hydrationErrors.push(error); 12589} 12590var valueCursor = createCursor(null), 12591 currentlyRenderingFiber$1 = null, 12592 lastContextDependency = null; 12593function pushProvider(providerFiber, context, nextValue) { 12594 push(valueCursor, context._currentValue); 12595 context._currentValue = nextValue; 12596} 12597function popProvider(context) { 12598 context._currentValue = valueCursor.current; 12599 pop(valueCursor); 12600} 12601function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) { 12602 for (; null !== parent; ) { 12603 var alternate = parent.alternate; 12604 (parent.childLanes & renderLanes) !== renderLanes 12605 ? ((parent.childLanes |= renderLanes), 12606 null !== alternate && (alternate.childLanes |= renderLanes)) 12607 : null !== alternate && 12608 (alternate.childLanes & renderLanes) !== renderLanes && 12609 (alternate.childLanes |= renderLanes); 12610 if (parent === propagationRoot) break; 12611 parent = parent.return; 12612 } 12613} 12614function propagateContextChanges( 12615 workInProgress, 12616 contexts, 12617 renderLanes, 12618 forcePropagateEntireTree 12619) { 12620 var fiber = workInProgress.child; 12621 null !== fiber && (fiber.return = workInProgress); 12622 for (; null !== fiber; ) { 12623 var list = fiber.dependencies; 12624 if (null !== list) { 12625 var nextFiber = fiber.child; 12626 list = list.firstContext; 12627 a: for (; null !== list; ) { 12628 var dependency = list; 12629 list = fiber; 12630 for (var i = 0; i < contexts.length; i++) 12631 if (dependency.context === contexts[i]) { 12632 list.lanes |= renderLanes; 12633 dependency = list.alternate; 12634 null !== dependency && (dependency.lanes |= renderLanes); 12635 scheduleContextWorkOnParentPath( 12636 list.return, 12637 renderLanes, 12638 workInProgress 12639 ); 12640 forcePropagateEntireTree || (nextFiber = null); 12641 break a; 12642 } 12643 list = dependency.next; 12644 } 12645 } else if (18 === fiber.tag) { 12646 nextFiber = fiber.return; 12647 if (null === nextFiber) throw Error(formatProdErrorMessage(341)); 12648 nextFiber.lanes |= renderLanes; 12649 list = nextFiber.alternate; 12650 null !== list && (list.lanes |= renderLanes); 12651 scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress); 12652 nextFiber = null; 12653 } else nextFiber = fiber.child; 12654 if (null !== nextFiber) nextFiber.return = fiber; 12655 else 12656 for (nextFiber = fiber; null !== nextFiber; ) { 12657 if (nextFiber === workInProgress) { 12658 nextFiber = null; 12659 break; 12660 } 12661 fiber = nextFiber.sibling; 12662 if (null !== fiber) { 12663 fiber.return = nextFiber.return; 12664 nextFiber = fiber; 12665 break; 12666 } 12667 nextFiber = nextFiber.return; 12668 } 12669 fiber = nextFiber; 12670 } 12671} 12672function propagateParentContextChanges( 12673 current, 12674 workInProgress, 12675 renderLanes, 12676 forcePropagateEntireTree 12677) { 12678 current = null; 12679 for ( 12680 var parent = workInProgress, isInsidePropagationBailout = !1; 12681 null !== parent; 12682 12683 ) { 12684 if (!isInsidePropagationBailout) 12685 if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; 12686 else if (0 !== (parent.flags & 262144)) break; 12687 if (10 === parent.tag) { 12688 var currentParent = parent.alternate; 12689 if (null === currentParent) throw Error(formatProdErrorMessage(387)); 12690 currentParent = currentParent.memoizedProps; 12691 if (null !== currentParent) { 12692 var context = parent.type; 12693 objectIs(parent.pendingProps.value, currentParent.value) || 12694 (null !== current ? current.push(context) : (current = [context])); 12695 } 12696 } else if (parent === hostTransitionProviderCursor.current) { 12697 currentParent = parent.alternate; 12698 if (null === currentParent) throw Error(formatProdErrorMessage(387)); 12699 currentParent.memoizedState.memoizedState !== 12700 parent.memoizedState.memoizedState && 12701 (null !== current 12702 ? current.push(HostTransitionContext) 12703 : (current = [HostTransitionContext])); 12704 } 12705 parent = parent.return; 12706 } 12707 null !== current && 12708 propagateContextChanges( 12709 workInProgress, 12710 current, 12711 renderLanes, 12712 forcePropagateEntireTree 12713 ); 12714 workInProgress.flags |= 262144; 12715} 12716function checkIfContextChanged(currentDependencies) { 12717 for ( 12718 currentDependencies = currentDependencies.firstContext; 12719 null !== currentDependencies; 12720 12721 ) { 12722 if ( 12723 !objectIs( 12724 currentDependencies.context._currentValue, 12725 currentDependencies.memoizedValue 12726 ) 12727 ) 12728 return !0; 12729 currentDependencies = currentDependencies.next; 12730 } 12731 return !1; 12732} 12733function prepareToReadContext(workInProgress) { 12734 currentlyRenderingFiber$1 = workInProgress; 12735 lastContextDependency = null; 12736 workInProgress = workInProgress.dependencies; 12737 null !== workInProgress && (workInProgress.firstContext = null); 12738} 12739function readContext(context) { 12740 return readContextForConsumer(currentlyRenderingFiber$1, context); 12741} 12742function readContextDuringReconciliation(consumer, context) { 12743 null === currentlyRenderingFiber$1 && prepareToReadContext(consumer); 12744 return readContextForConsumer(consumer, context); 12745} 12746function readContextForConsumer(consumer, context) { 12747 var value = context._currentValue; 12748 context = { context: context, memoizedValue: value, next: null }; 12749 if (null === lastContextDependency) { 12750 if (null === consumer) throw Error(formatProdErrorMessage(308)); 12751 lastContextDependency = context; 12752 consumer.dependencies = { lanes: 0, firstContext: context }; 12753 consumer.flags |= 524288; 12754 } else lastContextDependency = lastContextDependency.next = context; 12755 return value; 12756} 12757var AbortControllerLocal = 12758 "undefined" !== typeof AbortController 12759 ? AbortController 12760 : function () { 12761 var listeners = [], 12762 signal = (this.signal = { 12763 aborted: !1, 12764 addEventListener: function (type, listener) { 12765 listeners.push(listener); 12766 } 12767 }); 12768 this.abort = function () { 12769 signal.aborted = !0;
12770 listeners.forEach(function (listener) { 12771 return listener(); 12772 }); 12773 }; 12774 }, 12775 scheduleCallback$2 = Scheduler.unstable_scheduleCallback, 12776 NormalPriority = Scheduler.unstable_NormalPriority, 12777 CacheContext = { 12778 $$typeof: REACT_CONTEXT_TYPE, 12779 Consumer: null, 12780 Provider: null, 12781 _currentValue: null, 12782 _currentValue2: null, 12783 _threadCount: 0 12784 }; 12785function createCache() { 12786 return { 12787 controller: new AbortControllerLocal(), 12788 data: new Map(), 12789 refCount: 0 12790 }; 12791} 12792function releaseCache(cache) { 12793 cache.refCount--; 12794 0 === cache.refCount && 12795 scheduleCallback$2(NormalPriority, function () { 12796 cache.controller.abort(); 12797 }); 12798} 12799var currentEntangledListeners = null, 12800 currentEntangledPendingCount = 0, 12801 currentEntangledLane = 0, 12802 currentEntangledActionThenable = null; 12803function entangleAsyncAction(transition, thenable) { 12804 if (null === currentEntangledListeners) { 12805 var entangledListeners = (currentEntangledListeners = []); 12806 currentEntangledPendingCount = 0; 12807 currentEntangledLane = requestTransitionLane(); 12808 currentEntangledActionThenable = { 12809 status: "pending", 12810 value: void 0, 12811 then: function (resolve) { 12812 entangledListeners.push(resolve); 12813 } 12814 }; 12815 } 12816 currentEntangledPendingCount++; 12817 thenable.then(pingEngtangledActionScope, pingEngtangledActionScope); 12818 return thenable; 12819} 12820function pingEngtangledActionScope() { 12821 if ( 12822 0 === --currentEntangledPendingCount && 12823 null !== currentEntangledListeners 12824 ) { 12825 null !== currentEntangledActionThenable && 12826 (currentEntangledActionThenable.status = "fulfilled"); 12827 var listeners = currentEntangledListeners; 12828 currentEntangledListeners = null; 12829 currentEntangledLane = 0; 12830 currentEntangledActionThenable = null; 12831 for (var i = 0; i < listeners.length; i++) (0, listeners[i])(); 12832 } 12833} 12834function chainThenableValue(thenable, result) { 12835 var listeners = [], 12836 thenableWithOverride = { 12837 status: "pending", 12838 value: null, 12839 reason: null, 12840 then: function (resolve) { 12841 listeners.push(resolve); 12842 } 12843 }; 12844 thenable.then( 12845 function () { 12846 thenableWithOverride.status = "fulfilled"; 12847 thenableWithOverride.value = result; 12848 for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result); 12849 }, 12850 function (error) { 12851 thenableWithOverride.status = "rejected"; 12852 thenableWithOverride.reason = error; 12853 for (error = 0; error < listeners.length; error++) 12854 (0, listeners[error])(void 0); 12855 } 12856 ); 12857 return thenableWithOverride; 12858} 12859var prevOnStartTransitionFinish = ReactSharedInternals.S; 12860ReactSharedInternals.S = function (transition, returnValue) { 12861 "object" === typeof returnValue && 12862 null !== returnValue && 12863 "function" === typeof returnValue.then && 12864 entangleAsyncAction(transition, returnValue); 12865 null !== prevOnStartTransitionFinish && 12866 prevOnStartTransitionFinish(transition, returnValue); 12867}; 12868var resumedCache = createCursor(null); 12869function peekCacheFromPool() { 12870 var cacheResumedFromPreviousRender = resumedCache.current; 12871 return null !== cacheResumedFromPreviousRender 12872 ? cacheResumedFromPreviousRender 12873 : workInProgressRoot.pooledCache; 12874} 12875function pushTransition(offscreenWorkInProgress, prevCachePool) { 12876 null === prevCachePool 12877 ? push(resumedCache, resumedCache.current) 12878 : push(resumedCache, prevCachePool.pool); 12879} 12880function getSuspendedCache() { 12881 var cacheFromPool = peekCacheFromPool(); 12882 return null === cacheFromPool 12883 ? null 12884 : { parent: CacheContext._currentValue, pool: cacheFromPool }; 12885} 12886var SuspenseException = Error(formatProdErrorMessage(460)), 12887 SuspenseyCommitException = Error(formatProdErrorMessage(474)), 12888 SuspenseActionException = Error(formatProdErrorMessage(542)), 12889 noopSuspenseyCommitThenable = { then: function () {} }; 12890function isThenableResolved(thenable) { 12891 thenable = thenable.status; 12892 return "fulfilled" === thenable || "rejected" === thenable; 12893} 12894function noop$3() {} 12895function trackUsedThenable(thenableState, thenable, index) { 12896 index = thenableState[index]; 12897 void 0 === index
12898 ? thenableState.push(thenable) 12899 : index !== thenable && (thenable.then(noop$3, noop$3), (thenable = index)); 12900 switch (thenable.status) { 12901 case "fulfilled": 12902 return thenable.value; 12903 case "rejected": 12904 throw ( 12905 ((thenableState = thenable.reason), 12906 checkIfUseWrappedInAsyncCatch(thenableState), 12907 thenableState) 12908 ); 12909 default: 12910 if ("string" === typeof thenable.status) thenable.then(noop$3, noop$3); 12911 else { 12912 thenableState = workInProgressRoot; 12913 if (null !== thenableState && 100 < thenableState.shellSuspendCounter) 12914 throw Error(formatProdErrorMessage(482)); 12915 thenableState = thenable; 12916 thenableState.status = "pending"; 12917 thenableState.then( 12918 function (fulfilledValue) { 12919 if ("pending" === thenable.status) { 12920 var fulfilledThenable = thenable; 12921 fulfilledThenable.status = "fulfilled"; 12922 fulfilledThenable.value = fulfilledValue; 12923 } 12924 }, 12925 function (error) { 12926 if ("pending" === thenable.status) { 12927 var rejectedThenable = thenable; 12928 rejectedThenable.status = "rejected"; 12929 rejectedThenable.reason = error; 12930 } 12931 } 12932 ); 12933 } 12934 switch (thenable.status) { 12935 case "fulfilled": 12936 return thenable.value; 12937 case "rejected": 12938 throw ( 12939 ((thenableState = thenable.reason), 12940 checkIfUseWrappedInAsyncCatch(thenableState), 12941 thenableState) 12942 ); 12943 } 12944 suspendedThenable = thenable; 12945 throw SuspenseException; 12946 } 12947} 12948var suspendedThenable = null; 12949function getSuspendedThenable() { 12950 if (null === suspendedThenable) throw Error(formatProdErrorMessage(459)); 12951 var thenable = suspendedThenable; 12952 suspendedThenable = null; 12953 return thenable; 12954} 12955function checkIfUseWrappedInAsyncCatch(rejectedReason) { 12956 if ( 12957 rejectedReason === SuspenseException || 12958 rejectedReason === SuspenseActionException 12959 ) 12960 throw Error(formatProdErrorMessage(483)); 12961} 12962var hasForceUpdate = !1; 12963function initializeUpdateQueue(fiber) { 12964 fiber.updateQueue = { 12965 baseState: fiber.memoizedState, 12966 firstBaseUpdate: null, 12967 lastBaseUpdate: null, 12968 shared: { pending: null, lanes: 0, hiddenCallbacks: null }, 12969 callbacks: null 12970 }; 12971} 12972function cloneUpdateQueue(current, workInProgress) { 12973 current = current.updateQueue; 12974 workInProgress.updateQueue === current && 12975 (workInProgress.updateQueue = { 12976 baseState: current.baseState, 12977 firstBaseUpdate: current.firstBaseUpdate, 12978 lastBaseUpdate: current.lastBaseUpdate, 12979 shared: current.shared, 12980 callbacks: null 12981 }); 12982} 12983function createUpdate(lane) { 12984 return { lane: lane, tag: 0, payload: null, callback: null, next: null }; 12985} 12986function enqueueUpdate(fiber, update, lane) { 12987 var updateQueue = fiber.updateQueue; 12988 if (null === updateQueue) return null; 12989 updateQueue = updateQueue.shared; 12990 if (0 !== (executionContext & 2)) { 12991 var pending = updateQueue.pending; 12992 null === pending 12993 ? (update.next = update) 12994 : ((update.next = pending.next), (pending.next = update)); 12995 updateQueue.pending = update; 12996 update = getRootForUpdatedFiber(fiber); 12997 markUpdateLaneFromFiberToRoot(fiber, null, lane); 12998 return update; 12999 } 13000 enqueueUpdate$1(fiber, updateQueue, update, lane); 13001 return getRootForUpdatedFiber(fiber); 13002} 13003function entangleTransitions(root, fiber, lane) { 13004 fiber = fiber.updateQueue; 13005 if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) { 13006 var queueLanes = fiber.lanes; 13007 queueLanes &= root.pendingLanes; 13008 lane |= queueLanes; 13009 fiber.lanes = lane; 13010 markRootEntangled(root, lane); 13011 } 13012} 13013function enqueueCapturedUpdate(workInProgress, capturedUpdate) { 13014 var queue = workInProgress.updateQueue, 13015 current = workInProgress.alternate; 13016 if ( 13017 null !== current && 13018 ((current = current.updateQueue), queue === current) 13019 ) { 13020 var newFirst = null, 13021 newLast = null; 13022 queue = queue.firstBaseUpdate; 13023 if (null !== queue) { 13024 do { 13025 var clone = { 13026 lane: queue.lane, 13027 tag: queue.tag, 13028 payload: queue.payload, 13029 callback: null, 13030 next: null 13031 }; 13032 null === newLast 13033 ? (newFirst = newLast = clone) 13034 : (newLast = newLast.next = clone); 13035 queue = queue.next; 13036 } while (null !== queue); 13037 null === newLast 13038 ? (newFirst = newLast = capturedUpdate) 13039 : (newLast = newLast.next = capturedUpdate); 13040 } else newFirst = newLast = capturedUpdate; 13041 queue = { 13042 baseState: current.baseState, 13043 firstBaseUpdate: newFirst, 13044 lastBaseUpdate: newLast, 13045 shared: current.shared, 13046 callbacks: current.callbacks 13047 }; 13048 workInProgress.updateQueue = queue; 13049 return; 13050 } 13051 workInProgress = queue.lastBaseUpdate; 13052 null === workInProgress 13053 ? (queue.firstBaseUpdate = capturedUpdate) 13054 : (workInProgress.next = capturedUpdate); 13055 queue.lastBaseUpdate = capturedUpdate; 13056} 13057var didReadFromEntangledAsyncAction = !1; 13058function suspendIfUpdateReadFromEntangledAsyncAction() { 13059 if (didReadFromEntangledAsyncAction) { 13060 var entangledActionThenable = currentEntangledActionThenable; 13061 if (null !== entangledActionThenable) throw entangledActionThenable; 13062 } 13063} 13064function processUpdateQueue( 13065 workInProgress$jscomp$0, 13066 props, 13067 instance$jscomp$0, 13068 renderLanes 13069) { 13070 didReadFromEntangledAsyncAction = !1; 13071 var queue = workInProgress$jscomp$0.updateQueue; 13072 hasForceUpdate = !1; 13073 var firstBaseUpdate = queue.firstBaseUpdate, 13074 lastBaseUpdate = queue.lastBaseUpdate, 13075 pendingQueue = queue.shared.pending; 13076 if (null !== pendingQueue) { 13077 queue.shared.pending = null; 13078 var lastPendingUpdate = pendingQueue, 13079 firstPendingUpdate = lastPendingUpdate.next; 13080 lastPendingUpdate.next = null; 13081 null === lastBaseUpdate 13082 ? (firstBaseUpdate = firstPendingUpdate) 13083 : (lastBaseUpdate.next = firstPendingUpdate); 13084 lastBaseUpdate = lastPendingUpdate; 13085 var current = workInProgress$jscomp$0.alternate; 13086 null !== current && 13087 ((current = current.updateQueue), 13088 (pendingQueue = current.lastBaseUpdate), 13089 pendingQueue !== lastBaseUpdate &&
13090 (null === pendingQueue 13091 ? (current.firstBaseUpdate = firstPendingUpdate) 13092 : (pendingQueue.next = firstPendingUpdate), 13093 (current.lastBaseUpdate = lastPendingUpdate))); 13094 } 13095 if (null !== firstBaseUpdate) { 13096 var newState = queue.baseState; 13097 lastBaseUpdate = 0; 13098 current = firstPendingUpdate = lastPendingUpdate = null; 13099 pendingQueue = firstBaseUpdate; 13100 do { 13101 var updateLane = pendingQueue.lane & -536870913, 13102 isHiddenUpdate = updateLane !== pendingQueue.lane; 13103 if ( 13104 isHiddenUpdate 13105 ? (workInProgressRootRenderLanes & updateLane) === updateLane 13106 : (renderLanes & updateLane) === updateLane 13107 ) { 13108 0 !== updateLane && 13109 updateLane === currentEntangledLane && 13110 (didReadFromEntangledAsyncAction = !0); 13111 null !== current && 13112 (current = current.next = 13113 { 13114 lane: 0, 13115 tag: pendingQueue.tag, 13116 payload: pendingQueue.payload, 13117 callback: null, 13118 next: null 13119 }); 13120 a: { 13121 var workInProgress = workInProgress$jscomp$0, 13122 update = pendingQueue; 13123 updateLane = props; 13124 var instance = instance$jscomp$0; 13125 switch (update.tag) { 13126 case 1: 13127 workInProgress = update.payload; 13128 if ("function" === typeof workInProgress) { 13129 newState = workInProgress.call(instance, newState, updateLane); 13130 break a; 13131 } 13132 newState = workInProgress; 13133 break a; 13134 case 3: 13135 workInProgress.flags = (workInProgress.flags & -65537) | 128; 13136 case 0: 13137 workInProgress = update.payload; 13138 updateLane = 13139 "function" === typeof workInProgress 13140 ? workInProgress.call(instance, newState, updateLane) 13141 : workInProgress; 13142 if (null === updateLane || void 0 === updateLane) break a; 13143 newState = assign({}, newState, updateLane); 13144 break a; 13145 case 2: 13146 hasForceUpdate = !0; 13147 } 13148 } 13149 updateLane = pendingQueue.callback; 13150 null !== updateLane && 13151 ((workInProgress$jscomp$0.flags |= 64), 13152 isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), 13153 (isHiddenUpdate = queue.callbacks), 13154 null === isHiddenUpdate 13155 ? (queue.callbacks = [updateLane]) 13156 : isHiddenUpdate.push(updateLane)); 13157 } else 13158 (isHiddenUpdate = { 13159 lane: updateLane, 13160 tag: pendingQueue.tag, 13161 payload: pendingQueue.payload, 13162 callback: pendingQueue.callback, 13163 next: null 13164 }), 13165 null === current 13166 ? ((firstPendingUpdate = current = isHiddenUpdate), 13167 (lastPendingUpdate = newState)) 13168 : (current = current.next = isHiddenUpdate), 13169 (lastBaseUpdate |= updateLane); 13170 pendingQueue = pendingQueue.next; 13171 if (null === pendingQueue) 13172 if (((pendingQueue = queue.shared.pending), null === pendingQueue)) 13173 break; 13174 else 13175 (isHiddenUpdate = pendingQueue), 13176 (pendingQueue = isHiddenUpdate.next), 13177 (isHiddenUpdate.next = null), 13178 (queue.lastBaseUpdate = isHiddenUpdate), 13179 (queue.shared.pending = null); 13180 } while (1); 13181 null === current && (lastPendingUpdate = newState); 13182 queue.baseState = lastPendingUpdate; 13183 queue.firstBaseUpdate = firstPendingUpdate; 13184 queue.lastBaseUpdate = current; 13185 null === firstBaseUpdate && (queue.shared.lanes = 0); 13186 workInProgressRootSkippedLanes |= lastBaseUpdate; 13187 workInProgress$jscomp$0.lanes = lastBaseUpdate; 13188 workInProgress$jscomp$0.memoizedState = newState; 13189 } 13190} 13191function callCallback(callback, context) { 13192 if ("function" !== typeof callback) 13193 throw Error(formatProdErrorMessage(191, callback)); 13194 callback.call(context); 13195} 13196function commitCallbacks(updateQueue, context) { 13197 var callbacks = updateQueue.callbacks; 13198 if (null !== callbacks) 13199 for ( 13200 updateQueue.callbacks = null, updateQueue = 0; 13201 updateQueue < callbacks.length; 13202 updateQueue++ 13203 ) 13204 callCallback(callbacks[updateQueue], context); 13205} 13206var currentTreeHiddenStackCursor = createCursor(null), 13207 prevEntangledRenderLanesCursor = createCursor(0); 13208function pushHiddenContext(fiber, context) { 13209 fiber = entangledRenderLanes; 13210 push(prevEntangledRenderLanesCursor, fiber); 13211 push(currentTreeHiddenStackCursor, context); 13212 entangledRenderLanes = fiber | context.baseLanes; 13213} 13214function reuseHiddenContextOnStack() { 13215 push(prevEntangledRenderLanesCursor, entangledRenderLanes); 13216 push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current); 13217} 13218function popHiddenContext() { 13219 entangledRenderLanes = prevEntangledRenderLanesCursor.current; 13220 pop(currentTreeHiddenStackCursor); 13221 pop(prevEntangledRenderLanesCursor); 13222} 13223var renderLanes = 0, 13224 currentlyRenderingFiber = null, 13225 currentHook = null, 13226 workInProgressHook = null, 13227 didScheduleRenderPhaseUpdate = !1, 13228 didScheduleRenderPhaseUpdateDuringThisPass = !1, 13229 shouldDoubleInvokeUserFnsInHooksDEV = !1, 13230 localIdCounter = 0, 13231 thenableIndexCounter$1 = 0, 13232 thenableState$1 = null, 13233 globalClientIdCounter = 0; 13234function throwInvalidHookError() { 13235 throw Error(formatProdErrorMessage(321)); 13236} 13237function areHookInputsEqual(nextDeps, prevDeps) { 13238 if (null === prevDeps) return !1; 13239 for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) 13240 if (!objectIs(nextDeps[i], prevDeps[i])) return !1; 13241 return !0; 13242} 13243function renderWithHooks( 13244 current, 13245 workInProgress, 13246 Component, 13247 props, 13248 secondArg, 13249 nextRenderLanes 13250) { 13251 renderLanes = nextRenderLanes; 13252 currentlyRenderingFiber = workInProgress; 13253 workInProgress.memoizedState = null; 13254 workInProgress.updateQueue = null; 13255 workInProgress.lanes = 0; 13256 ReactSharedInternals.H = 13257 null === current || null === current.memoizedState 13258 ? HooksDispatcherOnMount 13259 : HooksDispatcherOnUpdate; 13260 shouldDoubleInvokeUserFnsInHooksDEV = !1; 13261 nextRenderLanes = Component(props, secondArg); 13262 shouldDoubleInvokeUserFnsInHooksDEV = !1; 13263 didScheduleRenderPhaseUpdateDuringThisPass && 13264 (nextRenderLanes = renderWithHooksAgain( 13265 workInProgress, 13266 Component, 13267 props, 13268 secondArg 13269 )); 13270 finishRenderingHooks(current); 13271 return nextRenderLanes; 13272} 13273function finishRenderingHooks(current) {
13274 ReactSharedInternals.H = ContextOnlyDispatcher; 13275 var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next; 13276 renderLanes = 0; 13277 workInProgressHook = currentHook = currentlyRenderingFiber = null; 13278 didScheduleRenderPhaseUpdate = !1; 13279 thenableIndexCounter$1 = 0; 13280 thenableState$1 = null; 13281 if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300)); 13282 null === current || 13283 didReceiveUpdate || 13284 ((current = current.dependencies), 13285 null !== current && 13286 checkIfContextChanged(current) && 13287 (didReceiveUpdate = !0)); 13288} 13289function renderWithHooksAgain(workInProgress, Component, props, secondArg) { 13290 currentlyRenderingFiber = workInProgress; 13291 var numberOfReRenders = 0; 13292 do { 13293 didScheduleRenderPhaseUpdateDuringThisPass && (thenableState$1 = null); 13294 thenableIndexCounter$1 = 0; 13295 didScheduleRenderPhaseUpdateDuringThisPass = !1; 13296 if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301)); 13297 numberOfReRenders += 1; 13298 workInProgressHook = currentHook = null; 13299 if (null != workInProgress.updateQueue) { 13300 var children = workInProgress.updateQueue; 13301 children.lastEffect = null; 13302 children.events = null; 13303 children.stores = null; 13304 null != children.memoCache && (children.memoCache.index = 0); 13305 } 13306 ReactSharedInternals.H = HooksDispatcherOnRerender; 13307 children = Component(props, secondArg); 13308 } while (didScheduleRenderPhaseUpdateDuringThisPass); 13309 return children; 13310} 13311function TransitionAwareHostComponent() { 13312 var dispatcher = ReactSharedInternals.H, 13313 maybeThenable = dispatcher.useState()[0]; 13314 maybeThenable = 13315 "function" === typeof maybeThenable.then 13316 ? useThenable(maybeThenable) 13317 : maybeThenable; 13318 dispatcher = dispatcher.useState()[0]; 13319 (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && 13320 (currentlyRenderingFiber.flags |= 1024); 13321 return maybeThenable; 13322} 13323function checkDidRenderIdHook() { 13324 var didRenderIdHook = 0 !== localIdCounter; 13325 localIdCounter = 0; 13326 return didRenderIdHook; 13327} 13328function bailoutHooks(current, workInProgress, lanes) { 13329 workInProgress.updateQueue = current.updateQueue; 13330 workInProgress.flags &= -2053; 13331 current.lanes &= ~lanes; 13332} 13333function resetHooksOnUnwind(workInProgress) { 13334 if (didScheduleRenderPhaseUpdate) { 13335 for ( 13336 workInProgress = workInProgress.memoizedState; 13337 null !== workInProgress; 13338 13339 ) { 13340 var queue = workInProgress.queue; 13341 null !== queue && (queue.pending = null); 13342 workInProgress = workInProgress.next; 13343 } 13344 didScheduleRenderPhaseUpdate = !1; 13345 } 13346 renderLanes = 0; 13347 workInProgressHook = currentHook = currentlyRenderingFiber = null; 13348 didScheduleRenderPhaseUpdateDuringThisPass = !1; 13349 thenableIndexCounter$1 = localIdCounter = 0; 13350 thenableState$1 = null; 13351} 13352function mountWorkInProgressHook() { 13353 var hook = { 13354 memoizedState: null, 13355 baseState: null, 13356 baseQueue: null, 13357 queue: null, 13358 next: null 13359 }; 13360 null === workInProgressHook 13361 ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook) 13362 : (workInProgressHook = workInProgressHook.next = hook); 13363 return workInProgressHook; 13364} 13365function updateWorkInProgressHook() { 13366 if (null === currentHook) { 13367 var nextCurrentHook = currentlyRenderingFiber.alternate; 13368 nextCurrentHook = 13369 null !== nextCurrentHook ? nextCurrentHook.memoizedState : null; 13370 } else nextCurrentHook = currentHook.next; 13371 var nextWorkInProgressHook = 13372 null === workInProgressHook 13373 ? currentlyRenderingFiber.memoizedState 13374 : workInProgressHook.next; 13375 if (null !== nextWorkInProgressHook) 13376 (workInProgressHook = nextWorkInProgressHook), 13377 (currentHook = nextCurrentHook); 13378 else { 13379 if (null === nextCurrentHook) { 13380 if (null === currentlyRenderingFiber.alternate) 13381 throw Error(formatProdErrorMessage(467)); 13382 throw Error(formatProdErrorMessage(310)); 13383 } 13384 currentHook = nextCurrentHook; 13385 nextCurrentHook = { 13386 memoizedState: currentHook.memoizedState, 13387 baseState: currentHook.baseState, 13388 baseQueue: currentHook.baseQueue, 13389 queue: currentHook.queue, 13390 next: null 13391 }; 13392 null === workInProgressHook 13393 ? (currentlyRenderingFiber.memoizedState = workInProgressHook = 13394 nextCurrentHook) 13395 : (workInProgressHook = workInProgressHook.next = nextCurrentHook); 13396 } 13397 return workInProgressHook; 13398} 13399function createFunctionComponentUpdateQueue() { 13400 return { lastEffect: null, events: null, stores: null, memoCache: null }; 13401} 13402function useThenable(thenable) { 13403 var index = thenableIndexCounter$1; 13404 thenableIndexCounter$1 += 1; 13405 null === thenableState$1 && (thenableState$1 = []); 13406 thenable = trackUsedThenable(thenableState$1, thenable, index); 13407 index = currentlyRenderingFiber; 13408 null === 13409 (null === workInProgressHook 13410 ? index.memoizedState 13411 : workInProgressHook.next) && 13412 ((index = index.alternate),
13413 (ReactSharedInternals.H = 13414 null === index || null === index.memoizedState 13415 ? HooksDispatcherOnMount 13416 : HooksDispatcherOnUpdate)); 13417 return thenable; 13418} 13419function use(usable) { 13420 if (null !== usable && "object" === typeof usable) { 13421 if ("function" === typeof usable.then) return useThenable(usable); 13422 if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable); 13423 } 13424 throw Error(formatProdErrorMessage(438, String(usable))); 13425} 13426function useMemoCache(size) { 13427 var memoCache = null, 13428 updateQueue = currentlyRenderingFiber.updateQueue; 13429 null !== updateQueue && (memoCache = updateQueue.memoCache); 13430 if (null == memoCache) { 13431 var current = currentlyRenderingFiber.alternate; 13432 null !== current && 13433 ((current = current.updateQueue), 13434 null !== current && 13435 ((current = current.memoCache), 13436 null != current && 13437 (memoCache = { 13438 data: current.data.map(function (array) { 13439 return array.slice(); 13440 }), 13441 index: 0 13442 }))); 13443 } 13444 null == memoCache && (memoCache = { data: [], index: 0 }); 13445 null === updateQueue && 13446 ((updateQueue = createFunctionComponentUpdateQueue()), 13447 (currentlyRenderingFiber.updateQueue = updateQueue)); 13448 updateQueue.memoCache = memoCache; 13449 updateQueue = memoCache.data[memoCache.index]; 13450 if (void 0 === updateQueue) 13451 for ( 13452 updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; 13453 current < size; 13454 current++ 13455 ) 13456 updateQueue[current] = REACT_MEMO_CACHE_SENTINEL; 13457 memoCache.index++; 13458 return updateQueue; 13459} 13460function basicStateReducer(state, action) { 13461 return "function" === typeof action ? action(state) : action; 13462} 13463function updateReducer(reducer) { 13464 var hook = updateWorkInProgressHook(); 13465 return updateReducerImpl(hook, currentHook, reducer); 13466} 13467function updateReducerImpl(hook, current, reducer) { 13468 var queue = hook.queue; 13469 if (null === queue) throw Error(formatProdErrorMessage(311)); 13470 queue.lastRenderedReducer = reducer; 13471 var baseQueue = hook.baseQueue, 13472 pendingQueue = queue.pending; 13473 if (null !== pendingQueue) { 13474 if (null !== baseQueue) { 13475 var baseFirst = baseQueue.next; 13476 baseQueue.next = pendingQueue.next; 13477 pendingQueue.next = baseFirst; 13478 } 13479 current.baseQueue = baseQueue = pendingQueue; 13480 queue.pending = null; 13481 } 13482 pendingQueue = hook.baseState; 13483 if (null === baseQueue) hook.memoizedState = pendingQueue; 13484 else { 13485 current = baseQueue.next; 13486 var newBaseQueueFirst = (baseFirst = null), 13487 newBaseQueueLast = null, 13488 update = current, 13489 didReadFromEntangledAsyncAction$32 = !1; 13490 do { 13491 var updateLane = update.lane & -536870913; 13492 if ( 13493 updateLane !== update.lane 13494 ? (workInProgressRootRenderLanes & updateLane) === updateLane 13495 : (renderLanes & updateLane) === updateLane 13496 ) { 13497 var revertLane = update.revertLane; 13498 if (0 === revertLane) 13499 null !== newBaseQueueLast && 13500 (newBaseQueueLast = newBaseQueueLast.next = 13501 { 13502 lane: 0, 13503 revertLane: 0, 13504 action: update.action, 13505 hasEagerState: update.hasEagerState, 13506 eagerState: update.eagerState, 13507 next: null 13508 }), 13509 updateLane === currentEntangledLane && 13510 (didReadFromEntangledAsyncAction$32 = !0); 13511 else if ((renderLanes & revertLane) === revertLane) { 13512 update = update.next; 13513 revertLane === currentEntangledLane && 13514 (didReadFromEntangledAsyncAction$32 = !0); 13515 continue; 13516 } else 13517 (updateLane = { 13518 lane: 0, 13519 revertLane: update.revertLane, 13520 action: update.action, 13521 hasEagerState: update.hasEagerState, 13522 eagerState: update.eagerState, 13523 next: null 13524 }), 13525 null === newBaseQueueLast 13526 ? ((newBaseQueueFirst = newBaseQueueLast = updateLane), 13527 (baseFirst = pendingQueue)) 13528 : (newBaseQueueLast = newBaseQueueLast.next = updateLane), 13529 (currentlyRenderingFiber.lanes |= revertLane), 13530 (workInProgressRootSkippedLanes |= revertLane); 13531 updateLane = update.action; 13532 shouldDoubleInvokeUserFnsInHooksDEV && 13533 reducer(pendingQueue, updateLane); 13534 pendingQueue = update.hasEagerState 13535 ? update.eagerState 13536 : reducer(pendingQueue, updateLane); 13537 } else 13538 (revertLane = { 13539 lane: updateLane, 13540 revertLane: update.revertLane, 13541 action: update.action, 13542 hasEagerState: update.hasEagerState, 13543 eagerState: update.eagerState, 13544 next: null 13545 }), 13546 null === newBaseQueueLast 13547 ? ((newBaseQueueFirst = newBaseQueueLast = revertLane), 13548 (baseFirst = pendingQueue))
13549 : (newBaseQueueLast = newBaseQueueLast.next = revertLane), 13550 (currentlyRenderingFiber.lanes |= updateLane), 13551 (workInProgressRootSkippedLanes |= updateLane); 13552 update = update.next; 13553 } while (null !== update && update !== current); 13554 null === newBaseQueueLast 13555 ? (baseFirst = pendingQueue) 13556 : (newBaseQueueLast.next = newBaseQueueFirst); 13557 if ( 13558 !objectIs(pendingQueue, hook.memoizedState) && 13559 ((didReceiveUpdate = !0), 13560 didReadFromEntangledAsyncAction$32 && 13561 ((reducer = currentEntangledActionThenable), null !== reducer)) 13562 ) 13563 throw reducer; 13564 hook.memoizedState = pendingQueue; 13565 hook.baseState = baseFirst; 13566 hook.baseQueue = newBaseQueueLast; 13567 queue.lastRenderedState = pendingQueue; 13568 } 13569 null === baseQueue && (queue.lanes = 0); 13570 return [hook.memoizedState, queue.dispatch]; 13571} 13572function rerenderReducer(reducer) { 13573 var hook = updateWorkInProgressHook(), 13574 queue = hook.queue; 13575 if (null === queue) throw Error(formatProdErrorMessage(311)); 13576 queue.lastRenderedReducer = reducer; 13577 var dispatch = queue.dispatch, 13578 lastRenderPhaseUpdate = queue.pending, 13579 newState = hook.memoizedState; 13580 if (null !== lastRenderPhaseUpdate) { 13581 queue.pending = null; 13582 var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next); 13583 do (newState = reducer(newState, update.action)), (update = update.next); 13584 while (update !== lastRenderPhaseUpdate); 13585 objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0); 13586 hook.memoizedState = newState; 13587 null === hook.baseQueue && (hook.baseState = newState); 13588 queue.lastRenderedState = newState; 13589 } 13590 return [newState, dispatch]; 13591} 13592function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) { 13593 var fiber = currentlyRenderingFiber, 13594 hook = updateWorkInProgressHook(), 13595 isHydrating$jscomp$0 = isHydrating; 13596 if (isHydrating$jscomp$0) { 13597 if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407)); 13598 getServerSnapshot = getServerSnapshot(); 13599 } else getServerSnapshot = getSnapshot(); 13600 var snapshotChanged = !objectIs( 13601 (currentHook || hook).memoizedState, 13602 getServerSnapshot 13603 ); 13604 snapshotChanged && 13605 ((hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0)); 13606 hook = hook.queue; 13607 var create = subscribeToStore.bind(null, fiber, hook, subscribe); 13608 updateEffectImpl(2048, 8, create, [subscribe]); 13609 if ( 13610 hook.getSnapshot !== getSnapshot || 13611 snapshotChanged || 13612 (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) 13613 ) { 13614 fiber.flags |= 2048; 13615 pushSimpleEffect( 13616 9, 13617 createEffectInstance(), 13618 updateStoreInstance.bind( 13619 null, 13620 fiber, 13621 hook, 13622 getServerSnapshot, 13623 getSnapshot 13624 ), 13625 null 13626 ); 13627 if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349)); 13628 isHydrating$jscomp$0 || 13629 0 !== (renderLanes & 124) || 13630 pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); 13631 } 13632 return getServerSnapshot; 13633} 13634function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { 13635 fiber.flags |= 16384; 13636 fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; 13637 getSnapshot = currentlyRenderingFiber.updateQueue; 13638 null === getSnapshot 13639 ? ((getSnapshot = createFunctionComponentUpdateQueue()), 13640 (currentlyRenderingFiber.updateQueue = getSnapshot), 13641 (getSnapshot.stores = [fiber])) 13642 : ((renderedSnapshot = getSnapshot.stores), 13643 null === renderedSnapshot 13644 ? (getSnapshot.stores = [fiber]) 13645 : renderedSnapshot.push(fiber)); 13646} 13647function updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) { 13648 inst.value = nextSnapshot; 13649 inst.getSnapshot = getSnapshot; 13650 checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); 13651} 13652function subscribeToStore(fiber, inst, subscribe) { 13653 return subscribe(function () { 13654 checkIfSnapshotChanged(inst) && forceStoreRerender(fiber); 13655 }); 13656} 13657function checkIfSnapshotChanged(inst) { 13658 var latestGetSnapshot = inst.getSnapshot; 13659 inst = inst.value; 13660 try { 13661 var nextValue = latestGetSnapshot(); 13662 return !objectIs(inst, nextValue); 13663 } catch (error) { 13664 return !0; 13665 } 13666} 13667function forceStoreRerender(fiber) { 13668 var root = enqueueConcurrentRenderForLane(fiber, 2); 13669 null !== root && scheduleUpdateOnFiber(root, fiber, 2); 13670} 13671function mountStateImpl(initialState) { 13672 var hook = mountWorkInProgressHook(); 13673 if ("function" === typeof initialState) { 13674 var initialStateInitializer = initialState; 13675 initialState = initialStateInitializer(); 13676 if (shouldDoubleInvokeUserFnsInHooksDEV) { 13677 setIsStrictModeForDevtools(!0);
13678 try { 13679 initialStateInitializer(); 13680 } finally { 13681 setIsStrictModeForDevtools(!1); 13682 } 13683 } 13684 } 13685 hook.memoizedState = hook.baseState = initialState; 13686 hook.queue = { 13687 pending: null, 13688 lanes: 0, 13689 dispatch: null, 13690 lastRenderedReducer: basicStateReducer, 13691 lastRenderedState: initialState 13692 }; 13693 return hook; 13694} 13695function updateOptimisticImpl(hook, current, passthrough, reducer) { 13696 hook.baseState = passthrough; 13697 return updateReducerImpl( 13698 hook, 13699 currentHook, 13700 "function" === typeof reducer ? reducer : basicStateReducer 13701 ); 13702} 13703function dispatchActionState( 13704 fiber, 13705 actionQueue, 13706 setPendingState, 13707 setState, 13708 payload 13709) { 13710 if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485)); 13711 fiber = actionQueue.action; 13712 if (null !== fiber) { 13713 var actionNode = { 13714 payload: payload, 13715 action: fiber, 13716 next: null, 13717 isTransition: !0, 13718 status: "pending", 13719 value: null, 13720 reason: null, 13721 listeners: [], 13722 then: function (listener) { 13723 actionNode.listeners.push(listener); 13724 } 13725 }; 13726 null !== ReactSharedInternals.T 13727 ? setPendingState(!0) 13728 : (actionNode.isTransition = !1); 13729 setState(actionNode); 13730 setPendingState = actionQueue.pending; 13731 null === setPendingState 13732 ? ((actionNode.next = actionQueue.pending = actionNode), 13733 runActionStateAction(actionQueue, actionNode)) 13734 : ((actionNode.next = setPendingState.next), 13735 (actionQueue.pending = setPendingState.next = actionNode)); 13736 } 13737} 13738function runActionStateAction(actionQueue, node) { 13739 var action = node.action, 13740 payload = node.payload, 13741 prevState = actionQueue.state; 13742 if (node.isTransition) { 13743 var prevTransition = ReactSharedInternals.T, 13744 currentTransition = {}; 13745 ReactSharedInternals.T = currentTransition; 13746 try { 13747 var returnValue = action(prevState, payload), 13748 onStartTransitionFinish = ReactSharedInternals.S; 13749 null !== onStartTransitionFinish && 13750 onStartTransitionFinish(currentTransition, returnValue); 13751 handleActionReturnValue(actionQueue, node, returnValue); 13752 } catch (error) { 13753 onActionError(actionQueue, node, error); 13754 } finally { 13755 ReactSharedInternals.T = prevTransition; 13756 } 13757 } else 13758 try { 13759 (prevTransition = action(prevState, payload)), 13760 handleActionReturnValue(actionQueue, node, prevTransition); 13761 } catch (error$38) { 13762 onActionError(actionQueue, node, error$38); 13763 } 13764} 13765function handleActionReturnValue(actionQueue, node, returnValue) { 13766 null !== returnValue && 13767 "object" === typeof returnValue && 13768 "function" === typeof returnValue.then 13769 ? returnValue.then( 13770 function (nextState) {
13771 onActionSuccess(actionQueue, node, nextState); 13772 }, 13773 function (error) { 13774 return onActionError(actionQueue, node, error); 13775 } 13776 ) 13777 : onActionSuccess(actionQueue, node, returnValue); 13778} 13779function onActionSuccess(actionQueue, actionNode, nextState) { 13780 actionNode.status = "fulfilled"; 13781 actionNode.value = nextState; 13782 notifyActionListeners(actionNode); 13783 actionQueue.state = nextState; 13784 actionNode = actionQueue.pending; 13785 null !== actionNode && 13786 ((nextState = actionNode.next), 13787 nextState === actionNode 13788 ? (actionQueue.pending = null) 13789 : ((nextState = nextState.next), 13790 (actionNode.next = nextState), 13791 runActionStateAction(actionQueue, nextState))); 13792} 13793function onActionError(actionQueue, actionNode, error) { 13794 var last = actionQueue.pending; 13795 actionQueue.pending = null; 13796 if (null !== last) { 13797 last = last.next; 13798 do 13799 (actionNode.status = "rejected"), 13800 (actionNode.reason = error), 13801 notifyActionListeners(actionNode), 13802 (actionNode = actionNode.next); 13803 while (actionNode !== last); 13804 } 13805 actionQueue.action = null; 13806} 13807function notifyActionListeners(actionNode) { 13808 actionNode = actionNode.listeners; 13809 for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])(); 13810} 13811function actionStateReducer(oldState, newState) { 13812 return newState; 13813} 13814function mountActionState(action, initialStateProp) { 13815 if (isHydrating) { 13816 var ssrFormState = workInProgressRoot.formState; 13817 if (null !== ssrFormState) { 13818 a: { 13819 var JSCompiler_inline_result = currentlyRenderingFiber; 13820 if (isHydrating) { 13821 if (nextHydratableInstance) { 13822 b: { 13823 var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance; 13824 for ( 13825 var inRootOrSingleton = rootOrSingletonContext; 13826 8 !== JSCompiler_inline_result$jscomp$0.nodeType; 13827 13828 ) { 13829 if (!inRootOrSingleton) { 13830 JSCompiler_inline_result$jscomp$0 = null; 13831 break b; 13832 } 13833 JSCompiler_inline_result$jscomp$0 = getNextHydratable( 13834 JSCompiler_inline_result$jscomp$0.nextSibling 13835 ); 13836 if (null === JSCompiler_inline_result$jscomp$0) { 13837 JSCompiler_inline_result$jscomp$0 = null; 13838 break b; 13839 } 13840 } 13841 inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data; 13842 JSCompiler_inline_result$jscomp$0 = 13843 "F!" === inRootOrSingleton || "F" === inRootOrSingleton 13844 ? JSCompiler_inline_result$jscomp$0 13845 : null; 13846 } 13847 if (JSCompiler_inline_result$jscomp$0) { 13848 nextHydratableInstance = getNextHydratable( 13849 JSCompiler_inline_result$jscomp$0.nextSibling 13850 ); 13851 JSCompiler_inline_result = 13852 "F!" === JSCompiler_inline_result$jscomp$0.data; 13853 break a; 13854 } 13855 } 13856 throwOnHydrationMismatch(JSCompiler_inline_result); 13857 } 13858 JSCompiler_inline_result = !1; 13859 } 13860 JSCompiler_inline_result && (initialStateProp = ssrFormState[0]); 13861 } 13862 } 13863 ssrFormState = mountWorkInProgressHook(); 13864 ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp; 13865 JSCompiler_inline_result = { 13866 pending: null, 13867 lanes: 0, 13868 dispatch: null, 13869 lastRenderedReducer: actionStateReducer, 13870 lastRenderedState: initialStateProp 13871 }; 13872 ssrFormState.queue = JSCompiler_inline_result; 13873 ssrFormState = dispatchSetState.bind( 13874 null, 13875 currentlyRenderingFiber, 13876 JSCompiler_inline_result 13877 ); 13878 JSCompiler_inline_result.dispatch = ssrFormState; 13879 JSCompiler_inline_result = mountStateImpl(!1); 13880 inRootOrSingleton = dispatchOptimisticSetState.bind( 13881 null, 13882 currentlyRenderingFiber, 13883 !1, 13884 JSCompiler_inline_result.queue 13885 ); 13886 JSCompiler_inline_result = mountWorkInProgressHook(); 13887 JSCompiler_inline_result$jscomp$0 = { 13888 state: initialStateProp, 13889 dispatch: null, 13890 action: action, 13891 pending: null 13892 }; 13893 JSCompiler_inline_result.queue = JSCompiler_inline_result$jscomp$0; 13894 ssrFormState = dispatchActionState.bind( 13895 null, 13896 currentlyRenderingFiber, 13897 JSCompiler_inline_result$jscomp$0, 13898 inRootOrSingleton, 13899 ssrFormState 13900 ); 13901 JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState; 13902 JSCompiler_inline_result.memoizedState = action; 13903 return [initialStateProp, ssrFormState, !1]; 13904} 13905function updateActionState(action) { 13906 var stateHook = updateWorkInProgressHook(); 13907 return updateActionStateImpl(stateHook, currentHook, action); 13908} 13909function updateActionStateImpl(stateHook, currentStateHook, action) { 13910 currentStateHook = updateReducerImpl( 13911 stateHook, 13912 currentStateHook, 13913 actionStateReducer 13914 )[0]; 13915 stateHook = updateReducer(basicStateReducer)[0]; 13916 if ( 13917 "object" === typeof currentStateHook && 13918 null !== currentStateHook && 13919 "function" === typeof currentStateHook.then 13920 ) 13921 try { 13922 var state = useThenable(currentStateHook); 13923 } catch (x) { 13924 if (x === SuspenseException) throw SuspenseActionException; 13925 throw x; 13926 } 13927 else state = currentStateHook; 13928 currentStateHook = updateWorkInProgressHook(); 13929 var actionQueue = currentStateHook.queue, 13930 dispatch = actionQueue.dispatch; 13931 action !== currentStateHook.memoizedState && 13932 ((currentlyRenderingFiber.flags |= 2048), 13933 pushSimpleEffect( 13934 9,
13935 createEffectInstance(), 13936 actionStateActionEffect.bind(null, actionQueue, action), 13937 null 13938 )); 13939 return [state, dispatch, stateHook]; 13940} 13941function actionStateActionEffect(actionQueue, action) { 13942 actionQueue.action = action; 13943} 13944function rerenderActionState(action) { 13945 var stateHook = updateWorkInProgressHook(), 13946 currentStateHook = currentHook; 13947 if (null !== currentStateHook) 13948 return updateActionStateImpl(stateHook, currentStateHook, action); 13949 updateWorkInProgressHook(); 13950 stateHook = stateHook.memoizedState; 13951 currentStateHook = updateWorkInProgressHook(); 13952 var dispatch = currentStateHook.queue.dispatch; 13953 currentStateHook.memoizedState = action; 13954 return [stateHook, dispatch, !1]; 13955} 13956function pushSimpleEffect(tag, inst, create, createDeps) { 13957 tag = { tag: tag, create: create, deps: createDeps, inst: inst, next: null }; 13958 inst = currentlyRenderingFiber.updateQueue; 13959 null === inst && 13960 ((inst = createFunctionComponentUpdateQueue()), 13961 (currentlyRenderingFiber.updateQueue = inst)); 13962 create = inst.lastEffect; 13963 null === create 13964 ? (inst.lastEffect = tag.next = tag) 13965 : ((createDeps = create.next), 13966 (create.next = tag), 13967 (tag.next = createDeps), 13968 (inst.lastEffect = tag)); 13969 return tag; 13970} 13971function createEffectInstance() { 13972 return { destroy: void 0, resource: void 0 }; 13973} 13974function updateRef() { 13975 return updateWorkInProgressHook().memoizedState; 13976} 13977function mountEffectImpl(fiberFlags, hookFlags, create, createDeps) { 13978 var hook = mountWorkInProgressHook(); 13979 createDeps = void 0 === createDeps ? null : createDeps; 13980 currentlyRenderingFiber.flags |= fiberFlags; 13981 hook.memoizedState = pushSimpleEffect( 13982 1 | hookFlags, 13983 createEffectInstance(), 13984 create, 13985 createDeps 13986 ); 13987} 13988function updateEffectImpl(fiberFlags, hookFlags, create, deps) { 13989 var hook = updateWorkInProgressHook(); 13990 deps = void 0 === deps ? null : deps; 13991 var inst = hook.memoizedState.inst; 13992 null !== currentHook && 13993 null !== deps && 13994 areHookInputsEqual(deps, currentHook.memoizedState.deps) 13995 ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps)) 13996 : ((currentlyRenderingFiber.flags |= fiberFlags), 13997 (hook.memoizedState = pushSimpleEffect( 13998 1 | hookFlags, 13999 inst, 14000 create, 14001 deps 14002 ))); 14003} 14004function mountEffect(create, createDeps) { 14005 mountEffectImpl(8390656, 8, create, createDeps); 14006} 14007function updateEffect(create, createDeps) { 14008 updateEffectImpl(2048, 8, create, createDeps); 14009} 14010function updateInsertionEffect(create, deps) { 14011 return updateEffectImpl(4, 2, create, deps); 14012} 14013function updateLayoutEffect(create, deps) { 14014 return updateEffectImpl(4, 4, create, deps); 14015} 14016function imperativeHandleEffect(create, ref) { 14017 if ("function" === typeof ref) { 14018 create = create(); 14019 var refCleanup = ref(create); 14020 return function () { 14021 "function" === typeof refCleanup ? refCleanup() : ref(null); 14022 }; 14023 } 14024 if (null !== ref && void 0 !== ref) 14025 return ( 14026 (create = create()), 14027 (ref.current = create), 14028 function () { 14029 ref.current = null; 14030 } 14031 ); 14032} 14033function updateImperativeHandle(ref, create, deps) { 14034 deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; 14035 updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps); 14036} 14037function mountDebugValue() {} 14038function updateCallback(callback, deps) { 14039 var hook = updateWorkInProgressHook(); 14040 deps = void 0 === deps ? null : deps; 14041 var prevState = hook.memoizedState; 14042 if (null !== deps && areHookInputsEqual(deps, prevState[1])) 14043 return prevState[0]; 14044 hook.memoizedState = [callback, deps]; 14045 return callback; 14046} 14047function updateMemo(nextCreate, deps) { 14048 var hook = updateWorkInProgressHook(); 14049 deps = void 0 === deps ? null : deps; 14050 var prevState = hook.memoizedState; 14051 if (null !== deps && areHookInputsEqual(deps, prevState[1])) 14052 return prevState[0]; 14053 prevState = nextCreate(); 14054 if (shouldDoubleInvokeUserFnsInHooksDEV) { 14055 setIsStrictModeForDevtools(!0); 14056 try { 14057 nextCreate(); 14058 } finally { 14059 setIsStrictModeForDevtools(!1); 14060 } 14061 } 14062 hook.memoizedState = [prevState, deps]; 14063 return prevState; 14064} 14065function mountDeferredValueImpl(hook, value, initialValue) { 14066 if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) 14067 return (hook.memoizedState = value); 14068 hook.memoizedState = initialValue; 14069 hook = requestDeferredLane(); 14070 currentlyRenderingFiber.lanes |= hook; 14071 workInProgressRootSkippedLanes |= hook; 14072 return initialValue; 14073} 14074function updateDeferredValueImpl(hook, prevValue, value, initialValue) { 14075 if (objectIs(value, prevValue)) return value; 14076 if (null !== currentTreeHiddenStackCursor.current) 14077 return ( 14078 (hook = mountDeferredValueImpl(hook, value, initialValue)), 14079 objectIs(hook, prevValue) || (didReceiveUpdate = !0), 14080 hook 14081 ); 14082 if (0 === (renderLanes & 42)) 14083 return (didReceiveUpdate = !0), (hook.memoizedState = value); 14084 hook = requestDeferredLane(); 14085 currentlyRenderingFiber.lanes |= hook; 14086 workInProgressRootSkippedLanes |= hook; 14087 return prevValue; 14088} 14089function startTransition(fiber, queue, pendingState, finishedState, callback) { 14090 var previousPriority = ReactDOMSharedInternals.p; 14091 ReactDOMSharedInternals.p = 14092 0 !== previousPriority && 8 > previousPriority ? previousPriority : 8; 14093 var prevTransition = ReactSharedInternals.T, 14094 currentTransition = {}; 14095 ReactSharedInternals.T = currentTransition; 14096 dispatchOptimisticSetState(fiber, !1, queue, pendingState); 14097 try { 14098 var returnValue = callback(), 14099 onStartTransitionFinish = ReactSharedInternals.S; 14100 null !== onStartTransitionFinish && 14101 onStartTransitionFinish(currentTransition, returnValue); 14102 if ( 14103 null !== returnValue && 14104 "object" === typeof returnValue && 14105 "function" === typeof returnValue.then 14106 ) { 14107 var thenableForFinishedState = chainThenableValue( 14108 returnValue, 14109 finishedState 14110 ); 14111 dispatchSetStateInternal( 14112 fiber, 14113 queue, 14114 thenableForFinishedState, 14115 requestUpdateLane(fiber) 14116 ); 14117 } else 14118 dispatchSetStateInternal( 14119 fiber, 14120 queue, 14121 finishedState, 14122 requestUpdateLane(fiber) 14123 ); 14124 } catch (error) { 14125 dispatchSetStateInternal( 14126 fiber, 14127 queue, 14128 { then: function () {}, status: "rejected", reason: error }, 14129 requestUpdateLane() 14130 ); 14131 } finally { 14132 (ReactDOMSharedInternals.p = previousPriority), 14133 (ReactSharedInternals.T = prevTransition); 14134 } 14135} 14136function noop$2() {} 14137function startHostTransition(formFiber, pendingState, action, formData) { 14138 if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476)); 14139 var queue = ensureFormComponentIsStateful(formFiber).queue; 14140 startTransition( 14141 formFiber, 14142 queue, 14143 pendingState,
14144 sharedNotPendingObject, 14145 null === action 14146 ? noop$2 14147 : function () { 14148 requestFormReset$1(formFiber); 14149 return action(formData); 14150 } 14151 ); 14152} 14153function ensureFormComponentIsStateful(formFiber) { 14154 var existingStateHook = formFiber.memoizedState; 14155 if (null !== existingStateHook) return existingStateHook; 14156 existingStateHook = { 14157 memoizedState: sharedNotPendingObject, 14158 baseState: sharedNotPendingObject, 14159 baseQueue: null, 14160 queue: { 14161 pending: null, 14162 lanes: 0, 14163 dispatch: null, 14164 lastRenderedReducer: basicStateReducer, 14165 lastRenderedState: sharedNotPendingObject 14166 }, 14167 next: null 14168 }; 14169 var initialResetState = {}; 14170 existingStateHook.next = { 14171 memoizedState: initialResetState, 14172 baseState: initialResetState, 14173 baseQueue: null, 14174 queue: { 14175 pending: null, 14176 lanes: 0, 14177 dispatch: null, 14178 lastRenderedReducer: basicStateReducer, 14179 lastRenderedState: initialResetState 14180 }, 14181 next: null 14182 }; 14183 formFiber.memoizedState = existingStateHook; 14184 formFiber = formFiber.alternate; 14185 null !== formFiber && (formFiber.memoizedState = existingStateHook); 14186 return existingStateHook; 14187} 14188function requestFormReset$1(formFiber) { 14189 var resetStateQueue = ensureFormComponentIsStateful(formFiber).next.queue; 14190 dispatchSetStateInternal(formFiber, resetStateQueue, {}, requestUpdateLane()); 14191} 14192function useHostTransitionStatus() { 14193 return readContext(HostTransitionContext); 14194} 14195function updateId() { 14196 return updateWorkInProgressHook().memoizedState; 14197} 14198function updateRefresh() { 14199 return updateWorkInProgressHook().memoizedState; 14200} 14201function refreshCache(fiber) { 14202 for (var provider = fiber.return; null !== provider; ) { 14203 switch (provider.tag) { 14204 case 24: 14205 case 3: 14206 var lane = requestUpdateLane(); 14207 fiber = createUpdate(lane); 14208 var root$41 = enqueueUpdate(provider, fiber, lane); 14209 null !== root$41 && 14210 (scheduleUpdateOnFiber(root$41, provider, lane), 14211 entangleTransitions(root$41, provider, lane)); 14212 provider = { cache: createCache() }; 14213 fiber.payload = provider; 14214 return; 14215 } 14216 provider = provider.return; 14217 } 14218} 14219function dispatchReducerAction(fiber, queue, action) { 14220 var lane = requestUpdateLane(); 14221 action = { 14222 lane: lane, 14223 revertLane: 0, 14224 action: action, 14225 hasEagerState: !1, 14226 eagerState: null, 14227 next: null 14228 }; 14229 isRenderPhaseUpdate(fiber) 14230 ? enqueueRenderPhaseUpdate(queue, action) 14231 : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)), 14232 null !== action && 14233 (scheduleUpdateOnFiber(action, fiber, lane), 14234 entangleTransitionUpdate(action, queue, lane))); 14235} 14236function dispatchSetState(fiber, queue, action) { 14237 var lane = requestUpdateLane(); 14238 dispatchSetStateInternal(fiber, queue, action, lane); 14239} 14240function dispatchSetStateInternal(fiber, queue, action, lane) { 14241 var update = { 14242 lane: lane, 14243 revertLane: 0, 14244 action: action, 14245 hasEagerState: !1, 14246 eagerState: null, 14247 next: null 14248 }; 14249 if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update); 14250 else { 14251 var alternate = fiber.alternate; 14252 if ( 14253 0 === fiber.lanes && 14254 (null === alternate || 0 === alternate.lanes) && 14255 ((alternate = queue.lastRenderedReducer), null !== alternate) 14256 ) 14257 try { 14258 var currentState = queue.lastRenderedState, 14259 eagerState = alternate(currentState, action); 14260 update.hasEagerState = !0; 14261 update.eagerState = eagerState; 14262 if (objectIs(eagerState, currentState)) 14263 return ( 14264 enqueueUpdate$1(fiber, queue, update, 0), 14265 null === workInProgressRoot && finishQueueingConcurrentUpdates(), 14266 !1 14267 ); 14268 } catch (error) { 14269 } finally { 14270 } 14271 action = enqueueConcurrentHookUpdate(fiber, queue, update, lane); 14272 if (null !== action) 14273 return ( 14274 scheduleUpdateOnFiber(action, fiber, lane), 14275 entangleTransitionUpdate(action, queue, lane), 14276 !0 14277 ); 14278 } 14279 return !1; 14280} 14281function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) { 14282 action = { 14283 lane: 2, 14284 revertLane: requestTransitionLane(), 14285 action: action, 14286 hasEagerState: !1, 14287 eagerState: null, 14288 next: null 14289 }; 14290 if (isRenderPhaseUpdate(fiber)) { 14291 if (throwIfDuringRender) throw Error(formatProdErrorMessage(479)); 14292 } else
14293 (throwIfDuringRender = enqueueConcurrentHookUpdate( 14294 fiber, 14295 queue, 14296 action, 14297 2 14298 )), 14299 null !== throwIfDuringRender && 14300 scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); 14301} 14302function isRenderPhaseUpdate(fiber) { 14303 var alternate = fiber.alternate; 14304 return ( 14305 fiber === currentlyRenderingFiber || 14306 (null !== alternate && alternate === currentlyRenderingFiber) 14307 ); 14308} 14309function enqueueRenderPhaseUpdate(queue, update) { 14310 didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = 14311 !0; 14312 var pending = queue.pending; 14313 null === pending 14314 ? (update.next = update) 14315 : ((update.next = pending.next), (pending.next = update)); 14316 queue.pending = update; 14317} 14318function entangleTransitionUpdate(root, queue, lane) { 14319 if (0 !== (lane & 4194048)) { 14320 var queueLanes = queue.lanes; 14321 queueLanes &= root.pendingLanes; 14322 lane |= queueLanes; 14323 queue.lanes = lane; 14324 markRootEntangled(root, lane); 14325 } 14326} 14327var ContextOnlyDispatcher = { 14328 readContext: readContext, 14329 use: use, 14330 useCallback: throwInvalidHookError, 14331 useContext: throwInvalidHookError, 14332 useEffect: throwInvalidHookError, 14333 useImperativeHandle: throwInvalidHookError, 14334 useLayoutEffect: throwInvalidHookError, 14335 useInsertionEffect: throwInvalidHookError, 14336 useMemo: throwInvalidHookError, 14337 useReducer: throwInvalidHookError, 14338 useRef: throwInvalidHookError, 14339 useState: throwInvalidHookError, 14340 useDebugValue: throwInvalidHookError, 14341 useDeferredValue: throwInvalidHookError, 14342 useTransition: throwInvalidHookError, 14343 useSyncExternalStore: throwInvalidHookError, 14344 useId: throwInvalidHookError, 14345 useHostTransitionStatus: throwInvalidHookError, 14346 useFormState: throwInvalidHookError, 14347 useActionState: throwInvalidHookError, 14348 useOptimistic: throwInvalidHookError, 14349 useMemoCache: throwInvalidHookError, 14350 useCacheRefresh: throwInvalidHookError 14351 }, 14352 HooksDispatcherOnMount = { 14353 readContext: readContext, 14354 use: use, 14355 useCallback: function (callback, deps) { 14356 mountWorkInProgressHook().memoizedState = [ 14357 callback, 14358 void 0 === deps ? null : deps 14359 ]; 14360 return callback; 14361 }, 14362 useContext: readContext, 14363 useEffect: mountEffect, 14364 useImperativeHandle: function (ref, create, deps) { 14365 deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; 14366 mountEffectImpl( 14367 4194308, 14368 4, 14369 imperativeHandleEffect.bind(null, create, ref), 14370 deps 14371 ); 14372 }, 14373 useLayoutEffect: function (create, deps) { 14374 return mountEffectImpl(4194308, 4, create, deps); 14375 }, 14376 useInsertionEffect: function (create, deps) { 14377 mountEffectImpl(4, 2, create, deps); 14378 }, 14379 useMemo: function (nextCreate, deps) { 14380 var hook = mountWorkInProgressHook(); 14381 deps = void 0 === deps ? null : deps; 14382 var nextValue = nextCreate(); 14383 if (shouldDoubleInvokeUserFnsInHooksDEV) { 14384 setIsStrictModeForDevtools(!0); 14385 try { 14386 nextCreate(); 14387 } finally { 14388 setIsStrictModeForDevtools(!1); 14389 } 14390 } 14391 hook.memoizedState = [nextValue, deps]; 14392 return nextValue; 14393 }, 14394 useReducer: function (reducer, initialArg, init) { 14395 var hook = mountWorkInProgressHook(); 14396 if (void 0 !== init) { 14397 var initialState = init(initialArg); 14398 if (shouldDoubleInvokeUserFnsInHooksDEV) { 14399 setIsStrictModeForDevtools(!0); 14400 try { 14401 init(initialArg); 14402 } finally { 14403 setIsStrictModeForDevtools(!1); 14404 } 14405 } 14406 } else initialState = initialArg; 14407 hook.memoizedState = hook.baseState = initialState; 14408 reducer = { 14409 pending: null, 14410 lanes: 0, 14411 dispatch: null, 14412 lastRenderedReducer: reducer, 14413 lastRenderedState: initialState 14414 }; 14415 hook.queue = reducer; 14416 reducer = reducer.dispatch = dispatchReducerAction.bind( 14417 null, 14418 currentlyRenderingFiber, 14419 reducer 14420 ); 14421 return [hook.memoizedState, reducer]; 14422 }, 14423 useRef: function (initialValue) { 14424 var hook = mountWorkInProgressHook(); 14425 initialValue = { current: initialValue }; 14426 return (hook.memoizedState = initialValue); 14427 }, 14428 useState: function (initialState) { 14429 initialState = mountStateImpl(initialState); 14430 var queue = initialState.queue, 14431 dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue); 14432 queue.dispatch = dispatch; 14433 return [initialState.memoizedState, dispatch]; 14434 }, 14435 useDebugValue: mountDebugValue, 14436 useDeferredValue: function (value, initialValue) { 14437 var hook = mountWorkInProgressHook(); 14438 return mountDeferredValueImpl(hook, value, initialValue); 14439 }, 14440 useTransition: function () { 14441 var stateHook = mountStateImpl(!1); 14442 stateHook = startTransition.bind( 14443 null, 14444 currentlyRenderingFiber, 14445 stateHook.queue, 14446 !0, 14447 !1 14448 ); 14449 mountWorkInProgressHook().memoizedState = stateHook; 14450 return [!1, stateHook]; 14451 }, 14452 useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) { 14453 var fiber = currentlyRenderingFiber, 14454 hook = mountWorkInProgressHook(); 14455 if (isHydrating) { 14456 if (void 0 === getServerSnapshot) 14457 throw Error(formatProdErrorMessage(407)); 14458 getServerSnapshot = getServerSnapshot(); 14459 } else { 14460 getServerSnapshot = getSnapshot(); 14461 if (null === workInProgressRoot) 14462 throw Error(formatProdErrorMessage(349)); 14463 0 !== (workInProgressRootRenderLanes & 124) || 14464 pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot); 14465 } 14466 hook.memoizedState = getServerSnapshot; 14467 var inst = { value: getServerSnapshot, getSnapshot: getSnapshot }; 14468 hook.queue = inst; 14469 mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [ 14470 subscribe 14471 ]); 14472 fiber.flags |= 2048; 14473 pushSimpleEffect( 14474 9,
14475 createEffectInstance(), 14476 updateStoreInstance.bind( 14477 null, 14478 fiber, 14479 inst, 14480 getServerSnapshot, 14481 getSnapshot 14482 ), 14483 null 14484 ); 14485 return getServerSnapshot; 14486 }, 14487 useId: function () { 14488 var hook = mountWorkInProgressHook(), 14489 identifierPrefix = workInProgressRoot.identifierPrefix; 14490 if (isHydrating) { 14491 var JSCompiler_inline_result = treeContextOverflow; 14492 var idWithLeadingBit = treeContextId; 14493 JSCompiler_inline_result = 14494 ( 14495 idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1)) 14496 ).toString(32) + JSCompiler_inline_result; 14497 identifierPrefix = 14498 "\u00ab" + identifierPrefix + "R" + JSCompiler_inline_result; 14499 JSCompiler_inline_result = localIdCounter++; 14500 0 < JSCompiler_inline_result && 14501 (identifierPrefix += "H" + JSCompiler_inline_result.toString(32)); 14502 identifierPrefix += "\u00bb"; 14503 } else 14504 (JSCompiler_inline_result = globalClientIdCounter++), 14505 (identifierPrefix = 14506 "\u00ab" + 14507 identifierPrefix + 14508 "r" + 14509 JSCompiler_inline_result.toString(32) + 14510 "\u00bb"); 14511 return (hook.memoizedState = identifierPrefix); 14512 }, 14513 useHostTransitionStatus: useHostTransitionStatus, 14514 useFormState: mountActionState, 14515 useActionState: mountActionState, 14516 useOptimistic: function (passthrough) { 14517 var hook = mountWorkInProgressHook(); 14518 hook.memoizedState = hook.baseState = passthrough; 14519 var queue = { 14520 pending: null, 14521 lanes: 0, 14522 dispatch: null, 14523 lastRenderedReducer: null, 14524 lastRenderedState: null 14525 }; 14526 hook.queue = queue; 14527 hook = dispatchOptimisticSetState.bind( 14528 null, 14529 currentlyRenderingFiber, 14530 !0, 14531 queue 14532 ); 14533 queue.dispatch = hook; 14534 return [passthrough, hook]; 14535 }, 14536 useMemoCache: useMemoCache, 14537 useCacheRefresh: function () { 14538 return (mountWorkInProgressHook().memoizedState = refreshCache.bind( 14539 null, 14540 currentlyRenderingFiber 14541 )); 14542 } 14543 }, 14544 HooksDispatcherOnUpdate = { 14545 readContext: readContext, 14546 use: use, 14547 useCallback: updateCallback, 14548 useContext: readContext, 14549 useEffect: updateEffect, 14550 useImperativeHandle: updateImperativeHandle, 14551 useInsertionEffect: updateInsertionEffect, 14552 useLayoutEffect: updateLayoutEffect, 14553 useMemo: updateMemo, 14554 useReducer: updateReducer, 14555 useRef: updateRef, 14556 useState: function () { 14557 return updateReducer(basicStateReducer); 14558 }, 14559 useDebugValue: mountDebugValue, 14560 useDeferredValue: function (value, initialValue) { 14561 var hook = updateWorkInProgressHook(); 14562 return updateDeferredValueImpl( 14563 hook, 14564 currentHook.memoizedState, 14565 value, 14566 initialValue 14567 ); 14568 }, 14569 useTransition: function () { 14570 var booleanOrThenable = updateReducer(basicStateReducer)[0], 14571 start = updateWorkInProgressHook().memoizedState; 14572 return [ 14573 "boolean" === typeof booleanOrThenable 14574 ? booleanOrThenable 14575 : useThenable(booleanOrThenable), 14576 start 14577 ]; 14578 }, 14579 useSyncExternalStore: updateSyncExternalStore, 14580 useId: updateId, 14581 useHostTransitionStatus: useHostTransitionStatus, 14582 useFormState: updateActionState, 14583 useActionState: updateActionState, 14584 useOptimistic: function (passthrough, reducer) { 14585 var hook = updateWorkInProgressHook(); 14586 return updateOptimisticImpl(hook, currentHook, passthrough, reducer); 14587 }, 14588 useMemoCache: useMemoCache, 14589 useCacheRefresh: updateRefresh 14590 }, 14591 HooksDispatcherOnRerender = { 14592 readContext: readContext, 14593 use: use, 14594 useCallback: updateCallback, 14595 useContext: readContext, 14596 useEffect: updateEffect, 14597 useImperativeHandle: updateImperativeHandle, 14598 useInsertionEffect: updateInsertionEffect, 14599 useLayoutEffect: updateLayoutEffect, 14600 useMemo: updateMemo, 14601 useReducer: rerenderReducer, 14602 useRef: updateRef, 14603 useState: function () { 14604 return rerenderReducer(basicStateReducer); 14605 }, 14606 useDebugValue: mountDebugValue, 14607 useDeferredValue: function (value, initialValue) { 14608 var hook = updateWorkInProgressHook(); 14609 return null === currentHook 14610 ? mountDeferredValueImpl(hook, value, initialValue) 14611 : updateDeferredValueImpl( 14612 hook, 14613 currentHook.memoizedState, 14614 value, 14615 initialValue 14616 ); 14617 }, 14618 useTransition: function () { 14619 var booleanOrThenable = rerenderReducer(basicStateReducer)[0], 14620 start = updateWorkInProgressHook().memoizedState; 14621 return [ 14622 "boolean" === typeof booleanOrThenable 14623 ? booleanOrThenable 14624 : useThenable(booleanOrThenable), 14625 start 14626 ]; 14627 }, 14628 useSyncExternalStore: updateSyncExternalStore, 14629 useId: updateId, 14630 useHostTransitionStatus: useHostTransitionStatus, 14631 useFormState: rerenderActionState, 14632 useActionState: rerenderActionState, 14633 useOptimistic: function (passthrough, reducer) { 14634 var hook = updateWorkInProgressHook(); 14635 if (null !== currentHook) 14636 return updateOptimisticImpl(hook, currentHook, passthrough, reducer); 14637 hook.baseState = passthrough; 14638 return [passthrough, hook.queue.dispatch]; 14639 }, 14640 useMemoCache: useMemoCache, 14641 useCacheRefresh: updateRefresh 14642 }, 14643 thenableState = null, 14644 thenableIndexCounter = 0; 14645function unwrapThenable(thenable) { 14646 var index = thenableIndexCounter; 14647 thenableIndexCounter += 1; 14648 null === thenableState && (thenableState = []); 14649 return trackUsedThenable(thenableState, thenable, index); 14650} 14651function coerceRef(workInProgress, element) { 14652 element = element.props.ref; 14653 workInProgress.ref = void 0 !== element ? element : null; 14654}
14655function throwOnInvalidObjectType(returnFiber, newChild) { 14656 if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) 14657 throw Error(formatProdErrorMessage(525)); 14658 returnFiber = Object.prototype.toString.call(newChild); 14659 throw Error( 14660 formatProdErrorMessage( 14661 31, 14662 "[object Object]" === returnFiber 14663 ? "object with keys {" + Object.keys(newChild).join(", ") + "}" 14664 : returnFiber 14665 ) 14666 ); 14667} 14668function resolveLazy(lazyType) { 14669 var init = lazyType._init; 14670 return init(lazyType._payload); 14671} 14672function createChildReconciler(shouldTrackSideEffects) { 14673 function deleteChild(returnFiber, childToDelete) { 14674 if (shouldTrackSideEffects) { 14675 var deletions = returnFiber.deletions; 14676 null === deletions 14677 ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) 14678 : deletions.push(childToDelete); 14679 } 14680 } 14681 function deleteRemainingChildren(returnFiber, currentFirstChild) { 14682 if (!shouldTrackSideEffects) return null; 14683 for (; null !== currentFirstChild; ) 14684 deleteChild(returnFiber, currentFirstChild), 14685 (currentFirstChild = currentFirstChild.sibling); 14686 return null; 14687 } 14688 function mapRemainingChildren(currentFirstChild) { 14689 for (var existingChildren = new Map(); null !== currentFirstChild; ) 14690 null !== currentFirstChild.key 14691 ? existingChildren.set(currentFirstChild.key, currentFirstChild) 14692 : existingChildren.set(currentFirstChild.index, currentFirstChild), 14693 (currentFirstChild = currentFirstChild.sibling); 14694 return existingChildren; 14695 } 14696 function useFiber(fiber, pendingProps) { 14697 fiber = createWorkInProgress(fiber, pendingProps); 14698 fiber.index = 0; 14699 fiber.sibling = null; 14700 return fiber; 14701 } 14702 function placeChild(newFiber, lastPlacedIndex, newIndex) { 14703 newFiber.index = newIndex; 14704 if (!shouldTrackSideEffects) 14705 return (newFiber.flags |= 1048576), lastPlacedIndex; 14706 newIndex = newFiber.alternate; 14707 if (null !== newIndex) 14708 return ( 14709 (newIndex = newIndex.index), 14710 newIndex < lastPlacedIndex 14711 ? ((newFiber.flags |= 67108866), lastPlacedIndex) 14712 : newIndex 14713 ); 14714 newFiber.flags |= 67108866; 14715 return lastPlacedIndex; 14716 } 14717 function placeSingleChild(newFiber) { 14718 shouldTrackSideEffects && 14719 null === newFiber.alternate && 14720 (newFiber.flags |= 67108866); 14721 return newFiber; 14722 } 14723 function updateTextNode(returnFiber, current, textContent, lanes) { 14724 if (null === current || 6 !== current.tag) 14725 return ( 14726 (current = createFiberFromText(textContent, returnFiber.mode, lanes)), 14727 (current.return = returnFiber), 14728 current 14729 ); 14730 current = useFiber(current, textContent); 14731 current.return = returnFiber; 14732 return current; 14733 } 14734 function updateElement(returnFiber, current, element, lanes) { 14735 var elementType = element.type; 14736 if (elementType === REACT_FRAGMENT_TYPE) 14737 return updateFragment( 14738 returnFiber, 14739 current, 14740 element.props.children, 14741 lanes, 14742 element.key 14743 ); 14744 if ( 14745 null !== current && 14746 (current.elementType === elementType || 14747 ("object" === typeof elementType && 14748 null !== elementType && 14749 elementType.$$typeof === REACT_LAZY_TYPE && 14750 resolveLazy(elementType) === current.type)) 14751 ) 14752 return ( 14753 (current = useFiber(current, element.props)), 14754 coerceRef(current, element), 14755 (current.return = returnFiber), 14756 current 14757 ); 14758 current = createFiberFromTypeAndProps( 14759 element.type, 14760 element.key, 14761 element.props, 14762 null, 14763 returnFiber.mode, 14764 lanes 14765 ); 14766 coerceRef(current, element); 14767 current.return = returnFiber; 14768 return current; 14769 } 14770 function updatePortal(returnFiber, current, portal, lanes) { 14771 if ( 14772 null === current || 14773 4 !== current.tag || 14774 current.stateNode.containerInfo !== portal.containerInfo || 14775 current.stateNode.implementation !== portal.implementation 14776 ) 14777 return ( 14778 (current = createFiberFromPortal(portal, returnFiber.mode, lanes)), 14779 (current.return = returnFiber), 14780 current 14781 ); 14782 current = useFiber(current, portal.children || []); 14783 current.return = returnFiber; 14784 return current; 14785 } 14786 function updateFragment(returnFiber, current, fragment, lanes, key) { 14787 if (null === current || 7 !== current.tag) 14788 return ( 14789 (current = createFiberFromFragment( 14790 fragment, 14791 returnFiber.mode, 14792 lanes, 14793 key 14794 )), 14795 (current.return = returnFiber), 14796 current 14797 ); 14798 current = useFiber(current, fragment); 14799 current.return = returnFiber; 14800 return current; 14801 } 14802 function createChild(returnFiber, newChild, lanes) { 14803 if ( 14804 ("string" === typeof newChild && "" !== newChild) || 14805 "number" === typeof newChild || 14806 "bigint" === typeof newChild 14807 ) 14808 return ( 14809 (newChild = createFiberFromText( 14810 "" + newChild, 14811 returnFiber.mode, 14812 lanes 14813 )), 14814 (newChild.return = returnFiber), 14815 newChild 14816 ); 14817 if ("object" === typeof newChild && null !== newChild) { 14818 switch (newChild.$$typeof) { 14819 case REACT_ELEMENT_TYPE: 14820 return ( 14821 (lanes = createFiberFromTypeAndProps( 14822 newChild.type, 14823 newChild.key, 14824 newChild.props, 14825 null, 14826 returnFiber.mode, 14827 lanes 14828 )), 14829 coerceRef(lanes, newChild), 14830 (lanes.return = returnFiber), 14831 lanes 14832 ); 14833 case REACT_PORTAL_TYPE: 14834 return ( 14835 (newChild = createFiberFromPortal( 14836 newChild, 14837 returnFiber.mode, 14838 lanes 14839 )), 14840 (newChild.return = returnFiber), 14841 newChild 14842 ); 14843 case REACT_LAZY_TYPE: 14844 var init = newChild._init; 14845 newChild = init(newChild._payload); 14846 return createChild(returnFiber, newChild, lanes); 14847 } 14848 if (isArrayImpl(newChild) || getIteratorFn(newChild)) 14849 return ( 14850 (newChild = createFiberFromFragment( 14851 newChild, 14852 returnFiber.mode, 14853 lanes, 14854 null 14855 )), 14856 (newChild.return = returnFiber), 14857 newChild 14858 ); 14859 if ("function" === typeof newChild.then) 14860 return createChild(returnFiber, unwrapThenable(newChild), lanes); 14861 if (newChild.$$typeof === REACT_CONTEXT_TYPE) 14862 return createChild( 14863 returnFiber, 14864 readContextDuringReconciliation(returnFiber, newChild), 14865 lanes 14866 );
14867 throwOnInvalidObjectType(returnFiber, newChild); 14868 } 14869 return null; 14870 } 14871 function updateSlot(returnFiber, oldFiber, newChild, lanes) { 14872 var key = null !== oldFiber ? oldFiber.key : null; 14873 if ( 14874 ("string" === typeof newChild && "" !== newChild) || 14875 "number" === typeof newChild || 14876 "bigint" === typeof newChild 14877 ) 14878 return null !== key 14879 ? null 14880 : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes); 14881 if ("object" === typeof newChild && null !== newChild) { 14882 switch (newChild.$$typeof) { 14883 case REACT_ELEMENT_TYPE: 14884 return newChild.key === key 14885 ? updateElement(returnFiber, oldFiber, newChild, lanes) 14886 : null; 14887 case REACT_PORTAL_TYPE: 14888 return newChild.key === key 14889 ? updatePortal(returnFiber, oldFiber, newChild, lanes) 14890 : null; 14891 case REACT_LAZY_TYPE: 14892 return ( 14893 (key = newChild._init), 14894 (newChild = key(newChild._payload)), 14895 updateSlot(returnFiber, oldFiber, newChild, lanes) 14896 ); 14897 } 14898 if (isArrayImpl(newChild) || getIteratorFn(newChild)) 14899 return null !== key 14900 ? null 14901 : updateFragment(returnFiber, oldFiber, newChild, lanes, null); 14902 if ("function" === typeof newChild.then) 14903 return updateSlot( 14904 returnFiber, 14905 oldFiber, 14906 unwrapThenable(newChild), 14907 lanes 14908 ); 14909 if (newChild.$$typeof === REACT_CONTEXT_TYPE) 14910 return updateSlot( 14911 returnFiber, 14912 oldFiber, 14913 readContextDuringReconciliation(returnFiber, newChild), 14914 lanes 14915 ); 14916 throwOnInvalidObjectType(returnFiber, newChild); 14917 } 14918 return null; 14919 } 14920 function updateFromMap( 14921 existingChildren, 14922 returnFiber, 14923 newIdx, 14924 newChild, 14925 lanes 14926 ) { 14927 if ( 14928 ("string" === typeof newChild && "" !== newChild) || 14929 "number" === typeof newChild || 14930 "bigint" === typeof newChild 14931 ) 14932 return ( 14933 (existingChildren = existingChildren.get(newIdx) || null), 14934 updateTextNode(returnFiber, existingChildren, "" + newChild, lanes) 14935 ); 14936 if ("object" === typeof newChild && null !== newChild) { 14937 switch (newChild.$$typeof) { 14938 case REACT_ELEMENT_TYPE: 14939 return ( 14940 (existingChildren = 14941 existingChildren.get( 14942 null === newChild.key ? newIdx : newChild.key 14943 ) || null), 14944 updateElement(returnFiber, existingChildren, newChild, lanes) 14945 ); 14946 case REACT_PORTAL_TYPE: 14947 return ( 14948 (existingChildren = 14949 existingChildren.get( 14950 null === newChild.key ? newIdx : newChild.key 14951 ) || null), 14952 updatePortal(returnFiber, existingChildren, newChild, lanes) 14953 ); 14954 case REACT_LAZY_TYPE: 14955 var init = newChild._init; 14956 newChild = init(newChild._payload); 14957 return updateFromMap( 14958 existingChildren, 14959 returnFiber, 14960 newIdx, 14961 newChild, 14962 lanes 14963 ); 14964 } 14965 if (isArrayImpl(newChild) || getIteratorFn(newChild)) 14966 return ( 14967 (existingChildren = existingChildren.get(newIdx) || null), 14968 updateFragment(returnFiber, existingChildren, newChild, lanes, null) 14969 ); 14970 if ("function" === typeof newChild.then) 14971 return updateFromMap( 14972 existingChildren, 14973 returnFiber, 14974 newIdx, 14975 unwrapThenable(newChild), 14976 lanes 14977 ); 14978 if (newChild.$$typeof === REACT_CONTEXT_TYPE) 14979 return updateFromMap( 14980 existingChildren, 14981 returnFiber, 14982 newIdx, 14983 readContextDuringReconciliation(returnFiber, newChild), 14984 lanes 14985 ); 14986 throwOnInvalidObjectType(returnFiber, newChild); 14987 } 14988 return null; 14989 } 14990 function reconcileChildrenArray( 14991 returnFiber, 14992 currentFirstChild, 14993 newChildren, 14994 lanes 14995 ) { 14996 for ( 14997 var resultingFirstChild = null, 14998 previousNewFiber = null, 14999 oldFiber = currentFirstChild, 15000 newIdx = (currentFirstChild = 0), 15001 nextOldFiber = null; 15002 null !== oldFiber && newIdx < newChildren.length; 15003 newIdx++ 15004 ) { 15005 oldFiber.index > newIdx 15006 ? ((nextOldFiber = oldFiber), (oldFiber = null)) 15007 : (nextOldFiber = oldFiber.sibling); 15008 var newFiber = updateSlot( 15009 returnFiber, 15010 oldFiber, 15011 newChildren[newIdx], 15012 lanes 15013 ); 15014 if (null === newFiber) { 15015 null === oldFiber && (oldFiber = nextOldFiber); 15016 break; 15017 } 15018 shouldTrackSideEffects && 15019 oldFiber && 15020 null === newFiber.alternate && 15021 deleteChild(returnFiber, oldFiber); 15022 currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); 15023 null === previousNewFiber 15024 ? (resultingFirstChild = newFiber) 15025 : (previousNewFiber.sibling = newFiber); 15026 previousNewFiber = newFiber; 15027 oldFiber = nextOldFiber; 15028 } 15029 if (newIdx === newChildren.length) 15030 return ( 15031 deleteRemainingChildren(returnFiber, oldFiber), 15032 isHydrating && pushTreeFork(returnFiber, newIdx), 15033 resultingFirstChild 15034 ); 15035 if (null === oldFiber) { 15036 for (; newIdx < newChildren.length; newIdx++) 15037 (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)), 15038 null !== oldFiber && 15039 ((currentFirstChild = placeChild( 15040 oldFiber, 15041 currentFirstChild, 15042 newIdx 15043 )), 15044 null === previousNewFiber 15045 ? (resultingFirstChild = oldFiber) 15046 : (previousNewFiber.sibling = oldFiber), 15047 (previousNewFiber = oldFiber)); 15048 isHydrating && pushTreeFork(returnFiber, newIdx); 15049 return resultingFirstChild; 15050 } 15051 for ( 15052 oldFiber = mapRemainingChildren(oldFiber); 15053 newIdx < newChildren.length; 15054 newIdx++ 15055 ) 15056 (nextOldFiber = updateFromMap( 15057 oldFiber, 15058 returnFiber, 15059 newIdx, 15060 newChildren[newIdx], 15061 lanes 15062 )), 15063 null !== nextOldFiber && 15064 (shouldTrackSideEffects && 15065 null !== nextOldFiber.alternate && 15066 oldFiber.delete( 15067 null === nextOldFiber.key ? newIdx : nextOldFiber.key 15068 ), 15069 (currentFirstChild = placeChild( 15070 nextOldFiber, 15071 currentFirstChild, 15072 newIdx 15073 )), 15074 null === previousNewFiber 15075 ? (resultingFirstChild = nextOldFiber) 15076 : (previousNewFiber.sibling = nextOldFiber), 15077 (previousNewFiber = nextOldFiber)); 15078 shouldTrackSideEffects && 15079 oldFiber.forEach(function (child) { 15080 return deleteChild(returnFiber, child); 15081 }); 15082 isHydrating && pushTreeFork(returnFiber, newIdx); 15083 return resultingFirstChild; 15084 } 15085 function reconcileChildrenIterator( 15086 returnFiber, 15087 currentFirstChild, 15088 newChildren, 15089 lanes 15090 ) { 15091 if (null == newChildren) throw Error(formatProdErrorMessage(151)); 15092 for ( 15093 var resultingFirstChild = null, 15094 previousNewFiber = null, 15095 oldFiber = currentFirstChild, 15096 newIdx = (currentFirstChild = 0), 15097 nextOldFiber = null, 15098 step = newChildren.next(); 15099 null !== oldFiber && !step.done; 15100 newIdx++, step = newChildren.next() 15101 ) { 15102 oldFiber.index > newIdx 15103 ? ((nextOldFiber = oldFiber), (oldFiber = null)) 15104 : (nextOldFiber = oldFiber.sibling); 15105 var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes); 15106 if (null === newFiber) { 15107 null === oldFiber && (oldFiber = nextOldFiber); 15108 break; 15109 } 15110 shouldTrackSideEffects && 15111 oldFiber && 15112 null === newFiber.alternate && 15113 deleteChild(returnFiber, oldFiber); 15114 currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx); 15115 null === previousNewFiber 15116 ? (resultingFirstChild = newFiber) 15117 : (previousNewFiber.sibling = newFiber); 15118 previousNewFiber = newFiber; 15119 oldFiber = nextOldFiber; 15120 } 15121 if (step.done) 15122 return ( 15123 deleteRemainingChildren(returnFiber, oldFiber), 15124 isHydrating && pushTreeFork(returnFiber, newIdx), 15125 resultingFirstChild 15126 ); 15127 if (null === oldFiber) { 15128 for (; !step.done; newIdx++, step = newChildren.next()) 15129 (step = createChild(returnFiber, step.value, lanes)), 15130 null !== step && 15131 ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)), 15132 null === previousNewFiber 15133 ? (resultingFirstChild = step) 15134 : (previousNewFiber.sibling = step), 15135 (previousNewFiber = step)); 15136 isHydrating && pushTreeFork(returnFiber, newIdx); 15137 return resultingFirstChild; 15138 } 15139 for ( 15140 oldFiber = mapRemainingChildren(oldFiber); 15141 !step.done; 15142 newIdx++, step = newChildren.next() 15143 ) 15144 (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)), 15145 null !== step && 15146 (shouldTrackSideEffects && 15147 null !== step.alternate && 15148 oldFiber.delete(null === step.key ? newIdx : step.key), 15149 (currentFirstChild = placeChild(step, currentFirstChild, newIdx)), 15150 null === previousNewFiber 15151 ? (resultingFirstChild = step) 15152 : (previousNewFiber.sibling = step), 15153 (previousNewFiber = step)); 15154 shouldTrackSideEffects && 15155 oldFiber.forEach(function (child) { 15156 return deleteChild(returnFiber, child); 15157 }); 15158 isHydrating && pushTreeFork(returnFiber, newIdx); 15159 return resultingFirstChild; 15160 } 15161 function reconcileChildFibersImpl( 15162 returnFiber, 15163 currentFirstChild, 15164 newChild, 15165 lanes 15166 ) { 15167 "object" === typeof newChild && 15168 null !== newChild && 15169 newChild.type === REACT_FRAGMENT_TYPE && 15170 null === newChild.key && 15171 (newChild = newChild.props.children); 15172 if ("object" === typeof newChild && null !== newChild) { 15173 switch (newChild.$$typeof) { 15174 case REACT_ELEMENT_TYPE: 15175 a: { 15176 for (var key = newChild.key; null !== currentFirstChild; ) { 15177 if (currentFirstChild.key === key) { 15178 key = newChild.type; 15179 if (key === REACT_FRAGMENT_TYPE) { 15180 if (7 === currentFirstChild.tag) { 15181 deleteRemainingChildren( 15182 returnFiber, 15183 currentFirstChild.sibling 15184 ); 15185 lanes = useFiber( 15186 currentFirstChild, 15187 newChild.props.children 15188 ); 15189 lanes.return = returnFiber; 15190 returnFiber = lanes; 15191 break a; 15192 } 15193 } else if ( 15194 currentFirstChild.elementType === key || 15195 ("object" === typeof key && 15196 null !== key && 15197 key.$$typeof === REACT_LAZY_TYPE && 15198 resolveLazy(key) === currentFirstChild.type) 15199 ) { 15200 deleteRemainingChildren( 15201 returnFiber, 15202 currentFirstChild.sibling 15203 ); 15204 lanes = useFiber(currentFirstChild, newChild.props); 15205 coerceRef(lanes, newChild); 15206 lanes.return = returnFiber; 15207 returnFiber = lanes; 15208 break a; 15209 } 15210 deleteRemainingChildren(returnFiber, currentFirstChild); 15211 break; 15212 } else deleteChild(returnFiber, currentFirstChild); 15213 currentFirstChild = currentFirstChild.sibling; 15214 } 15215 newChild.type === REACT_FRAGMENT_TYPE 15216 ? ((lanes = createFiberFromFragment( 15217 newChild.props.children, 15218 returnFiber.mode, 15219 lanes, 15220 newChild.key 15221 )), 15222 (lanes.return = returnFiber), 15223 (returnFiber = lanes)) 15224 : ((lanes = createFiberFromTypeAndProps( 15225 newChild.type, 15226 newChild.key, 15227 newChild.props, 15228 null, 15229 returnFiber.mode, 15230 lanes 15231 )), 15232 coerceRef(lanes, newChild), 15233 (lanes.return = returnFiber), 15234 (returnFiber = lanes)); 15235 } 15236 return placeSingleChild(returnFiber); 15237 case REACT_PORTAL_TYPE: 15238 a: { 15239 for (key = newChild.key; null !== currentFirstChild; ) { 15240 if (currentFirstChild.key === key) 15241 if ( 15242 4 === currentFirstChild.tag && 15243 currentFirstChild.stateNode.containerInfo === 15244 newChild.containerInfo && 15245 currentFirstChild.stateNode.implementation === 15246 newChild.implementation 15247 ) { 15248 deleteRemainingChildren( 15249 returnFiber, 15250 currentFirstChild.sibling 15251 ); 15252 lanes = useFiber(currentFirstChild, newChild.children || []); 15253 lanes.return = returnFiber; 15254 returnFiber = lanes; 15255 break a; 15256 } else { 15257 deleteRemainingChildren(returnFiber, currentFirstChild); 15258 break; 15259 } 15260 else deleteChild(returnFiber, currentFirstChild); 15261 currentFirstChild = currentFirstChild.sibling; 15262 } 15263 lanes = createFiberFromPortal(newChild, returnFiber.mode, lanes); 15264 lanes.return = returnFiber; 15265 returnFiber = lanes; 15266 } 15267 return placeSingleChild(returnFiber); 15268 case REACT_LAZY_TYPE: 15269 return ( 15270 (key = newChild._init), 15271 (newChild = key(newChild._payload)), 15272 reconcileChildFibersImpl( 15273 returnFiber, 15274 currentFirstChild, 15275 newChild, 15276 lanes 15277 ) 15278 ); 15279 } 15280 if (isArrayImpl(newChild)) 15281 return reconcileChildrenArray( 15282 returnFiber, 15283 currentFirstChild, 15284 newChild, 15285 lanes 15286 ); 15287 if (getIteratorFn(newChild)) { 15288 key = getIteratorFn(newChild); 15289 if ("function" !== typeof key) throw Error(formatProdErrorMessage(150)); 15290 newChild = key.call(newChild); 15291 return reconcileChildrenIterator( 15292 returnFiber, 15293 currentFirstChild, 15294 newChild, 15295 lanes 15296 ); 15297 } 15298 if ("function" === typeof newChild.then) 15299 return reconcileChildFibersImpl( 15300 returnFiber, 15301 currentFirstChild, 15302 unwrapThenable(newChild), 15303 lanes 15304 ); 15305 if (newChild.$$typeof === REACT_CONTEXT_TYPE) 15306 return reconcileChildFibersImpl( 15307 returnFiber, 15308 currentFirstChild, 15309 readContextDuringReconciliation(returnFiber, newChild), 15310 lanes 15311 );
15312 throwOnInvalidObjectType(returnFiber, newChild); 15313 } 15314 return ("string" === typeof newChild && "" !== newChild) || 15315 "number" === typeof newChild || 15316 "bigint" === typeof newChild 15317 ? ((newChild = "" + newChild), 15318 null !== currentFirstChild && 6 === currentFirstChild.tag 15319 ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling), 15320 (lanes = useFiber(currentFirstChild, newChild)), 15321 (lanes.return = returnFiber), 15322 (returnFiber = lanes)) 15323 : (deleteRemainingChildren(returnFiber, currentFirstChild), 15324 (lanes = createFiberFromText(newChild, returnFiber.mode, lanes)), 15325 (lanes.return = returnFiber), 15326 (returnFiber = lanes)), 15327 placeSingleChild(returnFiber)) 15328 : deleteRemainingChildren(returnFiber, currentFirstChild); 15329 } 15330 return function (returnFiber, currentFirstChild, newChild, lanes) { 15331 try { 15332 thenableIndexCounter = 0; 15333 var firstChildFiber = reconcileChildFibersImpl( 15334 returnFiber, 15335 currentFirstChild, 15336 newChild, 15337 lanes 15338 ); 15339 thenableState = null; 15340 return firstChildFiber; 15341 } catch (x) { 15342 if (x === SuspenseException || x === SuspenseActionException) throw x; 15343 var fiber = createFiberImplClass(29, x, null, returnFiber.mode); 15344 fiber.lanes = lanes; 15345 fiber.return = returnFiber; 15346 return fiber; 15347 } finally { 15348 } 15349 }; 15350} 15351var reconcileChildFibers = createChildReconciler(!0), 15352 mountChildFibers = createChildReconciler(!1), 15353 suspenseHandlerStackCursor = createCursor(null), 15354 shellBoundary = null; 15355function pushPrimaryTreeSuspenseHandler(handler) { 15356 var current = handler.alternate; 15357 push(suspenseStackCursor, suspenseStackCursor.current & 1); 15358 push(suspenseHandlerStackCursor, handler); 15359 null === shellBoundary && 15360 (null === current || null !== currentTreeHiddenStackCursor.current 15361 ? (shellBoundary = handler) 15362 : null !== current.memoizedState && (shellBoundary = handler)); 15363} 15364function pushOffscreenSuspenseHandler(fiber) { 15365 if (22 === fiber.tag) { 15366 if ( 15367 (push(suspenseStackCursor, suspenseStackCursor.current), 15368 push(suspenseHandlerStackCursor, fiber), 15369 null === shellBoundary) 15370 ) { 15371 var current = fiber.alternate; 15372 null !== current && 15373 null !== current.memoizedState && 15374 (shellBoundary = fiber); 15375 } 15376 } else reuseSuspenseHandlerOnStack(fiber); 15377} 15378function reuseSuspenseHandlerOnStack() { 15379 push(suspenseStackCursor, suspenseStackCursor.current); 15380 push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current); 15381} 15382function popSuspenseHandler(fiber) { 15383 pop(suspenseHandlerStackCursor); 15384 shellBoundary === fiber && (shellBoundary = null); 15385 pop(suspenseStackCursor); 15386} 15387var suspenseStackCursor = createCursor(0); 15388function findFirstSuspended(row) { 15389 for (var node = row; null !== node; ) { 15390 if (13 === node.tag) { 15391 var state = node.memoizedState; 15392 if ( 15393 null !== state && 15394 ((state = state.dehydrated), 15395 null === state || 15396 "$?" === state.data || 15397 isSuspenseInstanceFallback(state)) 15398 ) 15399 return node; 15400 } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { 15401 if (0 !== (node.flags & 128)) return node; 15402 } else if (null !== node.child) { 15403 node.child.return = node; 15404 node = node.child; 15405 continue; 15406 } 15407 if (node === row) break; 15408 for (; null === node.sibling; ) { 15409 if (null === node.return || node.return === row) return null; 15410 node = node.return; 15411 } 15412 node.sibling.return = node.return; 15413 node = node.sibling; 15414 } 15415 return null; 15416} 15417function applyDerivedStateFromProps( 15418 workInProgress, 15419 ctor, 15420 getDerivedStateFromProps, 15421 nextProps 15422) { 15423 ctor = workInProgress.memoizedState; 15424 getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor); 15425 getDerivedStateFromProps = 15426 null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps 15427 ? ctor 15428 : assign({}, ctor, getDerivedStateFromProps); 15429 workInProgress.memoizedState = getDerivedStateFromProps; 15430 0 === workInProgress.lanes && 15431 (workInProgress.updateQueue.baseState = getDerivedStateFromProps); 15432} 15433var classComponentUpdater = { 15434 enqueueSetState: function (inst, payload, callback) { 15435 inst = inst._reactInternals; 15436 var lane = requestUpdateLane(), 15437 update = createUpdate(lane); 15438 update.payload = payload; 15439 void 0 !== callback && null !== callback && (update.callback = callback); 15440 payload = enqueueUpdate(inst, update, lane); 15441 null !== payload && 15442 (scheduleUpdateOnFiber(payload, inst, lane), 15443 entangleTransitions(payload, inst, lane)); 15444 }, 15445 enqueueReplaceState: function (inst, payload, callback) { 15446 inst = inst._reactInternals; 15447 var lane = requestUpdateLane(), 15448 update = createUpdate(lane); 15449 update.tag = 1; 15450 update.payload = payload; 15451 void 0 !== callback && null !== callback && (update.callback = callback); 15452 payload = enqueueUpdate(inst, update, lane); 15453 null !== payload && 15454 (scheduleUpdateOnFiber(payload, inst, lane), 15455 entangleTransitions(payload, inst, lane)); 15456 }, 15457 enqueueForceUpdate: function (inst, callback) { 15458 inst = inst._reactInternals; 15459 var lane = requestUpdateLane(), 15460 update = createUpdate(lane); 15461 update.tag = 2; 15462 void 0 !== callback && null !== callback && (update.callback = callback); 15463 callback = enqueueUpdate(inst, update, lane); 15464 null !== callback && 15465 (scheduleUpdateOnFiber(callback, inst, lane), 15466 entangleTransitions(callback, inst, lane)); 15467 } 15468}; 15469function checkShouldComponentUpdate( 15470 workInProgress, 15471 ctor, 15472 oldProps, 15473 newProps, 15474 oldState, 15475 newState, 15476 nextContext 15477) { 15478 workInProgress = workInProgress.stateNode; 15479 return "function" === typeof workInProgress.shouldComponentUpdate 15480 ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) 15481 : ctor.prototype && ctor.prototype.isPureReactComponent 15482 ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) 15483 : !0; 15484} 15485function callComponentWillReceiveProps( 15486 workInProgress, 15487 instance, 15488 newProps, 15489 nextContext 15490) { 15491 workInProgress = instance.state; 15492 "function" === typeof instance.componentWillReceiveProps && 15493 instance.componentWillReceiveProps(newProps, nextContext); 15494 "function" === typeof instance.UNSAFE_componentWillReceiveProps && 15495 instance.UNSAFE_componentWillReceiveProps(newProps, nextContext); 15496 instance.state !== workInProgress && 15497 classComponentUpdater.enqueueReplaceState(instance, instance.state, null); 15498}
15499function resolveClassComponentProps(Component, baseProps) { 15500 var newProps = baseProps; 15501 if ("ref" in baseProps) { 15502 newProps = {}; 15503 for (var propName in baseProps) 15504 "ref" !== propName && (newProps[propName] = baseProps[propName]); 15505 } 15506 if ((Component = Component.defaultProps)) { 15507 newProps === baseProps && (newProps = assign({}, newProps)); 15508 for (var propName$73 in Component) 15509 void 0 === newProps[propName$73] && 15510 (newProps[propName$73] = Component[propName$73]); 15511 } 15512 return newProps; 15513} 15514var reportGlobalError = 15515 "function" === typeof reportError 15516 ? reportError 15517 : function (error) { 15518 if ( 15519 "object" === typeof window && 15520 "function" === typeof window.ErrorEvent 15521 ) { 15522 var event = new window.ErrorEvent("error", { 15523 bubbles: !0, 15524 cancelable: !0, 15525 message: 15526 "object" === typeof error && 15527 null !== error && 15528 "string" === typeof error.message 15529 ? String(error.message) 15530 : String(error), 15531 error: error 15532 }); 15533 if (!window.dispatchEvent(event)) return; 15534 } else if ( 15535 "object" === typeof process && 15536 "function" === typeof process.emit 15537 ) { 15538 process.emit("uncaughtException", error); 15539 return; 15540 } 15541 console.error(error); 15542 }; 15543function defaultOnUncaughtError(error) { 15544 reportGlobalError(error); 15545} 15546function defaultOnCaughtError(error) { 15547 console.error(error); 15548} 15549function defaultOnRecoverableError(error) { 15550 reportGlobalError(error); 15551} 15552function logUncaughtError(root, errorInfo) { 15553 try { 15554 var onUncaughtError = root.onUncaughtError; 15555 onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); 15556 } catch (e$74) { 15557 setTimeout(function () { 15558 throw e$74; 15559 }); 15560 } 15561} 15562function logCaughtError(root, boundary, errorInfo) { 15563 try { 15564 var onCaughtError = root.onCaughtError; 15565 onCaughtError(errorInfo.value, { 15566 componentStack: errorInfo.stack, 15567 errorBoundary: 1 === boundary.tag ? boundary.stateNode : null 15568 }); 15569 } catch (e$75) { 15570 setTimeout(function () { 15571 throw e$75; 15572 }); 15573 } 15574} 15575function createRootErrorUpdate(root, errorInfo, lane) { 15576 lane = createUpdate(lane); 15577 lane.tag = 3; 15578 lane.payload = { element: null }; 15579 lane.callback = function () { 15580 logUncaughtError(root, errorInfo); 15581 }; 15582 return lane; 15583} 15584function createClassErrorUpdate(lane) { 15585 lane = createUpdate(lane); 15586 lane.tag = 3; 15587 return lane; 15588} 15589function initializeClassErrorUpdate(update, root, fiber, errorInfo) { 15590 var getDerivedStateFromError = fiber.type.getDerivedStateFromError; 15591 if ("function" === typeof getDerivedStateFromError) { 15592 var error = errorInfo.value; 15593 update.payload = function () { 15594 return getDerivedStateFromError(error); 15595 }; 15596 update.callback = function () { 15597 logCaughtError(root, fiber, errorInfo); 15598 }; 15599 } 15600 var inst = fiber.stateNode; 15601 null !== inst && 15602 "function" === typeof inst.componentDidCatch && 15603 (update.callback = function () { 15604 logCaughtError(root, fiber, errorInfo); 15605 "function" !== typeof getDerivedStateFromError && 15606 (null === legacyErrorBoundariesThatAlreadyFailed 15607 ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this])) 15608 : legacyErrorBoundariesThatAlreadyFailed.add(this)); 15609 var stack = errorInfo.stack; 15610 this.componentDidCatch(errorInfo.value, { 15611 componentStack: null !== stack ? stack : "" 15612 }); 15613 }); 15614} 15615function throwException( 15616 root, 15617 returnFiber, 15618 sourceFiber, 15619 value, 15620 rootRenderLanes 15621) { 15622 sourceFiber.flags |= 32768; 15623 if ( 15624 null !== value && 15625 "object" === typeof value && 15626 "function" === typeof value.then 15627 ) { 15628 returnFiber = sourceFiber.alternate; 15629 null !== returnFiber && 15630 propagateParentContextChanges( 15631 returnFiber, 15632 sourceFiber, 15633 rootRenderLanes, 15634 !0 15635 ); 15636 sourceFiber = suspenseHandlerStackCursor.current; 15637 if (null !== sourceFiber) { 15638 switch (sourceFiber.tag) { 15639 case 13: 15640 return ( 15641 null === shellBoundary 15642 ? renderDidSuspendDelayIfPossible() 15643 : null === sourceFiber.alternate && 15644 0 === workInProgressRootExitStatus && 15645 (workInProgressRootExitStatus = 3), 15646 (sourceFiber.flags &= -257), 15647 (sourceFiber.flags |= 65536), 15648 (sourceFiber.lanes = rootRenderLanes), 15649 value === noopSuspenseyCommitThenable 15650 ? (sourceFiber.flags |= 16384) 15651 : ((returnFiber = sourceFiber.updateQueue), 15652 null === returnFiber 15653 ? (sourceFiber.updateQueue = new Set([value])) 15654 : returnFiber.add(value),
15655 attachPingListener(root, value, rootRenderLanes)), 15656 !1 15657 ); 15658 case 22: 15659 return ( 15660 (sourceFiber.flags |= 65536), 15661 value === noopSuspenseyCommitThenable 15662 ? (sourceFiber.flags |= 16384) 15663 : ((returnFiber = sourceFiber.updateQueue), 15664 null === returnFiber 15665 ? ((returnFiber = { 15666 transitions: null, 15667 markerInstances: null, 15668 retryQueue: new Set([value]) 15669 }), 15670 (sourceFiber.updateQueue = returnFiber)) 15671 : ((sourceFiber = returnFiber.retryQueue), 15672 null === sourceFiber 15673 ? (returnFiber.retryQueue = new Set([value])) 15674 : sourceFiber.add(value)), 15675 attachPingListener(root, value, rootRenderLanes)), 15676 !1 15677 ); 15678 } 15679 throw Error(formatProdErrorMessage(435, sourceFiber.tag)); 15680 } 15681 attachPingListener(root, value, rootRenderLanes); 15682 renderDidSuspendDelayIfPossible(); 15683 return !1; 15684 } 15685 if (isHydrating) 15686 return ( 15687 (returnFiber = suspenseHandlerStackCursor.current), 15688 null !== returnFiber 15689 ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256), 15690 (returnFiber.flags |= 65536), 15691 (returnFiber.lanes = rootRenderLanes), 15692 value !== HydrationMismatchException && 15693 ((root = Error(formatProdErrorMessage(422), { cause: value })), 15694 queueHydrationError(createCapturedValueAtFiber(root, sourceFiber)))) 15695 : (value !== HydrationMismatchException && 15696 ((returnFiber = Error(formatProdErrorMessage(423), { 15697 cause: value 15698 })), 15699 queueHydrationError( 15700 createCapturedValueAtFiber(returnFiber, sourceFiber) 15701 )), 15702 (root = root.current.alternate), 15703 (root.flags |= 65536), 15704 (rootRenderLanes &= -rootRenderLanes), 15705 (root.lanes |= rootRenderLanes), 15706 (value = createCapturedValueAtFiber(value, sourceFiber)), 15707 (rootRenderLanes = createRootErrorUpdate( 15708 root.stateNode, 15709 value, 15710 rootRenderLanes 15711 )), 15712 enqueueCapturedUpdate(root, rootRenderLanes), 15713 4 !== workInProgressRootExitStatus && 15714 (workInProgressRootExitStatus = 2)), 15715 !1 15716 ); 15717 var wrapperError = Error(formatProdErrorMessage(520), { cause: value }); 15718 wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber); 15719 null === workInProgressRootConcurrentErrors 15720 ? (workInProgressRootConcurrentErrors = [wrapperError]) 15721 : workInProgressRootConcurrentErrors.push(wrapperError); 15722 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2); 15723 if (null === returnFiber) return !0; 15724 value = createCapturedValueAtFiber(value, sourceFiber); 15725 sourceFiber = returnFiber; 15726 do { 15727 switch (sourceFiber.tag) { 15728 case 3: 15729 return ( 15730 (sourceFiber.flags |= 65536), 15731 (root = rootRenderLanes & -rootRenderLanes), 15732 (sourceFiber.lanes |= root), 15733 (root = createRootErrorUpdate(sourceFiber.stateNode, value, root)), 15734 enqueueCapturedUpdate(sourceFiber, root), 15735 !1 15736 ); 15737 case 1: 15738 if ( 15739 ((returnFiber = sourceFiber.type), 15740 (wrapperError = sourceFiber.stateNode), 15741 0 === (sourceFiber.flags & 128) && 15742 ("function" === typeof returnFiber.getDerivedStateFromError || 15743 (null !== wrapperError && 15744 "function" === typeof wrapperError.componentDidCatch && 15745 (null === legacyErrorBoundariesThatAlreadyFailed || 15746 !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))) 15747 ) 15748 return ( 15749 (sourceFiber.flags |= 65536), 15750 (rootRenderLanes &= -rootRenderLanes), 15751 (sourceFiber.lanes |= rootRenderLanes), 15752 (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)), 15753 initializeClassErrorUpdate(
15754 rootRenderLanes, 15755 root, 15756 sourceFiber, 15757 value 15758 ), 15759 enqueueCapturedUpdate(sourceFiber, rootRenderLanes), 15760 !1 15761 ); 15762 } 15763 sourceFiber = sourceFiber.return; 15764 } while (null !== sourceFiber); 15765 return !1; 15766} 15767var SelectiveHydrationException = Error(formatProdErrorMessage(461)), 15768 didReceiveUpdate = !1; 15769function reconcileChildren(current, workInProgress, nextChildren, renderLanes) { 15770 workInProgress.child = 15771 null === current 15772 ? mountChildFibers(workInProgress, null, nextChildren, renderLanes) 15773 : reconcileChildFibers( 15774 workInProgress, 15775 current.child, 15776 nextChildren, 15777 renderLanes 15778 ); 15779} 15780function updateForwardRef( 15781 current, 15782 workInProgress, 15783 Component, 15784 nextProps, 15785 renderLanes 15786) { 15787 Component = Component.render; 15788 var ref = workInProgress.ref; 15789 if ("ref" in nextProps) { 15790 var propsWithoutRef = {}; 15791 for (var key in nextProps) 15792 "ref" !== key && (propsWithoutRef[key] = nextProps[key]); 15793 } else propsWithoutRef = nextProps; 15794 prepareToReadContext(workInProgress); 15795 nextProps = renderWithHooks( 15796 current, 15797 workInProgress, 15798 Component, 15799 propsWithoutRef, 15800 ref, 15801 renderLanes 15802 ); 15803 key = checkDidRenderIdHook(); 15804 if (null !== current && !didReceiveUpdate) 15805 return ( 15806 bailoutHooks(current, workInProgress, renderLanes), 15807 bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) 15808 ); 15809 isHydrating && key && pushMaterializedTreeId(workInProgress); 15810 workInProgress.flags |= 1; 15811 reconcileChildren(current, workInProgress, nextProps, renderLanes); 15812 return workInProgress.child; 15813} 15814function updateMemoComponent( 15815 current, 15816 workInProgress, 15817 Component, 15818 nextProps, 15819 renderLanes 15820) { 15821 if (null === current) { 15822 var type = Component.type; 15823 if ( 15824 "function" === typeof type && 15825 !shouldConstruct(type) && 15826 void 0 === type.defaultProps && 15827 null === Component.compare 15828 ) 15829 return ( 15830 (workInProgress.tag = 15), 15831 (workInProgress.type = type), 15832 updateSimpleMemoComponent( 15833 current, 15834 workInProgress, 15835 type, 15836 nextProps, 15837 renderLanes 15838 ) 15839 ); 15840 current = createFiberFromTypeAndProps( 15841 Component.type, 15842 null, 15843 nextProps, 15844 workInProgress, 15845 workInProgress.mode, 15846 renderLanes 15847 ); 15848 current.ref = workInProgress.ref; 15849 current.return = workInProgress; 15850 return (workInProgress.child = current); 15851 } 15852 type = current.child; 15853 if (!checkScheduledUpdateOrContext(current, renderLanes)) { 15854 var prevProps = type.memoizedProps; 15855 Component = Component.compare; 15856 Component = null !== Component ? Component : shallowEqual; 15857 if (Component(prevProps, nextProps) && current.ref === workInProgress.ref) 15858 return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); 15859 } 15860 workInProgress.flags |= 1; 15861 current = createWorkInProgress(type, nextProps); 15862 current.ref = workInProgress.ref; 15863 current.return = workInProgress; 15864 return (workInProgress.child = current); 15865} 15866function updateSimpleMemoComponent( 15867 current, 15868 workInProgress, 15869 Component, 15870 nextProps, 15871 renderLanes 15872) { 15873 if (null !== current) { 15874 var prevProps = current.memoizedProps; 15875 if ( 15876 shallowEqual(prevProps, nextProps) && 15877 current.ref === workInProgress.ref 15878 ) 15879 if ( 15880 ((didReceiveUpdate = !1), 15881 (workInProgress.pendingProps = nextProps = prevProps), 15882 checkScheduledUpdateOrContext(current, renderLanes)) 15883 ) 15884 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); 15885 else 15886 return ( 15887 (workInProgress.lanes = current.lanes), 15888 bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) 15889 ); 15890 } 15891 return updateFunctionComponent( 15892 current, 15893 workInProgress, 15894 Component, 15895 nextProps, 15896 renderLanes 15897 ); 15898} 15899function updateOffscreenComponent(current, workInProgress, renderLanes) { 15900 var nextProps = workInProgress.pendingProps, 15901 nextChildren = nextProps.children, 15902 prevState = null !== current ? current.memoizedState : null; 15903 if ("hidden" === nextProps.mode) { 15904 if (0 !== (workInProgress.flags & 128)) { 15905 nextProps = 15906 null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; 15907 if (null !== current) { 15908 nextChildren = workInProgress.child = current.child; 15909 for (prevState = 0; null !== nextChildren; ) 15910 (prevState = 15911 prevState | nextChildren.lanes | nextChildren.childLanes), 15912 (nextChildren = nextChildren.sibling); 15913 workInProgress.childLanes = prevState & ~nextProps; 15914 } else (workInProgress.childLanes = 0), (workInProgress.child = null); 15915 return deferHiddenOffscreenComponent( 15916 current, 15917 workInProgress, 15918 nextProps, 15919 renderLanes 15920 ); 15921 } 15922 if (0 !== (renderLanes & 536870912)) 15923 (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }), 15924 null !== current && 15925 pushTransition( 15926 workInProgress, 15927 null !== prevState ? prevState.cachePool : null 15928 ), 15929 null !== prevState 15930 ? pushHiddenContext(workInProgress, prevState) 15931 : reuseHiddenContextOnStack(), 15932 pushOffscreenSuspenseHandler(workInProgress); 15933 else 15934 return ( 15935 (workInProgress.lanes = workInProgress.childLanes = 536870912), 15936 deferHiddenOffscreenComponent( 15937 current, 15938 workInProgress, 15939 null !== prevState ? prevState.baseLanes | renderLanes : renderLanes, 15940 renderLanes 15941 ) 15942 ); 15943 } else 15944 null !== prevState 15945 ? (pushTransition(workInProgress, prevState.cachePool), 15946 pushHiddenContext(workInProgress, prevState), 15947 reuseSuspenseHandlerOnStack(workInProgress), 15948 (workInProgress.memoizedState = null)) 15949 : (null !== current && pushTransition(workInProgress, null), 15950 reuseHiddenContextOnStack(), 15951 reuseSuspenseHandlerOnStack(workInProgress)); 15952 reconcileChildren(current, workInProgress, nextChildren, renderLanes); 15953 return workInProgress.child; 15954} 15955function deferHiddenOffscreenComponent( 15956 current, 15957 workInProgress, 15958 nextBaseLanes, 15959 renderLanes 15960) { 15961 var JSCompiler_inline_result = peekCacheFromPool(); 15962 JSCompiler_inline_result = 15963 null === JSCompiler_inline_result 15964 ? null 15965 : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result }; 15966 workInProgress.memoizedState = { 15967 baseLanes: nextBaseLanes, 15968 cachePool: JSCompiler_inline_result 15969 }; 15970 null !== current && pushTransition(workInProgress, null); 15971 reuseHiddenContextOnStack(); 15972 pushOffscreenSuspenseHandler(workInProgress); 15973 null !== current && 15974 propagateParentContextChanges(current, workInProgress, renderLanes, !0); 15975 return null; 15976} 15977function markRef(current, workInProgress) { 15978 var ref = workInProgress.ref; 15979 if (null === ref) 15980 null !== current && 15981 null !== current.ref && 15982 (workInProgress.flags |= 4194816); 15983 else { 15984 if ("function" !== typeof ref && "object" !== typeof ref) 15985 throw Error(formatProdErrorMessage(284)); 15986 if (null === current || current.ref !== ref) 15987 workInProgress.flags |= 4194816; 15988 } 15989} 15990function updateFunctionComponent( 15991 current, 15992 workInProgress, 15993 Component, 15994 nextProps, 15995 renderLanes 15996) { 15997 prepareToReadContext(workInProgress); 15998 Component = renderWithHooks( 15999 current, 16000 workInProgress, 16001 Component, 16002 nextProps, 16003 void 0, 16004 renderLanes 16005 ); 16006 nextProps = checkDidRenderIdHook(); 16007 if (null !== current && !didReceiveUpdate) 16008 return ( 16009 bailoutHooks(current, workInProgress, renderLanes), 16010 bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) 16011 ); 16012 isHydrating && nextProps && pushMaterializedTreeId(workInProgress); 16013 workInProgress.flags |= 1; 16014 reconcileChildren(current, workInProgress, Component, renderLanes); 16015 return workInProgress.child; 16016} 16017function replayFunctionComponent( 16018 current, 16019 workInProgress, 16020 nextProps, 16021 Component, 16022 secondArg, 16023 renderLanes 16024) { 16025 prepareToReadContext(workInProgress); 16026 workInProgress.updateQueue = null; 16027 nextProps = renderWithHooksAgain( 16028 workInProgress, 16029 Component, 16030 nextProps, 16031 secondArg 16032 ); 16033 finishRenderingHooks(current); 16034 Component = checkDidRenderIdHook(); 16035 if (null !== current && !didReceiveUpdate) 16036 return ( 16037 bailoutHooks(current, workInProgress, renderLanes), 16038 bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) 16039 ); 16040 isHydrating && Component && pushMaterializedTreeId(workInProgress); 16041 workInProgress.flags |= 1; 16042 reconcileChildren(current, workInProgress, nextProps, renderLanes); 16043 return workInProgress.child; 16044} 16045function updateClassComponent( 16046 current, 16047 workInProgress, 16048 Component, 16049 nextProps, 16050 renderLanes 16051) { 16052 prepareToReadContext(workInProgress); 16053 if (null === workInProgress.stateNode) { 16054 var context = emptyContextObject, 16055 contextType = Component.contextType; 16056 "object" === typeof contextType && 16057 null !== contextType && 16058 (context = readContext(contextType)); 16059 context = new Component(nextProps, context); 16060 workInProgress.memoizedState = 16061 null !== context.state && void 0 !== context.state ? context.state : null; 16062 context.updater = classComponentUpdater; 16063 workInProgress.stateNode = context; 16064 context._reactInternals = workInProgress; 16065 context = workInProgress.stateNode; 16066 context.props = nextProps; 16067 context.state = workInProgress.memoizedState; 16068 context.refs = {}; 16069 initializeUpdateQueue(workInProgress); 16070 contextType = Component.contextType; 16071 context.context = 16072 "object" === typeof contextType && null !== contextType 16073 ? readContext(contextType) 16074 : emptyContextObject; 16075 context.state = workInProgress.memoizedState; 16076 contextType = Component.getDerivedStateFromProps; 16077 "function" === typeof contextType && 16078 (applyDerivedStateFromProps( 16079 workInProgress, 16080 Component, 16081 contextType, 16082 nextProps 16083 ), 16084 (context.state = workInProgress.memoizedState)); 16085 "function" === typeof Component.getDerivedStateFromProps || 16086 "function" === typeof context.getSnapshotBeforeUpdate || 16087 ("function" !== typeof context.UNSAFE_componentWillMount && 16088 "function" !== typeof context.componentWillMount) || 16089 ((contextType = context.state), 16090 "function" === typeof context.componentWillMount && 16091 context.componentWillMount(), 16092 "function" === typeof context.UNSAFE_componentWillMount && 16093 context.UNSAFE_componentWillMount(), 16094 contextType !== context.state && 16095 classComponentUpdater.enqueueReplaceState(context, context.state, null), 16096 processUpdateQueue(workInProgress, nextProps, context, renderLanes), 16097 suspendIfUpdateReadFromEntangledAsyncAction(), 16098 (context.state = workInProgress.memoizedState)); 16099 "function" === typeof context.componentDidMount && 16100 (workInProgress.flags |= 4194308); 16101 nextProps = !0; 16102 } else if (null === current) { 16103 context = workInProgress.stateNode; 16104 var unresolvedOldProps = workInProgress.memoizedProps,
16105 oldProps = resolveClassComponentProps(Component, unresolvedOldProps); 16106 context.props = oldProps; 16107 var oldContext = context.context, 16108 contextType$jscomp$0 = Component.contextType; 16109 contextType = emptyContextObject; 16110 "object" === typeof contextType$jscomp$0 && 16111 null !== contextType$jscomp$0 && 16112 (contextType = readContext(contextType$jscomp$0)); 16113 var getDerivedStateFromProps = Component.getDerivedStateFromProps; 16114 contextType$jscomp$0 = 16115 "function" === typeof getDerivedStateFromProps || 16116 "function" === typeof context.getSnapshotBeforeUpdate; 16117 unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps; 16118 contextType$jscomp$0 || 16119 ("function" !== typeof context.UNSAFE_componentWillReceiveProps && 16120 "function" !== typeof context.componentWillReceiveProps) || 16121 ((unresolvedOldProps || oldContext !== contextType) && 16122 callComponentWillReceiveProps( 16123 workInProgress, 16124 context, 16125 nextProps, 16126 contextType 16127 )); 16128 hasForceUpdate = !1; 16129 var oldState = workInProgress.memoizedState; 16130 context.state = oldState; 16131 processUpdateQueue(workInProgress, nextProps, context, renderLanes); 16132 suspendIfUpdateReadFromEntangledAsyncAction(); 16133 oldContext = workInProgress.memoizedState; 16134 unresolvedOldProps || oldState !== oldContext || hasForceUpdate 16135 ? ("function" === typeof getDerivedStateFromProps && 16136 (applyDerivedStateFromProps( 16137 workInProgress, 16138 Component, 16139 getDerivedStateFromProps, 16140 nextProps 16141 ), 16142 (oldContext = workInProgress.memoizedState)), 16143 (oldProps = 16144 hasForceUpdate || 16145 checkShouldComponentUpdate( 16146 workInProgress, 16147 Component, 16148 oldProps, 16149 nextProps, 16150 oldState, 16151 oldContext, 16152 contextType 16153 )) 16154 ? (contextType$jscomp$0 || 16155 ("function" !== typeof context.UNSAFE_componentWillMount && 16156 "function" !== typeof context.componentWillMount) || 16157 ("function" === typeof context.componentWillMount && 16158 context.componentWillMount(), 16159 "function" === typeof context.UNSAFE_componentWillMount && 16160 context.UNSAFE_componentWillMount()), 16161 "function" === typeof context.componentDidMount && 16162 (workInProgress.flags |= 4194308)) 16163 : ("function" === typeof context.componentDidMount && 16164 (workInProgress.flags |= 4194308), 16165 (workInProgress.memoizedProps = nextProps), 16166 (workInProgress.memoizedState = oldContext)), 16167 (context.props = nextProps), 16168 (context.state = oldContext), 16169 (context.context = contextType), 16170 (nextProps = oldProps)) 16171 : ("function" === typeof context.componentDidMount && 16172 (workInProgress.flags |= 4194308), 16173 (nextProps = !1)); 16174 } else { 16175 context = workInProgress.stateNode; 16176 cloneUpdateQueue(current, workInProgress); 16177 contextType = workInProgress.memoizedProps; 16178 contextType$jscomp$0 = resolveClassComponentProps(Component, contextType); 16179 context.props = contextType$jscomp$0; 16180 getDerivedStateFromProps = workInProgress.pendingProps; 16181 oldState = context.context; 16182 oldContext = Component.contextType; 16183 oldProps = emptyContextObject; 16184 "object" === typeof oldContext && 16185 null !== oldContext && 16186 (oldProps = readContext(oldContext)); 16187 unresolvedOldProps = Component.getDerivedStateFromProps; 16188 (oldContext = 16189 "function" === typeof unresolvedOldProps || 16190 "function" === typeof context.getSnapshotBeforeUpdate) || 16191 ("function" !== typeof context.UNSAFE_componentWillReceiveProps && 16192 "function" !== typeof context.componentWillReceiveProps) || 16193 ((contextType !== getDerivedStateFromProps || oldState !== oldProps) && 16194 callComponentWillReceiveProps( 16195 workInProgress, 16196 context, 16197 nextProps, 16198 oldProps 16199 )); 16200 hasForceUpdate = !1; 16201 oldState = workInProgress.memoizedState; 16202 context.state = oldState; 16203 processUpdateQueue(workInProgress, nextProps, context, renderLanes); 16204 suspendIfUpdateReadFromEntangledAsyncAction(); 16205 var newState = workInProgress.memoizedState; 16206 contextType !== getDerivedStateFromProps || 16207 oldState !== newState || 16208 hasForceUpdate || 16209 (null !== current && 16210 null !== current.dependencies && 16211 checkIfContextChanged(current.dependencies)) 16212 ? ("function" === typeof unresolvedOldProps && 16213 (applyDerivedStateFromProps( 16214 workInProgress, 16215 Component, 16216 unresolvedOldProps, 16217 nextProps 16218 ), 16219 (newState = workInProgress.memoizedState)), 16220 (contextType$jscomp$0 = 16221 hasForceUpdate || 16222 checkShouldComponentUpdate( 16223 workInProgress, 16224 Component, 16225 contextType$jscomp$0, 16226 nextProps, 16227 oldState, 16228 newState, 16229 oldProps 16230 ) || 16231 (null !== current && 16232 null !== current.dependencies && 16233 checkIfContextChanged(current.dependencies))) 16234 ? (oldContext || 16235 ("function" !== typeof context.UNSAFE_componentWillUpdate && 16236 "function" !== typeof context.componentWillUpdate) || 16237 ("function" === typeof context.componentWillUpdate && 16238 context.componentWillUpdate(nextProps, newState, oldProps), 16239 "function" === typeof context.UNSAFE_componentWillUpdate && 16240 context.UNSAFE_componentWillUpdate( 16241 nextProps, 16242 newState, 16243 oldProps 16244 )), 16245 "function" === typeof context.componentDidUpdate && 16246 (workInProgress.flags |= 4), 16247 "function" === typeof context.getSnapshotBeforeUpdate && 16248 (workInProgress.flags |= 1024)) 16249 : ("function" !== typeof context.componentDidUpdate || 16250 (contextType === current.memoizedProps && 16251 oldState === current.memoizedState) || 16252 (workInProgress.flags |= 4), 16253 "function" !== typeof context.getSnapshotBeforeUpdate || 16254 (contextType === current.memoizedProps && 16255 oldState === current.memoizedState) || 16256 (workInProgress.flags |= 1024), 16257 (workInProgress.memoizedProps = nextProps), 16258 (workInProgress.memoizedState = newState)), 16259 (context.props = nextProps), 16260 (context.state = newState), 16261 (context.context = oldProps), 16262 (nextProps = contextType$jscomp$0)) 16263 : ("function" !== typeof context.componentDidUpdate || 16264 (contextType === current.memoizedProps && 16265 oldState === current.memoizedState) || 16266 (workInProgress.flags |= 4), 16267 "function" !== typeof context.getSnapshotBeforeUpdate || 16268 (contextType === current.memoizedProps && 16269 oldState === current.memoizedState) || 16270 (workInProgress.flags |= 1024), 16271 (nextProps = !1)); 16272 } 16273 context = nextProps; 16274 markRef(current, workInProgress); 16275 nextProps = 0 !== (workInProgress.flags & 128); 16276 context || nextProps 16277 ? ((context = workInProgress.stateNode), 16278 (Component = 16279 nextProps && "function" !== typeof Component.getDerivedStateFromError 16280 ? null 16281 : context.render()), 16282 (workInProgress.flags |= 1), 16283 null !== current && nextProps 16284 ? ((workInProgress.child = reconcileChildFibers( 16285 workInProgress, 16286 current.child, 16287 null, 16288 renderLanes 16289 )), 16290 (workInProgress.child = reconcileChildFibers( 16291 workInProgress, 16292 null, 16293 Component, 16294 renderLanes 16295 ))) 16296 : reconcileChildren(current, workInProgress, Component, renderLanes), 16297 (workInProgress.memoizedState = context.state), 16298 (current = workInProgress.child)) 16299 : (current = bailoutOnAlreadyFinishedWork( 16300 current, 16301 workInProgress, 16302 renderLanes 16303 )); 16304 return current; 16305} 16306function mountHostRootWithoutHydrating( 16307 current, 16308 workInProgress, 16309 nextChildren, 16310 renderLanes 16311) { 16312 resetHydrationState(); 16313 workInProgress.flags |= 256; 16314 reconcileChildren(current, workInProgress, nextChildren, renderLanes); 16315 return workInProgress.child; 16316} 16317var SUSPENDED_MARKER = { 16318 dehydrated: null, 16319 treeContext: null, 16320 retryLane: 0, 16321 hydrationErrors: null 16322}; 16323function mountSuspenseOffscreenState(renderLanes) { 16324 return { baseLanes: renderLanes, cachePool: getSuspendedCache() }; 16325} 16326function getRemainingWorkInPrimaryTree( 16327 current, 16328 primaryTreeDidDefer, 16329 renderLanes 16330) { 16331 current = null !== current ? current.childLanes & ~renderLanes : 0; 16332 primaryTreeDidDefer && (current |= workInProgressDeferredLane); 16333 return current; 16334} 16335function updateSuspenseComponent(current, workInProgress, renderLanes) { 16336 var nextProps = workInProgress.pendingProps, 16337 showFallback = !1, 16338 didSuspend = 0 !== (workInProgress.flags & 128), 16339 JSCompiler_temp; 16340 (JSCompiler_temp = didSuspend) || 16341 (JSCompiler_temp = 16342 null !== current && null === current.memoizedState 16343 ? !1 16344 : 0 !== (suspenseStackCursor.current & 2));
16345 JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); 16346 JSCompiler_temp = 0 !== (workInProgress.flags & 32); 16347 workInProgress.flags &= -33; 16348 if (null === current) { 16349 if (isHydrating) { 16350 showFallback 16351 ? pushPrimaryTreeSuspenseHandler(workInProgress) 16352 : reuseSuspenseHandlerOnStack(workInProgress); 16353 if (isHydrating) { 16354 var nextInstance = nextHydratableInstance, 16355 JSCompiler_temp$jscomp$0; 16356 if ((JSCompiler_temp$jscomp$0 = nextInstance)) { 16357 c: { 16358 JSCompiler_temp$jscomp$0 = nextInstance; 16359 for ( 16360 nextInstance = rootOrSingletonContext; 16361 8 !== JSCompiler_temp$jscomp$0.nodeType; 16362 16363 ) { 16364 if (!nextInstance) { 16365 nextInstance = null; 16366 break c; 16367 } 16368 JSCompiler_temp$jscomp$0 = getNextHydratable( 16369 JSCompiler_temp$jscomp$0.nextSibling 16370 ); 16371 if (null === JSCompiler_temp$jscomp$0) { 16372 nextInstance = null; 16373 break c; 16374 } 16375 } 16376 nextInstance = JSCompiler_temp$jscomp$0; 16377 } 16378 null !== nextInstance 16379 ? ((workInProgress.memoizedState = { 16380 dehydrated: nextInstance, 16381 treeContext: 16382 null !== treeContextProvider 16383 ? { id: treeContextId, overflow: treeContextOverflow } 16384 : null, 16385 retryLane: 536870912, 16386 hydrationErrors: null 16387 }), 16388 (JSCompiler_temp$jscomp$0 = createFiberImplClass( 16389 18, 16390 null, 16391 null, 16392 0 16393 )), 16394 (JSCompiler_temp$jscomp$0.stateNode = nextInstance), 16395 (JSCompiler_temp$jscomp$0.return = workInProgress), 16396 (workInProgress.child = JSCompiler_temp$jscomp$0), 16397 (hydrationParentFiber = workInProgress), 16398 (nextHydratableInstance = null), 16399 (JSCompiler_temp$jscomp$0 = !0)) 16400 : (JSCompiler_temp$jscomp$0 = !1); 16401 } 16402 JSCompiler_temp$jscomp$0 || throwOnHydrationMismatch(workInProgress); 16403 } 16404 nextInstance = workInProgress.memoizedState; 16405 if ( 16406 null !== nextInstance && 16407 ((nextInstance = nextInstance.dehydrated), null !== nextInstance) 16408 ) 16409 return ( 16410 isSuspenseInstanceFallback(nextInstance) 16411 ? (workInProgress.lanes = 32) 16412 : (workInProgress.lanes = 536870912), 16413 null 16414 ); 16415 popSuspenseHandler(workInProgress); 16416 } 16417 nextInstance = nextProps.children; 16418 nextProps = nextProps.fallback; 16419 if (showFallback) 16420 return ( 16421 reuseSuspenseHandlerOnStack(workInProgress), 16422 (showFallback = workInProgress.mode), 16423 (nextInstance = mountWorkInProgressOffscreenFiber( 16424 { mode: "hidden", children: nextInstance }, 16425 showFallback 16426 )), 16427 (nextProps = createFiberFromFragment( 16428 nextProps, 16429 showFallback, 16430 renderLanes, 16431 null 16432 )), 16433 (nextInstance.return = workInProgress), 16434 (nextProps.return = workInProgress), 16435 (nextInstance.sibling = nextProps), 16436 (workInProgress.child = nextInstance), 16437 (showFallback = workInProgress.child), 16438 (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)), 16439 (showFallback.childLanes = getRemainingWorkInPrimaryTree( 16440 current, 16441 JSCompiler_temp, 16442 renderLanes 16443 )), 16444 (workInProgress.memoizedState = SUSPENDED_MARKER), 16445 nextProps 16446 ); 16447 pushPrimaryTreeSuspenseHandler(workInProgress); 16448 return mountSuspensePrimaryChildren(workInProgress, nextInstance); 16449 } 16450 JSCompiler_temp$jscomp$0 = current.memoizedState; 16451 if ( 16452 null !== JSCompiler_temp$jscomp$0 && 16453 ((nextInstance = JSCompiler_temp$jscomp$0.dehydrated), 16454 null !== nextInstance) 16455 ) { 16456 if (didSuspend) 16457 workInProgress.flags & 256 16458 ? (pushPrimaryTreeSuspenseHandler(workInProgress), 16459 (workInProgress.flags &= -257), 16460 (workInProgress = retrySuspenseComponentWithoutHydrating( 16461 current, 16462 workInProgress, 16463 renderLanes 16464 ))) 16465 : null !== workInProgress.memoizedState 16466 ? (reuseSuspenseHandlerOnStack(workInProgress), 16467 (workInProgress.child = current.child), 16468 (workInProgress.flags |= 128), 16469 (workInProgress = null)) 16470 : (reuseSuspenseHandlerOnStack(workInProgress), 16471 (showFallback = nextProps.fallback), 16472 (nextInstance = workInProgress.mode), 16473 (nextProps = mountWorkInProgressOffscreenFiber( 16474 { mode: "visible", children: nextProps.children }, 16475 nextInstance 16476 )), 16477 (showFallback = createFiberFromFragment( 16478 showFallback, 16479 nextInstance, 16480 renderLanes, 16481 null 16482 )), 16483 (showFallback.flags |= 2),
16484 (nextProps.return = workInProgress), 16485 (showFallback.return = workInProgress), 16486 (nextProps.sibling = showFallback), 16487 (workInProgress.child = nextProps), 16488 reconcileChildFibers( 16489 workInProgress, 16490 current.child, 16491 null, 16492 renderLanes 16493 ), 16494 (nextProps = workInProgress.child), 16495 (nextProps.memoizedState = 16496 mountSuspenseOffscreenState(renderLanes)), 16497 (nextProps.childLanes = getRemainingWorkInPrimaryTree( 16498 current, 16499 JSCompiler_temp, 16500 renderLanes 16501 )), 16502 (workInProgress.memoizedState = SUSPENDED_MARKER), 16503 (workInProgress = showFallback)); 16504 else if ( 16505 (pushPrimaryTreeSuspenseHandler(workInProgress), 16506 isSuspenseInstanceFallback(nextInstance)) 16507 ) { 16508 JSCompiler_temp = 16509 nextInstance.nextSibling && nextInstance.nextSibling.dataset; 16510 if (JSCompiler_temp) var digest = JSCompiler_temp.dgst; 16511 JSCompiler_temp = digest; 16512 nextProps = Error(formatProdErrorMessage(419)); 16513 nextProps.stack = ""; 16514 nextProps.digest = JSCompiler_temp; 16515 queueHydrationError({ value: nextProps, source: null, stack: null }); 16516 workInProgress = retrySuspenseComponentWithoutHydrating( 16517 current, 16518 workInProgress, 16519 renderLanes 16520 ); 16521 } else if ( 16522 (didReceiveUpdate || 16523 propagateParentContextChanges(current, workInProgress, renderLanes, !1), 16524 (JSCompiler_temp = 0 !== (renderLanes & current.childLanes)), 16525 didReceiveUpdate || JSCompiler_temp) 16526 ) { 16527 JSCompiler_temp = workInProgressRoot; 16528 if ( 16529 null !== JSCompiler_temp && 16530 ((nextProps = renderLanes & -renderLanes), 16531 (nextProps = 16532 0 !== (nextProps & 42) 16533 ? 1 16534 : getBumpedLaneForHydrationByLane(nextProps)), 16535 (nextProps = 16536 0 !== (nextProps & (JSCompiler_temp.suspendedLanes | renderLanes)) 16537 ? 0 16538 : nextProps), 16539 0 !== nextProps && nextProps !== JSCompiler_temp$jscomp$0.retryLane) 16540 ) 16541 throw ( 16542 ((JSCompiler_temp$jscomp$0.retryLane = nextProps), 16543 enqueueConcurrentRenderForLane(current, nextProps), 16544 scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps), 16545 SelectiveHydrationException) 16546 ); 16547 "$?" === nextInstance.data || renderDidSuspendDelayIfPossible(); 16548 workInProgress = retrySuspenseComponentWithoutHydrating( 16549 current, 16550 workInProgress, 16551 renderLanes 16552 ); 16553 } else 16554 "$?" === nextInstance.data 16555 ? ((workInProgress.flags |= 192), 16556 (workInProgress.child = current.child), 16557 (workInProgress = null)) 16558 : ((current = JSCompiler_temp$jscomp$0.treeContext), 16559 (nextHydratableInstance = getNextHydratable( 16560 nextInstance.nextSibling 16561 )), 16562 (hydrationParentFiber = workInProgress), 16563 (isHydrating = !0), 16564 (hydrationErrors = null), 16565 (rootOrSingletonContext = !1), 16566 null !== current && 16567 ((idStack[idStackIndex++] = treeContextId), 16568 (idStack[idStackIndex++] = treeContextOverflow), 16569 (idStack[idStackIndex++] = treeContextProvider), 16570 (treeContextId = current.id), 16571 (treeContextOverflow = current.overflow), 16572 (treeContextProvider = workInProgress)), 16573 (workInProgress = mountSuspensePrimaryChildren( 16574 workInProgress, 16575 nextProps.children 16576 )), 16577 (workInProgress.flags |= 4096)); 16578 return workInProgress; 16579 } 16580 if (showFallback) 16581 return ( 16582 reuseSuspenseHandlerOnStack(workInProgress), 16583 (showFallback = nextProps.fallback), 16584 (nextInstance = workInProgress.mode), 16585 (JSCompiler_temp$jscomp$0 = current.child), 16586 (digest = JSCompiler_temp$jscomp$0.sibling), 16587 (nextProps = createWorkInProgress(JSCompiler_temp$jscomp$0, { 16588 mode: "hidden", 16589 children: nextProps.children 16590 })), 16591 (nextProps.subtreeFlags = 16592 JSCompiler_temp$jscomp$0.subtreeFlags & 65011712),
16593 null !== digest 16594 ? (showFallback = createWorkInProgress(digest, showFallback)) 16595 : ((showFallback = createFiberFromFragment( 16596 showFallback, 16597 nextInstance, 16598 renderLanes, 16599 null 16600 )), 16601 (showFallback.flags |= 2)), 16602 (showFallback.return = workInProgress), 16603 (nextProps.return = workInProgress), 16604 (nextProps.sibling = showFallback), 16605 (workInProgress.child = nextProps), 16606 (nextProps = showFallback), 16607 (showFallback = workInProgress.child), 16608 (nextInstance = current.child.memoizedState), 16609 null === nextInstance 16610 ? (nextInstance = mountSuspenseOffscreenState(renderLanes)) 16611 : ((JSCompiler_temp$jscomp$0 = nextInstance.cachePool), 16612 null !== JSCompiler_temp$jscomp$0 16613 ? ((digest = CacheContext._currentValue), 16614 (JSCompiler_temp$jscomp$0 = 16615 JSCompiler_temp$jscomp$0.parent !== digest 16616 ? { parent: digest, pool: digest } 16617 : JSCompiler_temp$jscomp$0)) 16618 : (JSCompiler_temp$jscomp$0 = getSuspendedCache()), 16619 (nextInstance = { 16620 baseLanes: nextInstance.baseLanes | renderLanes, 16621 cachePool: JSCompiler_temp$jscomp$0 16622 })), 16623 (showFallback.memoizedState = nextInstance), 16624 (showFallback.childLanes = getRemainingWorkInPrimaryTree( 16625 current, 16626 JSCompiler_temp, 16627 renderLanes 16628 )), 16629 (workInProgress.memoizedState = SUSPENDED_MARKER), 16630 nextProps 16631 ); 16632 pushPrimaryTreeSuspenseHandler(workInProgress); 16633 renderLanes = current.child; 16634 current = renderLanes.sibling; 16635 renderLanes = createWorkInProgress(renderLanes, { 16636 mode: "visible", 16637 children: nextProps.children 16638 }); 16639 renderLanes.return = workInProgress; 16640 renderLanes.sibling = null; 16641 null !== current && 16642 ((JSCompiler_temp = workInProgress.deletions), 16643 null === JSCompiler_temp 16644 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) 16645 : JSCompiler_temp.push(current)); 16646 workInProgress.child = renderLanes; 16647 workInProgress.memoizedState = null; 16648 return renderLanes; 16649} 16650function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { 16651 primaryChildren = mountWorkInProgressOffscreenFiber( 16652 { mode: "visible", children: primaryChildren }, 16653 workInProgress.mode 16654 ); 16655 primaryChildren.return = workInProgress; 16656 return (workInProgress.child = primaryChildren); 16657} 16658function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { 16659 offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); 16660 offscreenProps.lanes = 0; 16661 offscreenProps.stateNode = { 16662 _visibility: 1, 16663 _pendingMarkers: null, 16664 _retryCache: null, 16665 _transitions: null 16666 }; 16667 return offscreenProps; 16668} 16669function retrySuspenseComponentWithoutHydrating( 16670 current, 16671 workInProgress, 16672 renderLanes 16673) { 16674 reconcileChildFibers(workInProgress, current.child, null, renderLanes); 16675 current = mountSuspensePrimaryChildren( 16676 workInProgress, 16677 workInProgress.pendingProps.children 16678 ); 16679 current.flags |= 2; 16680 workInProgress.memoizedState = null; 16681 return current; 16682} 16683function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { 16684 fiber.lanes |= renderLanes; 16685 var alternate = fiber.alternate; 16686 null !== alternate && (alternate.lanes |= renderLanes); 16687 scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot); 16688} 16689function initSuspenseListRenderState( 16690 workInProgress, 16691 isBackwards, 16692 tail, 16693 lastContentRow, 16694 tailMode 16695) { 16696 var renderState = workInProgress.memoizedState; 16697 null === renderState 16698 ? (workInProgress.memoizedState = { 16699 isBackwards: isBackwards, 16700 rendering: null, 16701 renderingStartTime: 0, 16702 last: lastContentRow, 16703 tail: tail, 16704 tailMode: tailMode 16705 }) 16706 : ((renderState.isBackwards = isBackwards), 16707 (renderState.rendering = null), 16708 (renderState.renderingStartTime = 0), 16709 (renderState.last = lastContentRow), 16710 (renderState.tail = tail), 16711 (renderState.tailMode = tailMode)); 16712} 16713function updateSuspenseListComponent(current, workInProgress, renderLanes) { 16714 var nextProps = workInProgress.pendingProps, 16715 revealOrder = nextProps.revealOrder, 16716 tailMode = nextProps.tail; 16717 reconcileChildren(current, workInProgress, nextProps.children, renderLanes); 16718 nextProps = suspenseStackCursor.current; 16719 if (0 !== (nextProps & 2)) 16720 (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); 16721 else { 16722 if (null !== current && 0 !== (current.flags & 128)) 16723 a: for (current = workInProgress.child; null !== current; ) { 16724 if (13 === current.tag) 16725 null !== current.memoizedState && 16726 scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress); 16727 else if (19 === current.tag) 16728 scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress); 16729 else if (null !== current.child) { 16730 current.child.return = current; 16731 current = current.child; 16732 continue; 16733 } 16734 if (current === workInProgress) break a; 16735 for (; null === current.sibling; ) { 16736 if (null === current.return || current.return === workInProgress) 16737 break a; 16738 current = current.return; 16739 } 16740 current.sibling.return = current.return; 16741 current = current.sibling; 16742 } 16743 nextProps &= 1; 16744 } 16745 push(suspenseStackCursor, nextProps); 16746 switch (revealOrder) { 16747 case "forwards":
16748 renderLanes = workInProgress.child; 16749 for (revealOrder = null; null !== renderLanes; ) 16750 (current = renderLanes.alternate), 16751 null !== current && 16752 null === findFirstSuspended(current) && 16753 (revealOrder = renderLanes), 16754 (renderLanes = renderLanes.sibling); 16755 renderLanes = revealOrder; 16756 null === renderLanes 16757 ? ((revealOrder = workInProgress.child), (workInProgress.child = null)) 16758 : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null)); 16759 initSuspenseListRenderState( 16760 workInProgress, 16761 !1, 16762 revealOrder, 16763 renderLanes, 16764 tailMode 16765 ); 16766 break; 16767 case "backwards": 16768 renderLanes = null; 16769 revealOrder = workInProgress.child; 16770 for (workInProgress.child = null; null !== revealOrder; ) { 16771 current = revealOrder.alternate; 16772 if (null !== current && null === findFirstSuspended(current)) { 16773 workInProgress.child = revealOrder; 16774 break; 16775 } 16776 current = revealOrder.sibling; 16777 revealOrder.sibling = renderLanes; 16778 renderLanes = revealOrder; 16779 revealOrder = current; 16780 } 16781 initSuspenseListRenderState( 16782 workInProgress, 16783 !0, 16784 renderLanes, 16785 null, 16786 tailMode 16787 ); 16788 break; 16789 case "together": 16790 initSuspenseListRenderState(workInProgress, !1, null, null, void 0); 16791 break; 16792 default: 16793 workInProgress.memoizedState = null; 16794 } 16795 return workInProgress.child; 16796} 16797function bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) { 16798 null !== current && (workInProgress.dependencies = current.dependencies); 16799 workInProgressRootSkippedLanes |= workInProgress.lanes; 16800 if (0 === (renderLanes & workInProgress.childLanes)) 16801 if (null !== current) { 16802 if ( 16803 (propagateParentContextChanges( 16804 current, 16805 workInProgress, 16806 renderLanes, 16807 !1 16808 ), 16809 0 === (renderLanes & workInProgress.childLanes)) 16810 ) 16811 return null; 16812 } else return null; 16813 if (null !== current && workInProgress.child !== current.child) 16814 throw Error(formatProdErrorMessage(153)); 16815 if (null !== workInProgress.child) { 16816 current = workInProgress.child; 16817 renderLanes = createWorkInProgress(current, current.pendingProps); 16818 workInProgress.child = renderLanes; 16819 for (renderLanes.return = workInProgress; null !== current.sibling; ) 16820 (current = current.sibling), 16821 (renderLanes = renderLanes.sibling = 16822 createWorkInProgress(current, current.pendingProps)), 16823 (renderLanes.return = workInProgress); 16824 renderLanes.sibling = null; 16825 } 16826 return workInProgress.child; 16827} 16828function checkScheduledUpdateOrContext(current, renderLanes) { 16829 if (0 !== (current.lanes & renderLanes)) return !0; 16830 current = current.dependencies; 16831 return null !== current && checkIfContextChanged(current) ? !0 : !1; 16832} 16833function attemptEarlyBailoutIfNoScheduledUpdate( 16834 current, 16835 workInProgress, 16836 renderLanes 16837) { 16838 switch (workInProgress.tag) { 16839 case 3: 16840 pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); 16841 pushProvider(workInProgress, CacheContext, current.memoizedState.cache); 16842 resetHydrationState(); 16843 break; 16844 case 27: 16845 case 5: 16846 pushHostContext(workInProgress); 16847 break; 16848 case 4: 16849 pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo); 16850 break; 16851 case 10: 16852 pushProvider( 16853 workInProgress, 16854 workInProgress.type, 16855 workInProgress.memoizedProps.value 16856 ); 16857 break; 16858 case 13: 16859 var state = workInProgress.memoizedState; 16860 if (null !== state) { 16861 if (null !== state.dehydrated) 16862 return ( 16863 pushPrimaryTreeSuspenseHandler(workInProgress), 16864 (workInProgress.flags |= 128), 16865 null 16866 ); 16867 if (0 !== (renderLanes & workInProgress.child.childLanes)) 16868 return updateSuspenseComponent(current, workInProgress, renderLanes); 16869 pushPrimaryTreeSuspenseHandler(workInProgress); 16870 current = bailoutOnAlreadyFinishedWork( 16871 current, 16872 workInProgress, 16873 renderLanes 16874 ); 16875 return null !== current ? current.sibling : null; 16876 } 16877 pushPrimaryTreeSuspenseHandler(workInProgress); 16878 break; 16879 case 19: 16880 var didSuspendBefore = 0 !== (current.flags & 128); 16881 state = 0 !== (renderLanes & workInProgress.childLanes); 16882 state || 16883 (propagateParentContextChanges( 16884 current, 16885 workInProgress, 16886 renderLanes, 16887 !1 16888 ), 16889 (state = 0 !== (renderLanes & workInProgress.childLanes))); 16890 if (didSuspendBefore) { 16891 if (state) 16892 return updateSuspenseListComponent( 16893 current, 16894 workInProgress, 16895 renderLanes 16896 ); 16897 workInProgress.flags |= 128; 16898 } 16899 didSuspendBefore = workInProgress.memoizedState; 16900 null !== didSuspendBefore && 16901 ((didSuspendBefore.rendering = null),
16902 (didSuspendBefore.tail = null), 16903 (didSuspendBefore.lastEffect = null)); 16904 push(suspenseStackCursor, suspenseStackCursor.current); 16905 if (state) break; 16906 else return null; 16907 case 22: 16908 case 23: 16909 return ( 16910 (workInProgress.lanes = 0), 16911 updateOffscreenComponent(current, workInProgress, renderLanes) 16912 ); 16913 case 24: 16914 pushProvider(workInProgress, CacheContext, current.memoizedState.cache); 16915 } 16916 return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); 16917} 16918function beginWork(current, workInProgress, renderLanes) { 16919 if (null !== current) 16920 if (current.memoizedProps !== workInProgress.pendingProps) 16921 didReceiveUpdate = !0; 16922 else { 16923 if ( 16924 !checkScheduledUpdateOrContext(current, renderLanes) && 16925 0 === (workInProgress.flags & 128) 16926 ) 16927 return ( 16928 (didReceiveUpdate = !1), 16929 attemptEarlyBailoutIfNoScheduledUpdate( 16930 current, 16931 workInProgress, 16932 renderLanes 16933 ) 16934 ); 16935 didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; 16936 } 16937 else 16938 (didReceiveUpdate = !1), 16939 isHydrating && 16940 0 !== (workInProgress.flags & 1048576) && 16941 pushTreeId(workInProgress, treeForkCount, workInProgress.index); 16942 workInProgress.lanes = 0; 16943 switch (workInProgress.tag) { 16944 case 16: 16945 a: { 16946 current = workInProgress.pendingProps; 16947 var lazyComponent = workInProgress.elementType, 16948 init = lazyComponent._init; 16949 lazyComponent = init(lazyComponent._payload); 16950 workInProgress.type = lazyComponent; 16951 if ("function" === typeof lazyComponent) 16952 shouldConstruct(lazyComponent) 16953 ? ((current = resolveClassComponentProps(lazyComponent, current)), 16954 (workInProgress.tag = 1), 16955 (workInProgress = updateClassComponent( 16956 null, 16957 workInProgress, 16958 lazyComponent, 16959 current, 16960 renderLanes 16961 ))) 16962 : ((workInProgress.tag = 0), 16963 (workInProgress = updateFunctionComponent( 16964 null, 16965 workInProgress, 16966 lazyComponent, 16967 current, 16968 renderLanes 16969 ))); 16970 else { 16971 if (void 0 !== lazyComponent && null !== lazyComponent) 16972 if ( 16973 ((init = lazyComponent.$$typeof), init === REACT_FORWARD_REF_TYPE) 16974 ) { 16975 workInProgress.tag = 11; 16976 workInProgress = updateForwardRef( 16977 null, 16978 workInProgress, 16979 lazyComponent, 16980 current, 16981 renderLanes 16982 ); 16983 break a; 16984 } else if (init === REACT_MEMO_TYPE) { 16985 workInProgress.tag = 14; 16986 workInProgress = updateMemoComponent( 16987 null, 16988 workInProgress, 16989 lazyComponent, 16990 current, 16991 renderLanes 16992 ); 16993 break a; 16994 } 16995 workInProgress = 16996 getComponentNameFromType(lazyComponent) || lazyComponent; 16997 throw Error(formatProdErrorMessage(306, workInProgress, "")); 16998 } 16999 } 17000 return workInProgress; 17001 case 0: 17002 return updateFunctionComponent( 17003 current, 17004 workInProgress, 17005 workInProgress.type, 17006 workInProgress.pendingProps, 17007 renderLanes 17008 ); 17009 case 1: 17010 return ( 17011 (lazyComponent = workInProgress.type), 17012 (init = resolveClassComponentProps( 17013 lazyComponent, 17014 workInProgress.pendingProps 17015 )), 17016 updateClassComponent( 17017 current, 17018 workInProgress, 17019 lazyComponent, 17020 init, 17021 renderLanes 17022 ) 17023 ); 17024 case 3: 17025 a: { 17026 pushHostContainer( 17027 workInProgress, 17028 workInProgress.stateNode.containerInfo 17029 ); 17030 if (null === current) throw Error(formatProdErrorMessage(387)); 17031 lazyComponent = workInProgress.pendingProps; 17032 var prevState = workInProgress.memoizedState; 17033 init = prevState.element; 17034 cloneUpdateQueue(current, workInProgress); 17035 processUpdateQueue(workInProgress, lazyComponent, null, renderLanes); 17036 var nextState = workInProgress.memoizedState; 17037 lazyComponent = nextState.cache;
17038 pushProvider(workInProgress, CacheContext, lazyComponent); 17039 lazyComponent !== prevState.cache && 17040 propagateContextChanges( 17041 workInProgress, 17042 [CacheContext], 17043 renderLanes, 17044 !0 17045 ); 17046 suspendIfUpdateReadFromEntangledAsyncAction(); 17047 lazyComponent = nextState.element; 17048 if (prevState.isDehydrated) 17049 if ( 17050 ((prevState = { 17051 element: lazyComponent, 17052 isDehydrated: !1, 17053 cache: nextState.cache 17054 }), 17055 (workInProgress.updateQueue.baseState = prevState), 17056 (workInProgress.memoizedState = prevState), 17057 workInProgress.flags & 256) 17058 ) { 17059 workInProgress = mountHostRootWithoutHydrating( 17060 current, 17061 workInProgress, 17062 lazyComponent, 17063 renderLanes 17064 ); 17065 break a; 17066 } else if (lazyComponent !== init) { 17067 init = createCapturedValueAtFiber( 17068 Error(formatProdErrorMessage(424)), 17069 workInProgress 17070 ); 17071 queueHydrationError(init); 17072 workInProgress = mountHostRootWithoutHydrating( 17073 current, 17074 workInProgress, 17075 lazyComponent, 17076 renderLanes 17077 ); 17078 break a; 17079 } else { 17080 current = workInProgress.stateNode.containerInfo; 17081 switch (current.nodeType) { 17082 case 9: 17083 current = current.body; 17084 break; 17085 default: 17086 current = 17087 "HTML" === current.nodeName 17088 ? current.ownerDocument.body 17089 : current; 17090 } 17091 nextHydratableInstance = getNextHydratable(current.firstChild); 17092 hydrationParentFiber = workInProgress; 17093 isHydrating = !0; 17094 hydrationErrors = null; 17095 rootOrSingletonContext = !0; 17096 renderLanes = mountChildFibers( 17097 workInProgress, 17098 null, 17099 lazyComponent, 17100 renderLanes 17101 ); 17102 for (workInProgress.child = renderLanes; renderLanes; ) 17103 (renderLanes.flags = (renderLanes.flags & -3) | 4096), 17104 (renderLanes = renderLanes.sibling); 17105 } 17106 else { 17107 resetHydrationState(); 17108 if (lazyComponent === init) { 17109 workInProgress = bailoutOnAlreadyFinishedWork( 17110 current, 17111 workInProgress, 17112 renderLanes 17113 ); 17114 break a; 17115 } 17116 reconcileChildren( 17117 current, 17118 workInProgress, 17119 lazyComponent, 17120 renderLanes 17121 ); 17122 } 17123 workInProgress = workInProgress.child; 17124 } 17125 return workInProgress; 17126 case 26: 17127 return ( 17128 markRef(current, workInProgress), 17129 null === current 17130 ? (renderLanes = getResource( 17131 workInProgress.type, 17132 null, 17133 workInProgress.pendingProps, 17134 null 17135 )) 17136 ? (workInProgress.memoizedState = renderLanes) 17137 : isHydrating || 17138 ((renderLanes = workInProgress.type), 17139 (current = workInProgress.pendingProps), 17140 (lazyComponent = getOwnerDocumentFromRootContainer( 17141 rootInstanceStackCursor.current 17142 ).createElement(renderLanes)), 17143 (lazyComponent[internalInstanceKey] = workInProgress), 17144 (lazyComponent[internalPropsKey] = current), 17145 setInitialProperties(lazyComponent, renderLanes, current), 17146 markNodeAsHoistable(lazyComponent), 17147 (workInProgress.stateNode = lazyComponent)) 17148 : (workInProgress.memoizedState = getResource( 17149 workInProgress.type, 17150 current.memoizedProps, 17151 workInProgress.pendingProps, 17152 current.memoizedState 17153 )), 17154 null 17155 ); 17156 case 27: 17157 return ( 17158 pushHostContext(workInProgress), 17159 null === current && 17160 isHydrating && 17161 ((lazyComponent = workInProgress.stateNode = 17162 resolveSingletonInstance( 17163 workInProgress.type, 17164 workInProgress.pendingProps, 17165 rootInstanceStackCursor.current 17166 )), 17167 (hydrationParentFiber = workInProgress), 17168 (rootOrSingletonContext = !0), 17169 (init = nextHydratableInstance), 17170 isSingletonScope(workInProgress.type) 17171 ? ((previousHydratableOnEnteringScopedSingleton = init), 17172 (nextHydratableInstance = getNextHydratable( 17173 lazyComponent.firstChild 17174 ))) 17175 : (nextHydratableInstance = init)), 17176 reconcileChildren( 17177 current, 17178 workInProgress, 17179 workInProgress.pendingProps.children, 17180 renderLanes 17181 ), 17182 markRef(current, workInProgress), 17183 null === current && (workInProgress.flags |= 4194304), 17184 workInProgress.child 17185 ); 17186 case 5: 17187 if (null === current && isHydrating) { 17188 if ((init = lazyComponent = nextHydratableInstance)) 17189 (lazyComponent = canHydrateInstance( 17190 lazyComponent, 17191 workInProgress.type, 17192 workInProgress.pendingProps, 17193 rootOrSingletonContext 17194 )), 17195 null !== lazyComponent 17196 ? ((workInProgress.stateNode = lazyComponent), 17197 (hydrationParentFiber = workInProgress), 17198 (nextHydratableInstance = getNextHydratable( 17199 lazyComponent.firstChild 17200 )), 17201 (rootOrSingletonContext = !1), 17202 (init = !0)) 17203 : (init = !1); 17204 init || throwOnHydrationMismatch(workInProgress); 17205 } 17206 pushHostContext(workInProgress); 17207 init = workInProgress.type; 17208 prevState = workInProgress.pendingProps; 17209 nextState = null !== current ? current.memoizedProps : null; 17210 lazyComponent = prevState.children; 17211 shouldSetTextContent(init, prevState) 17212 ? (lazyComponent = null) 17213 : null !== nextState && 17214 shouldSetTextContent(init, nextState) && 17215 (workInProgress.flags |= 32); 17216 null !== workInProgress.memoizedState && 17217 ((init = renderWithHooks( 17218 current, 17219 workInProgress, 17220 TransitionAwareHostComponent, 17221 null, 17222 null, 17223 renderLanes 17224 )), 17225 (HostTransitionContext._currentValue = init)); 17226 markRef(current, workInProgress); 17227 reconcileChildren(current, workInProgress, lazyComponent, renderLanes); 17228 return workInProgress.child; 17229 case 6: 17230 if (null === current && isHydrating) { 17231 if ((current = renderLanes = nextHydratableInstance)) 17232 (renderLanes = canHydrateTextInstance( 17233 renderLanes, 17234 workInProgress.pendingProps, 17235 rootOrSingletonContext 17236 )), 17237 null !== renderLanes 17238 ? ((workInProgress.stateNode = renderLanes), 17239 (hydrationParentFiber = workInProgress), 17240 (nextHydratableInstance = null),
17241 (current = !0)) 17242 : (current = !1); 17243 current || throwOnHydrationMismatch(workInProgress); 17244 } 17245 return null; 17246 case 13: 17247 return updateSuspenseComponent(current, workInProgress, renderLanes); 17248 case 4: 17249 return ( 17250 pushHostContainer( 17251 workInProgress, 17252 workInProgress.stateNode.containerInfo 17253 ), 17254 (lazyComponent = workInProgress.pendingProps), 17255 null === current 17256 ? (workInProgress.child = reconcileChildFibers( 17257 workInProgress, 17258 null, 17259 lazyComponent, 17260 renderLanes 17261 )) 17262 : reconcileChildren( 17263 current, 17264 workInProgress, 17265 lazyComponent, 17266 renderLanes 17267 ), 17268 workInProgress.child 17269 ); 17270 case 11: 17271 return updateForwardRef( 17272 current, 17273 workInProgress, 17274 workInProgress.type, 17275 workInProgress.pendingProps, 17276 renderLanes 17277 ); 17278 case 7: 17279 return ( 17280 reconcileChildren( 17281 current, 17282 workInProgress, 17283 workInProgress.pendingProps, 17284 renderLanes 17285 ), 17286 workInProgress.child 17287 ); 17288 case 8: 17289 return ( 17290 reconcileChildren( 17291 current, 17292 workInProgress, 17293 workInProgress.pendingProps.children, 17294 renderLanes 17295 ), 17296 workInProgress.child 17297 ); 17298 case 12: 17299 return ( 17300 reconcileChildren( 17301 current, 17302 workInProgress, 17303 workInProgress.pendingProps.children, 17304 renderLanes 17305 ), 17306 workInProgress.child 17307 ); 17308 case 10: 17309 return ( 17310 (lazyComponent = workInProgress.pendingProps), 17311 pushProvider(workInProgress, workInProgress.type, lazyComponent.value), 17312 reconcileChildren( 17313 current, 17314 workInProgress, 17315 lazyComponent.children, 17316 renderLanes 17317 ), 17318 workInProgress.child 17319 ); 17320 case 9: 17321 return ( 17322 (init = workInProgress.type._context), 17323 (lazyComponent = workInProgress.pendingProps.children), 17324 prepareToReadContext(workInProgress), 17325 (init = readContext(init)), 17326 (lazyComponent = lazyComponent(init)), 17327 (workInProgress.flags |= 1), 17328 reconcileChildren(current, workInProgress, lazyComponent, renderLanes), 17329 workInProgress.child 17330 ); 17331 case 14: 17332 return updateMemoComponent( 17333 current, 17334 workInProgress, 17335 workInProgress.type, 17336 workInProgress.pendingProps, 17337 renderLanes 17338 ); 17339 case 15: 17340 return updateSimpleMemoComponent( 17341 current, 17342 workInProgress, 17343 workInProgress.type, 17344 workInProgress.pendingProps, 17345 renderLanes 17346 ); 17347 case 19: 17348 return updateSuspenseListComponent(current, workInProgress, renderLanes); 17349 case 31: 17350 return ( 17351 (lazyComponent = workInProgress.pendingProps), 17352 (renderLanes = workInProgress.mode), 17353 (lazyComponent = { 17354 mode: lazyComponent.mode, 17355 children: lazyComponent.children 17356 }), 17357 null === current 17358 ? ((renderLanes = mountWorkInProgressOffscreenFiber( 17359 lazyComponent, 17360 renderLanes 17361 )), 17362 (renderLanes.ref = workInProgress.ref), 17363 (workInProgress.child = renderLanes), 17364 (renderLanes.return = workInProgress), 17365 (workInProgress = renderLanes)) 17366 : ((renderLanes = createWorkInProgress(current.child, lazyComponent)), 17367 (renderLanes.ref = workInProgress.ref), 17368 (workInProgress.child = renderLanes), 17369 (renderLanes.return = workInProgress), 17370 (workInProgress = renderLanes)), 17371 workInProgress 17372 ); 17373 case 22: 17374 return updateOffscreenComponent(current, workInProgress, renderLanes); 17375 case 24: 17376 return ( 17377 prepareToReadContext(workInProgress), 17378 (lazyComponent = readContext(CacheContext)), 17379 null === current 17380 ? ((init = peekCacheFromPool()), 17381 null === init && 17382 ((init = workInProgressRoot), 17383 (prevState = createCache()), 17384 (init.pooledCache = prevState), 17385 prevState.refCount++, 17386 null !== prevState && (init.pooledCacheLanes |= renderLanes), 17387 (init = prevState)), 17388 (workInProgress.memoizedState = { 17389 parent: lazyComponent, 17390 cache: init 17391 }), 17392 initializeUpdateQueue(workInProgress), 17393 pushProvider(workInProgress, CacheContext, init)) 17394 : (0 !== (current.lanes & renderLanes) && 17395 (cloneUpdateQueue(current, workInProgress), 17396 processUpdateQueue(workInProgress, null, null, renderLanes), 17397 suspendIfUpdateReadFromEntangledAsyncAction()), 17398 (init = current.memoizedState), 17399 (prevState = workInProgress.memoizedState), 17400 init.parent !== lazyComponent 17401 ? ((init = { parent: lazyComponent, cache: lazyComponent }), 17402 (workInProgress.memoizedState = init), 17403 0 === workInProgress.lanes && 17404 (workInProgress.memoizedState = 17405 workInProgress.updateQueue.baseState = 17406 init), 17407 pushProvider(workInProgress, CacheContext, lazyComponent)) 17408 : ((lazyComponent = prevState.cache), 17409 pushProvider(workInProgress, CacheContext, lazyComponent), 17410 lazyComponent !== init.cache && 17411 propagateContextChanges( 17412 workInProgress, 17413 [CacheContext], 17414 renderLanes, 17415 !0 17416 ))), 17417 reconcileChildren( 17418 current, 17419 workInProgress, 17420 workInProgress.pendingProps.children, 17421 renderLanes 17422 ), 17423 workInProgress.child 17424 ); 17425 case 29: 17426 throw workInProgress.pendingProps; 17427 } 17428 throw Error(formatProdErrorMessage(156, workInProgress.tag)); 17429} 17430function markUpdate(workInProgress) { 17431 workInProgress.flags |= 4; 17432} 17433function preloadResourceAndSuspendIfNeeded(workInProgress, resource) { 17434 if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4)) 17435 workInProgress.flags &= -16777217; 17436 else if (((workInProgress.flags |= 16777216), !preloadResource(resource))) { 17437 resource = suspenseHandlerStackCursor.current; 17438 if ( 17439 null !== resource && 17440 ((workInProgressRootRenderLanes & 4194048) === 17441 workInProgressRootRenderLanes 17442 ? null !== shellBoundary 17443 : ((workInProgressRootRenderLanes & 62914560) !== 17444 workInProgressRootRenderLanes && 17445 0 === (workInProgressRootRenderLanes & 536870912)) || 17446 resource !== shellBoundary) 17447 ) 17448 throw ( 17449 ((suspendedThenable = noopSuspenseyCommitThenable), 17450 SuspenseyCommitException) 17451 ); 17452 workInProgress.flags |= 8192; 17453 } 17454} 17455function scheduleRetryEffect(workInProgress, retryQueue) { 17456 null !== retryQueue && (workInProgress.flags |= 4); 17457 workInProgress.flags & 16384 && 17458 ((retryQueue = 17459 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912), 17460 (workInProgress.lanes |= retryQueue), 17461 (workInProgressSuspendedRetryLanes |= retryQueue)); 17462} 17463function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { 17464 if (!isHydrating) 17465 switch (renderState.tailMode) { 17466 case "hidden": 17467 hasRenderedATailFallback = renderState.tail;
17468 for (var lastTailNode = null; null !== hasRenderedATailFallback; ) 17469 null !== hasRenderedATailFallback.alternate && 17470 (lastTailNode = hasRenderedATailFallback), 17471 (hasRenderedATailFallback = hasRenderedATailFallback.sibling); 17472 null === lastTailNode 17473 ? (renderState.tail = null) 17474 : (lastTailNode.sibling = null); 17475 break; 17476 case "collapsed": 17477 lastTailNode = renderState.tail; 17478 for (var lastTailNode$113 = null; null !== lastTailNode; ) 17479 null !== lastTailNode.alternate && (lastTailNode$113 = lastTailNode), 17480 (lastTailNode = lastTailNode.sibling); 17481 null === lastTailNode$113 17482 ? hasRenderedATailFallback || null === renderState.tail 17483 ? (renderState.tail = null) 17484 : (renderState.tail.sibling = null) 17485 : (lastTailNode$113.sibling = null); 17486 } 17487} 17488function bubbleProperties(completedWork) { 17489 var didBailout = 17490 null !== completedWork.alternate && 17491 completedWork.alternate.child === completedWork.child, 17492 newChildLanes = 0, 17493 subtreeFlags = 0; 17494 if (didBailout) 17495 for (var child$114 = completedWork.child; null !== child$114; ) 17496 (newChildLanes |= child$114.lanes | child$114.childLanes), 17497 (subtreeFlags |= child$114.subtreeFlags & 65011712), 17498 (subtreeFlags |= child$114.flags & 65011712), 17499 (child$114.return = completedWork), 17500 (child$114 = child$114.sibling); 17501 else 17502 for (child$114 = completedWork.child; null !== child$114; ) 17503 (newChildLanes |= child$114.lanes | child$114.childLanes), 17504 (subtreeFlags |= child$114.subtreeFlags), 17505 (subtreeFlags |= child$114.flags), 17506 (child$114.return = completedWork), 17507 (child$114 = child$114.sibling); 17508 completedWork.subtreeFlags |= subtreeFlags; 17509 completedWork.childLanes = newChildLanes; 17510 return didBailout; 17511} 17512function completeWork(current, workInProgress, renderLanes) { 17513 var newProps = workInProgress.pendingProps; 17514 popTreeContext(workInProgress); 17515 switch (workInProgress.tag) { 17516 case 31: 17517 case 16: 17518 case 15: 17519 case 0: 17520 case 11: 17521 case 7: 17522 case 8: 17523 case 12: 17524 case 9: 17525 case 14: 17526 return bubbleProperties(workInProgress), null; 17527 case 1: 17528 return bubbleProperties(workInProgress), null; 17529 case 3: 17530 renderLanes = workInProgress.stateNode; 17531 newProps = null; 17532 null !== current && (newProps = current.memoizedState.cache); 17533 workInProgress.memoizedState.cache !== newProps && 17534 (workInProgress.flags |= 2048); 17535 popProvider(CacheContext); 17536 popHostContainer(); 17537 renderLanes.pendingContext && 17538 ((renderLanes.context = renderLanes.pendingContext), 17539 (renderLanes.pendingContext = null)); 17540 if (null === current || null === current.child) 17541 popHydrationState(workInProgress) 17542 ? markUpdate(workInProgress) 17543 : null === current || 17544 (current.memoizedState.isDehydrated && 17545 0 === (workInProgress.flags & 256)) || 17546 ((workInProgress.flags |= 1024), 17547 upgradeHydrationErrorsToRecoverable()); 17548 bubbleProperties(workInProgress); 17549 return null; 17550 case 26: 17551 return ( 17552 (renderLanes = workInProgress.memoizedState), 17553 null === current 17554 ? (markUpdate(workInProgress), 17555 null !== renderLanes 17556 ? (bubbleProperties(workInProgress), 17557 preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes)) 17558 : (bubbleProperties(workInProgress), 17559 (workInProgress.flags &= -16777217))) 17560 : renderLanes 17561 ? renderLanes !== current.memoizedState 17562 ? (markUpdate(workInProgress), 17563 bubbleProperties(workInProgress), 17564 preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes)) 17565 : (bubbleProperties(workInProgress), 17566 (workInProgress.flags &= -16777217)) 17567 : (current.memoizedProps !== newProps && markUpdate(workInProgress), 17568 bubbleProperties(workInProgress), 17569 (workInProgress.flags &= -16777217)), 17570 null 17571 ); 17572 case 27: 17573 popHostContext(workInProgress); 17574 renderLanes = rootInstanceStackCursor.current; 17575 var type = workInProgress.type; 17576 if (null !== current && null != workInProgress.stateNode) 17577 current.memoizedProps !== newProps && markUpdate(workInProgress); 17578 else { 17579 if (!newProps) { 17580 if (null === workInProgress.stateNode) 17581 throw Error(formatProdErrorMessage(166)); 17582 bubbleProperties(workInProgress); 17583 return null; 17584 } 17585 current = contextStackCursor.current; 17586 popHydrationState(workInProgress) 17587 ? prepareToHydrateHostInstance(workInProgress, current) 17588 : ((current = resolveSingletonInstance(type, newProps, renderLanes)), 17589 (workInProgress.stateNode = current), 17590 markUpdate(workInProgress)); 17591 } 17592 bubbleProperties(workInProgress); 17593 return null; 17594 case 5: 17595 popHostContext(workInProgress);
17596 renderLanes = workInProgress.type; 17597 if (null !== current && null != workInProgress.stateNode) 17598 current.memoizedProps !== newProps && markUpdate(workInProgress); 17599 else { 17600 if (!newProps) { 17601 if (null === workInProgress.stateNode) 17602 throw Error(formatProdErrorMessage(166)); 17603 bubbleProperties(workInProgress); 17604 return null; 17605 } 17606 current = contextStackCursor.current; 17607 if (popHydrationState(workInProgress)) 17608 prepareToHydrateHostInstance(workInProgress, current); 17609 else { 17610 type = getOwnerDocumentFromRootContainer( 17611 rootInstanceStackCursor.current 17612 ); 17613 switch (current) { 17614 case 1: 17615 current = type.createElementNS( 17616 "http://www.w3.org/2000/svg", 17617 renderLanes 17618 ); 17619 break; 17620 case 2: 17621 current = type.createElementNS( 17622 "http://www.w3.org/1998/Math/MathML", 17623 renderLanes 17624 ); 17625 break; 17626 default: 17627 switch (renderLanes) { 17628 case "svg": 17629 current = type.createElementNS( 17630 "http://www.w3.org/2000/svg", 17631 renderLanes 17632 ); 17633 break; 17634 case "math": 17635 current = type.createElementNS( 17636 "http://www.w3.org/1998/Math/MathML", 17637 renderLanes 17638 ); 17639 break; 17640 case "script": 17641 current = type.createElement("div"); 17642 current.innerHTML = "<script>\x3c/script>"; 17643 current = current.removeChild(current.firstChild); 17644 break; 17645 case "select": 17646 current = 17647 "string" === typeof newProps.is 17648 ? type.createElement("select", { is: newProps.is }) 17649 : type.createElement("select"); 17650 newProps.multiple 17651 ? (current.multiple = !0) 17652 : newProps.size && (current.size = newProps.size); 17653 break; 17654 default: 17655 current = 17656 "string" === typeof newProps.is 17657 ? type.createElement(renderLanes, { is: newProps.is }) 17658 : type.createElement(renderLanes); 17659 } 17660 } 17661 current[internalInstanceKey] = workInProgress; 17662 current[internalPropsKey] = newProps; 17663 a: for (type = workInProgress.child; null !== type; ) { 17664 if (5 === type.tag || 6 === type.tag) 17665 current.appendChild(type.stateNode); 17666 else if (4 !== type.tag && 27 !== type.tag && null !== type.child) { 17667 type.child.return = type; 17668 type = type.child; 17669 continue; 17670 } 17671 if (type === workInProgress) break a; 17672 for (; null === type.sibling; ) { 17673 if (null === type.return || type.return === workInProgress) 17674 break a; 17675 type = type.return; 17676 } 17677 type.sibling.return = type.return; 17678 type = type.sibling; 17679 } 17680 workInProgress.stateNode = current; 17681 a: switch ( 17682 (setInitialProperties(current, renderLanes, newProps), renderLanes) 17683 ) { 17684 case "button": 17685 case "input": 17686 case "select": 17687 case "textarea": 17688 current = !!newProps.autoFocus; 17689 break a; 17690 case "img": 17691 current = !0; 17692 break a; 17693 default: 17694 current = !1; 17695 } 17696 current && markUpdate(workInProgress); 17697 } 17698 } 17699 bubbleProperties(workInProgress); 17700 workInProgress.flags &= -16777217; 17701 return null; 17702 case 6: 17703 if (current && null != workInProgress.stateNode) 17704 current.memoizedProps !== newProps && markUpdate(workInProgress); 17705 else { 17706 if ("string" !== typeof newProps && null === workInProgress.stateNode) 17707 throw Error(formatProdErrorMessage(166)); 17708 current = rootInstanceStackCursor.current; 17709 if (popHydrationState(workInProgress)) { 17710 current = workInProgress.stateNode;
17711 renderLanes = workInProgress.memoizedProps; 17712 newProps = null; 17713 type = hydrationParentFiber; 17714 if (null !== type) 17715 switch (type.tag) { 17716 case 27: 17717 case 5: 17718 newProps = type.memoizedProps; 17719 } 17720 current[internalInstanceKey] = workInProgress; 17721 current = 17722 current.nodeValue === renderLanes || 17723 (null !== newProps && !0 === newProps.suppressHydrationWarning) || 17724 checkForUnmatchedText(current.nodeValue, renderLanes) 17725 ? !0 17726 : !1; 17727 current || throwOnHydrationMismatch(workInProgress); 17728 } else 17729 (current = 17730 getOwnerDocumentFromRootContainer(current).createTextNode( 17731 newProps 17732 )), 17733 (current[internalInstanceKey] = workInProgress), 17734 (workInProgress.stateNode = current); 17735 } 17736 bubbleProperties(workInProgress); 17737 return null; 17738 case 13: 17739 newProps = workInProgress.memoizedState; 17740 if ( 17741 null === current || 17742 (null !== current.memoizedState && 17743 null !== current.memoizedState.dehydrated) 17744 ) { 17745 type = popHydrationState(workInProgress); 17746 if (null !== newProps && null !== newProps.dehydrated) { 17747 if (null === current) { 17748 if (!type) throw Error(formatProdErrorMessage(318)); 17749 type = workInProgress.memoizedState; 17750 type = null !== type ? type.dehydrated : null; 17751 if (!type) throw Error(formatProdErrorMessage(317)); 17752 type[internalInstanceKey] = workInProgress; 17753 } else 17754 resetHydrationState(), 17755 0 === (workInProgress.flags & 128) && 17756 (workInProgress.memoizedState = null), 17757 (workInProgress.flags |= 4); 17758 bubbleProperties(workInProgress); 17759 type = !1; 17760 } else 17761 (type = upgradeHydrationErrorsToRecoverable()), 17762 null !== current && 17763 null !== current.memoizedState && 17764 (current.memoizedState.hydrationErrors = type), 17765 (type = !0); 17766 if (!type) { 17767 if (workInProgress.flags & 256) 17768 return popSuspenseHandler(workInProgress), workInProgress; 17769 popSuspenseHandler(workInProgress); 17770 return null; 17771 } 17772 } 17773 popSuspenseHandler(workInProgress); 17774 if (0 !== (workInProgress.flags & 128)) 17775 return (workInProgress.lanes = renderLanes), workInProgress; 17776 renderLanes = null !== newProps; 17777 current = null !== current && null !== current.memoizedState; 17778 if (renderLanes) { 17779 newProps = workInProgress.child; 17780 type = null; 17781 null !== newProps.alternate && 17782 null !== newProps.alternate.memoizedState && 17783 null !== newProps.alternate.memoizedState.cachePool && 17784 (type = newProps.alternate.memoizedState.cachePool.pool); 17785 var cache$127 = null; 17786 null !== newProps.memoizedState && 17787 null !== newProps.memoizedState.cachePool && 17788 (cache$127 = newProps.memoizedState.cachePool.pool); 17789 cache$127 !== type && (newProps.flags |= 2048); 17790 } 17791 renderLanes !== current && 17792 renderLanes && 17793 (workInProgress.child.flags |= 8192); 17794 scheduleRetryEffect(workInProgress, workInProgress.updateQueue); 17795 bubbleProperties(workInProgress); 17796 return null; 17797 case 4: 17798 return ( 17799 popHostContainer(), 17800 null === current && 17801 listenToAllSupportedEvents(workInProgress.stateNode.containerInfo), 17802 bubbleProperties(workInProgress), 17803 null 17804 ); 17805 case 10: 17806 return ( 17807 popProvider(workInProgress.type), bubbleProperties(workInProgress), null 17808 ); 17809 case 19: 17810 pop(suspenseStackCursor); 17811 type = workInProgress.memoizedState; 17812 if (null === type) return bubbleProperties(workInProgress), null; 17813 newProps = 0 !== (workInProgress.flags & 128); 17814 cache$127 = type.rendering; 17815 if (null === cache$127) 17816 if (newProps) cutOffTailIfNeeded(type, !1); 17817 else { 17818 if ( 17819 0 !== workInProgressRootExitStatus || 17820 (null !== current && 0 !== (current.flags & 128)) 17821 ) 17822 for (current = workInProgress.child; null !== current; ) { 17823 cache$127 = findFirstSuspended(current); 17824 if (null !== cache$127) { 17825 workInProgress.flags |= 128; 17826 cutOffTailIfNeeded(type, !1); 17827 current = cache$127.updateQueue; 17828 workInProgress.updateQueue = current; 17829 scheduleRetryEffect(workInProgress, current); 17830 workInProgress.subtreeFlags = 0; 17831 current = renderLanes;
17832 for (renderLanes = workInProgress.child; null !== renderLanes; ) 17833 resetWorkInProgress(renderLanes, current), 17834 (renderLanes = renderLanes.sibling); 17835 push( 17836 suspenseStackCursor, 17837 (suspenseStackCursor.current & 1) | 2 17838 ); 17839 return workInProgress.child; 17840 } 17841 current = current.sibling; 17842 } 17843 null !== type.tail && 17844 now() > workInProgressRootRenderTargetTime && 17845 ((workInProgress.flags |= 128), 17846 (newProps = !0), 17847 cutOffTailIfNeeded(type, !1), 17848 (workInProgress.lanes = 4194304)); 17849 } 17850 else { 17851 if (!newProps) 17852 if (((current = findFirstSuspended(cache$127)), null !== current)) { 17853 if ( 17854 ((workInProgress.flags |= 128), 17855 (newProps = !0), 17856 (current = current.updateQueue), 17857 (workInProgress.updateQueue = current), 17858 scheduleRetryEffect(workInProgress, current), 17859 cutOffTailIfNeeded(type, !0), 17860 null === type.tail && 17861 "hidden" === type.tailMode && 17862 !cache$127.alternate && 17863 !isHydrating) 17864 ) 17865 return bubbleProperties(workInProgress), null; 17866 } else 17867 2 * now() - type.renderingStartTime > 17868 workInProgressRootRenderTargetTime && 17869 536870912 !== renderLanes && 17870 ((workInProgress.flags |= 128), 17871 (newProps = !0), 17872 cutOffTailIfNeeded(type, !1), 17873 (workInProgress.lanes = 4194304)); 17874 type.isBackwards 17875 ? ((cache$127.sibling = workInProgress.child), 17876 (workInProgress.child = cache$127)) 17877 : ((current = type.last), 17878 null !== current 17879 ? (current.sibling = cache$127) 17880 : (workInProgress.child = cache$127), 17881 (type.last = cache$127)); 17882 } 17883 if (null !== type.tail) 17884 return ( 17885 (workInProgress = type.tail), 17886 (type.rendering = workInProgress), 17887 (type.tail = workInProgress.sibling), 17888 (type.renderingStartTime = now()), 17889 (workInProgress.sibling = null), 17890 (current = suspenseStackCursor.current), 17891 push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1), 17892 workInProgress 17893 ); 17894 bubbleProperties(workInProgress); 17895 return null; 17896 case 22: 17897 case 23: 17898 return ( 17899 popSuspenseHandler(workInProgress), 17900 popHiddenContext(), 17901 (newProps = null !== workInProgress.memoizedState), 17902 null !== current 17903 ? (null !== current.memoizedState) !== newProps && 17904 (workInProgress.flags |= 8192) 17905 : newProps && (workInProgress.flags |= 8192), 17906 newProps 17907 ? 0 !== (renderLanes & 536870912) && 17908 0 === (workInProgress.flags & 128) && 17909 (bubbleProperties(workInProgress), 17910 workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192)) 17911 : bubbleProperties(workInProgress), 17912 (renderLanes = workInProgress.updateQueue), 17913 null !== renderLanes && 17914 scheduleRetryEffect(workInProgress, renderLanes.retryQueue), 17915 (renderLanes = null), 17916 null !== current && 17917 null !== current.memoizedState && 17918 null !== current.memoizedState.cachePool && 17919 (renderLanes = current.memoizedState.cachePool.pool), 17920 (newProps = null), 17921 null !== workInProgress.memoizedState && 17922 null !== workInProgress.memoizedState.cachePool && 17923 (newProps = workInProgress.memoizedState.cachePool.pool), 17924 newProps !== renderLanes && (workInProgress.flags |= 2048), 17925 null !== current && pop(resumedCache), 17926 null 17927 ); 17928 case 24: 17929 return ( 17930 (renderLanes = null), 17931 null !== current && (renderLanes = current.memoizedState.cache), 17932 workInProgress.memoizedState.cache !== renderLanes && 17933 (workInProgress.flags |= 2048),
17934 popProvider(CacheContext), 17935 bubbleProperties(workInProgress), 17936 null 17937 ); 17938 case 25: 17939 return null; 17940 case 30: 17941 return null; 17942 } 17943 throw Error(formatProdErrorMessage(156, workInProgress.tag)); 17944} 17945function unwindWork(current, workInProgress) { 17946 popTreeContext(workInProgress); 17947 switch (workInProgress.tag) { 17948 case 1: 17949 return ( 17950 (current = workInProgress.flags), 17951 current & 65536 17952 ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) 17953 : null 17954 ); 17955 case 3: 17956 return ( 17957 popProvider(CacheContext), 17958 popHostContainer(), 17959 (current = workInProgress.flags), 17960 0 !== (current & 65536) && 0 === (current & 128) 17961 ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) 17962 : null 17963 ); 17964 case 26: 17965 case 27: 17966 case 5: 17967 return popHostContext(workInProgress), null; 17968 case 13: 17969 popSuspenseHandler(workInProgress); 17970 current = workInProgress.memoizedState; 17971 if (null !== current && null !== current.dehydrated) { 17972 if (null === workInProgress.alternate) 17973 throw Error(formatProdErrorMessage(340)); 17974 resetHydrationState(); 17975 } 17976 current = workInProgress.flags; 17977 return current & 65536 17978 ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) 17979 : null; 17980 case 19: 17981 return pop(suspenseStackCursor), null; 17982 case 4: 17983 return popHostContainer(), null; 17984 case 10: 17985 return popProvider(workInProgress.type), null; 17986 case 22: 17987 case 23: 17988 return ( 17989 popSuspenseHandler(workInProgress), 17990 popHiddenContext(), 17991 null !== current && pop(resumedCache), 17992 (current = workInProgress.flags), 17993 current & 65536 17994 ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) 17995 : null 17996 ); 17997 case 24: 17998 return popProvider(CacheContext), null; 17999 case 25: 18000 return null; 18001 default: 18002 return null; 18003 } 18004} 18005function unwindInterruptedWork(current, interruptedWork) { 18006 popTreeContext(interruptedWork); 18007 switch (interruptedWork.tag) { 18008 case 3: 18009 popProvider(CacheContext); 18010 popHostContainer(); 18011 break; 18012 case 26: 18013 case 27: 18014 case 5: 18015 popHostContext(interruptedWork); 18016 break; 18017 case 4: 18018 popHostContainer(); 18019 break; 18020 case 13: 18021 popSuspenseHandler(interruptedWork); 18022 break; 18023 case 19: 18024 pop(suspenseStackCursor); 18025 break; 18026 case 10: 18027 popProvider(interruptedWork.type); 18028 break; 18029 case 22: 18030 case 23: 18031 popSuspenseHandler(interruptedWork); 18032 popHiddenContext(); 18033 null !== current && pop(resumedCache); 18034 break; 18035 case 24: 18036 popProvider(CacheContext); 18037 } 18038} 18039function commitHookEffectListMount(flags, finishedWork) { 18040 try { 18041 var updateQueue = finishedWork.updateQueue, 18042 lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; 18043 if (null !== lastEffect) { 18044 var firstEffect = lastEffect.next; 18045 updateQueue = firstEffect; 18046 do { 18047 if ((updateQueue.tag & flags) === flags) { 18048 lastEffect = void 0; 18049 var create = updateQueue.create, 18050 inst = updateQueue.inst; 18051 lastEffect = create(); 18052 inst.destroy = lastEffect; 18053 } 18054 updateQueue = updateQueue.next; 18055 } while (updateQueue !== firstEffect); 18056 } 18057 } catch (error) { 18058 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18059 } 18060} 18061function commitHookEffectListUnmount( 18062 flags, 18063 finishedWork, 18064 nearestMountedAncestor$jscomp$0 18065) { 18066 try { 18067 var updateQueue = finishedWork.updateQueue, 18068 lastEffect = null !== updateQueue ? updateQueue.lastEffect : null; 18069 if (null !== lastEffect) { 18070 var firstEffect = lastEffect.next; 18071 updateQueue = firstEffect; 18072 do { 18073 if ((updateQueue.tag & flags) === flags) { 18074 var inst = updateQueue.inst, 18075 destroy = inst.destroy; 18076 if (void 0 !== destroy) { 18077 inst.destroy = void 0; 18078 lastEffect = finishedWork; 18079 var nearestMountedAncestor = nearestMountedAncestor$jscomp$0, 18080 destroy_ = destroy; 18081 try { 18082 destroy_(); 18083 } catch (error) { 18084 captureCommitPhaseError( 18085 lastEffect, 18086 nearestMountedAncestor, 18087 error 18088 ); 18089 } 18090 } 18091 } 18092 updateQueue = updateQueue.next; 18093 } while (updateQueue !== firstEffect); 18094 } 18095 } catch (error) { 18096 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18097 } 18098} 18099function commitClassCallbacks(finishedWork) { 18100 var updateQueue = finishedWork.updateQueue; 18101 if (null !== updateQueue) {
18102 var instance = finishedWork.stateNode; 18103 try { 18104 commitCallbacks(updateQueue, instance); 18105 } catch (error) { 18106 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18107 } 18108 } 18109} 18110function safelyCallComponentWillUnmount( 18111 current, 18112 nearestMountedAncestor, 18113 instance 18114) { 18115 instance.props = resolveClassComponentProps( 18116 current.type, 18117 current.memoizedProps 18118 ); 18119 instance.state = current.memoizedState; 18120 try { 18121 instance.componentWillUnmount(); 18122 } catch (error) { 18123 captureCommitPhaseError(current, nearestMountedAncestor, error); 18124 } 18125} 18126function safelyAttachRef(current, nearestMountedAncestor) { 18127 try { 18128 var ref = current.ref; 18129 if (null !== ref) { 18130 switch (current.tag) { 18131 case 26: 18132 case 27: 18133 case 5: 18134 var instanceToUse = current.stateNode; 18135 break; 18136 case 30: 18137 instanceToUse = current.stateNode; 18138 break; 18139 default: 18140 instanceToUse = current.stateNode; 18141 } 18142 "function" === typeof ref 18143 ? (current.refCleanup = ref(instanceToUse)) 18144 : (ref.current = instanceToUse); 18145 } 18146 } catch (error) { 18147 captureCommitPhaseError(current, nearestMountedAncestor, error); 18148 } 18149} 18150function safelyDetachRef(current, nearestMountedAncestor) { 18151 var ref = current.ref, 18152 refCleanup = current.refCleanup; 18153 if (null !== ref) 18154 if ("function" === typeof refCleanup) 18155 try { 18156 refCleanup(); 18157 } catch (error) { 18158 captureCommitPhaseError(current, nearestMountedAncestor, error); 18159 } finally { 18160 (current.refCleanup = null), 18161 (current = current.alternate), 18162 null != current && (current.refCleanup = null); 18163 } 18164 else if ("function" === typeof ref) 18165 try { 18166 ref(null); 18167 } catch (error$143) { 18168 captureCommitPhaseError(current, nearestMountedAncestor, error$143); 18169 } 18170 else ref.current = null; 18171} 18172function commitHostMount(finishedWork) { 18173 var type = finishedWork.type, 18174 props = finishedWork.memoizedProps, 18175 instance = finishedWork.stateNode; 18176 try { 18177 a: switch (type) { 18178 case "button": 18179 case "input": 18180 case "select": 18181 case "textarea": 18182 props.autoFocus && instance.focus(); 18183 break a; 18184 case "img": 18185 props.src 18186 ? (instance.src = props.src) 18187 : props.srcSet && (instance.srcset = props.srcSet); 18188 } 18189 } catch (error) { 18190 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18191 } 18192} 18193function commitHostUpdate(finishedWork, newProps, oldProps) { 18194 try { 18195 var domElement = finishedWork.stateNode; 18196 updateProperties(domElement, finishedWork.type, oldProps, newProps); 18197 domElement[internalPropsKey] = newProps; 18198 } catch (error) { 18199 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18200 } 18201} 18202function isHostParent(fiber) { 18203 return ( 18204 5 === fiber.tag || 18205 3 === fiber.tag || 18206 26 === fiber.tag || 18207 (27 === fiber.tag && isSingletonScope(fiber.type)) || 18208 4 === fiber.tag 18209 ); 18210} 18211function getHostSibling(fiber) { 18212 a: for (;;) { 18213 for (; null === fiber.sibling; ) { 18214 if (null === fiber.return || isHostParent(fiber.return)) return null; 18215 fiber = fiber.return; 18216 } 18217 fiber.sibling.return = fiber.return; 18218 for ( 18219 fiber = fiber.sibling; 18220 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; 18221 18222 ) { 18223 if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; 18224 if (fiber.flags & 2) continue a; 18225 if (null === fiber.child || 4 === fiber.tag) continue a; 18226 else (fiber.child.return = fiber), (fiber = fiber.child); 18227 } 18228 if (!(fiber.flags & 2)) return fiber.stateNode; 18229 } 18230} 18231function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { 18232 var tag = node.tag; 18233 if (5 === tag || 6 === tag) 18234 (node = node.stateNode), 18235 before 18236 ? (9 === parent.nodeType 18237 ? parent.body 18238 : "HTML" === parent.nodeName 18239 ? parent.ownerDocument.body 18240 : parent 18241 ).insertBefore(node, before) 18242 : ((before = 18243 9 === parent.nodeType 18244 ? parent.body 18245 : "HTML" === parent.nodeName 18246 ? parent.ownerDocument.body 18247 : parent), 18248 before.appendChild(node), 18249 (parent = parent._reactRootContainer), 18250 (null !== parent && void 0 !== parent) || 18251 null !== before.onclick || 18252 (before.onclick = noop$1)); 18253 else if ( 18254 4 !== tag && 18255 (27 === tag && 18256 isSingletonScope(node.type) && 18257 ((parent = node.stateNode), (before = null)), 18258 (node = node.child), 18259 null !== node) 18260 ) 18261 for ( 18262 insertOrAppendPlacementNodeIntoContainer(node, before, parent), 18263 node = node.sibling; 18264 null !== node; 18265 18266 ) 18267 insertOrAppendPlacementNodeIntoContainer(node, before, parent), 18268 (node = node.sibling); 18269} 18270function insertOrAppendPlacementNode(node, before, parent) { 18271 var tag = node.tag; 18272 if (5 === tag || 6 === tag) 18273 (node = node.stateNode), 18274 before ? parent.insertBefore(node, before) : parent.appendChild(node); 18275 else if ( 18276 4 !== tag && 18277 (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), 18278 (node = node.child), 18279 null !== node) 18280 ) 18281 for ( 18282 insertOrAppendPlacementNode(node, before, parent), node = node.sibling; 18283 null !== node; 18284 18285 ) 18286 insertOrAppendPlacementNode(node, before, parent), (node = node.sibling); 18287} 18288function commitHostSingletonAcquisition(finishedWork) { 18289 var singleton = finishedWork.stateNode, 18290 props = finishedWork.memoizedProps; 18291 try { 18292 for ( 18293 var type = finishedWork.type, attributes = singleton.attributes; 18294 attributes.length; 18295 18296 ) 18297 singleton.removeAttributeNode(attributes[0]); 18298 setInitialProperties(singleton, type, props); 18299 singleton[internalInstanceKey] = finishedWork; 18300 singleton[internalPropsKey] = props; 18301 } catch (error) { 18302 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18303 } 18304} 18305var offscreenSubtreeIsHidden = !1, 18306 offscreenSubtreeWasHidden = !1, 18307 needsFormReset = !1, 18308 PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, 18309 nextEffect = null; 18310function commitBeforeMutationEffects(root, firstChild) { 18311 root = root.containerInfo; 18312 eventsEnabled = _enabled; 18313 root = getActiveElementDeep(root); 18314 if (hasSelectionCapabilities(root)) { 18315 if ("selectionStart" in root) 18316 var JSCompiler_temp = { 18317 start: root.selectionStart, 18318 end: root.selectionEnd 18319 }; 18320 else 18321 a: { 18322 JSCompiler_temp = 18323 ((JSCompiler_temp = root.ownerDocument) && 18324 JSCompiler_temp.defaultView) || 18325 window; 18326 var selection = 18327 JSCompiler_temp.getSelection && JSCompiler_temp.getSelection(); 18328 if (selection && 0 !== selection.rangeCount) { 18329 JSCompiler_temp = selection.anchorNode; 18330 var anchorOffset = selection.anchorOffset, 18331 focusNode = selection.focusNode; 18332 selection = selection.focusOffset; 18333 try { 18334 JSCompiler_temp.nodeType, focusNode.nodeType; 18335 } catch (e$20) { 18336 JSCompiler_temp = null; 18337 break a; 18338 } 18339 var length = 0, 18340 start = -1, 18341 end = -1, 18342 indexWithinAnchor = 0, 18343 indexWithinFocus = 0, 18344 node = root, 18345 parentNode = null; 18346 b: for (;;) { 18347 for (var next; ; ) { 18348 node !== JSCompiler_temp || 18349 (0 !== anchorOffset && 3 !== node.nodeType) || 18350 (start = length + anchorOffset); 18351 node !== focusNode || 18352 (0 !== selection && 3 !== node.nodeType) || 18353 (end = length + selection); 18354 3 === node.nodeType && (length += node.nodeValue.length); 18355 if (null === (next = node.firstChild)) break; 18356 parentNode = node; 18357 node = next; 18358 } 18359 for (;;) { 18360 if (node === root) break b; 18361 parentNode === JSCompiler_temp && 18362 ++indexWithinAnchor === anchorOffset && 18363 (start = length); 18364 parentNode === focusNode && 18365 ++indexWithinFocus === selection && 18366 (end = length); 18367 if (null !== (next = node.nextSibling)) break; 18368 node = parentNode; 18369 parentNode = node.parentNode; 18370 } 18371 node = next; 18372 } 18373 JSCompiler_temp = 18374 -1 === start || -1 === end ? null : { start: start, end: end }; 18375 } else JSCompiler_temp = null; 18376 } 18377 JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 }; 18378 } else JSCompiler_temp = null; 18379 selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp }; 18380 _enabled = !1; 18381 for (nextEffect = firstChild; null !== nextEffect; ) 18382 if ( 18383 ((firstChild = nextEffect), 18384 (root = firstChild.child), 18385 0 !== (firstChild.subtreeFlags & 1024) && null !== root) 18386 ) 18387 (root.return = firstChild), (nextEffect = root); 18388 else 18389 for (; null !== nextEffect; ) { 18390 firstChild = nextEffect; 18391 focusNode = firstChild.alternate; 18392 root = firstChild.flags; 18393 switch (firstChild.tag) { 18394 case 0: 18395 break; 18396 case 11: 18397 case 15: 18398 break; 18399 case 1: 18400 if (0 !== (root & 1024) && null !== focusNode) { 18401 root = void 0; 18402 JSCompiler_temp = firstChild; 18403 anchorOffset = focusNode.memoizedProps; 18404 focusNode = focusNode.memoizedState; 18405 selection = JSCompiler_temp.stateNode; 18406 try {
18407 var resolvedPrevProps = resolveClassComponentProps( 18408 JSCompiler_temp.type, 18409 anchorOffset, 18410 JSCompiler_temp.elementType === JSCompiler_temp.type 18411 ); 18412 root = selection.getSnapshotBeforeUpdate( 18413 resolvedPrevProps, 18414 focusNode 18415 ); 18416 selection.__reactInternalSnapshotBeforeUpdate = root; 18417 } catch (error) { 18418 captureCommitPhaseError( 18419 JSCompiler_temp, 18420 JSCompiler_temp.return, 18421 error 18422 ); 18423 } 18424 } 18425 break; 18426 case 3: 18427 if (0 !== (root & 1024)) 18428 if ( 18429 ((root = firstChild.stateNode.containerInfo), 18430 (JSCompiler_temp = root.nodeType), 18431 9 === JSCompiler_temp) 18432 ) 18433 clearContainerSparingly(root); 18434 else if (1 === JSCompiler_temp) 18435 switch (root.nodeName) { 18436 case "HEAD": 18437 case "HTML": 18438 case "BODY": 18439 clearContainerSparingly(root); 18440 break; 18441 default: 18442 root.textContent = ""; 18443 } 18444 break; 18445 case 5: 18446 case 26: 18447 case 27: 18448 case 6: 18449 case 4: 18450 case 17: 18451 break; 18452 default: 18453 if (0 !== (root & 1024)) throw Error(formatProdErrorMessage(163)); 18454 } 18455 root = firstChild.sibling; 18456 if (null !== root) { 18457 root.return = firstChild.return; 18458 nextEffect = root; 18459 break; 18460 } 18461 nextEffect = firstChild.return; 18462 } 18463} 18464function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { 18465 var flags = finishedWork.flags; 18466 switch (finishedWork.tag) { 18467 case 0: 18468 case 11: 18469 case 15: 18470 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18471 flags & 4 && commitHookEffectListMount(5, finishedWork); 18472 break; 18473 case 1: 18474 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18475 if (flags & 4) 18476 if (((finishedRoot = finishedWork.stateNode), null === current)) 18477 try { 18478 finishedRoot.componentDidMount(); 18479 } catch (error) { 18480 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18481 } 18482 else { 18483 var prevProps = resolveClassComponentProps( 18484 finishedWork.type, 18485 current.memoizedProps 18486 ); 18487 current = current.memoizedState; 18488 try { 18489 finishedRoot.componentDidUpdate( 18490 prevProps, 18491 current, 18492 finishedRoot.__reactInternalSnapshotBeforeUpdate 18493 ); 18494 } catch (error$142) { 18495 captureCommitPhaseError( 18496 finishedWork, 18497 finishedWork.return, 18498 error$142 18499 ); 18500 } 18501 } 18502 flags & 64 && commitClassCallbacks(finishedWork); 18503 flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); 18504 break; 18505 case 3: 18506 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18507 if ( 18508 flags & 64 && 18509 ((finishedRoot = finishedWork.updateQueue), null !== finishedRoot) 18510 ) { 18511 current = null; 18512 if (null !== finishedWork.child) 18513 switch (finishedWork.child.tag) { 18514 case 27: 18515 case 5: 18516 current = finishedWork.child.stateNode; 18517 break; 18518 case 1: 18519 current = finishedWork.child.stateNode; 18520 } 18521 try { 18522 commitCallbacks(finishedRoot, current); 18523 } catch (error) { 18524 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18525 } 18526 } 18527 break; 18528 case 27: 18529 null === current && 18530 flags & 4 && 18531 commitHostSingletonAcquisition(finishedWork); 18532 case 26: 18533 case 5: 18534 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18535 null === current && flags & 4 && commitHostMount(finishedWork); 18536 flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); 18537 break; 18538 case 12: 18539 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18540 break; 18541 case 13: 18542 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18543 flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); 18544 flags & 64 && 18545 ((finishedRoot = finishedWork.memoizedState), 18546 null !== finishedRoot && 18547 ((finishedRoot = finishedRoot.dehydrated), 18548 null !== finishedRoot && 18549 ((finishedWork = retryDehydratedSuspenseBoundary.bind( 18550 null, 18551 finishedWork 18552 )), 18553 registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); 18554 break; 18555 case 22: 18556 flags = null !== finishedWork.memoizedState || offscreenSubtreeIsHidden; 18557 if (!flags) { 18558 current = 18559 (null !== current && null !== current.memoizedState) || 18560 offscreenSubtreeWasHidden; 18561 prevProps = offscreenSubtreeIsHidden; 18562 var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; 18563 offscreenSubtreeIsHidden = flags; 18564 (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden 18565 ? recursivelyTraverseReappearLayoutEffects( 18566 finishedRoot, 18567 finishedWork, 18568 0 !== (finishedWork.subtreeFlags & 8772) 18569 ) 18570 : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18571 offscreenSubtreeIsHidden = prevProps; 18572 offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; 18573 } 18574 break; 18575 case 30: 18576 break; 18577 default: 18578 recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); 18579 } 18580} 18581function detachFiberAfterEffects(fiber) { 18582 var alternate = fiber.alternate; 18583 null !== alternate && 18584 ((fiber.alternate = null), detachFiberAfterEffects(alternate)); 18585 fiber.child = null; 18586 fiber.deletions = null; 18587 fiber.sibling = null; 18588 5 === fiber.tag && 18589 ((alternate = fiber.stateNode), 18590 null !== alternate && detachDeletedInstance(alternate)); 18591 fiber.stateNode = null; 18592 fiber.return = null; 18593 fiber.dependencies = null; 18594 fiber.memoizedProps = null; 18595 fiber.memoizedState = null; 18596 fiber.pendingProps = null; 18597 fiber.stateNode = null; 18598 fiber.updateQueue = null; 18599} 18600var hostParent = null, 18601 hostParentIsContainer = !1; 18602function recursivelyTraverseDeletionEffects( 18603 finishedRoot, 18604 nearestMountedAncestor, 18605 parent 18606) { 18607 for (parent = parent.child; null !== parent; )
18608 commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent), 18609 (parent = parent.sibling); 18610} 18611function commitDeletionEffectsOnFiber( 18612 finishedRoot, 18613 nearestMountedAncestor, 18614 deletedFiber 18615) { 18616 if (injectedHook && "function" === typeof injectedHook.onCommitFiberUnmount) 18617 try { 18618 injectedHook.onCommitFiberUnmount(rendererID, deletedFiber); 18619 } catch (err) {} 18620 switch (deletedFiber.tag) { 18621 case 26: 18622 offscreenSubtreeWasHidden || 18623 safelyDetachRef(deletedFiber, nearestMountedAncestor); 18624 recursivelyTraverseDeletionEffects( 18625 finishedRoot, 18626 nearestMountedAncestor, 18627 deletedFiber 18628 ); 18629 deletedFiber.memoizedState 18630 ? deletedFiber.memoizedState.count-- 18631 : deletedFiber.stateNode && 18632 ((deletedFiber = deletedFiber.stateNode), 18633 deletedFiber.parentNode.removeChild(deletedFiber)); 18634 break; 18635 case 27: 18636 offscreenSubtreeWasHidden || 18637 safelyDetachRef(deletedFiber, nearestMountedAncestor); 18638 var prevHostParent = hostParent, 18639 prevHostParentIsContainer = hostParentIsContainer; 18640 isSingletonScope(deletedFiber.type) && 18641 ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); 18642 recursivelyTraverseDeletionEffects( 18643 finishedRoot, 18644 nearestMountedAncestor, 18645 deletedFiber 18646 ); 18647 releaseSingletonInstance(deletedFiber.stateNode); 18648 hostParent = prevHostParent; 18649 hostParentIsContainer = prevHostParentIsContainer; 18650 break; 18651 case 5: 18652 offscreenSubtreeWasHidden || 18653 safelyDetachRef(deletedFiber, nearestMountedAncestor); 18654 case 6: 18655 prevHostParent = hostParent; 18656 prevHostParentIsContainer = hostParentIsContainer; 18657 hostParent = null; 18658 recursivelyTraverseDeletionEffects( 18659 finishedRoot, 18660 nearestMountedAncestor, 18661 deletedFiber 18662 ); 18663 hostParent = prevHostParent; 18664 hostParentIsContainer = prevHostParentIsContainer; 18665 if (null !== hostParent) 18666 if (hostParentIsContainer) 18667 try { 18668 (9 === hostParent.nodeType 18669 ? hostParent.body 18670 : "HTML" === hostParent.nodeName 18671 ? hostParent.ownerDocument.body 18672 : hostParent 18673 ).removeChild(deletedFiber.stateNode); 18674 } catch (error) { 18675 captureCommitPhaseError( 18676 deletedFiber, 18677 nearestMountedAncestor, 18678 error 18679 ); 18680 } 18681 else 18682 try { 18683 hostParent.removeChild(deletedFiber.stateNode); 18684 } catch (error) { 18685 captureCommitPhaseError( 18686 deletedFiber, 18687 nearestMountedAncestor, 18688 error 18689 ); 18690 } 18691 break; 18692 case 18: 18693 null !== hostParent && 18694 (hostParentIsContainer 18695 ? ((finishedRoot = hostParent), 18696 clearSuspenseBoundary( 18697 9 === finishedRoot.nodeType 18698 ? finishedRoot.body 18699 : "HTML" === finishedRoot.nodeName 18700 ? finishedRoot.ownerDocument.body 18701 : finishedRoot, 18702 deletedFiber.stateNode 18703 ), 18704 retryIfBlockedOn(finishedRoot)) 18705 : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); 18706 break; 18707 case 4: 18708 prevHostParent = hostParent; 18709 prevHostParentIsContainer = hostParentIsContainer; 18710 hostParent = deletedFiber.stateNode.containerInfo; 18711 hostParentIsContainer = !0; 18712 recursivelyTraverseDeletionEffects( 18713 finishedRoot, 18714 nearestMountedAncestor, 18715 deletedFiber 18716 ); 18717 hostParent = prevHostParent; 18718 hostParentIsContainer = prevHostParentIsContainer; 18719 break; 18720 case 0: 18721 case 11: 18722 case 14: 18723 case 15: 18724 offscreenSubtreeWasHidden || 18725 commitHookEffectListUnmount(2, deletedFiber, nearestMountedAncestor); 18726 offscreenSubtreeWasHidden || 18727 commitHookEffectListUnmount(4, deletedFiber, nearestMountedAncestor); 18728 recursivelyTraverseDeletionEffects( 18729 finishedRoot, 18730 nearestMountedAncestor, 18731 deletedFiber 18732 ); 18733 break; 18734 case 1: 18735 offscreenSubtreeWasHidden || 18736 (safelyDetachRef(deletedFiber, nearestMountedAncestor), 18737 (prevHostParent = deletedFiber.stateNode), 18738 "function" === typeof prevHostParent.componentWillUnmount && 18739 safelyCallComponentWillUnmount( 18740 deletedFiber, 18741 nearestMountedAncestor, 18742 prevHostParent 18743 )); 18744 recursivelyTraverseDeletionEffects( 18745 finishedRoot, 18746 nearestMountedAncestor, 18747 deletedFiber 18748 ); 18749 break; 18750 case 21: 18751 recursivelyTraverseDeletionEffects( 18752 finishedRoot, 18753 nearestMountedAncestor, 18754 deletedFiber 18755 ); 18756 break; 18757 case 22: 18758 offscreenSubtreeWasHidden =
18759 (prevHostParent = offscreenSubtreeWasHidden) || 18760 null !== deletedFiber.memoizedState; 18761 recursivelyTraverseDeletionEffects( 18762 finishedRoot, 18763 nearestMountedAncestor, 18764 deletedFiber 18765 ); 18766 offscreenSubtreeWasHidden = prevHostParent; 18767 break; 18768 default: 18769 recursivelyTraverseDeletionEffects( 18770 finishedRoot, 18771 nearestMountedAncestor, 18772 deletedFiber 18773 ); 18774 } 18775} 18776function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { 18777 if ( 18778 null === finishedWork.memoizedState && 18779 ((finishedRoot = finishedWork.alternate), 18780 null !== finishedRoot && 18781 ((finishedRoot = finishedRoot.memoizedState), 18782 null !== finishedRoot && 18783 ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot))) 18784 ) 18785 try { 18786 retryIfBlockedOn(finishedRoot); 18787 } catch (error) { 18788 captureCommitPhaseError(finishedWork, finishedWork.return, error); 18789 } 18790} 18791function getRetryCache(finishedWork) { 18792 switch (finishedWork.tag) { 18793 case 13: 18794 case 19: 18795 var retryCache = finishedWork.stateNode; 18796 null === retryCache && 18797 (retryCache = finishedWork.stateNode = new PossiblyWeakSet()); 18798 return retryCache; 18799 case 22: 18800 return ( 18801 (finishedWork = finishedWork.stateNode), 18802 (retryCache = finishedWork._retryCache), 18803 null === retryCache && 18804 (retryCache = finishedWork._retryCache = new PossiblyWeakSet()), 18805 retryCache 18806 ); 18807 default: 18808 throw Error(formatProdErrorMessage(435, finishedWork.tag)); 18809 } 18810} 18811function attachSuspenseRetryListeners(finishedWork, wakeables) { 18812 var retryCache = getRetryCache(finishedWork); 18813 wakeables.forEach(function (wakeable) { 18814 var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable); 18815 retryCache.has(wakeable) || 18816 (retryCache.add(wakeable), wakeable.then(retry, retry)); 18817 }); 18818} 18819function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { 18820 var deletions = parentFiber.deletions; 18821 if (null !== deletions) 18822 for (var i = 0; i < deletions.length; i++) { 18823 var childToDelete = deletions[i], 18824 root = root$jscomp$0, 18825 returnFiber = parentFiber, 18826 parent = returnFiber; 18827 a: for (; null !== parent; ) { 18828 switch (parent.tag) { 18829 case 27: 18830 if (isSingletonScope(parent.type)) { 18831 hostParent = parent.stateNode; 18832 hostParentIsContainer = !1; 18833 break a; 18834 } 18835 break; 18836 case 5: 18837 hostParent = parent.stateNode; 18838 hostParentIsContainer = !1; 18839 break a; 18840 case 3: 18841 case 4: 18842 hostParent = parent.stateNode.containerInfo; 18843 hostParentIsContainer = !0; 18844 break a; 18845 } 18846 parent = parent.return; 18847 } 18848 if (null === hostParent) throw Error(formatProdErrorMessage(160)); 18849 commitDeletionEffectsOnFiber(root, returnFiber, childToDelete); 18850 hostParent = null; 18851 hostParentIsContainer = !1; 18852 root = childToDelete.alternate; 18853 null !== root && (root.return = null); 18854 childToDelete.return = null; 18855 } 18856 if (parentFiber.subtreeFlags & 13878) 18857 for (parentFiber = parentFiber.child; null !== parentFiber; ) 18858 commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), 18859 (parentFiber = parentFiber.sibling); 18860} 18861var currentHoistableRoot = null; 18862function commitMutationEffectsOnFiber(finishedWork, root) { 18863 var current = finishedWork.alternate, 18864 flags = finishedWork.flags; 18865 switch (finishedWork.tag) { 18866 case 0: 18867 case 11: 18868 case 14: 18869 case 15: 18870 recursivelyTraverseMutationEffects(root, finishedWork); 18871 commitReconciliationEffects(finishedWork); 18872 flags & 4 && 18873 (commitHookEffectListUnmount(3, finishedWork, finishedWork.return), 18874 commitHookEffectListMount(3, finishedWork), 18875 commitHookEffectListUnmount(5, finishedWork, finishedWork.return)); 18876 break; 18877 case 1: 18878 recursivelyTraverseMutationEffects(root, finishedWork); 18879 commitReconciliationEffects(finishedWork); 18880 flags & 512 && 18881 (offscreenSubtreeWasHidden || 18882 null === current || 18883 safelyDetachRef(current, current.return)); 18884 flags & 64 && 18885 offscreenSubtreeIsHidden && 18886 ((finishedWork = finishedWork.updateQueue), 18887 null !== finishedWork && 18888 ((flags = finishedWork.callbacks), 18889 null !== flags && 18890 ((current = finishedWork.shared.hiddenCallbacks), 18891 (finishedWork.shared.hiddenCallbacks = 18892 null === current ? flags : current.concat(flags))))); 18893 break; 18894 case 26: 18895 var hoistableRoot = currentHoistableRoot; 18896 recursivelyTraverseMutationEffects(root, finishedWork); 18897 commitReconciliationEffects(finishedWork); 18898 flags & 512 && 18899 (offscreenSubtreeWasHidden || 18900 null === current || 18901 safelyDetachRef(current, current.return)); 18902 if (flags & 4) { 18903 var currentResource = null !== current ? current.memoizedState : null; 18904 flags = finishedWork.memoizedState; 18905 if (null === current) 18906 if (null === flags) 18907 if (null === finishedWork.stateNode) { 18908 a: { 18909 flags = finishedWork.type; 18910 current = finishedWork.memoizedProps; 18911 hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; 18912 b: switch (flags) { 18913 case "title": 18914 currentResource = 18915 hoistableRoot.getElementsByTagName("title")[0]; 18916 if ( 18917 !currentResource || 18918 currentResource[internalHoistableMarker] || 18919 currentResource[internalInstanceKey] || 18920 "http://www.w3.org/2000/svg" === 18921 currentResource.namespaceURI || 18922 currentResource.hasAttribute("itemprop") 18923 ) 18924 (currentResource = hoistableRoot.createElement(flags)), 18925 hoistableRoot.head.insertBefore( 18926 currentResource, 18927 hoistableRoot.querySelector("head > title") 18928 ); 18929 setInitialProperties(currentResource, flags, current); 18930 currentResource[internalInstanceKey] = finishedWork; 18931 markNodeAsHoistable(currentResource); 18932 flags = currentResource; 18933 break a; 18934 case "link": 18935 var maybeNodes = getHydratableHoistableCache( 18936 "link", 18937 "href", 18938 hoistableRoot 18939 ).get(flags + (current.href || "")); 18940 if (maybeNodes) 18941 for (var i = 0; i < maybeNodes.length; i++) 18942 if ( 18943 ((currentResource = maybeNodes[i]), 18944 currentResource.getAttribute("href") === 18945 (null == current.href || "" === current.href 18946 ? null 18947 : current.href) && 18948 currentResource.getAttribute("rel") === 18949 (null == current.rel ? null : current.rel) && 18950 currentResource.getAttribute("title") === 18951 (null == current.title ? null : current.title) && 18952 currentResource.getAttribute("crossorigin") === 18953 (null == current.crossOrigin 18954 ? null 18955 : current.crossOrigin)) 18956 ) { 18957 maybeNodes.splice(i, 1); 18958 break b; 18959 } 18960 currentResource = hoistableRoot.createElement(flags); 18961 setInitialProperties(currentResource, flags, current); 18962 hoistableRoot.head.appendChild(currentResource); 18963 break; 18964 case "meta": 18965 if ( 18966 (maybeNodes = getHydratableHoistableCache( 18967 "meta", 18968 "content", 18969 hoistableRoot 18970 ).get(flags + (current.content || ""))) 18971 ) 18972 for (i = 0; i < maybeNodes.length; i++) 18973 if ( 18974 ((currentResource = maybeNodes[i]), 18975 currentResource.getAttribute("content") === 18976 (null == current.content 18977 ? null 18978 : "" + current.content) && 18979 currentResource.getAttribute("name") === 18980 (null == current.name ? null : current.name) && 18981 currentResource.getAttribute("property") === 18982 (null == current.property 18983 ? null 18984 : current.property) && 18985 currentResource.getAttribute("http-equiv") === 18986 (null == current.httpEquiv 18987 ? null 18988 : current.httpEquiv) && 18989 currentResource.getAttribute("charset")
18989=== 18990 (null == current.charSet 18991 ? null 18992 : current.charSet)) 18993 ) { 18994 maybeNodes.splice(i, 1); 18995 break b; 18996 } 18997 currentResource = hoistableRoot.createElement(flags); 18998 setInitialProperties(currentResource, flags, current); 18999 hoistableRoot.head.appendChild(currentResource); 19000 break; 19001 default: 19002 throw Error(formatProdErrorMessage(468, flags)); 19003 } 19004 currentResource[internalInstanceKey] = finishedWork; 19005 markNodeAsHoistable(currentResource); 19006 flags = currentResource; 19007 } 19008 finishedWork.stateNode = flags; 19009 } else 19010 mountHoistable( 19011 hoistableRoot, 19012 finishedWork.type, 19013 finishedWork.stateNode 19014 ); 19015 else 19016 finishedWork.stateNode = acquireResource( 19017 hoistableRoot, 19018 flags, 19019 finishedWork.memoizedProps 19020 ); 19021 else 19022 currentResource !== flags 19023 ? (null === currentResource 19024 ? null !== current.stateNode && 19025 ((current = current.stateNode), 19026 current.parentNode.removeChild(current)) 19027 : currentResource.count--, 19028 null === flags 19029 ? mountHoistable( 19030 hoistableRoot, 19031 finishedWork.type, 19032 finishedWork.stateNode 19033 ) 19034 : acquireResource( 19035 hoistableRoot, 19036 flags, 19037 finishedWork.memoizedProps 19038 )) 19039 : null === flags && 19040 null !== finishedWork.stateNode && 19041 commitHostUpdate( 19042 finishedWork, 19043 finishedWork.memoizedProps, 19044 current.memoizedProps 19045 ); 19046 } 19047 break; 19048 case 27: 19049 recursivelyTraverseMutationEffects(root, finishedWork); 19050 commitReconciliationEffects(finishedWork); 19051 flags & 512 && 19052 (offscreenSubtreeWasHidden || 19053 null === current || 19054 safelyDetachRef(current, current.return)); 19055 null !== current && 19056 flags & 4 && 19057 commitHostUpdate( 19058 finishedWork, 19059 finishedWork.memoizedProps, 19060 current.memoizedProps 19061 ); 19062 break; 19063 case 5: 19064 recursivelyTraverseMutationEffects(root, finishedWork); 19065 commitReconciliationEffects(finishedWork); 19066 flags & 512 && 19067 (offscreenSubtreeWasHidden || 19068 null === current || 19069 safelyDetachRef(current, current.return)); 19070 if (finishedWork.flags & 32) { 19071 hoistableRoot = finishedWork.stateNode; 19072 try { 19073 setTextContent(hoistableRoot, ""); 19074 } catch (error) { 19075 captureCommitPhaseError(finishedWork, finishedWork.return, error); 19076 } 19077 } 19078 flags & 4 && 19079 null != finishedWork.stateNode && 19080 ((hoistableRoot = finishedWork.memoizedProps), 19081 commitHostUpdate( 19082 finishedWork, 19083 hoistableRoot, 19084 null !== current ? current.memoizedProps : hoistableRoot 19085 )); 19086 flags & 1024 && (needsFormReset = !0); 19087 break; 19088 case 6: 19089 recursivelyTraverseMutationEffects(root, finishedWork); 19090 commitReconciliationEffects(finishedWork); 19091 if (flags & 4) { 19092 if (null === finishedWork.stateNode) 19093 throw Error(formatProdErrorMessage(162)); 19094 flags = finishedWork.memoizedProps; 19095 current = finishedWork.stateNode; 19096 try { 19097 current.nodeValue = flags; 19098 } catch (error) { 19099 captureCommitPhaseError(finishedWork, finishedWork.return, error); 19100 } 19101 } 19102 break; 19103 case 3: 19104 tagCaches = null; 19105 hoistableRoot = currentHoistableRoot; 19106 currentHoistableRoot = getHoistableRoot(root.containerInfo); 19107 recursivelyTraverseMutationEffects(root, finishedWork); 19108 currentHoistableRoot = hoistableRoot; 19109 commitReconciliationEffects(finishedWork); 19110 if (flags & 4 && null !== current && current.memoizedState.isDehydrated) 19111 try { 19112 retryIfBlockedOn(root.containerInfo); 19113 } catch (error) { 19114 captureCommitPhaseError(finishedWork, finishedWork.return, error); 19115 } 19116 needsFormReset && 19117 ((needsFormReset = !1), recursivelyResetForms(finishedWork)); 19118 break; 19119 case 4: 19120 flags = currentHoistableRoot; 19121 currentHoistableRoot = getHoistableRoot( 19122 finishedWork.stateNode.containerInfo 19123 ); 19124 recursivelyTraverseMutationEffects(root, finishedWork); 19125 commitReconciliationEffects(finishedWork); 19126 currentHoistableRoot = flags; 19127 break; 19128 case 12: 19129 recursivelyTraverseMutationEffects(root, finishedWork); 19130 commitReconciliationEffects(finishedWork); 19131 break; 19132 case 13: 19133 recursivelyTraverseMutationEffects(root, finishedWork); 19134 commitReconciliationEffects(finishedWork); 19135 finishedWork.child.flags & 8192 && 19136 (null !== finishedWork.memoizedState) !== 19137 (null !== current && null !== current.memoizedState) && 19138 (globalMostRecentFallbackTime = now()); 19139 flags & 4 && 19140 ((flags = finishedWork.updateQueue), 19141 null !== flags && 19142 ((finishedWork.updateQueue = null),
19143 attachSuspenseRetryListeners(finishedWork, flags))); 19144 break; 19145 case 22: 19146 hoistableRoot = null !== finishedWork.memoizedState; 19147 var wasHidden = null !== current && null !== current.memoizedState, 19148 prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, 19149 prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; 19150 offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot; 19151 offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden; 19152 recursivelyTraverseMutationEffects(root, finishedWork); 19153 offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; 19154 offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; 19155 commitReconciliationEffects(finishedWork); 19156 if (flags & 8192) 19157 a: for ( 19158 root = finishedWork.stateNode, 19159 root._visibility = hoistableRoot 19160 ? root._visibility & -2 19161 : root._visibility | 1, 19162 hoistableRoot && 19163 (null === current || 19164 wasHidden || 19165 offscreenSubtreeIsHidden || 19166 offscreenSubtreeWasHidden || 19167 recursivelyTraverseDisappearLayoutEffects(finishedWork)), 19168 current = null, 19169 root = finishedWork; 19170 ; 19171 19172 ) { 19173 if (5 === root.tag || 26 === root.tag) { 19174 if (null === current) { 19175 wasHidden = current = root; 19176 try { 19177 if (((currentResource = wasHidden.stateNode), hoistableRoot)) 19178 (maybeNodes = currentResource.style), 19179 "function" === typeof maybeNodes.setProperty 19180 ? maybeNodes.setProperty("display", "none", "important") 19181 : (maybeNodes.display = "none"); 19182 else { 19183 i = wasHidden.stateNode; 19184 var styleProp = wasHidden.memoizedProps.style, 19185 display = 19186 void 0 !== styleProp && 19187 null !== styleProp && 19188 styleProp.hasOwnProperty("display") 19189 ? styleProp.display 19190 : null; 19191 i.style.display = 19192 null == display || "boolean" === typeof display 19193 ? "" 19194 : ("" + display).trim(); 19195 } 19196 } catch (error) { 19197 captureCommitPhaseError(wasHidden, wasHidden.return, error); 19198 } 19199 } 19200 } else if (6 === root.tag) { 19201 if (null === current) { 19202 wasHidden = root; 19203 try { 19204 wasHidden.stateNode.nodeValue = hoistableRoot 19205 ? "" 19206 : wasHidden.memoizedProps; 19207 } catch (error) { 19208 captureCommitPhaseError(wasHidden, wasHidden.return, error); 19209 } 19210 } 19211 } else if ( 19212 ((22 !== root.tag && 23 !== root.tag) || 19213 null === root.memoizedState || 19214 root === finishedWork) && 19215 null !== root.child 19216 ) { 19217 root.child.return = root; 19218 root = root.child; 19219 continue; 19220 } 19221 if (root === finishedWork) break a; 19222 for (; null === root.sibling; ) { 19223 if (null === root.return || root.return === finishedWork) break a; 19224 current === root && (current = null); 19225 root = root.return; 19226 } 19227 current === root && (current = null); 19228 root.sibling.return = root.return; 19229 root = root.sibling; 19230 } 19231 flags & 4 && 19232 ((flags = finishedWork.updateQueue), 19233 null !== flags && 19234 ((current = flags.retryQueue), 19235 null !== current && 19236 ((flags.retryQueue = null), 19237 attachSuspenseRetryListeners(finishedWork, current)))); 19238 break; 19239 case 19: 19240 recursivelyTraverseMutationEffects(root, finishedWork); 19241 commitReconciliationEffects(finishedWork); 19242 flags & 4 && 19243 ((flags = finishedWork.updateQueue), 19244 null !== flags && 19245 ((finishedWork.updateQueue = null),
19246 attachSuspenseRetryListeners(finishedWork, flags))); 19247 break; 19248 case 30: 19249 break; 19250 case 21: 19251 break; 19252 default: 19253 recursivelyTraverseMutationEffects(root, finishedWork), 19254 commitReconciliationEffects(finishedWork); 19255 } 19256} 19257function commitReconciliationEffects(finishedWork) { 19258 var flags = finishedWork.flags; 19259 if (flags & 2) { 19260 try { 19261 for ( 19262 var hostParentFiber, parentFiber = finishedWork.return; 19263 null !== parentFiber; 19264 19265 ) { 19266 if (isHostParent(parentFiber)) { 19267 hostParentFiber = parentFiber; 19268 break; 19269 } 19270 parentFiber = parentFiber.return; 19271 } 19272 if (null == hostParentFiber) throw Error(formatProdErrorMessage(160)); 19273 switch (hostParentFiber.tag) { 19274 case 27: 19275 var parent = hostParentFiber.stateNode, 19276 before = getHostSibling(finishedWork); 19277 insertOrAppendPlacementNode(finishedWork, before, parent); 19278 break; 19279 case 5: 19280 var parent$144 = hostParentFiber.stateNode; 19281 hostParentFiber.flags & 32 && 19282 (setTextContent(parent$144, ""), (hostParentFiber.flags &= -33)); 19283 var before$145 = getHostSibling(finishedWork); 19284 insertOrAppendPlacementNode(finishedWork, before$145, parent$144); 19285 break; 19286 case 3: 19287 case 4: 19288 var parent$146 = hostParentFiber.stateNode.containerInfo, 19289 before$147 = getHostSibling(finishedWork); 19290 insertOrAppendPlacementNodeIntoContainer( 19291 finishedWork, 19292 before$147, 19293 parent$146 19294 ); 19295 break; 19296 default: 19297 throw Error(formatProdErrorMessage(161)); 19298 } 19299 } catch (error) { 19300 captureCommitPhaseError(finishedWork, finishedWork.return, error); 19301 } 19302 finishedWork.flags &= -3; 19303 } 19304 flags & 4096 && (finishedWork.flags &= -4097); 19305} 19306function recursivelyResetForms(parentFiber) { 19307 if (parentFiber.subtreeFlags & 1024) 19308 for (parentFiber = parentFiber.child; null !== parentFiber; ) { 19309 var fiber = parentFiber; 19310 recursivelyResetForms(fiber); 19311 5 === fiber.tag && fiber.flags & 1024 && fiber.stateNode.reset(); 19312 parentFiber = parentFiber.sibling; 19313 } 19314} 19315function recursivelyTraverseLayoutEffects(root, parentFiber) { 19316 if (parentFiber.subtreeFlags & 8772) 19317 for (parentFiber = parentFiber.child; null !== parentFiber; ) 19318 commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), 19319 (parentFiber = parentFiber.sibling); 19320} 19321function recursivelyTraverseDisappearLayoutEffects(parentFiber) { 19322 for (parentFiber = parentFiber.child; null !== parentFiber; ) { 19323 var finishedWork = parentFiber; 19324 switch (finishedWork.tag) { 19325 case 0: 19326 case 11: 19327 case 14: 19328 case 15: 19329 commitHookEffectListUnmount(4, finishedWork, finishedWork.return); 19330 recursivelyTraverseDisappearLayoutEffects(finishedWork); 19331 break; 19332 case 1: 19333 safelyDetachRef(finishedWork, finishedWork.return); 19334 var instance = finishedWork.stateNode; 19335 "function" === typeof instance.componentWillUnmount && 19336 safelyCallComponentWillUnmount( 19337 finishedWork, 19338 finishedWork.return, 19339 instance 19340 ); 19341 recursivelyTraverseDisappearLayoutEffects(finishedWork); 19342 break; 19343 case 27: 19344 releaseSingletonInstance(finishedWork.stateNode); 19345 case 26: 19346 case 5: 19347 safelyDetachRef(finishedWork, finishedWork.return); 19348 recursivelyTraverseDisappearLayoutEffects(finishedWork); 19349 break; 19350 case 22: 19351 null === finishedWork.memoizedState && 19352 recursivelyTraverseDisappearLayoutEffects(finishedWork); 19353 break; 19354 case 30: 19355 recursivelyTraverseDisappearLayoutEffects(finishedWork); 19356 break; 19357 default: 19358 recursivelyTraverseDisappearLayoutEffects(finishedWork); 19359 } 19360 parentFiber = parentFiber.sibling; 19361 } 19362} 19363function recursivelyTraverseReappearLayoutEffects( 19364 finishedRoot$jscomp$0, 19365 parentFiber, 19366 includeWorkInProgressEffects 19367) { 19368 includeWorkInProgressEffects = 19369 includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); 19370 for (parentFiber = parentFiber.child; null !== parentFiber; ) { 19371 var current = parentFiber.alternate, 19372 finishedRoot = finishedRoot$jscomp$0, 19373 finishedWork = parentFiber, 19374 flags = finishedWork.flags; 19375 switch (finishedWork.tag) { 19376 case 0: 19377 case 11: 19378 case 15: 19379 recursivelyTraverseReappearLayoutEffects( 19380 finishedRoot, 19381 finishedWork, 19382 includeWorkInProgressEffects 19383 ); 19384 commitHookEffectListMount(4, finishedWork); 19385 break; 19386 case 1: 19387 recursivelyTraverseReappearLayoutEffects( 19388 finishedRoot, 19389 finishedWork, 19390 includeWorkInProgressEffects 19391 ); 19392 current = finishedWork; 19393 finishedRoot = current.stateNode; 19394 if ("function" === typeof finishedRoot.componentDidMount) 19395 try { 19396 finishedRoot.componentDidMount(); 19397 } catch (error) { 19398 captureCommitPhaseError(current, current.return, error); 19399 } 19400 current = finishedWork; 19401 finishedRoot = current.updateQueue; 19402 if (null !== finishedRoot) { 19403 var instance = current.stateNode; 19404 try { 19405 var hiddenCallbacks = finishedRoot.shared.hiddenCallbacks; 19406 if (null !== hiddenCallbacks) 19407 for ( 19408 finishedRoot.shared.hiddenCallbacks = null, finishedRoot = 0; 19409 finishedRoot < hiddenCallbacks.length; 19410 finishedRoot++ 19411 ) 19412 callCallback(hiddenCallbacks[finishedRoot], instance); 19413 } catch (error) { 19414 captureCommitPhaseError(current, current.return, error); 19415 } 19416 } 19417 includeWorkInProgressEffects && 19418 flags & 64 && 19419 commitClassCallbacks(finishedWork); 19420 safelyAttachRef(finishedWork, finishedWork.return); 19421 break; 19422 case 27: 19423 commitHostSingletonAcquisition(finishedWork); 19424 case 26: 19425 case 5: 19426 recursivelyTraverseReappearLayoutEffects( 19427 finishedRoot, 19428 finishedWork, 19429 includeWorkInProgressEffects 19430 ); 19431 includeWorkInProgressEffects && 19432 null === current && 19433 flags & 4 && 19434 commitHostMount(finishedWork); 19435 safelyAttachRef(finishedWork, finishedWork.return); 19436 break; 19437 case 12: 19438 recursivelyTraverseReappearLayoutEffects( 19439 finishedRoot, 19440 finishedWork, 19441 includeWorkInProgressEffects 19442 ); 19443 break; 19444 case 13: 19445 recursivelyTraverseReappearLayoutEffects( 19446 finishedRoot, 19447 finishedWork, 19448 includeWorkInProgressEffects 19449 ); 19450 includeWorkInProgressEffects && 19451 flags & 4 && 19452 commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); 19453 break; 19454 case 22: 19455 null === finishedWork.memoizedState && 19456 recursivelyTraverseReappearLayoutEffects( 19457 finishedRoot, 19458 finishedWork, 19459 includeWorkInProgressEffects 19460 ); 19461 safelyAttachRef(finishedWork, finishedWork.return); 19462 break; 19463 case 30: 19464 break; 19465 default: 19466 recursivelyTraverseReappearLayoutEffects( 19467 finishedRoot, 19468 finishedWork, 19469 includeWorkInProgressEffects 19470 ); 19471 } 19472 parentFiber = parentFiber.sibling; 19473 } 19474} 19475function commitOffscreenPassiveMountEffects(current, finishedWork) { 19476 var previousCache = null; 19477 null !== current && 19478 null !== current.memoizedState && 19479 null !== current.memoizedState.cachePool && 19480 (previousCache = current.memoizedState.cachePool.pool); 19481 current = null; 19482 null !== finishedWork.memoizedState && 19483 null !== finishedWork.memoizedState.cachePool && 19484 (current = finishedWork.memoizedState.cachePool.pool); 19485 current !== previousCache && 19486 (null != current && current.refCount++, 19487 null != previousCache && releaseCache(previousCache)); 19488} 19489function commitCachePassiveMountEffect(current, finishedWork) { 19490 current = null; 19491 null !== finishedWork.alternate && 19492 (current = finishedWork.alternate.memoizedState.cache); 19493 finishedWork = finishedWork.memoizedState.cache;
19494 finishedWork !== current && 19495 (finishedWork.refCount++, null != current && releaseCache(current)); 19496} 19497function recursivelyTraversePassiveMountEffects( 19498 root, 19499 parentFiber, 19500 committedLanes, 19501 committedTransitions 19502) { 19503 if (parentFiber.subtreeFlags & 10256) 19504 for (parentFiber = parentFiber.child; null !== parentFiber; ) 19505 commitPassiveMountOnFiber( 19506 root, 19507 parentFiber, 19508 committedLanes, 19509 committedTransitions 19510 ), 19511 (parentFiber = parentFiber.sibling); 19512} 19513function commitPassiveMountOnFiber( 19514 finishedRoot, 19515 finishedWork, 19516 committedLanes, 19517 committedTransitions 19518) { 19519 var flags = finishedWork.flags; 19520 switch (finishedWork.tag) { 19521 case 0: 19522 case 11: 19523 case 15: 19524 recursivelyTraversePassiveMountEffects( 19525 finishedRoot, 19526 finishedWork, 19527 committedLanes, 19528 committedTransitions 19529 ); 19530 flags & 2048 && commitHookEffectListMount(9, finishedWork); 19531 break; 19532 case 1: 19533 recursivelyTraversePassiveMountEffects( 19534 finishedRoot, 19535 finishedWork, 19536 committedLanes, 19537 committedTransitions 19538 ); 19539 break; 19540 case 3: 19541 recursivelyTraversePassiveMountEffects( 19542 finishedRoot, 19543 finishedWork, 19544 committedLanes, 19545 committedTransitions 19546 ); 19547 flags & 2048 && 19548 ((finishedRoot = null), 19549 null !== finishedWork.alternate && 19550 (finishedRoot = finishedWork.alternate.memoizedState.cache), 19551 (finishedWork = finishedWork.memoizedState.cache), 19552 finishedWork !== finishedRoot && 19553 (finishedWork.refCount++, 19554 null != finishedRoot && releaseCache(finishedRoot))); 19555 break; 19556 case 12: 19557 if (flags & 2048) { 19558 recursivelyTraversePassiveMountEffects( 19559 finishedRoot, 19560 finishedWork, 19561 committedLanes, 19562 committedTransitions 19563 ); 19564 finishedRoot = finishedWork.stateNode; 19565 try { 19566 var _finishedWork$memoize2 = finishedWork.memoizedProps, 19567 id = _finishedWork$memoize2.id, 19568 onPostCommit = _finishedWork$memoize2.onPostCommit; 19569 "function" === typeof onPostCommit && 19570 onPostCommit( 19571 id, 19572 null === finishedWork.alternate ? "mount" : "update", 19573 finishedRoot.passiveEffectDuration, 19574 -0 19575 ); 19576 } catch (error) { 19577 captureCommitPhaseError(finishedWork, finishedWork.return, error); 19578 } 19579 } else 19580 recursivelyTraversePassiveMountEffects( 19581 finishedRoot, 19582 finishedWork, 19583 committedLanes, 19584 committedTransitions 19585 ); 19586 break; 19587 case 13: 19588 recursivelyTraversePassiveMountEffects( 19589 finishedRoot, 19590 finishedWork, 19591 committedLanes, 19592 committedTransitions 19593 ); 19594 break; 19595 case 23: 19596 break; 19597 case 22: 19598 _finishedWork$memoize2 = finishedWork.stateNode; 19599 id = finishedWork.alternate; 19600 null !== finishedWork.memoizedState 19601 ? _finishedWork$memoize2._visibility & 2 19602 ? recursivelyTraversePassiveMountEffects( 19603 finishedRoot, 19604 finishedWork, 19605 committedLanes, 19606 committedTransitions 19607 ) 19608 : recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) 19609 : _finishedWork$memoize2._visibility & 2 19610 ? recursivelyTraversePassiveMountEffects( 19611 finishedRoot, 19612 finishedWork, 19613 committedLanes, 19614 committedTransitions 19615 ) 19616 : ((_finishedWork$memoize2._visibility |= 2), 19617 recursivelyTraverseReconnectPassiveEffects( 19618 finishedRoot, 19619 finishedWork, 19620 committedLanes, 19621 committedTransitions, 19622 0 !== (finishedWork.subtreeFlags & 10256) 19623 )); 19624 flags & 2048 && commitOffscreenPassiveMountEffects(id, finishedWork); 19625 break; 19626 case 24: 19627 recursivelyTraversePassiveMountEffects( 19628 finishedRoot, 19629 finishedWork, 19630 committedLanes, 19631 committedTransitions 19632 ); 19633 flags & 2048 && 19634 commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); 19635 break; 19636 default: 19637 recursivelyTraversePassiveMountEffects( 19638 finishedRoot, 19639 finishedWork, 19640 committedLanes, 19641 committedTransitions 19642 ); 19643 } 19644} 19645function recursivelyTraverseReconnectPassiveEffects( 19646 finishedRoot$jscomp$0, 19647 parentFiber, 19648 committedLanes$jscomp$0, 19649 committedTransitions$jscomp$0, 19650 includeWorkInProgressEffects 19651) { 19652 includeWorkInProgressEffects = 19653 includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); 19654 for (parentFiber = parentFiber.child; null !== parentFiber; ) { 19655 var finishedRoot = finishedRoot$jscomp$0, 19656 finishedWork = parentFiber, 19657 committedLanes = committedLanes$jscomp$0, 19658 committedTransitions = committedTransitions$jscomp$0, 19659 flags = finishedWork.flags; 19660 switch (finishedWork.tag) { 19661 case 0: 19662 case 11: 19663 case 15: 19664 recursivelyTraverseReconnectPassiveEffects( 19665 finishedRoot, 19666 finishedWork, 19667 committedLanes, 19668 committedTransitions, 19669 includeWorkInProgressEffects 19670 ); 19671 commitHookEffectListMount(8, finishedWork); 19672 break; 19673 case 23: 19674 break; 19675 case 22:
19676 var instance = finishedWork.stateNode; 19677 null !== finishedWork.memoizedState 19678 ? instance._visibility & 2 19679 ? recursivelyTraverseReconnectPassiveEffects( 19680 finishedRoot, 19681 finishedWork, 19682 committedLanes, 19683 committedTransitions, 19684 includeWorkInProgressEffects 19685 ) 19686 : recursivelyTraverseAtomicPassiveEffects( 19687 finishedRoot, 19688 finishedWork 19689 ) 19690 : ((instance._visibility |= 2), 19691 recursivelyTraverseReconnectPassiveEffects( 19692 finishedRoot, 19693 finishedWork, 19694 committedLanes, 19695 committedTransitions, 19696 includeWorkInProgressEffects 19697 )); 19698 includeWorkInProgressEffects && 19699 flags & 2048 && 19700 commitOffscreenPassiveMountEffects( 19701 finishedWork.alternate, 19702 finishedWork 19703 ); 19704 break; 19705 case 24: 19706 recursivelyTraverseReconnectPassiveEffects( 19707 finishedRoot, 19708 finishedWork, 19709 committedLanes, 19710 committedTransitions, 19711 includeWorkInProgressEffects 19712 ); 19713 includeWorkInProgressEffects && 19714 flags & 2048 && 19715 commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); 19716 break; 19717 default: 19718 recursivelyTraverseReconnectPassiveEffects( 19719 finishedRoot, 19720 finishedWork, 19721 committedLanes, 19722 committedTransitions, 19723 includeWorkInProgressEffects 19724 ); 19725 } 19726 parentFiber = parentFiber.sibling; 19727 } 19728} 19729function recursivelyTraverseAtomicPassiveEffects( 19730 finishedRoot$jscomp$0, 19731 parentFiber 19732) { 19733 if (parentFiber.subtreeFlags & 10256) 19734 for (parentFiber = parentFiber.child; null !== parentFiber; ) { 19735 var finishedRoot = finishedRoot$jscomp$0, 19736 finishedWork = parentFiber, 19737 flags = finishedWork.flags; 19738 switch (finishedWork.tag) { 19739 case 22: 19740 recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); 19741 flags & 2048 && 19742 commitOffscreenPassiveMountEffects( 19743 finishedWork.alternate, 19744 finishedWork 19745 ); 19746 break; 19747 case 24: 19748 recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); 19749 flags & 2048 && 19750 commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); 19751 break; 19752 default: 19753 recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); 19754 } 19755 parentFiber = parentFiber.sibling; 19756 } 19757} 19758var suspenseyCommitFlag = 8192; 19759function recursivelyAccumulateSuspenseyCommit(parentFiber) { 19760 if (parentFiber.subtreeFlags & suspenseyCommitFlag) 19761 for (parentFiber = parentFiber.child; null !== parentFiber; ) 19762 accumulateSuspenseyCommitOnFiber(parentFiber), 19763 (parentFiber = parentFiber.sibling); 19764} 19765function accumulateSuspenseyCommitOnFiber(fiber) { 19766 switch (fiber.tag) { 19767 case 26: 19768 recursivelyAccumulateSuspenseyCommit(fiber); 19769 fiber.flags & suspenseyCommitFlag && 19770 null !== fiber.memoizedState && 19771 suspendResource( 19772 currentHoistableRoot, 19773 fiber.memoizedState, 19774 fiber.memoizedProps 19775 ); 19776 break; 19777 case 5: 19778 recursivelyAccumulateSuspenseyCommit(fiber); 19779 break; 19780 case 3: 19781 case 4: 19782 var previousHoistableRoot = currentHoistableRoot; 19783 currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); 19784 recursivelyAccumulateSuspenseyCommit(fiber); 19785 currentHoistableRoot = previousHoistableRoot; 19786 break; 19787 case 22: 19788 null === fiber.memoizedState && 19789 ((previousHoistableRoot = fiber.alternate), 19790 null !== previousHoistableRoot && 19791 null !== previousHoistableRoot.memoizedState 19792 ? ((previousHoistableRoot = suspenseyCommitFlag), 19793 (suspenseyCommitFlag = 16777216), 19794 recursivelyAccumulateSuspenseyCommit(fiber), 19795 (suspenseyCommitFlag = previousHoistableRoot)) 19796 : recursivelyAccumulateSuspenseyCommit(fiber)); 19797 break; 19798 default: 19799 recursivelyAccumulateSuspenseyCommit(fiber); 19800 } 19801} 19802function detachAlternateSiblings(parentFiber) { 19803 var previousFiber = parentFiber.alternate; 19804 if ( 19805 null !== previousFiber && 19806 ((parentFiber = previousFiber.child), null !== parentFiber) 19807 ) { 19808 previousFiber.child = null; 19809 do 19810 (previousFiber = parentFiber.sibling), 19811 (parentFiber.sibling = null),
19812 (parentFiber = previousFiber); 19813 while (null !== parentFiber); 19814 } 19815} 19816function recursivelyTraversePassiveUnmountEffects(parentFiber) { 19817 var deletions = parentFiber.deletions; 19818 if (0 !== (parentFiber.flags & 16)) { 19819 if (null !== deletions) 19820 for (var i = 0; i < deletions.length; i++) { 19821 var childToDelete = deletions[i]; 19822 nextEffect = childToDelete; 19823 commitPassiveUnmountEffectsInsideOfDeletedTree_begin( 19824 childToDelete, 19825 parentFiber 19826 ); 19827 } 19828 detachAlternateSiblings(parentFiber); 19829 } 19830 if (parentFiber.subtreeFlags & 10256) 19831 for (parentFiber = parentFiber.child; null !== parentFiber; ) 19832 commitPassiveUnmountOnFiber(parentFiber), 19833 (parentFiber = parentFiber.sibling); 19834} 19835function commitPassiveUnmountOnFiber(finishedWork) { 19836 switch (finishedWork.tag) { 19837 case 0: 19838 case 11: 19839 case 15: 19840 recursivelyTraversePassiveUnmountEffects(finishedWork); 19841 finishedWork.flags & 2048 && 19842 commitHookEffectListUnmount(9, finishedWork, finishedWork.return); 19843 break; 19844 case 3: 19845 recursivelyTraversePassiveUnmountEffects(finishedWork); 19846 break; 19847 case 12: 19848 recursivelyTraversePassiveUnmountEffects(finishedWork); 19849 break; 19850 case 22: 19851 var instance = finishedWork.stateNode; 19852 null !== finishedWork.memoizedState && 19853 instance._visibility & 2 && 19854 (null === finishedWork.return || 13 !== finishedWork.return.tag) 19855 ? ((instance._visibility &= -3), 19856 recursivelyTraverseDisconnectPassiveEffects(finishedWork)) 19857 : recursivelyTraversePassiveUnmountEffects(finishedWork); 19858 break; 19859 default: 19860 recursivelyTraversePassiveUnmountEffects(finishedWork); 19861 } 19862} 19863function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { 19864 var deletions = parentFiber.deletions; 19865 if (0 !== (parentFiber.flags & 16)) { 19866 if (null !== deletions) 19867 for (var i = 0; i < deletions.length; i++) { 19868 var childToDelete = deletions[i]; 19869 nextEffect = childToDelete; 19870 commitPassiveUnmountEffectsInsideOfDeletedTree_begin( 19871 childToDelete, 19872 parentFiber 19873 ); 19874 } 19875 detachAlternateSiblings(parentFiber); 19876 } 19877 for (parentFiber = parentFiber.child; null !== parentFiber; ) { 19878 deletions = parentFiber; 19879 switch (deletions.tag) { 19880 case 0: 19881 case 11: 19882 case 15: 19883 commitHookEffectListUnmount(8, deletions, deletions.return); 19884 recursivelyTraverseDisconnectPassiveEffects(deletions); 19885 break; 19886 case 22: 19887 i = deletions.stateNode; 19888 i._visibility & 2 && 19889 ((i._visibility &= -3), 19890 recursivelyTraverseDisconnectPassiveEffects(deletions)); 19891 break; 19892 default: 19893 recursivelyTraverseDisconnectPassiveEffects(deletions); 19894 } 19895 parentFiber = parentFiber.sibling; 19896 } 19897} 19898function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( 19899 deletedSubtreeRoot, 19900 nearestMountedAncestor 19901) { 19902 for (; null !== nextEffect; ) { 19903 var fiber = nextEffect; 19904 switch (fiber.tag) { 19905 case 0: 19906 case 11: 19907 case 15: 19908 commitHookEffectListUnmount(8, fiber, nearestMountedAncestor); 19909 break; 19910 case 23: 19911 case 22: 19912 if ( 19913 null !== fiber.memoizedState && 19914 null !== fiber.memoizedState.cachePool 19915 ) { 19916 var cache = fiber.memoizedState.cachePool.pool; 19917 null != cache && cache.refCount++; 19918 } 19919 break; 19920 case 24: 19921 releaseCache(fiber.memoizedState.cache); 19922 } 19923 cache = fiber.child; 19924 if (null !== cache) (cache.return = fiber), (nextEffect = cache); 19925 else 19926 a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { 19927 cache = nextEffect; 19928 var sibling = cache.sibling, 19929 returnFiber = cache.return; 19930 detachFiberAfterEffects(cache); 19931 if (cache === fiber) { 19932 nextEffect = null; 19933 break a; 19934 } 19935 if (null !== sibling) { 19936 sibling.return = returnFiber; 19937 nextEffect = sibling; 19938 break a; 19939 } 19940 nextEffect = returnFiber; 19941 } 19942 } 19943} 19944var DefaultAsyncDispatcher = { 19945 getCacheForType: function (resourceType) { 19946 var cache = readContext(CacheContext), 19947 cacheForType = cache.data.get(resourceType); 19948 void 0 === cacheForType && 19949 ((cacheForType = resourceType()), 19950 cache.data.set(resourceType, cacheForType)); 19951 return cacheForType; 19952 } 19953 }, 19954 PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, 19955 executionContext = 0, 19956 workInProgressRoot = null, 19957 workInProgress = null, 19958 workInProgressRootRenderLanes = 0, 19959 workInProgressSuspendedReason = 0, 19960 workInProgressThrownValue = null,
19961 workInProgressRootDidSkipSuspendedSiblings = !1, 19962 workInProgressRootIsPrerendering = !1, 19963 workInProgressRootDidAttachPingListener = !1, 19964 entangledRenderLanes = 0, 19965 workInProgressRootExitStatus = 0, 19966 workInProgressRootSkippedLanes = 0, 19967 workInProgressRootInterleavedUpdatedLanes = 0, 19968 workInProgressRootPingedLanes = 0, 19969 workInProgressDeferredLane = 0, 19970 workInProgressSuspendedRetryLanes = 0, 19971 workInProgressRootConcurrentErrors = null, 19972 workInProgressRootRecoverableErrors = null, 19973 workInProgressRootDidIncludeRecursiveRenderUpdate = !1, 19974 globalMostRecentFallbackTime = 0, 19975 workInProgressRootRenderTargetTime = Infinity, 19976 workInProgressTransitions = null, 19977 legacyErrorBoundariesThatAlreadyFailed = null, 19978 pendingEffectsStatus = 0, 19979 pendingEffectsRoot = null, 19980 pendingFinishedWork = null, 19981 pendingEffectsLanes = 0, 19982 pendingEffectsRemainingLanes = 0, 19983 pendingPassiveTransitions = null, 19984 pendingRecoverableErrors = null, 19985 nestedUpdateCount = 0, 19986 rootWithNestedUpdates = null; 19987function requestUpdateLane() { 19988 if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes) 19989 return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; 19990 if (null !== ReactSharedInternals.T) { 19991 var actionScopeLane = currentEntangledLane; 19992 return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane(); 19993 } 19994 return resolveUpdatePriority(); 19995} 19996function requestDeferredLane() { 19997 0 === workInProgressDeferredLane && 19998 (workInProgressDeferredLane = 19999 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating 20000 ? claimNextTransitionLane() 20001 : 536870912); 20002 var suspenseHandler = suspenseHandlerStackCursor.current; 20003 null !== suspenseHandler && (suspenseHandler.flags |= 32); 20004 return workInProgressDeferredLane; 20005} 20006function scheduleUpdateOnFiber(root, fiber, lane) { 20007 if ( 20008 (root === workInProgressRoot && 20009 (2 === workInProgressSuspendedReason || 20010 9 === workInProgressSuspendedReason)) || 20011 null !== root.cancelPendingCommit 20012 ) 20013 prepareFreshStack(root, 0), 20014 markRootSuspended( 20015 root, 20016 workInProgressRootRenderLanes, 20017 workInProgressDeferredLane, 20018 !1 20019 ); 20020 markRootUpdated$1(root, lane); 20021 if (0 === (executionContext & 2) || root !== workInProgressRoot) 20022 root === workInProgressRoot && 20023 (0 === (executionContext & 2) && 20024 (workInProgressRootInterleavedUpdatedLanes |= lane), 20025 4 === workInProgressRootExitStatus && 20026 markRootSuspended( 20027 root, 20028 workInProgressRootRenderLanes, 20029 workInProgressDeferredLane, 20030 !1 20031 )), 20032 ensureRootIsScheduled(root); 20033} 20034function performWorkOnRoot(root$jscomp$0, lanes, forceSync) { 20035 if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327)); 20036 var shouldTimeSlice = 20037 (!forceSync && 20038 0 === (lanes & 124) && 20039 0 === (lanes & root$jscomp$0.expiredLanes)) || 20040 checkIfRootIsPrerendering(root$jscomp$0, lanes), 20041 exitStatus = shouldTimeSlice 20042 ? renderRootConcurrent(root$jscomp$0, lanes) 20043 : renderRootSync(root$jscomp$0, lanes, !0), 20044 renderWasConcurrent = shouldTimeSlice; 20045 do { 20046 if (0 === exitStatus) { 20047 workInProgressRootIsPrerendering && 20048 !shouldTimeSlice && 20049 markRootSuspended(root$jscomp$0, lanes, 0, !1); 20050 break; 20051 } else { 20052 forceSync = root$jscomp$0.current.alternate; 20053 if ( 20054 renderWasConcurrent && 20055 !isRenderConsistentWithExternalStores(forceSync) 20056 ) { 20057 exitStatus = renderRootSync(root$jscomp$0, lanes, !1); 20058 renderWasConcurrent = !1; 20059 continue; 20060 } 20061 if (2 === exitStatus) { 20062 renderWasConcurrent = lanes; 20063 if (root$jscomp$0.errorRecoveryDisabledLanes & renderWasConcurrent) 20064 var JSCompiler_inline_result = 0; 20065 else 20066 (JSCompiler_inline_result = root$jscomp$0.pendingLanes & -536870913), 20067 (JSCompiler_inline_result = 20068 0 !== JSCompiler_inline_result 20069 ? JSCompiler_inline_result 20070 : JSCompiler_inline_result & 536870912 20071 ? 536870912 20072 : 0); 20073 if (0 !== JSCompiler_inline_result) { 20074 lanes = JSCompiler_inline_result; 20075 a: { 20076 var root = root$jscomp$0; 20077 exitStatus = workInProgressRootConcurrentErrors; 20078 var wasRootDehydrated = root.current.memoizedState.isDehydrated; 20079 wasRootDehydrated && 20080 (prepareFreshStack(root, JSCompiler_inline_result).flags |= 256); 20081 JSCompiler_inline_result = renderRootSync( 20082 root, 20083 JSCompiler_inline_result, 20084 !1 20085 ); 20086 if (2 !== JSCompiler_inline_result) { 20087 if ( 20088 workInProgressRootDidAttachPingListener && 20089 !wasRootDehydrated 20090 ) { 20091 root.errorRecoveryDisabledLanes |= renderWasConcurrent;
20092 workInProgressRootInterleavedUpdatedLanes |= 20093 renderWasConcurrent; 20094 exitStatus = 4; 20095 break a; 20096 } 20097 renderWasConcurrent = workInProgressRootRecoverableErrors; 20098 workInProgressRootRecoverableErrors = exitStatus; 20099 null !== renderWasConcurrent && 20100 (null === workInProgressRootRecoverableErrors 20101 ? (workInProgressRootRecoverableErrors = renderWasConcurrent) 20102 : workInProgressRootRecoverableErrors.push.apply( 20103 workInProgressRootRecoverableErrors, 20104 renderWasConcurrent 20105 )); 20106 } 20107 exitStatus = JSCompiler_inline_result; 20108 } 20109 renderWasConcurrent = !1; 20110 if (2 !== exitStatus) continue; 20111 } 20112 } 20113 if (1 === exitStatus) { 20114 prepareFreshStack(root$jscomp$0, 0); 20115 markRootSuspended(root$jscomp$0, lanes, 0, !0); 20116 break; 20117 } 20118 a: { 20119 shouldTimeSlice = root$jscomp$0; 20120 renderWasConcurrent = exitStatus; 20121 switch (renderWasConcurrent) { 20122 case 0: 20123 case 1: 20124 throw Error(formatProdErrorMessage(345)); 20125 case 4: 20126 if ((lanes & 4194048) !== lanes) break; 20127 case 6: 20128 markRootSuspended( 20129 shouldTimeSlice, 20130 lanes, 20131 workInProgressDeferredLane, 20132 !workInProgressRootDidSkipSuspendedSiblings 20133 ); 20134 break a; 20135 case 2: 20136 workInProgressRootRecoverableErrors = null; 20137 break; 20138 case 3: 20139 case 5: 20140 break; 20141 default: 20142 throw Error(formatProdErrorMessage(329)); 20143 } 20144 if ( 20145 (lanes & 62914560) === lanes && 20146 ((exitStatus = globalMostRecentFallbackTime + 300 - now()), 20147 10 < exitStatus) 20148 ) { 20149 markRootSuspended( 20150 shouldTimeSlice, 20151 lanes, 20152 workInProgressDeferredLane, 20153 !workInProgressRootDidSkipSuspendedSiblings 20154 ); 20155 if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a; 20156 shouldTimeSlice.timeoutHandle = scheduleTimeout( 20157 commitRootWhenReady.bind( 20158 null, 20159 shouldTimeSlice, 20160 forceSync, 20161 workInProgressRootRecoverableErrors, 20162 workInProgressTransitions, 20163 workInProgressRootDidIncludeRecursiveRenderUpdate, 20164 lanes, 20165 workInProgressDeferredLane, 20166 workInProgressRootInterleavedUpdatedLanes, 20167 workInProgressSuspendedRetryLanes, 20168 workInProgressRootDidSkipSuspendedSiblings, 20169 renderWasConcurrent, 20170 2, 20171 -0, 20172 0 20173 ), 20174 exitStatus 20175 ); 20176 break a; 20177 } 20178 commitRootWhenReady( 20179 shouldTimeSlice, 20180 forceSync, 20181 workInProgressRootRecoverableErrors, 20182 workInProgressTransitions, 20183 workInProgressRootDidIncludeRecursiveRenderUpdate, 20184 lanes, 20185 workInProgressDeferredLane, 20186 workInProgressRootInterleavedUpdatedLanes, 20187 workInProgressSuspendedRetryLanes, 20188 workInProgressRootDidSkipSuspendedSiblings, 20189 renderWasConcurrent, 20190 0, 20191 -0, 20192 0 20193 ); 20194 } 20195 } 20196 break; 20197 } while (1); 20198 ensureRootIsScheduled(root$jscomp$0); 20199} 20200function commitRootWhenReady( 20201 root, 20202 finishedWork, 20203 recoverableErrors, 20204 transitions, 20205 didIncludeRenderPhaseUpdate, 20206 lanes, 20207 spawnedLane, 20208 updatedLanes, 20209 suspendedRetryLanes, 20210 didSkipSuspendedSiblings, 20211 exitStatus, 20212 suspendedCommitReason, 20213 completedRenderStartTime, 20214 completedRenderEndTime 20215) { 20216 root.timeoutHandle = -1; 20217 suspendedCommitReason = finishedWork.subtreeFlags; 20218 if ( 20219 suspendedCommitReason & 8192 || 20220 16785408 === (suspendedCommitReason & 16785408) 20221 ) 20222 if ( 20223 ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), 20224 accumulateSuspenseyCommitOnFiber(finishedWork), 20225 (suspendedCommitReason = waitForCommitToBeReady()), 20226 null !== suspendedCommitReason) 20227 ) { 20228 root.cancelPendingCommit = suspendedCommitReason( 20229 commitRoot.bind( 20230 null, 20231 root, 20232 finishedWork, 20233 lanes, 20234 recoverableErrors, 20235 transitions, 20236 didIncludeRenderPhaseUpdate, 20237 spawnedLane, 20238 updatedLanes, 20239 suspendedRetryLanes, 20240 exitStatus, 20241 1, 20242 completedRenderStartTime, 20243 completedRenderEndTime 20244 ) 20245 );
20246 markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); 20247 return; 20248 } 20249 commitRoot( 20250 root, 20251 finishedWork, 20252 lanes, 20253 recoverableErrors, 20254 transitions, 20255 didIncludeRenderPhaseUpdate, 20256 spawnedLane, 20257 updatedLanes, 20258 suspendedRetryLanes 20259 ); 20260} 20261function isRenderConsistentWithExternalStores(finishedWork) { 20262 for (var node = finishedWork; ; ) { 20263 var tag = node.tag; 20264 if ( 20265 (0 === tag || 11 === tag || 15 === tag) && 20266 node.flags & 16384 && 20267 ((tag = node.updateQueue), 20268 null !== tag && ((tag = tag.stores), null !== tag)) 20269 ) 20270 for (var i = 0; i < tag.length; i++) { 20271 var check = tag[i], 20272 getSnapshot = check.getSnapshot; 20273 check = check.value; 20274 try { 20275 if (!objectIs(getSnapshot(), check)) return !1; 20276 } catch (error) { 20277 return !1; 20278 } 20279 } 20280 tag = node.child; 20281 if (node.subtreeFlags & 16384 && null !== tag) 20282 (tag.return = node), (node = tag); 20283 else { 20284 if (node === finishedWork) break; 20285 for (; null === node.sibling; ) { 20286 if (null === node.return || node.return === finishedWork) return !0; 20287 node = node.return; 20288 } 20289 node.sibling.return = node.return; 20290 node = node.sibling; 20291 } 20292 } 20293 return !0; 20294} 20295function markRootSuspended( 20296 root, 20297 suspendedLanes, 20298 spawnedLane, 20299 didAttemptEntireTree 20300) { 20301 suspendedLanes &= ~workInProgressRootPingedLanes; 20302 suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes; 20303 root.suspendedLanes |= suspendedLanes; 20304 root.pingedLanes &= ~suspendedLanes; 20305 didAttemptEntireTree && (root.warmLanes |= suspendedLanes); 20306 didAttemptEntireTree = root.expirationTimes; 20307 for (var lanes = suspendedLanes; 0 < lanes; ) { 20308 var index$4 = 31 - clz32(lanes), 20309 lane = 1 << index$4; 20310 didAttemptEntireTree[index$4] = -1; 20311 lanes &= ~lane; 20312 } 20313 0 !== spawnedLane && 20314 markSpawnedDeferredLane(root, spawnedLane, suspendedLanes); 20315} 20316function flushSyncWork$1() { 20317 return 0 === (executionContext & 6) 20318 ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) 20319 : !0; 20320} 20321function resetWorkInProgressStack() { 20322 if (null !== workInProgress) { 20323 if (0 === workInProgressSuspendedReason) 20324 var interruptedWork = workInProgress.return; 20325 else 20326 (interruptedWork = workInProgress), 20327 (lastContextDependency = currentlyRenderingFiber$1 = null), 20328 resetHooksOnUnwind(interruptedWork), 20329 (thenableState = null), 20330 (thenableIndexCounter = 0), 20331 (interruptedWork = workInProgress); 20332 for (; null !== interruptedWork; ) 20333 unwindInterruptedWork(interruptedWork.alternate, interruptedWork), 20334 (interruptedWork = interruptedWork.return); 20335 workInProgress = null; 20336 } 20337} 20338function prepareFreshStack(root, lanes) { 20339 var timeoutHandle = root.timeoutHandle; 20340 -1 !== timeoutHandle && 20341 ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle)); 20342 timeoutHandle = root.cancelPendingCommit; 20343 null !== timeoutHandle && 20344 ((root.cancelPendingCommit = null), timeoutHandle()); 20345 resetWorkInProgressStack(); 20346 workInProgressRoot = root; 20347 workInProgress = timeoutHandle = createWorkInProgress(root.current, null); 20348 workInProgressRootRenderLanes = lanes; 20349 workInProgressSuspendedReason = 0; 20350 workInProgressThrownValue = null; 20351 workInProgressRootDidSkipSuspendedSiblings = !1; 20352 workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes); 20353 workInProgressRootDidAttachPingListener = !1; 20354 workInProgressSuspendedRetryLanes = 20355 workInProgressDeferredLane = 20356 workInProgressRootPingedLanes = 20357 workInProgressRootInterleavedUpdatedLanes = 20358 workInProgressRootSkippedLanes = 20359 workInProgressRootExitStatus = 20360 0; 20361 workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = 20362 null; 20363 workInProgressRootDidIncludeRecursiveRenderUpdate = !1; 20364 0 !== (lanes & 8) && (lanes |= lanes & 32); 20365 var allEntangledLanes = root.entangledLanes; 20366 if (0 !== allEntangledLanes) 20367 for ( 20368 root = root.entanglements, allEntangledLanes &= lanes; 20369 0 < allEntangledLanes; 20370 20371 ) { 20372 var index$2 = 31 - clz32(allEntangledLanes), 20373 lane = 1 << index$2; 20374 lanes |= root[index$2]; 20375 allEntangledLanes &= ~lane; 20376 } 20377 entangledRenderLanes = lanes; 20378 finishQueueingConcurrentUpdates(); 20379 return timeoutHandle; 20380} 20381function handleThrow(root, thrownValue) { 20382 currentlyRenderingFiber = null;
20383 ReactSharedInternals.H = ContextOnlyDispatcher; 20384 thrownValue === SuspenseException || thrownValue === SuspenseActionException 20385 ? ((thrownValue = getSuspendedThenable()), 20386 (workInProgressSuspendedReason = 3)) 20387 : thrownValue === SuspenseyCommitException 20388 ? ((thrownValue = getSuspendedThenable()), 20389 (workInProgressSuspendedReason = 4)) 20390 : (workInProgressSuspendedReason = 20391 thrownValue === SelectiveHydrationException 20392 ? 8 20393 : null !== thrownValue && 20394 "object" === typeof thrownValue && 20395 "function" === typeof thrownValue.then 20396 ? 6 20397 : 1); 20398 workInProgressThrownValue = thrownValue; 20399 null === workInProgress && 20400 ((workInProgressRootExitStatus = 1), 20401 logUncaughtError( 20402 root, 20403 createCapturedValueAtFiber(thrownValue, root.current) 20404 )); 20405} 20406function pushDispatcher() { 20407 var prevDispatcher = ReactSharedInternals.H; 20408 ReactSharedInternals.H = ContextOnlyDispatcher; 20409 return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher; 20410} 20411function pushAsyncDispatcher() { 20412 var prevAsyncDispatcher = ReactSharedInternals.A; 20413 ReactSharedInternals.A = DefaultAsyncDispatcher; 20414 return prevAsyncDispatcher; 20415} 20416function renderDidSuspendDelayIfPossible() { 20417 workInProgressRootExitStatus = 4; 20418 workInProgressRootDidSkipSuspendedSiblings || 20419 ((workInProgressRootRenderLanes & 4194048) !== 20420 workInProgressRootRenderLanes && 20421 null !== suspenseHandlerStackCursor.current) || 20422 (workInProgressRootIsPrerendering = !0); 20423 (0 === (workInProgressRootSkippedLanes & 134217727) && 20424 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) || 20425 null === workInProgressRoot || 20426 markRootSuspended( 20427 workInProgressRoot, 20428 workInProgressRootRenderLanes, 20429 workInProgressDeferredLane, 20430 !1 20431 ); 20432} 20433function renderRootSync(root, lanes, shouldYieldForPrerendering) { 20434 var prevExecutionContext = executionContext; 20435 executionContext |= 2; 20436 var prevDispatcher = pushDispatcher(), 20437 prevAsyncDispatcher = pushAsyncDispatcher(); 20438 if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) 20439 (workInProgressTransitions = null), prepareFreshStack(root, lanes); 20440 lanes = !1; 20441 var exitStatus = workInProgressRootExitStatus; 20442 a: do 20443 try { 20444 if (0 !== workInProgressSuspendedReason && null !== workInProgress) { 20445 var unitOfWork = workInProgress, 20446 thrownValue = workInProgressThrownValue; 20447 switch (workInProgressSuspendedReason) { 20448 case 8: 20449 resetWorkInProgressStack(); 20450 exitStatus = 6; 20451 break a; 20452 case 3: 20453 case 2: 20454 case 9: 20455 case 6: 20456 null === suspenseHandlerStackCursor.current && (lanes = !0); 20457 var reason = workInProgressSuspendedReason; 20458 workInProgressSuspendedReason = 0; 20459 workInProgressThrownValue = null; 20460 throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); 20461 if ( 20462 shouldYieldForPrerendering && 20463 workInProgressRootIsPrerendering 20464 ) { 20465 exitStatus = 0; 20466 break a; 20467 } 20468 break; 20469 default: 20470 (reason = workInProgressSuspendedReason), 20471 (workInProgressSuspendedReason = 0), 20472 (workInProgressThrownValue = null), 20473 throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason); 20474 } 20475 } 20476 workLoopSync(); 20477 exitStatus = workInProgressRootExitStatus; 20478 break; 20479 } catch (thrownValue$167) { 20480 handleThrow(root, thrownValue$167); 20481 } 20482 while (1); 20483 lanes && root.shellSuspendCounter++; 20484 lastContextDependency = currentlyRenderingFiber$1 = null; 20485 executionContext = prevExecutionContext; 20486 ReactSharedInternals.H = prevDispatcher; 20487 ReactSharedInternals.A = prevAsyncDispatcher; 20488 null === workInProgress && 20489 ((workInProgressRoot = null), 20490 (workInProgressRootRenderLanes = 0), 20491 finishQueueingConcurrentUpdates()); 20492 return exitStatus; 20493} 20494function workLoopSync() { 20495 for (; null !== workInProgress; ) performUnitOfWork(workInProgress); 20496} 20497function renderRootConcurrent(root, lanes) { 20498 var prevExecutionContext = executionContext; 20499 executionContext |= 2;
20500 var prevDispatcher = pushDispatcher(), 20501 prevAsyncDispatcher = pushAsyncDispatcher(); 20502 workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes 20503 ? ((workInProgressTransitions = null), 20504 (workInProgressRootRenderTargetTime = now() + 500), 20505 prepareFreshStack(root, lanes)) 20506 : (workInProgressRootIsPrerendering = checkIfRootIsPrerendering( 20507 root, 20508 lanes 20509 )); 20510 a: do 20511 try { 20512 if (0 !== workInProgressSuspendedReason && null !== workInProgress) { 20513 lanes = workInProgress; 20514 var thrownValue = workInProgressThrownValue; 20515 b: switch (workInProgressSuspendedReason) { 20516 case 1: 20517 workInProgressSuspendedReason = 0; 20518 workInProgressThrownValue = null; 20519 throwAndUnwindWorkLoop(root, lanes, thrownValue, 1); 20520 break; 20521 case 2: 20522 case 9: 20523 if (isThenableResolved(thrownValue)) { 20524 workInProgressSuspendedReason = 0; 20525 workInProgressThrownValue = null; 20526 replaySuspendedUnitOfWork(lanes); 20527 break; 20528 } 20529 lanes = function () { 20530 (2 !== workInProgressSuspendedReason && 20531 9 !== workInProgressSuspendedReason) || 20532 workInProgressRoot !== root || 20533 (workInProgressSuspendedReason = 7); 20534 ensureRootIsScheduled(root); 20535 }; 20536 thrownValue.then(lanes, lanes); 20537 break a; 20538 case 3: 20539 workInProgressSuspendedReason = 7; 20540 break a; 20541 case 4: 20542 workInProgressSuspendedReason = 5; 20543 break a; 20544 case 7: 20545 isThenableResolved(thrownValue) 20546 ? ((workInProgressSuspendedReason = 0), 20547 (workInProgressThrownValue = null), 20548 replaySuspendedUnitOfWork(lanes)) 20549 : ((workInProgressSuspendedReason = 0), 20550 (workInProgressThrownValue = null), 20551 throwAndUnwindWorkLoop(root, lanes, thrownValue, 7)); 20552 break; 20553 case 5: 20554 var resource = null; 20555 switch (workInProgress.tag) { 20556 case 26: 20557 resource = workInProgress.memoizedState; 20558 case 5: 20559 case 27: 20560 var hostFiber = workInProgress; 20561 if (resource ? preloadResource(resource) : 1) { 20562 workInProgressSuspendedReason = 0; 20563 workInProgressThrownValue = null; 20564 var sibling = hostFiber.sibling; 20565 if (null !== sibling) workInProgress = sibling; 20566 else { 20567 var returnFiber = hostFiber.return; 20568 null !== returnFiber 20569 ? ((workInProgress = returnFiber), 20570 completeUnitOfWork(returnFiber)) 20571 : (workInProgress = null); 20572 } 20573 break b; 20574 } 20575 } 20576 workInProgressSuspendedReason = 0; 20577 workInProgressThrownValue = null; 20578 throwAndUnwindWorkLoop(root, lanes, thrownValue, 5); 20579 break; 20580 case 6: 20581 workInProgressSuspendedReason = 0; 20582 workInProgressThrownValue = null; 20583 throwAndUnwindWorkLoop(root, lanes, thrownValue, 6); 20584 break; 20585 case 8: 20586 resetWorkInProgressStack(); 20587 workInProgressRootExitStatus = 6; 20588 break a; 20589 default: 20590 throw Error(formatProdErrorMessage(462)); 20591 } 20592 } 20593 workLoopConcurrentByScheduler(); 20594 break; 20595 } catch (thrownValue$169) { 20596 handleThrow(root, thrownValue$169); 20597 } 20598 while (1); 20599 lastContextDependency = currentlyRenderingFiber$1 = null; 20600 ReactSharedInternals.H = prevDispatcher; 20601 ReactSharedInternals.A = prevAsyncDispatcher; 20602 executionContext = prevExecutionContext; 20603 if (null !== workInProgress) return 0; 20604 workInProgressRoot = null; 20605 workInProgressRootRenderLanes = 0; 20606 finishQueueingConcurrentUpdates(); 20607 return workInProgressRootExitStatus; 20608} 20609function workLoopConcurrentByScheduler() { 20610 for (; null !== workInProgress && !shouldYield(); ) 20611 performUnitOfWork(workInProgress); 20612} 20613function performUnitOfWork(unitOfWork) { 20614 var next = beginWork(unitOfWork.alternate, unitOfWork, entangledRenderLanes); 20615 unitOfWork.memoizedProps = unitOfWork.pendingProps; 20616 null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next); 20617} 20618function replaySuspendedUnitOfWork(unitOfWork) { 20619 var next = unitOfWork; 20620 var current = next.alternate; 20621 switch (next.tag) { 20622 case 15: 20623 case 0: 20624 next = replayFunctionComponent( 20625 current, 20626 next, 20627 next.pendingProps, 20628 next.type, 20629 void 0, 20630 workInProgressRootRenderLanes 20631 ); 20632 break; 20633 case 11: 20634 next = replayFunctionComponent( 20635 current, 20636 next, 20637 next.pendingProps, 20638 next.type.render, 20639 next.ref, 20640 workInProgressRootRenderLanes 20641 ); 20642 break; 20643 case 5: 20644 resetHooksOnUnwind(next); 20645 default: 20646 unwindInterruptedWork(current, next), 20647 (next = workInProgress = 20648 resetWorkInProgress(next, entangledRenderLanes)), 20649 (next = beginWork(current, next, entangledRenderLanes)); 20650 } 20651 unitOfWork.memoizedProps = unitOfWork.pendingProps; 20652 null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next); 20653} 20654function throwAndUnwindWorkLoop( 20655 root, 20656 unitOfWork, 20657 thrownValue, 20658 suspendedReason 20659) { 20660 lastContextDependency = currentlyRenderingFiber$1 = null; 20661 resetHooksOnUnwind(unitOfWork); 20662 thenableState = null; 20663 thenableIndexCounter = 0; 20664 var returnFiber = unitOfWork.return; 20665 try { 20666 if ( 20667 throwException( 20668 root, 20669 returnFiber, 20670 unitOfWork, 20671 thrownValue, 20672 workInProgressRootRenderLanes 20673 ) 20674 ) { 20675 workInProgressRootExitStatus = 1; 20676 logUncaughtError( 20677 root, 20678 createCapturedValueAtFiber(thrownValue, root.current) 20679 ); 20680 workInProgress = null; 20681 return; 20682 } 20683 } catch (error) {
20684 if (null !== returnFiber) throw ((workInProgress = returnFiber), error); 20685 workInProgressRootExitStatus = 1; 20686 logUncaughtError( 20687 root, 20688 createCapturedValueAtFiber(thrownValue, root.current) 20689 ); 20690 workInProgress = null; 20691 return; 20692 } 20693 if (unitOfWork.flags & 32768) { 20694 if (isHydrating || 1 === suspendedReason) root = !0; 20695 else if ( 20696 workInProgressRootIsPrerendering || 20697 0 !== (workInProgressRootRenderLanes & 536870912) 20698 ) 20699 root = !1; 20700 else if ( 20701 ((workInProgressRootDidSkipSuspendedSiblings = root = !0), 20702 2 === suspendedReason || 20703 9 === suspendedReason || 20704 3 === suspendedReason || 20705 6 === suspendedReason) 20706 ) 20707 (suspendedReason = suspenseHandlerStackCursor.current), 20708 null !== suspendedReason && 20709 13 === suspendedReason.tag && 20710 (suspendedReason.flags |= 16384); 20711 unwindUnitOfWork(unitOfWork, root); 20712 } else completeUnitOfWork(unitOfWork); 20713} 20714function completeUnitOfWork(unitOfWork) { 20715 var completedWork = unitOfWork; 20716 do { 20717 if (0 !== (completedWork.flags & 32768)) { 20718 unwindUnitOfWork( 20719 completedWork, 20720 workInProgressRootDidSkipSuspendedSiblings 20721 ); 20722 return; 20723 } 20724 unitOfWork = completedWork.return; 20725 var next = completeWork( 20726 completedWork.alternate, 20727 completedWork, 20728 entangledRenderLanes 20729 ); 20730 if (null !== next) { 20731 workInProgress = next; 20732 return; 20733 } 20734 completedWork = completedWork.sibling; 20735 if (null !== completedWork) { 20736 workInProgress = completedWork; 20737 return; 20738 } 20739 workInProgress = completedWork = unitOfWork; 20740 } while (null !== completedWork); 20741 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5); 20742} 20743function unwindUnitOfWork(unitOfWork, skipSiblings) { 20744 do { 20745 var next = unwindWork(unitOfWork.alternate, unitOfWork); 20746 if (null !== next) { 20747 next.flags &= 32767; 20748 workInProgress = next; 20749 return; 20750 } 20751 next = unitOfWork.return; 20752 null !== next && 20753 ((next.flags |= 32768), (next.subtreeFlags = 0), (next.deletions = null)); 20754 if ( 20755 !skipSiblings && 20756 ((unitOfWork = unitOfWork.sibling), null !== unitOfWork) 20757 ) { 20758 workInProgress = unitOfWork; 20759 return; 20760 } 20761 workInProgress = unitOfWork = next; 20762 } while (null !== unitOfWork); 20763 workInProgressRootExitStatus = 6; 20764 workInProgress = null; 20765} 20766function commitRoot( 20767 root, 20768 finishedWork, 20769 lanes, 20770 recoverableErrors, 20771 transitions, 20772 didIncludeRenderPhaseUpdate, 20773 spawnedLane, 20774 updatedLanes, 20775 suspendedRetryLanes 20776) { 20777 root.cancelPendingCommit = null; 20778 do flushPendingEffects(); 20779 while (0 !== pendingEffectsStatus); 20780 if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327)); 20781 if (null !== finishedWork) { 20782 if (finishedWork === root.current) throw Error(formatProdErrorMessage(177)); 20783 didIncludeRenderPhaseUpdate = finishedWork.lanes | finishedWork.childLanes; 20784 didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes; 20785 markRootFinished( 20786 root, 20787 lanes, 20788 didIncludeRenderPhaseUpdate, 20789 spawnedLane, 20790 updatedLanes, 20791 suspendedRetryLanes 20792 ); 20793 root === workInProgressRoot && 20794 ((workInProgress = workInProgressRoot = null), 20795 (workInProgressRootRenderLanes = 0)); 20796 pendingFinishedWork = finishedWork; 20797 pendingEffectsRoot = root; 20798 pendingEffectsLanes = lanes; 20799 pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate; 20800 pendingPassiveTransitions = transitions; 20801 pendingRecoverableErrors = recoverableErrors; 20802 0 !== (finishedWork.subtreeFlags & 10256) || 20803 0 !== (finishedWork.flags & 10256) 20804 ? ((root.callbackNode = null), 20805 (root.callbackPriority = 0), 20806 scheduleCallback$1(NormalPriority$1, function () { 20807 flushPassiveEffects(!0); 20808 return null; 20809 })) 20810 : ((root.callbackNode = null), (root.callbackPriority = 0)); 20811 recoverableErrors = 0 !== (finishedWork.flags & 13878); 20812 if (0 !== (finishedWork.subtreeFlags & 13878) || recoverableErrors) { 20813 recoverableErrors = ReactSharedInternals.T; 20814 ReactSharedInternals.T = null; 20815 transitions = ReactDOMSharedInternals.p; 20816 ReactDOMSharedInternals.p = 2; 20817 spawnedLane = executionContext; 20818 executionContext |= 4;
20819 try { 20820 commitBeforeMutationEffects(root, finishedWork, lanes); 20821 } finally { 20822 (executionContext = spawnedLane), 20823 (ReactDOMSharedInternals.p = transitions), 20824 (ReactSharedInternals.T = recoverableErrors); 20825 } 20826 } 20827 pendingEffectsStatus = 1; 20828 flushMutationEffects(); 20829 flushLayoutEffects(); 20830 flushSpawnedWork(); 20831 } 20832} 20833function flushMutationEffects() { 20834 if (1 === pendingEffectsStatus) { 20835 pendingEffectsStatus = 0; 20836 var root = pendingEffectsRoot, 20837 finishedWork = pendingFinishedWork, 20838 rootMutationHasEffect = 0 !== (finishedWork.flags & 13878); 20839 if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) { 20840 rootMutationHasEffect = ReactSharedInternals.T; 20841 ReactSharedInternals.T = null; 20842 var previousPriority = ReactDOMSharedInternals.p; 20843 ReactDOMSharedInternals.p = 2; 20844 var prevExecutionContext = executionContext; 20845 executionContext |= 4; 20846 try { 20847 commitMutationEffectsOnFiber(finishedWork, root); 20848 var priorSelectionInformation = selectionInformation, 20849 curFocusedElem = getActiveElementDeep(root.containerInfo), 20850 priorFocusedElem = priorSelectionInformation.focusedElem, 20851 priorSelectionRange = priorSelectionInformation.selectionRange; 20852 if ( 20853 curFocusedElem !== priorFocusedElem && 20854 priorFocusedElem && 20855 priorFocusedElem.ownerDocument && 20856 containsNode( 20857 priorFocusedElem.ownerDocument.documentElement, 20858 priorFocusedElem 20859 ) 20860 ) { 20861 if ( 20862 null !== priorSelectionRange && 20863 hasSelectionCapabilities(priorFocusedElem) 20864 ) { 20865 var start = priorSelectionRange.start, 20866 end = priorSelectionRange.end; 20867 void 0 === end && (end = start); 20868 if ("selectionStart" in priorFocusedElem) 20869 (priorFocusedElem.selectionStart = start), 20870 (priorFocusedElem.selectionEnd = Math.min( 20871 end, 20872 priorFocusedElem.value.length 20873 )); 20874 else { 20875 var doc = priorFocusedElem.ownerDocument || document, 20876 win = (doc && doc.defaultView) || window; 20877 if (win.getSelection) { 20878 var selection = win.getSelection(), 20879 length = priorFocusedElem.textContent.length, 20880 start$jscomp$0 = Math.min(priorSelectionRange.start, length), 20881 end$jscomp$0 = 20882 void 0 === priorSelectionRange.end 20883 ? start$jscomp$0 20884 : Math.min(priorSelectionRange.end, length); 20885 !selection.extend && 20886 start$jscomp$0 > end$jscomp$0 && 20887 ((curFocusedElem = end$jscomp$0), 20888 (end$jscomp$0 = start$jscomp$0), 20889 (start$jscomp$0 = curFocusedElem)); 20890 var startMarker = getNodeForCharacterOffset( 20891 priorFocusedElem, 20892 start$jscomp$0 20893 ), 20894 endMarker = getNodeForCharacterOffset( 20895 priorFocusedElem, 20896 end$jscomp$0 20897 ); 20898 if ( 20899 startMarker && 20900 endMarker && 20901 (1 !== selection.rangeCount || 20902 selection.anchorNode !== startMarker.node || 20903 selection.anchorOffset !== startMarker.offset || 20904 selection.focusNode !== endMarker.node || 20905 selection.focusOffset !== endMarker.offset) 20906 ) { 20907 var range = doc.createRange(); 20908 range.setStart(startMarker.node, startMarker.offset); 20909 selection.removeAllRanges(); 20910 start$jscomp$0 > end$jscomp$0 20911 ? (selection.addRange(range), 20912 selection.extend(endMarker.node, endMarker.offset)) 20913 : (range.setEnd(endMarker.node, endMarker.offset), 20914 selection.addRange(range)); 20915 } 20916 } 20917 } 20918 } 20919 doc = []; 20920 for ( 20921 selection = priorFocusedElem; 20922 (selection = selection.parentNode); 20923 20924 ) 20925 1 === selection.nodeType && 20926 doc.push({ 20927 element: selection, 20928 left: selection.scrollLeft, 20929 top: selection.scrollTop 20930 }); 20931 "function" === typeof priorFocusedElem.focus && 20932 priorFocusedElem.focus(); 20933 for ( 20934 priorFocusedElem = 0; 20935 priorFocusedElem < doc.length; 20936 priorFocusedElem++ 20937 ) { 20938 var info = doc[priorFocusedElem]; 20939 info.element.scrollLeft = info.left; 20940 info.element.scrollTop = info.top; 20941 } 20942 } 20943 _enabled = !!eventsEnabled; 20944 selectionInformation = eventsEnabled = null; 20945 } finally { 20946 (executionContext = prevExecutionContext), 20947 (ReactDOMSharedInternals.p = previousPriority), 20948 (ReactSharedInternals.T = rootMutationHasEffect); 20949 } 20950 } 20951 root.current = finishedWork; 20952 pendingEffectsStatus = 2; 20953 } 20954} 20955function flushLayoutEffects() {
20956 if (2 === pendingEffectsStatus) { 20957 pendingEffectsStatus = 0; 20958 var root = pendingEffectsRoot, 20959 finishedWork = pendingFinishedWork, 20960 rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772); 20961 if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { 20962 rootHasLayoutEffect = ReactSharedInternals.T; 20963 ReactSharedInternals.T = null; 20964 var previousPriority = ReactDOMSharedInternals.p; 20965 ReactDOMSharedInternals.p = 2; 20966 var prevExecutionContext = executionContext; 20967 executionContext |= 4; 20968 try { 20969 commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork); 20970 } finally { 20971 (executionContext = prevExecutionContext), 20972 (ReactDOMSharedInternals.p = previousPriority), 20973 (ReactSharedInternals.T = rootHasLayoutEffect); 20974 } 20975 } 20976 pendingEffectsStatus = 3; 20977 } 20978} 20979function flushSpawnedWork() { 20980 if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) { 20981 pendingEffectsStatus = 0; 20982 requestPaint(); 20983 var root = pendingEffectsRoot, 20984 finishedWork = pendingFinishedWork, 20985 lanes = pendingEffectsLanes, 20986 recoverableErrors = pendingRecoverableErrors; 20987 0 !== (finishedWork.subtreeFlags & 10256) || 20988 0 !== (finishedWork.flags & 10256) 20989 ? (pendingEffectsStatus = 5) 20990 : ((pendingEffectsStatus = 0), 20991 (pendingFinishedWork = pendingEffectsRoot = null), 20992 releaseRootPooledCache(root, root.pendingLanes)); 20993 var remainingLanes = root.pendingLanes; 20994 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null); 20995 lanesToEventPriority(lanes); 20996 finishedWork = finishedWork.stateNode; 20997 if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot) 20998 try { 20999 injectedHook.onCommitFiberRoot( 21000 rendererID, 21001 finishedWork, 21002 void 0, 21003 128 === (finishedWork.current.flags & 128) 21004 ); 21005 } catch (err) {} 21006 if (null !== recoverableErrors) { 21007 finishedWork = ReactSharedInternals.T; 21008 remainingLanes = ReactDOMSharedInternals.p; 21009 ReactDOMSharedInternals.p = 2; 21010 ReactSharedInternals.T = null; 21011 try { 21012 for ( 21013 var onRecoverableError = root.onRecoverableError, i = 0; 21014 i < recoverableErrors.length; 21015 i++ 21016 ) { 21017 var recoverableError = recoverableErrors[i]; 21018 onRecoverableError(recoverableError.value, { 21019 componentStack: recoverableError.stack 21020 }); 21021 } 21022 } finally { 21023 (ReactSharedInternals.T = finishedWork), 21024 (ReactDOMSharedInternals.p = remainingLanes); 21025 } 21026 } 21027 0 !== (pendingEffectsLanes & 3) && flushPendingEffects(); 21028 ensureRootIsScheduled(root); 21029 remainingLanes = root.pendingLanes; 21030 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) 21031 ? root === rootWithNestedUpdates 21032 ? nestedUpdateCount++ 21033 : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) 21034 : (nestedUpdateCount = 0); 21035 flushSyncWorkAcrossRoots_impl(0, !1); 21036 } 21037} 21038function releaseRootPooledCache(root, remainingLanes) { 21039 0 === (root.pooledCacheLanes &= remainingLanes) && 21040 ((remainingLanes = root.pooledCache), 21041 null != remainingLanes && 21042 ((root.pooledCache = null), releaseCache(remainingLanes))); 21043} 21044function flushPendingEffects(wasDelayedCommit) { 21045 flushMutationEffects(); 21046 flushLayoutEffects(); 21047 flushSpawnedWork(); 21048 return flushPassiveEffects(wasDelayedCommit); 21049} 21050function flushPassiveEffects() { 21051 if (5 !== pendingEffectsStatus) return !1; 21052 var root = pendingEffectsRoot, 21053 remainingLanes = pendingEffectsRemainingLanes; 21054 pendingEffectsRemainingLanes = 0; 21055 var renderPriority = lanesToEventPriority(pendingEffectsLanes), 21056 prevTransition = ReactSharedInternals.T, 21057 previousPriority = ReactDOMSharedInternals.p; 21058 try { 21059 ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority; 21060 ReactSharedInternals.T = null;
21061 renderPriority = pendingPassiveTransitions; 21062 pendingPassiveTransitions = null; 21063 var root$jscomp$0 = pendingEffectsRoot, 21064 lanes = pendingEffectsLanes; 21065 pendingEffectsStatus = 0; 21066 pendingFinishedWork = pendingEffectsRoot = null; 21067 pendingEffectsLanes = 0; 21068 if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331)); 21069 var prevExecutionContext = executionContext; 21070 executionContext |= 4; 21071 commitPassiveUnmountOnFiber(root$jscomp$0.current); 21072 commitPassiveMountOnFiber( 21073 root$jscomp$0, 21074 root$jscomp$0.current, 21075 lanes, 21076 renderPriority 21077 ); 21078 executionContext = prevExecutionContext; 21079 flushSyncWorkAcrossRoots_impl(0, !1); 21080 if ( 21081 injectedHook && 21082 "function" === typeof injectedHook.onPostCommitFiberRoot 21083 ) 21084 try { 21085 injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0); 21086 } catch (err) {} 21087 return !0; 21088 } finally { 21089 (ReactDOMSharedInternals.p = previousPriority), 21090 (ReactSharedInternals.T = prevTransition), 21091 releaseRootPooledCache(root, remainingLanes); 21092 } 21093} 21094function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) { 21095 sourceFiber = createCapturedValueAtFiber(error, sourceFiber); 21096 sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2); 21097 rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2); 21098 null !== rootFiber && 21099 (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber)); 21100} 21101function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) { 21102 if (3 === sourceFiber.tag) 21103 captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error); 21104 else 21105 for (; null !== nearestMountedAncestor; ) { 21106 if (3 === nearestMountedAncestor.tag) { 21107 captureCommitPhaseErrorOnRoot( 21108 nearestMountedAncestor, 21109 sourceFiber, 21110 error 21111 ); 21112 break; 21113 } else if (1 === nearestMountedAncestor.tag) { 21114 var instance = nearestMountedAncestor.stateNode; 21115 if ( 21116 "function" === 21117 typeof nearestMountedAncestor.type.getDerivedStateFromError || 21118 ("function" === typeof instance.componentDidCatch && 21119 (null === legacyErrorBoundariesThatAlreadyFailed || 21120 !legacyErrorBoundariesThatAlreadyFailed.has(instance))) 21121 ) { 21122 sourceFiber = createCapturedValueAtFiber(error, sourceFiber); 21123 error = createClassErrorUpdate(2); 21124 instance = enqueueUpdate(nearestMountedAncestor, error, 2); 21125 null !== instance && 21126 (initializeClassErrorUpdate( 21127 error, 21128 instance, 21129 nearestMountedAncestor, 21130 sourceFiber 21131 ), 21132 markRootUpdated$1(instance, 2), 21133 ensureRootIsScheduled(instance)); 21134 break; 21135 } 21136 } 21137 nearestMountedAncestor = nearestMountedAncestor.return; 21138 } 21139} 21140function attachPingListener(root, wakeable, lanes) { 21141 var pingCache = root.pingCache; 21142 if (null === pingCache) { 21143 pingCache = root.pingCache = new PossiblyWeakMap(); 21144 var threadIDs = new Set(); 21145 pingCache.set(wakeable, threadIDs); 21146 } else 21147 (threadIDs = pingCache.get(wakeable)), 21148 void 0 === threadIDs && 21149 ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs)); 21150 threadIDs.has(lanes) || 21151 ((workInProgressRootDidAttachPingListener = !0), 21152 threadIDs.add(lanes), 21153 (root = pingSuspendedRoot.bind(null, root, wakeable, lanes)), 21154 wakeable.then(root, root)); 21155} 21156function pingSuspendedRoot(root, wakeable, pingedLanes) { 21157 var pingCache = root.pingCache; 21158 null !== pingCache && pingCache.delete(wakeable); 21159 root.pingedLanes |= root.suspendedLanes & pingedLanes; 21160 root.warmLanes &= ~pingedLanes; 21161 workInProgressRoot === root && 21162 (workInProgressRootRenderLanes & pingedLanes) === pingedLanes && 21163 (4 === workInProgressRootExitStatus || 21164 (3 === workInProgressRootExitStatus && 21165 (workInProgressRootRenderLanes & 62914560) === 21166 workInProgressRootRenderLanes && 21167 300 > now() - globalMostRecentFallbackTime) 21168 ? 0 === (executionContext & 2) && prepareFreshStack(root, 0) 21169 : (workInProgressRootPingedLanes |= pingedLanes), 21170 workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes && 21171 (workInProgressSuspendedRetryLanes = 0)); 21172 ensureRootIsScheduled(root); 21173} 21174function retryTimedOutBoundary(boundaryFiber, retryLane) { 21175 0 === retryLane && (retryLane = claimNextRetryLane()); 21176 boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);
21177 null !== boundaryFiber && 21178 (markRootUpdated$1(boundaryFiber, retryLane), 21179 ensureRootIsScheduled(boundaryFiber)); 21180} 21181function retryDehydratedSuspenseBoundary(boundaryFiber) { 21182 var suspenseState = boundaryFiber.memoizedState, 21183 retryLane = 0; 21184 null !== suspenseState && (retryLane = suspenseState.retryLane); 21185 retryTimedOutBoundary(boundaryFiber, retryLane); 21186} 21187function resolveRetryWakeable(boundaryFiber, wakeable) { 21188 var retryLane = 0; 21189 switch (boundaryFiber.tag) { 21190 case 13: 21191 var retryCache = boundaryFiber.stateNode; 21192 var suspenseState = boundaryFiber.memoizedState; 21193 null !== suspenseState && (retryLane = suspenseState.retryLane); 21194 break; 21195 case 19: 21196 retryCache = boundaryFiber.stateNode; 21197 break; 21198 case 22: 21199 retryCache = boundaryFiber.stateNode._retryCache; 21200 break; 21201 default: 21202 throw Error(formatProdErrorMessage(314)); 21203 } 21204 null !== retryCache && retryCache.delete(wakeable); 21205 retryTimedOutBoundary(boundaryFiber, retryLane); 21206} 21207function scheduleCallback$1(priorityLevel, callback) { 21208 return scheduleCallback$3(priorityLevel, callback); 21209} 21210var firstScheduledRoot = null, 21211 lastScheduledRoot = null, 21212 didScheduleMicrotask = !1, 21213 mightHavePendingSyncWork = !1, 21214 isFlushingWork = !1, 21215 currentEventTransitionLane = 0; 21216function ensureRootIsScheduled(root) { 21217 root !== lastScheduledRoot && 21218 null === root.next && 21219 (null === lastScheduledRoot 21220 ? (firstScheduledRoot = lastScheduledRoot = root) 21221 : (lastScheduledRoot = lastScheduledRoot.next = root)); 21222 mightHavePendingSyncWork = !0; 21223 didScheduleMicrotask || 21224 ((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask()); 21225} 21226function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { 21227 if (!isFlushingWork && mightHavePendingSyncWork) { 21228 isFlushingWork = !0; 21229 do { 21230 var didPerformSomeWork = !1; 21231 for (var root$174 = firstScheduledRoot; null !== root$174; ) { 21232 if (!onlyLegacy) 21233 if (0 !== syncTransitionLanes) { 21234 var pendingLanes = root$174.pendingLanes; 21235 if (0 === pendingLanes) var JSCompiler_inline_result = 0; 21236 else { 21237 var suspendedLanes = root$174.suspendedLanes, 21238 pingedLanes = root$174.pingedLanes; 21239 JSCompiler_inline_result = 21240 (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; 21241 JSCompiler_inline_result &= 21242 pendingLanes & ~(suspendedLanes & ~pingedLanes); 21243 JSCompiler_inline_result = 21244 JSCompiler_inline_result & 201326741 21245 ? (JSCompiler_inline_result & 201326741) | 1 21246 : JSCompiler_inline_result 21247 ? JSCompiler_inline_result | 2 21248 : 0; 21249 } 21250 0 !== JSCompiler_inline_result && 21251 ((didPerformSomeWork = !0), 21252 performSyncWorkOnRoot(root$174, JSCompiler_inline_result)); 21253 } else 21254 (JSCompiler_inline_result = workInProgressRootRenderLanes), 21255 (JSCompiler_inline_result = getNextLanes( 21256 root$174, 21257 root$174 === workInProgressRoot ? JSCompiler_inline_result : 0, 21258 null !== root$174.cancelPendingCommit || 21259 -1 !== root$174.timeoutHandle 21260 )), 21261 0 === (JSCompiler_inline_result & 3) || 21262 checkIfRootIsPrerendering(root$174, JSCompiler_inline_result) || 21263 ((didPerformSomeWork = !0), 21264 performSyncWorkOnRoot(root$174, JSCompiler_inline_result)); 21265 root$174 = root$174.next; 21266 } 21267 } while (didPerformSomeWork); 21268 isFlushingWork = !1; 21269 } 21270} 21271function processRootScheduleInImmediateTask() { 21272 processRootScheduleInMicrotask(); 21273} 21274function processRootScheduleInMicrotask() { 21275 mightHavePendingSyncWork = didScheduleMicrotask = !1; 21276 var syncTransitionLanes = 0; 21277 0 !== currentEventTransitionLane && 21278 (shouldAttemptEagerTransition() && 21279 (syncTransitionLanes = currentEventTransitionLane), 21280 (currentEventTransitionLane = 0)); 21281 for ( 21282 var currentTime = now(), prev = null, root = firstScheduledRoot; 21283 null !== root; 21284 21285 ) { 21286 var next = root.next, 21287 nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); 21288 if (0 === nextLanes) 21289 (root.next = null),
21290 null === prev ? (firstScheduledRoot = next) : (prev.next = next), 21291 null === next && (lastScheduledRoot = prev); 21292 else if ( 21293 ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) 21294 ) 21295 mightHavePendingSyncWork = !0; 21296 root = next; 21297 } 21298 flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); 21299} 21300function scheduleTaskForRootDuringMicrotask(root, currentTime) { 21301 for ( 21302 var suspendedLanes = root.suspendedLanes, 21303 pingedLanes = root.pingedLanes, 21304 expirationTimes = root.expirationTimes, 21305 lanes = root.pendingLanes & -62914561; 21306 0 < lanes; 21307 21308 ) { 21309 var index$3 = 31 - clz32(lanes), 21310 lane = 1 << index$3, 21311 expirationTime = expirationTimes[index$3]; 21312 if (-1 === expirationTime) { 21313 if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) 21314 expirationTimes[index$3] = computeExpirationTime(lane, currentTime); 21315 } else expirationTime <= currentTime && (root.expiredLanes |= lane); 21316 lanes &= ~lane; 21317 } 21318 currentTime = workInProgressRoot; 21319 suspendedLanes = workInProgressRootRenderLanes; 21320 suspendedLanes = getNextLanes( 21321 root, 21322 root === currentTime ? suspendedLanes : 0, 21323 null !== root.cancelPendingCommit || -1 !== root.timeoutHandle 21324 ); 21325 pingedLanes = root.callbackNode; 21326 if ( 21327 0 === suspendedLanes || 21328 (root === currentTime && 21329 (2 === workInProgressSuspendedReason || 21330 9 === workInProgressSuspendedReason)) || 21331 null !== root.cancelPendingCommit 21332 ) 21333 return ( 21334 null !== pingedLanes && 21335 null !== pingedLanes && 21336 cancelCallback$1(pingedLanes), 21337 (root.callbackNode = null), 21338 (root.callbackPriority = 0) 21339 ); 21340 if ( 21341 0 === (suspendedLanes & 3) || 21342 checkIfRootIsPrerendering(root, suspendedLanes) 21343 ) { 21344 currentTime = suspendedLanes & -suspendedLanes; 21345 if (currentTime === root.callbackPriority) return currentTime; 21346 null !== pingedLanes && cancelCallback$1(pingedLanes); 21347 switch (lanesToEventPriority(suspendedLanes)) { 21348 case 2: 21349 case 8: 21350 suspendedLanes = UserBlockingPriority; 21351 break; 21352 case 32: 21353 suspendedLanes = NormalPriority$1; 21354 break; 21355 case 268435456: 21356 suspendedLanes = IdlePriority; 21357 break; 21358 default: 21359 suspendedLanes = NormalPriority$1; 21360 } 21361 pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root); 21362 suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes); 21363 root.callbackPriority = currentTime; 21364 root.callbackNode = suspendedLanes; 21365 return currentTime; 21366 } 21367 null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes); 21368 root.callbackPriority = 2; 21369 root.callbackNode = null; 21370 return 2; 21371} 21372function performWorkOnRootViaSchedulerTask(root, didTimeout) { 21373 if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) 21374 return (root.callbackNode = null), (root.callbackPriority = 0), null; 21375 var originalCallbackNode = root.callbackNode; 21376 if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode) 21377 return null; 21378 var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes; 21379 workInProgressRootRenderLanes$jscomp$0 = getNextLanes( 21380 root, 21381 root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0, 21382 null !== root.cancelPendingCommit || -1 !== root.timeoutHandle 21383 ); 21384 if (0 === workInProgressRootRenderLanes$jscomp$0) return null; 21385 performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout); 21386 scheduleTaskForRootDuringMicrotask(root, now()); 21387 return null != root.callbackNode && root.callbackNode === originalCallbackNode 21388 ? performWorkOnRootViaSchedulerTask.bind(null, root) 21389 : null; 21390} 21391function performSyncWorkOnRoot(root, lanes) { 21392 if (flushPendingEffects()) return null; 21393 performWorkOnRoot(root, lanes, !0); 21394} 21395function scheduleImmediateRootScheduleTask() { 21396 scheduleMicrotask(function () { 21397 0 !== (executionContext & 6) 21398 ? scheduleCallback$3( 21399 ImmediatePriority, 21400 processRootScheduleInImmediateTask 21401 ) 21402 : processRootScheduleInMicrotask(); 21403 }); 21404} 21405function requestTransitionLane() { 21406 0 === currentEventTransitionLane && 21407 (currentEventTransitionLane = claimNextTransitionLane()); 21408 return currentEventTransitionLane; 21409} 21410function coerceFormActionProp(actionProp) { 21411 return null == actionProp || 21412 "symbol" === typeof actionProp || 21413 "boolean" === typeof actionProp 21414 ? null 21415 : "function" === typeof actionProp 21416 ? actionProp 21417 : sanitizeURL("" + actionProp); 21418} 21419function createFormDataWithSubmitter(form, submitter) { 21420 var temp = submitter.ownerDocument.createElement("input"); 21421 temp.name = submitter.name; 21422 temp.value = submitter.value; 21423 form.id && temp.setAttribute("form", form.id); 21424 submitter.parentNode.insertBefore(temp, submitter); 21425 form = new FormData(form); 21426 temp.parentNode.removeChild(temp); 21427 return form; 21428} 21429function extractEvents$1( 21430 dispatchQueue, 21431 domEventName, 21432 maybeTargetInst, 21433 nativeEvent, 21434 nativeEventTarget 21435) { 21436 if ( 21437 "submit" === domEventName && 21438 maybeTargetInst && 21439 maybeTargetInst.stateNode === nativeEventTarget 21440 ) { 21441 var action = coerceFormActionProp( 21442 (nativeEventTarget[internalPropsKey] || null).action 21443 ), 21444 submitter = nativeEvent.submitter; 21445 submitter && 21446 ((domEventName = (domEventName = submitter[internalPropsKey] || null) 21447 ? coerceFormActionProp(domEventName.formAction) 21448 : submitter.getAttribute("formAction")), 21449 null !== domEventName && ((action = domEventName), (submitter = null))); 21450 var event = new SyntheticEvent( 21451 "action", 21452 "action", 21453 null, 21454 nativeEvent, 21455 nativeEventTarget 21456 ); 21457 dispatchQueue.push({ 21458 event: event, 21459 listeners: [ 21460 { 21461 instance: null, 21462 listener: function () { 21463 if (nativeEvent.defaultPrevented) { 21464 if (0 !== currentEventTransitionLane) { 21465 var formData = submitter 21466 ? createFormDataWithSubmitter(nativeEventTarget, submitter) 21467 : new FormData(nativeEventTarget); 21468 startHostTransition( 21469 maybeTargetInst, 21470 { 21471 pending: !0, 21472 data: formData, 21473 method: nativeEventTarget.method, 21474 action: action 21475 }, 21476 null, 21477 formData 21478 ); 21479 } 21480 } else 21481 "function" === typeof action && 21482 (event.preventDefault(), 21483 (formData = submitter 21484 ? createFormDataWithSubmitter(nativeEventTarget, submitter) 21485 : new FormData(nativeEventTarget)), 21486 startHostTransition( 21487 maybeTargetInst, 21488 { 21489 pending: !0, 21490 data: formData, 21491 method: nativeEventTarget.method, 21492 action: action 21493 }, 21494 action, 21495 formData 21496 )); 21497 }, 21498 currentTarget: nativeEventTarget 21499 } 21500 ] 21501 }); 21502 } 21503} 21504for ( 21505 var i$jscomp$inline_1528 = 0; 21506 i$jscomp$inline_1528 < simpleEventPluginEvents.length; 21507 i$jscomp$inline_1528++ 21508) { 21509 var eventName$jscomp$inline_1529 = 21510 simpleEventPluginEvents[i$jscomp$inline_1528], 21511 domEventName$jscomp$inline_1530 = 21512 eventName$jscomp$inline_1529.toLowerCase(), 21513 capitalizedEvent$jscomp$inline_1531 = 21514 eventName$jscomp$inline_1529[0].toUpperCase() + 21515 eventName$jscomp$inline_1529.slice(1); 21516 registerSimpleEvent( 21517 domEventName$jscomp$inline_1530,
vendor: 2,039 bytes, lines 21518-21571
21518 "on" + capitalizedEvent$jscomp$inline_1531 21519 ); 21520} 21521registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); 21522registerSimpleEvent(ANIMATION_ITERATION, "onAnimationIteration"); 21523registerSimpleEvent(ANIMATION_START, "onAnimationStart"); 21524registerSimpleEvent("dblclick", "onDoubleClick"); 21525registerSimpleEvent("focusin", "onFocus"); 21526registerSimpleEvent("focusout", "onBlur"); 21527registerSimpleEvent(TRANSITION_RUN, "onTransitionRun"); 21528registerSimpleEvent(TRANSITION_START, "onTransitionStart"); 21529registerSimpleEvent(TRANSITION_CANCEL, "onTransitionCancel"); 21530registerSimpleEvent(TRANSITION_END, "onTransitionEnd"); 21531registerDirectEvent("onMouseEnter", ["mouseout", "mouseover"]); 21532registerDirectEvent("onMouseLeave", ["mouseout", "mouseover"]); 21533registerDirectEvent("onPointerEnter", ["pointerout", "pointerover"]); 21534registerDirectEvent("onPointerLeave", ["pointerout", "pointerover"]); 21535registerTwoPhaseEvent( 21536 "onChange", 21537 "change click focusin focusout input keydown keyup selectionchange".split(" ") 21538); 21539registerTwoPhaseEvent( 21540 "onSelect", 21541 "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split( 21542 " " 21543 ) 21544); 21545registerTwoPhaseEvent("onBeforeInput", [ 21546 "compositionend", 21547 "keypress", 21548 "textInput", 21549 "paste" 21550]); 21551registerTwoPhaseEvent( 21552 "onCompositionEnd", 21553 "compositionend focusout keydown keypress keyup mousedown".split(" ") 21554); 21555registerTwoPhaseEvent( 21556 "onCompositionStart", 21557 "compositionstart focusout keydown keypress keyup mousedown".split(" ") 21558); 21559registerTwoPhaseEvent( 21560 "onCompositionUpdate", 21561 "compositionupdate focusout keydown keypress keyup mousedown".split(" ") 21562); 21563var mediaEventTypes = 21564 "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split( 21565 " " 21566 ), 21567 nonDelegatedEvents = new Set( 21568 "beforetoggle cancel close invalid load scroll scrollend toggle" 21569 .split(" ") 21570 .concat(mediaEventTypes) 21571 );
21572function processDispatchQueue(dispatchQueue, eventSystemFlags) { 21573 eventSystemFlags = 0 !== (eventSystemFlags & 4); 21574 for (var i = 0; i < dispatchQueue.length; i++) { 21575 var _dispatchQueue$i = dispatchQueue[i], 21576 event = _dispatchQueue$i.event; 21577 _dispatchQueue$i = _dispatchQueue$i.listeners; 21578 a: { 21579 var previousInstance = void 0; 21580 if (eventSystemFlags) 21581 for ( 21582 var i$jscomp$0 = _dispatchQueue$i.length - 1; 21583 0 <= i$jscomp$0; 21584 i$jscomp$0-- 21585 ) { 21586 var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0], 21587 instance = _dispatchListeners$i.instance, 21588 currentTarget = _dispatchListeners$i.currentTarget; 21589 _dispatchListeners$i = _dispatchListeners$i.listener; 21590 if (instance !== previousInstance && event.isPropagationStopped()) 21591 break a; 21592 previousInstance = _dispatchListeners$i; 21593 event.currentTarget = currentTarget; 21594 try { 21595 previousInstance(event); 21596 } catch (error) { 21597 reportGlobalError(error); 21598 } 21599 event.currentTarget = null; 21600 previousInstance = instance; 21601 } 21602 else 21603 for ( 21604 i$jscomp$0 = 0; 21605 i$jscomp$0 < _dispatchQueue$i.length; 21606 i$jscomp$0++ 21607 ) { 21608 _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0]; 21609 instance = _dispatchListeners$i.instance; 21610 currentTarget = _dispatchListeners$i.currentTarget; 21611 _dispatchListeners$i = _dispatchListeners$i.listener; 21612 if (instance !== previousInstance && event.isPropagationStopped()) 21613 break a; 21614 previousInstance = _dispatchListeners$i; 21615 event.currentTarget = currentTarget; 21616 try { 21617 previousInstance(event); 21618 } catch (error) { 21619 reportGlobalError(error); 21620 } 21621 event.currentTarget = null; 21622 previousInstance = instance; 21623 } 21624 } 21625 } 21626} 21627function listenToNonDelegatedEvent(domEventName, targetElement) { 21628 var JSCompiler_inline_result = targetElement[internalEventHandlersKey]; 21629 void 0 === JSCompiler_inline_result && 21630 (JSCompiler_inline_result = targetElement[internalEventHandlersKey] = 21631 new Set()); 21632 var listenerSetKey = domEventName + "__bubble"; 21633 JSCompiler_inline_result.has(listenerSetKey) || 21634 (addTrappedEventListener(targetElement, domEventName, 2, !1), 21635 JSCompiler_inline_result.add(listenerSetKey)); 21636} 21637function listenToNativeEvent(domEventName, isCapturePhaseListener, target) { 21638 var eventSystemFlags = 0; 21639 isCapturePhaseListener && (eventSystemFlags |= 4); 21640 addTrappedEventListener( 21641 target, 21642 domEventName, 21643 eventSystemFlags, 21644 isCapturePhaseListener 21645 ); 21646} 21647var listeningMarker = "_reactListening" + Math.random().toString(36).slice(2); 21648function listenToAllSupportedEvents(rootContainerElement) { 21649 if (!rootContainerElement[listeningMarker]) { 21650 rootContainerElement[listeningMarker] = !0; 21651 allNativeEvents.forEach(function (domEventName) { 21652 "selectionchange" !== domEventName && 21653 (nonDelegatedEvents.has(domEventName) || 21654 listenToNativeEvent(domEventName, !1, rootContainerElement), 21655 listenToNativeEvent(domEventName, !0, rootContainerElement)); 21656 }); 21657 var ownerDocument = 21658 9 === rootContainerElement.nodeType 21659 ? rootContainerElement 21660 : rootContainerElement.ownerDocument; 21661 null === ownerDocument || 21662 ownerDocument[listeningMarker] || 21663 ((ownerDocument[listeningMarker] = !0), 21664 listenToNativeEvent("selectionchange", !1, ownerDocument)); 21665 } 21666} 21667function addTrappedEventListener( 21668 targetContainer, 21669 domEventName, 21670 eventSystemFlags, 21671 isCapturePhaseListener 21672) { 21673 switch (getEventPriority(domEventName)) { 21674 case 2: 21675 var listenerWrapper = dispatchDiscreteEvent; 21676 break; 21677 case 8: 21678 listenerWrapper = dispatchContinuousEvent; 21679 break; 21680 default: 21681 listenerWrapper = dispatchEvent; 21682 } 21683 eventSystemFlags = listenerWrapper.bind( 21684 null, 21685 domEventName, 21686 eventSystemFlags, 21687 targetContainer 21688 ); 21689 listenerWrapper = void 0; 21690 !passiveBrowserEventsSupported || 21691 ("touchstart" !== domEventName && 21692 "touchmove" !== domEventName && 21693 "wheel" !== domEventName) || 21694 (listenerWrapper = !0); 21695 isCapturePhaseListener 21696 ? void 0 !== listenerWrapper 21697 ? targetContainer.addEventListener(domEventName, eventSystemFlags, { 21698 capture: !0, 21699 passive: listenerWrapper 21700 }) 21701 : targetContainer.addEventListener(domEventName, eventSystemFlags, !0) 21702 : void 0 !== listenerWrapper 21703 ? targetContainer.addEventListener(domEventName, eventSystemFlags, { 21704 passive: listenerWrapper 21705 }) 21706 : targetContainer.addEventListener(domEventName, eventSystemFlags, !1); 21707} 21708function dispatchEventForPluginEventSystem( 21709 domEventName, 21710 eventSystemFlags, 21711 nativeEvent, 21712 targetInst$jscomp$0, 21713 targetContainer 21714) { 21715 var ancestorInst = targetInst$jscomp$0; 21716 if ( 21717 0 === (eventSystemFlags & 1) && 21718 0 === (eventSystemFlags & 2) && 21719 null !== targetInst$jscomp$0 21720 ) 21721 a: for (;;) { 21722 if (null === targetInst$jscomp$0) return; 21723 var nodeTag = targetInst$jscomp$0.tag; 21724 if (3 === nodeTag || 4 === nodeTag) { 21725 var container = targetInst$jscomp$0.stateNode.containerInfo; 21726 if (container === targetContainer) break; 21727 if (4 === nodeTag) 21728 for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { 21729 var grandTag = nodeTag.tag; 21730 if ( 21731 (3 === grandTag || 4 === grandTag) && 21732 nodeTag.stateNode.containerInfo === targetContainer 21733 ) 21734 return; 21735 nodeTag = nodeTag.return; 21736 } 21737 for (; null !== container; ) { 21738 nodeTag = getClosestInstanceFromNode(container); 21739 if (null === nodeTag) return; 21740 grandTag = nodeTag.tag; 21741 if ( 21742 5 === grandTag || 21743 6 === grandTag || 21744 26 === grandTag || 21745 27 === grandTag 21746 ) { 21747 targetInst$jscomp$0 = ancestorInst = nodeTag; 21748 continue a; 21749 } 21750 container = container.parentNode; 21751 } 21752 } 21753 targetInst$jscomp$0 = targetInst$jscomp$0.return; 21754 } 21755 batchedUpdates$1(function () { 21756 var targetInst = ancestorInst, 21757 nativeEventTarget = getEventTarget(nativeEvent), 21758 dispatchQueue = []; 21759 a: { 21760 var reactName = topLevelEventsToReactNames.get(domEventName); 21761 if (void 0 !== reactName) { 21762 var SyntheticEventCtor = SyntheticEvent, 21763 reactEventType = domEventName; 21764 switch (domEventName) { 21765 case "keypress":
21766 if (0 === getEventCharCode(nativeEvent)) break a; 21767 case "keydown": 21768 case "keyup": 21769 SyntheticEventCtor = SyntheticKeyboardEvent; 21770 break; 21771 case "focusin": 21772 reactEventType = "focus"; 21773 SyntheticEventCtor = SyntheticFocusEvent; 21774 break; 21775 case "focusout": 21776 reactEventType = "blur"; 21777 SyntheticEventCtor = SyntheticFocusEvent; 21778 break; 21779 case "beforeblur": 21780 case "afterblur": 21781 SyntheticEventCtor = SyntheticFocusEvent; 21782 break; 21783 case "click": 21784 if (2 === nativeEvent.button) break a; 21785 case "auxclick": 21786 case "dblclick": 21787 case "mousedown": 21788 case "mousemove": 21789 case "mouseup": 21790 case "mouseout": 21791 case "mouseover": 21792 case "contextmenu": 21793 SyntheticEventCtor = SyntheticMouseEvent; 21794 break; 21795 case "drag": 21796 case "dragend": 21797 case "dragenter": 21798 case "dragexit": 21799 case "dragleave": 21800 case "dragover": 21801 case "dragstart": 21802 case "drop": 21803 SyntheticEventCtor = SyntheticDragEvent; 21804 break; 21805 case "touchcancel": 21806 case "touchend": 21807 case "touchmove": 21808 case "touchstart": 21809 SyntheticEventCtor = SyntheticTouchEvent; 21810 break; 21811 case ANIMATION_END: 21812 case ANIMATION_ITERATION: 21813 case ANIMATION_START: 21814 SyntheticEventCtor = SyntheticAnimationEvent; 21815 break; 21816 case TRANSITION_END: 21817 SyntheticEventCtor = SyntheticTransitionEvent; 21818 break; 21819 case "scroll": 21820 case "scrollend": 21821 SyntheticEventCtor = SyntheticUIEvent; 21822 break; 21823 case "wheel": 21824 SyntheticEventCtor = SyntheticWheelEvent; 21825 break; 21826 case "copy": 21827 case "cut": 21828 case "paste": 21829 SyntheticEventCtor = SyntheticClipboardEvent; 21830 break; 21831 case "gotpointercapture": 21832 case "lostpointercapture": 21833 case "pointercancel": 21834 case "pointerdown": 21835 case "pointermove": 21836 case "pointerout": 21837 case "pointerover": 21838 case "pointerup": 21839 SyntheticEventCtor = SyntheticPointerEvent; 21840 break; 21841 case "toggle": 21842 case "beforetoggle": 21843 SyntheticEventCtor = SyntheticToggleEvent; 21844 } 21845 var inCapturePhase = 0 !== (eventSystemFlags & 4), 21846 accumulateTargetOnly = 21847 !inCapturePhase && 21848 ("scroll" === domEventName || "scrollend" === domEventName), 21849 reactEventName = inCapturePhase 21850 ? null !== reactName 21851 ? reactName + "Capture" 21852 : null 21853 : reactName; 21854 inCapturePhase = []; 21855 for ( 21856 var instance = targetInst, lastHostComponent; 21857 null !== instance; 21858 21859 ) { 21860 var _instance = instance; 21861 lastHostComponent = _instance.stateNode; 21862 _instance = _instance.tag; 21863 (5 !== _instance && 26 !== _instance && 27 !== _instance) || 21864 null === lastHostComponent || 21865 null === reactEventName || 21866 ((_instance = getListener(instance, reactEventName)), 21867 null != _instance && 21868 inCapturePhase.push( 21869 createDispatchListener(instance, _instance, lastHostComponent) 21870 )); 21871 if (accumulateTargetOnly) break; 21872 instance = instance.return; 21873 } 21874 0 < inCapturePhase.length && 21875 ((reactName = new SyntheticEventCtor( 21876 reactName, 21877 reactEventType, 21878 null, 21879 nativeEvent, 21880 nativeEventTarget 21881 )), 21882 dispatchQueue.push({ event: reactName, listeners: inCapturePhase })); 21883 } 21884 } 21885 if (0 === (eventSystemFlags & 7)) { 21886 a: { 21887 reactName = 21888 "mouseover" === domEventName || "pointerover" === domEventName; 21889 SyntheticEventCtor = 21890 "mouseout" === domEventName || "pointerout" === domEventName; 21891 if ( 21892 reactName && 21893 nativeEvent !== currentReplayingEvent && 21894 (reactEventType = 21895 nativeEvent.relatedTarget || nativeEvent.fromElement) && 21896 (getClosestInstanceFromNode(reactEventType) || 21897 reactEventType[internalContainerInstanceKey]) 21898 ) 21899 break a; 21900 if (SyntheticEventCtor || reactName) { 21901 reactName = 21902 nativeEventTarget.window === nativeEventTarget 21903 ? nativeEventTarget 21904 : (reactName = nativeEventTarget.ownerDocument) 21905 ? reactName.defaultView || reactName.parentWindow 21906 : window; 21907 if (SyntheticEventCtor) { 21908 if ( 21909 ((reactEventType = 21910 nativeEvent.relatedTarget || nativeEvent.toElement), 21911 (SyntheticEventCtor = targetInst), 21912 (reactEventType = reactEventType 21913 ? getClosestInstanceFromNode(reactEventType) 21914 : null),
21915 null !== reactEventType && 21916 ((accumulateTargetOnly = 21917 getNearestMountedFiber(reactEventType)), 21918 (inCapturePhase = reactEventType.tag), 21919 reactEventType !== accumulateTargetOnly || 21920 (5 !== inCapturePhase && 21921 27 !== inCapturePhase && 21922 6 !== inCapturePhase))) 21923 ) 21924 reactEventType = null; 21925 } else (SyntheticEventCtor = null), (reactEventType = targetInst); 21926 if (SyntheticEventCtor !== reactEventType) { 21927 inCapturePhase = SyntheticMouseEvent; 21928 _instance = "onMouseLeave"; 21929 reactEventName = "onMouseEnter"; 21930 instance = "mouse"; 21931 if ("pointerout" === domEventName || "pointerover" === domEventName) 21932 (inCapturePhase = SyntheticPointerEvent), 21933 (_instance = "onPointerLeave"), 21934 (reactEventName = "onPointerEnter"), 21935 (instance = "pointer"); 21936 accumulateTargetOnly = 21937 null == SyntheticEventCtor 21938 ? reactName 21939 : getNodeFromInstance(SyntheticEventCtor); 21940 lastHostComponent = 21941 null == reactEventType 21942 ? reactName 21943 : getNodeFromInstance(reactEventType); 21944 reactName = new inCapturePhase( 21945 _instance, 21946 instance + "leave", 21947 SyntheticEventCtor, 21948 nativeEvent, 21949 nativeEventTarget 21950 ); 21951 reactName.target = accumulateTargetOnly; 21952 reactName.relatedTarget = lastHostComponent; 21953 _instance = null; 21954 getClosestInstanceFromNode(nativeEventTarget) === targetInst && 21955 ((inCapturePhase = new inCapturePhase( 21956 reactEventName, 21957 instance + "enter", 21958 reactEventType, 21959 nativeEvent, 21960 nativeEventTarget 21961 )), 21962 (inCapturePhase.target = lastHostComponent), 21963 (inCapturePhase.relatedTarget = accumulateTargetOnly), 21964 (_instance = inCapturePhase)); 21965 accumulateTargetOnly = _instance; 21966 if (SyntheticEventCtor && reactEventType) 21967 b: { 21968 inCapturePhase = SyntheticEventCtor; 21969 reactEventName = reactEventType; 21970 instance = 0; 21971 for ( 21972 lastHostComponent = inCapturePhase; 21973 lastHostComponent; 21974 lastHostComponent = getParent(lastHostComponent) 21975 ) 21976 instance++; 21977 lastHostComponent = 0; 21978 for ( 21979 _instance = reactEventName; 21980 _instance; 21981 _instance = getParent(_instance) 21982 ) 21983 lastHostComponent++; 21984 for (; 0 < instance - lastHostComponent; ) 21985 (inCapturePhase = getParent(inCapturePhase)), instance--; 21986 for (; 0 < lastHostComponent - instance; ) 21987 (reactEventName = getParent(reactEventName)), 21988 lastHostComponent--; 21989 for (; instance--; ) { 21990 if ( 21991 inCapturePhase === reactEventName || 21992 (null !== reactEventName && 21993 inCapturePhase === reactEventName.alternate) 21994 ) 21995 break b; 21996 inCapturePhase = getParent(inCapturePhase); 21997 reactEventName = getParent(reactEventName); 21998 } 21999 inCapturePhase = null; 22000 } 22001 else inCapturePhase = null; 22002 null !== SyntheticEventCtor && 22003 accumulateEnterLeaveListenersForEvent( 22004 dispatchQueue, 22005 reactName, 22006 SyntheticEventCtor, 22007 inCapturePhase, 22008 !1 22009 ); 22010 null !== reactEventType && 22011 null !== accumulateTargetOnly && 22012 accumulateEnterLeaveListenersForEvent( 22013 dispatchQueue, 22014 accumulateTargetOnly, 22015 reactEventType, 22016 inCapturePhase, 22017 !0 22018 ); 22019 } 22020 } 22021 } 22022 a: { 22023 reactName = targetInst ? getNodeFromInstance(targetInst) : window; 22024 SyntheticEventCtor = 22025 reactName.nodeName && reactName.nodeName.toLowerCase(); 22026 if ( 22027 "select" === SyntheticEventCtor || 22028 ("input" === SyntheticEventCtor && "file" === reactName.type) 22029 ) 22030 var getTargetInstFunc = getTargetInstForChangeEvent; 22031 else if (isTextInputElement(reactName)) 22032 if (isInputEventSupported) 22033 getTargetInstFunc = getTargetInstForInputOrChangeEvent; 22034 else { 22035 getTargetInstFunc = getTargetInstForInputEventPolyfill; 22036 var handleEventFunc = handleEventsForInputEventPolyfill; 22037 } 22038 else 22039 (SyntheticEventCtor = reactName.nodeName), 22040 !SyntheticEventCtor || 22041 "input" !== SyntheticEventCtor.toLowerCase() || 22042 ("checkbox" !== reactName.type && "radio" !== reactName.type) 22043 ? targetInst && 22044 isCustomElement(targetInst.elementType) && 22045 (getTargetInstFunc = getTargetInstForChangeEvent) 22046 : (getTargetInstFunc = getTargetInstForClickEvent); 22047 if ( 22048 getTargetInstFunc && 22049 (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst)) 22050 ) { 22051 createAndAccumulateChangeEvent( 22052 dispatchQueue, 22053 getTargetInstFunc, 22054 nativeEvent, 22055 nativeEventTarget 22056 ); 22057 break a; 22058 } 22059 handleEventFunc && handleEventFunc(domEventName, reactName, targetInst); 22060 "focusout" === domEventName && 22061 targetInst && 22062 "number" === reactName.type && 22063 null != targetInst.memoizedProps.value && 22064 setDefaultValue(reactName, "number", reactName.value); 22065 } 22066 handleEventFunc = targetInst ? getNodeFromInstance(targetInst) : window; 22067 switch (domEventName) { 22068 case "focusin": 22069 if ( 22070 isTextInputElement(handleEventFunc) || 22071 "true" === handleEventFunc.contentEditable 22072 ) 22073 (activeElement = handleEventFunc), 22074 (activeElementInst = targetInst), 22075 (lastSelection = null); 22076 break; 22077 case "focusout": 22078 lastSelection = activeElementInst = activeElement = null; 22079 break; 22080 case "mousedown": 22081 mouseDown = !0; 22082 break; 22083 case "contextmenu": 22084 case "mouseup": 22085 case "dragend": 22086 mouseDown = !1;
22087 constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); 22088 break; 22089 case "selectionchange": 22090 if (skipSelectionChangeEvent) break; 22091 case "keydown": 22092 case "keyup": 22093 constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget); 22094 } 22095 var fallbackData; 22096 if (canUseCompositionEvent) 22097 b: { 22098 switch (domEventName) { 22099 case "compositionstart": 22100 var eventType = "onCompositionStart"; 22101 break b; 22102 case "compositionend": 22103 eventType = "onCompositionEnd"; 22104 break b; 22105 case "compositionupdate": 22106 eventType = "onCompositionUpdate"; 22107 break b; 22108 } 22109 eventType = void 0; 22110 } 22111 else 22112 isComposing 22113 ? isFallbackCompositionEnd(domEventName, nativeEvent) && 22114 (eventType = "onCompositionEnd") 22115 : "keydown" === domEventName && 22116 229 === nativeEvent.keyCode && 22117 (eventType = "onCompositionStart"); 22118 eventType && 22119 (useFallbackCompositionData && 22120 "ko" !== nativeEvent.locale && 22121 (isComposing || "onCompositionStart" !== eventType 22122 ? "onCompositionEnd" === eventType && 22123 isComposing && 22124 (fallbackData = getData()) 22125 : ((root = nativeEventTarget), 22126 (startText = "value" in root ? root.value : root.textContent), 22127 (isComposing = !0))), 22128 (handleEventFunc = accumulateTwoPhaseListeners(targetInst, eventType)), 22129 0 < handleEventFunc.length && 22130 ((eventType = new SyntheticCompositionEvent( 22131 eventType, 22132 domEventName, 22133 null, 22134 nativeEvent, 22135 nativeEventTarget 22136 )), 22137 dispatchQueue.push({ event: eventType, listeners: handleEventFunc }), 22138 fallbackData 22139 ? (eventType.data = fallbackData) 22140 : ((fallbackData = getDataFromCustomEvent(nativeEvent)), 22141 null !== fallbackData && (eventType.data = fallbackData)))); 22142 if ( 22143 (fallbackData = canUseTextInputEvent 22144 ? getNativeBeforeInputChars(domEventName, nativeEvent) 22145 : getFallbackBeforeInputChars(domEventName, nativeEvent)) 22146 ) 22147 (eventType = accumulateTwoPhaseListeners(targetInst, "onBeforeInput")), 22148 0 < eventType.length && 22149 ((handleEventFunc = new SyntheticCompositionEvent( 22150 "onBeforeInput", 22151 "beforeinput", 22152 null, 22153 nativeEvent, 22154 nativeEventTarget 22155 )), 22156 dispatchQueue.push({ 22157 event: handleEventFunc, 22158 listeners: eventType 22159 }), 22160 (handleEventFunc.data = fallbackData)); 22161 extractEvents$1( 22162 dispatchQueue, 22163 domEventName, 22164 targetInst, 22165 nativeEvent, 22166 nativeEventTarget 22167 ); 22168 }
22169 processDispatchQueue(dispatchQueue, eventSystemFlags); 22170 }); 22171} 22172function createDispatchListener(instance, listener, currentTarget) { 22173 return { 22174 instance: instance, 22175 listener: listener, 22176 currentTarget: currentTarget 22177 }; 22178} 22179function accumulateTwoPhaseListeners(targetFiber, reactName) { 22180 for ( 22181 var captureName = reactName + "Capture", listeners = []; 22182 null !== targetFiber; 22183 22184 ) { 22185 var _instance2 = targetFiber, 22186 stateNode = _instance2.stateNode; 22187 _instance2 = _instance2.tag; 22188 (5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2) || 22189 null === stateNode || 22190 ((_instance2 = getListener(targetFiber, captureName)), 22191 null != _instance2 && 22192 listeners.unshift( 22193 createDispatchListener(targetFiber, _instance2, stateNode) 22194 ), 22195 (_instance2 = getListener(targetFiber, reactName)), 22196 null != _instance2 && 22197 listeners.push( 22198 createDispatchListener(targetFiber, _instance2, stateNode) 22199 )); 22200 if (3 === targetFiber.tag) return listeners; 22201 targetFiber = targetFiber.return; 22202 } 22203 return []; 22204} 22205function getParent(inst) { 22206 if (null === inst) return null; 22207 do inst = inst.return; 22208 while (inst && 5 !== inst.tag && 27 !== inst.tag); 22209 return inst ? inst : null; 22210} 22211function accumulateEnterLeaveListenersForEvent( 22212 dispatchQueue, 22213 event, 22214 target, 22215 common, 22216 inCapturePhase 22217) { 22218 for ( 22219 var registrationName = event._reactName, listeners = []; 22220 null !== target && target !== common; 22221 22222 ) { 22223 var _instance3 = target, 22224 alternate = _instance3.alternate, 22225 stateNode = _instance3.stateNode; 22226 _instance3 = _instance3.tag; 22227 if (null !== alternate && alternate === common) break; 22228 (5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3) || 22229 null === stateNode || 22230 ((alternate = stateNode), 22231 inCapturePhase 22232 ? ((stateNode = getListener(target, registrationName)), 22233 null != stateNode && 22234 listeners.unshift( 22235 createDispatchListener(target, stateNode, alternate) 22236 )) 22237 : inCapturePhase || 22238 ((stateNode = getListener(target, registrationName)), 22239 null != stateNode && 22240 listeners.push( 22241 createDispatchListener(target, stateNode, alternate) 22242 ))); 22243 target = target.return; 22244 } 22245 0 !== listeners.length && 22246 dispatchQueue.push({ event: event, listeners: listeners }); 22247} 22248var NORMALIZE_NEWLINES_REGEX = /\r\n?/g, 22249 NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g; 22250function normalizeMarkupForTextOrAttribute(markup) { 22251 return ("string" === typeof markup ? markup : "" + markup) 22252 .replace(NORMALIZE_NEWLINES_REGEX, "\n") 22253 .replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, ""); 22254} 22255function checkForUnmatchedText(serverText, clientText) { 22256 clientText = normalizeMarkupForTextOrAttribute(clientText); 22257 return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1; 22258} 22259function noop$1() {} 22260function setProp(domElement, tag, key, value, props, prevValue) { 22261 switch (key) { 22262 case "children": 22263 "string" === typeof value 22264 ? "body" === tag || 22265 ("textarea" === tag && "" === value) || 22266 setTextContent(domElement, value) 22267 : ("number" === typeof value || "bigint" === typeof value) && 22268 "body" !== tag && 22269 setTextContent(domElement, "" + value); 22270 break; 22271 case "className": 22272 setValueForKnownAttribute(domElement, "class", value); 22273 break; 22274 case "tabIndex": 22275 setValueForKnownAttribute(domElement, "tabindex", value); 22276 break; 22277 case "dir": 22278 case "role": 22279 case "viewBox": 22280 case "width": 22281 case "height": 22282 setValueForKnownAttribute(domElement, key, value); 22283 break; 22284 case "style": 22285 setValueForStyles(domElement, value, prevValue); 22286 break; 22287 case "data": 22288 if ("object" !== tag) { 22289 setValueForKnownAttribute(domElement, "data", value); 22290 break; 22291 } 22292 case "src": 22293 case "href": 22294 if ("" === value && ("a" !== tag || "href" !== key)) { 22295 domElement.removeAttribute(key); 22296 break; 22297 } 22298 if ( 22299 null == value || 22300 "function" === typeof value || 22301 "symbol" === typeof value || 22302 "boolean" === typeof value 22303 ) { 22304 domElement.removeAttribute(key); 22305 break; 22306 } 22307 value = sanitizeURL("" + value); 22308 domElement.setAttribute(key, value); 22309 break; 22310 case "action": 22311 case "formAction": 22312 if ("function" === typeof value) { 22313 domElement.setAttribute( 22314 key, 22315 "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')" 22316 ); 22317 break; 22318 } else 22319 "function" === typeof prevValue && 22320 ("formAction" === key 22321 ? ("input" !== tag && 22322 setProp(domElement, tag, "name", props.name, props, null), 22323 setProp( 22324 domElement, 22325 tag, 22326 "formEncType", 22327 props.formEncType, 22328 props, 22329 null 22330 ), 22331 setProp( 22332 domElement, 22333 tag, 22334 "formMethod", 22335 props.formMethod, 22336 props, 22337 null 22338 ), 22339 setProp( 22340 domElement, 22341 tag, 22342 "formTarget", 22343 props.formTarget, 22344 props, 22345 null 22346 )) 22347 : (setProp(domElement, tag, "encType", props.encType, props, null), 22348 setProp(domElement, tag, "method", props.method, props, null), 22349 setProp(domElement, tag, "target", props.target, props, null))); 22350 if ( 22351 null == value || 22352 "symbol" === typeof value || 22353 "boolean" === typeof value 22354 ) { 22355 domElement.removeAttribute(key); 22356 break; 22357 } 22358 value = sanitizeURL("" + value); 22359 domElement.setAttribute(key, value); 22360 break; 22361 case "onClick": 22362 null != value && (domElement.onclick = noop$1); 22363 break; 22364 case "onScroll": 22365 null != value && listenToNonDelegatedEvent("scroll", domElement); 22366 break; 22367 case "onScrollEnd": 22368 null != value && listenToNonDelegatedEvent("scrollend", domElement); 22369 break; 22370 case "dangerouslySetInnerHTML": 22371 if (null != value) { 22372 if ("object" !== typeof value || !("__html" in value)) 22373 throw Error(formatProdErrorMessage(61)); 22374 key = value.__html; 22375 if (null != key) { 22376 if (null != props.children) throw Error(formatProdErrorMessage(60)); 22377 domElement.innerHTML = key; 22378 } 22379 } 22380 break; 22381 case "multiple": 22382 domElement.multiple = 22383 value && "function" !== typeof value && "symbol" !== typeof value; 22384 break; 22385 case "muted": 22386 domElement.muted = 22387 value && "function" !== typeof value && "symbol" !== typeof value; 22388 break; 22389 case "suppressContentEditableWarning": 22390 case "suppressHydrationWarning": 22391 case "defaultValue": 22392 case "defaultChecked": 22393 case "innerHTML": 22394 case "ref": 22395 break; 22396 case "autoFocus": 22397 break; 22398 case "xlinkHref": 22399 if ( 22400 null == value || 22401 "function" === typeof value || 22402 "boolean" === typeof value || 22403 "symbol" === typeof value 22404 ) { 22405 domElement.removeAttribute("xlink:href"); 22406 break; 22407 } 22408 key = sanitizeURL("" + value); 22409 domElement.setAttributeNS( 22410 "http://www.w3.org/1999/xlink", 22411 "xlink:href", 22412 key 22413 ); 22414 break; 22415 case "contentEditable": 22416 case "spellCheck": 22417 case "draggable": 22418 case "value": 22419 case "autoReverse": 22420 case "externalResourcesRequired": 22421 case "focusable": 22422 case "preserveAlpha": 22423 null != value && "function" !== typeof value && "symbol" !== typeof value 22424 ? domElement.setAttribute(key, "" + value) 22425 : domElement.removeAttribute(key); 22426 break; 22427 case "inert": 22428 case "allowFullScreen": 22429 case "async": 22430 case "autoPlay": 22431 case "controls": 22432 case "default": 22433 case "defer": 22434 case "disabled": 22435 case "disablePictureInPicture": 22436 case "disableRemotePlayback": 22437 case "formNoValidate": 22438 case "hidden": 22439 case "loop": 22440 case "noModule": 22441 case "noValidate": 22442 case "open":
22443 case "playsInline": 22444 case "readOnly": 22445 case "required": 22446 case "reversed": 22447 case "scoped": 22448 case "seamless": 22449 case "itemScope": 22450 value && "function" !== typeof value && "symbol" !== typeof value 22451 ? domElement.setAttribute(key, "") 22452 : domElement.removeAttribute(key); 22453 break; 22454 case "capture": 22455 case "download": 22456 !0 === value 22457 ? domElement.setAttribute(key, "") 22458 : !1 !== value && 22459 null != value && 22460 "function" !== typeof value && 22461 "symbol" !== typeof value 22462 ? domElement.setAttribute(key, value) 22463 : domElement.removeAttribute(key); 22464 break; 22465 case "cols": 22466 case "rows": 22467 case "size": 22468 case "span": 22469 null != value && 22470 "function" !== typeof value && 22471 "symbol" !== typeof value && 22472 !isNaN(value) && 22473 1 <= value 22474 ? domElement.setAttribute(key, value) 22475 : domElement.removeAttribute(key); 22476 break; 22477 case "rowSpan": 22478 case "start": 22479 null == value || 22480 "function" === typeof value || 22481 "symbol" === typeof value || 22482 isNaN(value) 22483 ? domElement.removeAttribute(key) 22484 : domElement.setAttribute(key, value); 22485 break; 22486 case "popover": 22487 listenToNonDelegatedEvent("beforetoggle", domElement); 22488 listenToNonDelegatedEvent("toggle", domElement); 22489 setValueForAttribute(domElement, "popover", value); 22490 break; 22491 case "xlinkActuate": 22492 setValueForNamespacedAttribute( 22493 domElement, 22494 "http://www.w3.org/1999/xlink", 22495 "xlink:actuate", 22496 value 22497 ); 22498 break; 22499 case "xlinkArcrole": 22500 setValueForNamespacedAttribute( 22501 domElement, 22502 "http://www.w3.org/1999/xlink", 22503 "xlink:arcrole", 22504 value 22505 ); 22506 break; 22507 case "xlinkRole": 22508 setValueForNamespacedAttribute( 22509 domElement, 22510 "http://www.w3.org/1999/xlink", 22511 "xlink:role", 22512 value 22513 ); 22514 break; 22515 case "xlinkShow": 22516 setValueForNamespacedAttribute( 22517 domElement, 22518 "http://www.w3.org/1999/xlink", 22519 "xlink:show", 22520 value 22521 ); 22522 break; 22523 case "xlinkTitle": 22524 setValueForNamespacedAttribute( 22525 domElement, 22526 "http://www.w3.org/1999/xlink", 22527 "xlink:title", 22528 value 22529 ); 22530 break; 22531 case "xlinkType": 22532 setValueForNamespacedAttribute( 22533 domElement, 22534 "http://www.w3.org/1999/xlink", 22535 "xlink:type", 22536 value 22537 ); 22538 break; 22539 case "xmlBase": 22540 setValueForNamespacedAttribute( 22541 domElement, 22542 "http://www.w3.org/XML/1998/namespace", 22543 "xml:base", 22544 value 22545 ); 22546 break; 22547 case "xmlLang": 22548 setValueForNamespacedAttribute( 22549 domElement, 22550 "http://www.w3.org/XML/1998/namespace", 22551 "xml:lang", 22552 value 22553 ); 22554 break; 22555 case "xmlSpace": 22556 setValueForNamespacedAttribute( 22557 domElement, 22558 "http://www.w3.org/XML/1998/namespace", 22559 "xml:space", 22560 value 22561 ); 22562 break; 22563 case "is": 22564 setValueForAttribute(domElement, "is", value); 22565 break; 22566 case "innerText": 22567 case "textContent": 22568 break; 22569 default: 22570 if ( 22571 !(2 < key.length) || 22572 ("o" !== key[0] && "O" !== key[0]) || 22573 ("n" !== key[1] && "N" !== key[1]) 22574 ) 22575 (key = aliases.get(key) || key), 22576 setValueForAttribute(domElement, key, value); 22577 } 22578} 22579function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) { 22580 switch (key) { 22581 case "style": 22582 setValueForStyles(domElement, value, prevValue); 22583 break; 22584 case "dangerouslySetInnerHTML": 22585 if (null != value) { 22586 if ("object" !== typeof value || !("__html" in value)) 22587 throw Error(formatProdErrorMessage(61)); 22588 key = value.__html; 22589 if (null != key) { 22590 if (null != props.children) throw Error(formatProdErrorMessage(60)); 22591 domElement.innerHTML = key; 22592 } 22593 } 22594 break; 22595 case "children": 22596 "string" === typeof value 22597 ? setTextContent(domElement, value) 22598 : ("number" === typeof value || "bigint" === typeof value) && 22599 setTextContent(domElement, "" + value); 22600 break; 22601 case "onScroll": 22602 null != value && listenToNonDelegatedEvent("scroll", domElement); 22603 break; 22604 case "onScrollEnd": 22605 null != value && listenToNonDelegatedEvent("scrollend", domElement); 22606 break; 22607 case "onClick": 22608 null != value && (domElement.onclick = noop$1); 22609 break; 22610 case "suppressContentEditableWarning": 22611 case "suppressHydrationWarning": 22612 case "innerHTML": 22613 case "ref": 22614 break; 22615 case "innerText": 22616 case "textContent": 22617 break; 22618 default: 22619 if (!registrationNameDependencies.hasOwnProperty(key)) 22620 a: { 22621 if ( 22622 "o" === key[0] && 22623 "n" === key[1] && 22624 ((props = key.endsWith("Capture")), 22625 (tag = key.slice(2, props ? key.length - 7 : void 0)), 22626 (prevValue = domElement[internalPropsKey] || null), 22627 (prevValue = null != prevValue ? prevValue[key] : null),
22628 "function" === typeof prevValue && 22629 domElement.removeEventListener(tag, prevValue, props), 22630 "function" === typeof value) 22631 ) { 22632 "function" !== typeof prevValue && 22633 null !== prevValue && 22634 (key in domElement 22635 ? (domElement[key] = null) 22636 : domElement.hasAttribute(key) && 22637 domElement.removeAttribute(key)); 22638 domElement.addEventListener(tag, value, props); 22639 break a; 22640 } 22641 key in domElement 22642 ? (domElement[key] = value) 22643 : !0 === value 22644 ? domElement.setAttribute(key, "") 22645 : setValueForAttribute(domElement, key, value); 22646 } 22647 } 22648} 22649function setInitialProperties(domElement, tag, props) { 22650 switch (tag) { 22651 case "div": 22652 case "span": 22653 case "svg": 22654 case "path": 22655 case "a": 22656 case "g": 22657 case "p": 22658 case "li": 22659 break; 22660 case "img": 22661 listenToNonDelegatedEvent("error", domElement); 22662 listenToNonDelegatedEvent("load", domElement); 22663 var hasSrc = !1, 22664 hasSrcSet = !1, 22665 propKey; 22666 for (propKey in props) 22667 if (props.hasOwnProperty(propKey)) { 22668 var propValue = props[propKey]; 22669 if (null != propValue) 22670 switch (propKey) { 22671 case "src": 22672 hasSrc = !0; 22673 break; 22674 case "srcSet": 22675 hasSrcSet = !0; 22676 break; 22677 case "children": 22678 case "dangerouslySetInnerHTML": 22679 throw Error(formatProdErrorMessage(137, tag)); 22680 default: 22681 setProp(domElement, tag, propKey, propValue, props, null); 22682 } 22683 } 22684 hasSrcSet && 22685 setProp(domElement, tag, "srcSet", props.srcSet, props, null); 22686 hasSrc && setProp(domElement, tag, "src", props.src, props, null); 22687 return; 22688 case "input": 22689 listenToNonDelegatedEvent("invalid", domElement); 22690 var defaultValue = (propKey = propValue = hasSrcSet = null), 22691 checked = null, 22692 defaultChecked = null; 22693 for (hasSrc in props) 22694 if (props.hasOwnProperty(hasSrc)) { 22695 var propValue$188 = props[hasSrc]; 22696 if (null != propValue$188) 22697 switch (hasSrc) { 22698 case "name": 22699 hasSrcSet = propValue$188; 22700 break; 22701 case "type": 22702 propValue = propValue$188; 22703 break; 22704 case "checked": 22705 checked = propValue$188; 22706 break; 22707 case "defaultChecked": 22708 defaultChecked = propValue$188; 22709 break; 22710 case "value": 22711 propKey = propValue$188; 22712 break; 22713 case "defaultValue": 22714 defaultValue = propValue$188; 22715 break; 22716 case "children": 22717 case "dangerouslySetInnerHTML": 22718 if (null != propValue$188) 22719 throw Error(formatProdErrorMessage(137, tag)); 22720 break; 22721 default: 22722 setProp(domElement, tag, hasSrc, propValue$188, props, null); 22723 } 22724 } 22725 initInput( 22726 domElement, 22727 propKey, 22728 defaultValue, 22729 checked, 22730 defaultChecked, 22731 propValue, 22732 hasSrcSet, 22733 !1 22734 ); 22735 track(domElement); 22736 return; 22737 case "select": 22738 listenToNonDelegatedEvent("invalid", domElement); 22739 hasSrc = propValue = propKey = null; 22740 for (hasSrcSet in props) 22741 if ( 22742 props.hasOwnProperty(hasSrcSet) && 22743 ((defaultValue = props[hasSrcSet]), null != defaultValue) 22744 ) 22745 switch (hasSrcSet) { 22746 case "value": 22747 propKey = defaultValue; 22748 break; 22749 case "defaultValue": 22750 propValue = defaultValue; 22751 break; 22752 case "multiple": 22753 hasSrc = defaultValue; 22754 default: 22755 setProp(domElement, tag, hasSrcSet, defaultValue, props, null); 22756 } 22757 tag = propKey; 22758 props = propValue; 22759 domElement.multiple = !!hasSrc; 22760 null != tag 22761 ? updateOptions(domElement, !!hasSrc, tag, !1) 22762 : null != props && updateOptions(domElement, !!hasSrc, props, !0); 22763 return; 22764 case "textarea": 22765 listenToNonDelegatedEvent("invalid", domElement); 22766 propKey = hasSrcSet = hasSrc = null; 22767 for (propValue in props) 22768 if ( 22769 props.hasOwnProperty(propValue) && 22770 ((defaultValue = props[propValue]), null != defaultValue) 22771 ) 22772 switch (propValue) { 22773 case "value": 22774 hasSrc = defaultValue; 22775 break; 22776 case "defaultValue": 22777 hasSrcSet = defaultValue; 22778 break; 22779 case "children": 22780 propKey = defaultValue; 22781 break; 22782 case "dangerouslySetInnerHTML": 22783 if (null != defaultValue) throw Error(formatProdErrorMessage(91)); 22784 break; 22785 default: 22786 setProp(domElement, tag, propValue, defaultValue, props, null); 22787 } 22788 initTextarea(domElement, hasSrc, hasSrcSet, propKey); 22789 track(domElement); 22790 return; 22791 case "option": 22792 for (checked in props) 22793 if ( 22794 props.hasOwnProperty(checked) && 22795 ((hasSrc = props[checked]), null != hasSrc) 22796 ) 22797 switch (checked) { 22798 case "selected": 22799 domElement.selected = 22800 hasSrc && 22801 "function" !== typeof hasSrc && 22802 "symbol" !== typeof hasSrc; 22803 break; 22804 default: 22805 setProp(domElement, tag, checked, hasSrc, props, null); 22806 } 22807 return; 22808 case "dialog": 22809 listenToNonDelegatedEvent("beforetoggle", domElement); 22810 listenToNonDelegatedEvent("toggle", domElement); 22811 listenToNonDelegatedEvent("cancel", domElement); 22812 listenToNonDelegatedEvent("close", domElement); 22813 break; 22814 case "iframe": 22815 case "object": 22816 listenToNonDelegatedEvent("load", domElement); 22817 break; 22818 case "video": 22819 case "audio": 22820 for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++) 22821 listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement); 22822 break; 22823 case "image": 22824 listenToNonDelegatedEvent("error", domElement); 22825 listenToNonDelegatedEvent("load", domElement); 22826 break; 22827 case "details": 22828 listenToNonDelegatedEvent("toggle", domElement); 22829 break; 22830 case "embed": 22831 case "source": 22832 case "link": 22833 listenToNonDelegatedEvent("error", domElement), 22834 listenToNonDelegatedEvent("load", domElement); 22835 case "area": 22836 case "base": 22837 case "br": 22838 case "col": 22839 case "hr": 22840 case "keygen": 22841 case "meta": 22842 case "param": 22843 case "track": 22844 case "wbr": 22845 case "menuitem": 22846 for (defaultChecked in props) 22847 if ( 22848 props.hasOwnProperty(defaultChecked) && 22849 ((hasSrc = props[defaultChecked]), null != hasSrc) 22850 ) 22851 switch (defaultChecked) { 22852 case "children": 22853 case "dangerouslySetInnerHTML": 22854 throw Error(formatProdErrorMessage(137, tag)); 22855 default: 22856 setProp(domElement, tag, defaultChecked, hasSrc, props, null); 22857 } 22858 return; 22859 default: 22860 if (isCustomElement(tag)) { 22861 for (propValue$188 in props) 22862 props.hasOwnProperty(propValue$188) && 22863 ((hasSrc = props[propValue$188]), 22864 void 0 !== hasSrc && 22865 setPropOnCustomElement( 22866 domElement, 22867 tag, 22868 propValue$188, 22869 hasSrc, 22870 props, 22871 void 0 22872 )); 22873 return; 22874 } 22875 } 22876 for (defaultValue in props) 22877 props.hasOwnProperty(defaultValue) && 22878 ((hasSrc = props[defaultValue]), 22879 null != hasSrc && 22880 setProp(domElement, tag, defaultValue, hasSrc, props, null)); 22881} 22882function updateProperties(domElement, tag, lastProps, nextProps) { 22883 switch (tag) { 22884 case "div": 22885 case "span": 22886 case "svg": 22887 case "path": 22888 case "a": 22889 case "g": 22890 case "p": 22891 case "li": 22892 break; 22893 case "input": 22894 var name = null, 22895 type = null, 22896 value = null, 22897 defaultValue = null, 22898 lastDefaultValue = null, 22899 checked = null, 22900 defaultChecked = null; 22901 for (propKey in lastProps) { 22902 var lastProp = lastProps[propKey]; 22903 if (lastProps.hasOwnProperty(propKey) && null != lastProp) 22904 switch (propKey) { 22905 case "checked": 22906 break; 22907 case "value": 22908 break; 22909 case "defaultValue": 22910 lastDefaultValue = lastProp; 22911 default: 22912 nextProps.hasOwnProperty(propKey) || 22913 setProp(domElement, tag, propKey, null, nextProps, lastProp); 22914 } 22915 } 22916 for (var propKey$205 in nextProps) { 22917 var propKey = nextProps[propKey$205]; 22918 lastProp = lastProps[propKey$205]; 22919 if ( 22920 nextProps.hasOwnProperty(propKey$205) && 22921 (null != propKey || null != lastProp) 22922 ) 22923 switch (propKey$205) { 22924 case "type": 22925 type = propKey; 22926 break; 22927 case "name": 22928 name = propKey; 22929 break; 22930 case "checked": 22931 checked = propKey; 22932 break; 22933 case "defaultChecked": 22934 defaultChecked = propKey; 22935 break; 22936 case "value": 22937 value = propKey; 22938 break; 22939 case "defaultValue": 22940 defaultValue = propKey; 22941 break; 22942 case "children": 22943 case "dangerouslySetInnerHTML": 22944 if (null != propKey) 22945 throw Error(formatProdErrorMessage(137, tag)); 22946 break; 22947 default: 22948 propKey !== lastProp && 22949 setProp( 22950 domElement, 22951 tag, 22952 propKey$205, 22953 propKey, 22954 nextProps, 22955 lastProp 22956 ); 22957 } 22958 } 22959 updateInput( 22960 domElement, 22961 value, 22962 defaultValue, 22963 lastDefaultValue, 22964 checked, 22965 defaultChecked, 22966 type, 22967 name 22968 ); 22969 return; 22970 case "select": 22971 propKey = value = defaultValue = propKey$205 = null; 22972 for (type in lastProps) 22973 if ( 22974 ((lastDefaultValue = lastProps[type]), 22975 lastProps.hasOwnProperty(type) && null != lastDefaultValue) 22976 ) 22977 switch (type) { 22978 case "value": 22979 break; 22980 case "multiple": 22981 propKey = lastDefaultValue; 22982 default: 22983 nextProps.hasOwnProperty(type) || 22984 setProp( 22985 domElement, 22986 tag, 22987 type, 22988 null, 22989 nextProps, 22990 lastDefaultValue 22991 ); 22992 } 22993 for (name in nextProps) 22994 if ( 22995 ((type = nextProps[name]), 22996 (lastDefaultValue = lastProps[name]), 22997 nextProps.hasOwnProperty(name) && 22998 (null != type || null != lastDefaultValue)) 22999 ) 23000 switch (name) { 23001 case "value": 23002 propKey$205 = type; 23003 break; 23004 case "defaultValue": 23005 defaultValue = type; 23006 break; 23007 case "multiple": 23008 value = type; 23009 default: 23010 type !== lastDefaultValue && 23011 setProp( 23012 domElement, 23013 tag, 23014 name, 23015 type, 23016 nextProps, 23017 lastDefaultValue 23018 ); 23019 } 23020 tag = defaultValue; 23021 lastProps = value; 23022 nextProps = propKey; 23023 null != propKey$205 23024 ? updateOptions(domElement, !!lastProps, propKey$205, !1) 23025 : !!nextProps !== !!lastProps && 23026 (null != tag 23027 ? updateOptions(domElement, !!lastProps, tag, !0) 23028 : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); 23029 return; 23030 case "textarea": 23031 propKey = propKey$205 = null; 23032 for (defaultValue in lastProps) 23033 if ( 23034 ((name = lastProps[defaultValue]), 23035 lastProps.hasOwnProperty(defaultValue) && 23036 null != name && 23037 !nextProps.hasOwnProperty(defaultValue)) 23038 ) 23039 switch (defaultValue) { 23040 case "value": 23041 break; 23042 case "children": 23043 break; 23044 default: 23045 setProp(domElement, tag, defaultValue, null, nextProps, name); 23046 } 23047 for (value in nextProps) 23048 if ( 23049 ((name = nextProps[value]), 23050 (type = lastProps[value]), 23051 nextProps.hasOwnProperty(value) && (null != name || null != type)) 23052 ) 23053 switch (value) { 23054 case "value": 23055 propKey$205 = name; 23056 break; 23057 case "defaultValue":
23058 propKey = name; 23059 break; 23060 case "children": 23061 break; 23062 case "dangerouslySetInnerHTML": 23063 if (null != name) throw Error(formatProdErrorMessage(91)); 23064 break; 23065 default: 23066 name !== type && 23067 setProp(domElement, tag, value, name, nextProps, type); 23068 } 23069 updateTextarea(domElement, propKey$205, propKey); 23070 return; 23071 case "option": 23072 for (var propKey$221 in lastProps) 23073 if ( 23074 ((propKey$205 = lastProps[propKey$221]), 23075 lastProps.hasOwnProperty(propKey$221) && 23076 null != propKey$205 && 23077 !nextProps.hasOwnProperty(propKey$221)) 23078 ) 23079 switch (propKey$221) { 23080 case "selected": 23081 domElement.selected = !1; 23082 break; 23083 default: 23084 setProp( 23085 domElement, 23086 tag, 23087 propKey$221, 23088 null, 23089 nextProps, 23090 propKey$205 23091 ); 23092 } 23093 for (lastDefaultValue in nextProps) 23094 if ( 23095 ((propKey$205 = nextProps[lastDefaultValue]), 23096 (propKey = lastProps[lastDefaultValue]), 23097 nextProps.hasOwnProperty(lastDefaultValue) && 23098 propKey$205 !== propKey && 23099 (null != propKey$205 || null != propKey)) 23100 ) 23101 switch (lastDefaultValue) { 23102 case "selected": 23103 domElement.selected = 23104 propKey$205 && 23105 "function" !== typeof propKey$205 && 23106 "symbol" !== typeof propKey$205; 23107 break; 23108 default: 23109 setProp( 23110 domElement, 23111 tag, 23112 lastDefaultValue, 23113 propKey$205, 23114 nextProps, 23115 propKey 23116 ); 23117 } 23118 return; 23119 case "img": 23120 case "link": 23121 case "area": 23122 case "base": 23123 case "br": 23124 case "col": 23125 case "embed": 23126 case "hr": 23127 case "keygen": 23128 case "meta": 23129 case "param": 23130 case "source": 23131 case "track": 23132 case "wbr": 23133 case "menuitem": 23134 for (var propKey$226 in lastProps) 23135 (propKey$205 = lastProps[propKey$226]), 23136 lastProps.hasOwnProperty(propKey$226) && 23137 null != propKey$205 && 23138 !nextProps.hasOwnProperty(propKey$226) && 23139 setProp(domElement, tag, propKey$226, null, nextProps, propKey$205); 23140 for (checked in nextProps) 23141 if ( 23142 ((propKey$205 = nextProps[checked]), 23143 (propKey = lastProps[checked]), 23144 nextProps.hasOwnProperty(checked) && 23145 propKey$205 !== propKey && 23146 (null != propKey$205 || null != propKey)) 23147 ) 23148 switch (checked) { 23149 case "children": 23150 case "dangerouslySetInnerHTML": 23151 if (null != propKey$205) 23152 throw Error(formatProdErrorMessage(137, tag)); 23153 break; 23154 default: 23155 setProp( 23156 domElement, 23157 tag, 23158 checked, 23159 propKey$205, 23160 nextProps, 23161 propKey 23162 ); 23163 } 23164 return; 23165 default: 23166 if (isCustomElement(tag)) { 23167 for (var propKey$231 in lastProps) 23168 (propKey$205 = lastProps[propKey$231]), 23169 lastProps.hasOwnProperty(propKey$231) && 23170 void 0 !== propKey$205 && 23171 !nextProps.hasOwnProperty(propKey$231) && 23172 setPropOnCustomElement( 23173 domElement, 23174 tag, 23175 propKey$231, 23176 void 0, 23177 nextProps, 23178 propKey$205 23179 ); 23180 for (defaultChecked in nextProps) 23181 (propKey$205 = nextProps[defaultChecked]), 23182 (propKey = lastProps[defaultChecked]), 23183 !nextProps.hasOwnProperty(defaultChecked) || 23184 propKey$205 === propKey || 23185 (void 0 === propKey$205 && void 0 === propKey) || 23186 setPropOnCustomElement( 23187 domElement, 23188 tag, 23189 defaultChecked, 23190 propKey$205, 23191 nextProps, 23192 propKey 23193 ); 23194 return; 23195 } 23196 } 23197 for (var propKey$236 in lastProps) 23198 (propKey$205 = lastProps[propKey$236]), 23199 lastProps.hasOwnProperty(propKey$236) && 23200 null != propKey$205 && 23201 !nextProps.hasOwnProperty(propKey$236) && 23202 setProp(domElement, tag, propKey$236, null, nextProps, propKey$205); 23203 for (lastProp in nextProps) 23204 (propKey$205 = nextProps[lastProp]), 23205 (propKey = lastProps[lastProp]), 23206 !nextProps.hasOwnProperty(lastProp) || 23207 propKey$205 === propKey || 23208 (null == propKey$205 && null == propKey) || 23209 setProp(domElement, tag, lastProp, propKey$205, nextProps, propKey); 23210} 23211var eventsEnabled = null, 23212 selectionInformation = null; 23213function getOwnerDocumentFromRootContainer(rootContainerElement) { 23214 return 9 === rootContainerElement.nodeType 23215 ? rootContainerElement 23216 : rootContainerElement.ownerDocument; 23217} 23218function getOwnHostContext(namespaceURI) { 23219 switch (namespaceURI) { 23220 case "http://www.w3.org/2000/svg": 23221 return 1; 23222 case "http://www.w3.org/1998/Math/MathML": 23223 return 2; 23224 default: 23225 return 0; 23226 } 23227} 23228function getChildHostContextProd(parentNamespace, type) { 23229 if (0 === parentNamespace) 23230 switch (type) { 23231 case "svg": 23232 return 1; 23233 case "math": 23234 return 2; 23235 default: 23236 return 0; 23237 } 23238 return 1 === parentNamespace && "foreignObject" === type 23239 ? 0 23240 : parentNamespace; 23241} 23242function shouldSetTextContent(type, props) { 23243 return ( 23244 "textarea" === type || 23245 "noscript" === type || 23246 "string" === typeof props.children || 23247 "number" === typeof props.children || 23248 "bigint" === typeof props.children || 23249 ("object" === typeof props.dangerouslySetInnerHTML && 23250 null !== props.dangerouslySetInnerHTML && 23251 null != props.dangerouslySetInnerHTML.__html) 23252 ); 23253} 23254var currentPopstateTransitionEvent = null; 23255function shouldAttemptEagerTransition() { 23256 var event = window.event; 23257 if (event && "popstate" === event.type) { 23258 if (event === currentPopstateTransitionEvent) return !1; 23259 currentPopstateTransitionEvent = event; 23260 return !0; 23261 } 23262 currentPopstateTransitionEvent = null; 23263 return !1; 23264} 23265var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : void 0, 23266 cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : void 0, 23267 localPromise = "function" === typeof Promise ? Promise : void 0, 23268 scheduleMicrotask = 23269 "function" === typeof queueMicrotask 23270 ? queueMicrotask 23271 : "undefined" !== typeof localPromise 23272 ? function (callback) { 23273 return localPromise 23274 .resolve(null) 23275 .then(callback) 23276 .catch(handleErrorInNextTick); 23277 } 23278 : scheduleTimeout; 23279function handleErrorInNextTick(error) { 23280 setTimeout(function () { 23281 throw error; 23282 }); 23283} 23284function isSingletonScope(type) { 23285 return "head" === type; 23286} 23287function clearSuspenseBoundary(parentInstance, suspenseInstance) { 23288 var node = suspenseInstance, 23289 possiblePreambleContribution = 0, 23290 depth = 0; 23291 do { 23292 var nextNode = node.nextSibling; 23293 parentInstance.removeChild(node); 23294 if (nextNode && 8 === nextNode.nodeType) 23295 if (((node = nextNode.data), "/$" === node)) { 23296 if ( 23297 0 < possiblePreambleContribution && 23298 8 > possiblePreambleContribution 23299 ) { 23300 node = possiblePreambleContribution; 23301 var ownerDocument = parentInstance.ownerDocument; 23302 node & 1 && releaseSingletonInstance(ownerDocument.documentElement); 23303 node & 2 && releaseSingletonInstance(ownerDocument.body); 23304 if (node & 4) 23305 for ( 23306 node = ownerDocument.head, 23307 releaseSingletonInstance(node), 23308 ownerDocument = node.firstChild; 23309 ownerDocument; 23310 23311 ) { 23312 var nextNode$jscomp$0 = ownerDocument.nextSibling, 23313 nodeName = ownerDocument.nodeName; 23314 ownerDocument[internalHoistableMarker] || 23315 "SCRIPT" === nodeName || 23316 "STYLE" === nodeName || 23317 ("LINK" === nodeName && 23318 "stylesheet" === ownerDocument.rel.toLowerCase()) || 23319 node.removeChild(ownerDocument); 23320 ownerDocument = nextNode$jscomp$0; 23321 } 23322 } 23323 if (0 === depth) { 23324 parentInstance.removeChild(nextNode); 23325 retryIfBlockedOn(suspenseInstance); 23326 return; 23327 } 23328 depth--; 23329 } else 23330 "$" === node || "$?" === node || "$!" === node 23331 ? depth++ 23332 : (possiblePreambleContribution = node.charCodeAt(0) - 48); 23333 else possiblePreambleContribution = 0; 23334 node = nextNode; 23335 } while (node); 23336 retryIfBlockedOn(suspenseInstance); 23337} 23338function clearContainerSparingly(container) { 23339 var nextNode = container.firstChild; 23340 nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling); 23341 for (; nextNode; ) { 23342 var node = nextNode; 23343 nextNode = nextNode.nextSibling; 23344 switch (node.nodeName) { 23345 case "HTML": 23346 case "HEAD": 23347 case "BODY": 23348 clearContainerSparingly(node); 23349 detachDeletedInstance(node); 23350 continue; 23351 case "SCRIPT": 23352 case "STYLE": 23353 continue; 23354 case "LINK": 23355 if ("stylesheet" === node.rel.toLowerCase()) continue; 23356 } 23357 container.removeChild(node); 23358 } 23359} 23360function canHydrateInstance(instance, type, props, inRootOrSingleton) { 23361 for (; 1 === instance.nodeType; ) { 23362 var anyProps = props; 23363 if (instance.nodeName.toLowerCase() !== type.toLowerCase()) { 23364 if ( 23365 !inRootOrSingleton && 23366 ("INPUT" !== instance.nodeName || "hidden" !== instance.type) 23367 ) 23368 break; 23369 } else if (!inRootOrSingleton) 23370 if ("input" === type && "hidden" === instance.type) { 23371 var name = null == anyProps.name ? null : "" + anyProps.name; 23372 if ( 23373 "hidden" === anyProps.type && 23374 instance.getAttribute("name") === name 23375 ) 23376 return instance; 23377 } else return instance; 23378 else if (!instance[internalHoistableMarker]) 23379 switch (type) { 23380 case "meta": 23381 if (!instance.hasAttribute("itemprop")) break; 23382 return instance; 23383 case "link": 23384 name = instance.getAttribute("rel"); 23385 if ("stylesheet" === name && instance.hasAttribute("data-precedence")) 23386 break; 23387 else if ( 23388 name !== anyProps.rel || 23389 instance.getAttribute("href") !== 23390 (null == anyProps.href || "" === anyProps.href 23391 ? null 23392 : anyProps.href) || 23393 instance.getAttribute("crossorigin") !== 23394 (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) || 23395 instance.getAttribute("title") !== 23396 (null == anyProps.title ? null : anyProps.title) 23397 ) 23398 break; 23399 return instance; 23400 case "style": 23401 if (instance.hasAttribute("data-precedence")) break; 23402 return instance; 23403 case "script": 23404 name = instance.getAttribute("src"); 23405 if ( 23406 (name !== (null == anyProps.src ? null : anyProps.src) || 23407 instance.getAttribute("type") !== 23408 (null == anyProps.type ? null : anyProps.type) || 23409 instance.getAttribute("crossorigin") !== 23410 (null == anyProps.crossOrigin ? null : anyProps.crossOrigin)) && 23411 name && 23412 instance.hasAttribute("async") && 23413 !instance.hasAttribute("itemprop") 23414 ) 23415 break; 23416 return instance; 23417 default: 23418 return instance; 23419 } 23420 instance = getNextHydratable(instance.nextSibling); 23421 if (null === instance) break; 23422 } 23423 return null; 23424} 23425function canHydrateTextInstance(instance, text, inRootOrSingleton) { 23426 if ("" === text) return null; 23427 for (; 3 !== instance.nodeType; ) { 23428 if ( 23429 (1 !== instance.nodeType || 23430 "INPUT" !== instance.nodeName || 23431 "hidden" !== instance.type) && 23432 !inRootOrSingleton 23433 ) 23434 return null; 23435 instance = getNextHydratable(instance.nextSibling); 23436 if (null === instance) return null; 23437 } 23438 return instance; 23439} 23440function isSuspenseInstanceFallback(instance) { 23441 return ( 23442 "$!" === instance.data || 23443 ("$?" === instance.data && "complete" === instance.ownerDocument.readyState) 23444 ); 23445} 23446function registerSuspenseInstanceRetry(instance, callback) { 23447 var ownerDocument = instance.ownerDocument; 23448 if ("$?" !== instance.data || "complete" === ownerDocument.readyState) 23449 callback(); 23450 else { 23451 var listener = function () { 23452 callback(); 23453 ownerDocument.removeEventListener("DOMContentLoaded", listener); 23454 }; 23455 ownerDocument.addEventListener("DOMContentLoaded", listener); 23456 instance._reactRetry = listener; 23457 } 23458} 23459function getNextHydratable(node) { 23460 for (; null != node; node = node.nextSibling) { 23461 var nodeType = node.nodeType;
23462 if (1 === nodeType || 3 === nodeType) break; 23463 if (8 === nodeType) { 23464 nodeType = node.data; 23465 if ( 23466 "$" === nodeType || 23467 "$!" === nodeType || 23468 "$?" === nodeType || 23469 "F!" === nodeType || 23470 "F" === nodeType 23471 ) 23472 break; 23473 if ("/$" === nodeType) return null; 23474 } 23475 } 23476 return node; 23477} 23478var previousHydratableOnEnteringScopedSingleton = null; 23479function getParentSuspenseInstance(targetInstance) { 23480 targetInstance = targetInstance.previousSibling; 23481 for (var depth = 0; targetInstance; ) { 23482 if (8 === targetInstance.nodeType) { 23483 var data = targetInstance.data; 23484 if ("$" === data || "$!" === data || "$?" === data) { 23485 if (0 === depth) return targetInstance; 23486 depth--; 23487 } else "/$" === data && depth++; 23488 } 23489 targetInstance = targetInstance.previousSibling; 23490 } 23491 return null; 23492} 23493function resolveSingletonInstance(type, props, rootContainerInstance) { 23494 props = getOwnerDocumentFromRootContainer(rootContainerInstance); 23495 switch (type) { 23496 case "html": 23497 type = props.documentElement; 23498 if (!type) throw Error(formatProdErrorMessage(452)); 23499 return type; 23500 case "head": 23501 type = props.head; 23502 if (!type) throw Error(formatProdErrorMessage(453)); 23503 return type; 23504 case "body": 23505 type = props.body; 23506 if (!type) throw Error(formatProdErrorMessage(454)); 23507 return type; 23508 default: 23509 throw Error(formatProdErrorMessage(451)); 23510 } 23511} 23512function releaseSingletonInstance(instance) { 23513 for (var attributes = instance.attributes; attributes.length; ) 23514 instance.removeAttributeNode(attributes[0]); 23515 detachDeletedInstance(instance); 23516} 23517var preloadPropsMap = new Map(), 23518 preconnectsSet = new Set(); 23519function getHoistableRoot(container) { 23520 return "function" === typeof container.getRootNode 23521 ? container.getRootNode() 23522 : 9 === container.nodeType 23523 ? container 23524 : container.ownerDocument; 23525} 23526var previousDispatcher = ReactDOMSharedInternals.d; 23527ReactDOMSharedInternals.d = { 23528 f: flushSyncWork, 23529 r: requestFormReset, 23530 D: prefetchDNS, 23531 C: preconnect, 23532 L: preload, 23533 m: preloadModule, 23534 X: preinitScript, 23535 S: preinitStyle, 23536 M: preinitModuleScript 23537}; 23538function flushSyncWork() { 23539 var previousWasRendering = previousDispatcher.f(), 23540 wasRendering = flushSyncWork$1(); 23541 return previousWasRendering || wasRendering; 23542} 23543function requestFormReset(form) { 23544 var formInst = getInstanceFromNode(form); 23545 null !== formInst && 5 === formInst.tag && "form" === formInst.type 23546 ? requestFormReset$1(formInst) 23547 : previousDispatcher.r(form); 23548} 23549var globalDocument = "undefined" === typeof document ? null : document; 23550function preconnectAs(rel, href, crossOrigin) { 23551 var ownerDocument = globalDocument; 23552 if (ownerDocument && "string" === typeof href && href) { 23553 var limitedEscapedHref = 23554 escapeSelectorAttributeValueInsideDoubleQuotes(href); 23555 limitedEscapedHref = 23556 'link[rel="' + rel + '"][href="' + limitedEscapedHref + '"]'; 23557 "string" === typeof crossOrigin && 23558 (limitedEscapedHref += '[crossorigin="' + crossOrigin + '"]'); 23559 preconnectsSet.has(limitedEscapedHref) || 23560 (preconnectsSet.add(limitedEscapedHref), 23561 (rel = { rel: rel, crossOrigin: crossOrigin, href: href }), 23562 null === ownerDocument.querySelector(limitedEscapedHref) && 23563 ((href = ownerDocument.createElement("link")), 23564 setInitialProperties(href, "link", rel), 23565 markNodeAsHoistable(href), 23566 ownerDocument.head.appendChild(href))); 23567 } 23568} 23569function prefetchDNS(href) { 23570 previousDispatcher.D(href); 23571 preconnectAs("dns-prefetch", href, null); 23572} 23573function preconnect(href, crossOrigin) { 23574 previousDispatcher.C(href, crossOrigin); 23575 preconnectAs("preconnect", href, crossOrigin); 23576} 23577function preload(href, as, options) { 23578 previousDispatcher.L(href, as, options); 23579 var ownerDocument = globalDocument; 23580 if (ownerDocument && href && as) { 23581 var preloadSelector = 23582 'link[rel="preload"][as="' + 23583 escapeSelectorAttributeValueInsideDoubleQuotes(as) + 23584 '"]'; 23585 "image" === as 23586 ? options && options.imageSrcSet 23587 ? ((preloadSelector += 23588 '[imagesrcset="' + 23589 escapeSelectorAttributeValueInsideDoubleQuotes( 23590 options.imageSrcSet 23591 ) + 23592 '"]'), 23593 "string" === typeof options.imageSizes && 23594 (preloadSelector += 23595 '[imagesizes="' + 23596 escapeSelectorAttributeValueInsideDoubleQuotes( 23597 options.imageSizes 23598 ) + 23599 '"]')) 23600 : (preloadSelector += 23601 '[href="' + 23602 escapeSelectorAttributeValueInsideDoubleQuotes(href) + 23603 '"]') 23604 : (preloadSelector += 23605 '[href="' + 23606 escapeSelectorAttributeValueInsideDoubleQuotes(href) + 23607 '"]'); 23608 var key = preloadSelector; 23609 switch (as) { 23610 case "style": 23611 key = getStyleKey(href); 23612 break; 23613 case "script": 23614 key = getScriptKey(href); 23615 } 23616 preloadPropsMap.has(key) || 23617 ((href = assign( 23618 { 23619 rel: "preload", 23620 href: 23621 "image" === as && options && options.imageSrcSet ? void 0 : href, 23622 as: as 23623 }, 23624 options 23625 )), 23626 preloadPropsMap.set(key, href), 23627 null !== ownerDocument.querySelector(preloadSelector) || 23628 ("style" === as && 23629 ownerDocument.querySelector(getStylesheetSelectorFromKey(key))) || 23630 ("script" === as && 23631 ownerDocument.querySelector(getScriptSelectorFromKey(key))) || 23632 ((as = ownerDocument.createElement("link")), 23633 setInitialProperties(as, "link", href), 23634 markNodeAsHoistable(as), 23635 ownerDocument.head.appendChild(as))); 23636 } 23637} 23638function preloadModule(href, options) { 23639 previousDispatcher.m(href, options); 23640 var ownerDocument = globalDocument; 23641 if (ownerDocument && href) { 23642 var as = options && "string" === typeof options.as ? options.as : "script", 23643 preloadSelector = 23644 'link[rel="modulepreload"][as="' + 23645 escapeSelectorAttributeValueInsideDoubleQuotes(as) + 23646 '"][href="' + 23647 escapeSelectorAttributeValueInsideDoubleQuotes(href) + 23648 '"]', 23649 key = preloadSelector; 23650 switch (as) { 23651 case "audioworklet": 23652 case "paintworklet": 23653 case "serviceworker": 23654 case "sharedworker": 23655 case "worker": 23656 case "script": 23657 key = getScriptKey(href); 23658 } 23659 if ( 23660 !preloadPropsMap.has(key) && 23661 ((href = assign({ rel: "modulepreload", href: href }, options)), 23662 preloadPropsMap.set(key, href), 23663 null === ownerDocument.querySelector(preloadSelector)) 23664 ) { 23665 switch (as) { 23666 case "audioworklet": 23667 case "paintworklet": 23668 case "serviceworker": 23669 case "sharedworker": 23670 case "worker": 23671 case "script": 23672 if (ownerDocument.querySelector(getScriptSelectorFromKey(key))) 23673 return; 23674 } 23675 as = ownerDocument.createElement("link"); 23676 setInitialProperties(as, "link", href); 23677 markNodeAsHoistable(as); 23678 ownerDocument.head.appendChild(as); 23679 } 23680 } 23681} 23682function preinitStyle(href, precedence, options) { 23683 previousDispatcher.S(href, precedence, options); 23684 var ownerDocument = globalDocument; 23685 if (ownerDocument && href) { 23686 var styles = getResourcesFromRoot(ownerDocument).hoistableStyles, 23687 key = getStyleKey(href); 23688 precedence = precedence || "default"; 23689 var resource = styles.get(key); 23690 if (!resource) { 23691 var state = { loading: 0, preload: null }; 23692 if ( 23693 (resource = ownerDocument.querySelector( 23694 getStylesheetSelectorFromKey(key) 23695 )) 23696 ) 23697 state.loading = 5; 23698 else { 23699 href = assign( 23700 { rel: "stylesheet", href: href, "data-precedence": precedence }, 23701 options 23702 ); 23703 (options = preloadPropsMap.get(key)) && 23704 adoptPreloadPropsForStylesheet(href, options); 23705 var link = (resource = ownerDocument.createElement("link")); 23706 markNodeAsHoistable(link); 23707 setInitialProperties(link, "link", href); 23708 link._p = new Promise(function (resolve, reject) { 23709 link.onload = resolve; 23710 link.onerror = reject; 23711 }); 23712 link.addEventListener("load", function () { 23713 state.loading |= 1; 23714 }); 23715 link.addEventListener("error", function () { 23716 state.loading |= 2; 23717 }); 23718 state.loading |= 4; 23719 insertStylesheet(resource, precedence, ownerDocument); 23720 } 23721 resource = { 23722 type: "stylesheet", 23723 instance: resource, 23724 count: 1, 23725 state: state 23726 }; 23727 styles.set(key, resource); 23728 } 23729 } 23730} 23731function preinitScript(src, options) { 23732 previousDispatcher.X(src, options); 23733 var ownerDocument = globalDocument; 23734 if (ownerDocument && src) { 23735 var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, 23736 key = getScriptKey(src), 23737 resource = scripts.get(key); 23738 resource || 23739 ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))), 23740 resource || 23741 ((src = assign({ src: src, async: !0 }, options)), 23742 (options = preloadPropsMap.get(key)) && 23743 adoptPreloadPropsForScript(src, options), 23744 (resource = ownerDocument.createElement("script")), 23745 markNodeAsHoistable(resource), 23746 setInitialProperties(resource, "link", src), 23747 ownerDocument.head.appendChild(resource)), 23748 (resource = { 23749 type: "script", 23750 instance: resource, 23751 count: 1, 23752 state: null 23753 }), 23754 scripts.set(key, resource)); 23755 } 23756} 23757function preinitModuleScript(src, options) { 23758 previousDispatcher.M(src, options); 23759 var ownerDocument = globalDocument; 23760 if (ownerDocument && src) { 23761 var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts, 23762 key = getScriptKey(src), 23763 resource = scripts.get(key); 23764 resource || 23765 ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))), 23766 resource || 23767 ((src = assign({ src: src, async: !0, type: "module" }, options)), 23768 (options = preloadPropsMap.get(key)) && 23769 adoptPreloadPropsForScript(src, options), 23770 (resource = ownerDocument.createElement("script")), 23771 markNodeAsHoistable(resource), 23772 setInitialProperties(resource, "link", src), 23773 ownerDocument.head.appendChild(resource)), 23774 (resource = { 23775 type: "script", 23776 instance: resource, 23777 count: 1, 23778 state: null 23779 }), 23780 scripts.set(key, resource)); 23781 } 23782} 23783function getResource(type, currentProps, pendingProps, currentResource) { 23784 var JSCompiler_inline_result = (JSCompiler_inline_result = 23785 rootInstanceStackCursor.current) 23786 ? getHoistableRoot(JSCompiler_inline_result) 23787 : null; 23788 if (!JSCompiler_inline_result) throw Error(formatProdErrorMessage(446)); 23789 switch (type) { 23790 case "meta": 23791 case "title": 23792 return null; 23793 case "style": 23794 return "string" === typeof pendingProps.precedence && 23795 "string" === typeof pendingProps.href 23796 ? ((currentProps = getStyleKey(pendingProps.href)), 23797 (pendingProps = getResourcesFromRoot( 23798 JSCompiler_inline_result 23799 ).hoistableStyles), 23800 (currentResource = pendingProps.get(currentProps)), 23801 currentResource || 23802 ((currentResource = { 23803 type: "style", 23804 instance: null, 23805 count: 0, 23806 state: null 23807 }), 23808 pendingProps.set(currentProps, currentResource)), 23809 currentResource) 23810 : { type: "void", instance: null, count: 0, state: null }; 23811 case "link": 23812 if (
23813 "stylesheet" === pendingProps.rel && 23814 "string" === typeof pendingProps.href && 23815 "string" === typeof pendingProps.precedence 23816 ) { 23817 type = getStyleKey(pendingProps.href); 23818 var styles$244 = getResourcesFromRoot( 23819 JSCompiler_inline_result 23820 ).hoistableStyles, 23821 resource$245 = styles$244.get(type); 23822 resource$245 || 23823 ((JSCompiler_inline_result = 23824 JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), 23825 (resource$245 = { 23826 type: "stylesheet", 23827 instance: null, 23828 count: 0, 23829 state: { loading: 0, preload: null } 23830 }), 23831 styles$244.set(type, resource$245), 23832 (styles$244 = JSCompiler_inline_result.querySelector( 23833 getStylesheetSelectorFromKey(type) 23834 )) && 23835 !styles$244._p && 23836 ((resource$245.instance = styles$244), 23837 (resource$245.state.loading = 5)), 23838 preloadPropsMap.has(type) || 23839 ((pendingProps = { 23840 rel: "preload", 23841 as: "style", 23842 href: pendingProps.href, 23843 crossOrigin: pendingProps.crossOrigin, 23844 integrity: pendingProps.integrity, 23845 media: pendingProps.media, 23846 hrefLang: pendingProps.hrefLang, 23847 referrerPolicy: pendingProps.referrerPolicy 23848 }), 23849 preloadPropsMap.set(type, pendingProps), 23850 styles$244 || 23851 preloadStylesheet( 23852 JSCompiler_inline_result, 23853 type, 23854 pendingProps, 23855 resource$245.state 23856 ))); 23857 if (currentProps && null === currentResource) 23858 throw Error(formatProdErrorMessage(528, "")); 23859 return resource$245; 23860 } 23861 if (currentProps && null !== currentResource) 23862 throw Error(formatProdErrorMessage(529, "")); 23863 return null; 23864 case "script": 23865 return ( 23866 (currentProps = pendingProps.async), 23867 (pendingProps = pendingProps.src), 23868 "string" === typeof pendingProps && 23869 currentProps && 23870 "function" !== typeof currentProps && 23871 "symbol" !== typeof currentProps 23872 ? ((currentProps = getScriptKey(pendingProps)), 23873 (pendingProps = getResourcesFromRoot( 23874 JSCompiler_inline_result 23875 ).hoistableScripts), 23876 (currentResource = pendingProps.get(currentProps)), 23877 currentResource || 23878 ((currentResource = { 23879 type: "script", 23880 instance: null, 23881 count: 0, 23882 state: null 23883 }), 23884 pendingProps.set(currentProps, currentResource)), 23885 currentResource) 23886 : { type: "void", instance: null, count: 0, state: null } 23887 ); 23888 default: 23889 throw Error(formatProdErrorMessage(444, type)); 23890 } 23891} 23892function getStyleKey(href) { 23893 return 'href="' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '"'; 23894} 23895function getStylesheetSelectorFromKey(key) { 23896 return 'link[rel="stylesheet"][' + key + "]"; 23897} 23898function stylesheetPropsFromRawProps(rawProps) { 23899 return assign({}, rawProps, { 23900 "data-precedence": rawProps.precedence, 23901 precedence: null 23902 }); 23903} 23904function preloadStylesheet(ownerDocument, key, preloadProps, state) { 23905 ownerDocument.querySelector('link[rel="preload"][as="style"][' + key + "]") 23906 ? (state.loading = 1) 23907 : ((key = ownerDocument.createElement("link")), 23908 (state.preload = key), 23909 key.addEventListener("load", function () { 23910 return (state.loading |= 1); 23911 }), 23912 key.addEventListener("error", function () { 23913 return (state.loading |= 2); 23914 }), 23915 setInitialProperties(key, "link", preloadProps), 23916 markNodeAsHoistable(key), 23917 ownerDocument.head.appendChild(key)); 23918} 23919function getScriptKey(src) { 23920 return '[src="' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '"]'; 23921} 23922function getScriptSelectorFromKey(key) { 23923 return "script[async]" + key; 23924} 23925function acquireResource(hoistableRoot, resource, props) { 23926 resource.count++; 23927 if (null === resource.instance) 23928 switch (resource.type) { 23929 case "style": 23930 var instance = hoistableRoot.querySelector( 23931 'style[data-href~="' + 23932 escapeSelectorAttributeValueInsideDoubleQuotes(props.href) + 23933 '"]' 23934 ); 23935 if (instance) 23936 return ( 23937 (resource.instance = instance), 23938 markNodeAsHoistable(instance), 23939 instance 23940 ); 23941 var styleProps = assign({}, props, { 23942 "data-href": props.href, 23943 "data-precedence": props.precedence, 23944 href: null, 23945 precedence: null 23946 }); 23947 instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement( 23948 "style" 23949 ); 23950 markNodeAsHoistable(instance); 23951 setInitialProperties(instance, "style", styleProps); 23952 insertStylesheet(instance, props.precedence, hoistableRoot); 23953 return (resource.instance = instance); 23954 case "stylesheet": 23955 styleProps = getStyleKey(props.href); 23956 var instance$250 = hoistableRoot.querySelector( 23957 getStylesheetSelectorFromKey(styleProps) 23958 ); 23959 if (instance$250) 23960 return ( 23961 (resource.state.loading |= 4), 23962 (resource.instance = instance$250), 23963 markNodeAsHoistable(instance$250), 23964 instance$250 23965 ); 23966 instance = stylesheetPropsFromRawProps(props); 23967 (styleProps = preloadPropsMap.get(styleProps)) && 23968 adoptPreloadPropsForStylesheet(instance, styleProps); 23969 instance$250 = ( 23970 hoistableRoot.ownerDocument || hoistableRoot 23971 ).createElement("link"); 23972 markNodeAsHoistable(instance$250); 23973 var linkInstance = instance$250; 23974 linkInstance._p = new Promise(function (resolve, reject) { 23975 linkInstance.onload = resolve; 23976 linkInstance.onerror = reject; 23977 }); 23978 setInitialProperties(instance$250, "link", instance); 23979 resource.state.loading |= 4; 23980 insertStylesheet(instance$250, props.precedence, hoistableRoot); 23981 return (resource.instance = instance$250); 23982 case "script": 23983 instance$250 = getScriptKey(props.src); 23984 if ( 23985 (styleProps = hoistableRoot.querySelector( 23986 getScriptSelectorFromKey(instance$250) 23987 )) 23988 ) 23989 return ( 23990 (resource.instance = styleProps), 23991 markNodeAsHoistable(styleProps), 23992 styleProps 23993 ); 23994 instance = props; 23995 if ((styleProps = preloadPropsMap.get(instance$250))) 23996 (instance = assign({}, props)), 23997 adoptPreloadPropsForScript(instance, styleProps); 23998 hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; 23999 styleProps = hoistableRoot.createElement("script"); 24000 markNodeAsHoistable(styleProps); 24001 setInitialProperties(styleProps, "link", instance); 24002 hoistableRoot.head.appendChild(styleProps); 24003 return (resource.instance = styleProps); 24004 case "void": 24005 return null; 24006 default: 24007 throw Error(formatProdErrorMessage(443, resource.type)); 24008 } 24009 else 24010 "stylesheet" === resource.type && 24011 0 === (resource.state.loading & 4) && 24012 ((instance = resource.instance), 24013 (resource.state.loading |= 4), 24014 insertStylesheet(instance, props.precedence, hoistableRoot)); 24015 return resource.instance; 24016} 24017function insertStylesheet(instance, precedence, root) { 24018 for ( 24019 var nodes = root.querySelectorAll( 24020 'link[rel="stylesheet"][data-precedence],style[data-precedence]' 24021 ), 24022 last = nodes.length ? nodes[nodes.length - 1] : null, 24023 prior = last, 24024 i = 0; 24025 i < nodes.length; 24026 i++ 24027 ) { 24028 var node = nodes[i]; 24029 if (node.dataset.precedence === precedence) prior = node; 24030 else if (prior !== last) break; 24031 } 24032 prior 24033 ? prior.parentNode.insertBefore(instance, prior.nextSibling) 24034 : ((precedence = 9 === root.nodeType ? root.head : root), 24035 precedence.insertBefore(instance, precedence.firstChild)); 24036} 24037function adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) { 24038 null == stylesheetProps.crossOrigin && 24039 (stylesheetProps.crossOrigin = preloadProps.crossOrigin); 24040 null == stylesheetProps.referrerPolicy && 24041 (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy); 24042 null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title); 24043} 24044function adoptPreloadPropsForScript(scriptProps, preloadProps) { 24045 null == scriptProps.crossOrigin && 24046 (scriptProps.crossOrigin = preloadProps.crossOrigin); 24047 null == scriptProps.referrerPolicy && 24048 (scriptProps.referrerPolicy = preloadProps.referrerPolicy); 24049 null == scriptProps.integrity && 24050 (scriptProps.integrity = preloadProps.integrity); 24051} 24052var tagCaches = null; 24053function getHydratableHoistableCache(type, keyAttribute, ownerDocument) { 24054 if (null === tagCaches) { 24055 var cache = new Map(); 24056 var caches = (tagCaches = new Map()); 24057 caches.set(ownerDocument, cache); 24058 } else 24059 (caches = tagCaches), 24060 (cache = caches.get(ownerDocument)), 24061 cache || ((cache = new Map()), caches.set(ownerDocument, cache)); 24062 if (cache.has(type)) return cache; 24063 cache.set(type, null); 24064 ownerDocument = ownerDocument.getElementsByTagName(type); 24065 for (caches = 0; caches < ownerDocument.length; caches++) { 24066 var node = ownerDocument[caches]; 24067 if ( 24068 !( 24069 node[internalHoistableMarker] || 24070 node[internalInstanceKey] || 24071 ("link" === type && "stylesheet" === node.getAttribute("rel")) 24072 ) &&
24073 "http://www.w3.org/2000/svg" !== node.namespaceURI 24074 ) { 24075 var nodeKey = node.getAttribute(keyAttribute) || ""; 24076 nodeKey = type + nodeKey; 24077 var existing = cache.get(nodeKey); 24078 existing ? existing.push(node) : cache.set(nodeKey, [node]); 24079 } 24080 } 24081 return cache; 24082} 24083function mountHoistable(hoistableRoot, type, instance) { 24084 hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; 24085 hoistableRoot.head.insertBefore( 24086 instance, 24087 "title" === type ? hoistableRoot.querySelector("head > title") : null 24088 ); 24089} 24090function isHostHoistableType(type, props, hostContext) { 24091 if (1 === hostContext || null != props.itemProp) return !1; 24092 switch (type) { 24093 case "meta": 24094 case "title": 24095 return !0; 24096 case "style": 24097 if ( 24098 "string" !== typeof props.precedence || 24099 "string" !== typeof props.href || 24100 "" === props.href 24101 ) 24102 break; 24103 return !0; 24104 case "link": 24105 if ( 24106 "string" !== typeof props.rel || 24107 "string" !== typeof props.href || 24108 "" === props.href || 24109 props.onLoad || 24110 props.onError 24111 ) 24112 break; 24113 switch (props.rel) { 24114 case "stylesheet": 24115 return ( 24116 (type = props.disabled), 24117 "string" === typeof props.precedence && null == type 24118 ); 24119 default: 24120 return !0; 24121 } 24122 case "script": 24123 if ( 24124 props.async && 24125 "function" !== typeof props.async && 24126 "symbol" !== typeof props.async && 24127 !props.onLoad && 24128 !props.onError && 24129 props.src && 24130 "string" === typeof props.src 24131 ) 24132 return !0; 24133 } 24134 return !1; 24135} 24136function preloadResource(resource) { 24137 return "stylesheet" === resource.type && 0 === (resource.state.loading & 3) 24138 ? !1 24139 : !0; 24140} 24141var suspendedState = null; 24142function noop() {} 24143function suspendResource(hoistableRoot, resource, props) { 24144 if (null === suspendedState) throw Error(formatProdErrorMessage(475)); 24145 var state = suspendedState; 24146 if ( 24147 "stylesheet" === resource.type && 24148 ("string" !== typeof props.media || 24149 !1 !== matchMedia(props.media).matches) && 24150 0 === (resource.state.loading & 4) 24151 ) { 24152 if (null === resource.instance) { 24153 var key = getStyleKey(props.href), 24154 instance = hoistableRoot.querySelector( 24155 getStylesheetSelectorFromKey(key) 24156 ); 24157 if (instance) { 24158 hoistableRoot = instance._p; 24159 null !== hoistableRoot && 24160 "object" === typeof hoistableRoot && 24161 "function" === typeof hoistableRoot.then && 24162 (state.count++, 24163 (state = onUnsuspend.bind(state)), 24164 hoistableRoot.then(state, state)); 24165 resource.state.loading |= 4; 24166 resource.instance = instance; 24167 markNodeAsHoistable(instance); 24168 return; 24169 } 24170 instance = hoistableRoot.ownerDocument || hoistableRoot; 24171 props = stylesheetPropsFromRawProps(props); 24172 (key = preloadPropsMap.get(key)) && 24173 adoptPreloadPropsForStylesheet(props, key); 24174 instance = instance.createElement("link"); 24175 markNodeAsHoistable(instance); 24176 var linkInstance = instance; 24177 linkInstance._p = new Promise(function (resolve, reject) { 24178 linkInstance.onload = resolve; 24179 linkInstance.onerror = reject; 24180 }); 24181 setInitialProperties(instance, "link", props); 24182 resource.instance = instance; 24183 } 24184 null === state.stylesheets && (state.stylesheets = new Map()); 24185 state.stylesheets.set(resource, hoistableRoot); 24186 (hoistableRoot = resource.state.preload) && 24187 0 === (resource.state.loading & 3) && 24188 (state.count++, 24189 (resource = onUnsuspend.bind(state)), 24190 hoistableRoot.addEventListener("load", resource), 24191 hoistableRoot.addEventListener("error", resource)); 24192 } 24193} 24194function waitForCommitToBeReady() { 24195 if (null === suspendedState) throw Error(formatProdErrorMessage(475)); 24196 var state = suspendedState; 24197 state.stylesheets && 24198 0 === state.count && 24199 insertSuspendedStylesheets(state, state.stylesheets); 24200 return 0 < state.count 24201 ? function (commit) { 24202 var stylesheetTimer = setTimeout(function () { 24203 state.stylesheets && 24204 insertSuspendedStylesheets(state, state.stylesheets);
24205 if (state.unsuspend) { 24206 var unsuspend = state.unsuspend; 24207 state.unsuspend = null; 24208 unsuspend(); 24209 } 24210 }, 6e4); 24211 state.unsuspend = commit; 24212 return function () { 24213 state.unsuspend = null; 24214 clearTimeout(stylesheetTimer); 24215 }; 24216 } 24217 : null; 24218} 24219function onUnsuspend() { 24220 this.count--; 24221 if (0 === this.count) 24222 if (this.stylesheets) insertSuspendedStylesheets(this, this.stylesheets); 24223 else if (this.unsuspend) { 24224 var unsuspend = this.unsuspend; 24225 this.unsuspend = null; 24226 unsuspend(); 24227 } 24228} 24229var precedencesByRoot = null; 24230function insertSuspendedStylesheets(state, resources) { 24231 state.stylesheets = null; 24232 null !== state.unsuspend && 24233 (state.count++, 24234 (precedencesByRoot = new Map()), 24235 resources.forEach(insertStylesheetIntoRoot, state), 24236 (precedencesByRoot = null), 24237 onUnsuspend.call(state)); 24238} 24239function insertStylesheetIntoRoot(root, resource) { 24240 if (!(resource.state.loading & 4)) { 24241 var precedences = precedencesByRoot.get(root); 24242 if (precedences) var last = precedences.get(null); 24243 else { 24244 precedences = new Map(); 24245 precedencesByRoot.set(root, precedences); 24246 for ( 24247 var nodes = root.querySelectorAll( 24248 "link[data-precedence],style[data-precedence]" 24249 ), 24250 i = 0; 24251 i < nodes.length; 24252 i++ 24253 ) { 24254 var node = nodes[i]; 24255 if ( 24256 "LINK" === node.nodeName || 24257 "not all" !== node.getAttribute("media") 24258 ) 24259 precedences.set(node.dataset.precedence, node), (last = node); 24260 } 24261 last && precedences.set(null, last); 24262 } 24263 nodes = resource.instance; 24264 node = nodes.getAttribute("data-precedence"); 24265 i = precedences.get(node) || last; 24266 i === last && precedences.set(null, nodes); 24267 precedences.set(node, nodes); 24268 this.count++; 24269 last = onUnsuspend.bind(this); 24270 nodes.addEventListener("load", last); 24271 nodes.addEventListener("error", last); 24272 i 24273 ? i.parentNode.insertBefore(nodes, i.nextSibling) 24274 : ((root = 9 === root.nodeType ? root.head : root), 24275 root.insertBefore(nodes, root.firstChild)); 24276 resource.state.loading |= 4; 24277 } 24278} 24279var HostTransitionContext = { 24280 $$typeof: REACT_CONTEXT_TYPE, 24281 Provider: null, 24282 Consumer: null, 24283 _currentValue: sharedNotPendingObject, 24284 _currentValue2: sharedNotPendingObject, 24285 _threadCount: 0 24286}; 24287function FiberRootNode( 24288 containerInfo, 24289 tag, 24290 hydrate, 24291 identifierPrefix, 24292 onUncaughtError, 24293 onCaughtError, 24294 onRecoverableError, 24295 formState 24296) { 24297 this.tag = 1; 24298 this.containerInfo = containerInfo; 24299 this.pingCache = this.current = this.pendingChildren = null; 24300 this.timeoutHandle = -1; 24301 this.callbackNode = 24302 this.next = 24303 this.pendingContext = 24304 this.context = 24305 this.cancelPendingCommit = 24306 null; 24307 this.callbackPriority = 0; 24308 this.expirationTimes = createLaneMap(-1); 24309 this.entangledLanes = 24310 this.shellSuspendCounter = 24311 this.errorRecoveryDisabledLanes = 24312 this.expiredLanes = 24313 this.warmLanes = 24314 this.pingedLanes = 24315 this.suspendedLanes = 24316 this.pendingLanes = 24317 0; 24318 this.entanglements = createLaneMap(0); 24319 this.hiddenUpdates = createLaneMap(null); 24320 this.identifierPrefix = identifierPrefix; 24321 this.onUncaughtError = onUncaughtError; 24322 this.onCaughtError = onCaughtError; 24323 this.onRecoverableError = onRecoverableError; 24324 this.pooledCache = null; 24325 this.pooledCacheLanes = 0; 24326 this.formState = formState; 24327 this.incompleteTransitions = new Map(); 24328} 24329function createFiberRoot( 24330 containerInfo, 24331 tag, 24332 hydrate, 24333 initialChildren, 24334 hydrationCallbacks, 24335 isStrictMode, 24336 identifierPrefix, 24337 onUncaughtError, 24338 onCaughtError, 24339 onRecoverableError, 24340 transitionCallbacks, 24341 formState 24342) { 24343 containerInfo = new FiberRootNode( 24344 containerInfo, 24345 tag, 24346 hydrate, 24347 identifierPrefix, 24348 onUncaughtError, 24349 onCaughtError, 24350 onRecoverableError, 24351 formState 24352 ); 24353 tag = 1; 24354 !0 === isStrictMode && (tag |= 24); 24355 isStrictMode = createFiberImplClass(3, null, null, tag); 24356 containerInfo.current = isStrictMode; 24357 isStrictMode.stateNode = containerInfo; 24358 tag = createCache(); 24359 tag.refCount++; 24360 containerInfo.pooledCache = tag; 24361 tag.refCount++; 24362 isStrictMode.memoizedState = { 24363 element: initialChildren, 24364 isDehydrated: hydrate, 24365 cache: tag 24366 }; 24367 initializeUpdateQueue(isStrictMode); 24368 return containerInfo; 24369} 24370function getContextForSubtree(parentComponent) { 24371 if (!parentComponent) return emptyContextObject; 24372 parentComponent = emptyContextObject; 24373 return parentComponent; 24374} 24375function updateContainerImpl( 24376 rootFiber, 24377 lane, 24378 element, 24379 container, 24380 parentComponent, 24381 callback 24382) { 24383 parentComponent = getContextForSubtree(parentComponent); 24384 null === container.context 24385 ? (container.context = parentComponent) 24386 : (container.pendingContext = parentComponent); 24387 container = createUpdate(lane); 24388 container.payload = { element: element }; 24389 callback = void 0 === callback ? null : callback; 24390 null !== callback && (container.callback = callback); 24391 element = enqueueUpdate(rootFiber, container, lane); 24392 null !== element && 24393 (scheduleUpdateOnFiber(element, rootFiber, lane), 24394 entangleTransitions(element, rootFiber, lane)); 24395} 24396function markRetryLaneImpl(fiber, retryLane) { 24397 fiber = fiber.memoizedState; 24398 if (null !== fiber && null !== fiber.dehydrated) { 24399 var a = fiber.retryLane; 24400 fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane; 24401 } 24402} 24403function markRetryLaneIfNotHydrated(fiber, retryLane) { 24404 markRetryLaneImpl(fiber, retryLane); 24405 (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane); 24406} 24407function attemptContinuousHydration(fiber) { 24408 if (13 === fiber.tag) { 24409 var root = enqueueConcurrentRenderForLane(fiber, 67108864); 24410 null !== root && scheduleUpdateOnFiber(root, fiber, 67108864); 24411 markRetryLaneIfNotHydrated(fiber, 67108864); 24412 } 24413} 24414var _enabled = !0; 24415function dispatchDiscreteEvent( 24416 domEventName, 24417 eventSystemFlags, 24418 container, 24419 nativeEvent 24420) { 24421 var prevTransition = ReactSharedInternals.T; 24422 ReactSharedInternals.T = null; 24423 var previousPriority = ReactDOMSharedInternals.p; 24424 try { 24425 (ReactDOMSharedInternals.p = 2), 24426 dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); 24427 } finally { 24428 (ReactDOMSharedInternals.p = previousPriority), 24429 (ReactSharedInternals.T = prevTransition); 24430 } 24431} 24432function dispatchContinuousEvent( 24433 domEventName, 24434 eventSystemFlags, 24435 container, 24436 nativeEvent 24437) { 24438 var prevTransition = ReactSharedInternals.T; 24439 ReactSharedInternals.T = null; 24440 var previousPriority = ReactDOMSharedInternals.p; 24441 try { 24442 (ReactDOMSharedInternals.p = 8), 24443 dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent); 24444 } finally { 24445 (ReactDOMSharedInternals.p = previousPriority), 24446 (ReactSharedInternals.T = prevTransition); 24447 } 24448} 24449function dispatchEvent( 24450 domEventName, 24451 eventSystemFlags, 24452 targetContainer, 24453 nativeEvent 24454) { 24455 if (_enabled) { 24456 var blockedOn = findInstanceBlockingEvent(nativeEvent); 24457 if (null === blockedOn) 24458 dispatchEventForPluginEventSystem( 24459 domEventName, 24460 eventSystemFlags, 24461 nativeEvent, 24462 return_targetInst, 24463 targetContainer 24464 ), 24465 clearIfContinuousEvent(domEventName, nativeEvent); 24466 else if ( 24467 queueIfContinuousEvent( 24468 blockedOn, 24469 domEventName, 24470 eventSystemFlags, 24471 targetContainer, 24472 nativeEvent 24473 ) 24474 ) 24475 nativeEvent.stopPropagation(); 24476 else if ( 24477 (clearIfContinuousEvent(domEventName, nativeEvent), 24478 eventSystemFlags & 4 && 24479 -1 < discreteReplayableEvents.indexOf(domEventName)) 24480 ) { 24481 for (; null !== blockedOn; ) { 24482 var fiber = getInstanceFromNode(blockedOn); 24483 if (null !== fiber) 24484 switch (fiber.tag) { 24485 case 3: 24486 fiber = fiber.stateNode; 24487 if (fiber.current.memoizedState.isDehydrated) { 24488 var lanes = getHighestPriorityLanes(fiber.pendingLanes); 24489 if (0 !== lanes) { 24490 var root = fiber; 24491 root.pendingLanes |= 2; 24492 for (root.entangledLanes |= 2; lanes; ) { 24493 var lane = 1 << (31 - clz32(lanes)); 24494 root.entanglements[1] |= lane; 24495 lanes &= ~lane; 24496 } 24497 ensureRootIsScheduled(fiber); 24498 0 === (executionContext & 6) &&
24499 ((workInProgressRootRenderTargetTime = now() + 500), 24500 flushSyncWorkAcrossRoots_impl(0, !1)); 24501 } 24502 } 24503 break; 24504 case 13: 24505 (root = enqueueConcurrentRenderForLane(fiber, 2)), 24506 null !== root && scheduleUpdateOnFiber(root, fiber, 2), 24507 flushSyncWork$1(), 24508 markRetryLaneIfNotHydrated(fiber, 2); 24509 } 24510 fiber = findInstanceBlockingEvent(nativeEvent); 24511 null === fiber && 24512 dispatchEventForPluginEventSystem( 24513 domEventName, 24514 eventSystemFlags, 24515 nativeEvent, 24516 return_targetInst, 24517 targetContainer 24518 ); 24519 if (fiber === blockedOn) break; 24520 blockedOn = fiber; 24521 } 24522 null !== blockedOn && nativeEvent.stopPropagation(); 24523 } else 24524 dispatchEventForPluginEventSystem( 24525 domEventName, 24526 eventSystemFlags, 24527 nativeEvent, 24528 null, 24529 targetContainer 24530 ); 24531 } 24532} 24533function findInstanceBlockingEvent(nativeEvent) { 24534 nativeEvent = getEventTarget(nativeEvent); 24535 return findInstanceBlockingTarget(nativeEvent); 24536} 24537var return_targetInst = null; 24538function findInstanceBlockingTarget(targetNode) { 24539 return_targetInst = null; 24540 targetNode = getClosestInstanceFromNode(targetNode); 24541 if (null !== targetNode) { 24542 var nearestMounted = getNearestMountedFiber(targetNode); 24543 if (null === nearestMounted) targetNode = null; 24544 else { 24545 var tag = nearestMounted.tag; 24546 if (13 === tag) { 24547 targetNode = getSuspenseInstanceFromFiber(nearestMounted); 24548 if (null !== targetNode) return targetNode; 24549 targetNode = null; 24550 } else if (3 === tag) { 24551 if (nearestMounted.stateNode.current.memoizedState.isDehydrated) 24552 return 3 === nearestMounted.tag 24553 ? nearestMounted.stateNode.containerInfo 24554 : null; 24555 targetNode = null; 24556 } else nearestMounted !== targetNode && (targetNode = null); 24557 } 24558 } 24559 return_targetInst = targetNode; 24560 return null; 24561} 24562function getEventPriority(domEventName) { 24563 switch (domEventName) { 24564 case "beforetoggle": 24565 case "cancel": 24566 case "click": 24567 case "close": 24568 case "contextmenu": 24569 case "copy": 24570 case "cut": 24571 case "auxclick": 24572 case "dblclick": 24573 case "dragend": 24574 case "dragstart": 24575 case "drop": 24576 case "focusin": 24577 case "focusout": 24578 case "input": 24579 case "invalid": 24580 case "keydown": 24581 case "keypress": 24582 case "keyup": 24583 case "mousedown": 24584 case "mouseup": 24585 case "paste": 24586 case "pause": 24587 case "play": 24588 case "pointercancel": 24589 case "pointerdown": 24590 case "pointerup": 24591 case "ratechange": 24592 case "reset": 24593 case "resize": 24594 case "seeked": 24595 case "submit": 24596 case "toggle": 24597 case "touchcancel": 24598 case "touchend": 24599 case "touchstart": 24600 case "volumechange": 24601 case "change": 24602 case "selectionchange": 24603 case "textInput": 24604 case "compositionstart": 24605 case "compositionend": 24606 case "compositionupdate": 24607 case "beforeblur": 24608 case "afterblur": 24609 case "beforeinput": 24610 case "blur": 24611 case "fullscreenchange": 24612 case "focus": 24613 case "hashchange": 24614 case "popstate": 24615 case "select": 24616 case "selectstart": 24617 return 2; 24618 case "drag": 24619 case "dragenter": 24620 case "dragexit": 24621 case "dragleave": 24622 case "dragover": 24623 case "mousemove": 24624 case "mouseout": 24625 case "mouseover": 24626 case "pointermove": 24627 case "pointerout": 24628 case "pointerover": 24629 case "scroll": 24630 case "touchmove": 24631 case "wheel": 24632 case "mouseenter": 24633 case "mouseleave": 24634 case "pointerenter": 24635 case "pointerleave": 24636 return 8; 24637 case "message": 24638 switch (getCurrentPriorityLevel()) { 24639 case ImmediatePriority: 24640 return 2; 24641 case UserBlockingPriority: 24642 return 8; 24643 case NormalPriority$1: 24644 case LowPriority: 24645 return 32; 24646 case IdlePriority: 24647 return 268435456; 24648 default: 24649 return 32; 24650 } 24651 default: 24652 return 32; 24653 } 24654} 24655var hasScheduledReplayAttempt = !1, 24656 queuedFocus = null, 24657 queuedDrag = null, 24658 queuedMouse = null, 24659 queuedPointers = new Map(), 24660 queuedPointerCaptures = new Map(), 24661 queuedExplicitHydrationTargets = [], 24662 discreteReplayableEvents = 24663 "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split( 24664 " " 24665 ); 24666function clearIfContinuousEvent(domEventName, nativeEvent) { 24667 switch (domEventName) { 24668 case "focusin": 24669 case "focusout": 24670 queuedFocus = null; 24671 break; 24672 case "dragenter": 24673 case "dragleave": 24674 queuedDrag = null; 24675 break; 24676 case "mouseover": 24677 case "mouseout": 24678 queuedMouse = null; 24679 break; 24680 case "pointerover": 24681 case "pointerout": 24682 queuedPointers.delete(nativeEvent.pointerId); 24683 break; 24684 case "gotpointercapture": 24685 case "lostpointercapture": 24686 queuedPointerCaptures.delete(nativeEvent.pointerId); 24687 } 24688} 24689function accumulateOrCreateContinuousQueuedReplayableEvent( 24690 existingQueuedEvent, 24691 blockedOn, 24692 domEventName, 24693 eventSystemFlags, 24694 targetContainer, 24695 nativeEvent 24696) { 24697 if ( 24698 null === existingQueuedEvent || 24699 existingQueuedEvent.nativeEvent !== nativeEvent 24700 ) 24701 return ( 24702 (existingQueuedEvent = { 24703 blockedOn: blockedOn, 24704 domEventName: domEventName, 24705 eventSystemFlags: eventSystemFlags, 24706 nativeEvent: nativeEvent, 24707 targetContainers: [targetContainer] 24708 }), 24709 null !== blockedOn && 24710 ((blockedOn = getInstanceFromNode(blockedOn)), 24711 null !== blockedOn && attemptContinuousHydration(blockedOn)), 24712 existingQueuedEvent 24713 ); 24714 existingQueuedEvent.eventSystemFlags |= eventSystemFlags; 24715 blockedOn = existingQueuedEvent.targetContainers; 24716 null !== targetContainer && 24717 -1 === blockedOn.indexOf(targetContainer) && 24718 blockedOn.push(targetContainer); 24719 return existingQueuedEvent; 24720} 24721function queueIfContinuousEvent( 24722 blockedOn, 24723 domEventName, 24724 eventSystemFlags, 24725 targetContainer, 24726 nativeEvent 24727) { 24728 switch (domEventName) { 24729 case "focusin": 24730 return ( 24731 (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent( 24732 queuedFocus, 24733 blockedOn, 24734 domEventName, 24735 eventSystemFlags, 24736 targetContainer, 24737 nativeEvent 24738 )), 24739 !0 24740 ); 24741 case "dragenter": 24742 return ( 24743 (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent( 24744 queuedDrag, 24745 blockedOn, 24746 domEventName, 24747 eventSystemFlags, 24748 targetContainer, 24749 nativeEvent 24750 )), 24751 !0 24752 ); 24753 case "mouseover": 24754 return ( 24755 (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent( 24756 queuedMouse, 24757 blockedOn, 24758 domEventName, 24759 eventSystemFlags, 24760 targetContainer, 24761 nativeEvent 24762 )), 24763 !0 24764 ); 24765 case "pointerover": 24766 var pointerId = nativeEvent.pointerId; 24767 queuedPointers.set( 24768 pointerId, 24769 accumulateOrCreateContinuousQueuedReplayableEvent( 24770 queuedPointers.get(pointerId) || null, 24771 blockedOn, 24772 domEventName, 24773 eventSystemFlags, 24774 targetContainer, 24775 nativeEvent 24776 ) 24777 ); 24778 return !0; 24779 case "gotpointercapture": 24780 return ( 24781 (pointerId = nativeEvent.pointerId), 24782 queuedPointerCaptures.set( 24783 pointerId, 24784 accumulateOrCreateContinuousQueuedReplayableEvent( 24785 queuedPointerCaptures.get(pointerId) || null, 24786 blockedOn, 24787 domEventName, 24788 eventSystemFlags, 24789 targetContainer, 24790 nativeEvent 24791 ) 24792 ), 24793 !0 24794 ); 24795 } 24796 return !1; 24797} 24798function attemptExplicitHydrationTarget(queuedTarget) { 24799 var targetInst = getClosestInstanceFromNode(queuedTarget.target); 24800 if (null !== targetInst) { 24801 var nearestMounted = getNearestMountedFiber(targetInst); 24802 if (null !== nearestMounted) 24803 if (((targetInst = nearestMounted.tag), 13 === targetInst)) { 24804 if ( 24805 ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)), 24806 null !== targetInst) 24807 ) { 24808 queuedTarget.blockedOn = targetInst; 24809 runWithPriority(queuedTarget.priority, function () { 24810 if (13 === nearestMounted.tag) { 24811 var lane = requestUpdateLane(); 24812 lane = getBumpedLaneForHydrationByLane(lane); 24813 var root = enqueueConcurrentRenderForLane(nearestMounted, lane); 24814 null !== root && 24815 scheduleUpdateOnFiber(root, nearestMounted, lane); 24816 markRetryLaneIfNotHydrated(nearestMounted, lane); 24817 } 24818 }); 24819 return; 24820 } 24821 } else if ( 24822 3 === targetInst && 24823 nearestMounted.stateNode.current.memoizedState.isDehydrated 24824 ) { 24825 queuedTarget.blockedOn = 24826 3 === nearestMounted.tag 24827 ? nearestMounted.stateNode.containerInfo 24828 : null; 24829 return; 24830 } 24831 } 24832 queuedTarget.blockedOn = null; 24833} 24834function attemptReplayContinuousQueuedEvent(queuedEvent) { 24835 if (null !== queuedEvent.blockedOn) return !1; 24836 for ( 24837 var targetContainers = queuedEvent.targetContainers; 24838 0 < targetContainers.length; 24839 24840 ) { 24841 var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent); 24842 if (null === nextBlockedOn) { 24843 nextBlockedOn = queuedEvent.nativeEvent; 24844 var nativeEventClone = new nextBlockedOn.constructor( 24845 nextBlockedOn.type, 24846 nextBlockedOn 24847 ); 24848 currentReplayingEvent = nativeEventClone; 24849 nextBlockedOn.target.dispatchEvent(nativeEventClone); 24850 currentReplayingEvent = null; 24851 } else 24852 return ( 24853 (targetContainers = getInstanceFromNode(nextBlockedOn)), 24854 null !== targetContainers &&
24855 attemptContinuousHydration(targetContainers), 24856 (queuedEvent.blockedOn = nextBlockedOn), 24857 !1 24858 ); 24859 targetContainers.shift(); 24860 } 24861 return !0; 24862} 24863function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) { 24864 attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key); 24865} 24866function replayUnblockedEvents() { 24867 hasScheduledReplayAttempt = !1; 24868 null !== queuedFocus && 24869 attemptReplayContinuousQueuedEvent(queuedFocus) && 24870 (queuedFocus = null); 24871 null !== queuedDrag && 24872 attemptReplayContinuousQueuedEvent(queuedDrag) && 24873 (queuedDrag = null); 24874 null !== queuedMouse && 24875 attemptReplayContinuousQueuedEvent(queuedMouse) && 24876 (queuedMouse = null); 24877 queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap); 24878 queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap); 24879} 24880function scheduleCallbackIfUnblocked(queuedEvent, unblocked) { 24881 queuedEvent.blockedOn === unblocked && 24882 ((queuedEvent.blockedOn = null), 24883 hasScheduledReplayAttempt || 24884 ((hasScheduledReplayAttempt = !0), 24885 Scheduler.unstable_scheduleCallback( 24886 Scheduler.unstable_NormalPriority, 24887 replayUnblockedEvents 24888 ))); 24889} 24890var lastScheduledReplayQueue = null; 24891function scheduleReplayQueueIfNeeded(formReplayingQueue) { 24892 lastScheduledReplayQueue !== formReplayingQueue && 24893 ((lastScheduledReplayQueue = formReplayingQueue), 24894 Scheduler.unstable_scheduleCallback( 24895 Scheduler.unstable_NormalPriority, 24896 function () { 24897 lastScheduledReplayQueue === formReplayingQueue && 24898 (lastScheduledReplayQueue = null); 24899 for (var i = 0; i < formReplayingQueue.length; i += 3) { 24900 var form = formReplayingQueue[i], 24901 submitterOrAction = formReplayingQueue[i + 1], 24902 formData = formReplayingQueue[i + 2]; 24903 if ("function" !== typeof submitterOrAction) 24904 if (null === findInstanceBlockingTarget(submitterOrAction || form)) 24905 continue; 24906 else break; 24907 var formInst = getInstanceFromNode(form); 24908 null !== formInst && 24909 (formReplayingQueue.splice(i, 3), 24910 (i -= 3), 24911 startHostTransition( 24912 formInst, 24913 { 24914 pending: !0, 24915 data: formData, 24916 method: form.method, 24917 action: submitterOrAction 24918 }, 24919 submitterOrAction, 24920 formData 24921 )); 24922 } 24923 } 24924 )); 24925} 24926function retryIfBlockedOn(unblocked) { 24927 function unblock(queuedEvent) { 24928 return scheduleCallbackIfUnblocked(queuedEvent, unblocked); 24929 } 24930 null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked); 24931 null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked); 24932 null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked); 24933 queuedPointers.forEach(unblock); 24934 queuedPointerCaptures.forEach(unblock); 24935 for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) { 24936 var queuedTarget = queuedExplicitHydrationTargets[i]; 24937 queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null); 24938 } 24939 for ( 24940 ; 24941 0 < queuedExplicitHydrationTargets.length && 24942 ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn); 24943 24944 ) 24945 attemptExplicitHydrationTarget(i), 24946 null === i.blockedOn && queuedExplicitHydrationTargets.shift(); 24947 i = (unblocked.ownerDocument || unblocked).$$reactFormReplay; 24948 if (null != i) 24949 for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) { 24950 var form = i[queuedTarget], 24951 submitterOrAction = i[queuedTarget + 1], 24952 formProps = form[internalPropsKey] || null; 24953 if ("function" === typeof submitterOrAction) 24954 formProps || scheduleReplayQueueIfNeeded(i); 24955 else if (formProps) { 24956 var action = null; 24957 if (submitterOrAction && submitterOrAction.hasAttribute("formAction")) 24958 if ( 24959 ((form = submitterOrAction), 24960 (formProps = submitterOrAction[internalPropsKey] || null)) 24961 ) 24962 action = formProps.formAction; 24963 else { 24964 if (null !== findInstanceBlockingTarget(form)) continue; 24965 } 24966 else action = formProps.action; 24967 "function" === typeof action 24968 ? (i[queuedTarget + 1] = action) 24969 : (i.splice(queuedTarget, 3), (queuedTarget -= 3)); 24970 scheduleReplayQueueIfNeeded(i); 24971 } 24972 } 24973} 24974function ReactDOMRoot(internalRoot) { 24975 this._internalRoot = internalRoot; 24976} 24977ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = 24978 function (children) { 24979 var root = this._internalRoot; 24980 if (null === root) throw Error(formatProdErrorMessage(409)); 24981 var current = root.current, 24982 lane = requestUpdateLane(); 24983 updateContainerImpl(current, lane, children, root, null, null); 24984 }; 24985ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = 24986 function () { 24987 var root = this._internalRoot; 24988 if (null !== root) { 24989 this._internalRoot = null; 24990 var container = root.containerInfo; 24991 updateContainerImpl(root.current, 2, null, root, null, null); 24992 flushSyncWork$1(); 24993 container[internalContainerInstanceKey] = null; 24994 } 24995 }; 24996function ReactDOMHydrationRoot(internalRoot) { 24997 this._internalRoot = internalRoot; 24998} 24999ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 25000 if (target) { 25001 var updatePriority = resolveUpdatePriority(); 25002 target = { blockedOn: null, target: target, priority: updatePriority }; 25003 for ( 25004 var i = 0; 25005 i < queuedExplicitHydrationTargets.length && 25006 0 !== updatePriority && 25007 updatePriority < queuedExplicitHydrationTargets[i].priority; 25008 i++ 25009 ); 25010 queuedExplicitHydrationTargets.splice(i, 0, target); 25011 0 === i && attemptExplicitHydrationTarget(target); 25012 } 25013}; 25014var isomorphicReactPackageVersion$jscomp$inline_1785 = React.ver
25014sion; 25015if ( 25016 "19.1.0" !== 25017 isomorphicReactPackageVersion$jscomp$inline_1785 25018) 25019 throw Error( 25020 formatProdErrorMessage( 25021 527, 25022 isomorphicReactPackageVersion$jscomp$inline_1785, 25023 "19.1.0" 25024 ) 25025 ); 25026ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { 25027 var fiber = componentOrElement._reactInternals; 25028 if (void 0 === fiber) { 25029 if ("function" === typeof componentOrElement.render) 25030 throw Error(formatProdErrorMessage(188)); 25031 componentOrElement = Object.keys(componentOrElement).join(","); 25032 throw Error(formatProdErrorMessage(268, componentOrElement)); 25033 } 25034 componentOrElement = findCurrentFiberUsingSlowPath(fiber); 25035 componentOrElement = 25036 null !== componentOrElement 25037 ? findCurrentHostFiberImpl(componentOrElement) 25038 : null; 25039 componentOrElement = 25040 null === componentOrElement ? null : componentOrElement.stateNode; 25041 return componentOrElement; 25042}; 25043var internals$jscomp$inline_2256 = { 25044 bundleType: 0, 25045 version: "19.1.0", 25046 rendererPackageName: "react-dom", 25047 currentDispatcherRef: ReactSharedInternals, 25048 reconcilerVersion: "19.1.0" 25049}; 25050if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { 25051 var hook$jscomp$inline_2257 = __REACT_DEVTOOLS_GLOBAL_HOOK__; 25052 if ( 25053 !hook$jscomp$inline_2257.isDisabled && 25054 hook$jscomp$inline_2257.supportsFiber 25055 ) 25056 try { 25057 (rendererID = hook$jscomp$inline_2257.inject( 25058 internals$jscomp$inline_2256 25059 )), 25060 (injectedHook = hook$jscomp$inline_2257); 25061 } catch (err) {} 25062} 25063exports.createRoot = function (container, options) { 25064 if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299)); 25065 var isStrictMode = !1, 25066 identifierPrefix = "", 25067 onUncaughtError = defaultOnUncaughtError, 25068 onCaughtError = defaultOnCaughtError, 25069 onRecoverableError = defaultOnRecoverableError, 25070 transitionCallbacks = null; 25071 null !== options && 25072 void 0 !== options && 25073 (!0 === options.unstable_strictMode && (isStrictMode = !0), 25074 void 0 !== options.identifierPrefix && 25075 (identifierPrefix = options.identifierPrefix), 25076 void 0 !== options.onUncaughtError && 25077 (onUncaughtError = options.onUncaughtError), 25078 void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), 25079 void 0 !== options.onRecoverableError && 25080 (onRecoverableError = options.onRecoverableError), 25081 void 0 !== options.unstable_transitionCallbacks && 25082 (transitionCallbacks = options.unstable_transitionCallbacks)); 25083 options = createFiberRoot( 25084 container, 25085 1, 25086 !1, 25087 null, 25088 null, 25089 isStrictMode, 25090 identifierPrefix, 25091 onUncaughtError, 25092 onCaughtError, 25093 onRecoverableError, 25094 transitionCallbacks, 25095 null 25096 ); 25097 container[internalContainerInstanceKey] = options.current; 25098 listenToAllSupportedEvents(container); 25099 return new ReactDOMRoot(options); 25100}; 25101exports.hydrateRoot = function (container, initialChildren, options) { 25102 if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299)); 25103 var isStrictMode = !1, 25104 identifierPrefix = "", 25105 onUncaughtError = defaultOnUncaughtError, 25106 onCaughtError = defaultOnCaughtError, 25107 onRecoverableError = defaultOnRecoverableError, 25108 transitionCallbacks = null, 25109 formState = null; 25110 null !== options && 25111 void 0 !== options && 25112 (!0 === options.unstable_strictMode && (isStrictMode = !0), 25113 void 0 !== options.identifierPrefix && 25114 (identifierPrefix = options.identifierPrefix), 25115 void 0 !== options.onUncaughtError && 25116 (onUncaughtError = options.onUncaughtError), 25117 void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError), 25118 void 0 !== options.onRecoverableError && 25119 (onRecoverableError = options.onRecoverableError), 25120 void 0 !== options.unstable_transitionCallbacks && 25121 (transitionCallbacks = options.unstable_transitionCallbacks), 25122 void 0 !== options.formState && (formState = options.formState)); 25123 initialChildren = createFiberRoot( 25124 container, 25125 1, 25126 !0, 25127 initialChildren, 25128 null != options ? options : null, 25129 isStrictMode, 25130 identifierPrefix, 25131 onUncaughtError, 25132 onCaughtError, 25133 onRecoverableError, 25134 transitionCallbacks, 25135 formState 25136 ); 25137 initialChildren.context = getContextForSubtree(null); 25138 options = initialChildren.current; 25139 isStrictMode = requestUpdateLane(); 25140 isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode); 25141 identifierPrefix = createUpdate(isStrictMode); 25142 identifierPrefix.callback = null; 25143 enqueueUpdate(options, identifierPrefix, isStrictMode); 25144 options = isStrictMode; 25145 initialChildren.current.lanes = options; 25146 markRootUpdated$1(initialChildren, options); 25147 ensureRootIsScheduled(initialChildren); 25148 container[internalContainerInstanceKey] = initialChildren.current; 25149 listenToAllSupportedEvents(container); 25150 return new ReactDOMHydrationRoot(initialChildren); 25151}; 25152exports.version = "19.1.0"; 25153 25154 25155/***/ }), 25156 25157/***/ 38389: 25158/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 25159 25160"use strict"; 25161/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25162/* harmony export */ A: () => (/* binding */ useIsBrowser) 25163/* harmony export */ }); 25164/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 25165/* harmony import */ var _browserContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73855); 25166 25167 25168function useIsBrowser() { 25169 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_browserContext__WEBPACK_IMPORTED_MODULE_1__/* .Context */ .o); 25170} 25171 25172 25173/***/ }), 25174 25175/***/ 38915: 25176/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 25177 25178var map = { 25179 "./prism-bash": 21347, 25180 "./prism-json": 28895 25181}; 25182 25183 25184function webpackContext(req) { 25185 var id = webpackContextResolve(req); 25186 return __webpack_require__(id); 25187} 25188function webpackContextResolve(req) { 25189 if(!__webpack_require__.o(map, req)) { 25190 var e = new Error("Cannot find module '" + req + "'"); 25191 e.code = 'MODULE_NOT_FOUND'; 25192 throw e; 25193 } 25194 return map[req]; 25195} 25196webpackContext.keys = function webpackContextKeys() { 25197 return Object.keys(map); 25198}; 25199webpackContext.resolve = webpackContextResolve; 25200module.exports = webpackContext; 25201webpackContext.id = 38915; 25202 25203/***/ }), 25204 25205/***/ 40821: 25206/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 25207 25208"use strict"; 25209/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25210/* harmony export */ C: () => (/* binding */ DEFAULT_SEARCH_TAG) 25211/* harmony export */ }); 25212const DEFAULT_SEARCH_TAG = "default"; 25213 25214 25215/***/ }), 25216 25217/***/ 41261: 25218/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 25219 25220"use strict"; 25221 25222function _inheritsLoose(subClass, superClass) { 25223 subClass.prototype = Object.create(superClass.prototype); 25224 subClass.prototype.constructor = subClass; 25225 subClass.__proto__ = superClass; 25226} 25227function _assertThisInitialized(self) { 25228 if (self === void 0) { 25229 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 25230 } 25231 return self; 25232} 25233function _defineProperty(obj, key, value) { 25234 if (key in obj) { 25235 Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true }); 25236 } else { 25237 obj[key] = value; 25238 } 25239 return obj; 25240} 25241function _extends() { 25242 _extends = Object.assign || function(target) { 25243 for (var i = 1; i < arguments.length; i++) { 25244 var source = arguments[i]; 25245 for (var key in source) { 25246 if (Object.prototype.hasOwnProperty.call(source, key)) { 25247 target[key] = source[key]; 25248 } 25249 } 25250 } 25251 return target; 25252 }; 25253 return _extends.apply(this, arguments); 25254} 25255var React = __webpack_require__(77407); 25256var ALL_INITIALIZERS = []; 25257var READY_INITIALIZERS = []; 25258function isWebpackReady(getModuleIds) { 25259 if (false) {} 25260 return getModuleIds().every(function(moduleId) { 25261 return typeof moduleId !== "undefined" && typeof __webpack_require__.m[moduleId] !== "undefined"; 25262 }); 25263} 25264var LoadableCaptureContext = React.createContext(null); 25265function load(loader) { 25266 var promise = loader(); 25267 var state = { 25268 loading: true, 25269 loaded: null, 25270 error: null 25271 }; 25272 state.promise = promise.then(function(loaded) { 25273 state.loading = false;
25274 state.loaded = loaded; 25275 return loaded; 25276 }).catch(function(err) { 25277 state.loading = false; 25278 state.error = err; 25279 throw err; 25280 }); 25281 return state; 25282} 25283function loadMap(obj) { 25284 var state = { 25285 loading: false, 25286 loaded: {}, 25287 error: null 25288 }; 25289 var promises = []; 25290 try { 25291 Object.keys(obj).forEach(function(key) { 25292 var result = load(obj[key]); 25293 if (!result.loading) { 25294 state.loaded[key] = result.loaded; 25295 state.error = result.error; 25296 } else { 25297 state.loading = true; 25298 } 25299 promises.push(result.promise); 25300 result.promise.then(function(res) { 25301 state.loaded[key] = res; 25302 }).catch(function(err) { 25303 state.error = err; 25304 }); 25305 }); 25306 } catch (err) { 25307 state.error = err; 25308 } 25309 state.promise = Promise.all(promises).then(function(res) { 25310 state.loading = false; 25311 return res; 25312 }).catch(function(err) { 25313 state.loading = false; 25314 throw err; 25315 }); 25316 return state; 25317} 25318function resolve(obj) { 25319 return obj && obj.__esModule ? obj.default : obj; 25320} 25321function render(loaded, props) { 25322 return React.createElement(resolve(loaded), props); 25323} 25324function createLoadableComponent(loadFn, options) { 25325 var _class, _temp; 25326 if (!options.loading) { 25327 throw new Error("react-loadable requires a `loading` component"); 25328 } 25329 var opts = _extends({ 25330 loader: null, 25331 loading: null, 25332 delay: 200, 25333 timeout: null, 25334 render, 25335 webpack: null, 25336 modules: null 25337 }, options); 25338 var res = null; 25339 function init() { 25340 if (!res) { 25341 res = loadFn(opts.loader); 25342 } 25343 return res.promise; 25344 } 25345 ALL_INITIALIZERS.push(init); 25346 if (typeof opts.webpack === "function") { 25347 READY_INITIALIZERS.push(function() { 25348 if (isWebpackReady(opts.webpack)) { 25349 return init(); 25350 } 25351 }); 25352 } 25353 return _temp = _class = /* @__PURE__ */ function(_React$Component) { 25354 _inheritsLoose(LoadableComponent, _React$Component); 25355 function LoadableComponent(props) { 25356 var _this; 25357 _this = _React$Component.call(this, props) || this; 25358 _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "retry", function() { 25359 _this.setState({ 25360 error: null, 25361 loading: true, 25362 timedOut: false 25363 }); 25364 res = loadFn(opts.loader); 25365 _this._loadModule(); 25366 }); 25367 init(); 25368 _this.state = { 25369 error: res.error, 25370 pastDelay: false, 25371 timedOut: false, 25372 loading: res.loading, 25373 loaded: res.loaded 25374 }; 25375 return _this; 25376 } 25377 LoadableComponent.preload = function preload() { 25378 return init(); 25379 }; 25380 var _proto = LoadableComponent.prototype; 25381 _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() { 25382 this._loadModule(); 25383 }; 25384 _proto.componentDidMount = function componentDidMount() { 25385 this._mounted = true; 25386 }; 25387 _proto._loadModule = function _loadModule() { 25388 var _this2 = this; 25389 if (this.context && Array.isArray(opts.modules)) { 25390 opts.modules.forEach(function(moduleName) { 25391 _this2.context.report(moduleName); 25392 }); 25393 } 25394 if (!res.loading) { 25395 return; 25396 } 25397 var setStateWithMountCheck = function setStateWithMountCheck2(newState) { 25398 if (!_this2._mounted) { 25399 return; 25400 } 25401 _this2.setState(newState); 25402 }; 25403 if (typeof opts.delay === "number") { 25404 if (opts.delay === 0) { 25405 this.setState({ 25406 pastDelay: true 25407 }); 25408 } else { 25409 this._delay = setTimeout(function() { 25410 setStateWithMountCheck({ 25411 pastDelay: true 25412 }); 25413 }, opts.delay); 25414 } 25415 } 25416 if (typeof opts.timeout === "number") { 25417 this._timeout = setTimeout(function() { 25418 setStateWithMountCheck({ 25419 timedOut: true 25420 }); 25421 }, opts.timeout); 25422 } 25423 var update = function update2() { 25424 setStateWithMountCheck({ 25425 error: res.error, 25426 loaded: res.loaded, 25427 loading: res.loading 25428 }); 25429 _this2._clearTimeouts(); 25430 }; 25431 res.promise.then(function() { 25432 update(); 25433 return null; 25434 }).catch(function(err) { 25435 update(); 25436 return null; 25437 }); 25438 }; 25439 _proto.componentWillUnmount = function componentWillUnmount() { 25440 this._mounted = false;
25441 this._clearTimeouts(); 25442 }; 25443 _proto._clearTimeouts = function _clearTimeouts() { 25444 clearTimeout(this._delay); 25445 clearTimeout(this._timeout); 25446 }; 25447 _proto.render = function render2() { 25448 if (this.state.loading || this.state.error) { 25449 return React.createElement(opts.loading, { 25450 isLoading: this.state.loading, 25451 pastDelay: this.state.pastDelay, 25452 timedOut: this.state.timedOut, 25453 error: this.state.error, 25454 retry: this.retry 25455 }); 25456 } else if (this.state.loaded) { 25457 return opts.render(this.state.loaded, this.props); 25458 } else { 25459 return null; 25460 } 25461 }; 25462 return LoadableComponent; 25463 }(React.Component), _defineProperty(_class, "contextType", LoadableCaptureContext), _temp; 25464} 25465function Loadable(opts) { 25466 return createLoadableComponent(load, opts); 25467} 25468function LoadableMap(opts) { 25469 if (typeof opts.render !== "function") { 25470 throw new Error("LoadableMap requires a `render(loaded, props)` function"); 25471 } 25472 return createLoadableComponent(loadMap, opts); 25473} 25474Loadable.Map = LoadableMap; 25475var Capture = /* @__PURE__ */ function(_React$Component2) { 25476 _inheritsLoose(Capture2, _React$Component2); 25477 function Capture2() { 25478 return _React$Component2.apply(this, arguments) || this; 25479 } 25480 var _proto2 = Capture2.prototype; 25481 _proto2.render = function render2() { 25482 return React.createElement(LoadableCaptureContext.Provider, { 25483 value: { 25484 report: this.props.report 25485 } 25486 }, React.Children.only(this.props.children)); 25487 }; 25488 return Capture2; 25489}(React.Component); 25490Loadable.Capture = Capture; 25491function flushInitializers(initializers) { 25492 var promises = []; 25493 while (initializers.length) { 25494 var init = initializers.pop(); 25495 promises.push(init()); 25496 } 25497 return Promise.all(promises).then(function() { 25498 if (initializers.length) { 25499 return flushInitializers(initializers); 25500 } 25501 }); 25502} 25503Loadable.preloadAll = function() { 25504 return new Promise(function(resolve2, reject) { 25505 flushInitializers(ALL_INITIALIZERS).then(resolve2, reject); 25506 }); 25507}; 25508Loadable.preloadReady = function() { 25509 return new Promise(function(resolve2, reject) { 25510 flushInitializers(READY_INITIALIZERS).then(resolve2, resolve2); 25511 }); 25512}; 25513module.exports = Loadable; 25514 25515 25516/***/ }), 25517 25518/***/ 43724: 25519/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 25520 25521"use strict"; 25522/** 25523 * Copyright (c) 2013-present, Facebook, Inc. 25524 * 25525 * This source code is licensed under the MIT license found in the 25526 * LICENSE file in the root directory of this source tree. 25527 */ 25528 25529 25530 25531var ReactPropTypesSecret = __webpack_require__(5403); 25532 25533function emptyFunction() {} 25534function emptyFunctionWithReset() {} 25535emptyFunctionWithReset.resetWarningCache = emptyFunction; 25536 25537module.exports = function() { 25538 function shim(props, propName, componentName, location, propFullName, secret) { 25539 if (secret === ReactPropTypesSecret) { 25540 // It is still safe when called from React. 25541 return; 25542 } 25543 var err = new Error( 25544 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 25545 'Use PropTypes.checkPropTypes() to call them. ' + 25546 'Read more at http://fb.me/use-check-prop-types' 25547 ); 25548 err.name = 'Invariant Violation'; 25549 throw err; 25550 }; 25551 shim.isRequired = shim; 25552 function getShim() { 25553 return shim; 25554 }; 25555 // Important! 25556 // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. 25557 var ReactPropTypes = { 25558 array: shim, 25559 bigint: shim, 25560 bool: shim, 25561 func: shim, 25562 number: shim, 25563 object: shim, 25564 string: shim, 25565 symbol: shim, 25566 25567 any: shim, 25568 arrayOf: getShim, 25569 element: shim, 25570 elementType: shim, 25571 instanceOf: getShim, 25572 node: shim, 25573 objectOf: getShim, 25574 oneOf: getShim, 25575 oneOfType: getShim, 25576 shape: getShim, 25577 exact: getShim, 25578 25579 checkPropTypes: emptyFunctionWithReset, 25580 resetWarningCache: emptyFunction 25581 }; 25582 25583 ReactPropTypes.PropTypes = ReactPropTypes; 25584 25585 return ReactPropTypes; 25586}; 25587 25588 25589/***/ }), 25590 25591/***/ 44042: 25592/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 25593 25594"use strict"; 25595/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25596/* harmony export */ c: () => (/* binding */ useAlgoliaThemeConfig) 25597/* harmony export */ }); 25598/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99788); 25599 25600function useAlgoliaThemeConfig() {
25601 const { siteConfig: { themeConfig } } = (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__["default"])(); 25602 return themeConfig; 25603} 25604 25605 25606/***/ }), 25607 25608/***/ 44823: 25609/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 25610 25611"use strict"; 25612/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25613/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) 25614/* harmony export */ }); 25615/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 25616/* harmony import */ var _ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91979); 25617 25618 25619const useIsomorphicLayoutEffect = _ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.canUseDOM ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect; 25620/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsomorphicLayoutEffect); 25621 25622 25623/***/ }), 25624 25625/***/ 45309: 25626/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 25627 25628"use strict"; 25629/** 25630 * @license React 25631 * react-dom.production.js 25632 * 25633 * Copyright (c) Meta Platforms, Inc. and affiliates. 25634 * 25635 * This source code is licensed under the MIT license found in the 25636 * LICENSE file in the root directory of this source tree. 25637 */ 25638 25639 25640var React = __webpack_require__(77407); 25641function formatProdErrorMessage(code) { 25642 var url = "https://react.dev/errors/" + code; 25643 if (1 < arguments.length) { 25644 url += "?args[]=" + encodeURIComponent(arguments[1]); 25645 for (var i = 2; i < arguments.length; i++) 25646 url += "&args[]=" + encodeURIComponent(arguments[i]); 25647 } 25648 return ( 25649 "Minified React error #" + 25650 code + 25651 "; visit " + 25652 url + 25653 " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." 25654 ); 25655} 25656function noop() {} 25657var Internals = { 25658 d: { 25659 f: noop, 25660 r: function () { 25661 throw Error(formatProdErrorMessage(522)); 25662 }, 25663 D: noop, 25664 C: noop, 25665 L: noop, 25666 m: noop, 25667 X: noop, 25668 S: noop, 25669 M: noop 25670 }, 25671 p: 0, 25672 findDOMNode: null 25673 }, 25674 REACT_PORTAL_TYPE = Symbol.for("react.portal"); 25675function createPortal$1(children, containerInfo, implementation) { 25676 var key = 25677 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; 25678 return { 25679 $$typeof: REACT_PORTAL_TYPE, 25680 key: null == key ? null : "" + key, 25681 children: children, 25682 containerInfo: containerInfo, 25683 implementation: implementation 25684 }; 25685} 25686var ReactSharedInternals = 25687 React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; 25688function getCrossOriginStringAs(as, input) { 25689 if ("font" === as) return ""; 25690 if ("string" === typeof input) 25691 return "use-credentials" === input ? input : ""; 25692} 25693exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = 25694 Internals; 25695exports.createPortal = function (children, container) { 25696 var key = 25697 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; 25698 if ( 25699 !container || 25700 (1 !== container.nodeType && 25701 9 !== container.nodeType && 25702 11 !== container.nodeType) 25703 ) 25704 throw Error(formatProdErrorMessage(299)); 25705 return createPortal$1(children, container, null, key); 25706}; 25707exports.flushSync = function (fn) { 25708 var previousTransition = ReactSharedInternals.T, 25709 previousUpdatePriority = Internals.p; 25710 try { 25711 if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn(); 25712 } finally { 25713 (ReactSharedInternals.T = previousTransition), 25714 (Internals.p = previousUpdatePriority), 25715 Internals.d.f(); 25716 } 25717}; 25718exports.preconnect = function (href, options) { 25719 "string" === typeof href && 25720 (options 25721 ? ((options = options.crossOrigin), 25722 (options = 25723 "string" === typeof options 25724 ? "use-credentials" === options 25725 ? options 25726 : "" 25727 : void 0)) 25728 : (options = null),
25729 Internals.d.C(href, options)); 25730}; 25731exports.prefetchDNS = function (href) { 25732 "string" === typeof href && Internals.d.D(href); 25733}; 25734exports.preinit = function (href, options) { 25735 if ("string" === typeof href && options && "string" === typeof options.as) { 25736 var as = options.as, 25737 crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), 25738 integrity = 25739 "string" === typeof options.integrity ? options.integrity : void 0, 25740 fetchPriority = 25741 "string" === typeof options.fetchPriority 25742 ? options.fetchPriority 25743 : void 0; 25744 "style" === as 25745 ? Internals.d.S( 25746 href, 25747 "string" === typeof options.precedence ? options.precedence : void 0, 25748 { 25749 crossOrigin: crossOrigin, 25750 integrity: integrity, 25751 fetchPriority: fetchPriority 25752 } 25753 ) 25754 : "script" === as && 25755 Internals.d.X(href, { 25756 crossOrigin: crossOrigin, 25757 integrity: integrity, 25758 fetchPriority: fetchPriority, 25759 nonce: "string" === typeof options.nonce ? options.nonce : void 0 25760 }); 25761 } 25762}; 25763exports.preinitModule = function (href, options) { 25764 if ("string" === typeof href) 25765 if ("object" === typeof options && null !== options) { 25766 if (null == options.as || "script" === options.as) { 25767 var crossOrigin = getCrossOriginStringAs( 25768 options.as, 25769 options.crossOrigin 25770 ); 25771 Internals.d.M(href, { 25772 crossOrigin: crossOrigin, 25773 integrity: 25774 "string" === typeof options.integrity ? options.integrity : void 0, 25775 nonce: "string" === typeof options.nonce ? options.nonce : void 0 25776 }); 25777 } 25778 } else null == options && Internals.d.M(href); 25779}; 25780exports.preload = function (href, options) { 25781 if ( 25782 "string" === typeof href && 25783 "object" === typeof options && 25784 null !== options && 25785 "string" === typeof options.as 25786 ) { 25787 var as = options.as, 25788 crossOrigin = getCrossOriginStringAs(as, options.crossOrigin); 25789 Internals.d.L(href, as, { 25790 crossOrigin: crossOrigin, 25791 integrity: 25792 "string" === typeof options.integrity ? options.integrity : void 0, 25793 nonce: "string" === typeof options.nonce ? options.nonce : void 0, 25794 type: "string" === typeof options.type ? options.type : void 0, 25795 fetchPriority: 25796 "string" === typeof options.fetchPriority 25797 ? options.fetchPriority 25798 : void 0, 25799 referrerPolicy: 25800 "string" === typeof options.referrerPolicy 25801 ? options.referrerPolicy 25802 : void 0, 25803 imageSrcSet: 25804 "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0, 25805 imageSizes: 25806 "string" === typeof options.imageSizes ? options.imageSizes : void 0, 25807 media: "string" === typeof options.media ? options.media : void 0 25808 }); 25809 } 25810}; 25811exports.preloadModule = function (href, options) { 25812 if ("string" === typeof href) 25813 if (options) { 25814 var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin); 25815 Internals.d.m(href, { 25816 as: 25817 "string" === typeof options.as && "script" !== options.as 25818 ? options.as 25819 : void 0, 25820 crossOrigin: crossOrigin, 25821 integrity: 25822 "string" === typeof options.integrity ? options.integrity : void 0 25823 }); 25824 } else Internals.d.m(href); 25825}; 25826exports.requestFormReset = function (form) { 25827 Internals.d.r(form); 25828}; 25829exports.unstable_batchedUpdates = function (fn, a) { 25830 return fn(a); 25831}; 25832exports.useFormState = function (action, initialState, permalink) { 25833 return ReactSharedInternals.H.useFormState(action, initialState, permalink); 25834}; 25835exports.useFormStatus = function () { 25836 return ReactSharedInternals.H.useHostTransitionStatus(); 25837}; 25838exports.version = "19.1.0"; 25839 25840 25841/***/ }), 25842 25843/***/ 45804: 25844/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 25845 25846"use strict"; 25847/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25848/* harmony export */ A: () => (/* binding */ _objectWithoutPropertiesLoose) 25849/* harmony export */ }); 25850function _objectWithoutPropertiesLoose(r, e) { 25851 if (null == r) return {}; 25852 var t = {}; 25853 for (var n in r) if ({}.hasOwnProperty.call(r, n)) { 25854 if (-1 !== e.indexOf(n)) continue; 25855 t[n] = r[n]; 25856 } 25857 return t; 25858} 25859 25860 25861/***/ }), 25862 25863/***/ 46248: 25864/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 25865 25866"use strict"; 25867/* harmony export */ __webpack_require__.d(__webpack_exports__, { 25868/* harmony export */ mg: () => (/* binding */ W), 25869/* harmony export */ vd: () => (/* binding */ q) 25870/* harmony export */ }); 25871/* unused harmony export HelmetData */ 25872/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 25873/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26826); 25874/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__); 25875/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46539); 25876/* harmony import */ var react_fast_compare__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_fast_compare__WEBPACK_IMPORTED_MODULE_1__); 25877/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(87572); 25878/* harmony import */ var invariant__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(invariant__WEBPACK_IMPORTED_MODULE_2__); 25879/* harmony import */ var shallowequal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(63769); 25880/* harmony import */ var shallowequal__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(shallowequal__WEBPACK_IMPORTED_MODULE_3__); 25881function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
25881for(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={};
25881Object.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}
25881,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.warnOnInvali
25881dChildren(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"; 25882//# sourceMappingURL=index.module.js.map 25883 25884 25885/***/ }), 25886 25887/***/ 46539: 25888/***/ ((module) => { 25889 25890/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */ 25891 25892var hasElementType = typeof Element !== 'undefined'; 25893var hasMap = typeof Map === 'function'; 25894var hasSet = typeof Set === 'function'; 25895var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView; 25896 25897// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js 25898 25899function equal(a, b) { 25900 // START: fast-deep-equal es6/index.js 3.1.1 25901 if (a === b) return true; 25902 25903 if (a && b && typeof a == 'object' && typeof b == 'object') { 25904 if (a.constructor !== b.constructor) return false; 25905 25906 var length, i, keys; 25907 if (Array.isArray(a)) { 25908 length = a.length; 25909 if (length != b.length) return false; 25910 for (i = length; i-- !== 0;) 25911 if (!equal(a[i], b[i])) return false; 25912 return true; 25913 } 25914 25915 // START: Modifications: 25916 // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code 25917 // to co-exist with es5. 25918 // 2. Replace `for of` with es5 compliant iteration using `for`. 25919 // Basically, take: 25920 // 25921 // ```js 25922 // for (i of a.entries()) 25923 // if (!b.has(i[0])) return false; 25924 // ``` 25925 // 25926 // ... and convert to: 25927 // 25928 // ```js 25929 // it = a.entries(); 25930 // while (!(i = it.next()).done) 25931 // if (!b.has(i.value[0])) return false;
25932 // ``` 25933 // 25934 // **Note**: `i` access switches to `i.value`. 25935 var it; 25936 if (hasMap && (a instanceof Map) && (b instanceof Map)) { 25937 if (a.size !== b.size) return false; 25938 it = a.entries(); 25939 while (!(i = it.next()).done) 25940 if (!b.has(i.value[0])) return false; 25941 it = a.entries(); 25942 while (!(i = it.next()).done) 25943 if (!equal(i.value[1], b.get(i.value[0]))) return false; 25944 return true; 25945 } 25946 25947 if (hasSet && (a instanceof Set) && (b instanceof Set)) { 25948 if (a.size !== b.size) return false; 25949 it = a.entries(); 25950 while (!(i = it.next()).done) 25951 if (!b.has(i.value[0])) return false; 25952 return true; 25953 } 25954 // END: Modifications 25955 25956 if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) { 25957 length = a.length; 25958 if (length != b.length) return false; 25959 for (i = length; i-- !== 0;) 25960 if (a[i] !== b[i]) return false; 25961 return true; 25962 } 25963 25964 if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags; 25965 if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf(); 25966 if (a.toString !== Object.prototype.toString) return a.toString() === b.toString(); 25967 25968 keys = Object.keys(a); 25969 length = keys.length; 25970 if (length !== Object.keys(b).length) return false; 25971 25972 for (i = length; i-- !== 0;) 25973 if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false; 25974 // END: fast-deep-equal 25975 25976 // START: react-fast-compare 25977 // custom handling for DOM elements 25978 if (hasElementType && a instanceof Element) return false; 25979 25980 // custom handling for React/Preact 25981 for (i = length; i-- !== 0;) { 25982 if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) { 25983 // React-specific: avoid traversing React elements' _owner 25984 // Preact-specific: avoid traversing Preact elements' __v and __o 25985 // __v = $_original / $_vnode 25986 // __o = $_owner 25987 // These properties contain circular references and are not needed when 25988 // comparing the actual elements (and not their owners) 25989 // .$$typeof and ._store on just reasonable markers of elements 25990 25991 continue; 25992 } 25993 25994 // all other properties should be traversed as usual 25995 if (!equal(a[keys[i]], b[keys[i]])) return false; 25996 } 25997 // END: react-fast-compare 25998 25999 // START: fast-deep-equal 26000 return true; 26001 } 26002 26003 return a !== a && b !== b; 26004} 26005// end fast-deep-equal 26006 26007module.exports = function isEqual(a, b) { 26008 try { 26009 return equal(a, b); 26010 } catch (error) { 26011 if (((error.message || '').match(/stack|recursion/i))) { 26012 // warn on circular references, don't crash 26013 // browsers give this different errors name and messages: 26014 // chrome/safari: "RangeError", "Maximum call stack size exceeded" 26015 // firefox: "InternalError", too much recursion" 26016 // edge: "Error", "Out of stack space" 26017 console.warn('react-fast-compare cannot handle circular refs'); 26018 return false; 26019 } 26020 // some other error. we should definitely know about these 26021 throw error; 26022 } 26023}; 26024 26025 26026/***/ }), 26027 26028/***/ 46955: 26029/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 26030 26031"use strict"; 26032 26033Object.defineProperty(exports, "__esModule", ({ value: true })); 26034exports.addTrailingSlash = addTrailingSlash; 26035exports["default"] = applyTrailingSlash; 26036exports.addLeadingSlash = addLeadingSlash; 26037exports.removeTrailingSlash = removeTrailingSlash; 26038const stringUtils_1 = __webpack_require__(37026); 26039function addTrailingSlash(str) { 26040 return str.endsWith("/") ? str : `${str}/`; 26041} 26042function applyTrailingSlash(path, options) { 26043 const { trailingSlash, baseUrl } = options; 26044 if (path.startsWith("#")) { 26045 return path; 26046 } 26047 function handleTrailingSlash(str, trailing) { 26048 return trailing ? addTrailingSlash(str) : removeTrailingSlash(str); 26049 } 26050 if (typeof trailingSlash === "undefined") { 26051 return path; 26052 } 26053 const [pathname] = path.split(/[#?]/); 26054 const shouldNotApply = pathname === "/" || pathname === baseUrl; 26055 const newPathname = shouldNotApply ? pathname : handleTrailingSlash(pathname, trailingSlash); 26056 return path.replace(pathname, newPathname); 26057} 26058function addLeadingSlash(str) { 26059 return (0, stringUtils_1.addPrefix)(str, "/"); 26060} 26061function removeTrailingSlash(str) { 26062 return (0, stringUtils_1.removeSuffix)(str, "/"); 26063} 26064 26065 26066/***/ }), 26067 26068/***/ 48073: 26069/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 26070 26071"use strict"; 26072/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26073/* harmony export */ G: () => (/* binding */ ThemeClassNames) 26074/* harmony export */ }); 26075const ThemeClassNames = { 26076 page: { 26077 blogListPage: "blog-list-page", 26078 blogPostPage: "blog-post-page", 26079 blogTagsListPage: "blog-tags-list-page", 26080 blogTagPostListPage: "blog-tags-post-list-page", 26081 blogAuthorsListPage: "blog-authors-list-page", 26082 blogAuthorsPostsPage: "blog-authors-posts-page", 26083 docsDocPage: "docs-doc-page", 26084 docsTagsListPage: "docs-tags-list-page", 26085 docsTagDocListPage: "docs-tags-doc-list-page", 26086 mdxPage: "mdx-page" 26087 }, 26088 wrapper: { 26089 main: "main-wrapper", 26090 blogPages: "blog-wrapper", 26091 docsPages: "docs-wrapper", 26092 mdxPages: "mdx-wrapper" 26093 }, 26094 common: { 26095 editThisPage: "theme-edit-this-page", 26096 lastUpdated: "theme-last-updated", 26097 backToTopButton: "theme-back-to-top-button", 26098 codeBlock: "theme-code-block", 26099 admonition: "theme-admonition", 26100 unlistedBanner: "theme-unlisted-banner", 26101 draftBanner: "theme-draft-banner", 26102 admonitionType: (type) => `theme-admonition-${type}` 26103 }, 26104 layout: {}, 26105 docs: { 26106 docVersionBanner: "theme-doc-version-banner", 26107 docVersionBadge: "theme-doc-version-badge", 26108 docBreadcrumbs: "theme-doc-breadcrumbs", 26109 docMarkdown: "theme-doc-markdown", 26110 docTocMobile: "theme-doc-toc-mobile", 26111 docTocDesktop: "theme-doc-toc-desktop", 26112 docFooter: "theme-doc-footer", 26113 docFooterTagsRow: "theme-doc-footer-tags-row", 26114 docFooterEditMetaRow: "theme-doc-footer-edit-meta-row", 26115 docSidebarContainer: "theme-doc-sidebar-container", 26116 docSidebarMenu: "theme-doc-sidebar-menu", 26117 docSidebarItemCategory: "theme-doc-sidebar-item-category", 26118 docSidebarItemLink: "theme-doc-sidebar-item-link", 26119 docSidebarItemCategoryLevel: (level) => `theme-doc-sidebar-item-category-level-${level}`, 26120 docSidebarItemLinkLevel: (level) => `theme-doc-sidebar-item-link-level-${level}` 26121 }, 26122 blog: { 26123 blogFooterTagsRow: "theme-blog-footer-tags-row", 26124 blogFooterEditMetaRow: "theme-blog-footer-edit-meta-row" 26125 }, 26126 pages: { 26127 pageFooterEditMetaRow: "theme-pages-footer-edit-meta-row" 26128 } 26129}; 26130 26131 26132/***/ }), 26133 26134/***/ 48231: 26135/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 26136 26137"use strict"; 26138 26139 26140if (true) { 26141 module.exports = __webpack_require__(93267); 26142} else {} 26143 26144 26145/***/ }), 26146 26147/***/ 49679: 26148/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 26149 26150"use strict"; 26151/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26152/* harmony export */ O: () => (/* binding */ prefersReducedMotion) 26153/* harmony export */ }); 26154function prefersReducedMotion() { 26155 return window.matchMedia("(prefers-reduced-motion: reduce)").matches; 26156} 26157 26158 26159/***/ }), 26160 26161/***/ 49733: 26162/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 26163 26164"use strict";
26165// ESM COMPAT FLAG 26166__webpack_require__.r(__webpack_exports__); 26167 26168// EXPORTS 26169__webpack_require__.d(__webpack_exports__, { 26170 DocProvider: () => (/* reexport */ doc/* DocProvider */._), 26171 DocSidebarItemsExpandedStateProvider: () => (/* reexport */ docSidebarItemsExpandedState/* DocSidebarItemsExpandedStateProvider */.A), 26172 DocsPreferredVersionContextProvider: () => (/* reexport */ docsPreferredVersion/* DocsPreferredVersionContextProvider */.VQ), 26173 DocsSidebarProvider: () => (/* reexport */ docsSidebar/* DocsSidebarProvider */.V), 26174 DocsVersionProvider: () => (/* reexport */ docsVersion/* DocsVersionProvider */.n), 26175 filterDocCardListItems: () => (/* reexport */ docsUtils/* filterDocCardListItems */.d1), 26176 findFirstSidebarItemLink: () => (/* reexport */ docsUtils/* findFirstSidebarItemLink */.Nr), 26177 findSidebarCategory: () => (/* reexport */ docsUtils/* findSidebarCategory */._j), 26178 getDocsVersionSearchTag: () => (/* reexport */ docsSearch/* getDocsVersionSearchTag */.k), 26179 isActiveSidebarItem: () => (/* reexport */ docsUtils/* isActiveSidebarItem */.w8), 26180 isVisibleSidebarItem: () => (/* reexport */ docsUtils/* isVisibleSidebarItem */.Se), 26181 useActiveDocContext: () => (/* binding */ useActiveDocContext), 26182 useActivePlugin: () => (/* binding */ useActivePlugin), 26183 useActivePluginAndVersion: () => (/* binding */ useActivePluginAndVersion), 26184 useActiveVersion: () => (/* binding */ useActiveVersion), 26185 useAllDocsData: () => (/* binding */ useAllDocsData), 26186 useCurrentSidebarCategory: () => (/* reexport */ docsUtils/* useCurrentSidebarCategory */.$S), 26187 useDoc: () => (/* reexport */ doc/* useDoc */.u), 26188 useDocById: () => (/* reexport */ docsUtils/* useDocById */.cC), 26189 useDocRootMetadata: () => (/* reexport */ docsUtils/* useDocRootMetadata */.B5), 26190 useDocSidebarItemsExpandedState: () => (/* reexport */ docSidebarItemsExpandedState/* useDocSidebarItemsExpandedState */.G), 26191 useDocVersionSuggestions: () => (/* binding */ useDocVersionSuggestions), 26192 useDocsContextualSearchTags: () => (/* reexport */ docsSearch/* useDocsContextualSearchTags */.v), 26193 useDocsData: () => (/* binding */ useDocsData), 26194 useDocsPreferredVersion: () => (/* reexport */ docsPreferredVersion/* useDocsPreferredVersion */.g1), 26195 useDocsPreferredVersionByPluginId: () => (/* reexport */ docsPreferredVersion/* useDocsPreferredVersionByPluginId */.XK), 26196 useDocsSidebar: () => (/* reexport */ docsSidebar/* useDocsSidebar */.t), 26197 useDocsVersion: () => (/* reexport */ docsVersion/* useDocsVersion */.r), 26198 useDocsVersionCandidates: () => (/* reexport */ docsUtils/* useDocsVersionCandidates */.Vd), 26199 useLatestVersion: () => (/* binding */ useLatestVersion), 26200 useLayoutDoc: () => (/* reexport */ docsUtils/* useLayoutDoc */.QB), 26201 useLayoutDocsSidebar: () => (/* reexport */ docsUtils/* useLayoutDocsSidebar */.fW), 26202 useSidebarBreadcrumbs: () => (/* reexport */ docsUtils/* useSidebarBreadcrumbs */.OF), 26203 useVersions: () => (/* binding */ useVersions), 26204 useVisibleSidebarItems: () => (/* reexport */ docsUtils/* useVisibleSidebarItems */.Y) 26205}); 26206 26207// EXTERNAL MODULE: ../../.yarn/__virtual__/react-router-virtual-f409f9d4ca/0/cache/react-router-npm-5.3.4-cc0757f6df-99d54a99af.zip/node_modules/react-router/esm/react-router.js 26208var react_router = __webpack_require__(8662); 26209// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useDocusaurusContext.js 26210var useDocusaurusContext = __webpack_require__(99788); 26211// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/constants.js 26212var constants = __webpack_require__(9571); 26213;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useGlobalData.js 26214 26215 26216function useGlobalData() { 26217 const { globalData } = (0,useDocusaurusContext["default"])(); 26218 return globalData; 26219} 26220function useAllPluginInstancesData(pluginName, options = {}) { 26221 const globalData = useGlobalData(); 26222 const pluginGlobalData = globalData[pluginName]; 26223 if (!pluginGlobalData && options.failfast) { 26224 throw new Error(`Docusaurus plugin global data not found for "${pluginName}" plugin.`); 26225 } 26226 return pluginGlobalData; 26227} 26228function usePluginData(pluginName, pluginId = constants/* DEFAULT_PLUGIN_ID */.W, options = {}) { 26229 const pluginGlobalData = useAllPluginInstancesData(pluginName); 26230 const pluginInstanceGlobalData = pluginGlobalData == null ? void 0 : pluginGlobalData[pluginId]; 26231 if (!pluginInstanceGlobalData && options.failfast) { 26232 throw new Error(`Docusaurus plugin global data not found for "${pluginName}" plugin with id "${pluginId}".`); 26233 } 26234 return pluginInstanceGlobalData; 26235} 26236 26237;// ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsClientUtils.js 26238 26239function getActivePlugin(allPluginData, pathname, options = {}) { 26240 const activeEntry = Object.entries(allPluginData).sort((a, b) => b[1].path.localeCompare(a[1].path)).find(([, pluginData]) => !!(0,react_router/* matchPath */.B6)(pathname, { 26241 path: pluginData.path, 26242 exact: false, 26243 strict: false 26244 })); 26245 const activePlugin = activeEntry ? { pluginId: activeEntry[0], pluginData: activeEntry[1] } : void 0; 26246 if (!activePlugin && options.failfast) { 26247 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(", ")}`); 26248 } 26249 return activePlugin; 26250} 26251const getLatestVersion = (data) => data.versions.find((version) => version.isLast); 26252function getActiveVersion(data, pathname) { 26253 const sortedVersions = [...data.versions].sort((a, b) => { 26254 if (a.path === b.path) { 26255 return 0; 26256 } 26257 if (a.path.includes(b.path)) { 26258 return -1; 26259 } 26260 if (b.path.includes(a.path)) { 26261 return 1; 26262 } 26263 return 0; 26264 }); 26265 return sortedVersions.find((version) => !!(0,react_router/* matchPath */.B6)(pathname, { 26266 path: version.path, 26267 exact: false, 26268 strict: false 26269 })); 26270} 26271function getActiveDocContext(data, pathname) { 26272 const activeVersion = getActiveVersion(data, pathname); 26273 const activeDoc = activeVersion == null ? void 0 : activeVersion.docs.find((doc) => !!(0,react_router/* matchPath */.B6)(pathname, { 26274 path: doc.path, 26275 exact: true, 26276 strict: false 26277 })); 26278 function getAlternateVersionDocs(docId) { 26279 const result = {}; 26280 data.versions.forEach((version) => { 26281 version.docs.forEach((doc) => { 26282 if (doc.id === docId) { 26283 result[version.name] = doc; 26284 } 26285 }); 26286 }); 26287 return result; 26288 } 26289 const alternateVersionDocs = activeDoc ? getAlternateVersionDocs(activeDoc.id) : {}; 26290 return { 26291 activeVersion, 26292 activeDoc, 26293 alternateDocVersions: alternateVersionDocs 26294 }; 26295} 26296function getDocVersionSuggestions(data, pathname) { 26297 const latestVersion = getLatestVersion(data); 26298 const activeDocContext = getActiveDocContext(data, pathname); 26299 const latestDocSuggestion = activeDocContext.alternateDocVersions[latestVersion.name]; 26300 return { latestDocSuggestion, latestVersionSuggestion: latestVersion }; 26301} 26302 26303// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsUtils.js 26304var docsUtils = __webpack_require__(53198); 26305// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsPreferredVersion.js 26306var docsPreferredVersion = __webpack_require__(28908); 26307// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docSidebarItemsExpandedState.js 26308var docSidebarItemsExpandedState = __webpack_require__(99528); 26309// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsVersion.js 26310var docsVersion = __webpack_require__(14859); 26311// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsSidebar.js 26312var docsSidebar = __webpack_require__(52771); 26313// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/doc.js 26314var doc = __webpack_require__(77296); 26315// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/docsSearch.js 26316var docsSearch = __webpack_require__(35131); 26317;// ../../.yarn/__virtual__/@docusaurus-plugin-content-docs-virtual-11855d8328/0/cache/@docusaurus-plugin-content-docs-npm-3.7.0-b3bae395c0-cfb51934c6.zip/node_modules/@docusaurus/plugin-content-docs/lib/client/index.js 26318 26319 26320 26321 26322 26323 26324 26325 26326 26327 26328 26329const StableEmptyObject = {}; 26330const useAllDocsData = () => { 26331 var _a; 26332 return (_a = useAllPluginInstancesData("docusaurus-plugin-content-docs")) != null ? _a : StableEmptyObject; 26333}; 26334const useDocsData = (pluginId) => { 26335 try { 26336 return usePluginData("docusaurus-plugin-content-docs", pluginId, { 26337 failfast: true 26338 }); 26339 } catch (error) { 26340 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 }); 26341 } 26342}; 26343function useActivePlugin(options = {}) { 26344 const data = useAllDocsData(); 26345 const { pathname } = (0,react_router/* useLocation */.zy)(); 26346 return getActivePlugin(data, pathname, options); 26347} 26348function useActivePluginAndVersion(options = {}) { 26349 const activePlugin = useActivePlugin(options); 26350 const { pathname } = (0,react_router/* useLocation */.zy)(); 26351 if (!activePlugin) { 26352 return void 0; 26353 } 26354 const activeVersion = getActiveVersion(activePlugin.pluginData, pathname); 26355 return { 26356 activePlugin, 26357 activeVersion 26358 }; 26359} 26360function useVersions(pluginId) { 26361 const data = useDocsData(pluginId); 26362 return data.versions; 26363} 26364function useLatestVersion(pluginId) { 26365 const data = useDocsData(pluginId); 26366 return getLatestVersion(data); 26367} 26368function useActiveVersion(pluginId) { 26369 const data = useDocsData(pluginId); 26370 const { pathname } = (0,react_router/* useLocation */.zy)(); 26371 return getActiveVersion(data, pathname); 26372} 26373function useActiveDocContext(pluginId) { 26374 const data = useDocsData(pluginId); 26375 const { pathname } = (0,react_router/* useLocation */.zy)(); 26376 return getActiveDocContext(data, pathname); 26377} 26378function useDocVersionSuggestions(pluginId) { 26379 const data = useDocsData(pluginId); 26380 const { pathname } = (0,react_router/* useLocation */.zy)(); 26381 return getDocVersionSuggestions(data, pathname); 26382} 26383 26384 26385/***/ }), 26386 26387/***/ 50255: 26388/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 26389 26390"use strict"; 26391/* harmony export */ __webpack_require__.d(__webpack_exports__, { 26392/* harmony export */ jG: () => (/* binding */ notifyManager) 26393/* harmony export */ }); 26394/* unused harmony exports createNotifyManager, defaultScheduler */
26395// src/notifyManager.ts 26396var defaultScheduler = (cb) => setTimeout(cb, 0); 26397function createNotifyManager() { 26398 let queue = []; 26399 let transactions = 0; 26400 let notifyFn = (callback) => { 26401 callback(); 26402 }; 26403 let batchNotifyFn = (callback) => { 26404 callback(); 26405 }; 26406 let scheduleFn = defaultScheduler; 26407 const schedule = (callback) => { 26408 if (transactions) { 26409 queue.push(callback); 26410 } else { 26411 scheduleFn(() => { 26412 notifyFn(callback); 26413 }); 26414 } 26415 }; 26416 const flush = () => { 26417 const originalQueue = queue; 26418 queue = []; 26419 if (originalQueue.length) { 26420 scheduleFn(() => { 26421 batchNotifyFn(() => { 26422 originalQueue.forEach((callback) => { 26423 notifyFn(callback); 26424 }); 26425 }); 26426 }); 26427 } 26428 }; 26429 return { 26430 batch: (callback) => { 26431 let result; 26432 transactions++; 26433 try { 26434 result = callback(); 26435 } finally { 26436 transactions--; 26437 if (!transactions) { 26438 flush(); 26439 } 26440 } 26441 return result; 26442 }, 26443 /** 26444 * All calls to the wrapped function will be batched. 26445 */ 26446 batchCalls: (callback) => { 26447 return (...args) => { 26448 schedule(() => { 26449 callback(...args); 26450 }); 26451 }; 26452 }, 26453 schedule, 26454 /** 26455 * Use this method to set a custom notify function. 26456 * This can be used to for example wrap notifications with `React.act` while running tests. 26457 */ 26458 setNotifyFunction: (fn) => { 26459 notifyFn = fn; 26460 }, 26461 /** 26462 * Use this method to set a custom function to batch notifications together into a single tick. 26463 * By default React Query will use the batch function provided by ReactDOM or React Native. 26464 */ 26465 setBatchNotifyFunction: (fn) => { 26466 batchNotifyFn = fn; 26467 }, 26468 setScheduler: (fn) => { 26469 scheduleFn = fn; 26470 } 26471 }; 26472} 26473var notifyManager = createNotifyManager(); 26474 26475//# sourceMappingURL=notifyManager.js.map 26476 26477/***/ }), 26478 26479/***/ 51269: 26480/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => { 26481 26482"use strict"; 26483 26484// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 26485var jsx_runtime = __webpack_require__(48231); 26486// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 26487var react = __webpack_require__(77407); 26488// EXTERNAL MODULE: ../../.yarn/__virtual__/react-dom-virtual-25a1a36845/0/cache/react-dom-npm-19.1.0-773f826e46-c5b5860586.zip/node_modules/react-dom/client.js 26489var client = __webpack_require__(51690); 26490// EXTERNAL MODULE: ../../.yarn/__virtual__/@slorber-react-helmet-async-virtual-cf947616f1/0/cache/@slorber-react-helmet-async-npm-1.3.0-6a9a526f72-76854c3a92.zip/node_modules/@slorber/react-helmet-async/lib/index.module.js 26491var index_module = __webpack_require__(46248); 26492// EXTERNAL MODULE: ../../.yarn/__virtual__/react-router-dom-virtual-95df8b43b5/0/cache/react-router-dom-npm-5.3.4-678cc1057f-5e0696ae2d.zip/node_modules/react-router-dom/esm/react-router-dom.js 26493var react_router_dom = __webpack_require__(4467); 26494// EXTERNAL MODULE: ./.docusaurus/docusaurus.config.mjs 26495var docusaurus_config = __webpack_require__(4784); 26496// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/ExecutionEnvironment.js 26497var ExecutionEnvironment = __webpack_require__(91979); 26498;// ./.docusaurus/client-modules.js 26499/* harmony default export */ const client_modules = ([ 26500 __webpack_require__(29237), 26501 __webpack_require__(96043), 26502 __webpack_require__(21528), 26503 __webpack_require__(318) 26504]); 26505 26506// EXTERNAL MODULE: ./.docusaurus/routes.js + 3 modules 26507var routes = __webpack_require__(76806); 26508// EXTERNAL MODULE: ../../.yarn/__virtual__/react-router-virtual-f409f9d4ca/0/cache/react-router-npm-5.3.4-cc0757f6df-99d54a99af.zip/node_modules/react-router/esm/react-router.js 26509var react_router = __webpack_require__(8662); 26510// EXTERNAL MODULE: ../../.yarn/__virtual__/react-router-config-virtual-ebbbdd40b3/0/cache/react-router-config-npm-5.1.1-671f936b6b-f7f0786658.zip/node_modules/react-router-config/esm/react-router-config.js 26511var react_router_config = __webpack_require__(6940); 26512;// ../../.yarn/__virtual__/react-loading-skeleton-virtual-9cf6ae0ba9/0/cache/react-loading-skeleton-npm-3.3.1-b364092891-7b4f4c5a12.zip/node_modules/react-loading-skeleton/dist/skeleton.css 26513// extracted by mini-css-extract-plugin 26514 26515// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17
26515/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Head.js 26516var Head = __webpack_require__(52658); 26517// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/utils.js 26518var utils = __webpack_require__(31342); 26519// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/query.js 26520var modern_query = __webpack_require__(74835); 26521// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/notifyManager.js 26522var notifyManager = __webpack_require__(50255); 26523// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/subscribable.js 26524var subscribable = __webpack_require__(15062); 26525;// ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/queryCache.js
26526// src/queryCache.ts 26527 26528 26529 26530 26531var QueryCache = class extends subscribable/* Subscribable */.Q { 26532 constructor(config = {}) { 26533 super(); 26534 this.config = config; 26535 this.#queries = /* @__PURE__ */ new Map(); 26536 } 26537 #queries; 26538 build(client, options, state) { 26539 const queryKey = options.queryKey; 26540 const queryHash = options.queryHash ?? (0,utils/* hashQueryKeyByOptions */.F$)(queryKey, options); 26541 let query = this.get(queryHash); 26542 if (!query) { 26543 query = new modern_query/* Query */.X({ 26544 client, 26545 queryKey, 26546 queryHash, 26547 options: client.defaultQueryOptions(options), 26548 state, 26549 defaultOptions: client.getQueryDefaults(queryKey) 26550 }); 26551 this.add(query); 26552 } 26553 return query; 26554 } 26555 add(query) { 26556 if (!this.#queries.has(query.queryHash)) { 26557 this.#queries.set(query.queryHash, query); 26558 this.notify({ 26559 type: "added", 26560 query 26561 }); 26562 } 26563 } 26564 remove(query) { 26565 const queryInMap = this.#queries.get(query.queryHash); 26566 if (queryInMap) { 26567 query.destroy(); 26568 if (queryInMap === query) { 26569 this.#queries.delete(query.queryHash); 26570 } 26571 this.notify({ type: "removed", query }); 26572 } 26573 } 26574 clear() { 26575 notifyManager/* notifyManager */.jG.batch(() => { 26576 this.getAll().forEach((query) => { 26577 this.remove(query); 26578 }); 26579 }); 26580 } 26581 get(queryHash) { 26582 return this.#queries.get(queryHash); 26583 } 26584 getAll() { 26585 return [...this.#queries.values()]; 26586 } 26587 find(filters) { 26588 const defaultedFilters = { exact: true, ...filters }; 26589 return this.getAll().find( 26590 (query) => (0,utils/* matchQuery */.MK)(defaultedFilters, query) 26591 ); 26592 } 26593 findAll(filters = {}) { 26594 const queries = this.getAll(); 26595 return Object.keys(filters).length > 0 ? queries.filter((query) => (0,utils/* matchQuery */.MK)(filters, query)) : queries; 26596 } 26597 notify(event) { 26598 notifyManager/* notifyManager */.jG.batch(() => { 26599 this.listeners.forEach((listener) => { 26600 listener(event); 26601 }); 26602 }); 26603 } 26604 onFocus() { 26605 notifyManager/* notifyManager */.jG.batch(() => { 26606 this.getAll().forEach((query) => { 26607 query.onFocus(); 26608 }); 26609 }); 26610 } 26611 onOnline() { 26612 notifyManager/* notifyManager */.jG.batch(() => { 26613 this.getAll().forEach((query) => { 26614 query.onOnline(); 26615 }); 26616 }); 26617 } 26618}; 26619 26620//# sourceMappingURL=queryCache.js.map 26621// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/removable.js 26622var removable = __webpack_require__(68134); 26623// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/retryer.js 26624var retryer = __webpack_require__(76598); 26625;// ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/mutation.js
26626// src/mutation.ts 26627 26628 26629 26630var Mutation = class extends removable/* Removable */.k { 26631 #observers; 26632 #mutationCache; 26633 #retryer; 26634 constructor(config) { 26635 super(); 26636 this.mutationId = config.mutationId; 26637 this.#mutationCache = config.mutationCache; 26638 this.#observers = []; 26639 this.state = config.state || getDefaultState(); 26640 this.setOptions(config.options); 26641 this.scheduleGc(); 26642 } 26643 setOptions(options) { 26644 this.options = options; 26645 this.updateGcTime(this.options.gcTime); 26646 } 26647 get meta() { 26648 return this.options.meta; 26649 } 26650 addObserver(observer) { 26651 if (!this.#observers.includes(observer)) { 26652 this.#observers.push(observer); 26653 this.clearGcTimeout(); 26654 this.#mutationCache.notify({ 26655 type: "observerAdded", 26656 mutation: this, 26657 observer 26658 }); 26659 } 26660 } 26661 removeObserver(observer) { 26662 this.#observers = this.#observers.filter((x) => x !== observer); 26663 this.scheduleGc(); 26664 this.#mutationCache.notify({ 26665 type: "observerRemoved", 26666 mutation: this, 26667 observer 26668 }); 26669 } 26670 optionalRemove() { 26671 if (!this.#observers.length) { 26672 if (this.state.status === "pending") { 26673 this.scheduleGc(); 26674 } else { 26675 this.#mutationCache.remove(this); 26676 } 26677 } 26678 } 26679 continue() { 26680 return this.#retryer?.continue() ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before 26681 this.execute(this.state.variables); 26682 } 26683 async execute(variables) { 26684 const onContinue = () => { 26685 this.#dispatch({ type: "continue" }); 26686 }; 26687 this.#retryer = (0,retryer/* createRetryer */.II)({ 26688 fn: () => { 26689 if (!this.options.mutationFn) { 26690 return Promise.reject(new Error("No mutationFn found")); 26691 } 26692 return this.options.mutationFn(variables); 26693 }, 26694 onFail: (failureCount, error) => { 26695 this.#dispatch({ type: "failed", failureCount, error }); 26696 }, 26697 onPause: () => { 26698 this.#dispatch({ type: "pause" }); 26699 }, 26700 onContinue, 26701 retry: this.options.retry ?? 0, 26702 retryDelay: this.options.retryDelay, 26703 networkMode: this.options.networkMode, 26704 canRun: () => this.#mutationCache.canRun(this) 26705 }); 26706 const restored = this.state.status === "pending"; 26707 const isPaused = !this.#retryer.canStart(); 26708 try { 26709 if (restored) { 26710 onContinue(); 26711 } else { 26712 this.#dispatch({ type: "pending", variables, isPaused }); 26713 await this.#mutationCache.config.onMutate?.( 26714 variables, 26715 this 26716 ); 26717 const context = await this.options.onMutate?.(variables); 26718 if (context !== this.state.context) { 26719 this.#dispatch({ 26720 type: "pending", 26721 context, 26722 variables, 26723 isPaused 26724 }); 26725 } 26726 } 26727 const data = await this.#retryer.start(); 26728 await this.#mutationCache.config.onSuccess?.( 26729 data, 26730 variables, 26731 this.state.context, 26732 this 26733 ); 26734 await this.options.onSuccess?.(data, variables, this.state.context); 26735 await this.#mutationCache.config.onSettled?.( 26736 data, 26737 null, 26738 this.state.variables, 26739 this.state.context, 26740 this 26741 ); 26742 await this.options.onSettled?.(data, null, variables, this.state.context); 26743 this.#dispatch({ type: "success", data }); 26744 return data; 26745 } catch (error) { 26746 try { 26747 await this.#mutationCache.config.onError?.( 26748 error, 26749 variables, 26750 this.state.context, 26751 this 26752 ); 26753 await this.options.onError?.( 26754 error, 26755 variables, 26756 this.state.context 26757 ); 26758 await this.#mutationCache.config.onSettled?.( 26759 void 0, 26760 error, 26761 this.state.variables, 26762 this.state.context, 26763 this 26764 ); 26765 await this.options.onSettled?.( 26766 void 0, 26767 error, 26768 variables, 26769 this.state.context 26770 ); 26771 throw error; 26772 } finally { 26773 this.#dispatch({ type: "error", error }); 26774 } 26775 } finally { 26776 this.#mutationCache.runNext(this); 26777 } 26778 } 26779 #dispatch(action) { 26780 const reducer = (state) => { 26781 switch (action.type) { 26782 case "failed": 26783 return { 26784 ...state, 26785 failureCount: action.failureCount, 26786 failureReason: action.error 26787 }; 26788 case "pause": 26789 return { 26790 ...state, 26791 isPaused: true 26792 }; 26793 case "continue": 26794 return { 26795 ...state, 26796 isPaused: false 26797 }; 26798 case "pending": 26799 return { 26800 ...state, 26801 context: action.context, 26802 data: void 0, 26803 failureCount: 0, 26804 failureReason: null, 26805 error: null, 26806 isPaused: action.isPaused, 26807 status: "pending", 26808 variables: action.variables, 26809 submittedAt: Date.now() 26810 }; 26811 case "success": 26812 return { 26813 ...state, 26814 data: action.data, 26815 failureCount: 0, 26816 failureReason: null, 26817 error: null, 26818 status: "success", 26819 isPaused: false 26820 }; 26821 case "error": 26822 return { 26823 ...state, 26824 data: void 0, 26825 error: action.error, 26826 failureCount: state.failureCount + 1, 26827 failureReason: action.error, 26828 isPaused: false, 26829 status: "error" 26830 }; 26831 } 26832 }; 26833 this.state = reducer(this.state); 26834 notifyManager/* notifyManager */.jG.batch(() => {
26835 this.#observers.forEach((observer) => { 26836 observer.onMutationUpdate(action); 26837 }); 26838 this.#mutationCache.notify({ 26839 mutation: this, 26840 type: "updated", 26841 action 26842 }); 26843 }); 26844 } 26845}; 26846function getDefaultState() { 26847 return { 26848 context: void 0, 26849 data: void 0, 26850 error: null, 26851 failureCount: 0, 26852 failureReason: null, 26853 isPaused: false, 26854 status: "idle", 26855 variables: void 0, 26856 submittedAt: 0 26857 }; 26858} 26859 26860//# sourceMappingURL=mutation.js.map 26861;// ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/mutationCache.js
26862// src/mutationCache.ts 26863 26864 26865 26866 26867var MutationCache = class extends subscribable/* Subscribable */.Q { 26868 constructor(config = {}) { 26869 super(); 26870 this.config = config; 26871 this.#mutations = /* @__PURE__ */ new Set(); 26872 this.#scopes = /* @__PURE__ */ new Map(); 26873 this.#mutationId = 0; 26874 } 26875 #mutations; 26876 #scopes; 26877 #mutationId; 26878 build(client, options, state) { 26879 const mutation = new Mutation({ 26880 mutationCache: this, 26881 mutationId: ++this.#mutationId, 26882 options: client.defaultMutationOptions(options), 26883 state 26884 }); 26885 this.add(mutation); 26886 return mutation; 26887 } 26888 add(mutation) { 26889 this.#mutations.add(mutation); 26890 const scope = scopeFor(mutation); 26891 if (typeof scope === "string") { 26892 const scopedMutations = this.#scopes.get(scope); 26893 if (scopedMutations) { 26894 scopedMutations.push(mutation); 26895 } else { 26896 this.#scopes.set(scope, [mutation]); 26897 } 26898 } 26899 this.notify({ type: "added", mutation }); 26900 } 26901 remove(mutation) { 26902 if (this.#mutations.delete(mutation)) { 26903 const scope = scopeFor(mutation); 26904 if (typeof scope === "string") { 26905 const scopedMutations = this.#scopes.get(scope); 26906 if (scopedMutations) { 26907 if (scopedMutations.length > 1) { 26908 const index = scopedMutations.indexOf(mutation); 26909 if (index !== -1) { 26910 scopedMutations.splice(index, 1); 26911 } 26912 } else if (scopedMutations[0] === mutation) { 26913 this.#scopes.delete(scope); 26914 } 26915 } 26916 } 26917 } 26918 this.notify({ type: "removed", mutation }); 26919 } 26920 canRun(mutation) { 26921 const scope = scopeFor(mutation); 26922 if (typeof scope === "string") { 26923 const mutationsWithSameScope = this.#scopes.get(scope); 26924 const firstPendingMutation = mutationsWithSameScope?.find( 26925 (m) => m.state.status === "pending" 26926 ); 26927 return !firstPendingMutation || firstPendingMutation === mutation; 26928 } else { 26929 return true; 26930 } 26931 } 26932 runNext(mutation) { 26933 const scope = scopeFor(mutation); 26934 if (typeof scope === "string") { 26935 const foundMutation = this.#scopes.get(scope)?.find((m) =>
26935 m !== mutation && m.state.isPaused); 26936 return foundMutation?.continue() ?? Promise.resolve(); 26937 } else { 26938 return Promise.resolve(); 26939 } 26940 } 26941 clear() { 26942 notifyManager/* notifyManager */.jG.batch(() => { 26943 this.#mutations.forEach((mutation) => { 26944 this.notify({ type: "removed", mutation }); 26945 }); 26946 this.#mutations.clear(); 26947 this.#scopes.clear(); 26948 }); 26949 } 26950 getAll() { 26951 return Array.from(this.#mutations); 26952 } 26953 find(filters) { 26954 const defaultedFilters = { exact: true, ...filters }; 26955 return this.getAll().find( 26956 (mutation) => (0,utils/* matchMutation */.nJ)(defaultedFilters, mutation) 26957 ); 26958 } 26959 findAll(filters = {}) { 26960 return this.getAll().filter((mutation) => (0,utils/* matchMutation */.nJ)(filters, mutation)); 26961 } 26962 notify(event) { 26963 notifyManager/* notifyManager */.jG.batch(() => { 26964 this.listeners.forEach((listener) => { 26965 listener(event); 26966 }); 26967 }); 26968 } 26969 resumePausedMutations() { 26970 const pausedMutations = this.getAll().filter((x) => x.state.isPaused); 26971 return notifyManager/* notifyManager */.jG.batch( 26972 () => Promise.all( 26973 pausedMutations.map((mutation) => mutation.continue().catch(utils/* noop */.lQ)) 26974 ) 26975 ); 26976 } 26977}; 26978function scopeFor(mutation) { 26979 return mutation.options.scope?.id; 26980} 26981 26982//# sourceMappingURL=mutationCache.js.map 26983// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/focusManager.js 26984var focusManager = __webpack_require__(32156); 26985// EXTERNAL MODULE: ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/onlineManager.js 26986var onlineManager = __webpack_require__(96133); 26987;// ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
26988// src/infiniteQueryBehavior.ts 26989 26990function infiniteQueryBehavior(pages) { 26991 return { 26992 onFetch: (context, query) => { 26993 const options = context.options; 26994 const direction = context.fetchOptions?.meta?.fetchMore?.direction; 26995 const oldPages = context.state.data?.pages || []; 26996 const oldPageParams = context.state.data?.pageParams || []; 26997 let result = { pages: [], pageParams: [] }; 26998 let currentPage = 0; 26999 const fetchFn = async () => { 27000 let cancelled = false; 27001 const addSignalProperty = (object) => { 27002 Object.defineProperty(object, "signal", { 27003 enumerable: true, 27004 get: () => { 27005 if (context.signal.aborted) { 27006 cancelled = true; 27007 } else { 27008 context.signal.addEventListener("abort", () => { 27009 cancelled = true; 27010 }); 27011 } 27012 return context.signal; 27013 } 27014 }); 27015 }; 27016 const queryFn = (0,utils/* ensureQueryFn */.ZM)(context.options, context.fetchOptions); 27017 const fetchPage = async (data, param, previous) => { 27018 if (cancelled) { 27019 return Promise.reject(); 27020 } 27021 if (param == null && data.pages.length) { 27022 return Promise.resolve(data); 27023 } 27024 const queryFnContext = { 27025 client: context.client, 27026 queryKey: context.queryKey, 27027 pageParam: param, 27028 direction: previous ? "backward" : "forward", 27029 meta: context.options.meta 27030 }; 27031 addSignalProperty(queryFnContext); 27032 const page = await queryFn( 27033 queryFnContext 27034 ); 27035 const { maxPages } = context.options; 27036 const addTo = previous ? utils/* addToStart */.ZZ : utils/* addToEnd */.y9; 27037 return { 27038 pages: addTo(data.pages, page, maxPages), 27039 pageParams: addTo(data.pageParams, param, maxPages) 27040 }; 27041 }; 27042 if (direction && oldPages.length) { 27043 const previous = direction === "backward"; 27044 const pageParamFn = previous ? getPreviousPageParam : getNextPageParam; 27045 const oldData = { 27046 pages: oldPages, 27047 pageParams: oldPageParams 27048 }; 27049 const param = pageParamFn(options, oldData); 27050 result = await fetchPage(oldData, param, previous); 27051 } else { 27052 const remainingPages = pages ?? oldPages.length; 27053 do { 27054 const param = currentPage === 0 ? oldPageParams[0] ?? options.initialPageParam : getNextPageParam(options, result); 27055 if (currentPage > 0 && param == null) { 27056 break; 27057 } 27058 result = await fetchPage(result, param); 27059 currentPage++; 27060 } while (currentPage < remainingPages); 27061 } 27062 return result; 27063 }; 27064 if (context.options.persister) { 27065 context.fetchFn = () => { 27066 return context.options.persister?.( 27067 fetchFn, 27068 { 27069 client: context.client, 27070 queryKey: context.queryKey, 27071 meta: context.options.meta, 27072 signal: context.signal 27073 }, 27074 query 27075 ); 27076 }; 27077 } else { 27078 context.fetchFn = fetchFn; 27079 } 27080 } 27081 }; 27082} 27083function getNextPageParam(options, { pages, pageParams }) { 27084 const lastIndex = pages.length - 1; 27085 return pages.length > 0 ? options.getNextPageParam( 27086 pages[lastIndex], 27087 pages, 27088 pageParams[lastIndex], 27089 pageParams 27090 ) : void 0; 27091} 27092function getPreviousPageParam(options, { pages, pageParams }) { 27093 return pages.length > 0 ? options.getPreviousPageParam?.(pages[0], pages, pageParams[0], pageParams) : void 0; 27094} 27095function hasNextPage(options, data) { 27096 if (!data) return false; 27097 return getNextPageParam(options, data) != null; 27098} 27099function hasPreviousPage(options, data) { 27100 if (!data || !options.getPreviousPageParam) return false; 27101 return getPreviousPageParam(options, data) != null; 27102} 27103 27104//# sourceMappingURL=infiniteQueryBehavior.js.map 27105;// ../../.yarn/cache/@tanstack-query-core-npm-5.74.7-6cbddd722a-8e2bef45c8.zip/node_modules/@tanstack/query-core/build/modern/queryClient.js
27106// src/queryClient.ts 27107 27108 27109 27110 27111 27112 27113 27114var QueryClient = class { 27115 #queryCache; 27116 #mutationCache; 27117 #defaultOptions; 27118 #queryDefaults; 27119 #mutationDefaults; 27120 #mountCount; 27121 #unsubscribeFocus; 27122 #unsubscribeOnline; 27123 constructor(config = {}) { 27124 this.#queryCache = config.queryCache || new QueryCache(); 27125 this.#mutationCache = config.mutationCache || new MutationCache(); 27126 this.#defaultOptions = config.defaultOptions || {}; 27127 this.#queryDefaults = /* @__PURE__ */ new Map(); 27128 this.#mutationDefaults = /* @__PURE__ */ new Map(); 27129 this.#mountCount = 0; 27130 } 27131 mount() { 27132 this.#mountCount++; 27133 if (this.#mountCount !== 1) return; 27134 this.#unsubscribeFocus = focusManager/* focusManager */.m.subscribe(async (focused) => { 27135 if (focused) { 27136 await this.resumePausedMutations(); 27137 this.#queryCache.onFocus(); 27138 } 27139 }); 27140 this.#unsubscribeOnline = onlineManager/* onlineManager */.t.subscribe(async (online) => { 27141 if (online) { 27142 await this.resumePausedMutations(); 27143 this.#queryCache.onOnline(); 27144 } 27145 }); 27146 } 27147 unmount() { 27148 this.#mountCount--; 27149 if (this.#mountCount !== 0) return; 27150 this.#unsubscribeFocus?.(); 27151 this.#unsubscribeFocus = void 0; 27152 this.#unsubscribeOnline?.(); 27153 this.#unsubscribeOnline = void 0; 27154 } 27155 isFetching(filters) { 27156 return this.#queryCache.findAll({ ...filters, fetchStatus: "fetching" }).length; 27157 } 27158 isMutating(filters) { 27159 return this.#mutationCache.findAll({ ...filters, status: "pending" }).length; 27160 } 27161 /** 27162 * Imperative (non-reactive) way to retrieve data for a QueryKey. 27163 * Should only be used in callbacks or functions where reading the latest data is necessary, e.g. for optimistic updates. 27164 * 27165 * Hint: Do not use this function inside a component, because it won't receive updates. 27166 * Use `useQuery` to create a `QueryObserver` that subscribes to changes. 27167 */ 27168 getQueryData(queryKey) { 27169 const options = this.defaultQueryOptions({ queryKey }); 27170 return this.#queryCache.get(options.queryHash)?.state.data; 27171 } 27172 ensureQueryData(options) { 27173 const defaultedOptions = this.defaultQueryOptions(options); 27174 const query = this.#queryCache.build(this, defaultedOptions); 27175 const cachedData = query.state.data; 27176 if (cachedData === void 0) { 27177 return this.fetchQuery(options); 27178 } 27179 if (options.revalidateIfStale && query.isStaleByTime((0,utils/* resolveStaleTime */.d2)(defaultedOptions.staleTime, query))) { 27180 void this.prefetchQuery(defaultedOptions); 27181 } 27182 return Promise.resolve(cachedData); 27183 } 27184 getQueriesData(filters) { 27185 return this.#queryCache.findAll(filters).map(({ queryKey, state }) => { 27186 const data = state.data; 27187 return [queryKey, data]; 27188 }); 27189 } 27190 setQueryData(queryKey, updater, options) { 27191 const defaultedOptions = this.defaultQueryOptions({ queryKey }); 27192 const query = this.#queryCache.get( 27193 defaultedOptions.queryHash 27194 ); 27195 const prevData = query?.state.data; 27196 const data = (0,utils/* functionalUpdate */.Zw)(updater, prevData); 27197 if (data === void 0) { 27198 return void 0; 27199 } 27200 return this.#queryCache.build(this, defaultedOptions).setData(data, { ...options, manual: true }); 27201 } 27202 setQueriesData(filters, updater, options) { 27203 return notifyManager/* notifyManager */.jG.batch( 27204 () => this.#queryCache.findAll(filters).map(({ queryKey }) => [ 27205 queryKey, 27206 this.setQueryData(queryKey, updater, options) 27207 ]) 27208 ); 27209 } 27210 getQueryState(queryKey) { 27211 const options = this.defaultQueryOptions({ queryKey }); 27212 return this.#queryCache.get( 27213 options.queryHash 27214 )?.state; 27215 } 27216 removeQueries(filters) { 27217 const queryCache = this.#queryCache; 27218 notifyManager/* notifyManager */.jG.batch(() => { 27219 queryCache.findAll(filters).forEach((query) => { 27220 queryCache.remove(query); 27221 }); 27222 }); 27223 } 27224 resetQueries(filters, options) { 27225 const queryCache = this.#queryCache; 27226 return notifyManager/* notifyManager */.jG.batch(() => { 27227 queryCache.findAll(filters).forEach((query) => { 27228 query.reset(); 27229 }); 27230 return this.refetchQueries( 27231 { 27232 type: "active", 27233 ...filters 27234 }, 27235 options 27236 ); 27237 }); 27238 } 27239 cancelQueries(filters, cancelOptions = {}) { 27240 const defaultedCancelOptions = { revert: true, ...cancelOptions }; 27241 const promises = notifyManager/* notifyManager */.jG.batch( 27242 () => this.#queryCache.findAll(filters).map((query) => query.cancel(defaultedCancelOptions)) 27243 ); 27244 return Promise.all(promises).then(utils/* noop */.lQ).catch(utils/* noop */.lQ); 27245 } 27246 invalidateQueries(filters, options = {}) { 27247 return notifyManager/* notifyManager */.jG.batch(() => {
27248 this.#queryCache.findAll(filters).forEach((query) => { 27249 query.invalidate(); 27250 }); 27251 if (filters?.refetchType === "none") { 27252 return Promise.resolve(); 27253 } 27254 return this.refetchQueries( 27255 { 27256 ...filters, 27257 type: filters?.refetchType ?? filters?.type ?? "active" 27258 }, 27259 options 27260 ); 27261 }); 27262 } 27263 refetchQueries(filters, options = {}) { 27264 const fetchOptions = { 27265 ...options, 27266 cancelRefetch: options.cancelRefetch ?? true 27267 }; 27268 const promises = notifyManager/* notifyManager */.jG.batch( 27269 () => this.#queryCache.findAll(filters).filter((query) => !query.isDisabled()).map((query) => { 27270 let promise = query.fetch(void 0, fetchOptions); 27271 if (!fetchOptions.throwOnError) { 27272 promise = promise.catch(utils/* noop */.lQ); 27273 } 27274 return query.state.fetchStatus === "paused" ? Promise.resolve() : promise; 27275 }) 27276 ); 27277 return Promise.all(promises).then(utils/* noop */.lQ); 27278 } 27279 fetchQuery(options) { 27280 const defaultedOptions = this.defaultQueryOptions(options); 27281 if (defaultedOptions.retry === void 0) { 27282 defaultedOptions.retry = false; 27283 } 27284 const query = this.#queryCache.build(this, defaultedOptions); 27285 return query.isStaleByTime( 27286 (0,utils/* resolveStaleTime */.d2)(defaultedOptions.staleTime, query) 27287 ) ? query.fetch(defaultedOptions) : Promise.resolve(query.state.data); 27288 } 27289 prefetchQuery(options) { 27290 return this.fetchQuery(options).then(utils/* noop */.lQ).catch(utils/* noop */.lQ); 27291 } 27292 fetchInfiniteQuery(options) { 27293 options.behavior = infiniteQueryBehavior(options.pages); 27294 return this.fetchQuery(options); 27295 } 27296 prefetchInfiniteQuery(options) { 27297 return this.fetchInfiniteQuery(options).then(utils/* noop */.lQ).catch(utils/* noop */.lQ); 27298 } 27299 ensureInfiniteQueryData(options) { 27300 options.behavior = infiniteQueryBehavior(options.pages); 27301 return this.ensureQueryData(options); 27302 } 27303 resumePausedMutations() { 27304 if (onlineManager/* onlineManager */.t.isOnline()) { 27305 return this.#mutationCache.resumePausedMutations(); 27306 } 27307 return Promise.resolve(); 27308 } 27309 getQueryCache() { 27310 return this.#queryCache; 27311 } 27312 getMutationCache() { 27313 return this.#mutationCache; 27314 } 27315 getDefaultOptions() { 27316 return this.#defaultOptions; 27317 } 27318 setDefaultOptions(options) { 27319 this.#defaultOptions = options; 27320 } 27321 setQueryDefaults(queryKey, options) { 27322 this.#queryDefaults.set((0,utils/* hashKey */.EN)(queryKey), { 27323 queryKey, 27324 defaultOptions: options 27325 }); 27326 } 27327 getQueryDefaults(queryKey) { 27328 const defaults = [...this.#queryDefaults.values()]; 27329 const result = {}; 27330 defaults.forEach((queryDefault) => { 27331 if ((0,utils/* partialMatchKey */.Cp)(queryKey, queryDefault.queryKey)) { 27332 Object.assign(result, queryDefault.defaultOptions); 27333 } 27334 }); 27335 return result; 27336 } 27337 setMutationDefaults(mutationKey, options) { 27338 this.#mutationDefaults.set((0,utils/* hashKey */.EN)(mutationKey), { 27339 mutationKey, 27340 defaultOptions: options 27341 }); 27342 } 27343 getMutationDefaults(mutationKey) { 27344 const defaults = [...this.#mutationDefaults.values()]; 27345 const result = {}; 27346 defaults.forEach((queryDefault) => { 27347 if ((0,utils/* partialMatchKey */.Cp)(mutationKey, queryDefault.mutationKey)) { 27348 Object.assign(result, queryDefault.defaultOptions); 27349 } 27350 }); 27351 return result; 27352 } 27353 defaultQueryOptions(options) { 27354 if (options._defaulted) { 27355 return options; 27356 } 27357 const defaultedOptions = { 27358 ...this.#defaultOptions.queries, 27359 ...this.getQueryDefaults(options.queryKey), 27360 ...options, 27361 _defaulted: true 27362 }; 27363 if (!defaultedOptions.queryHash) { 27364 defaultedOptions.queryHash = (0,utils/* hashQueryKeyByOptions */.F$)( 27365 defaultedOptions.queryKey, 27366 defaultedOptions 27367 ); 27368 } 27369 if (defaultedOptions.refetchOnReconnect === void 0) { 27370 defaultedOptions.refetchOnReconnect = defaultedOptions.networkMode !== "always"; 27371 } 27372 if (defaultedOptions.throwOnError === void 0) { 27373 defaultedOptions.throwOnError = !!defaultedOptions.suspense; 27374 } 27375 if (!defaultedOptions.networkMode && defaultedOptions.persister) { 27376 defaultedOptions.networkMode = "offlineFirst"; 27377 } 27378 if (defaultedOptions.queryFn === utils/* skipToken */.hT) { 27379 defaultedOptions.enabled = false;
27380 } 27381 return defaultedOptions; 27382 } 27383 defaultMutationOptions(options) { 27384 if (options?._defaulted) { 27385 return options; 27386 } 27387 return { 27388 ...this.#defaultOptions.mutations, 27389 ...options?.mutationKey && this.getMutationDefaults(options.mutationKey), 27390 ...options, 27391 _defaulted: true 27392 }; 27393 } 27394 clear() { 27395 this.#queryCache.clear(); 27396 this.#mutationCache.clear(); 27397 } 27398}; 27399 27400//# sourceMappingURL=queryClient.js.map 27401// EXTERNAL MODULE: ../../.yarn/__virtual__/@tanstack-react-query-virtual-51dcbe54e2/0/cache/@tanstack-react-query-npm-5.74.7-fa655171ea-db8b267883.zip/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js 27402var QueryClientProvider = __webpack_require__(54767); 27403// EXTERNAL MODULE: ../../.yarn/cache/classnames-npm-2.3.2-d2fdae468d-ba3151c12e.zip/node_modules/classnames/index.js 27404var classnames = __webpack_require__(14712); 27405// EXTERNAL MODULE: ../../.yarn/cache/@floating-ui-core-npm-1.6.0-47cc2a9b3a-d6a47cacde.zip/node_modules/@floating-ui/core/dist/floating-ui.core.mjs 27406var floating_ui_core = __webpack_require__(95392); 27407// EXTERNAL MODULE: ../../.yarn/cache/@floating-ui-dom-npm-1.6.1-55a222b4ad-c010feb55b.zip/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs + 1 modules 27408var floating_ui_dom = __webpack_require__(53423); 27409;// ../../.yarn/__virtual__/react-tooltip-virtual-bdc4067196/0/cache/react-tooltip-npm-5.18.1-e48edd70d5-8c79bbc536.zip/node_modules/react-tooltip/dist/react-tooltip.min.mjs 27410/* 27411* React Tooltip 27412* {@link https://github.com/ReactTooltip/react-tooltip} 27413* @copyright ReactTooltip Team 27414* @license MIT
27415*/ 27416const f="react-tooltip-core-styles",y="react-tooltip-base-styles";function h({css:e,id:t=y,type:r="base",ref:o}){var n,l,c,i;if("core"===r&&"undefined"!=typeof process&&((null===(n=null===process||void 0===process?void 0:{"NODE_ENV":"development"})||void 0===n?void 0:n.REACT_TOOLTIP_DISABLE_CORE_STYLES)||(null===(l=null===process||void 0===process?void 0:{"NODE_ENV":"development"})||void 0===l?void 0:l.REACT_APP_REACT_TOOLTIP_DISABLE_CORE_STYLES)))return;if("core"!==r&&"undefined"!=typeof process&&((null===(c=null===process||void 0===process?void 0:{"NODE_ENV":"development"})||void 0===c?void 0:c.REACT_TOOLTIP_DISABLE_BASE_STYLES)||(null===(i=null===process||void 0===process?void 0:{"NODE_ENV":"development"})||void 0===i?void 0:i.REACT_APP_REACT_TOOLTIP_DISABLE_BASE_STYLES)))return;"core"===r&&(t=f),o||(o={});const{insertAt:s}=o;if(!e||"undefined"==typeof document||document.getElementById(t))return;const a=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css","top"===s&&a.firstChild?a.insertBefore(u,a.firstChild):a.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e))}function w({type:e="base",id:t=y}={}){"core"===e&&(t=f);const r=document.getElementById(t);null==r||r.remove()}const S=(e,t,r)=>{let o=null;return function(...n){const l=()=>{o=null,r||e.apply(this,n)};r&&!o&&(e.apply(this,n),o=setTimeout(l,t)),r||(o&&clearTimeout(o),o=setTimeout(l,t))}},E="DEFAULT_TOOLTIP_ID",b={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},_=(0,react.createContext)({getTooltipData:()=>b}),A=({children:t})=>{const[l,c]=r({[E]:new Set}),[i,s]=r({[E]:{current:null}}),a=(e,...t)=>{c((r=>{var o;const n=null!==(o=r[e])&&void 0!==o?o:new Set;return t.forEach((e=>n.add(e))),{...r,[e]:new Set(n)}}))},u=(e,...t)=>{c((r=>{const o=r[e];return o?(t.forEach((e=>o.delete(e))),{...r}):r}))},d=o(((e=E)=>{var t,r;return{anchorRefs:null!==(t=l[e])&&void 0!==t?t:new Set,activeAnchor:null!==(r=i[e])&&void 0!==r?r:{current:null},attach:(...t)=>a(e,...t),detach:(...t)=>u(e,...t),setActiveAnchor:t=>((e,t)=>{s((r=>{var o;return(null===(o=r[e])||void 0===o?void 0:o.current)===t.current?r:{...r,[e]:t}}))})(e,t)}}),[l,i,a,u]),p=n((()=>({getTooltipData:d})),[d]);return e.createElement(_.Provider,{value:p},t)};function T(e=E){return (0,react.useContext)(_).getTooltipData(e)}const g=({tooltipId:t,children:r,className:o,place:n,content:l,html:s,variant:u,offset:d,wrapper:p,events:v,positionStrategy:m,delayShow:f,delayHide:y})=>{const{attach:h,detach:w}=T(t),S=c(null);return i((()=>(h(S),()=>{w(S)})),[]),e.createElement("span",{ref:S,className:a("react-tooltip-wrapper",o),"data-tooltip-place":n,"data-tooltip-content":l,"data-tooltip-html":s,"data-tooltip-variant":u,"data-tooltip-offset":d,"data-tooltip-wrapper":p,"data-tooltip-events":v,"data-tooltip-position-strategy":m,"data-tooltip-delay-show":f,"data-tooltip-delay-hide":y},r)},L="undefined"!=typeof window?react.useLayoutEffect:react.useEffect,O=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((e=>{const r=t.getPropertyValue(e);return"auto"===r||"scroll"===r}))},R=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(O(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},N=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:o="top",offset:n=10,strategy:l="absolute",middlewares:c=[(0,floating_ui_core/* offset */.cY)(Number(n)),(0,floating_ui_dom/* flip */.UU)(),(0,floating_ui_dom/* shift */.BN)({padding:5})],border:i})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};const s=c;return r?(s.push((0,floating_ui_dom/* arrow */.UE)({element:r,padding:5})),(0,floating_ui_dom/* computePosition */.rD)(e,t,{placement:o,strategy:l,middleware:s}).then((({x:e,y:t,placement:r,middlewareData:o})=>{var n,l;const c={left:`${e}px`,top:`${t}px`,border:i}
27416,{x:s,y:a}=null!==(n=o.arrow)&&void 0!==n?n:{x:0,y:0},u=null!==(l={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]])&&void 0!==l?l:"bottom",d=i&&{top:{borderBottom:i,borderRight:i},right:{borderBottom:i,borderLeft:i},bottom:{borderTop:i,borderLeft:i},left:{borderTop:i,borderRight:i}}[r.split("-")[0]];let p=0;if(i){const e=`${i}`.match(/(\d+)px/);p=(null==e?void 0:e[1])?Number(e[1]):1}return{tooltipStyles:c,tooltipArrowStyles:{left:null!=s?`${s}px`:"",top:null!=a?`${a}px`:"",right:"",bottom:"",...d,[u]:`-${4+p}px`},place:r}}))):(0,floating_ui_dom/* computePosition */.rD)(e,t,{placement:"bottom",strategy:l,middleware:s}).then((({x:e,y:t,placement:r})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:r})))};var k="core-styles-module_tooltip__3vRRp",x="core-styles-module_fixed__pcSol",C="core-styles-module_arrow__cvMwQ",$="core-styles-module_noArrow__xock6",I="core-styles-module_clickable__ZuTTB",B="core-styles-module_show__Nt9eE",D={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const P=({id:t,className:o,classNameArrow:n,variant:l="dark",anchorId:s,anchorSelect:u,place:d="top",offset:p=10,events:v=["hover"],openOnClick:m=!1,positionStrategy:f="absolute",middlewares:y,wrapper:h,delayShow:w=0,delayHide:E=0,float:b=!1,hidden:_=!1,noArrow:A=!1,clickable:g=!1,closeOnEsc:O=!1,closeOnScroll:P=!1,closeOnResize:H=!1,style:j,position:q,afterShow:z,afterHide:W,content:M,contentWrapperRef:Y,isOpen:K,setIsOpen:U,activeAnchor:X,setActiveAnchor:F,border:V,opacity:Z})=>{const G=(0,react.useRef)(null),J=(0,react.useRef)(null),Q=(0,react.useRef)(null),ee=(0,react.useRef)(null),[te,re]=(0,react.useState)(d),[oe,ne]=(0,react.useState)({}),[le,ce]=(0,react.useState)({}),[ie,se]=(0,react.useState)(!1),[ae,ue]=(0,react.useState)(!1),de=(0,react.useRef)(!1),pe=(0,react.useRef)(null),{anchorRefs:ve,setActiveAnchor:me}=T(t),fe=(0,react.useRef)(!1),[ye,he]=(0,react.useState)([]),we=(0,react.useRef)(!1),Se=m||v.includes("click");L((()=>(we.current=!0,()=>{we.current=!1})),[]),(0,react.useEffect)((()=>{if(!ie){const e=setTimeout((()=>{ue(!1)}),150);return()=>{clearTimeout(e)}}return()=>null}),[ie]);const Ee=e=>{we.current&&(e&&ue(!0),setTimeout((()=>{we.current&&(null==U||U(e),void 0===K&&se(e))}),10))};(0,react.useEffect)((()=>{if(void 0===K)return()=>null;K&&ue(!0);const e=setTimeout((()=>{se(K)}),10);return()=>{clearTimeout(e)}}),[K]),(0,react.useEffect)((()=>{ie!==de.current&&(de.current=ie,ie?null==z||z():null==W||W())}),[ie]);const be=(e=E)=>{ee.current&&clearTimeout(ee.current),ee.current=setTimeout((()=>{fe.current||Ee(!1)}),e)},_e=e=>{var t;if(!e)return;const r=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==r?void 0:r.isConnected))return F(null),void me({current:null});w?(Q.current&&clearTimeout(Q.current),Q.current=setTimeout((()=>{Ee(!0)}),w)):Ee(!0),F(r),me({current:r}),ee.current&&clearTimeout(ee.current)},Ae=()=>{g?be(E||100):E?be():Ee(!1),Q.current&&clearTimeout(Q.current)},Te=({x:e,y:t})=>{N({place:d,offset:p,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:G.current,tooltipArrowReference:J.current,strategy:f,middlewares:y,border:V}).then((e=>{Object.keys(e.tooltipStyles).length&&ne(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&ce(e.tooltipArrowStyles),re(e.place)}))},ge=e=>{if(!e)return;const t=e,r={x:t.clientX,y:t.clientY};Te(r),pe.current=r},Le=e=>{_e(e),E&&be()},Oe=e=>{var t;[document.querySelector(`[id='${s}']`),...ye].some((t=>null==t?void 0:t.contains(e.target)))||(null===(t=G.current)||void 0===t?void 0:t.contains(e.target))||(Ee(!1),Q.current&&clearTimeout(Q.current))},Re=S(_e,50,!0),Ne=S(Ae,50,!0);(0,react.useEffect)((()=>{var e,t;const r=new Set(ve);ye.forEach((e=>{r.add({current:e})}));const o=document.querySelector(`[id='${s}']`);o&&r.add({current:o});const n=()=>{Ee(!1)},l=R(X),c=R(G.current);P&&(window.addEventListener("scroll",n),null==l||l.addEventListener("scroll",n),null==c||c.addEventListener("scroll",n)),H&&window.addEventListener("resize",n);const i=e=>{"Escape"===e.key&&Ee(!1)};O&&window.addEventListener("keydown",i);const a=[];Se?(window.addEventListener("click",Oe),a.push({event:"click",listener:Le}
27416)):(a.push({event:"mouseenter",listener:Re},{event:"mouseleave",listener:Ne},{event:"focus",listener:Re},{event:"blur",listener:Ne}),b&&a.push({event:"mousemove",listener:ge}));const u=()=>{fe.current=!0},d=()=>{fe.current=!1,Ae()};return g&&!Se&&(null===(e=G.current)||void 0===e||e.addEventListener("mouseenter",u),null===(t=G.current)||void 0===t||t.addEventListener("mouseleave",d)),a.forEach((({event:e,listener:t})=>{r.forEach((r=>{var o;null===(o=r.current)||void 0===o||o.addEventListener(e,t)}))})),()=>{var e,t;P&&(window.removeEventListener("scroll",n),null==l||l.removeEventListener("scroll",n),null==c||c.removeEventListener("scroll",n)),H&&window.removeEventListener("resize",n),Se&&window.removeEventListener("click",Oe),O&&window.removeEventListener("keydown",i),g&&!Se&&(null===(e=G.current)||void 0===e||e.removeEventListener("mouseenter",u),null===(t=G.current)||void 0===t||t.removeEventListener("mouseleave",d)),a.forEach((({event:e,listener:t})=>{r.forEach((r=>{var o;null===(o=r.current)||void 0===o||o.removeEventListener(e,t)}))}))}}),[ae,ve,ye,O,v]),(0,react.useEffect)((()=>{let e=null!=u?u:"";!e&&t&&(e=`[data-tooltip-id='${t}']`);const r=new MutationObserver((r=>{const o=[];r.forEach((r=>{if("attributes"===r.type&&"data-tooltip-id"===r.attributeName){r.target.getAttribute("data-tooltip-id")===t&&o.push(r.target)}if("childList"===r.type&&(X&&[...r.removedNodes].some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,X))&&(ue(!1),Ee(!1),F(null),Q.current&&clearTimeout(Q.current),ee.current&&clearTimeout(ee.current),!0)})),e))try{const t=[...r.addedNodes].filter((e=>1===e.nodeType));o.push(...t.filter((t=>t.matches(e)))),o.push(...t.flatMap((t=>[...t.querySelectorAll(e)])))}catch(e){}})),o.length&&he((e=>[...e,...o]))}));return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{r.disconnect()}}),[t,u,X]);const ke=()=>{q?Te(q):b?pe.current&&Te(pe.current):N({place:d,offset:p,elementReference:X,tooltipReference:G.current,tooltipArrowReference:J.current,strategy:f,middlewares:y,border:V}).then((e=>{we.current&&(Object.keys(e.tooltipStyles).length&&ne(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&ce(e.tooltipArrowStyles),re(e.place))}))};(0,react.useEffect)((()=>{ke()}),[ie,X,M,j,d,p,f,q]),(0,react.useEffect)((()=>{if(!(null==Y?void 0:Y.current))return()=>null;const e=new ResizeObserver((()=>{ke()}));return e.observe(Y.current),()=>{e.disconnect()}}),[M,null==Y?void 0:Y.current]),(0,react.useEffect)((()=>{var e;const t=document.querySelector(`[id='${s}']`),r=[...ye,t];X&&r.includes(X)||F(null!==(e=ye[0])&&void 0!==e?e:t)}),[s,ye,X]),(0,react.useEffect)((()=>()=>{Q.current&&clearTimeout(Q.current),ee.current&&clearTimeout(ee.current)}),[]),(0,react.useEffect)((()=>{let e=u;if(!e&&t&&(e=`[data-tooltip-id='${t}']`),e)try{const t=Array.from(document.querySelectorAll(e));he(t)}catch(e){he([])}}),[t,u]);const xe=!_&&M&&ie&&Object.keys(oe).length>0;return ae?react.createElement(h,{id:t,role:"tooltip",className:classnames("react-tooltip",k,D.tooltip,D[l],o,`react-tooltip__place-${te}`,{[B]:xe,[x]:"fixed"===f,[I]:g}),style:{...j,...oe,opacity:void 0!==Z&&xe?Z:void 0},ref:G},M,react.createElement(h,{className:classnames("react-tooltip-arrow",C,D.arrow,n,{[$]:A}),style:le,ref:J})):null},H=({content:t})=>react.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),j=({id:t,anchorId:o,anchorSelect:n,content:l,html:s,render:a,className:u,classNameArrow:d,variant:p="dark",place:v="top",offset:m=10,wrapper:f="div",children:y=null,events:h=["hover"],openOnClick:w=!1,positionStrategy:S="absolute",middlewares:E,delayShow:b=0,delayHide:_=0,float:A=!1,hidden:g=!1,noArrow:L=!1,clickable:O=!1,closeOnEsc:R=!1,closeOnScroll:N=!1,closeOnResize:k=!1,style:x,position:C,isOpen:$,border:I,opacity:B,setIsOpen:D,afterShow:j,afterHide:q})=>{const[z,W]=(0,react.useState)(l),[M,Y]=(0,react.useState)(s),[K,U]=(0,react.useState)(v),[X,F]=(0,react.useState)(p),[V,Z]=(0,react.useState)(m),[G,J]=(0,react.useState)(b),[Q,ee]=(0,react.useState)(_),[te,re]=(0,react.useState)(A),[oe,ne]=(0,react.useState)(g),[le,ce]=(0,react.useState)(f),[ie,se]=(0,react.useState)(h),[ae,ue]=(0,react.useState)(S),[de,pe]=(0,react.useState)(null),{anch
27416orRefs:ve,activeAnchor:me}=T(t),fe=e=>null==e?void 0:e.getAttributeNames().reduce(((t,r)=>{var o;if(r.startsWith("data-tooltip-")){t[r.replace(/^data-tooltip-/,"")]=null!==(o=null==e?void 0:e.getAttribute(r))&&void 0!==o?o:null}return t}),{}),ye=e=>{const t={place:e=>{var t;U(null!==(t=e)&&void 0!==t?t:v)},content:e=>{W(null!=e?e:l)},html:e=>{Y(null!=e?e:s)},variant:e=>{var t;F(null!==(t=e)&&void 0!==t?t:p)},offset:e=>{Z(null===e?m:Number(e))},wrapper:e=>{var t;ce(null!==(t=e)&&void 0!==t?t:f)},events:e=>{const t=null==e?void 0:e.split(" ");se(null!=t?t:h)},"position-strategy":e=>{var t;ue(null!==(t=e)&&void 0!==t?t:S)},"delay-show":e=>{J(null===e?b:Number(e))},"delay-hide":e=>{ee(null===e?_:Number(e))},float:e=>{re(null===e?A:"true"===e)},hidden:e=>{ne(null===e?g:"true"===e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,r])=>{var o;null===(o=t[e])||void 0===o||o.call(t,r)}))};(0,react.useEffect)((()=>{W(l)}),[l]),(0,react.useEffect)((()=>{Y(s)}),[s]),(0,react.useEffect)((()=>{U(v)}),[v]),(0,react.useEffect)((()=>{F(p)}),[p]),(0,react.useEffect)((()=>{Z(m)}),[m]),(0,react.useEffect)((()=>{J(b)}),[b]),(0,react.useEffect)((()=>{ee(_)}),[_]),(0,react.useEffect)((()=>{re(A)}),[A]),(0,react.useEffect)((()=>{ne(g)}),[g]),(0,react.useEffect)((()=>{ue(S)}),[S]),(0,react.useEffect)((()=>{var e;const r=new Set(ve);let l=n;if(!l&&t&&(l=`[data-tooltip-id='${t}']`),l)try{document.querySelectorAll(l).forEach((e=>{r.add({current:e})}))}catch(e){console.warn(`[react-tooltip] "${l}" is not a valid CSS selector`)}const c=document.querySelector(`[id='${o}']`);if(c&&r.add({current:c}),!r.size)return()=>null;const i=null!==(e=null!=de?de:c)&&void 0!==e?e:me.current,s=new MutationObserver((e=>{e.forEach((e=>{var t;if(!i||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const r=fe(i);ye(r)}))})),a={attributes:!0,childList:!1,subtree:!1};if(i){const e=fe(i);ye(e),s.observe(i,a)}return()=>{s.disconnect()}}),[ve,me,de,o,n]),(0,react.useEffect)((()=>{(null==x?void 0:x.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),I&&!CSS.supports("border",`${I}`)&&console.warn(`[react-tooltip] "${I}" is not a valid \`border\`.`),(null==x?void 0:x.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),B&&!CSS.supports("opacity",`${B}`)&&console.warn(`[react-tooltip] "${B}" is not a valid \`opacity\`.`)}),[]);let he=y;const we=(0,react.useRef)(null);if(a){const t=a({content:null!=z?z:null,activeAnchor:de});he=t?react.createElement("div",{ref:we,className:"react-tooltip-content-wrapper"},t):null}else z&&(he=z);M&&(he=react.createElement(H,{content:M}));const Se={id:t,anchorId:o,anchorSelect:n,className:u,classNameArrow:d,content:he,contentWrapperRef:we,place:K,variant:X,offset:V,wrapper:le,events:ie,openOnClick:w,positionStrategy:ae,middlewares:E,delayShow:G,delayHide:Q,float:te,hidden:oe,noArrow:L,clickable:O,closeOnEsc:R,closeOnScroll:N,closeOnResize:k,style:x,position:C,isOpen:$,border:I,opacity:B,setIsOpen:D,afterShow:j,afterHide:q,activeAnchor:de,setActiveAnchor:e=>pe(e)};return react.createElement(P,{...Se})};h({css:`:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}`,type:"core"}),h({css:` 27417.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`}); 27418 27419;// ./src/theme/Root.tsx 27420 27421 27422 27423 27424 27425 27426 27427 27428const queryClient = new QueryClient(); 27429function Root({ children }) { 27430 const route = (0,react_router/* useLocation */.zy)(); 27431 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 27432 children: [
27433 /* @__PURE__ */ (0,jsx_runtime.jsx)(Head/* default */.A, { 27434 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("html", { 27435 "x-doc-route": route.pathname 27436 }) 27437 }), 27438 /* @__PURE__ */ (0,jsx_runtime.jsx)(j, { 27439 id: `tooltip` 27440 }), 27441 /* @__PURE__ */ (0,jsx_runtime.jsx)(QueryClientProvider/* QueryClientProvider */.Ht, { 27442 client: queryClient, 27443 children 27444 }) 27445 ] 27446 }); 27447} 27448 27449// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useDocusaurusContext.js 27450var useDocusaurusContext = __webpack_require__(99788); 27451// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useBaseUrl.js 27452var useBaseUrl = __webpack_require__(54271); 27453// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useThemeConfig.js 27454var useThemeConfig = __webpack_require__(90864); 27455// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/metadataUtils.js 27456var metadataUtils = __webpack_require__(35646); 27457// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/useAlternatePageUtils.js 27458var useAlternatePageUtils = __webpack_require__(31981); 27459// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/useKeyboardNavigation.js + 1 modules 27460var useKeyboardNavigation = __webpack_require__(79583); 27461// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/utils/searchUtils.js 27462var searchUtils = __webpack_require__(40821); 27463// EXTERNAL MODULE: ../../.yarn/cache/@docusaurus-utils-common-npm-3.7.0-d5b8a79f92-3938f9fada.zip/node_modules/@docusaurus/utils-common/lib/index.js 27464var lib = __webpack_require__(2300); 27465// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/SearchMetadata/index.js 27466var SearchMetadata = __webpack_require__(89737); 27467;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/SiteMetadata/index.js 27468var __defProp = Object.defineProperty; 27469var __getOwnPropSymbols = Object.getOwnPropertySymbols; 27470var __hasOwnProp = Object.prototype.hasOwnProperty; 27471var __propIsEnum = Object.prototype.propertyIsEnumerable; 27472var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 27473var __spreadValues = (a, b) => { 27474 for (var prop in b || (b = {})) 27475 if (__hasOwnProp.call(b, prop)) 27476 __defNormalProp(a, prop, b[prop]); 27477 if (__getOwnPropSymbols) 27478 for (var prop of __getOwnPropSymbols(b)) { 27479 if (__propIsEnum.call(b, prop)) 27480 __defNormalProp(a, prop, b[prop]); 27481 } 27482 return a; 27483}; 27484 27485 27486 27487 27488 27489 27490 27491 27492 27493function AlternateLangHeaders() { 27494 const { 27495 i18n: { currentLocale, defaultLocale, localeConfigs } 27496 } = (0,useDocusaurusContext["default"])(); 27497 const alternatePageUtils = (0,useAlternatePageUtils/* useAlternatePageUtils */.o)(); 27498 const currentHtmlLang = localeConfigs[currentLocale].htmlLang; 27499 const bcp47ToOpenGraphLocale = (code) => code.replace("-", "_"); 27500 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(Head/* default */.A, { 27501 children: [ 27502 Object.entries(localeConfigs).map(([locale, { htmlLang }]) => /* @__PURE__ */ (0,jsx_runtime.jsx)("link", { 27503 rel: "alternate", 27504 href: alternatePageUtils.createUrl({ 27505 locale, 27506 fullyQualified: true 27507 }), 27508 hrefLang: htmlLang 27509 }, locale)),
27510 /* @__PURE__ */ (0,jsx_runtime.jsx)("link", { 27511 rel: "alternate", 27512 href: alternatePageUtils.createUrl({ 27513 locale: defaultLocale, 27514 fullyQualified: true 27515 }), 27516 hrefLang: "x-default" 27517 }), 27518 /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27519 property: "og:locale", 27520 content: bcp47ToOpenGraphLocale(currentHtmlLang) 27521 }), 27522 Object.values(localeConfigs).filter((config) => currentHtmlLang !== config.htmlLang).map((config) => /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27523 property: "og:locale:alternate", 27524 content: bcp47ToOpenGraphLocale(config.htmlLang) 27525 }, `meta-og-${config.htmlLang}`)) 27526 ] 27527 }); 27528} 27529function useDefaultCanonicalUrl() { 27530 const { 27531 siteConfig: { url: siteUrl, baseUrl, trailingSlash } 27532 } = (0,useDocusaurusContext["default"])(); 27533 const { pathname } = (0,react_router/* useLocation */.zy)(); 27534 const canonicalPathname = (0,lib/* applyTrailingSlash */.Ks)((0,useBaseUrl/* default */.Ay)(pathname), { 27535 trailingSlash, 27536 baseUrl 27537 }); 27538 return siteUrl + canonicalPathname; 27539} 27540function CanonicalUrlHeaders({ permalink }) { 27541 const { 27542 siteConfig: { url: siteUrl } 27543 } = (0,useDocusaurusContext["default"])(); 27544 const defaultCanonicalUrl = useDefaultCanonicalUrl(); 27545 const canonicalUrl = permalink ? `${siteUrl}${permalink}` : defaultCanonicalUrl; 27546 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(Head/* default */.A, { 27547 children: [
27548 /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27549 property: "og:url", 27550 content: canonicalUrl 27551 }), 27552 /* @__PURE__ */ (0,jsx_runtime.jsx)("link", { 27553 rel: "canonical", 27554 href: canonicalUrl 27555 }) 27556 ] 27557 }); 27558} 27559function SiteMetadata() { 27560 const { 27561 i18n: { currentLocale } 27562 } = (0,useDocusaurusContext["default"])(); 27563 const { metadata, image: defaultImage } = (0,useThemeConfig/* useThemeConfig */.p)(); 27564 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { 27565 children: [ 27566 /* @__PURE__ */ (0,jsx_runtime.jsxs)(Head/* default */.A, { 27567 children: [ 27568 /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27569 name: "twitter:card", 27570 content: "summary_large_image" 27571 }), 27572 /* @__PURE__ */ (0,jsx_runtime.jsx)("body", { 27573 className: useKeyboardNavigation/* keyboardFocusedClassName */.w 27574 }) 27575 ] 27576 }), 27577 defaultImage && /* @__PURE__ */ (0,jsx_runtime.jsx)(metadataUtils/* PageMetadata */.be, { 27578 image: defaultImage 27579 }),
27580 /* @__PURE__ */ (0,jsx_runtime.jsx)(CanonicalUrlHeaders, {}), 27581 /* @__PURE__ */ (0,jsx_runtime.jsx)(AlternateLangHeaders, {}), 27582 /* @__PURE__ */ (0,jsx_runtime.jsx)(SearchMetadata/* default */.A, { 27583 tag: searchUtils/* DEFAULT_SEARCH_TAG */.C, 27584 locale: currentLocale 27585 }), 27586 /* @__PURE__ */ (0,jsx_runtime.jsx)(Head/* default */.A, { 27587 children: metadata.map((metadatum, i) => /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", __spreadValues({}, metadatum), i)) 27588 }) 27589 ] 27590 }); 27591} 27592 27593;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/normalizeLocation.js 27594var normalizeLocation_defProp = Object.defineProperty; 27595var __defProps = Object.defineProperties; 27596var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 27597var normalizeLocation_getOwnPropSymbols = Object.getOwnPropertySymbols; 27598var normalizeLocation_hasOwnProp = Object.prototype.hasOwnProperty; 27599var normalizeLocation_propIsEnum = Object.prototype.propertyIsEnumerable; 27600var normalizeLocation_defNormalProp = (obj, key, value) => key in obj ? normalizeLocation_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 27601var normalizeLocation_spreadValues = (a, b) => { 27602 for (var prop in b || (b = {})) 27603 if (normalizeLocation_hasOwnProp.call(b, prop)) 27604 normalizeLocation_defNormalProp(a, prop, b[prop]); 27605 if (normalizeLocation_getOwnPropSymbols) 27606 for (var prop of normalizeLocation_getOwnPropSymbols(b)) { 27607 if (normalizeLocation_propIsEnum.call(b, prop)) 27608 normalizeLocation_defNormalProp(a, prop, b[prop]); 27609 } 27610 return a; 27611}; 27612var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 27613 27614 27615const pathnames = /* @__PURE__ */ new Map(); 27616function normalizeLocation(location) { 27617 if (pathnames.has(location.pathname)) { 27618 return __spreadProps(normalizeLocation_spreadValues({}, location), { 27619 pathname: pathnames.get(location.pathname) 27620 }); 27621 } 27622 const matchedRoutes = (0,react_router_config/* matchRoutes */.u)(routes/* default */.A, location.pathname); 27623 if (matchedRoutes.some(({ route }) => route.exact === true)) { 27624 pathnames.set(location.pathname, location.pathname); 27625 return location; 27626 } 27627 const pathname = location.pathname.trim().replace(/(?:\/index)?\.html$/, "") || "/"; 27628 pathnames.set(location.pathname, pathname); 27629 return __spreadProps(normalizeLocation_spreadValues({}, location), { 27630 pathname 27631 }); 27632} 27633 27634// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/browserContext.js 27635var browserContext = __webpack_require__(73855); 27636// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/docusaurusContext.js + 3 modules 27637var docusaurusContext = __webpack_require__(14709); 27638// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useIsomorphicLayoutEffect.js 27639var useIsomorphicLayoutEffect = __webpack_require__(44823); 27640;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/ClientLifecyclesDispatcher.js 27641 27642 27643function dispatchLifecycleAction(lifecycleAction, ...args) { 27644 const callbacks = client_modules.map((clientModule) => { 27645 var _a, _b; 27646 const lifecycleFunction = (_b = (_a = clientModule.default) == null ? void 0 : _a[lifecycleAction]) != null ? _b : clientModule[lifecycleAction]; 27647 return lifecycleFunction == null ? void 0 : lifecycleFunction(...args); 27648 }); 27649 return () => callbacks.forEach((cb) => cb == null ? void 0 : cb()); 27650} 27651function scrollAfterNavigation({ location, previousLocation }) { 27652 if (!previousLocation) { 27653 return; 27654 } 27655 const samePathname = location.pathname === previousLocation.pathname; 27656 const sameHash = location.hash === previousLocation.hash; 27657 const sameSearch = location.search === previousLocation.search; 27658 if (samePathname && sameHash && !sameSearch) { 27659 return; 27660 } 27661 const { hash } = location; 27662 if (!hash) { 27663 window.scrollTo(0, 0); 27664 } else { 27665 const id = decodeURIComponent(hash.substring(1)); 27666 const element = document.getElementById(id); 27667 element == null ? void 0 : element.scrollIntoView(); 27668 } 27669}
27670function ClientLifecyclesDispatcher({ children, location, previousLocation }) { 27671 (0,useIsomorphicLayoutEffect/* default */.A)(() => { 27672 if (previousLocation !== location) { 27673 scrollAfterNavigation({ location, previousLocation }); 27674 dispatchLifecycleAction("onRouteDidUpdate", { previousLocation, location }); 27675 } 27676 }, [previousLocation, location]); 27677 return children; 27678} 27679/* harmony default export */ const client_ClientLifecyclesDispatcher = (ClientLifecyclesDispatcher); 27680 27681;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/preload.js 27682 27683 27684function preload(pathname) { 27685 const matches = Array.from(/* @__PURE__ */ new Set([pathname, decodeURI(pathname)])).map((p) => (0,react_router_config/* matchRoutes */.u)(routes/* default */.A, p)).flat(); 27686 return Promise.all(matches.map((match) => { 27687 var _a, _b; 27688 return (_b = (_a = match.route.component).preload) == null ? void 0 : _b.call(_a); 27689 })); 27690} 27691 27692;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/PendingNavigation.js 27693var PendingNavigation_defProp = Object.defineProperty; 27694var PendingNavigation_defNormalProp = (obj, key, value) => key in obj ? PendingNavigation_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 27695var __publicField = (obj, key, value) => { 27696 PendingNavigation_defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); 27697 return value; 27698}; 27699 27700 27701 27702 27703 27704 27705class PendingNavigation extends react.Component { 27706 constructor(props) { 27707 super(props); 27708 __publicField(this, "previousLocation"); 27709 __publicField(this, "routeUpdateCleanupCb"); 27710 this.previousLocation = null; 27711 this.routeUpdateCleanupCb = ExecutionEnvironment/* default */.A.canUseDOM ? dispatchLifecycleAction("onRouteUpdate", { 27712 previousLocation: null, 27713 location: this.props.location 27714 }) : () => { 27715 }; 27716 this.state = { 27717 nextRouteHasLoaded: true 27718 }; 27719 } 27720 shouldComponentUpdate(nextProps, nextState) { 27721 if (nextProps.location === this.props.location) { 27722 return nextState.nextRouteHasLoaded; 27723 } 27724 const nextLocation = nextProps.location; 27725 this.previousLocation = this.props.location; 27726 this.setState({ nextRouteHasLoaded: false }); 27727 this.routeUpdateCleanupCb = dispatchLifecycleAction("onRouteUpdate", { 27728 previousLocation: this.previousLocation, 27729 location: nextLocation 27730 }); 27731 preload(nextLocation.pathname).then(() => { 27732 this.routeUpdateCleanupCb(); 27733 this.setState({ nextRouteHasLoaded: true }); 27734 }).catch((e) => { 27735 console.warn(e); 27736 window.location.reload(); 27737 }); 27738 return false; 27739 } 27740 render() { 27741 const { children, location } = this.props; 27742 return /* @__PURE__ */ (0,jsx_runtime.jsx)(client_ClientLifecyclesDispatcher, { 27743 previousLocation: this.previousLocation, 27744 location, 27745 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(react_router/* Route */.qh, { 27746 location, 27747 render: () => children 27748 }) 27749 }); 27750 } 27751} 27752/* harmony default export */ const client_PendingNavigation = (PendingNavigation); 27753 27754;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/BaseUrlIssueBanner/styles.module.css 27755// extracted by mini-css-extract-plugin 27756/* harmony default export */ const styles_module = ({}); 27757;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/BaseUrlIssueBanner/index.js 27758 27759 27760 27761 27762 27763 27764const BannerContainerId = "__docusaurus-base-url-issue-banner-container"; 27765const BannerId = "__docusaurus-base-url-issue-banner"; 27766const SuggestionContainerId = "__docusaurus-base-url-issue-banner-suggestion-container"; 27767function createInlineHtmlBanner(baseUrl) { 27768 return ` 27769<div id="${BannerId}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;"> 27770 <p style="font-weight: bold; font-size: 30px;">
27770Your Docusaurus site did not load properly.</p> 27771 <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> 27772 <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${baseUrl}</span> ${baseUrl === "/" ? " (default value)" : ""}</p> 27773 <p>We suggest trying baseUrl = <span id="${SuggestionContainerId}" style="font-weight: bold; color: green;"></span></p> 27774</div> 27775`; 27776} 27777function createInlineScript(baseUrl) { 27778 return ` 27779document.addEventListener('DOMContentLoaded', function maybeInsertBanner() { 27780 var shouldInsert = typeof window['docusaurus'] === 'undefined'; 27781 shouldInsert && insertBanner(); 27782}); 27783 27784function insertBanner() { 27785 var bannerContainer = document.createElement('div'); 27786 bannerContainer.id = '${BannerContainerId}'; 27787 var bannerHtml = ${JSON.stringify(createInlineHtmlBanner(baseUrl)).replace(/</g, "\\<")}; 27788 bannerContainer.innerHTML = bannerHtml; 27789 document.body.prepend(bannerContainer); 27790 var suggestionContainer = document.getElementById('${SuggestionContainerId}'); 27791 var actualHomePagePath = window.location.pathname; 27792 var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/' 27793 ? actualHomePagePath 27794 : actualHomePagePath + '/'; 27795 suggestionContainer.innerHTML = suggestedBaseUrl; 27796} 27797`; 27798} 27799function BaseUrlIssueBanner() { 27800 const { siteConfig: { baseUrl } } = (0,useDocusaurusContext["default"])(); 27801 return /* @__PURE__ */ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, { 27802 children: !ExecutionEnvironment/* default */.A.canUseDOM && /* @__P
27802URE__ */ (0,jsx_runtime.jsx)(Head/* default */.A, { 27803 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("script", { 27804 children: createInlineScript(baseUrl) 27805 }) 27806 }) 27807 }); 27808} 27809function MaybeBaseUrlIssueBanner() { 27810 const { siteConfig: { baseUrl, baseUrlIssueBanner } } = (0,useDocusaurusContext["default"])(); 27811 const { pathname } = (0,react_router/* useLocation */.zy)(); 27812 const isHomePage = pathname === baseUrl; 27813 const enabled = baseUrlIssueBanner && isHomePage; 27814 return enabled ? /* @__PURE__ */ (0,jsx_runtime.jsx)(BaseUrlIssueBanner, {}) : null; 27815} 27816 27817;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/SiteMetadataDefaults.js 27818 27819 27820 27821 27822function SiteMetadataDefaults() { 27823 const { siteConfig: { favicon, title, noIndex }, i18n: { currentLocale, localeConfigs } } = (0,useDocusaurusContext["default"])(); 27824 const faviconUrl = (0,useBaseUrl/* default */.Ay)(favicon); 27825 const { htmlLang, direction: htmlDir } = localeConfigs[currentLocale]; 27826 return /* @__PURE__ */ (0,jsx_runtime.jsxs)(Head/* default */.A, { 27827 children: [
27828 /* @__PURE__ */ (0,jsx_runtime.jsx)("html", { 27829 lang: htmlLang, 27830 dir: htmlDir 27831 }), 27832 /* @__PURE__ */ (0,jsx_runtime.jsx)("title", { 27833 children: title 27834 }), 27835 /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27836 property: "og:title", 27837 content: title 27838 }), 27839 /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27840 name: "viewport", 27841 content: "width=device-width, initial-scale=1.0" 27842 }), 27843 noIndex && /* @__PURE__ */ (0,jsx_runtime.jsx)("meta", { 27844 name: "robots", 27845 content: "noindex, nofollow" 27846 }), 27847 favicon && /* @__PURE__ */ (0,jsx_runtime.jsx)("link", { 27848 rel: "icon", 27849 href: faviconUrl 27850 }) 27851 ] 27852 }); 27853} 27854 27855// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/ErrorBoundary.js + 1 modules 27856var ErrorBoundary = __webpack_require__(10035); 27857// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useIsBrowser.js 27858var useIsBrowser = __webpack_require__(38389); 27859;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/hasHydratedDataAttribute.js 27860 27861 27862 27863function HasHydratedDataAttribute() { 27864 const isBrowser = (0,useIsBrowser/* default */.A)(); 27865 return /* @__PURE__ */ (0,jsx_runtime.jsx)(Head/* default */.A, { 27866 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("html", { 27867 "data-has-hydrated": isBrowser 27868 }) 27869 }); 27870} 27871 27872;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/App.js 27873 27874 27875 27876 27877 27878 27879 27880 27881 27882 27883 27884 27885 27886 27887 27888const routesElement = (0,react_router_config/* renderRoutes */.v)(routes/* default */.A); 27889function AppNavigation() { 27890 const location = (0,react_router/* useLocation */.zy)(); 27891 const normalizedLocation = normalizeLocation(location); 27892 return /* @__PURE__ */ (0,jsx_runtime.jsx)(client_PendingNavigation, { 27893 location: normalizedLocation, 27894 children: routesElement 27895 }); 27896} 27897function App() { 27898 return /* @__PURE__ */ (0,jsx_runtime.jsx)(ErrorBoundary/* default */.A, { 27899 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(docusaurusContext/* DocusaurusContextProvider */.l, { 27900 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)(browserContext/* BrowserContextProvider */.x, { 27901 children: [
27902 /* @__PURE__ */ (0,jsx_runtime.jsxs)(Root, { 27903 children: [ 27904 /* @__PURE__ */ (0,jsx_runtime.jsx)(SiteMetadataDefaults, {}), 27905 /* @__PURE__ */ (0,jsx_runtime.jsx)(SiteMetadata, {}), 27906 /* @__PURE__ */ (0,jsx_runtime.jsx)(MaybeBaseUrlIssueBanner, {}), 27907 /* @__PURE__ */ (0,jsx_runtime.jsx)(AppNavigation, {}) 27908 ] 27909 }), 27910 /* @__PURE__ */ (0,jsx_runtime.jsx)(HasHydratedDataAttribute, {}) 27911 ] 27912 }) 27913 }) 27914 }); 27915} 27916 27917// EXTERNAL MODULE: ./.docusaurus/routesChunkNames.json 27918var routesChunkNames = __webpack_require__(84054); 27919;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/prefetch.js 27920function supports(feature) { 27921 try { 27922 const fakeLink = document.createElement("link"); 27923 return fakeLink.relList.supports(feature); 27924 } catch (e) { 27925 return false; 27926 } 27927} 27928function linkPrefetchStrategy(url) { 27929 return new Promise((resolve, reject) => { 27930 var _a, _b; 27931 if (typeof document === "undefined") { 27932 reject(); 27933 return; 27934 } 27935 const link = document.createElement("link"); 27936 link.setAttribute("rel", "prefetch"); 27937 link.setAttribute("href", url); 27938 link.onload = () => resolve(); 27939 link.onerror = () => reject(); 27940 const parentElement = (_b = document.getElementsByTagName("head")[0]) != null ? _b : (_a = document.getElementsByName("script")[0]) == null ? void 0 : _a.parentNode; 27941 parentElement == null ? void 0 : parentElement.appendChild(link); 27942 }); 27943} 27944function xhrPrefetchStrategy(url) { 27945 return new Promise((resolve, reject) => { 27946 const req = new XMLHttpRequest(); 27947 req.open("GET", url, true); 27948 req.withCredentials = true; 27949 req.onload = () => { 27950 if (req.status === 200) { 27951 resolve(); 27952 } else { 27953 reject(); 27954 } 27955 }; 27956 req.send(null); 27957 }); 27958} 27959const supportedPrefetchStrategy = supports("prefetch") ? linkPrefetchStrategy : xhrPrefetchStrategy; 27960function prefetch(url) { 27961 return supportedPrefetchStrategy(url).catch(() => { 27962 }); 27963} 27964 27965// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/flat.js 27966var flat = __webpack_require__(9123); 27967;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/docusaurus.js 27968 27969 27970 27971 27972 27973 27974const fetched = /* @__PURE__ */ new Set(); 27975const loaded = /* @__PURE__ */ new Set(); 27976const isSlowConnection = () => { 27977 var _a, _b; 27978 return ((_a = navigator.connection) == null ? void 0 : _a.effectiveType.includes("2g")) || ((_b = navigator.connection) == null ? void 0 : _b.saveData); 27979}; 27980const canPrefetch = (routePath) => !isSlowConnection() && !loaded.has(routePath) && !fetched.has(routePath); 27981const canPreload = (routePath) => !isSlowConnection() && !loaded.has(routePath); 27982const getChunkNamesToLoad = (path) => Object.entries(routesChunkNames).filter( 27983 ([routeNameWithHash]) => routeNameWithHash.replace(/-[^-]+$/, "") === path 27984).flatMap(([, routeChunks]) => Object.values((0,flat/* default */.A)(routeChunks))); 27985const docusaurus_prefetch = (routePath) => { 27986 if (!canPrefetch(routePath)) { 27987 return false; 27988 } 27989 fetched.add(routePath); 27990 const matches = (0,react_router_config/* matchRoutes */.u)(routes/* default */.A, routePath); 27991 const chunkNamesNeeded = matches.flatMap((match) => getChunkNamesToLoad(match.route.path)); 27992 return Promise.all(chunkNamesNeeded.map((chunkName) => { 27993 const chunkAsset = __webpack_require__.gca(chunkName); 27994 if (chunkAsset && !chunkAsset.includes("undefined")) { 27995 return prefetch(chunkAsset); 27996 } 27997 return Promise.resolve(); 27998 })); 27999}; 28000const docusaurus_preload = (routePath) => { 28001 if (!canPreload(routePath)) { 28002 return false; 28003 } 28004 loaded.add(routePath); 28005 return preload(routePath); 28006}; 28007const docusaurus = { 28008 prefetch: docusaurus_prefetch, 28009 preload: docusaurus_preload 28010}; 28011/* harmony default export */ const client_docusaurus = (Object.freeze(docusaurus)); 28012 28013;
28013// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/clientEntry.js 28014 28015 28016 28017 28018 28019 28020 28021 28022 28023 28024function Router({ children }) { 28025 return docusaurus_config["default"].future.experimental_router === "hash" ? /* @__PURE__ */ (0,jsx_runtime.jsx)(react_router_dom/* HashRouter */.I9, { 28026 children 28027 }) : /* @__PURE__ */ (0,jsx_runtime.jsx)(react_router_dom/* BrowserRouter */.Kd, { 28028 children 28029 }); 28030} 28031const hydrate = Boolean(true); 28032if (ExecutionEnvironment/* default */.A.canUseDOM) { 28033 window.docusaurus = client_docusaurus; 28034 const container = document.getElementById("__docusaurus"); 28035 const app = /* @__PURE__ */ (0,jsx_runtime.jsx)(index_module/* HelmetProvider */.vd, { 28036 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(Router, { 28037 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(App, {}) 28038 }) 28039 }); 28040 const onRecoverableError = (error, errorInfo) => { 28041 console.error("Docusaurus React Root onRecoverableError:", error, errorInfo); 28042 }; 28043 const renderApp = () => { 28044 if (window.docusaurusRoot) { 28045 window.docusaurusRoot.render(app); 28046 return; 28047 } 28048 if (hydrate) { 28049 window.docusaurusRoot = client.hydrateRoot(container, app, { 28050 onRecoverableError 28051 }); 28052 } else { 28053 const root = client.createRoot(container, { onRecoverableError }); 28054 root.render(app); 28055 window.docusaurusRoot = root; 28056 } 28057 }; 28058 preload(window.location.pathname).then(() => { 28059 (0,react.startTransition)(renderApp); 28060 }); 28061 if (false) {} 28062} 28063 28064 28065/***/ }), 28066 28067/***/ 51347: 28068/***/ (() => { 28069 28070(function (Prism) { 28071 28072 /** 28073 * Returns the placeholder for the given language id and index. 28074 * 28075 * @param {string} language 28076 * @param {string|number} index 28077 * @returns {string} 28078 */ 28079 function getPlaceholder(language, index) { 28080 return '___' + language.toUpperCase() + index + '___'; 28081 } 28082 28083 Object.defineProperties(Prism.languages['markup-templating'] = {}, { 28084 buildPlaceholders: { 28085 /** 28086 * Tokenize all inline templating expressions matching `placeholderPattern`. 28087 * 28088 * If `replaceFilter` is provided, only matches of `placeholderPattern` for which `replaceFilter` returns 28089 * `true` will be replaced. 28090 * 28091 * @param {object} env The environment of the `before-tokenize` hook. 28092 * @param {string} language The language id. 28093 * @param {RegExp} placeholderPattern The matches of this pattern will be replaced by placeholders. 28094 * @param {(match: string) => boolean} [replaceFilter] 28095 */ 28096 value: function (env, language, placeholderPattern, replaceFilter) { 28097 if (env.language !== language) { 28098 return; 28099 } 28100 28101 var tokenStack = env.tokenStack = []; 28102 28103 env.code = env.code.replace(placeholderPattern, function (match) { 28104 if (typeof replaceFilter === 'function' && !replaceFilter(match)) { 28105 return match; 28106 } 28107 var i = tokenStack.length; 28108 var placeholder; 28109 28110 // Check for existing strings 28111 while (env.code.indexOf(placeholder = getPlaceholder(language, i)) !== -1) { 28112 ++i; 28113 } 28114 28115 // Create a sparse array 28116 tokenStack[i] = match; 28117 28118 return placeholder; 28119 }); 28120 28121 // Switch the grammar to markup 28122 env.grammar = Prism.languages.markup; 28123 } 28124 }, 28125 tokenizePlaceholders: { 28126 /** 28127 * Replace placeholders with proper tokens after tokenizing. 28128 * 28129 * @param {object} env The environment of the `after-tokenize` hook. 28130 * @param {string} language The language id. 28131 */ 28132 value: function (env, language) { 28133 if (env.language !== language || !env.tokenStack) { 28134 return; 28135 } 28136 28137 // Switch the grammar back 28138 env.grammar = Prism.languages[language]; 28139 28140 var j = 0; 28141 var keys = Object.keys(env.tokenStack); 28142 28143 function walkTokens(tokens) { 28144 for (var i = 0; i < tokens.length; i++) { 28145 // all placeholders are replaced already 28146 if (j >= keys.length) { 28147 break; 28148 } 28149 28150 var token = tokens[i]; 28151 if (typeof token === 'string' || (token.content && typeof token.content === 'string')) { 28152 var k = keys[j]; 28153 var t = env.tokenStack[k]; 28154 var s = typeof token === 'string' ? token : token.content; 28155 var placeholder = getPlaceholder(language, k); 28156 28157 var index = s.indexOf(placeholder); 28158 if (index > -1) { 28159 ++j; 28160 28161 var before = s.substring(0, index); 28162 var middle = new Prism.Token(language, Prism.tokenize(t, env.grammar), 'language-' + language, t); 28163 var after = s.substring(index + placeholder.length); 28164 28165 var replacement = []; 28166 if (before) { 28167 replacement.push.apply(replacement, walkTokens([before])); 28168 } 28169 replacement.push(middle); 28170 if (after) { 28171 replacement.push.apply(replacement, walkTokens([after])); 28172 } 28173 28174 if (typeof token === 'string') { 28175 tokens.splice.apply(tokens, [i, 1].concat(replacement)); 28176 } else { 28177 token.content = replacement; 28178 } 28179 } 28180 } else if (token.content /* && typeof token.content !== 'string' */) { 28181 walkTokens(token.content); 28182 } 28183 } 28184 28185 return tokens; 28186 } 28187 28188 walkTokens(env.tokens); 28189 } 28190 } 28191 }); 28192 28193}(Prism)); 28194 28195 28196/***/ }), 28197 28198/***/ 51690: 28199/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 28200 28201"use strict"; 28202 28203 28204function checkDCE() { 28205 /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ 28206 if ( 28207 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || 28208 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function' 28209 ) { 28210 return; 28211 } 28212 if (false) {} 28213 try { 28214 // Verify that the code above has been dead code eliminated (DCE'd). 28215 __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); 28216 } catch (err) { 28217 // DevTools shouldn't crash React, no matter what. 28218 // We should still report in case we break this code. 28219 console.error(err); 28220 } 28221} 28222 28223if (true) {
28224 // DCE check should happen before ReactDOM bundle executes so that 28225 // DevTools can report bad minification during injection. 28226 checkDCE(); 28227 module.exports = __webpack_require__(37279); 28228} else {} 28229 28230 28231/***/ }), 28232 28233/***/ 52658: 28234/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 28235 28236"use strict"; 28237/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28238/* harmony export */ A: () => (/* binding */ Head) 28239/* harmony export */ }); 28240/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 28241/* harmony import */ var react_helmet_async__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(46248); 28242var __defProp = Object.defineProperty; 28243var __getOwnPropSymbols = Object.getOwnPropertySymbols; 28244var __hasOwnProp = Object.prototype.hasOwnProperty; 28245var __propIsEnum = Object.prototype.propertyIsEnumerable; 28246var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 28247var __spreadValues = (a, b) => { 28248 for (var prop in b || (b = {})) 28249 if (__hasOwnProp.call(b, prop)) 28250 __defNormalProp(a, prop, b[prop]); 28251 if (__getOwnPropSymbols) 28252 for (var prop of __getOwnPropSymbols(b)) { 28253 if (__propIsEnum.call(b, prop)) 28254 __defNormalProp(a, prop, b[prop]); 28255 } 28256 return a; 28257}; 28258 28259 28260function Head(props) { 28261 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_helmet_async__WEBPACK_IMPORTED_MODULE_1__/* .Helmet */ .mg, __spreadValues({}, props)); 28262} 28263 28264 28265/***/ }), 28266 28267/***/ 52771: 28268/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 28269 28270"use strict"; 28271/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28272/* harmony export */ V: () => (/* binding */ DocsSidebarProvider), 28273/* harmony export */ t: () => (/* binding */ useDocsSidebar) 28274/* harmony export */ }); 28275/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 28276/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 28277/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 28278 28279 28280 28281const EmptyContext = Symbol("EmptyContext"); 28282const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(EmptyContext); 28283function DocsSidebarProvider({ children, name, items }) { 28284 const stableValue = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => name && items ? { name, items } : null, [name, items]); 28285 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 28286 value: stableValue, 28287 children 28288 }); 28289} 28290function useDocsSidebar() { 28291 const value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 28292 if (value === EmptyContext) { 28293 throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV("DocsSidebarProvider"); 28294 } 28295 return value; 28296} 28297 28298 28299/***/ }), 28300 28301/***/ 53198: 28302/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 28303 28304"use strict"; 28305/* harmony export */ __webpack_require__.d(__webpack_exports__, { 28306/* harmony export */ $S: () => (/* binding */ useCurrentSidebarCategory), 28307/* harmony export */ B5: () => (/* binding */ useDocRootMetadata), 28308/* harmony export */ Nr: () => (/* binding */ findFirstSidebarItemLink), 28309/* harmony export */ OF: () => (/* binding */ useSidebarBreadcrumbs), 28310/* harmony export */ QB: () => (/* binding */ useLayoutDoc), 28311/* harmony export */ Se: () => (/* binding */ isVisibleSidebarItem), 28312/* harmony export */ Vd: () => (/* binding */ useDocsVersionCandidates), 28313/* harmony export */ Y: () => (/* binding */ useVisibleSidebarItems), 28314/* harmony export */ _j: () => (/* binding */ findSidebarCategory), 28315/* harmony export */ cC: () => (/* binding */ useDocById), 28316/* harmony export */ d1: () => (/* binding */ filterDocCardListItems), 28317/* harmony export */ fW: () => (/* binding */ useLayoutDocsSidebar), 28318/* harmony export */ w8: () => (/* binding */ isActiveSidebarItem) 28319/* harmony export */ }); 28320/* unused harmony export findFirstSidebarItemCategoryLink */ 28321/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 28322/* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8662); 28323/* harmony import */ var _docusaurus_renderRoutes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6940); 28324/* harmony import */ var _docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49733); 28325/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(85223); 28326/* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(36572); 28327/* harmony import */ var _docsPreferredVersion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(28908); 28328/* harmony import */ var _docsVersion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14859); 28329/* harmony import */ var _docsSidebar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(52771); 28330 28331 28332 28333 28334 28335 28336 28337 28338 28339function useDocById(id) { 28340 const version = (0,_docsVersion__WEBPACK_IMPORTED_MODULE_1__/* .useDocsVersion */ .r)(); 28341 if (!id) { 28342 return void 0; 28343 } 28344 const doc = version.docs[id]; 28345 if (!doc) {
28346 throw new Error(`no version doc found by id=${id}`); 28347 } 28348 return doc; 28349} 28350function findSidebarCategory(sidebar, predicate) { 28351 for (const item of sidebar) { 28352 if (item.type === "category") { 28353 if (predicate(item)) { 28354 return item; 28355 } 28356 const subItem = findSidebarCategory(item.items, predicate); 28357 if (subItem) { 28358 return subItem; 28359 } 28360 } 28361 } 28362 return void 0; 28363} 28364function findFirstSidebarItemCategoryLink(item) { 28365 if (item.href && !item.linkUnlisted) { 28366 return item.href; 28367 } 28368 for (const subItem of item.items) { 28369 const link = findFirstSidebarItemLink(subItem); 28370 if (link) { 28371 return link; 28372 } 28373 } 28374 return void 0; 28375} 28376function findFirstSidebarItemLink(item) { 28377 if (item.type === "link" && !item.unlisted) { 28378 return item.href; 28379 } 28380 if (item.type === "category") { 28381 return findFirstSidebarItemCategoryLink(item); 28382 } 28383 return void 0; 28384} 28385function useCurrentSidebarCategory() { 28386 const { pathname } = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)(); 28387 const sidebar = (0,_docsSidebar__WEBPACK_IMPORTED_MODULE_3__/* .useDocsSidebar */ .t)(); 28388 if (!sidebar) { 28389 throw new Error("Unexpected: cant find current sidebar in context"); 28390 } 28391 const categoryBreadcrumbs = getSidebarBreadcrumbs({ 28392 sidebarItems: sidebar.items, 28393 pathname, 28394 onlyCategories: true 28395 }); 28396 const deepestCategory = categoryBreadcrumbs.slice(-1)[0]; 28397 if (!deepestCategory) { 28398 throw new Error(`${pathname} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`); 28399 } 28400 return deepestCategory; 28401} 28402const isActive = (testedPath, activePath) => typeof testedPath !== "undefined" && (0,_docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_4__/* .isSamePath */ .ys)(testedPath, activePath); 28403const containsActiveSidebarItem = (items, activePath) => items.some((subItem) => isActiveSidebarItem(subItem, activePath)); 28404function isActiveSidebarItem(item, activePath) { 28405 if (item.type === "link") { 28406 return isActive(item.href, activePath); 28407 } 28408 if (item.type === "category") { 28409 return isActive(item.href, activePath) || containsActiveSidebarItem(item.items, activePath); 28410 } 28411 return false; 28412} 28413function isVisibleSidebarItem(item, activePath) { 28414 switch (item.type) { 28415 case "category": 28416 return isActiveSidebarItem(item, activePath) || typeof item.href !== "undefined" && !item.linkUnlisted || item.items.some((subItem) => isVisibleSidebarItem(subItem, activePath)); 28417 case "link": 28418 return !item.unlisted || isActiveSidebarItem(item, activePath); 28419 default: 28420 return true; 28421 } 28422} 28423function useVisibleSidebarItems(items, activePath) { 28424 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => items.filter((item) => isVisibleSidebarItem(item, activePath)), [items, activePath]); 28425} 28426function getSidebarBreadcrumbs({ sidebarItems, pathname, onlyCategories = false }) { 28427 const breadcrumbs = []; 28428 function extract(items) { 28429 for (const item of items) { 28430 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)) { 28431 const filtered = onlyCategories && item.type !== "category"; 28432 if (!filtered) { 28433 breadcrumbs.unshift(item); 28434 } 28435 return true; 28436 } 28437 } 28438 return false; 28439 } 28440 extract(sidebarItems); 28441 return breadcrumbs; 28442} 28443function useSidebarBreadcrumbs() { 28444 var _a; 28445 const sidebar = (0,_docsSidebar__WEBPACK_IMPORTED_MODULE_3__/* .useDocsSidebar */ .t)(); 28446 const { pathname } = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)(); 28447 const breadcrumbsOption = (_a = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__.useActivePlugin)()) == null ? void 0 : _a.pluginData.breadcrumbs; 28448 if (breadcrumbsOption === false || !sidebar) { 28449 return null; 28450 } 28451 return getSidebarBreadcrumbs({ sidebarItems: sidebar.items, pathname }); 28452} 28453function useDocsVersionCandidates(docsPluginId) { 28454 const { activeVersion } = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__.useActiveDocContext)(docsPluginId); 28455 const { preferredVersion } = (0,_docsPreferredVersion__WEBPACK_IMPORTED_MODULE_6__/* .useDocsPreferredVersion */ .g1)(docsPluginId); 28456 const latestVersion = (0,_docusaurus_plugin_content_docs_client__WEBPACK_IMPORTED_MODULE_5__.useLatestVersion)(docsPluginId); 28457 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => (0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__/* .uniq */ .sb)([activeVersion, preferredVersion, latestVersion].filter(
28457Boolean)), [activeVersion, preferredVersion, latestVersion]); 28458} 28459function useLayoutDocsSidebar(sidebarId, docsPluginId) { 28460 const versions = useDocsVersionCandidates(docsPluginId); 28461 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => { 28462 const allSidebars = versions.flatMap((version) => version.sidebars ? Object.entries(version.sidebars) : []); 28463 const sidebarEntry = allSidebars.find((sidebar) => sidebar[0] === sidebarId); 28464 if (!sidebarEntry) { 28465 throw new Error(`Can't find any sidebar with id "${sidebarId}" in version${versions.length > 1 ? "s" : ""} ${versions.map((version) => version.name).join(", ")}". 28466Available sidebar ids are: 28467- ${allSidebars.map((entry) => entry[0]).join("\n- ")}`); 28468 } 28469 return sidebarEntry[1]; 28470 }, [sidebarId, versions]); 28471} 28472function useLayoutDoc(docId, docsPluginId) { 28473 const versions = useDocsVersionCandidates(docsPluginId); 28474 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => { 28475 const allDocs = versions.flatMap((version) => version.docs); 28476 const doc = allDocs.find((versionDoc) => versionDoc.id === docId); 28477 if (!doc) { 28478 const isDraft = versions.flatMap((version) => version.draftIds).includes(docId); 28479 if (isDraft) { 28480 return null; 28481 } 28482 throw new Error(`Couldn't find any doc with id "${docId}" in version${versions.length > 1 ? "s" : ""} "${versions.map((version) => version.name).join(", ")}". 28483Available doc ids are: 28484- ${(0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_7__/* .uniq */ .sb)(allDocs.map((versionDoc) => versionDoc.id)).join("\n- ")}`); 28485 } 28486 return doc; 28487 }, [docId, versions]); 28488} 28489function useDocRootMetadata({ route }) { 28490 const location = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .useLocation */ .zy)(); 28491 const versionMetadata = (0,_docsVersion__WEBPACK_IMPORTED_MODULE_1__/* .useDocsVersion */ .r)(); 28492 const docRoutes = route.routes; 28493 const currentDocRoute = docRoutes.find((docRoute) => (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_2__/* .matchPath */ .B6)(location.pathname, docRoute)); 28494 if (!currentDocRoute) { 28495 return null; 28496 } 28497 const sidebarName = currentDocRoute.sidebar; 28498 const sidebarItems = sidebarName ? versionMetadata.docsSidebars[sidebarName] : void 0; 28499 const docElement = (0,_docusaurus_renderRoutes__WEBPACK_IMPORTED_MODULE_8__/* .renderRoutes */ .v)(docRoutes); 28500 return { 28501 docElement, 28502 sidebarName, 28503 sidebarItems 28504 }; 28505} 28506function filterDocCardListItems(items) { 28507 return items.filter((item) => { 28508 const canHaveLink = item.type === "category" || item.type === "link"; 28509 if (canHaveLink) { 28510 return !!findFirstSidebarItemLink(item); 28511 } 28512 return true; 28513 }); 28514} 28515 28516 28517/***/ }), 28518 28519/***/ 53423: 28520/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 28521 28522"use strict"; 28523 28524// EXPORTS 28525__webpack_require__.d(__webpack_exports__, { 28526 UE: () => (/* binding */ arrow), 28527 ll: () => (/* binding */ autoUpdate), 28528 rD: () => (/* binding */ computePosition), 28529 UU: () => (/* binding */ flip), 28530 BN: () => (/* binding */ shift) 28531}); 28532 28533// UNUSED EXPORTS: autoPlacement, detectOverflow, getOverflowAncestors, hide, inline, limitShift, offset, platform, size 28534 28535// EXTERNAL MODULE: ../../.yarn/cache/@floating-ui-utils-npm-0.2.1-5ad70234fc-33c9ab346e.zip/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs 28536var floating_ui_utils = __webpack_require__(31567); 28537// EXTERNAL MODULE: ../../.yarn/cache/@floating-ui-core-npm-1.6.0-47cc2a9b3a-d6a47cacde.zip/node_modules/@floating-ui/core/dist/floating-ui.core.mjs 28538var floating_ui_core = __webpack_require__(95392); 28539;// ../../.yarn/cache/@floating-ui-utils-npm-0.2.1-5ad70234fc-33c9ab346e.zip/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs 28540function getNodeName(node) { 28541 if (isNode(node)) { 28542 return (node.nodeName || '').toLowerCase(); 28543 } 28544 // Mocked nodes in testing environments may not be instances of Node. By 28545 // returning `#document` an infinite loop won't occur. 28546 // https://github.com/floating-ui/floating-ui/issues/2317 28547 return '#document'; 28548} 28549function getWindow(node) { 28550 var _node$ownerDocument; 28551 return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window; 28552} 28553function getDocumentElement(node) { 28554 var _ref; 28555 return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement; 28556} 28557function isNode(value) { 28558 return value instanceof Node || value instanceof getWindow(value).Node; 28559} 28560function isElement(value) { 28561 return value instanceof Element || value instanceof getWindow(value).Element; 28562} 28563function isHTMLElement(value) { 28564 return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement; 28565} 28566function isShadowRoot(value) { 28567 // Browsers without `ShadowRoot` support. 28568 if (typeof ShadowRoot === 'undefined') { 28569 return false;
vendor: 4,317 bytes, lines 28570-28685
28570 } 28571 return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot; 28572} 28573function isOverflowElement(element) { 28574 const { 28575 overflow, 28576 overflowX, 28577 overflowY, 28578 display 28579 } = getComputedStyle(element); 28580 return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display); 28581} 28582function isTableElement(element) { 28583 return ['table', 'td', 'th'].includes(getNodeName(element)); 28584} 28585function isContainingBlock(element) { 28586 const webkit = isWebKit(); 28587 const css = getComputedStyle(element); 28588 28589 // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block 28590 return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value)); 28591} 28592function getContainingBlock(element) { 28593 let currentNode = getParentNode(element); 28594 while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) { 28595 if (isContainingBlock(currentNode)) { 28596 return currentNode; 28597 } else { 28598 currentNode = getParentNode(currentNode); 28599 } 28600 } 28601 return null; 28602} 28603function isWebKit() { 28604 if (typeof CSS === 'undefined' || !CSS.supports) return false; 28605 return CSS.supports('-webkit-backdrop-filter', 'none'); 28606} 28607function isLastTraversableNode(node) { 28608 return ['html', 'body', '#document'].includes(getNodeName(node)); 28609} 28610function getComputedStyle(element) { 28611 return getWindow(element).getComputedStyle(element); 28612} 28613function getNodeScroll(element) { 28614 if (isElement(element)) { 28615 return { 28616 scrollLeft: element.scrollLeft, 28617 scrollTop: element.scrollTop 28618 }; 28619 } 28620 return { 28621 scrollLeft: element.pageXOffset, 28622 scrollTop: element.pageYOffset 28623 }; 28624} 28625function getParentNode(node) { 28626 if (getNodeName(node) === 'html') { 28627 return node; 28628 } 28629 const result = 28630 // Step into the shadow DOM of the parent of a slotted node. 28631 node.assignedSlot || 28632 // DOM Element detected. 28633 node.parentNode || 28634 // ShadowRoot detected. 28635 isShadowRoot(node) && node.host || 28636 // Fallback. 28637 getDocumentElement(node); 28638 return isShadowRoot(result) ? result.host : result; 28639} 28640function getNearestOverflowAncestor(node) { 28641 const parentNode = getParentNode(node); 28642 if (isLastTraversableNode(parentNode)) { 28643 return node.ownerDocument ? node.ownerDocument.body : node.body; 28644 } 28645 if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) { 28646 return parentNode; 28647 } 28648 return getNearestOverflowAncestor(parentNode); 28649} 28650function getOverflowAncestors(node, list, traverseIframes) { 28651 var _node$ownerDocument2; 28652 if (list === void 0) { 28653 list = []; 28654 } 28655 if (traverseIframes === void 0) { 28656 traverseIframes = true; 28657 } 28658 const scrollableAncestor = getNearestOverflowAncestor(node); 28659 const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body); 28660 const win = getWindow(scrollableAncestor); 28661 if (isBody) { 28662 return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []); 28663 } 28664 return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes)); 28665} 28666 28667 28668 28669;// ../../.yarn/cache/@floating-ui-dom-npm-1.6.1-55a222b4ad-c010feb55b.zip/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs 28670 28671 28672 28673 28674 28675 28676function getCssDimensions(element) { 28677 const css = getComputedStyle(element); 28678 // In testing environments, the `width` and `height` properties are empty 28679 // strings for SVG elements, returning NaN. Fallback to `0` in this case. 28680 let width = parseFloat(css.width) || 0; 28681 let height = parseFloat(css.height) || 0; 28682 const hasOffset = isHTMLElement(element); 28683 const offsetWidth = hasOffset ? element.offsetWidth : width; 28684 const offsetHeight = hasOffset ? element.offsetHeight : height; 28685 const shouldFallback = (0,floating_ui_utils/* round */.LI)(width) !== offsetWidth || (0,floating_ui_utils/* round */.LI)(
28685height) !== offsetHeight; 28686 if (shouldFallback) { 28687 width = offsetWidth; 28688 height = offsetHeight; 28689 } 28690 return { 28691 width, 28692 height, 28693 $: shouldFallback 28694 }; 28695} 28696 28697function unwrapElement(element) { 28698 return !isElement(element) ? element.contextElement : element; 28699} 28700 28701function getScale(element) { 28702 const domElement = unwrapElement(element); 28703 if (!isHTMLElement(domElement)) { 28704 return (0,floating_ui_utils/* createCoords */.Jx)(1); 28705 } 28706 const rect = domElement.getBoundingClientRect(); 28707 const { 28708 width, 28709 height, 28710 $ 28711 } = getCssDimensions(domElement); 28712 let x = ($ ? (0,floating_ui_utils/* round */.LI)(rect.width) : rect.width) / width; 28713 let y = ($ ? (0,floating_ui_utils/* round */.LI)(rect.height) : rect.height) / height; 28714 28715 // 0, NaN, or Infinity should always fallback to 1. 28716 28717 if (!x || !Number.isFinite(x)) { 28718 x = 1; 28719 } 28720 if (!y || !Number.isFinite(y)) { 28721 y = 1; 28722 } 28723 return { 28724 x, 28725 y 28726 }; 28727} 28728 28729const noOffsets = /*#__PURE__*/(0,floating_ui_utils/* createCoords */.Jx)(0); 28730function getVisualOffsets(element) { 28731 const win = getWindow(element); 28732 if (!isWebKit() || !win.visualViewport) { 28733 return noOffsets; 28734 } 28735 return { 28736 x: win.visualViewport.offsetLeft, 28737 y: win.visualViewport.offsetTop 28738 }; 28739} 28740function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) { 28741 if (isFixed === void 0) { 28742 isFixed = false; 28743 } 28744 if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) { 28745 return false; 28746 } 28747 return isFixed; 28748} 28749 28750function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) { 28751 if (includeScale === void 0) { 28752 includeScale = false; 28753 } 28754 if (isFixedStrategy === void 0) { 28755 isFixedStrategy = false; 28756 } 28757 const clientRect = element.getBoundingClientRect(); 28758 const domElement = unwrapElement(element); 28759 let scale = (0,floating_ui_utils/* createCoords */.Jx)(1); 28760 if (includeScale) { 28761 if (offsetParent) { 28762 if (isElement(offsetParent)) { 28763 scale = getScale(offsetParent); 28764 } 28765 } else { 28766 scale = getScale(element); 28767 } 28768 } 28769 const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : (0,floating_ui_utils/* createCoords */.Jx)(0); 28770 let x = (clientRect.left + visualOffsets.x) / scale.x; 28771 let y = (clientRect.top + visualOffsets.y) / scale.y; 28772 let width = clientRect.width / scale.x; 28773 let height = clientRect.height / scale.y; 28774 if (domElement) { 28775 const win = getWindow(domElement); 28776 const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
28777 let currentIFrame = win.frameElement; 28778 while (currentIFrame && offsetParent && offsetWin !== win) { 28779 const iframeScale = getScale(currentIFrame); 28780 const iframeRect = currentIFrame.getBoundingClientRect(); 28781 const css = getComputedStyle(currentIFrame); 28782 const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x; 28783 const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y; 28784 x *= iframeScale.x; 28785 y *= iframeScale.y; 28786 width *= iframeScale.x; 28787 height *= iframeScale.y; 28788 x += left; 28789 y += top; 28790 currentIFrame = getWindow(currentIFrame).frameElement; 28791 } 28792 } 28793 return (0,floating_ui_utils/* rectToClientRect */.B1)({ 28794 width, 28795 height, 28796 x, 28797 y 28798 }); 28799} 28800 28801const topLayerSelectors = [':popover-open', ':modal']; 28802function topLayer(floating) { 28803 let isTopLayer = false; 28804 let x = 0; 28805 let y = 0; 28806 function setIsTopLayer(selector) { 28807 try { 28808 isTopLayer = isTopLayer || floating.matches(selector); 28809 } catch (e) {} 28810 } 28811 topLayerSelectors.forEach(selector => { 28812 setIsTopLayer(selector); 28813 }); 28814 if (isTopLayer) { 28815 const containingBlock = getContainingBlock(floating); 28816 if (containingBlock) { 28817 const rect = containingBlock.getBoundingClientRect(); 28818 x = rect.x; 28819 y = rect.y; 28820 } 28821 } 28822 return [isTopLayer, x, y]; 28823} 28824 28825function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) { 28826 let { 28827 elements, 28828 rect, 28829 offsetParent, 28830 strategy 28831 } = _ref; 28832 const documentElement = getDocumentElement(offsetParent); 28833 const [isTopLayer] = elements ? topLayer(elements.floating) : [false]; 28834 if (offsetParent === documentElement || isTopLayer) { 28835 return rect; 28836 } 28837 let scroll = { 28838 scrollLeft: 0, 28839 scrollTop: 0 28840 }; 28841 let scale = (0,floating_ui_utils/* createCoords */.Jx)(1); 28842 const offsets = (0,floating_ui_utils/* createCoords */.Jx)(0); 28843 const isOffsetParentAnElement = isHTMLElement(offsetParent); 28844 if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') { 28845 if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) { 28846 scroll = getNodeScroll(offsetParent); 28847 } 28848 if (isHTMLElement(offsetParent)) { 28849 const offsetRect = getBoundingClientRect(offsetParent); 28850 scale = getScale(offsetParent); 28851 offsets.x = offsetRect.x + offsetParent.clientLeft; 28852 offsets.y = offsetRect.y + offsetParent.clientTop; 28853 } 28854 } 28855 return { 28856 width: rect.width * scale.x, 28857 height: rect.height * scale.y, 28858 x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x, 28859 y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y 28860 }; 28861} 28862 28863function getClientRects(element) { 28864 return Array.from(element.getClientRects()); 28865} 28866 28867function getWindowScrollBarX(element) { 28868 // If <html> has a CSS width greater than the viewport, then this will be 28869 // incorrect for RTL. 28870 return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft; 28871} 28872 28873// Gets the entire size of the scrollable document area, even extending outside 28874// of the `<html>` and `<body>` rect bounds if horizontally scrollable. 28875function getDocumentRect(element) { 28876 const html = getDocumentElement(element); 28877 const scroll = getNodeScroll(element); 28878 const body = element.ownerDocument.body; 28879 const width = (0,floating_ui_utils/* max */.T9)(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth); 28880 const height = (0,floating_ui_utils/* max */.T9)(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight); 28881 let x = -scroll.scrollLeft + getWindowScrollBarX(element); 28882 const y = -scroll.scrollTop; 28883 if (getComputedStyle(body).direction === 'rtl') { 28884 x += (0,floating_ui_utils/* max */.T9)(html.clientWidth, body.clientWidth) - width; 28885 } 28886 return { 28887 width, 28888 height, 28889 x, 28890 y 28891 }; 28892} 28893 28894function getViewportRect(element, strategy) { 28895 const win = getWindow(element); 28896 const html = getDocumentElement(element); 28897 const visualViewport = win.visualViewport; 28898 let width = html.clientWidth; 28899 let height = html.clientHeight; 28900 let x = 0; 28901 let y = 0;
28902 if (visualViewport) { 28903 width = visualViewport.width; 28904 height = visualViewport.height; 28905 const visualViewportBased = isWebKit(); 28906 if (!visualViewportBased || visualViewportBased && strategy === 'fixed') { 28907 x = visualViewport.offsetLeft; 28908 y = visualViewport.offsetTop; 28909 } 28910 } 28911 return { 28912 width, 28913 height, 28914 x, 28915 y 28916 }; 28917} 28918 28919// Returns the inner client rect, subtracting scrollbars if present. 28920function getInnerBoundingClientRect(element, strategy) { 28921 const clientRect = getBoundingClientRect(element, true, strategy === 'fixed'); 28922 const top = clientRect.top + element.clientTop; 28923 const left = clientRect.left + element.clientLeft; 28924 const scale = isHTMLElement(element) ? getScale(element) : (0,floating_ui_utils/* createCoords */.Jx)(1); 28925 const width = element.clientWidth * scale.x; 28926 const height = element.clientHeight * scale.y; 28927 const x = left * scale.x; 28928 const y = top * scale.y; 28929 return { 28930 width, 28931 height, 28932 x, 28933 y 28934 }; 28935} 28936function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) { 28937 let rect; 28938 if (clippingAncestor === 'viewport') { 28939 rect = getViewportRect(element, strategy); 28940 } else if (clippingAncestor === 'document') { 28941 rect = getDocumentRect(getDocumentElement(element)); 28942 } else if (isElement(clippingAncestor)) { 28943 rect = getInnerBoundingClientRect(clippingAncestor, strategy); 28944 } else { 28945 const visualOffsets = getVisualOffsets(element); 28946 rect = { 28947 ...clippingAncestor, 28948 x: clippingAncestor.x - visualOffsets.x, 28949 y: clippingAncestor.y - visualOffsets.y 28950 }; 28951 } 28952 return (0,floating_ui_utils/* rectToClientRect */.B1)(rect); 28953} 28954function hasFixedPositionAncestor(element, stopNode) { 28955 const parentNode = getParentNode(element); 28956 if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) { 28957 return false; 28958 } 28959 return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode); 28960} 28961 28962// A "clipping ancestor" is an `overflow` element with the characteristic of 28963// clipping (or hiding) child elements. This returns all clipping ancestors 28964// of the given element up the tree. 28965function getClippingElementAncestors(element, cache) { 28966 const cachedResult = cache.get(element); 28967 if (cachedResult) { 28968 return cachedResult; 28969 } 28970 let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body'); 28971 let currentContainingBlockComputedStyle = null; 28972 const elementIsFixed = getComputedStyle(element).position === 'fixed'; 28973 let currentNode = elementIsFixed ? getParentNode(element) : element; 28974 28975 // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block 28976 while (isElement(currentNode) && !isLastTraversableNode(currentNode)) { 28977 const computedStyle = getComputedStyle(currentNode); 28978 const currentNodeIsContaining = isContainingBlock(currentNode); 28979 if (!currentNodeIsContaining && computedStyle.position === 'fixed') { 28980 currentContainingBlockComputedStyle = null; 28981 } 28982 const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode); 28983 if (shouldDropCurrentNode) { 28984 // Drop non-containing blocks. 28985 result = result.filter(ancestor => ancestor !== currentNode); 28986 } else { 28987 // Record last containing block for next iteration. 28988 currentContainingBlockComputedStyle = computedStyle; 28989 } 28990 currentNode = getParentNode(currentNode); 28991 } 28992 cache.set(element, result); 28993 return result; 28994} 28995 28996// Gets the maximum area that the element is visible in due to any number of 28997// clipping ancestors. 28998function getClippingRect(_ref) { 28999 let { 29000 element, 29001 boundary, 29002 rootBoundary, 29003 strategy 29004 } = _ref; 29005 const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary); 29006 const clippingAncestors = [...elementClippingAncestors, rootBoundary]; 29007 const firstClippingAncestor = clippingAncestors[0]; 29008 const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => { 29009 const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy); 29010 accRect.top = (0,floating_ui_utils/* max */.T9)(rect.top, accRect.top); 29011 accRect.right = (0,floating_ui_utils/* min */.jk)(rect.right, accRect.right); 29012 accRect.bottom = (0,floating_ui_utils/* min */.jk)(rect.bottom, accRect.bottom); 29013 accRect.left = (0,floating_ui_utils/* max */.T9)(rect.left, accRect.left); 29014 return accRect; 29015 }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy)); 29016 return { 29017 width: clippingRect.right - clippingRect.left, 29018 height: clippingRect.bottom - clippingRect.top, 29019 x: clippingRect.left, 29020 y: clippingRect.top 29021 }; 29022} 29023 29024function getDimensions(element) { 29025 const { 29026 width, 29027 height 29028 } = getCssDimensions(element); 29029 return { 29030 width, 29031 height 29032 }; 29033} 29034 29035function getRectRelativeToOffsetParent(element, offsetParent, strategy, floating) { 29036 const isOffsetParentAnElement = isHTMLElement(offsetParent); 29037 const documentElement = getDocumentElement(offsetParent); 29038 const isFixed = strategy === 'fixed'; 29039 const rect = getBoundingClientRect(element, true, isFixed, offsetParent); 29040 let scroll = { 29041 scrollLeft: 0, 29042 scrollTop: 0 29043 }; 29044 const offsets = (0,floating_ui_utils/* createCoords */.Jx)(0); 29045 if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) { 29046 if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) { 29047 scroll = getNodeScroll(offsetParent); 29048 } 29049 if (isOffsetParentAnElement) { 29050 const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent); 29051 offsets.x = offsetRect.x + offsetParent.clientLeft; 29052 offsets.y = offsetRect.y + offsetParent.clientTop; 29053 } else if (documentElement) { 29054 offsets.x = getWindowScrollBarX(documentElement); 29055 } 29056 } 29057 let x = rect.left + scroll.scrollLeft - offsets.x; 29058 let y = rect.top + scroll.scrollTop - offsets.y; 29059 const [isTopLayer, topLayerX, topLayerY] = topLayer(floating); 29060 if (isTopLayer) { 29061 x += topLayerX; 29062 y += topLayerY; 29063 if (isOffsetParentAnElement) { 29064 x += offsetParent.clientLeft; 29065 y += offsetParent.clientTop; 29066 } 29067 } 29068 return { 29069 x, 29070 y, 29071 width: rect.width, 29072 height: rect.height 29073 }; 29074} 29075 29076function getTrueOffsetParent(element, polyfill) { 29077 if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') { 29078 return null; 29079 } 29080 if (polyfill) { 29081 return polyfill(element); 29082 } 29083 return element.offsetParent; 29084} 29085 29086// Gets the closest ancestor positioned element. Handles some edge cases, 29087// such as table ancestors and cross browser bugs. 29088function getOffsetParent(element, polyfill) { 29089 const window = getWindow(element); 29090 if (!isHTMLElement(element)) { 29091 return window; 29092 } 29093 let offsetParent = getTrueOffsetParent(element, polyfill); 29094 while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') { 29095 offsetParent = getTrueOffsetParent(offsetParent, polyfill); 29096 } 29097 if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) { 29098 return window; 29099 } 29100 return offsetParent || getContainingBlock(element) || window; 29101} 29102 29103const getElementRects = async function (data) { 29104 const getOffsetParentFn = this.getOffsetParent || getOffsetParent; 29105 const getDimensionsFn = this.getDimensions; 29106 return { 29107 reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy, data.floating), 29108 floating: { 29109 x: 0, 29110 y: 0, 29111 ...(await getDimensionsFn(data.floating)) 29112 } 29113 }; 29114}; 29115 29116function isRTL(element) { 29117 return getComputedStyle(element).direction === 'rtl'; 29118} 29119 29120const platform = { 29121 convertOffsetParentRelativeRectToViewportRelativeRect, 29122 getDocumentElement: getDocumentElement, 29123 getClippingRect, 29124 getOffsetParent, 29125 getElementRects, 29126 getClientRects, 29127 getDimensions, 29128 getScale, 29129 isElement: isElement, 29130 isRTL 29131}; 29132 29133// https://samthor.au/2021/observing-dom/ 29134function observeMove(element, onMove) { 29135 let io = null; 29136 let timeoutId; 29137 const root = getDocumentElement(element); 29138 function cleanup() { 29139 var _io; 29140 clearTimeout(timeoutId); 29141 (_io = io) == null || _io.disconnect(); 29142 io = null; 29143 } 29144 function refresh(skip, threshold) { 29145 if (skip === void 0) { 29146 skip = false;
29147 } 29148 if (threshold === void 0) { 29149 threshold = 1; 29150 } 29151 cleanup(); 29152 const { 29153 left, 29154 top, 29155 width, 29156 height 29157 } = element.getBoundingClientRect(); 29158 if (!skip) { 29159 onMove(); 29160 } 29161 if (!width || !height) { 29162 return; 29163 } 29164 const insetTop = (0,floating_ui_utils/* floor */.RI)(top); 29165 const insetRight = (0,floating_ui_utils/* floor */.RI)(root.clientWidth - (left + width)); 29166 const insetBottom = (0,floating_ui_utils/* floor */.RI)(root.clientHeight - (top + height)); 29167 const insetLeft = (0,floating_ui_utils/* floor */.RI)(left); 29168 const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px"; 29169 const options = { 29170 rootMargin, 29171 threshold: (0,floating_ui_utils/* max */.T9)(0, (0,floating_ui_utils/* min */.jk)(1, threshold)) || 1 29172 }; 29173 let isFirstUpdate = true; 29174 function handleObserve(entries) { 29175 const ratio = entries[0].intersectionRatio; 29176 if (ratio !== threshold) { 29177 if (!isFirstUpdate) { 29178 return refresh(); 29179 } 29180 if (!ratio) { 29181 timeoutId = setTimeout(() => { 29182 refresh(false, 1e-7); 29183 }, 100); 29184 } else { 29185 refresh(false, ratio); 29186 } 29187 } 29188 isFirstUpdate = false; 29189 } 29190 29191 // Older browsers don't support a `document` as the root and will throw an 29192 // error. 29193 try { 29194 io = new IntersectionObserver(handleObserve, { 29195 ...options, 29196 // Handle <iframe>s 29197 root: root.ownerDocument 29198 }); 29199 } catch (e) { 29200 io = new IntersectionObserver(handleObserve, options); 29201 } 29202 io.observe(element); 29203 } 29204 refresh(true); 29205 return cleanup; 29206} 29207 29208/** 29209 * Automatically updates the position of the floating element when necessary. 29210 * Should only be called when the floating element is mounted on the DOM or 29211 * visible on the screen. 29212 * @returns cleanup function that should be invoked when the floating element is 29213 * removed from the DOM or hidden from the screen. 29214 * @see https://floating-ui.com/docs/autoUpdate 29215 */ 29216function autoUpdate(reference, floating, update, options) { 29217 if (options === void 0) { 29218 options = {}; 29219 } 29220 const { 29221 ancestorScroll = true, 29222 ancestorResize = true, 29223 elementResize = typeof ResizeObserver === 'function', 29224 layoutShift = typeof IntersectionObserver === 'function', 29225 animationFrame = false 29226 } = options; 29227 const referenceEl = unwrapElement(reference); 29228 const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : []; 29229 ancestors.forEach(ancestor => { 29230 ancestorScroll && ancestor.addEventListener('scroll', update, { 29231 passive: true 29232 }); 29233 ancestorResize && ancestor.addEventListener('resize', update); 29234 }); 29235 const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null; 29236 let reobserveFrame = -1; 29237 let resizeObserver = null; 29238 if (elementResize) { 29239 resizeObserver = new ResizeObserver(_ref => { 29240 let [firstEntry] = _ref; 29241 if (firstEntry && firstEntry.target === referenceEl && resizeObserver) { 29242 // Prevent update loops when using the `size` middleware. 29243 // https://github.com/floating-ui/floating-ui/issues/1740 29244 resizeObserver.unobserve(floating); 29245 cancelAnimationFrame(reobserveFrame); 29246 reobserveFrame = requestAnimationFrame(() => { 29247 var _resizeObserver; 29248 (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating); 29249 }); 29250 } 29251 update(); 29252 }); 29253 if (referenceEl && !animationFrame) { 29254 resizeObserver.observe(referenceEl); 29255 } 29256 resizeObserver.observe(floating); 29257 } 29258 let frameId; 29259 let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null; 29260 if (animationFrame) { 29261 frameLoop(); 29262 } 29263 function frameLoop() { 29264 const nextRefRect = getBoundingClientRect(reference); 29265 if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) { 29266 update(); 29267 } 29268 prevRefRect = nextRefRect; 29269 frameId = requestAnimationFrame(frameLoop); 29270 } 29271 update(); 29272 return () => { 29273 var _resizeObserver2;
29274 ancestors.forEach(ancestor => { 29275 ancestorScroll && ancestor.removeEventListener('scroll', update); 29276 ancestorResize && ancestor.removeEventListener('resize', update); 29277 }); 29278 cleanupIo == null || cleanupIo(); 29279 (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect(); 29280 resizeObserver = null; 29281 if (animationFrame) { 29282 cancelAnimationFrame(frameId); 29283 } 29284 }; 29285} 29286 29287/** 29288 * Optimizes the visibility of the floating element by choosing the placement 29289 * that has the most space available automatically, without needing to specify a 29290 * preferred placement. Alternative to `flip`. 29291 * @see https://floating-ui.com/docs/autoPlacement 29292 */ 29293const autoPlacement = (/* unused pure expression or super */ null && (autoPlacement$1)); 29294 29295/** 29296 * Optimizes the visibility of the floating element by shifting it in order to 29297 * keep it in view when it will overflow the clipping boundary. 29298 * @see https://floating-ui.com/docs/shift 29299 */ 29300const shift = floating_ui_core/* shift */.BN; 29301 29302/** 29303 * Optimizes the visibility of the floating element by flipping the `placement` 29304 * in order to keep it in view when the preferred placement(s) will overflow the 29305 * clipping boundary. Alternative to `autoPlacement`. 29306 * @see https://floating-ui.com/docs/flip 29307 */ 29308const flip = floating_ui_core/* flip */.UU; 29309 29310/** 29311 * Provides data that allows you to change the size of the floating element â 29312 * for instance, prevent it from overflowing the clipping boundary or match the 29313 * width of the reference element. 29314 * @see https://floating-ui.com/docs/size 29315 */ 29316const size = (/* unused pure expression or super */ null && (size$1)); 29317 29318/** 29319 * Provides data to hide the floating element in applicable situations, such as 29320 * when it is not in the same clipping context as the reference element. 29321 * @see https://floating-ui.com/docs/hide 29322 */ 29323const hide = (/* unused pure expression or super */ null && (hide$1)); 29324 29325/** 29326 * Provides data to position an inner element of the floating element so that it 29327 * appears centered to the reference element. 29328 * @see https://floating-ui.com/docs/arrow 29329 */ 29330const arrow = floating_ui_core/* arrow */.UE; 29331 29332/** 29333 * Provides improved positioning for inline reference elements that can span 29334 * over multiple lines, such as hyperlinks or range selections. 29335 * @see https://floating-ui.com/docs/inline 29336 */ 29337const inline = (/* unused pure expression or super */ null && (inline$1)); 29338 29339/** 29340 * Built-in `limiter` that will stop `shift()` at a certain point. 29341 */ 29342const limitShift = (/* unused pure expression or super */ null && (limitShift$1)); 29343 29344/** 29345 * Computes the `x` and `y` coordinates that will place the floating element 29346 * next to a given reference element. 29347 */ 29348const computePosition = (reference, floating, options) => { 29349 // This caches the expensive `getClippingElementAncestors` function so that 29350 // multiple lifecycle resets re-use the same result. It only lives for a 29351 // single call. If other functions become expensive, we can add them as well. 29352 const cache = new Map(); 29353 const mergedOptions = { 29354 platform, 29355 ...options 29356 }; 29357 const platformWithCache = { 29358 ...mergedOptions.platform, 29359 _c: cache 29360 }; 29361 return (0,floating_ui_core/* computePosition */.rD)(reference, floating, { 29362 ...mergedOptions, 29363 platform: platformWithCache 29364 }); 29365}; 29366 29367 29368 29369 29370/***/ }), 29371 29372/***/ 54271: 29373/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29374 29375"use strict"; 29376/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29377/* harmony export */ Ay: () => (/* binding */ useBaseUrl), 29378/* harmony export */ hH: () => (/* binding */ useBaseUrlUtils) 29379/* harmony export */ }); 29380/* unused harmony export addBaseUrl */ 29381/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 29382/* harmony import */ var _useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(99788); 29383/* harmony import */ var _isInternalUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98908); 29384 29385 29386 29387function addBaseUrl({ siteUrl, baseUrl, url, options: { forcePrependBaseUrl = false, absolute = false } = {}, router }) { 29388 if (!url || url.startsWith("#") || (0,_isInternalUrl__WEBPACK_IMPORTED_MODULE_2__/* .hasProtocol */ .z)(url)) { 29389 return url; 29390 } 29391 if (router === "hash") { 29392 return url.startsWith("/") ? `.${url}` : `./${url}`; 29393 } 29394 if (forcePrependBaseUrl) { 29395 return baseUrl + url.replace(/^\//, ""); 29396 } 29397 if (url === baseUrl.replace(/\/$/, "")) { 29398 return baseUrl; 29399 } 29400 const shouldAddBaseUrl = !url.startsWith(baseUrl); 29401 const basePath = shouldAddBaseUrl ? baseUrl + url.replace(/^\//, "") : url;
29402 return absolute ? siteUrl + basePath : basePath; 29403} 29404function useBaseUrlUtils() { 29405 const { siteConfig } = (0,_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_1__["default"])(); 29406 const { baseUrl, url: siteUrl } = siteConfig; 29407 const router = siteConfig.future.experimental_router; 29408 const withBaseUrl = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((url, options) => addBaseUrl({ siteUrl, baseUrl, url, options, router }), [siteUrl, baseUrl, router]); 29409 return { 29410 withBaseUrl 29411 }; 29412} 29413function useBaseUrl(url, options = {}) { 29414 const { withBaseUrl } = useBaseUrlUtils(); 29415 return withBaseUrl(url, options); 29416} 29417 29418 29419/***/ }), 29420 29421/***/ 54767: 29422/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29423 29424"use strict"; 29425/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29426/* harmony export */ Ht: () => (/* binding */ QueryClientProvider), 29427/* harmony export */ jE: () => (/* binding */ useQueryClient) 29428/* harmony export */ }); 29429/* unused harmony export QueryClientContext */ 29430/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 29431/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(48231); 29432"use client"; 29433
29434// src/QueryClientProvider.tsx 29435 29436 29437var QueryClientContext = react__WEBPACK_IMPORTED_MODULE_0__.createContext( 29438 void 0 29439); 29440var useQueryClient = (queryClient) => { 29441 const client = react__WEBPACK_IMPORTED_MODULE_0__.useContext(QueryClientContext); 29442 if (queryClient) { 29443 return queryClient; 29444 } 29445 if (!client) { 29446 throw new Error("No QueryClient set, use QueryClientProvider to set one"); 29447 } 29448 return client; 29449}; 29450var QueryClientProvider = ({ 29451 client, 29452 children 29453}) => { 29454 react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => { 29455 client.mount(); 29456 return () => { 29457 client.unmount(); 29458 }; 29459 }, [client]); 29460 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(QueryClientContext.Provider, { value: client, children }); 29461}; 29462 29463//# sourceMappingURL=QueryClientProvider.js.map 29464 29465/***/ }), 29466 29467/***/ 60679: 29468/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29469 29470"use strict"; 29471 29472// EXPORTS 29473__webpack_require__.d(__webpack_exports__, { 29474 A: () => (/* binding */ IconExternalLink) 29475}); 29476 29477// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 29478var jsx_runtime = __webpack_require__(48231); 29479;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/ExternalLink/styles.module.css 29480// extracted by mini-css-extract-plugin 29481/* harmony default export */ const styles_module = ({"iconExternalLink":"iconExternalLink_s2NI"}); 29482;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/Icon/ExternalLink/index.js 29483 29484 29485function IconExternalLink({ width = 13.5, height = 13.5 }) { 29486 return /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", { 29487 width, 29488 height, 29489 "aria-hidden": "true", 29490 viewBox: "0 0 24 24", 29491 className: styles_module.iconExternalLink, 29492 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("path", { 29493 fill: "currentColor", 29494 d: "M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z" 29495 }) 29496 }); 29497} 29498 29499 29500/***/ }), 29501 29502/***/ 61887: 29503/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29504 29505"use strict"; 29506/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29507/* harmony export */ G: () => (/* binding */ useColorMode), 29508/* harmony export */ a: () => (/* binding */ ColorModeProvider) 29509/* harmony export */ }); 29510/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 29511/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 29512/* harmony import */ var _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91979); 29513/* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80178); 29514/* harmony import */ var _utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27099); 29515/* harmony import */ var _utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(90864); 29516 29517 29518 29519 29520 29521 29522const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(void 0); 29523const ColorModeStorageKey = "theme"; 29524const ColorModeStorage = (0,_utils_storageUtils__WEBPACK_IMPORTED_MODULE_3__/* .createStorageSlot */ .Wf)(ColorModeStorageKey); 29525const ColorModes = { 29526 light: "light", 29527 dark: "dark" 29528}; 29529const coerceToColorMode = (colorMode) => colorMode === ColorModes.dark ? ColorModes.dark : ColorModes.light; 29530const getInitialColorMode = (defaultMode) => _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.canUseDOM ? coerceToColorMode(document.documentElement.getAttribute("data-theme")) : coerceToColorMode(defaultMode); 29531const storeColorMode = (newColorMode) => { 29532 ColorModeStorage.set(coerceToColorMode(newColorMode)); 29533}; 29534function useContextValue() { 29535 const { colorMode: { defaultMode, disableSwitch, respectPrefersColorScheme } } = (0,_utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_4__/* .useThemeConfig */ .p)(); 29536 const [colorMode, setColorModeState] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(getInitialColorMode(defaultMode)); 29537 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 29538 if (disableSwitch) { 29539 ColorModeStorage.del(); 29540 } 29541 }, [disableSwitch]); 29542 const setColorMode = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((newColorMode, options = {}) => { 29543 const { persist = true } = options; 29544 if (newColorMode) { 29545 setColorModeState(newColorMode); 29546 if (persist) { 29547 storeColorMode(newColorMode); 29548 } 29549 } else { 29550 if (respectPrefersColorScheme) { 29551 setColorModeState(window.matchMedia("(prefers-color-scheme: dark)").matches ? ColorModes.dark : ColorModes.light); 29552 } else { 29553 setColorModeState(defaultMode); 29554 } 29555 ColorModeStorage.del(); 29556 } 29557 }, [respectPrefersColorScheme, defaultMode]); 29558 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 29559 document.documentElement.setAttribute("data-theme", coerceToColorMode(colorMode)); 29560 }, [colorMode]); 29561 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 29562 if (disableSwitch) { 29563 return void 0; 29564 } 29565 const onChange = (e) => { 29566 if (e.key !== ColorModeStorageKey) { 29567 return; 29568 } 29569 const storedColorMode = ColorModeStorage.get(); 29570 if (storedColorMode !== null) { 29571 setColorMode(coerceToColorMode(storedColorMode)); 29572 } 29573 }; 29574 window.addEventListener("storage", onChange); 29575 return () => window.removeEventListener("storage", onChange); 29576 }, [disableSwitch, setColorMode]); 29577 const previousMediaIsPrint = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(false); 29578 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 29579 if (disableSwitch && !respectPrefersColorScheme) { 29580 return void 0; 29581 } 29582 const mql = window.matchMedia("(prefers-color-scheme: dark)"); 29583 const onChange = () => { 29584 if (window.matchMedia("print").matches || previousMediaIsPrint.current) { 29585 previousMediaIsPrint.current = window.matchMedia("print").matches; 29586 return; 29587 } 29588 setColorMode(null); 29589 }; 29590 mql.addListener(onChange); 29591 return () => mql.removeListener(onChange); 29592 }, [setColorMode, disableSwitch, respectPrefersColorScheme]); 29593 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({ 29594 colorMode, 29595 setColorMode, 29596 get isDarkTheme() { 29597 if (false) {} 29598 return colorMode === ColorModes.dark; 29599 },
29600 setLightTheme() { 29601 if (false) {} 29602 setColorMode(ColorModes.light); 29603 }, 29604 setDarkTheme() { 29605 if (false) {} 29606 setColorMode(ColorModes.dark); 29607 } 29608 }), [colorMode, setColorMode]); 29609} 29610function ColorModeProvider({ children }) { 29611 const value = useContextValue(); 29612 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 29613 value, 29614 children 29615 }); 29616} 29617function useColorMode() { 29618 const context = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 29619 if (context == null) { 29620 throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV("ColorModeProvider", "Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode."); 29621 } 29622 return context; 29623} 29624 29625 29626/***/ }), 29627 29628/***/ 63769: 29629/***/ ((module) => { 29630 29631// 29632 29633module.exports = function shallowEqual(objA, objB, compare, compareContext) { 29634 var ret = compare ? compare.call(compareContext, objA, objB) : void 0; 29635 29636 if (ret !== void 0) { 29637 return !!ret; 29638 } 29639 29640 if (objA === objB) { 29641 return true; 29642 } 29643 29644 if (typeof objA !== "object" || !objA || typeof objB !== "object" || !objB) { 29645 return false; 29646 } 29647 29648 var keysA = Object.keys(objA); 29649 var keysB = Object.keys(objB); 29650 29651 if (keysA.length !== keysB.length) { 29652 return false; 29653 } 29654 29655 var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB); 29656 29657 // Test for A's keys different from B. 29658 for (var idx = 0; idx < keysA.length; idx++) { 29659 var key = keysA[idx]; 29660 29661 if (!bHasOwnProperty(key)) { 29662 return false; 29663 } 29664 29665 var valueA = objA[key]; 29666 var valueB = objB[key]; 29667 29668 ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0; 29669 29670 if (ret === false || (ret === void 0 && valueA !== valueB)) { 29671 return false; 29672 } 29673 } 29674 29675 return true; 29676}; 29677 29678 29679/***/ }), 29680 29681/***/ 64099: 29682/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29683 29684"use strict"; 29685/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29686/* harmony export */ s: () => (/* binding */ useTitleFormatter) 29687/* harmony export */ }); 29688/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99788); 29689 29690function useTitleFormatter(title) { 29691 const { siteConfig } = (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__["default"])(); 29692 const { title: siteTitle, titleDelimiter } = siteConfig; 29693 return (title == null ? void 0 : title.trim().length) ? `${title.trim()} ${titleDelimiter} ${siteTitle}` : siteTitle; 29694} 29695 29696 29697/***/ }), 29698 29699/***/ 66187: 29700/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29701 29702"use strict"; 29703 29704// EXPORTS 29705__webpack_require__.d(__webpack_exports__, { 29706 A: () => (/* binding */ Translate), 29707 T: () => (/* binding */ translate) 29708}); 29709 29710// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 29711var jsx_runtime = __webpack_require__(48231); 29712// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 29713var react = __webpack_require__(77407); 29714;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Interpolate.js 29715 29716 29717function interpolate(text, values) { 29718 const segments = text.split(/(\{\w+\})/).map((seg, index) => { 29719 if (index % 2 === 1) { 29720 const value = values == null ? void 0 : values[seg.slice(1, -1)]; 29721 if (value !== void 0) { 29722 return value; 29723 } 29724 } 29725 return seg; 29726 }); 29727 if (segments.some((seg) => (0,react.isValidElement)(seg))) { 29728 return segments.map((seg, index) => (0,react.isValidElement)(seg) ? react.cloneElement(seg, { key: index }) : seg).filter((seg) => seg !== ""); 29729 } 29730 return segments.join(""); 29731} 29732function Interpolate({ children, values }) { 29733 if (typeof children !== "string") { 29734 throw new Error(`The Docusaurus <Interpolate> component only accept simple string values. Received: ${isValidElement(children) ? "React element" : typeof children}`); 29735 } 29736 return /* @__PURE__ */ jsx(Fragment, { 29737 children: interpolate(children, values) 29738 }); 29739} 29740 29741// EXTERNAL MODULE: ./.docusaurus/codeTranslations.json 29742var codeTranslations = __webpack_require__(22654); 29743;
29743// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/Translate.js 29744 29745 29746 29747function getLocalizedMessage({ id, message }) { 29748 var _a, _b; 29749 if (typeof id === "undefined" && typeof message === "undefined") { 29750 throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message"); 29751 } 29752 return (_b = (_a = codeTranslations[id != null ? id : message]) != null ? _a : message) != null ? _b : id; 29753} 29754function translate({ message, id }, values) { 29755 const localizedMessage = getLocalizedMessage({ message, id }); 29756 return interpolate(localizedMessage, values); 29757} 29758function Translate({ children, id, values }) { 29759 if (children && typeof children !== "string") { 29760 console.warn("Illegal <Translate> children", children); 29761 throw new Error("The Docusaurus <Translate> component only accept simple string values"); 29762 } 29763 const localizedMessage = getLocalizedMessage({ message: children, id }); 29764 return /* @__PURE__ */ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, { 29765 children: interpolate(localizedMessage, values) 29766 }); 29767} 29768 29769 29770/***/ }), 29771 29772/***/ 68134: 29773/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 29774 29775"use strict"; 29776/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29777/* harmony export */ k: () => (/* binding */ Removable) 29778/* harmony export */ }); 29779/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31342);
29780// src/removable.ts 29781 29782var Removable = class { 29783 #gcTimeout; 29784 destroy() { 29785 this.clearGcTimeout(); 29786 } 29787 scheduleGc() { 29788 this.clearGcTimeout(); 29789 if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__/* .isValidTimeout */ .gn)(this.gcTime)) { 29790 this.#gcTimeout = setTimeout(() => { 29791 this.optionalRemove(); 29792 }, this.gcTime); 29793 } 29794 } 29795 updateGcTime(newGcTime) { 29796 this.gcTime = Math.max( 29797 this.gcTime || 0, 29798 newGcTime ?? (_utils_js__WEBPACK_IMPORTED_MODULE_0__/* .isServer */ .S$ ? Infinity : 5 * 60 * 1e3) 29799 ); 29800 } 29801 clearGcTimeout() { 29802 if (this.#gcTimeout) { 29803 clearTimeout(this.#gcTimeout); 29804 this.#gcTimeout = void 0; 29805 } 29806 } 29807}; 29808 29809//# sourceMappingURL=removable.js.map 29810 29811/***/ }), 29812 29813/***/ 69186: 29814/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29815 29816"use strict"; 29817/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29818/* harmony export */ Mq: () => (/* binding */ useScrollPosition), 29819/* harmony export */ Tv: () => (/* binding */ ScrollControllerProvider), 29820/* harmony export */ gk: () => (/* binding */ useSmoothScrollTo) 29821/* harmony export */ }); 29822/* unused harmony exports useScrollController, useScrollPositionBlocker */ 29823/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 29824/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 29825/* harmony import */ var _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91979); 29826/* harmony import */ var _docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38389); 29827/* harmony import */ var _docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44823); 29828/* harmony import */ var _reactUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(80178); 29829 29830 29831 29832 29833 29834 29835function useScrollControllerContextValue() { 29836 const scrollEventsEnabledRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(true); 29837 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({ 29838 scrollEventsEnabledRef, 29839 enableScrollEvents: () => { 29840 scrollEventsEnabledRef.current = true; 29841 }, 29842 disableScrollEvents: () => { 29843 scrollEventsEnabledRef.current = false; 29844 } 29845 }), []); 29846} 29847const ScrollMonitorContext = react__WEBPACK_IMPORTED_MODULE_1__.createContext(void 0); 29848function ScrollControllerProvider({ children }) { 29849 const value = useScrollControllerContextValue(); 29850 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ScrollMonitorContext.Provider, { 29851 value, 29852 children 29853 }); 29854} 29855function useScrollController() { 29856 const context = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(ScrollMonitorContext); 29857 if (context == null) { 29858 throw new _reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .ReactContextError */ .dV("ScrollControllerProvider"); 29859 } 29860 return context; 29861} 29862const getScrollPosition = () => _docusaurus_ExecutionEnvironment__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A.canUseDOM ? { 29863 scrollX: window.pageXOffset, 29864 scrollY: window.pageYOffset 29865} : null; 29866function useScrollPosition(effect, deps = []) { 29867 const { scrollEventsEnabledRef } = useScrollController(); 29868 const lastPositionRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(getScrollPosition()); 29869 const dynamicEffect = (0,_reactUtils__WEBPACK_IMPORTED_MODULE_5__/* .useEvent */ ._q)(effect); 29870 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 29871 const handleScroll = () => { 29872 if (!scrollEventsEnabledRef.current) { 29873 return; 29874 } 29875 const currentPosition = getScrollPosition(); 29876 dynamicEffect(currentPosition, lastPositionRef.current); 29877 lastPositionRef.current = currentPosition; 29878 }; 29879 const opts = { 29880 passive: true 29881 }; 29882 handleScroll(); 29883 window.addEventListener("scroll", handleScroll, opts); 29884 return () => window.removeEventListener("scroll", handleScroll, opts); 29885 }, [dynamicEffect, scrollEventsEnabledRef, ...deps]); 29886} 29887function useScrollPositionSaver() { 29888 const lastElementRef = useRef({ 29889 elem: null, 29890 top: 0 29891 }); 29892 const save = useCallback((elem) => { 29893 lastElementRef.current = { 29894 elem, 29895 top: elem.getBoundingClientRect().top 29896 }; 29897 }, []); 29898 const restore = useCallback(() => { 29899 const { current: { elem, top } } = lastElementRef; 29900 if (!elem) { 29901 return { restored: false }; 29902 } 29903 const newTop = elem.getBoundingClientRect().top; 29904 const heightDiff = newTop - top; 29905 if (heightDiff) { 29906 window.scrollBy({ left: 0, top: heightDiff }); 29907 } 29908 lastElementRef.current = { elem: null, top: 0 }; 29909 return { restored: heightDiff !== 0 }; 29910 }, []); 29911 return useMemo(() => ({ save, restore }), [restore, save]); 29912} 29913function useScrollPositionBlocker() {
29914 const scrollController = useScrollController(); 29915 const scrollPositionSaver = useScrollPositionSaver(); 29916 const nextLayoutEffectCallbackRef = useRef(void 0); 29917 const blockElementScrollPositionUntilNextRender = useCallback((el) => { 29918 scrollPositionSaver.save(el); 29919 scrollController.disableScrollEvents(); 29920 nextLayoutEffectCallbackRef.current = () => { 29921 const { restored } = scrollPositionSaver.restore(); 29922 nextLayoutEffectCallbackRef.current = void 0; 29923 if (restored) { 29924 const handleScrollRestoreEvent = () => { 29925 scrollController.enableScrollEvents(); 29926 window.removeEventListener("scroll", handleScrollRestoreEvent); 29927 }; 29928 window.addEventListener("scroll", handleScrollRestoreEvent); 29929 } else { 29930 scrollController.enableScrollEvents(); 29931 } 29932 }; 29933 }, [scrollController, scrollPositionSaver]); 29934 useIsomorphicLayoutEffect(() => { 29935 queueMicrotask(() => { 29936 var _a; 29937 return (_a = nextLayoutEffectCallbackRef.current) == null ? void 0 : _a.call(nextLayoutEffectCallbackRef); 29938 }); 29939 }); 29940 return { 29941 blockElementScrollPositionUntilNextRender 29942 }; 29943} 29944function smoothScrollNative(top) { 29945 window.scrollTo({ top, behavior: "smooth" }); 29946 return () => { 29947 }; 29948} 29949function smoothScrollPolyfill(top) { 29950 let raf = null; 29951 const isUpScroll = document.documentElement.scrollTop > top; 29952 function rafRecursion() { 29953 const currentScroll = document.documentElement.scrollTop; 29954 if (isUpScroll && currentScroll > top || !isUpScroll && currentScroll < top) { 29955 raf = requestAnimationFrame(rafRecursion); 29956 window.scrollTo(0, Math.floor((currentScroll - top) * 0.85) + top); 29957 } 29958 } 29959 rafRecursion(); 29960 return () => raf && cancelAnimationFrame(raf); 29961} 29962function useSmoothScrollTo() { 29963 const cancelRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null); 29964 const isBrowser = (0,_docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)(); 29965 const supportsNativeSmoothScrolling = isBrowser && getComputedStyle(document.documentElement).scrollBehavior === "smooth"; 29966 return { 29967 startScroll: (top) => { 29968 cancelRef.current = supportsNativeSmoothScrolling ? smoothScrollNative(top) : smoothScrollPolyfill(top); 29969 }, 29970 cancelScroll: () => { 29971 var _a; 29972 return (_a = cancelRef.current) == null ? void 0 : _a.call(cancelRef); 29973 } 29974 }; 29975} 29976 29977 29978/***/ }), 29979 29980/***/ 72575: 29981/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 29982 29983"use strict"; 29984/* harmony export */ __webpack_require__.d(__webpack_exports__, { 29985/* harmony export */ M: () => (/* binding */ useNavbarMobileSidebar), 29986/* harmony export */ e: () => (/* binding */ NavbarMobileSidebarProvider) 29987/* harmony export */ }); 29988/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 29989/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 29990/* harmony import */ var _navbarSecondaryMenu_content__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6914); 29991/* harmony import */ var _hooks_useWindowSize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(11739); 29992/* harmony import */ var _utils_historyUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(27127); 29993/* harmony import */ var _utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(90864); 29994/* harmony import */ var _utils_reactUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80178); 29995 29996 29997 29998 29999 30000 30001 30002const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(void 0); 30003function useIsNavbarMobileSidebarDisabled() { 30004 const secondaryMenuContent = (0,_navbarSecondaryMenu_content__WEBPACK_IMPORTED_MODULE_2__/* .useNavbarSecondaryMenuContent */ .YL)(); 30005 const { items } = (0,_utils_useThemeConfig__WEBPACK_IMPORTED_MODULE_3__/* .useThemeConfig */ .p)().navbar; 30006 return items.length === 0 && !secondaryMenuContent.component; 30007} 30008function useContextValue() { 30009 const disabled = useIsNavbarMobileSidebarDisabled(); 30010 const windowSize = (0,_hooks_useWindowSize__WEBPACK_IMPORTED_MODULE_4__/* .useWindowSize */ .l)(); 30011 const shouldRender = !disabled && windowSize === "mobile"; 30012 const [shown, setShown] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false); 30013 (0,_utils_historyUtils__WEBPACK_IMPORTED_MODULE_5__/* .useHistoryPopHandler */ .$Z)(() => { 30014 if (shown) { 30015 setShown(false); 30016 return false;
30017 } 30018 return void 0; 30019 }); 30020 const toggle = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => { 30021 setShown((s) => !s); 30022 }, []); 30023 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 30024 if (windowSize === "desktop") { 30025 setShown(false); 30026 } 30027 }, [windowSize]); 30028 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({ disabled, shouldRender, toggle, shown }), [disabled, shouldRender, toggle, shown]); 30029} 30030function NavbarMobileSidebarProvider({ children }) { 30031 const value = useContextValue(); 30032 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 30033 value, 30034 children 30035 }); 30036} 30037function useNavbarMobileSidebar() { 30038 const context = react__WEBPACK_IMPORTED_MODULE_1__.useContext(Context); 30039 if (context === void 0) { 30040 throw new _utils_reactUtils__WEBPACK_IMPORTED_MODULE_6__/* .ReactContextError */ .dV("NavbarMobileSidebarProvider"); 30041 } 30042 return context; 30043} 30044 30045 30046/***/ }), 30047 30048/***/ 73398: 30049/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 30050 30051"use strict"; 30052/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30053/* harmony export */ G: () => (/* binding */ isRegexpStringMatch) 30054/* harmony export */ }); 30055function isRegexpStringMatch(regexAsString, valueToTest) { 30056 if (typeof regexAsString === "undefined" || typeof valueToTest === "undefined") { 30057 return false; 30058 } 30059 return new RegExp(regexAsString, "gi").test(valueToTest); 30060} 30061 30062 30063/***/ }), 30064 30065/***/ 73855: 30066/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 30067 30068"use strict"; 30069/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30070/* harmony export */ o: () => (/* binding */ Context), 30071/* harmony export */ x: () => (/* binding */ BrowserContextProvider) 30072/* harmony export */ }); 30073/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 30074/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 30075 30076 30077const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(false); 30078function BrowserContextProvider({ children }) { 30079 const [isBrowser, setIsBrowser] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false); 30080 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 30081 setIsBrowser(true); 30082 }, []); 30083 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 30084 value: isBrowser, 30085 children 30086 }); 30087} 30088 30089 30090/***/ }), 30091 30092/***/ 74835: 30093/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30094 30095"use strict"; 30096/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30097/* harmony export */ X: () => (/* binding */ Query), 30098/* harmony export */ k: () => (/* binding */ fetchState) 30099/* harmony export */ }); 30100/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31342); 30101/* harmony import */ var _notifyManager_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(50255); 30102/* harmony import */ var _retryer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76598); 30103/* harmony import */ var _removable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68134);
30104// src/query.ts 30105 30106 30107 30108 30109var Query = class extends _removable_js__WEBPACK_IMPORTED_MODULE_0__/* .Removable */ .k { 30110 #initialState; 30111 #revertState; 30112 #cache; 30113 #client; 30114 #retryer; 30115 #defaultOptions; 30116 #abortSignalConsumed; 30117 constructor(config) { 30118 super(); 30119 this.#abortSignalConsumed = false; 30120 this.#defaultOptions = config.defaultOptions; 30121 this.setOptions(config.options); 30122 this.observers = []; 30123 this.#client = config.client; 30124 this.#cache = this.#client.getQueryCache(); 30125 this.queryKey = config.queryKey; 30126 this.queryHash = config.queryHash; 30127 this.#initialState = getDefaultState(this.options); 30128 this.state = config.state ?? this.#initialState; 30129 this.scheduleGc(); 30130 } 30131 get meta() { 30132 return this.options.meta; 30133 } 30134 get promise() { 30135 return this.#retryer?.promise; 30136 } 30137 setOptions(options) { 30138 this.options = { ...this.#defaultOptions, ...options }; 30139 this.updateGcTime(this.options.gcTime); 30140 } 30141 optionalRemove() { 30142 if (!this.observers.length && this.state.fetchStatus === "idle") { 30143 this.#cache.remove(this); 30144 } 30145 } 30146 setData(newData, options) { 30147 const data = (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .replaceData */ .pl)(this.state.data, newData, this.options); 30148 this.#dispatch({ 30149 data, 30150 type: "success", 30151 dataUpdatedAt: options?.updatedAt, 30152 manual: options?.manual 30153 }); 30154 return data; 30155 } 30156 setState(state, setStateOptions) { 30157 this.#dispatch({ type: "setState", state, setStateOptions }); 30158 } 30159 cancel(options) { 30160 const promise = this.#retryer?.promise; 30161 this.#retryer?.cancel(options); 30162 return promise ? promise.then(_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .noop */ .lQ).catch(_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .noop */ .lQ) : Promise.resolve(); 30163 } 30164 destroy() { 30165 super.destroy(); 30166 this.cancel({ silent: true }); 30167 } 30168 reset() { 30169 this.destroy(); 30170 this.setState(this.#initialState); 30171 } 30172 isActive() { 30173 return this.observers.some( 30174 (observer) => (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .resolveEnabled */ .Eh)(observer.options.enabled, this) !== false 30175 ); 30176 } 30177 isDisabled() { 30178 if (this.getObserversCount() > 0) { 30179 return !this.isActive(); 30180 } 30181 return this.options.queryFn === _utils_js__WEBPACK_IMPORTED_MODULE_1__/* .skipToken */ .hT || this.state.dataUpdateCount + this.state.errorUpdateCount === 0; 30182 } 30183 isStale() { 30184 if (this.state.isInvalidated) { 30185 return true; 30186 } 30187 if (this.getObserversCount() > 0) { 30188 return this.observers.some( 30189 (observer) => observer.getCurrentResult().isStale 30190 ); 30191 } 30192 return this.state.data === void 0; 30193 } 30194 isStaleByTime(staleTime = 0) { 30195 return this.state.isInvalidated || this.state.data === void 0 || !(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .timeUntilStale */ .j3)(this.state.dataUpdatedAt, staleTime); 30196 } 30197 onFocus() { 30198 const observer = this.observers.find((x) => x.shouldFetchOnWindowFocus()); 30199 observer?.refetch({ cancelRefetch: false }); 30200 this.#retryer?.continue(); 30201 } 30202 onOnline() { 30203 const observer = this.observers.find((x) => x.shouldFetchOnReconnect()); 30204 observer?.refetch({ cancelRefetch: false }); 30205 this.#retryer?.continue(); 30206 } 30207 addObserver(observer) { 30208 if (!this.observers.includes(observer)) { 30209 this.observers.push(observer); 30210 this.clearGcTimeout(); 30211 this.#cache.notify({ type: "observerAdded", query: this, observer }); 30212 } 30213 } 30214 removeObserver(observer) { 30215 if (this.observers.includes(observer)) { 30216 this.observers = this.observers.filter((x) => x !== observer); 30217 if (!this.observers.length) { 30218 if (this.#retryer) { 30219 if (this.#abortSignalConsumed) { 30220 this.#retryer.cancel({ revert: true }); 30221 } else { 30222 this.#retryer.cancelRetry(); 30223 } 30224 } 30225 this.scheduleGc(); 30226 } 30227 this.#cache.notify({ type: "observerRemoved", query: this, observer }); 30228 } 30229 } 30230 getObserversCount() { 30231 return this.observers.length; 30232 } 30233 invalidate() { 30234 if (!this.state.isInvalidated) { 30235 this.#dispatch({ type: "invalidate" }); 30236 } 30237 } 30238 fetch(options, fetchOptions) { 30239 if (this.state.fetchStatus !== "idle") { 30240 if (this.state.data !== void 0 && fetchOptions?.cancelRefetch) { 30241 this.cancel({ silent: true }); 30242 } else if (this.#retryer) { 30243 this.#retryer.continueRetry(); 30244 return this.#retryer.promise; 30245 } 30246 } 30247 if (options) { 30248 this.setOptions(options); 30249 } 30250 if (!this.options.queryFn) { 30251 const observer = this.observers.find((x) => x.options.queryFn); 30252 if (observer) { 30253 this.setOptions(observer.options); 30254 } 30255 } 30256 if (false) {} 30257 const abortController = new AbortController(); 30258 const addSignalProperty = (object) => { 30259 Object.defineProperty(object, "signal", { 30260 enumerable: true, 30261 get: () => { 30262 this.#abortSignalConsumed = true; 30263 return abortController.signal; 30264 } 30265 }); 30266 }; 30267 const fetchFn = () => { 30268 const queryFn = (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .ensureQueryFn */ .ZM)(this.options, fetchOptions); 30269 const queryFnContext = { 30270 client: this.#client, 30271 queryKey: this.queryKey, 30272 meta: this.meta 30273 }; 30274 addSignalProperty(queryFnContext); 30275 this.#abortSignalConsumed = false;
30276 if (this.options.persister) { 30277 return this.options.persister( 30278 queryFn, 30279 queryFnContext, 30280 this 30281 ); 30282 } 30283 return queryFn(queryFnContext); 30284 }; 30285 const context = { 30286 fetchOptions, 30287 options: this.options, 30288 queryKey: this.queryKey, 30289 client: this.#client, 30290 state: this.state, 30291 fetchFn 30292 }; 30293 addSignalProperty(context); 30294 this.options.behavior?.onFetch( 30295 context, 30296 this 30297 ); 30298 this.#revertState = this.state; 30299 if (this.state.fetchStatus === "idle" || this.state.fetchMeta !== context.fetchOptions?.meta) { 30300 this.#dispatch({ type: "fetch", meta: context.fetchOptions?.meta }); 30301 } 30302 const onError = (error) => { 30303 if (!((0,_retryer_js__WEBPACK_IMPORTED_MODULE_2__/* .isCancelledError */ .wm)(error) && error.silent)) { 30304 this.#dispatch({ 30305 type: "error", 30306 error 30307 }); 30308 } 30309 if (!(0,_retryer_js__WEBPACK_IMPORTED_MODULE_2__/* .isCancelledError */ .wm)(error)) { 30310 this.#cache.config.onError?.( 30311 error, 30312 this 30313 ); 30314 this.#cache.config.onSettled?.( 30315 this.state.data, 30316 error, 30317 this 30318 ); 30319 } 30320 this.scheduleGc(); 30321 }; 30322 this.#retryer = (0,_retryer_js__WEBPACK_IMPORTED_MODULE_2__/* .createRetryer */ .II)({ 30323 initialPromise: fetchOptions?.initialPromise, 30324 fn: context.fetchFn, 30325 abort: abortController.abort.bind(abortController), 30326 onSuccess: (data) => { 30327 if (data === void 0) { 30328 if (false) {} 30329 onError(new Error(`${this.queryHash} data is undefined`)); 30330 return; 30331 } 30332 try { 30333 this.setData(data); 30334 } catch (error) { 30335 onError(error); 30336 return; 30337 } 30338 this.#cache.config.onSuccess?.(data, this); 30339 this.#cache.config.onSettled?.( 30340 data, 30341 this.state.error, 30342 this 30343 ); 30344 this.scheduleGc(); 30345 }, 30346 onError, 30347 onFail: (failureCount, error) => { 30348 this.#dispatch({ type: "failed", failureCount, error }); 30349 }, 30350 onPause: () => { 30351 this.#dispatch({ type: "pause" }); 30352 }, 30353 onContinue: () => { 30354 this.#dispatch({ type: "continue" }); 30355 }, 30356 retry: context.options.retry, 30357 retryDelay: context.options.retryDelay, 30358 networkMode: context.options.networkMode, 30359 canRun: () => true 30360 }); 30361 return this.#retryer.start(); 30362 } 30363 #dispatch(action) { 30364 const reducer = (state) => { 30365 switch (action.type) { 30366 case "failed": 30367 return { 30368 ...state, 30369 fetchFailureCount: action.failureCount, 30370 fetchFailureReason: action.error 30371 }; 30372 case "pause": 30373 return { 30374 ...state, 30375 fetchStatus: "paused" 30376 }; 30377 case "continue": 30378 return { 30379 ...state, 30380 fetchStatus: "fetching" 30381 }; 30382 case "fetch": 30383 return { 30384 ...state, 30385 ...fetchState(state.data, this.options), 30386 fetchMeta: action.meta ?? null 30387 }; 30388 case "success": 30389 return { 30390 ...state, 30391 data: action.data, 30392 dataUpdateCount: state.dataUpdateCount + 1, 30393 dataUpdatedAt: action.dataUpdatedAt ?? Date.now(), 30394 error: null, 30395 isInvalidated: false, 30396 status: "success", 30397 ...!action.manual && { 30398 fetchStatus: "idle", 30399 fetchFailureCount: 0, 30400 fetchFailureReason: null 30401 } 30402 }; 30403 case "error": 30404 const error = action.error; 30405 if ((0,_retryer_js__WEBPACK_IMPORTED_MODULE_2__/* .isCancelledError */ .wm)(error) && error.revert && this.#revertState) { 30406 return { ...this.#revertState, fetchStatus: "idle" }; 30407 } 30408 return { 30409 ...state, 30410 error, 30411 errorUpdateCount: state.errorUpdateCount + 1, 30412 errorUpdatedAt: Date.now(), 30413 fetchFailureCount: state.fetchFailureCount + 1, 30414 fetchFailureReason: error, 30415 fetchStatus: "idle", 30416 status: "error" 30417 }; 30418 case "invalidate": 30419 return { 30420 ...state, 30421 isInvalidated: true 30422 }; 30423 case "setState": 30424 return { 30425 ...state, 30426 ...action.state 30427 }; 30428 } 30429 }; 30430 this.state = reducer(this.state); 30431 _notifyManager_js__WEBPACK_IMPORTED_MODULE_3__/* .notifyManager */ .jG.batch(() => {
30432 this.observers.forEach((observer) => { 30433 observer.onQueryUpdate(); 30434 }); 30435 this.#cache.notify({ query: this, type: "updated", action }); 30436 }); 30437 } 30438}; 30439function fetchState(data, options) { 30440 return { 30441 fetchFailureCount: 0, 30442 fetchFailureReason: null, 30443 fetchStatus: (0,_retryer_js__WEBPACK_IMPORTED_MODULE_2__/* .canFetch */ .v_)(options.networkMode) ? "fetching" : "paused", 30444 ...data === void 0 && { 30445 error: null, 30446 status: "pending" 30447 } 30448 }; 30449} 30450function getDefaultState(options) { 30451 const data = typeof options.initialData === "function" ? options.initialData() : options.initialData; 30452 const hasData = data !== void 0; 30453 const initialDataUpdatedAt = hasData ? typeof options.initialDataUpdatedAt === "function" ? options.initialDataUpdatedAt() : options.initialDataUpdatedAt : 0; 30454 return { 30455 data, 30456 dataUpdateCount: 0, 30457 dataUpdatedAt: hasData ? initialDataUpdatedAt ?? Date.now() : 0, 30458 error: null, 30459 errorUpdateCount: 0, 30460 errorUpdatedAt: 0, 30461 fetchFailureCount: 0, 30462 fetchFailureReason: null, 30463 fetchMeta: null, 30464 isInvalidated: false, 30465 status: hasData ? "success" : "pending", 30466 fetchStatus: "idle" 30467 }; 30468} 30469 30470//# sourceMappingURL=query.js.map 30471 30472/***/ }), 30473 30474/***/ 75437: 30475/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30476 30477"use strict"; 30478/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30479/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) 30480/* harmony export */ }); 30481/* unused harmony export clsx */ 30482function 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); 30483 30484/***/ }), 30485 30486/***/ 76177: 30487/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30488 30489"use strict"; 30490/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30491/* harmony export */ A: () => (/* binding */ _setPrototypeOf) 30492/* harmony export */ }); 30493function _setPrototypeOf(t, e) { 30494 return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { 30495 return t.__proto__ = e, t; 30496 }, _setPrototypeOf(t, e); 30497} 30498 30499 30500/***/ }), 30501 30502/***/ 76598: 30503/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 30504 30505"use strict"; 30506/* harmony export */ __webpack_require__.d(__webpack_exports__, { 30507/* harmony export */ II: () => (/* binding */ createRetryer), 30508/* harmony export */ v_: () => (/* binding */ canFetch), 30509/* harmony export */ wm: () => (/* binding */ isCancelledError) 30510/* harmony export */ }); 30511/* unused harmony export CancelledError */ 30512/* harmony import */ var _focusManager_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32156); 30513/* harmony import */ var _onlineManager_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96133); 30514/* harmony import */ var _thenable_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(24280); 30515/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31342);
30516// src/retryer.ts 30517 30518 30519 30520 30521function defaultRetryDelay(failureCount) { 30522 return Math.min(1e3 * 2 ** failureCount, 3e4); 30523} 30524function canFetch(networkMode) { 30525 return (networkMode ?? "online") === "online" ? _onlineManager_js__WEBPACK_IMPORTED_MODULE_0__/* .onlineManager */ .t.isOnline() : true; 30526} 30527var CancelledError = class extends Error { 30528 constructor(options) { 30529 super("CancelledError"); 30530 this.revert = options?.revert; 30531 this.silent = options?.silent; 30532 } 30533}; 30534function isCancelledError(value) { 30535 return value instanceof CancelledError; 30536} 30537function createRetryer(config) { 30538 let isRetryCancelled = false; 30539 let failureCount = 0; 30540 let isResolved = false; 30541 let continueFn; 30542 const thenable = (0,_thenable_js__WEBPACK_IMPORTED_MODULE_1__/* .pendingThenable */ .T)(); 30543 const cancel = (cancelOptions) => { 30544 if (!isResolved) { 30545 reject(new CancelledError(cancelOptions)); 30546 config.abort?.(); 30547 } 30548 }; 30549 const cancelRetry = () => { 30550 isRetryCancelled = true; 30551 }; 30552 const continueRetry = () => { 30553 isRetryCancelled = false; 30554 }; 30555 const canContinue = () => _focusManager_js__WEBPACK_IMPORTED_MODULE_2__/* .focusManager */ .m.isFocused() && (config.networkMode === "always" || _onlineManager_js__WEBPACK_IMPORTED_MODULE_0__/* .onlineManager */ .t.isOnline()) && config.canRun(); 30556 const canStart = () => canFetch(config.networkMode) && config.canRun(); 30557 const resolve = (value) => { 30558 if (!isResolved) { 30559 isResolved = true; 30560 config.onSuccess?.(value); 30561 continueFn?.(); 30562 thenable.resolve(value); 30563 } 30564 }; 30565 const reject = (value) => { 30566 if (!isResolved) { 30567 isResolved = true; 30568 config.onError?.(value); 30569 continueFn?.(); 30570 thenable.reject(value); 30571 } 30572 }; 30573 const pause = () => { 30574 return new Promise((continueResolve) => { 30575 continueFn = (value) => { 30576 if (isResolved || canContinue()) { 30577 continueResolve(value); 30578 } 30579 }; 30580 config.onPause?.(); 30581 }).then(() => { 30582 continueFn = void 0; 30583 if (!isResolved) { 30584 config.onContinue?.(); 30585 } 30586 }); 30587 }; 30588 const run = () => { 30589 if (isResolved) { 30590 return; 30591 } 30592 let promiseOrValue; 30593 const initialPromise = failureCount === 0 ? config.initialPromise : void 0; 30594 try { 30595 promiseOrValue = initialPromise ?? config.fn(); 30596 } catch (error) { 30597 promiseOrValue = Promise.reject(error); 30598 } 30599 Promise.resolve(promiseOrValue).then(resolve).catch((error) => { 30600 if (isResolved) { 30601 return; 30602 } 30603 const retry = config.retry ?? (_utils_js__WEBPACK_IMPORTED_MODULE_3__/* .isServer */ .S$ ? 0 : 3); 30604 const retryDelay = config.retryDelay ?? defaultRetryDelay; 30605 const delay = typeof retryDelay === "function" ? retryDelay(failureCount, error) : retryDelay; 30606 const shouldRetry = retry === true || typeof retry === "number" && failureCount < retry || typeof retry === "function" && retry(failureCount, error); 30607 if (isRetryCancelled || !shouldRetry) { 30608 reject(error); 30609 return; 30610 } 30611 failureCount++; 30612 config.onFail?.(failureCount, error); 30613 (0,_utils_js__WEBPACK_IMPORTED_MODULE_3__/* .sleep */ .yy)(delay).then(() => { 30614 return canContinue() ? void 0 : pause(); 30615 }).then(() => { 30616 if (isRetryCancelled) { 30617 reject(error); 30618 } else { 30619 run(); 30620 } 30621 }); 30622 }); 30623 }; 30624 return { 30625 promise: thenable, 30626 cancel, 30627 continue: () => { 30628 continueFn?.(); 30629 return thenable; 30630 }, 30631 cancelRetry, 30632 continueRetry, 30633 canStart, 30634 start: () => { 30635 if (canStart()) { 30636 run(); 30637 } else { 30638 pause().then(run); 30639 } 30640 return thenable; 30641 } 30642 }; 30643} 30644 30645//# sourceMappingURL=retryer.js.map 30646 30647/***/ }), 30648 30649/***/ 76806: 30650/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 30651 30652"use strict"; 30653 30654// EXPORTS 30655__webpack_require__.d(__webpack_exports__, { 30656 A: () => (/* binding */ routes) 30657}); 30658 30659// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 30660var jsx_runtime = __webpack_require__(48231); 30661// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-react-loadable-virtual-d2fd12a952/0/cache/@docusaurus-react-loadable-npm-6.0.0-75f0ebc146-f7cca3dbc1.zip/node_modules/@docusaurus/react-loadable/lib/index.js 30662var lib = __webpack_require__(41261); 30663var lib_default = /*#__PURE__*/__webpack_require__.n(lib); 30664// EXTERNAL MODULE: ./.docusaurus/routesChunkNames.json 30665var routesChunkNames = __webpack_require__(84054); 30666;// ./.docusaurus/registry.js 30667/* harmony default export */ const registry = ({ 30668 "00f8cb83": [() => Promise.all(/* import() | 00f8cb83 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(6297)]).then(__webpack_require__.bind(__webpack_require__, 39460)), "/opt/build/repo/packages/plugin-interactive-tools/README.md", /*require.resolve*/(39460)], 30669 "0147b708": [() => __webpack_require__.e(/* import() | 0147b708 */ 8144).then(__webpack_require__.bind(__webpack_require__, 18464)), "/opt/build/repo/packages/plugin-
30669pnp/README.md", /*require.resolve*/(18464)], 30670 "01c36df0": [() => Promise.all(/* import() | 01c36df0 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7684)]).then(__webpack_require__.bind(__webpack_require__, 30364)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/rebuild.mdx", /*require.resolve*/(30364)], 30671 "04e96819": [() => Promise.all(/* import() | 04e96819 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(3513)]).then(__webpack_require__.bind(__webpack_require__, 95936)), "@site/docs/advanced/01-general-reference/protocols/file.mdx", /*require.resolve*/(95936)], 30672 "04f2af76": [() => Promise.all(/* import() | 04f2af76 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(4021)]).then(__webpack_require__.bind(__webpack_require__, 53438)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/version/check.mdx", /*require.resolve*/(53438)], 30673 "0a715f43": [() => Promise.all(/* import() | 0a715f43 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7300)]).then(__webpack_require__.bind(__webpack_require__, 47749)), "@site/docs/advanced/04-technical/contributing.mdx", /*require.resolve*/(47749)], 30674 "0a952602": [() => Promise.all(/* import() | 0a952602 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__, 51658)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/plugin/remove.mdx", /*require.resolve*/(51658)], 30675 "0b830eb8": [() => __webpack_require__.e(/* import() | 0b830eb8 */ 5865).then(__webpack_require__.bind(__webpack_require__, 56636)), "@site/blog/2023-08-20-bun.mdx?truncated=true", /*require.resolve*/(56636)], 30676 "0fc9408e": [() => Promise.all(/* import() | 0fc9408e */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(2768)]).then(__webpack_require__.bind(__webpack_require__, 53847)), "@site/docs/advanced/01-general-reference/protocols/npm.mdx", /*require.resolve*/(53847)], 30677 "100f6d67": [() => __webpack_require__.e(/* import() | 100f6d67 */ 8246).then(__webpack_require__.bind(__webpack_require__, 70745)), "@site/docs/getting-started/migrating/benefits.mdx", /*require.resolve*/(70745)], 30678 "1066bd32": [() => Promise.all(/* import() | 1066bd32 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(5541)]).then(__webpack_require__.bind(__webpack_require__, 70127)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/plugin/check.mdx", /*require.resolve*/(70127)], 30679 "11fb19fe": [() => Promise.all(/* import() | 11fb19fe */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(244)]).then(__webpack_require__.bind(__webpack_require__, 70624)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/why.mdx", /*require.resolve*/(70624)], 30680 "1278b081": [() => Promise.all(/* import() | 1278b081 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(6172)]).then(__webpack_require__.bind(__webpack_require__, 13805)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/search.mdx", /*require.resolve*/(13805)], 30681 "14eb3368": [() => Promise.all(/* import() | 14eb3368 */[__webpack_require__.e(1869), __webpack_require__.e(6969)]).then(__webpack_require__.bind(__webpack_require__, 27308)), "@theme/DocCategoryGeneratedIndexPage", /*require.resolve*/(27308)], 30682 "15420782": [() => Promise.all(/* import() | 15420782 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(5930)]).then(__webpack_require__.bind(__webpack_require__, 7401)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/plugin/runtime.mdx", /*require.resolve*/(7401)], 30683 "15e86087": [() => __webpack_require__.e(/* import() | 15e86087 */ 2631).then(__webpack_require__.bind(__webpack_require__, 56259)), "/opt/build/repo/packages/plugin-catalog/README.md", /*require.resolve*/(56259)], 30684 "17896441": [() => Promise.all(/* import() | 17896441 */[__webpack_require__.e(1869), __webpack_require__.e(8629), __webpack_require__.e(1577), __webpack_require__.e(7439), __webpack_require__.e(8401)]).then(__webpack_require__.bind(__webpack_require__, 19945)), "@theme/DocItem", /*require.resolve*/(19945)], 30685 "18f4097e": [() => Promise.all(/* import() | 18f4097e */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(6615)]).then(__webpack_require__.bind(__webpack_require__, 3318)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/workspaces
30685/foreach.mdx", /*require.resolve*/(3318)], 30686 "1a4e3797": [() => Promise.all(/* import() | 1a4e3797 */[__webpack_require__.e(1869), __webpack_require__.e(2138)]).then(__webpack_require__.bind(__webpack_require__, 68410)), "@theme/SearchPage", /*require.resolve*/(68410)], 30687 "1b444260": [() => Promise.all(/* import() | 1b444260 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(6538)]).then(__webpack_require__.bind(__webpack_require__, 20258)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/link.mdx", /*require.resolve*/(20258)], 30688 "1cfcc936": [() => __webpack_require__.e(/* import() | 1cfcc936 */ 4717).then(__webpack_require__.bind(__webpack_require__, 77629)), "/opt/build/repo/packages/plugin-npm/README.md", /*require.resolve*/(77629)], 30689 "1df93b7f": [() => Promise.all(/* import() | 1df93b7f */[__webpack_require__.e(1869), __webpack_require__.e(2201), __webpack_require__.e(4583)]).then(__webpack_require__.bind(__webpack_require__, 71367)), "@site/src/pages/index.tsx", /*require.resolve*/(71367)], 30690 "2010169c": [() => __webpack_require__.e(/* import() | 2010169c */ 6547).then(__webpack_require__.bind(__webpack_require__, 22351)), "@site/src/pages/configuration.tsx", /*require.resolve*/(22351)], 30691 "2021dd02": [() => Promise.all(/* import() | 2021dd02 */[__webpack_require__.e(1869), __webpack_require__.e(7348)]).then(__webpack_require__.bind(__webpack_require__, 1335)), "/opt/build/repo/packages/plugin-typescript/README.md", /*require.resolve*/(1335)], 30692 "20eaf771": [() => Promise.all(/* import() | 20eaf771 */[__webpack_require__.e(1869), __webpack_require__.e(4734)]).then(__webpack_require__.bind(__webpack_require__, 77747)), "@site/docs/features/catalogs.mdx", /*require.resolve*/(77747)], 30693 "21e2e981": [() => Promise.all(/* import() | 21e2e981 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2130)]).then(__webpack_require__.bind(__webpack_require__, 53932)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/tag/list.mdx", /*require.resolve*/(53932)], 30694 "22dd74f7": [() => __webpack_require__.e(/* import() | 22dd74f7 */ 1567).then(__webpack_require__.t.bind(__webpack_require__, 55226, 19)), "@generated/docusaurus-plugin-content-docs/default/p/index-466.json", /*require.resolve*/(55226)], 30695 "23ea410b": [() => __webpack_require__.e(/* import() | 23ea410b */ 7019).then(__webpack_require__.bind(__webpack_require__, 34615)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/sdks.mdx", /*require.resolve*/(34615)], 30696 "241168cc": [() => Promise.all(/* import() | 241168cc */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3883)]).then(__webpack_require__.bind(__webpack_require__, 19445)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/upgrade-interactive.mdx", /*require.resolve*/(19445)], 30697 "25afc4ab": [() => Promise.all(/* import() | 25afc4ab */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(1673)]).then(__webpack_require__.bind(__webpack_require__, 72642)), "/opt/build/repo/packages/yarnpkg-sdks/README.md", /*require.resolve*/(72642)], 30698 "27026fee": [() => __webpack_require__.e(/* import() | 27026fee */ 8078).then(__webpack_require__.bind(__webpack_require__, 90099)), "/opt/build/repo/packages/plugin-jsr/README.md", /*require.resolve*/(90099)], 30699 "285f860c": [() => Promise.all(/* import() | 285f860c */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(4261)]).then(__webpack_require__.bind(__webpack_require__, 45725)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/plugin/list.mdx", /*require.resolve*/(45725)], 30700 "2bf28662": [() => Promise.all(/* import() | 2bf28662 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1817)]).then(__webpack_require__.bind(__webpack_require__, 45327)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/install.mdx", /*require.resolve*/(45327)], 30701 "2ef161af": [() => Promise.all(/* import() | 2ef161af */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(753)]).then(__webpack_require__.bind(__webpack_require__, 45414)), "@site/docs/advanced/04-technical/plugin-tutorial.mdx", /*require.resolve*/(45414)], 30702 "2f03f214": [() => __webpack_require__.e(/* import() | 2f03f214 */ 1559).then(__webpack_require__.t.bind(__webpack_require__, 26690, 19)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/version-metadata.json", /*require.resolve*/(26690)], 30703 "2fd82280": [() => Promise.all(/* import() | 2fd82280 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1927)]).then(__webpack_require__.bind(__webpack_require__, 94479)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/info.mdx", /*require.resolve*/(94479)], 30704 "34b8eeaa": [() => Promise.all(/* import() | 34b8eeaa */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1796)]).then(__webpack_require__.bind(__webpack_require__, 67865)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/exec.mdx", /*require.resolve*/(67865)], 30705 "35b549f8": [() => Promise.all(/* import() | 35b549f8 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(9387)]).then(__webpack_require__.bind(__webpack_require__, 58746)), "@site/blog/2020-08-28-release-2.2.mdx", /*require.resolve*/(58746)], 30706 "364a4874": [() => Promise.all(/* import() | 364a4874 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(1276)]).then(__webpack_require__.bind(__webpack_require__, 33179)), "@site/docs/advanced/02-package-management/lifecycle-scripts.mdx", /*require.resolve*/(33179)], 30707 "36994c47": [() => __webpack_require__.e(/* import() | 36994c47 */ 9858).then(__webpack_require__.t.bind(__webpack_require__, 45516, 19)), "@generated/docusaurus-plugin-content-blog/default/__plugin.json", /*require.resolve*/(45516)], 30708 "369ec692": [() => Promise.all(/* import() | 369ec692 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(1036)]).then(__webpack_require__.bind(__webpack_require__, 90816)), "@site/docs/advanced/01-general-reference/error-codes.mdx", /*require.resolve*/(90816)], 30709 "36d835f3": [() => Promise.all(/* import() | 36d835f3 */[__webpack_require__.e(1869), __webpack_require__.e(8629), __webpack_require__.e(1005)]).then(__webpack_require__.bind(__webpack_require__, 27497)), "@site/blog/2023-10-23-release-4.0.mdx?truncated=true", /*require.resolve*/(27497)], 30710 "375a4363": [() => Promise.all(/* import() | 375a4363 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(5345)]).then(__webpack_require__.bind(__webpack_require__, 34876)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/dedupe.mdx", /*require.resolve*/(34876)], 30711 "38116c88": [() => Promise.all(/* import() | 38116c88 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(6901)]).then(__webpack_require__.bind(__webpack_require__, 82999)), "@site/blog/2020-07-09-release-2.1.mdx", /*require.resolve*/(82999)], 30712 "3a8bcffe": [() => Promise.all(/* import() | 3a8bcffe */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7873)]).then(__webpack_require__.bind(__webpack_require__, 58540)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/patch.mdx", /*require.resolve*/(58540)], 30713 "3d9852f5": [() => __webpack_require__.e(/* import() | 3d9852f5 */ 6007).then(__webpack_require__.t.bind(__webpack_require__, 38417, 19)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-typedoc-api/default/packages-current.json", /*require.resolve*/(38417)], 30714 "3def3943": [() => Promise.all(/* import() | 3def3943 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2368)]).then(__webpack_require__.bind(__webpack_require__, 51644)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/tag/remove.mdx", /*require.resolve*/(51644)], 30715 "401ccae9": [() => Promise.all(/* import() | 401ccae9 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3265)]).then(__webpack_require__.bind(__webpack_require__, 71189)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/add.mdx", /*require.resolve*/(71189)], 30716 "417932b5": [() => Promise.all(/* import() | 417932b5 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(5954)]).then(__webpack_require__.bind(__webpack_require__, 69837)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/unlink.mdx", /*require.resolve*/(69837)], 30717 "42ed2d38": [() => Promise.all(/* import() | 42ed2d38 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(6557)]).then(__webpack_require__.bind(__webpack_require__, 43022)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/publish.mdx", /*require.resolve*/(43022)], 30718 "44bbd1f0": [() => __webpack_require__.e(/* import() | 44bbd1f0 */ 1152).then(__webpack_require__.bind(__webpack_require__, 63811)), "/opt/build/repo/packages/plugin-github/README.md", /*require.resolve*/(63811)], 30719 "4510de78": [() => Promise.all(/* import() | 4510de78 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(4429)]).then(__webpack_require__.bind(__webpack_require__, 17518)), "@site/docs/advanced/03-pnp/pnpify.mdx", /*require.resolve*/(17518)], 30720 "484be649": [() => Promise.all(/* import() | 484be649 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8509)]).then(__webpack_require__.bind(__webpack_require__, 63750)), "@site/docs/advanced/01-general-reference/protocols/exec.mdx", /*require.resolve*/(63750)], 30721 "48875e67": [() => Promise.all(/* import() | 48875e67 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2115)]).then(__webpack_require__.bind(__webpack_require__, 44888)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/explain/peer-requirements.mdx", /*require.resolve*/(44888)], 30722 "48b117f6": [() => Promise.all(/* import() | 48b117f6 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7280)]).then(__webpack_require__.bind(__webpack_require__, 361
3072276)), "@site/docs/features/scripting.mdx", /*require.resolve*/(36176)], 30723 "48d22a6d": [() => __webpack_require__.e(/* import() | 48d22a6d */ 32).then(__webpack_require__.bind(__webpack_require__, 44377)), "@site/blog/2020-01-24-release-2.0.mdx?truncated=true", /*require.resolve*/(44377)], 30724 "492c1f2b": [() => Promise.all(/* import() | 492c1f2b */[__webpack_require__.e(1869), __webpack_require__.e(3652), __webpack_require__.e(9382)]).then(__webpack_require__.t.bind(__webpack_require__, 38320, 23)), "/opt/build/repo/.yarn/__virtual__/docusaurus-plugin-typedoc-api-virtual-6ef0a7cc57/0/cache/docusaurus-plugin-typedoc-api-patch-05bcbb177c-29e119111e.zip/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiPage.js", /*require.resolve*/(38320)], 30725 "4aaf5838": [() => Promise.all(/* import() | 4aaf5838 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(3973)]).then(__webpack_require__.bind(__webpack_require__, 94268)), "@site/docs/features/extensibility.mdx", /*require.resolve*/(94268)], 30726 "4de0c4a5": [() => Promise.all(/* import() | 4de0c4a5 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7935)]).then(__webpack_require__.bind(__webpack_require__, 61250)), "@site/docs/advanced/01-general-reference/protocols/workspace.mdx", /*require.resolve*/(61250)], 30727 "4df4a8d2": [() => Promise.all(/* import() | 4df4a8d2 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9180)]).then(__webpack_require__.bind(__webpack_require__, 33674)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/whoami.mdx", /*require.resolve*/(33674)], 30728 "53b3c14b": [() => Promise.all(/* import() | 53b3c14b */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(8)]).then(__webpack_require__.bind(__webpack_require__, 52405)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/set/version.mdx", /*require.resolve*/(52405)], 30729 "5472480d": [() => __webpack_require__.e(/* import() | 5472480d */ 5515).then(__webpack_require__.t.bind(__webpack_require__, 48392, 19)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-typedoc-api/default/version-current.json", /*require.resolve*/(48392)], 30730 "54f6e70d": [() => __webpack_require__.e(/* import() | 54f6e70d */ 6020).then(__webpack_require__.bind(__webpack_require__, 30729)), "@site/blog/2021-07-26-release-3.0.mdx?truncated=true", /*require.resolve*/(30729)], 30731 "5667315b": [() => Promise.all(/* import() | 5667315b */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(6994)]).then(__webpack_require__.bind(__webpack_require__, 76561)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/config/get.mdx", /*require.resolve*/(76561)], 30732 "57794b22": [() => __webpack_require__.e(/* import() | 57794b22 */ 2545).then(__webpack_require__.bind(__webpack_require__, 88272)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/pnpify.mdx", /*require.resolve*/(88272)], 30733 "587e76c5": [() => Promise.all(/* import() | 587e76c5 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7451)]).then(__webpack_require__.bind(__webpack_require__, 20056)), "/opt/build/repo/packages/plugin-npm-cli/README.md", /*require.resolve*/(20056)], 30734 "596fcbbd": [() => Promise.all(/* import() | 596fcbbd */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(5944)]).then(__webpack_require__.bind(__webpack_require__, 47246)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/version/apply.mdx", /*require.resolve*/(47246)], 30735 "5a68d4bf": [() => Promise.all(/* import() | 5a68d4bf */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(5723)]).then(__webpack_require__.bind(__webpack_require__, 4633)), "@site/docs/features/release-workflow.mdx", /*require.resolve*/(4633)], 30736 "5bbf72cd": [() => Promise.all(/* import() | 5bbf72cd */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(4716)]).then(__webpack_require__.bind(__webpack_require__, 48169)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/node.mdx", /*require.resolve*/(48169)], 30737 "5c25eb38": [() => Promise.all(/* import() | 5c25eb38 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(1744)]).then(__webpack_require__.bind(__webpack_require__, 55037)), "@site/docs/features/constraints.mdx", /*require.resolve*/(55037)], 30738 "5c96c017": [() => __webpack_require__.e(/* import() | 5c96c017 */ 5239).then(__webpack_require__.t.bind(__webpack_require__, 2531, 23)), "/opt/build/repo/.yarn/__virtual__/docusaurus-plugin-typedoc-api-virtual-6ef0a7cc57/0/cache/docusaurus-plugin-typedoc-api-patch-05bcbb177c-29e119111e.zip/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiIndex.js", /*require.resolve*/(2531)], 30739 "5e95c892": [() => __webpack_require__.e(/* import() | 5e95c892 */ 9647).then(__webpack_require__.bind(__webpack_require__, 50871)), "@theme/DocsRoot", /*require.resolve*/(50871)], 30740 "5e9f5e1a": [() => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 4784)), "@generated/docusaurus.config", /*require.resolve*/(4784)], 30741 "5f20183a": [() => Promise.all(/* import() | 5f20183a */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(6879)]).then(__webpack_require__.bind(__webpack_require__, 5927)), "/opt/build/repo/packages/yarnpkg-extensions/README.md", /*require.resolve*/(5927)], 30742 "5fe30c64": [() => __webpack_require__.e(/* import() | 5fe30c64 */ 8071).then(__webpack_require__.bind(__webpack_require__, 40800)), "/opt/build/repo/packages/plugin-file/README.md", /*require.resolve*/(40800)], 30743 "60c73b50": [() => __webpack_require__.e(/* import() | 60c73b50 */ 5663).then(__webpack_require__.t.bind(__webpack_require__, 782, 19)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-typedoc-api/default/options.json", /*require.resolve*/(782)], 30744 "621c9c6a": [() => Promise.all(/* import() | 621c9c6a */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(236)]).then(__webpack_require__.bind(__webpack_require__, 35032)), "@site/docs/getting-started/basics/install.mdx", /*require.resolve*/(35032)], 30745 "621db11d": [() => Promise.all(/* import() | 621db11d */[__webpack_require__.e(1869), __webpack_require__.e(3753), __webpack_require__.e(4212)]).then(__webpack_require__.bind(__webpack_require__, 69738)), "@theme/Blog/Pages/BlogAuthorsListPage", /*require.resolve*/(69738)], 30746 "6234de52": [() => Promise.all(/* import() | 6234de52 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7526)]).then(__webpack_require__.bind(__webpack_require__, 9706)), "/opt/build/repo/packages/yarnpkg-builder/README.md", /*require.resolve*/(9706)], 30747 "62a01cf4": [() => Promise.all(/* import() | 62a01cf4 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1286)]).then(__webpack_require__.bind(__webpack_require__, 29432)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/constraints/query.mdx", /*require.resolve*/(29432)], 30748 "62de6cdc": [() => Promise.all(/* import() | 62de6cdc */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(3308)]).then(__webpack_require__.bind(__webpack_require__, 768)), "/opt/build/repo/packages/plugin-stage/README.md", /*require.resolve*/(768)], 30749 "6810147d": [() => Promise.all(/* import() | 6810147d */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(9188)]).then(__webpack_require__.bind(__webpack_require__, 16537)), "@site/docs/features/security.mdx", /*require.resolve*/(16537)], 30750 "69dd49b1": [() => Promise.all(/* import() | 69dd49b1 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(606)]).then(__webpack_require__.bind(__webpack_require__, 39638)), "@site/docs/advanced/04-technical/changelog.mdx", /*require.resolve*/(39638)], 30751 "6a3bacbf": [() => Promise.all(/* import() | 6a3bacbf */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7847)]).then(__webpack_require__.bind(__webpack_require__, 80379)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/stage/reject.mdx", /*require.resolve*/(80379)], 30752 "6d19ca14": [() => Promise.all(/* import() | 6d19ca14 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9928)]).then(__webpack_require__.bind(__webpack_require__, 82199)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/config/set.mdx", /*require.resolve*/(82199)], 30753 "6e719b2a": [() => __webpack_require__.e(/* import() | 6e719b2a */ 1650).then(__webpack_require__.t.bind(__webpack_require__, 52521, 19)), "@generated/docusaurus-plugin-typedoc-api/default/__plugin.json", /*require.resolve*/(52521)], 30754 "6efa387c": [() => Promise.all(/* import() | 6efa387c */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1896)]).then(__webpack_require__.bind(__webpack_require__, 62813)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/unplug.mdx", /*require.resolve*/(62813)], 30755 "6f4c6331": [() => Promise.all(/* import() | 6f4c6331 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9073)]).then(__webpack_require__.bind(__webpack_require__, 22114)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/pack.mdx", /*require.resolve*/(22114)], 30756 "6f6234ae": [() => Promise.all(/* import() | 6f6234ae */[__webpack_require__.e(1869), __webpack_require__.e(3652), __webpack_require__.e(3296), __webpack_require__.e(8617), __webpack_require__.e(6888)]).then(__webpack_require__.bind(__webpack_require__, 86115)), "@site/src/pages/package.tsx", /*require.resolve*/(86115)], 30757 "7001e22c": [() => Promise.all(/* import() | 7001e22c */[__webpack_require__.e(1869), __webpack_require__.e(439)]).then(__webpack_require__.bind(__webpack_require__, 43526)), "@site/docs/advanced/03-pnp/pnp-api.mdx", /*require.resolve*/(43526
30757)], 30758 "74a8e735": [() => __webpack_require__.e(/* import() | 74a8e735 */ 9933).then(__webpack_require__.bind(__webpack_require__, 88874)), "/opt/build/repo/packages/plugin-http/README.md", /*require.resolve*/(88874)], 30759 "75ce66f9": [() => Promise.all(/* import() | 75ce66f9 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(6292)]).then(__webpack_require__.bind(__webpack_require__, 25840)), "/opt/build/repo/packages/plugin-patch/README.md", /*require.resolve*/(25840)], 30760 "787d9c60": [() => Promise.all(/* import() | 787d9c60 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(8149)]).then(__webpack_require__.bind(__webpack_require__, 1676)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/builder/new/plugin.mdx", /*require.resolve*/(1676)], 30761 "78893e8c": [() => Promise.all(/* import() | 78893e8c */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(9564)]).then(__webpack_require__.bind(__webpack_require__, 37526)), "@site/blog/2022-02-21-release-3.2.mdx", /*require.resolve*/(37526)], 30762 "7b1bc378": [() => Promise.all(/* import() | 7b1bc378 */[__webpack_require__.e(1869), __webpack_require__.e(7406)]).then(__webpack_require__.bind(__webpack_require__, 93002)), "@site/docs/features/install-modes.mdx", /*require.resolve*/(93002)], 30763 "7d445e99": [() => Promise.all(/* import() | 7d445e99 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(5950)]).then(__webpack_require__.bind(__webpack_require__, 83903)), "@site/blog/2021-09-25-release-3.1.mdx", /*require.resolve*/(83903)], 30764 "7dc3369e": [() => Promise.all(/* import() | 7dc3369e */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(890)]).then(__webpack_require__.bind(__webpack_require__, 35235)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/plugin/import/from/sources.mdx", /*require.resolve*/(35235)], 30765 "7e0a8be8": [() => Promise.all(/* import() | 7e0a8be8 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9567)]).then(__webpack_require__.bind(__webpack_require__, 59056)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/run.mdx", /*require.resolve*/(59056)], 30766 "80dd6352": [() => Promise.all(/* import() | 80dd6352 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9499)]).then(__webpack_require__.bind(__webpack_require__, 84201)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/up.mdx", /*require.resolve*/(84201)], 30767 "814f3328": [() => __webpack_require__.e(/* import() | 814f3328 */ 7472).then(__webpack_require__.t.bind(__webpack_require__, 55513, 19)), "~blog/default/blog-post-list-prop-default.json", /*require.resolve*/(55513)], 30768 "824ea721": [() => Promise.all(/* import() | 824ea721 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(5311)]).then(__webpack_require__.bind(__webpack_require__, 47526)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/set/resolution.mdx", /*require.resolve*/(47526)], 30769 "82bcd523": [() => Promise.all(/* import() | 82bcd523 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(924)]).then(__webpack_require__.bind(__webpack_require__, 11796)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/constraints/source.mdx", /*require.resolve*/(11796)], 30770 "83703268": [() => __webpack_require__.e(/* import() | 83703268 */ 8040).then(__webpack_require__.bind(__webpack_require__, 98666)), "/opt/build/repo/packages/plugin-dlx/README.md", /*require.resolve*/(98666)], 30771 "891e04e4": [() => Promise.all(/* import() | 891e04e4 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(2243)]).then(__webpack_require__.bind(__webpack_require__, 5935)), "@site/docs/features/workspaces.mdx", /*require.resolve*/(5935)], 30772 "8a65c4e0": [() => Promise.all(/* import() | 8a65c4e0 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(6523)]).then(__webpack_require__.bind(__webpack_require__, 6397)), "/opt/build/repo/packages/plugin-
30772pack/README.md", /*require.resolve*/(6397)], 30773 "8c483f12": [() => Promise.all(/* import() | 8c483f12 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7958)]).then(__webpack_require__.bind(__webpack_require__, 65829)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/config/unset.mdx", /*require.resolve*/(65829)], 30774 "8d3ff3c8": [() => Promise.all(/* import() | 8d3ff3c8 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(4416)]).then(__webpack_require__.bind(__webpack_require__, 60314)), "@site/docs/advanced/01-general-reference/protocols/link.mdx", /*require.resolve*/(60314)], 30775 "8e4fe3cb": [() => Promise.all(/* import() | 8e4fe3cb */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8415)]).then(__webpack_require__.bind(__webpack_require__, 7332)), "@site/docs/advanced/02-package-management/rulebook.mdx", /*require.resolve*/(7332)], 30776 "8f8d8ac6": [() => Promise.all(/* import() | 8f8d8ac6 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3891)]).then(__webpack_require__.bind(__webpack_require__, 95367)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/patch-commit.mdx", /*require.resolve*/(95367)], 30777 "903cd7cd": [() => Promise.all(/* import() | 903cd7cd */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8472)]).then(__webpack_require__.bind(__webpack_require__, 91040)), "@site/docs/advanced/01-general-reference/protocols/git.mdx", /*require.resolve*/(91040)], 30778 "93d9f085": [() => Promise.all(/* import() | 93d9f085 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(6157)]).then(__webpack_require__.bind(__webpack_require__, 36267)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/tag/add.mdx", /*require.resolve*/(36267)], 30779 "940d7bf2": [() => Promise.all(/* import() | 940d7bf2 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(2279)]).then(__webpack_require__.bind(__webpack_require__, 47640)), "@site/docs/advanced/04-technical/telemetry.mdx", /*require.resolve*/(47640)], 30780 "945bd838": [() => Promise.all(/* import() | 945bd838 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7768)]).then(__webpack_require__.bind(__webpack_require__, 37216)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/stage.mdx", /*require.resolve*/(37216)], 30781 "949b5d39": [() => Promise.all(/* import() | 949b5d39 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2818)]).then(__webpack_require__.bind(__webpack_require__, 91225)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/dlx.mdx", /*require.resolve*/(91225)], 30782 "94c5f0b7": [() => __webpack_require__.e(/* import() | 94c5f0b7 */ 495).then(__webpack_require__.bind(__webpack_require__, 9729)), "/opt/build/repo/packages/yarnpkg-fslib/README.md", /*require.resolve*/(9729)], 30783 "962f29ac": [() => Promise.all(/* import() | 962f29ac */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8169)]).then(__webpack_require__.bind(__webpack_require__, 65152)), "@site/docs/getting-started/extra/recipes.mdx", /*require.resolve*/(65152)], 30784 "990e2dba": [() => Promise.all(/* import() | 990e2dba */[__webpack_require__.e(1869), __webpack_require__.e(3445)]).then(__webpack_require__.bind(__webpack_require__, 72660)), "@site/docs/features/performances.mdx", /*require.resolve*/(72660)], 30785 "9cbdfc01": [() => Promise.all(/* import() | 9cbdfc01 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(4053)]).then(__webpack_require__.bind(__webpack_require__, 24713)), "/opt/build/repo/packages/plugin-essentials/README.md", /*require.resolve*/(24713)], 30786 "9e4087bc": [() => __webpack_require__.e(/* import() | 9e4087bc */ 2711).then(__webpack_require__.bind(__webpack_require__, 74649)), "@theme/BlogArchivePage", /*require.resolve*/(74649)], 30787 "a1b53aff": [() => Promise.all(/* import() | a1b53aff */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9258)]).then(__webpack_require__.bind(__webpack_require__, 41328)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/info.mdx", /*require.resolve*/(41328)], 30788 "a3c2e4ad": [() => __webpack_require__.e(/* import() | a3c2e4ad */ 2812).then(__webpack_require__.bind(__webpack_require__, 96758)), "/opt/build/repo/packages/plugin-version/README.md", /*require.resolve*/(96758)], 30789 "a464dc28": [() => __webpack_require__.e(/* import() | a464dc28 */ 3659).then(__webpack_require__.bind(__webpack_require__, 10032)), "@site/blog/2020-09-02-release-2.3.mdx?truncated=true", /*require.resolve*/(10032)], 30790 "a60b283f": [() => __webpack_require__.e(/* import() | a60b283f */ 7821).then(__webpack_require__.bind(__webpack_require__, 45127)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli.mdx", /*require.resolve*/(45127)], 30791 "a6aa9e1f": [() => Promise.all(/* import() | a6aa9e1f */[__webpack_require__.e(1869), __webpack_require__.e(8629), __webpack_require__.e(1577), __webpack_require__.e(3753), __webpack_require__.e(2682), __webpack_require__.e(7643)]).then(__webpack_require__.bind(__webpack_require__, 16680)), "@theme/BlogListPage", /*require.resolve*/(16680)], 30792 "a7456010": [() => __webpack_require__.e(/* import() | a7456010 */ 1235).then(__webpack_require__.t.bind(__webpack_require__, 88552, 19)), "@generated/docusaurus-plugin-content-pages/default/__plugin.json", /*require.resolve*/(88552)], 30793 "a7bd4aaa": [() => __webpack_require__.e(/* import() | a7bd4aaa */ 7098).then(__webpack_require__.bind(__webpack_require__, 20810)), "@theme/DocVersionRoot", /*require.resolve*/(20810)], 30794 "a92f9aee": [() => __webpack_require__.e(/* import() | a92f9aee */ 21).then(__webpack_require__.t.bind(__webpack_require__, 81005, 19)), "@generated/docusaurus-plugin-yarn-cli-docs/default/__plugin.json", /*require.resolve*/(81005)], 30795 "a94703ab": [() => Promise.all(/* import() | a94703ab */[__webpack_require__.e(1869), __webpack_require__.e(3652), __webpack_require__.e(9048)]).then(__webpack_require__.bind(__webpack_require__, 90174)), "@theme/DocRoot", /*require.resolve*/(90174)], 30796 "ab54fdbd": [() => Promise.all(/* import() | ab54fdbd */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1949)]).then(__webpack_require__.bind(__webpack_require__, 66625)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/bin.mdx", /*require.resolve*/(66625)], 30797 "aba21aa0": [() => __webpack_require__.e(/* import() | aba21aa0 */ 5742).then(__webpack_require__.t.bind(__webpack_require__, 27093, 19)), "@generated/docusaurus-plugin-content-docs/default/__plugin.json", /*require.resolve*/(27093)], 30798 "acecf23e": [() => __webpack_require__.e(/* import() | acecf23e */ 1903).then(__webpack_require__.t.bind(__webpack_require__, 1912, 19)), "~blog/default/blogMetadata-default.json", /*require.resolve*/(1912)], 30799 "ad52f81c": [() => __webpack_require__.e(/* import() | ad52f81c */ 963).then(__webpack_require__.bind(__webpack_require__, 69328)), "@site/docs/getting-started/basics/intro.mdx", /*require.resolve*/(69328)], 30800 "ae21f9e8": [() => Promise.all(/* import() | ae21f9e8 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(4378)]).then(__webpack_require__.bind(__webpack_require__, 97379)), "@site/docs/features/plugnplay.mdx", /*require.resolve*/(97379)], 30801 "aef901ed": [() => Promise.all(/* import() | aef901ed */[__webpack_require__.e(1869), __webpack_require__.e(3296), __webpack_require__.e(4663), __webpack_require__.e(4188)]).then(__webpack_require__.bind(__webpack_require__, 74522)), "@site/src/pages/search.tsx", /*require.resolve*/(74522)], 30802 "b292d286": [() => Promise.all(/* import() | b292d286 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(1198)]).then(__webpack_require__.bind(__webpack_require__, 96684)), "@site/docs/getting-started/extra/questions-and-answers.mdx", /*require.resolve*/(96684)], 30803 "b329f2e6": [() => __webpack_require__.e(/* import() | b329f2e6 */ 3304).then(__webpack_require__.bind(__webpack_require__, 25522)), "/opt/build/repo/packages/plugin-git/README.md", /*require.resolve*/(25522)], 30804 "b61c1487": [() => __webpack_require__.e(/* import() | b61c1487 */ 8451).then(__webpack_require__.t.bind(__webpack_require__, 88858, 19)), "@generated/docusaurus-plugin-content-docs/default/p/protocols-0dc.json", /*require.resolve*/(88858)], 30805 "b95c2265": [() => Promise.all(/* import() | b95c2265 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(5411)]).then(__webpack_require__.bind(__webpack_require__, 42313)), "@site/blog/2020-07-09-release-2.1.mdx?truncated=true", /*require.resolve*/(42313)
30805], 30806 "bbdc687c": [() => Promise.all(/* import() | bbdc687c */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3384)]).then(__webpack_require__.bind(__webpack_require__, 11325)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/set/version/from/sources.mdx", /*require.resolve*/(11325)], 30807 "bc33cf14": [() => Promise.all(/* import() | bc33cf14 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2544)]).then(__webpack_require__.bind(__webpack_require__, 22039)), "@site/blog/2023-10-23-release-4.0.mdx", /*require.resolve*/(22039)], 30808 "bc3e3a2e": [() => Promise.all(/* import() | bc3e3a2e */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(689)]).then(__webpack_require__.bind(__webpack_require__, 16413)), "@site/docs/getting-started/extra/corepack.mdx", /*require.resolve*/(16413)], 30809 "bdefea8b": [() => Promise.all(/* import() | bdefea8b */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2848)]).then(__webpack_require__.bind(__webpack_require__, 8368)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/init.mdx", /*require.resolve*/(8368)], 30810 "bf9a8463": [() => __webpack_require__.e(/* import() | bf9a8463 */ 5416).then(__webpack_require__.bind(__webpack_require__, 2127)), "@site/blog/2020-11-30-release-2.4.mdx?truncated=true", /*require.resolve*/(2127)], 30811 "c141421f": [() => __webpack_require__.e(/* import() | c141421f */ 957).then(__webpack_require__.t.bind(__webpack_require__, 40936, 19)), "@generated/docusaurus-theme-search-algolia/default/__plugin.json", /*require.resolve*/(40936)], 30812 "c15d9823": [() => __webpack_require__.e(/* import() | c15d9823 */ 8146).then(__webpack_require__.t.bind(__webpack_require__, 29328, 19)), "@generated/docusaurus-plugin-content-blog/default/p/blog-bd9.json", /*require.resolve*/(29328)], 30813 "c16549bc": [() => Promise.all(/* import() | c16549bc */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2044)]).then(__webpack_require__.bind(__webpack_require__, 64625)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/plugin/import.mdx", /*require.resolve*/(64625)], 30814 "c257ab54": [() => Promise.all(/* import() | c257ab54 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(8910)]).then(__webpack_require__.bind(__webpack_require__, 98881)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/explain.mdx", /*require.resolve*/(98881)], 30815 "c2652927": [() => Promise.all(/* import() | c2652927 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3549)]).then(__webpack_require__.bind(__webpack_require__, 49402)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/stage/approve.mdx", /*require.resolve*/(49402)], 30816 "c26cdc2c": [() => __webpack_require__.e(/* import() | c26cdc2c */ 3547).then(__webpack_require__.bind(__webpack_require__, 44533)), "/opt/build/repo/packages/yarnpkg-shell/README.md", /*require.resolve*/(44533)], 30817 "c2749928": [() => Promise.all(/* import() | c2749928 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7925)]).then(__webpack_require__.bind(__webpack_require__, 13441)), "@site/docs/getting-started/extra/editor-sdks.mdx", /*require.resolve*/(13441)], 30818 "c4b7f617": [() => Promise.all(/* import() | c4b7f617 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7371)]).then(__webpack_require__.bind(__webpack_require__, 3694)), "@site/blog/2020-08-28-release-2.2.mdx?truncated=true", /*require.resolve*/(3694)], 30819 "c4f2e933": [() => Promise.all(/* import() | c4f2e933 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(1838)]).then(__webpack_require__.bind(__webpack_require__, 67866)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/workspaces
30819/focus.mdx", /*require.resolve*/(67866)], 30820 "c6b1b2ae": [() => Promise.all(/* import() | c6b1b2ae */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3517)]).then(__webpack_require__.bind(__webpack_require__, 1265)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/workspace.mdx", /*require.resolve*/(1265)], 30821 "c90b422a": [() => Promise.all(/* import() | c90b422a */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(3044)]).then(__webpack_require__.bind(__webpack_require__, 48419)), "@site/docs/getting-started/basics/usage.mdx", /*require.resolve*/(48419)], 30822 "c95c8198": [() => __webpack_require__.e(/* import() | c95c8198 */ 1369).then(__webpack_require__.bind(__webpack_require__, 30865)), "@site/blog/2021-09-25-release-3.1.mdx?truncated=true", /*require.resolve*/(30865)], 30823 "ccc49370": [() => Promise.all(/* import() | ccc49370 */[__webpack_require__.e(1869), __webpack_require__.e(8629), __webpack_require__.e(1577), __webpack_require__.e(3753), __webpack_require__.e(2682), __webpack_require__.e(3249)]).then(__webpack_require__.bind(__webpack_require__, 9887)), "@theme/BlogPostPage", /*require.resolve*/(9887)], 30824 "cd732e92": [() => Promise.all(/* import() | cd732e92 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(4262)]).then(__webpack_require__.bind(__webpack_require__, 63645)), "@site/docs/advanced/01-general-reference/protocols/patch.mdx", /*require.resolve*/(63645)], 30825 "cdd0f855": [() => __webpack_require__.e(/* import() | cdd0f855 */ 9938).then(__webpack_require__.bind(__webpack_require__, 36222)), "/opt/build/repo/packages/plugin-constraints/README.md", /*require.resolve*/(36222)], 30826 "cee694fb": [() => __webpack_require__.e(/* import() | cee694fb */ 9473).then(__webpack_require__.bind(__webpack_require__, 99338)), "/opt/build/repo/packages/plugin-link/README.md", /*require.resolve*/(99338)], 30827 "d0596857": [() => Promise.all(/* import() | d0596857 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3203)]).then(__webpack_require__.bind(__webpack_require__, 76310)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/version.mdx", /*require.resolve*/(76310)], 30828 "d1ea1f23": [() => __webpack_require__.e(/* import() | d1ea1f23 */ 60).then(__webpack_require__.bind(__webpack_require__, 73840)), "@site/blog/2023-08-20-bun.mdx", /*require.resolve*/(73840)], 30829 "d3f34caf": [() => Promise.all(/* import() | d3f34caf */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__, 50093)), "@site/blog/2020-11-30-release-2.4.mdx", /*require.resolve*/(50093)], 30830 "d40b1310": [() => Promise.all(/* import() | d40b1310 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7142)]).then(__webpack_require__.bind(__webpack_require__, 82609)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/constraints.mdx", /*require.resolve*/(82609)], 30831 "d4beda61": [() => Promise.all(/* import() | d4beda61 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(8130)]).then(__webpack_require__.bind(__webpack_require__, 28402)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/sdks/default.mdx", /*require.resolve*/(28402)], 30832 "d65512d1": [() => Promise.all(/* import() | d65512d1 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(2607)]).then(__webpack_require__.bind(__webpack_require__, 56011)), "@site/docs/advanced/04-technical/architecture.mdx", /*require.resolve*/(56011)], 30833 "d7ffd609": [() => Promise.all(/* import() | d7ffd609 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8771)]).then(__webpack_require__.bind(__webpack_require__, 81031)), "/opt/build/repo/packages/plugin-workspace-tools/README.md", /*require.resolve*/(81031)], 30834 "d86bc1a1": [() => __webpack_require__.e(/* import() | d86bc1a1 */ 8065).then(__webpack_require__.bind(__webpack_require__, 41173)), "/opt/build/repo/packages/plugin-
30834pnpm/README.md", /*require.resolve*/(41173)], 30835 "dae64517": [() => Promise.all(/* import() | dae64517 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2854)]).then(__webpack_require__.bind(__webpack_require__, 68048)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/remove.mdx", /*require.resolve*/(68048)], 30836 "db7d091d": [() => Promise.all(/* import() | db7d091d */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(2898)]).then(__webpack_require__.bind(__webpack_require__, 83299)), "@site/docs/features/patching.mdx", /*require.resolve*/(83299)], 30837 "dbc9220c": [() => Promise.all(/* import() | dbc9220c */[__webpack_require__.e(9617), __webpack_require__.e(3762)]).then(__webpack_require__.bind(__webpack_require__, 1029)), "@site/docs/configuration/yarnrc.mdx", /*require.resolve*/(1029)], 30838 "dc33aa4b": [() => Promise.all(/* import() | dc33aa4b */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(514)]).then(__webpack_require__.bind(__webpack_require__, 95945)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/config.mdx", /*require.resolve*/(95945)], 30839 "ddcee8b0": [() => Promise.all(/* import() | ddcee8b0 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(2366)]).then(__webpack_require__.bind(__webpack_require__, 64790)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/stage/list.mdx", /*require.resolve*/(64790)], 30840 "de639886": [() => Promise.all(/* import() | de639886 */[__webpack_require__.e(1869), __webpack_require__.e(8629), __webpack_require__.e(1577), __webpack_require__.e(7439), __webpack_require__.e(3482)]).then(__webpack_require__.bind(__webpack_require__, 50116)), "/opt/build/repo/.yarn/__virtual__/docusaurus-plugin-typedoc-api-virtual-6ef0a7cc57/0/cache/docusaurus-plugin-typedoc-api-patch-05bcbb177c-29e119111e.zip/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiItem.js", /*require.resolve*/(50116)], 30841 "df318e5a": [() => Promise.all(/* import() | df318e5a */[__webpack_require__.e(1869), __webpack_require__.e(8629), __webpack_require__.e(2542)]).then(__webpack_require__.bind(__webpack_require__, 16810)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/workspaces/list.mdx", /*require.resolve*/(16810)], 30842 "e207c6bd": [() => Promise.all(/* import() | e207c6bd */[__webpack_require__.e(1869), __webpack_require__.e(2712)]).then(__webpack_require__.bind(__webpack_require__, 77047)), "@site/blog/2021-07-26-release-3.0.mdx", /*require.resolve*/(77047)], 30843 "e33df3de": [() => Promise.all(/* import() | e33df3de */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9690)]).then(__webpack_require__.bind(__webpack_require__, 7561)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/cache/clean.mdx", /*require.resolve*/(7561)], 30844 "e5fae776": [() => __webpack_require__.e(/* import() | e5fae776 */ 8625).then(__webpack_require__.bind(__webpack_require__, 85959)), "/opt/build/repo/packages/yarnpkg-libzip/README.md", /*require.resolve*/(85959)], 30845 "e65302ad": [() => Promise.all(/* import() | e65302ad */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(9995)]).then(__webpack_require__.bind(__webpack_require__, 68896)), "@site/docs/features/caching.mdx", /*require.resolve*/(68896)], 30846 "e73e6934": [() => Promise.all(/* import() | e73e6934 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(3493)]).then(__webpack_require__.bind(__webpack_require__, 85835)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/pnpify/run.mdx", /*require.resolve*/(85835)], 30847 "e74a929f": [() => Promise.all(/* import() | e74a929f */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(7498)]).then(__webpack_require__.bind(__webpack_require__, 59527)), "@site/blog/2020-01-24-release-2.0.mdx", /*require.resolve*/(59527)], 30848 "ec76e2eb": [() => Promise.all(/* import() | ec76e2eb */[__webpack_require__.e(1869), __webpack_require__.e(7808)]).then(__webpack_require__.bind(__webpack_require__, 25631)), "@site/docs/advanced/01-general-reference/lexicon.mdx", /*require.resolve*/(25631)], 30849 "ec7ce60b": [() => Promise.all(/* import() | ec7ce60b */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(3934)]).then(__webpack_require__.bind(__webpack_require__, 56616)), "@site/docs/advanced/01-general-reference/protocols/jsr.mdx", /*require.resolve*/(56616)], 30850 "ed6d5040": [() => Promise.all(/* import() | ed6d5040 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(1549)]).then(__webpack_require__.bind(__webpack_require__, 66504)), "@site/docs/advanced/01-general-reference/protocols/portal.mdx", /*require.resolve*/(66504)], 30851 "ef8b811a": [() => __webpack_require__.e(/* import() | ef8b811a */ 8947).then(__webpack_require__.t.bind(__webpack_require__, 56600, 19)), "@generated/docusaurus-plugin-content-blog/default/p/blog-authors-790.json", /*require.resolve*/(56600)], 30852 "efafcee6": [() => __webpack_require__.e(/* import() | efafcee6 */ 6670).then(__webpack_require__.bind(__webpack_require__, 87386)), "@site/blog/2022-02-21-release-3.2.mdx?truncated=true", /*require.resolve*/(87386)], 30853 "f03a5ef9": [() => Promise.all(/* import() | f03a5ef9 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(5848)]).then(__webpack_require__.bind(__webpack_require__, 75676)), "@site/docs/advanced/03-pnp/pnp-spec.mdx", /*require.resolve*/(75676)], 30854 "f0d03982": [() => Promise.all(/* import() | f0d03982 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(9775)]).then(__webpack_require__.bind(__webpack_require__, 89745)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/audit.mdx", /*require.resolve*/(89745)], 30855 "f1534b39": [() => Promise.all(/* import() | f1534b39 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(4702)]).then(__webpack_require__.bind(__webpack_require__, 24026)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/builder/build/plugin.mdx", /*require.resolve*/(24026)], 30856 "f1dc6c41": [() => Promise.all(/* import() | f1dc6c41 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(6231)]).then(__webpack_require__.bind(__webpack_require__, 67444)), "@site/blog/2020-09-02-release-2.3.mdx", /*require.resolve*/(67444)], 30857 "f2409788": [() => Promise.all(/* import() | f2409788 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(8299)]).then(__webpack_require__.bind(__webpack_require__, 35328)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/logout.mdx", /*require.resolve*/(35328)], 30858 "f31791bf": [() => __webpack_require__.e(/* import() | f31791bf */ 9708).then(__webpack_require__.bind(__webpack_require__, 38453)), "/opt/build/repo/packages/plugin-exec/README.md", /*require.resolve*/(38453)], 30859 "f37505ed": [() => __webpack_require__.e(/* import() | f37505ed */ 1336).then(__webpack_require__.bind(__webpack_require__, 8921)), "/opt/build/repo/packages/plugin-nm/README.md", /*require.resolve*/(8921)], 30860 "f613ef2c": [() => Promise.all(/* import() | f613ef2c */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(511
308605)]).then(__webpack_require__.bind(__webpack_require__, 40319)), "@site/docs/getting-started/migrating/pnp.mdx", /*require.resolve*/(40319)], 30861 "f81c1134": [() => __webpack_require__.e(/* import() | f81c1134 */ 5749).then(__webpack_require__.t.bind(__webpack_require__, 77735, 19)), "@generated/docusaurus-plugin-content-blog/default/p/blog-archive-f05.json", /*require.resolve*/(77735)], 30862 "f86e26fc": [() => __webpack_require__.e(/* import() | f86e26fc */ 2347).then(__webpack_require__.bind(__webpack_require__, 89620)), "/opt/build/repo/packages/plugin-compat/README.md", /*require.resolve*/(89620)], 30863 "f8ab9aba": [() => Promise.all(/* import() | f8ab9aba */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(5585)]).then(__webpack_require__.bind(__webpack_require__, 51381)), "/opt/build/repo/packages/yarnpkg-pnpify/README.md", /*require.resolve*/(51381)], 30864 "f9589a55": [() => Promise.all(/* import() | f9589a55 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(7443)]).then(__webpack_require__.bind(__webpack_require__, 13762)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/npm/login.mdx", /*require.resolve*/(13762)], 30865 "fa6123b2": [() => Promise.all(/* import() | fa6123b2 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(8629), __webpack_require__.e(390)]).then(__webpack_require__.bind(__webpack_require__, 23259)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/builder/build/bundle.mdx", /*require.resolve*/(23259)], 30866 "fb15be37": [() => Promise.all(/* import() | fb15be37 */[__webpack_require__.e(9617), __webpack_require__.e(4872)]).then(__webpack_require__.bind(__webpack_require__, 42517)), "@site/docs/configuration/manifest.mdx", /*require.resolve*/(42517)], 30867 "fb547bc4": [() => __webpack_require__.e(/* import() | fb547bc4 */ 2030).then(__webpack_require__.bind(__webpack_require__, 54247)), "/opt/build/repo/packages/docusaurus/.docusaurus/docusaurus-plugin-yarn-cli-docs/default/cli/builder.mdx", /*require.resolve*/(54247)], 30868 "fbbdf1a5": [() => Promise.all(/* import() | fbbdf1a5 */[__webpack_require__.e(1869), __webpack_require__.e(9099), __webpack_require__.e(400)]).then(__webpack_require__.bind(__webpack_require__, 30321)), "@site/docs/getting-started/migrating/steps.mdx", /*require.resolve*/(30321)] 30869}); 30870 30871;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/theme-fallback/Loading/index.js 30872 30873function Loading({ error, retry, pastDelay }) { 30874 if (error) { 30875 return /* @__PURE__ */ (0,jsx_runtime.jsxs)("div", { 30876 style: { 30877 textAlign: "center", 30878 color: "#fff", 30879 backgroundColor: "#fa383e", 30880 borderColor: "#fa383e", 30881 borderStyle: "solid", 30882 borderRadius: "0.25rem", 30883 borderWidth: "1px", 30884 boxSizing: "border-box", 30885 display: "block", 30886 padding: "1rem", 30887 flex: "0 0 50%", 30888 marginLeft: "25%", 30889 marginRight: "25%", 30890 marginTop: "5rem", 30891 maxWidth: "50%", 30892 width: "100%" 30893 }, 30894 children: [
30895 /* @__PURE__ */ (0,jsx_runtime.jsx)("p", { 30896 children: String(error) 30897 }), 30898 /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 30899 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("button", { 30900 type: "button", 30901 onClick: retry, 30902 children: "Retry" 30903 }) 30904 }) 30905 ] 30906 }); 30907 } 30908 if (pastDelay) { 30909 return /* @__PURE__ */ (0,jsx_runtime.jsx)("div", { 30910 style: { 30911 display: "flex", 30912 justifyContent: "center", 30913 alignItems: "center", 30914 height: "100vh" 30915 }, 30916 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("svg", { 30917 id: "loader", 30918 style: { 30919 width: 128, 30920 height: 110, 30921 position: "absolute", 30922 top: "calc(100vh - 64%)" 30923 }, 30924 viewBox: "0 0 45 45", 30925 xmlns: "http://www.w3.org/2000/svg", 30926 stroke: "#61dafb", 30927 children: /* @__PURE__ */ (0,jsx_runtime.jsxs)("g", { 30928 fill: "none", 30929 fillRule: "evenodd", 30930 transform: "translate(1 1)", 30931 strokeWidth: "2", 30932 children: [
30933 /* @__PURE__ */ (0,jsx_runtime.jsxs)("circle", { 30934 cx: "22", 30935 cy: "22", 30936 r: "6", 30937 strokeOpacity: "0", 30938 children: [ 30939 /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 30940 attributeName: "r", 30941 begin: "1.5s", 30942 dur: "3s", 30943 values: "6;22", 30944 calcMode: "linear", 30945 repeatCount: "indefinite" 30946 }), 30947 /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 30948 attributeName: "stroke-opacity", 30949 begin: "1.5s", 30950 dur: "3s", 30951 values: "1;0", 30952 calcMode: "linear", 30953 repeatCount: "indefinite" 30954 }), 30955 /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 30956 attributeName: "stroke-width", 30957 begin: "1.5s", 30958 dur: "3s", 30959 values: "2;0", 30960 calcMode: "linear", 30961 repeatCount: "indefinite" 30962 }) 30963 ] 30964 }),
30965 /* @__PURE__ */ (0,jsx_runtime.jsxs)("circle", { 30966 cx: "22", 30967 cy: "22", 30968 r: "6", 30969 strokeOpacity: "0", 30970 children: [ 30971 /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 30972 attributeName: "r", 30973 begin: "3s", 30974 dur: "3s", 30975 values: "6;22", 30976 calcMode: "linear", 30977 repeatCount: "indefinite" 30978 }), 30979 /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 30980 attributeName: "stroke-opacity", 30981 begin: "3s", 30982 dur: "3s", 30983 values: "1;0", 30984 calcMode: "linear", 30985 repeatCount: "indefinite" 30986 }), 30987 /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 30988 attributeName: "stroke-width", 30989 begin: "3s", 30990 dur: "3s", 30991 values: "2;0", 30992 calcMode: "linear", 30993 repeatCount: "indefinite" 30994 }) 30995 ] 30996 }),
30997 /* @__PURE__ */ (0,jsx_runtime.jsx)("circle", { 30998 cx: "22", 30999 cy: "22", 31000 r: "8", 31001 children: /* @__PURE__ */ (0,jsx_runtime.jsx)("animate", { 31002 attributeName: "r", 31003 begin: "0s", 31004 dur: "1.5s", 31005 values: "6;1;2;3;4;5;6", 31006 calcMode: "linear", 31007 repeatCount: "indefinite" 31008 }) 31009 }) 31010 ] 31011 }) 31012 }) 31013 }); 31014 } 31015 return null; 31016} 31017 31018// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/flat.js 31019var flat = __webpack_require__(9123); 31020// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/routeContext.js 31021var client_routeContext = __webpack_require__(29856); 31022;// ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/ComponentCreator.js 31023var __defProp = Object.defineProperty; 31024var __getOwnPropSymbols = Object.getOwnPropertySymbols; 31025var __hasOwnProp = Object.prototype.hasOwnProperty; 31026var __propIsEnum = Object.prototype.propertyIsEnumerable; 31027var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 31028var __spreadValues = (a, b) => { 31029 for (var prop in b || (b = {})) 31030 if (__hasOwnProp.call(b, prop)) 31031 __defNormalProp(a, prop, b[prop]); 31032 if (__getOwnPropSymbols) 31033 for (var prop of __getOwnPropSymbols(b)) { 31034 if (__propIsEnum.call(b, prop)) 31035 __defNormalProp(a, prop, b[prop]); 31036 } 31037 return a; 31038}; 31039 31040 31041 31042 31043 31044 31045 31046function ComponentCreator(path, hash) { 31047 if (path === "*") { 31048 return lib_default()({ 31049 loading: Loading, 31050 loader: () => Promise.all(/* import() */[__webpack_require__.e(1869), __webpack_require__.e(6607)]).then(__webpack_require__.bind(__webpack_require__, 76607)), 31051 modules: ["@theme/NotFound"], 31052 webpack: () => [/*require.resolve*/(76607)], 31053 render(loaded, props) { 31054 const NotFound = loaded.default; 31055 return /* @__PURE__ */ (0,jsx_runtime.jsx)(client_routeContext/* RouteContextProvider */.W, { 31056 value: { plugin: { name: "native", id: "default" } }, 31057 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(NotFound, __spreadValues({}, props)) 31058 }); 31059 } 31060 }); 31061 } 31062 const chunkNames = routesChunkNames[`${path}-${hash}`]; 31063 const loader = {}; 31064 const modules = []; 31065 const optsWebpack = []; 31066 const flatChunkNames = (0,flat/* default */.A)(chunkNames); 31067 Object.entries(flatChunkNames).forEach(([keyPath, chunkName]) => { 31068 const chunkRegistry = registry[chunkName]; 31069 if (chunkRegistry) { 31070 loader[keyPath] = chunkRegistry[0]; 31071 modules.push(chunkRegistry[1]); 31072 optsWebpack.push(chunkRegistry[2]); 31073 } 31074 }); 31075 return lib_default().Map({ 31076 loading: Loading, 31077 loader, 31078 modules, 31079 webpack: () => optsWebpack, 31080 render(loaded, props) { 31081 const loadedModules = JSON.parse(JSON.stringify(chunkNames)); 31082 Object.entries(loaded).forEach(([keyPath, loadedModule]) => { 31083 const chunk = loadedModule.default; 31084 if (!chunk) { 31085 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.`); 31086 } 31087 if (typeof chunk === "object" || typeof chunk === "function") { 31088 Object.keys(loadedModule).filter((k) => k !== "default").forEach((nonDefaultKey) => { 31089 chunk[nonDefaultKey] = loadedModule[nonDefaultKey]; 31090 }); 31091 } 31092 let val = loadedModules; 31093 const keyPaths = keyPath.split(".");
31094 keyPaths.slice(0, -1).forEach((k) => { 31095 val = val[k]; 31096 }); 31097 val[keyPaths[keyPaths.length - 1]] = chunk; 31098 }); 31099 const Component = loadedModules.__comp; 31100 delete loadedModules.__comp; 31101 const routeContext = loadedModules.__context; 31102 delete loadedModules.__context; 31103 const routeProps = loadedModules.__props; 31104 delete loadedModules.__props; 31105 return /* @__PURE__ */ (0,jsx_runtime.jsx)(client_routeContext/* RouteContextProvider */.W, { 31106 value: routeContext, 31107 children: /* @__PURE__ */ (0,jsx_runtime.jsx)(Component, __spreadValues(__spreadValues(__spreadValues({}, loadedModules), routeProps), props)) 31108 }); 31109 } 31110 }); 31111} 31112 31113;// ./.docusaurus/routes.js 31114 31115/* harmony default export */ const routes = ([ 31116 { 31117 path: "/blog", 31118 component: ComponentCreator("/blog", "5d2"), 31119 exact: true 31120 }, 31121 { 31122 path: "/blog/archive", 31123 component: ComponentCreator("/blog/archive", "182"), 31124 exact: true 31125 }, 31126 { 31127 path: "/blog/authors", 31128 component: ComponentCreator("/blog/authors", "0b7"), 31129 exact: true 31130 }, 31131 { 31132 path: "/blog/bun", 31133 component: ComponentCreator("/blog/bun", "be7"), 31134 exact: true 31135 }, 31136 { 31137 path: "/blog/release/2.0", 31138 component: ComponentCreator("/blog/release/2.0", "d2b"), 31139 exact: true 31140 }, 31141 { 31142 path: "/blog/release/2.1", 31143 component: ComponentCreator("/blog/release/2.1", "898"), 31144 exact: true 31145 }, 31146 { 31147 path: "/blog/release/2.2", 31148 component: ComponentCreator("/blog/release/2.2", "a6e"), 31149 exact: true 31150 }, 31151 { 31152 path: "/blog/release/2.3", 31153 component: ComponentCreator("/blog/release/2.3", "4b5"), 31154 exact: true 31155 }, 31156 { 31157 path: "/blog/release/2.4", 31158 component: ComponentCreator("/blog/release/2.4", "392"), 31159 exact: true 31160 }, 31161 { 31162 path: "/blog/release/3.0", 31163 component: ComponentCreator("/blog/release/3.0", "d10"), 31164 exact: true 31165 }, 31166 { 31167 path: "/blog/release/3.1", 31168 component: ComponentCreator("/blog/release/3.1", "a00"), 31169 exact: true 31170 }, 31171 { 31172 path: "/blog/release/3.2", 31173 component: ComponentCreator("/blog/release/3.2", "978"), 31174 exact: true 31175 }, 31176 { 31177 path: "/blog/release/4.0", 31178 component: ComponentCreator("/blog/release/4.0", "f2b"), 31179 exact: true 31180 }, 31181 { 31182 path: "/configuration", 31183 component: ComponentCreator("/configuration", "e0d"), 31184 exact: true 31185 }, 31186 { 31187 path: "/docs/search", 31188 component: ComponentCreator("/docs/search", "320"), 31189 exact: true 31190 }, 31191 { 31192 path: "/package", 31193 component: ComponentCreator("/package", "0e8"), 31194 exact: true 31195 }, 31196 { 31197 path: "/search", 31198 component: ComponentCreator("/search", "be6"), 31199 exact: true 31200 }, 31201 { 31202 path: "/api", 31203 component: ComponentCreator("/api", "ffb"), 31204 routes: [ 31205 { 31206 path: "/api", 31207 component: ComponentCreator("/api", "4c1"), 31208 routes: [ 31209 { 31210 path: "/api", 31211 component: ComponentCreator("/api", "07c"), 31212 routes: [ 31213 { 31214 path: "/api", 31215 component: ComponentCreator("/api", "7a4"), 31216 exact: true, 31217 sidebar: "api" 31218 }, 31219 { 31220 path: "/api/plugin-catalog", 31221 component: ComponentCreator("/api/plugin-catalog", "b7f"), 31222 exact: true, 31223 sidebar: "api", 31224 id: 1 31225 }, 31226 { 31227 path: "/api/plugin-compat", 31228 component: ComponentCreator("/api/plugin-compat", "ecf"), 31229 exact: true, 31230 sidebar: "api", 31231 id: 3 31232 }, 31233 { 31234 path: "/api/plugin-constraints", 31235 component: ComponentCreator("/api/plugin-constraints", "b07"), 31236 exact: true, 31237 sidebar: "api", 31238 id: 5 31239 }, 31240 { 31241 path: "/api/plugin-constraints/class/ConstraintsCheckCommand", 31242 component: ComponentCreator("/api/plugin-constraints/class/ConstraintsCheckCommand", "c01"), 31243 exact: true, 31244 sidebar: "api", 31245 id: 986 31246 }, 31247 { 31248 path: "/api/plugin-constraints/class/ConstraintsQueryCommand", 31249 component: ComponentCreator("/api/plugin-constraints/class/ConstraintsQueryCommand", "7bd"), 31250 exact: true, 31251 sidebar: "api", 31252 id: 963 31253 }, 31254 { 31255 path: "/api/plugin-constraints/class/ConstraintsSourceCommand", 31256 component: ComponentCreator("/api/plugin-constraints/class/ConstraintsSourceCommand", "d12"), 31257 exact: true, 31258 sidebar: "api", 31259 id: 975 31260 }, 31261 { 31262 path: "/api/plugin-dlx", 31263 component: ComponentCreator("/api/plugin-dlx", "0ca"), 31264 exact: true, 31265 sidebar: "api", 31266 id: 7 31267 }, 31268 { 31269 path: "/api/plugin-dlx/class/CreateCommand", 31270 component: ComponentCreator("/api/plugin-dlx/class/CreateCommand", "c59"), 31271 exact: true, 31272 sidebar: "api", 31273 id: 998 31274 }, 31275 { 31276 path: "/api/plugin-dlx/class/DlxCommand", 31277 component: ComponentCreator("/api/plugin-dlx/class/DlxCommand", "8e2"), 31278 exact: true, 31279 sidebar: "api", 31280 id: 1011 31281 }, 31282 { 31283 path: "/api/plugin-essentials", 31284 component: ComponentCreator("/api/plugin-essentials", "fa2"), 31285 exact: true, 31286 sidebar: "api", 31287 id: 9 31288 }, 31289 { 31290 path: "/api/plugin-essentials/class/AddCommand", 31291 component: ComponentCreator("/api/plugin-essentials/class/AddCommand", "de2"), 31292 exact: true, 31293 sidebar: "api", 31294 id: 1025 31295 }, 31296 { 31297 path: "/api/plugin-essentials/class/BinCommand", 31298 component: ComponentCreator("/api/plugin-essentials/class/BinCommand", "eea"), 31299 exact: true, 31300 sidebar: "api", 31301 id: 1050 31302 }, 31303 { 31304 path: "/api/plugin-essentials/class/CacheCleanCommand", 31305 component: ComponentCreator("/api/plugin-essentials/class/CacheCleanCommand", "844"), 31306 exact: true, 31307 sidebar: "api", 31308 id: 1063 31309 }, 31310 { 31311 path: "/api/plugin-essentials/class/ClipanionCommand", 31312 component: ComponentCreator("/api/plugin-essentials/class/ClipanionCommand", "a36"), 31313 exact: true, 31314 sidebar: "api", 31315 id: 1145 31316 }, 31317 { 31318 path: "/api/plugin-essentials/class/ConfigCommand", 31319 component: ComponentCreator("/api/plugin-essentials/class/ConfigCommand", "da3"), 31320 exact: true, 31321 sidebar: "api", 31322 id: 1115 31323 }, 31324 { 31325 path: "/api/plugin-essentials/class/ConfigGetCommand", 31326 component: ComponentCreator("/api/plugin-essentials/class/ConfigGetCommand", "3a4"), 31327 exact: true, 31328 sidebar: "api", 31329 id: 1075 31330 }, 31331 { 31332 path: "/api/plugin-essentials/class/ConfigSetCommand", 31333 component: ComponentCreator("/api/plugin-essentials/class/ConfigSetCommand", "6d7"), 31334 exact: true, 31335 sidebar: "api", 31336 id: 1089 31337 }, 31338 { 31339 path: "/api/plugin-essentials/class/ConfigUnsetCommand", 31340 component: ComponentCreator("/api/plugin-essentials/class/ConfigUnsetCommand", "eba"), 31341 exact: true, 31342 sidebar: "api", 31343 id: 1103 31344 }, 31345 { 31346 path: "/api/plugin-essentials/class/DedupeCommand", 31347 component: ComponentCreator("/api/plugin-essentials/class/DedupeCommand", "76c"), 31348 exact: true, 31349 sidebar: "api", 31350 id: 1130 31351 }, 31352 { 31353 path: "/api/plugin-essentials/class/EntryCommand", 31354 component: ComponentCreator("/api/plugin-essentials/class/EntryCommand", "068"), 31355 exact: true, 31356 sidebar: "api", 31357 id: 1163 31358 }, 31359 { 31360 path: "/api/plugin-essentials/class/ExecCommand", 31361 component: ComponentCreator("/api/plugin-essentials/class/ExecCommand", "f76"), 31362 exact: true, 31363 sidebar: "api", 31364 id: 1182 31365 }, 31366 { 31367 path: "/api/plugin-essentials/class/ExplainCommand", 31368 component: ComponentCreator("/api/plugin-essentials/class/ExplainCommand", "cf2"), 31369 exact: true, 31370 sidebar: "api", 31371 id: 1205 31372 }, 31373 { 31374 path: "/api/plugin-essentials/class/ExplainPeerRequirementsCommand", 31375 component: ComponentCreator("/api/plugin-essentials/class/ExplainPeerRequirementsCommand", "acc"), 31376 exact: true, 31377 sidebar: "api", 31378 id: 1194 31379 }, 31380 { 31381 path: "/api/plugin-essentials/class/HelpCommand", 31382 component: ComponentCreator("/api/plugin-essentials/class/HelpCommand", "2da"), 31383 exact: true, 31384 sidebar: "api", 31385 id: 1154 31386 }, 31387 { 31388 path: "/api/plugin-essentials/class/InfoCommand", 31389 component: ComponentCreator("/api/plugin-essentials/class/InfoCommand", "152"), 31390 exact: true, 31391 sidebar: "api", 31392 id: 1217 31393 }, 31394 { 31395 path: "/api/plugin-essentials/class/LinkCommand", 31396 component: ComponentCreator("/api/plugin-essentials/class/LinkCommand", "2a0"),
31397 exact: true, 31398 sidebar: "api", 31399 id: 1264 31400 }, 31401 { 31402 path: "/api/plugin-essentials/class/NodeCommand", 31403 component: ComponentCreator("/api/plugin-essentials/class/NodeCommand", "777"), 31404 exact: true, 31405 sidebar: "api", 31406 id: 1278 31407 }, 31408 { 31409 path: "/api/plugin-essentials/class/PluginCheckCommand", 31410 component: ComponentCreator("/api/plugin-essentials/class/PluginCheckCommand", "199"), 31411 exact: true, 31412 sidebar: "api", 31413 id: 1305 31414 }, 31415 { 31416 path: "/api/plugin-essentials/class/PluginImportCommand", 31417 component: ComponentCreator("/api/plugin-essentials/class/PluginImportCommand", "67a"), 31418 exact: true, 31419 sidebar: "api", 31420 id: 1316 31421 }, 31422 { 31423 path: "/api/plugin-essentials/class/PluginImportSourcesCommand", 31424 component: ComponentCreator("/api/plugin-essentials/class/PluginImportSourcesCommand", "2ec"), 31425 exact: true, 31426 sidebar: "api", 31427 id: 1289 31428 }, 31429 { 31430 path: "/api/plugin-essentials/class/PluginListCommand", 31431 component: ComponentCreator("/api/plugin-essentials/class/PluginListCommand", "db8"), 31432 exact: true, 31433 sidebar: "api", 31434 id: 1328 31435 }, 31436 { 31437 path: "/api/plugin-essentials/class/PluginRemoveCommand", 31438 component: ComponentCreator("/api/plugin-essentials/class/PluginRemoveCommand", "24c"), 31439 exact: true, 31440 sidebar: "api", 31441 id: 1339 31442 }, 31443 { 31444 path: "/api/plugin-essentials/class/PluginRuntimeCommand", 31445 component: ComponentCreator("/api/plugin-essentials/class/PluginRuntimeCommand", "350"), 31446 exact: true, 31447 sidebar: "api", 31448 id: 1350 31449 }, 31450 { 31451 path: "/api/plugin-essentials/class/RebuildCommand", 31452 component: ComponentCreator("/api/plugin-essentials/class/RebuildCommand", "a16"), 31453 exact: true, 31454 sidebar: "api", 31455 id: 1361 31456 }, 31457 { 31458 path: "/api/plugin-essentials/class/RemoveCommand", 31459 component: ComponentCreator("/api/plugin-essentials/class/RemoveCommand", "315"), 31460 exact: true, 31461 sidebar: "api", 31462 id: 1372 31463 }, 31464 { 31465 path: "/api/plugin-essentials/class/RunCommand", 31466 component: ComponentCreator("/api/plugin-essentials/class/RunCommand", "f86"), 31467 exact: true, 31468 sidebar: "api", 31469 id: 1395 31470 }, 31471 { 31472 path: "/api/plugin-essentials/class/RunIndexCommand", 31473 component: ComponentCreator("/api/plugin-essentials/class/RunIndexCommand", "b69"), 31474 exact: true, 31475 sidebar: "api", 31476 id: 1385 31477 }, 31478 { 31479 path: "/api/plugin-essentials/class/SetResolutionCommand", 31480 component: ComponentCreator("/api/plugin-essentials/class/SetResolutionCommand", "0b1"), 31481 exact: true, 31482 sidebar: "api", 31483 id: 1413 31484 }, 31485 { 31486 path: "/api/plugin-essentials/class/SetVersionCommand", 31487 component: ComponentCreator("/api/plugin-essentials/class/SetVersionCommand", "642"), 31488 exact: true, 31489 sidebar: "api", 31490 id: 1443 31491 }, 31492 { 31493 path: "/api/plugin-essentials/class/SetVersionSourcesCommand", 31494 component: ComponentCreator("/api/plugin-essentials/class/SetVersionSourcesCommand", "3b7"),
31495 exact: true, 31496 sidebar: "api", 31497 id: 1425 31498 }, 31499 { 31500 path: "/api/plugin-essentials/class/UnlinkCommand", 31501 component: ComponentCreator("/api/plugin-essentials/class/UnlinkCommand", "808"), 31502 exact: true, 31503 sidebar: "api", 31504 id: 1456 31505 }, 31506 { 31507 path: "/api/plugin-essentials/class/UpCommand", 31508 component: ComponentCreator("/api/plugin-essentials/class/UpCommand", "de7"), 31509 exact: true, 31510 sidebar: "api", 31511 id: 1468 31512 }, 31513 { 31514 path: "/api/plugin-essentials/class/VersionCommand", 31515 component: ComponentCreator("/api/plugin-essentials/class/VersionCommand", "260"), 31516 exact: true, 31517 sidebar: "api", 31518 id: 1173 31519 }, 31520 { 31521 path: "/api/plugin-essentials/class/WhyCommand", 31522 component: ComponentCreator("/api/plugin-essentials/class/WhyCommand", "8eb"), 31523 exact: true, 31524 sidebar: "api", 31525 id: 1498 31526 }, 31527 { 31528 path: "/api/plugin-essentials/class/WorkspaceCommand", 31529 component: ComponentCreator("/api/plugin-essentials/class/WorkspaceCommand", "82c"), 31530 exact: true, 31531 sidebar: "api", 31532 id: 1527 31533 }, 31534 { 31535 path: "/api/plugin-essentials/class/WorkspacesListCommand", 31536 component: ComponentCreator("/api/plugin-essentials/class/WorkspacesListCommand", "a9a"), 31537 exact: true, 31538 sidebar: "api", 31539 id: 1512 31540 }, 31541 { 31542 path: "/api/plugin-essentials/class/YarnCommand", 31543 component: ComponentCreator("/api/plugin-essentials/class/YarnCommand", "f97"), 31544 exact: true, 31545 sidebar: "api", 31546 id: 1237 31547 }, 31548 { 31549 path: "/api/plugin-essentials/interface/Hooks", 31550 component: ComponentCreator("/api/plugin-essentials/interface/Hooks", "467"), 31551 exact: true, 31552 sidebar: "api", 31553 id: 10 31554 }, 31555 { 31556 path: "/api/plugin-essentials/namespace/dedupeUtils", 31557 component: ComponentCreator("/api/plugin-essentials/namespace/dedupeUtils", "015"), 31558 exact: true, 31559 sidebar: "api", 31560 id: 1540 31561 }, 31562 { 31563 path: "/api/plugin-essentials/namespace/suggestUtils", 31564 component: ComponentCreator("/api/plugin-essentials/namespace/suggestUtils", "a2c"), 31565 exact: true, 31566 sidebar: "api", 31567 id: 1571 31568 }, 31569 { 31570 path: "/api/plugin-exec", 31571 component: ComponentCreator("/api/plugin-exec", "70d"), 31572 exact: true, 31573 sidebar: "api", 31574 id: 45 31575 }, 31576 { 31577 path: "/api/plugin-exec/class/ExecFetcher", 31578 component: ComponentCreator("/api/plugin-exec/class/ExecFetcher", "b39"), 31579 exact: true, 31580 sidebar: "api", 31581 id: 1711 31582 }, 31583 { 31584 path: "/api/plugin-exec/class/ExecResolver", 31585 component: ComponentCreator("/api/plugin-exec/class/ExecResolver", "f7e"), 31586 exact: true, 31587 sidebar: "api", 31588 id: 1744 31589 }, 31590 { 31591 path: "/api/plugin-exec/interface/ExecEnv", 31592 component: ComponentCreator("/api/plugin-exec/interface/ExecEnv", "e90"), 31593 exact: true, 31594 sidebar: "api", 31595 id: 1678 31596 }, 31597 { 31598 path: "/api/plugin-exec/namespace/execUtils", 31599 component: ComponentCreator("/api/plugin-exec/namespace/execUtils", "6ba"), 31600 exact: true, 31601 sidebar: "api", 31602 id: 1682 31603 }, 31604 { 31605 path: "/api/plugin-file", 31606 component: ComponentCreator("/api/plugin-file", "099"), 31607 exact: true, 31608 sidebar: "api", 31609 id: 47 31610 }, 31611 { 31612 path: "/api/plugin-file/class/FileFetcher", 31613 component: ComponentCreator("/api/plugin-file/class/FileFetcher", "284"), 31614 exact: true, 31615 sidebar: "api", 31616 id: 1845 31617 }, 31618 { 31619 path: "/api/plugin-file/class/FileResolver", 31620 component: ComponentCreator("/api/plugin-file/class/FileResolver", "b55"), 31621 exact: true, 31622 sidebar: "api", 31623 id: 1872 31624 }, 31625 { 31626 path: "/api/plugin-file/class/TarballFileFetcher", 31627 component: ComponentCreator("/api/plugin-file/class/TarballFileFetcher", "d26"), 31628 exact: true, 31629 sidebar: "api", 31630 id: 1930 31631 }, 31632 { 31633 path: "/api/plugin-file/class/TarballFileResolver", 31634 component: ComponentCreator("/api/plugin-file/class/TarballFileResolver", "fca"), 31635 exact: true, 31636 sidebar: "api", 31637 id: 1956 31638 }, 31639 { 31640 path: "/api/plugin-file/namespace/fileUtils", 31641 component: ComponentCreator("/api/plugin-file/namespace/fileUtils", "03b"), 31642 exact: true, 31643 sidebar: "api", 31644 id: 1802 31645 }, 31646 { 31647 path: "/api/plugin-git", 31648 component: ComponentCreator("/api/plugin-git", "e3d"), 31649 exact: true, 31650 sidebar: "api", 31651 id: 49 31652 }, 31653 { 31654 path: "/api/plugin-git/class/GitFetcher", 31655 component: ComponentCreator("/api/plugin-git/class/GitFetcher", "43c"), 31656 exact: true, 31657 sidebar: "api", 31658 id: 2089 31659 }, 31660 { 31661 path: "/api/plugin-git/class/GitResolver", 31662 component: ComponentCreator("/api/plugin-git/class/GitResolver", "222"), 31663 exact: true, 31664 sidebar: "api", 31665 id: 2112 31666 }, 31667 { 31668 path: "/api/plugin-git/interface/Hooks", 31669 component: ComponentCreator("/api/plugin-git/interface/Hooks", "899"), 31670 exact: true, 31671 sidebar: "api", 31672 id: 50 31673 }, 31674 { 31675 path: "/api/plugin-git/namespace/gitUtils", 31676 component: ComponentCreator("/api/plugin-git/namespace/gitUtils", "50d"), 31677 exact: true, 31678 sidebar: "api", 31679 id: 2014 31680 }, 31681 { 31682 path: "/api/plugin-github", 31683 component: ComponentCreator("/api/plugin-github", "6fb"), 31684 exact: true, 31685 sidebar: "api", 31686 id: 58 31687 }, 31688 { 31689 path: "/api/plugin-github/class/GithubFetcher", 31690 component: ComponentCreator("/api/plugin-github/class/GithubFetcher", "937"), 31691 exact: true, 31692 sidebar: "api", 31693 id: 2180 31694 }, 31695 { 31696 path: "/api/plugin-github/namespace/githubUtils", 31697 component: ComponentCreator("/api/plugin-github/namespace/githubUtils", "d56"), 31698 exact: true, 31699 sidebar: "api", 31700 id: 2170 31701 }, 31702 { 31703 path: "/api/plugin-http", 31704 component: ComponentCreator("/api/plugin-http", "2d1"),
31705 exact: true, 31706 sidebar: "api", 31707 id: 60 31708 }, 31709 { 31710 path: "/api/plugin-http/class/TarballHttpFetcher", 31711 component: ComponentCreator("/api/plugin-http/class/TarballHttpFetcher", "653"), 31712 exact: true, 31713 sidebar: "api", 31714 id: 2210 31715 }, 31716 { 31717 path: "/api/plugin-http/class/TarballHttpResolver", 31718 component: ComponentCreator("/api/plugin-http/class/TarballHttpResolver", "6f1"), 31719 exact: true, 31720 sidebar: "api", 31721 id: 2236 31722 }, 31723 { 31724 path: "/api/plugin-init", 31725 component: ComponentCreator("/api/plugin-init", "60e"), 31726 exact: true, 31727 sidebar: "api", 31728 id: 62 31729 }, 31730 { 31731 path: "/api/plugin-init/class/InitCommand", 31732 component: ComponentCreator("/api/plugin-init/class/InitCommand", "ceb"), 31733 exact: true, 31734 sidebar: "api", 31735 id: 2294 31736 }, 31737 { 31738 path: "/api/plugin-init/class/InitInitializerCommand", 31739 component: ComponentCreator("/api/plugin-init/class/InitInitializerCommand", "911"), 31740 exact: true, 31741 sidebar: "api", 31742 id: 2319 31743 }, 31744 { 31745 path: "/api/plugin-interactive-tools", 31746 component: ComponentCreator("/api/plugin-interactive-tools", "94a"), 31747 exact: true, 31748 sidebar: "api", 31749 id: 64 31750 }, 31751 { 31752 path: "/api/plugin-interactive-tools/class/SearchCommand", 31753 component: ComponentCreator("/api/plugin-interactive-tools/class/SearchCommand", "9fa"), 31754 exact: true, 31755 sidebar: "api", 31756 id: 2346 31757 }, 31758 { 31759 path: "/api/plugin-interactive-tools/class/UpgradeInteractiveCommand", 31760 component: ComponentCreator("/api/plugin-interactive-tools/class/UpgradeInteractiveCommand", "5c8"), 31761 exact: true, 31762 sidebar: "api", 31763 id: 2356 31764 }, 31765 { 31766 path: "/api/plugin-jsr", 31767 component: ComponentCreator("/api/plugin-jsr", "cca"), 31768 exact: true, 31769 sidebar: "api", 31770 id: 66 31771 }, 31772 { 31773 path: "/api/plugin-link", 31774 component: ComponentCreator("/api/plugin-link", "d79"), 31775 exact: true, 31776 sidebar: "api", 31777 id: 68 31778 }, 31779 { 31780 path: "/api/plugin-link/class/LinkFetcher", 31781 component: ComponentCreator("/api/plugin-link/class/LinkFetcher", "410"), 31782 exact: true, 31783 sidebar: "api", 31784 id: 2439 31785 }, 31786 { 31787 path: "/api/plugin-link/class/LinkResolver", 31788 component: ComponentCreator("/api/plugin-link/class/LinkResolver", "dd3"), 31789 exact: true, 31790 sidebar: "api", 31791 id: 2470 31792 }, 31793 { 31794 path: "/api/plugin-link/class/PortalFetcher", 31795 component: ComponentCreator("/api/plugin-link/class/PortalFetcher", "58f"), 31796 exact: true, 31797 sidebar: "api", 31798 id: 2367 31799 }, 31800 { 31801 path: "/api/plugin-link/class/PortalResolver", 31802 component: ComponentCreator("/api/plugin-link/class/PortalResolver", "27b"), 31803 exact: true, 31804 sidebar: "api", 31805 id: 2396 31806 }, 31807 { 31808 path: "/api/plugin-nm", 31809 component: ComponentCreator("/api/plugin-nm", "4d7"), 31810 exact: true, 31811 sidebar: "api", 31812 id: 70 31813 }, 31814 { 31815 path: "/api/plugin-nm/class/NodeModulesLinker", 31816 component: ComponentCreator("/api/plugin-nm/class/NodeModulesLinker", "35f"), 31817 exact: true, 31818 sidebar: "api", 31819 id: 2528 31820 }, 31821 { 31822 path: "/api/plugin-nm/class/PnpLooseLinker", 31823 component: ComponentCreator("/api/plugin-nm/class/PnpLooseLinker", "e
31823c0"), 31824 exact: true, 31825 sidebar: "api", 31826 id: 2561 31827 }, 31828 { 31829 path: "/api/plugin-nm/enum/NodeModulesMode", 31830 component: ComponentCreator("/api/plugin-nm/enum/NodeModulesMode", "726"), 31831 exact: true, 31832 sidebar: "api", 31833 id: 2557 31834 }, 31835 { 31836 path: "/api/plugin-npm", 31837 component: ComponentCreator("/api/plugin-npm", "56a"), 31838 exact: true, 31839 sidebar: "api", 31840 id: 72 31841 }, 31842 { 31843 path: "/api/plugin-npm-cli", 31844 component: ComponentCreator("/api/plugin-npm-cli", "cdf"), 31845 exact: true, 31846 sidebar: "api", 31847 id: 84 31848 }, 31849 { 31850 path: "/api/plugin-npm-cli/class/NpmAuditCommand", 31851 component: ComponentCreator("/api/plugin-npm-cli/class/NpmAuditCommand", "490"), 31852 exact: true, 31853 sidebar: "api", 31854 id: 3006 31855 }, 31856 { 31857 path: "/api/plugin-npm-cli/class/NpmInfoCommand", 31858 component: ComponentCreator("/api/plugin-npm-cli/class/NpmInfoCommand", "4ec"), 31859 exact: true, 31860 sidebar: "api", 31861 id: 3024 31862 }, 31863 { 31864 path: "/api/plugin-npm-cli/class/NpmLoginCommand", 31865 component: ComponentCreator("/api/plugin-npm-cli/class/NpmLoginCommand", "ba5"), 31866 exact: true, 31867 sidebar: "api", 31868 id: 3037 31869 }, 31870 { 31871 path: "/api/plugin-npm-cli/class/NpmLogoutCommand", 31872 component: ComponentCreator("/api/plugin-npm-cli/class/NpmLogoutCommand", "7f0"), 31873 exact: true, 31874 sidebar: "api", 31875 id: 3051 31876 }, 31877 { 31878 path: "/api/plugin-npm-cli/class/NpmPublishCommand", 31879 component: ComponentCreator("/api/plugin-npm-cli/class/NpmPublishCommand", "714"), 31880 exact: true, 31881 sidebar: "api", 31882 id: 3064 31883 }, 31884 { 31885 path: "/api/plugin-npm-cli/class/NpmStageApproveCommand", 31886 component: ComponentCreator("/api/plugin-npm-cli/class/NpmStageApproveCommand", "3c4"), 31887 exact: true, 31888 sidebar: "api", 31889 id: 3082 31890 }, 31891 { 31892 path: "/api/plugin-npm-cli/class/NpmStageListCommand", 31893 component: ComponentCreator("/api/plugin-npm-cli/class/NpmStageListCommand", "cd4"), 31894 exact: true, 31895 sidebar: "api", 31896 id: 3094 31897 }, 31898 { 31899 path: "/api/plugin-npm-cli/class/NpmStageRejectCommand", 31900 component: ComponentCreator("/api/plugin-npm-cli/class/NpmStageRejectCommand", "c66"), 31901 exact: true, 31902 sidebar: "api", 31903 id: 3106 31904 }, 31905 { 31906 path: "/api/plugin-npm-cli/class/NpmTagAddCommand", 31907 component: ComponentCreator("/api/plugin-npm-cli/class/NpmTagAddCommand", "d09"), 31908 exact: true, 31909 sidebar: "api", 31910 id: 3118 31911 }, 31912 { 31913 path: "/api/plugin-npm-cli/class/NpmTagListCommand", 31914 component: ComponentCreator("/api/plugin-npm-cli/class/NpmTagListCommand", "51a"), 31915 exact: true, 31916 sidebar: "api", 31917 id: 3130 31918 }, 31919 { 31920 path: "/api/plugin-npm-cli/class/NpmTagRemoveCommand", 31921 component: ComponentCreator("/api/plugin-npm-cli/class/NpmTagRemoveCommand", "a68"), 31922 exact: true, 31923 sidebar: "api", 31924 id: 3142 31925 }, 31926 { 31927 path: "/api/plugin-npm-cli/class/NpmWhoamiCommand", 31928 component: ComponentCreator("/api/plugin-npm-cli/class/NpmWhoamiCommand", "140"), 31929 exact: true, 31930 sidebar: "api", 31931 id: 3154 31932 }, 31933 { 31934 path: "/api/plugin-npm-cli/namespace/npmAuditTypes", 31935 component: ComponentCreator("/api/plugin-npm-cli/namespace/npmAuditTypes", "d1d"), 31936 exact: true, 31937 sidebar: "api", 31938 id: 2956 31939 }, 31940 { 31941 path: "/api/plugin-npm-cli/namespace/npmAuditUtils", 31942 component: ComponentCreator("/api/plugin-npm-cli/namespace/npmAuditUtils", "48f"), 31943 exact: true, 31944 sidebar: "api", 31945 id: 2979 31946 }, 31947 { 31948 path: "/api/plugin-npm/class/NpmHttpFetcher", 31949 component: ComponentCreator("/api/plugin-npm/class/NpmHttpFetcher", "a75"), 31950 exact: true, 31951 sidebar: "api", 31952 id: 2751 31953 }, 31954 { 31955 path: "/api/plugin-npm/class/NpmRemapResolver", 31956 component: ComponentCreator("/api/plugin-npm/class/NpmRemapResolver", "145"), 31957 exact: true, 31958 sidebar: "api", 31959 id: 2777 31960 }, 31961 { 31962 path: "/api/plugin-npm/class/NpmSemverFetcher", 31963 component: ComponentCreator("/api/plugin-npm/class/NpmSemverFetcher", "f85"), 31964 exact: true, 31965 sidebar: "api", 31966 id: 2819 31967 }, 31968 { 31969 path: "/api/plugin-npm/class/NpmSemverResolver", 31970 component: ComponentCreator("/api/plugin-npm/class/NpmSemverResolver", "05b"), 31971 exact: true, 31972 sidebar: "api", 31973 id: 2855 31974 }, 31975 { 31976 path: "/api/plugin-npm/class/NpmTagResolver", 31977 component: ComponentCreator("/api/plugin-npm/class/NpmTagResolver", "51a"), 31978 exact: true, 31979 sidebar: "api", 31980 id: 2913 31981 }, 31982 { 31983 path: "/api/plugin-npm/interface/Hooks", 31984 component: ComponentCreator("/api/plugin-npm/interface/Hooks", "ef0"), 31985 exact: true, 31986 sidebar: "api", 31987 id: 73 31988 }, 31989 { 31990 path: "/api/plugin-npm/namespace/npmConfigUtils", 31991 component: ComponentCreator("/api/plugin-npm/namespace/npmConfigUtils", "d51"), 31992 exact: true, 31993 sidebar: "api", 31994 id: 2582 31995 }, 31996 { 31997 path: "/api/plugin-npm/namespace/npmHttpUtils", 31998 component: ComponentCreator("/api/plugin-npm/namespace/npmHttpUtils", "9ab"), 31999 exact: true, 32000 sidebar: "api", 32001 id: 2652 32002 }, 32003 { 32004 path: "/api/plugin-npm/namespace/npmPublishUtils", 32005 component: ComponentCreator("/api/plugin-npm/namespace/npmPublishUtils", "912"), 32006 exact: true, 32007 sidebar: "api", 32008 id: 2724 32009 }, 32010 {
32011 path: "/api/plugin-pack", 32012 component: ComponentCreator("/api/plugin-pack", "446"), 32013 exact: true, 32014 sidebar: "api", 32015 id: 86 32016 }, 32017 { 32018 path: "/api/plugin-pack/class/PackCommand", 32019 component: ComponentCreator("/api/plugin-pack/class/PackCommand", "433"), 32020 exact: true, 32021 sidebar: "api", 32022 id: 3166 32023 }, 32024 { 32025 path: "/api/plugin-pack/interface/Hooks", 32026 component: ComponentCreator("/api/plugin-pack/interface/Hooks", "84e"), 32027 exact: true, 32028 sidebar: "api", 32029 id: 87 32030 }, 32031 { 32032 path: "/api/plugin-pack/namespace/packUtils", 32033 component: ComponentCreator("/api/plugin-pack/namespace/packUtils", "714"), 32034 exact: true, 32035 sidebar: "api", 32036 id: 3181 32037 }, 32038 { 32039 path: "/api/plugin-patch", 32040 component: ComponentCreator("/api/plugin-patch", "d26"), 32041 exact: true, 32042 sidebar: "api", 32043 id: 94 32044 }, 32045 { 32046 path: "/api/plugin-patch/class/PatchCommand", 32047 component: ComponentCreator("/api/plugin-patch/class/PatchCommand", "14c"), 32048 exact: true, 32049 sidebar: "api", 32050 id: 3287 32051 }, 32052 { 32053 path: "/api/plugin-patch/class/PatchCommitCommand", 32054 component: ComponentCreator("/api/plugin-patch/class/PatchCommitCommand", "3a7"), 32055 exact: true, 32056 sidebar: "api", 32057 id: 3275 32058 }, 32059 { 32060 path: "/api/plugin-patch/class/PatchFetcher", 32061 component: ComponentCreator("/api/plugin-patch/class/PatchFetcher", "471"), 32062 exact: true, 32063 sidebar: "api", 32064 id: 3204 32065 }, 32066 { 32067 path: "/api/plugin-patch/class/PatchResolver", 32068 component: ComponentCreator("/api/plugin-patch/class/PatchResolver", "7f5"), 32069 exact: true, 32070 sidebar: "api", 32071 id: 3231 32072 }, 32073 { 32074 path: "/api/plugin-patch/interface/Hooks", 32075 component: ComponentCreator("/api/plugin-patch/interface/Hooks", "adb"), 32076 exact: true, 32077 sidebar: "api", 32078 id: 95 32079 }, 32080 { 32081 path: "/api/plugin-patch/namespace/patchUtils", 32082 component: ComponentCreator("/api/plugin-patch/namespace/patchUtils", "d5c"), 32083 exact: true, 32084 sidebar: "api", 32085 id: 3300 32086 }, 32087 { 32088 path: "/api/plugin-pnp", 32089 component: ComponentCreator("/api/plugin-pnp", "21f"), 32090 exact: true, 32091 sidebar: "api", 32092 id: 102 32093 }, 32094 { 32095 path: "/api/plugin-pnp/class/PnpInstaller", 32096 component: ComponentCreator("/api/plugin-pnp/class/PnpInstaller", "f2e"), 32097 exact: true, 32098 sidebar: "api", 32099 id: 3446 32100 }, 32101 { 32102 path: "/api/plugin-pnp/class/PnpLinker", 32103 component: ComponentCreator("/api/plugin-pnp/class/PnpLinker", "dee"), 32104 exact: true, 32105 sidebar: "api", 32106 id: 3568 32107 }, 32108 { 32109 path: "/api/plugin-pnp/class/UnplugCommand", 32110 component: ComponentCreator("/api/plugin-pnp/class/UnplugCommand", "850"), 32111 exact: true, 32112 sidebar: "api", 32113 id: 3401 32114 }, 32115 { 32116 path: "/api/plugin-pnp/enum/NodePackageMapType", 32117 component: ComponentCreator("/api/plugin-pnp/enum/NodePackageMapType", "1f4"), 32118 exact: true, 32119 sidebar: "api", 32120 id: 103 32121 }, 32122 {
32123 path: "/api/plugin-pnp/namespace/jsInstallUtils", 32124 component: ComponentCreator("/api/plugin-pnp/namespace/jsInstallUtils", "b37"), 32125 exact: true, 32126 sidebar: "api", 32127 id: 3415 32128 }, 32129 { 32130 path: "/api/plugin-pnp/namespace/pnpUtils", 32131 component: ComponentCreator("/api/plugin-pnp/namespace/pnpUtils", "01e"), 32132 exact: true, 32133 sidebar: "api", 32134 id: 3439 32135 }, 32136 { 32137 path: "/api/plugin-pnpm", 32138 component: ComponentCreator("/api/plugin-pnpm", "612"), 32139 exact: true, 32140 sidebar: "api", 32141 id: 120 32142 }, 32143 { 32144 path: "/api/plugin-pnpm/class/PnpmLinker", 32145 component: ComponentCreator("/api/plugin-pnpm/class/PnpmLinker", "5fc"), 32146 exact: true, 32147 sidebar: "api", 32148 id: 3593 32149 }, 32150 { 32151 path: "/api/plugin-stage", 32152 component: ComponentCreator("/api/plugin-stage", "b99"), 32153 exact: true, 32154 sidebar: "api", 32155 id: 122 32156 }, 32157 { 32158 path: "/api/plugin-stage/class/StageCommand", 32159 component: ComponentCreator("/api/plugin-stage/class/StageCommand", "bf5"), 32160 exact: true, 32161 sidebar: "api", 32162 id: 3616 32163 }, 32164 { 32165 path: "/api/plugin-stage/interface/Hooks", 32166 component: ComponentCreator("/api/plugin-stage/interface/Hooks", "5ae"), 32167 exact: true, 32168 sidebar: "api", 32169 id: 123 32170 }, 32171 { 32172 path: "/api/plugin-stage/namespace/stageUtils", 32173 component: ComponentCreator("/api/plugin-stage/namespace/stageUtils", "689"), 32174 exact: true, 32175 sidebar: "api", 32176 id: 3630 32177 }, 32178 { 32179 path: "/api/plugin-typescript", 32180 component: ComponentCreator("/api/plugin-typescript", "709"), 32181 exact: true, 32182 sidebar: "api", 32183 id: 133 32184 }, 32185 { 32186 path: "/api/plugin-version", 32187 component: ComponentCreator("/api/plugin-version", "fcd"), 32188 exact: true, 32189 sidebar: "api", 32190 id: 135 32191 }, 32192 { 32193 path: "/api/plugin-version/class/VersionApplyCommand", 32194 component: ComponentCreator("/api/plugin-version/class/VersionApplyCommand", "d10"), 32195 exact: true, 32196 sidebar: "api", 32197 id: 3676 32198 }, 32199 { 32200 path: "/api/plugin-version/class/VersionCheckCommand", 32201 component: ComponentCreator("/api/plugin-version/class/VersionCheckCommand", "8bb"), 32202 exact: true, 32203 sidebar: "api", 32204 id: 3693 32205 }, 32206 { 32207 path: "/api/plugin-version/class/VersionCommand", 32208 component: ComponentCreator("/api/plugin-version/class/VersionCommand", "2cf"), 32209 exact: true, 32210 sidebar: "api", 32211 id: 3708 32212 }, 32213 { 32214 path: "/api/plugin-version/namespace/versionUtils", 32215 component: ComponentCreator("/api/plugin-version/namespace/versionUtils", "ed8"), 32216 exact: true, 32217 sidebar: "api", 32218 id: 3728 32219 }, 32220 { 32221 path: "/api/plugin-workspace-tools", 32222 component: ComponentCreator("/api/plugin-workspace-tools", "b2c"), 32223 exact: true, 32224 sidebar: "api", 32225 id: 137 32226 }, 32227 { 32228 path: "/api/plugin-workspace-tools/class/WorkspacesFocusCommand", 32229 component: ComponentCreator("/api/plugin-workspace-tools/class/WorkspacesFocusCommand", "776"), 32230 exact: true, 32231 sidebar: "api", 32232 id: 3822 32233 }, 32234 { 32235 path: "/api/plugin-workspace-tools/class/WorkspacesForeachCommand", 32236 component: ComponentCreator("/api/plugin-workspace-tools/class/WorkspacesForeachCommand", "e7e"), 32237 exact: true, 32238 sidebar: "api", 32239 id: 3836 32240 }, 32241 { 32242 path: "/api/yarnpkg-builder", 32243 component: ComponentCreator("/api/yarnpkg-builder", "80f"), 32244 exact: true, 32245 sidebar: "api", 32246 id: 139 32247 }, 32248 { 32249 path: "/api/yarnpkg-builder/class/BuildBundleCommand", 32250 component: ComponentCreator("/api/yarnpkg-builder/class/BuildBundleCommand", "814"), 32251 exact: true, 32252 sidebar: "api", 32253 id: 3870 32254 }, 32255 { 32256 path: "/api/yarnpkg-builder/class/BuildPluginCommand", 32257 component: ComponentCreator("/api/yarnpkg-builder/class/BuildPluginCommand", "2bd"), 32258 exact: true, 32259 sidebar: "api", 32260 id: 3883 32261 }, 32262 { 32263 path: "/api/yarnpkg-builder/class/NewPluginCommand", 32264 component: ComponentCreator("/api/yarnpkg-builder/class/NewPluginCommand", "b61"), 32265 exact: true, 32266 sidebar: "api", 32267 id: 3893 32268 }, 32269 { 32270 path: "/api/yarnpkg-cli", 32271 component: ComponentCreator("/api/yarnpkg-cli", "e2a"), 32272 exact: true, 32273 sidebar: "api", 32274 id: 140 32275 }, 32276 { 32277 path: "/api/yarnpkg-cli/class/BaseCommand", 32278 component: ComponentCreator("/api/yarnpkg-cli/class/BaseCommand", "34a"), 32279 exact: true, 32280 sidebar: "api", 32281 id: 3911 32282 }, 32283 { 32284 path: "/api/yarnpkg-cli/class/WorkspaceRequiredError", 32285 component: ComponentCreator("/api/yarnpkg-cli/class/WorkspaceRequiredError", "64e"), 32286 exact: true, 32287 sidebar: "api", 32288 id: 3919 32289 }, 32290 { 32291 path: "/api/yarnpkg-core", 32292 component: ComponentCreator("/api/yarnpkg-core", "b35"), 32293 exact: true, 32294 sidebar: "api", 32295 id: 142 32296 }, 32297 { 32298 path: "/api/yarnpkg-core-semverUtils", 32299 component: ComponentCreator("/api/yarnpkg-core-semverUtils", "40d"), 32300 exact: true, 32301 sidebar: "api", 32302 id: 360 32303 }, 32304 { 32305 path: "/api/yarnpkg-core-structUtils", 32306 component: ComponentCreator("/api/yarnpkg-core-structUtils", "b88"), 32307 exact: true, 32308 sidebar: "api", 32309 id: 143 32310 }, 32311 { 32312 path: "/api/yarnpkg-core/class/Cache", 32313 component: ComponentCreator("/api/yarnpkg-core/class/Cache", "020"), 32314 exact: true, 32315 sidebar: "api", 32316 id: 3962 32317 }, 32318 { 32319 path: "/api/yarnpkg-core/class/Configuration", 32320 component: ComponentCreator("/api/yarnpkg-core/class/Configuration", "8dc"), 32321 exact: true, 32322 sidebar: "api", 32323 id: 4035 32324 }, 32325 { 32326 path: "/api/yarnpkg-core/class/LegacyMigrationResolver", 32327 component: ComponentCreator("/api/yarnpkg-core/class/LegacyMigrationResolver", "adb"), 32328 exact: true, 32329 sidebar: "api", 32330 id: 4551 32331 }, 32332 { 32333 path: "/api/yarnpkg-core/class/LightReport", 32334 component: ComponentCreator("/api/yarnpkg-core/class/LightReport", "284"), 32335 exact: true, 32336 sidebar: "api", 32337 id: 4603 32338 }, 32339 { 32340 path: "/api/yarnpkg-core/class/LockfileResolver", 32341 component: ComponentCreator("/api/yarnpkg-core/class/LockfileResolver", "e07"), 32342 exact: true, 32343 sidebar: "api", 32344 id: 4822 32345 }, 32346 { 32347 path: "/api/yarnpkg-core/class/Manifest", 32348 component: ComponentCreator("/api/yarnpkg-core/class/Manifest", "3d7"), 32349 exact: true, 32350 sidebar: "api", 32351 id: 4866 32352 }, 32353 { 32354 path: "/api/yarnpkg-core/class/MultiFetcher", 32355 component: ComponentCreator("/api/yarnpkg-core/class/MultiFetcher", "3ea"), 32356 exact: true, 32357 sidebar: "api", 32358 id: 5093 32359 }, 32360 { 32361 path: "/api/yarnpkg-core/class/Project", 32362 component: ComponentCreator("/api/yarnpkg-core/class/Project", "c57"), 32363 exact: true, 32364 sidebar: "api", 32365 id: 5330 32366 }, 32367 { 32368 path: "/api/yarnpkg-core/class/Report", 32369 component: ComponentCreator("/api/yarnpkg-core/class/Report", "02b"), 32370 exact: true, 32371 sidebar: "api", 32372 id: 5506 32373 }, 32374 { 32375 path: "/api/yarnpkg-core/class/ReportError", 32376 component: ComponentCreator("/api/yarnpkg-core/class/ReportError", "0af"), 32377 exact: true, 32378 sidebar: "api", 32379 id: 5491 32380 }, 32381 { 32382 path: "/api/yarnpkg-core/class/StreamReport", 32383 component: ComponentCreator("/api/yarnpkg-core/class/StreamReport", "cd7"), 32384 exact: true, 32385 sidebar: "api", 32386 id: 5731 32387 }, 32388 { 32389 path: "/api/yarnpkg-core/class/TelemetryManager", 32390 component: ComponentCreator("/api/yarnpkg-core/class/TelemetryManager", "701"), 32391 exact: true, 32392 sidebar: "api", 32393 id: 6027 32394 }, 32395 { 32396 path: "/api/yarnpkg-core/class/ThrowReport", 32397 component: ComponentCreator("/api/yarnpkg-core/class/ThrowReport", "85d"), 32398 exact: true, 32399 sidebar: "api", 32400 id: 6091 32401 }, 32402 { 32403 path: "/api/yarnpkg-core/class/VirtualFetcher", 32404 component: ComponentCreator("/api/yarnpkg-core/class/VirtualFetcher", "95c"), 32405 exact: true, 32406 sidebar: "api", 32407 id: 6267 32408 }, 32409 { 32410 path: "/api/yarnpkg-core/class/Workspace", 32411 component: ComponentCreator("/api/yarnpkg-core/class/Workspace", "54e"), 32412 exact: true, 32413 sidebar: "api", 32414 id: 6388 32415 }, 32416 { 32417 path: "/api/yarnpkg-core/class/WorkspaceFetcher", 32418 component: ComponentCreator("/api/yarnpkg-core/class/WorkspaceFetcher", "bd8"), 32419 exact: true, 32420 sidebar: "api", 32421 id: 6307 32422 }, 32423 { 32424 path: "/api/yarnpkg-core/class/WorkspaceResolver", 32425 component: ComponentCreator("/api/yarnpkg-core/class/WorkspaceResolver", "d33"), 32426 exact: true, 32427 sidebar: "api", 32428 id: 6329 32429 }, 32430 { 32431 path: "/api/yarnpkg-core/enum/BuildDirectiveType", 32432 component: ComponentCreator("/api/yarnpkg-core/enum/BuildDirectiveType", "459"), 32433 exact: true, 32434 sidebar: "api", 32435 id: 4499 32436 }, 32437 { 32438 path: "/api/yarnpkg-core/enum/DurationUnit", 32439 component: ComponentCreator("/api/yarnpkg-core/enum/DurationUnit", "a17"), 32440 exact: true, 32441 sidebar: "api", 32442 id: 4313 32443 }, 32444 { 32445 path: "/api/yarnpkg-core/enum/InstallMode", 32446 component: ComponentCreator("/api/yarnpkg-core/enum/InstallMode", "5d9"), 32447 exact: true, 32448 sidebar: "api", 32449 id: 5488 32450 }, 32451 { 32452 path: "/api/yarnpkg-core/enum/LinkType", 32453 component: ComponentCreator("/api/yarnpkg-core/enum/LinkType", "4c4"), 32454 exact: true, 32455 sidebar: "api", 32456 id: 6482 32457 }, 32458 { 32459 path: "/api/yarnpkg-core/enum/MessageName", 32460 component: ComponentCreator("/api/yarnpkg-core/enum/MessageName", "d12"), 32461 exact: true, 32462 sidebar: "api", 32463 id: 4993 32464 }, 32465 { 32466 path: "/api/yarnpkg-core/enum/PackageExtensionStatus", 32467 component: ComponentCreator("/api/yarnpkg-core/enum/PackageExtensionStatus", "930"), 32468 exact: true, 32469 sidebar: "api", 32470 id: 6489 32471 }, 32472 { 32473 path: "/api/yarnpkg-core/enum/PackageExtensionType", 32474 component: ComponentCreator("/api/yarnpkg-core/enum/PackageExtensionType", "da3"), 32475 exact: true, 32476 sidebar: "api", 32477 id: 6485 32478 }, 32479 { 32480 path: "/api/yarnpkg-core/enum/PeerWarningType", 32481 component: ComponentCreator("/api/yarnpkg-core/enum/PeerWarningType", "bae"), 32482 exact: true, 32483 sidebar: "api", 32484 id: 5325 32485 }, 32486 { 32487 path: "/api/yarnpkg-core/enum/SettingsType", 32488 component: ComponentCreator("/api/yarnpkg-core/enum/SettingsType", "38e"), 32489 exact: true, 32490 sidebar: "api", 32491 id: 4301 32492 }, 32493 { 32494 path: "/api/yarnpkg-core/enum/WindowsLinkType", 32495 component: ComponentCreator("/api/yarnpkg-core/enum/WindowsLinkType", "6e9"), 32496 exact: true, 32497 sidebar: "api", 32498 id: 4320 32499 }, 32500 { 32501 path: "/api/yarnpkg-core/interface/ConfigurationValueMap", 32502 component: ComponentCreator("/api/yarnpkg-core/interface/ConfigurationValueMap", "fd0"),
32503 exact: true, 32504 sidebar: "api", 32505 id: 4330 32506 }, 32507 { 32508 path: "/api/yarnpkg-core/interface/DependencyMeta", 32509 component: ComponentCreator("/api/yarnpkg-core/interface/DependencyMeta", "14d"), 32510 exact: true, 32511 sidebar: "api", 32512 id: 4987 32513 }, 32514 { 32515 path: "/api/yarnpkg-core/interface/Descriptor", 32516 component: ComponentCreator("/api/yarnpkg-core/interface/Descriptor", "062"), 32517 exact: true, 32518 sidebar: "api", 32519 id: 6439 32520 }, 32521 { 32522 path: "/api/yarnpkg-core/interface/Fetcher", 32523 component: ComponentCreator("/api/yarnpkg-core/interface/Fetcher", "707"), 32524 exact: true, 32525 sidebar: "api", 32526 id: 4466 32527 }, 32528 { 32529 path: "/api/yarnpkg-core/interface/Hooks", 32530 component: ComponentCreator("/api/yarnpkg-core/interface/Hooks", "012"), 32531 exact: true, 32532 sidebar: "api", 32533 id: 5119 32534 }, 32535 { 32536 path: "/api/yarnpkg-core/interface/Ident", 32537 component: ComponentCreator("/api/yarnpkg-core/interface/Ident", "98e"), 32538 exact: true, 32539 sidebar: "api", 32540 id: 6435 32541 }, 32542 { 32543 path: "/api/yarnpkg-core/interface/Installer", 32544 component: ComponentCreator("/api/yarnpkg-core/interface/Installer", "d4f"), 32545 exact: true, 32546 sidebar: "api", 32547 id: 4502 32548 }, 32549 { 32550 path: "/api/yarnpkg-core/interface/Linker", 32551 component: ComponentCreator("/api/yarnpkg-core/interface/Linker", "2c5"), 32552 exact: true, 32553 sidebar: "api", 32554 id: 4798 32555 }, 32556 { 32557 path: "/api/yarnpkg-core/interface/Locator", 32558 component: ComponentCreator("/api/yarnpkg-core/interface/Locator", "5fe"), 32559 exact: true, 32560 sidebar: "api", 32561 id: 6445 32562 }, 32563 { 32564 path: "/api/yarnpkg-core/interface/Package", 32565 component: ComponentCreator("/api/yarnpkg-core/interface/Package", "f17"), 32566 exact: true, 32567 sidebar: "api", 32568 id: 6451 32569 }, 32570 { 32571 path: "/api/yarnpkg-core/interface/PeerDependencyMeta", 32572 component: ComponentCreator("/api/yarnpkg-core/interface/PeerDependencyMeta", "d37"), 32573 exact: true, 32574 sidebar: "api", 32575 id: 4991 32576 }, 32577 { 32578 path: "/api/yarnpkg-core/interface/PluginMeta", 32579 component: ComponentCreator("/api/yarnpkg-core/interface/PluginMeta", "ca3"), 32580 exact: true, 32581 sidebar: "api", 32582 id: 5269 32583 }, 32584 { 32585 path: "/api/yarnpkg-core/interface/Resolver", 32586 component: ComponentCreator("/api/yarnpkg-core/interface/Resolver", "308"), 32587 exact: true, 32588 sidebar: "api", 32589 id: 5683 32590 }, 32591 { 32592 path: "/api/yarnpkg-core/namespace/execUtils", 32593 component: ComponentCreator("/api/yarnpkg-core/namespace/execUtils", "149"), 32594 exact: true, 32595 sidebar: "api", 32596 id: 6587 32597 }, 32598 { 32599 path: "/api/yarnpkg-core/namespace/folderUtils", 32600 component: ComponentCreator("/api/yarnpkg-core/namespace/folderUtils", "121"), 32601 exact: true, 32602 sidebar: "api", 32603 id: 6682 32604 }, 32605 { 32606 path: "/api/yarnpkg-core/namespace/formatUtils", 32607 component: ComponentCreator("/api/yarnpkg-core/namespace/formatUtils", "0bc"), 32608 exact: true, 32609 sidebar: "api", 32610 id: 6691 32611 }, 32612 { 32613 path: "/api/yarnpkg-core/namespace/hashUtils", 32614 component: ComponentCreator("/api/yarnpkg-core/namespace/hashUtils", "a3f"), 32615 exact: true, 32616 sidebar: "api", 32617 id: 6493 32618 }, 32619 { 32620 path: "/api/yarnpkg-core/namespace/httpUtils", 32621 component: ComponentCreator("/api/yarnpkg-core/namespace/httpUtils", "22d"), 32622 exact: true, 32623 sidebar: "api", 32624 id: 6511 32625 }, 32626 { 32627 path: "/api/yarnpkg-core/namespace/miscUtils", 32628 component: ComponentCreator("/api/yarnpkg-core/namespace/miscUtils", "2ab"), 32629 exact: true, 32630 sidebar: "api", 32631 id: 6808 32632 }, 32633 { 32634 path: "/api/yarnpkg-core/namespace/nodeUtils", 32635 component: ComponentCreator("/api/yarnpkg-core/namespace/nodeUtils", "578"), 32636 exact: true, 32637 sidebar: "api", 32638 id: 7094 32639 }, 32640 { 32641 path: "/api/yarnpkg-core/namespace/scriptUtils", 32642 component: ComponentCreator("/api/yarnpkg-core/namespace/scriptUtils", "5ec"), 32643 exact: true, 32644 sidebar: "api", 32645 id: 7128 32646 }, 32647 { 32648 path: "/api/yarnpkg-core/namespace/tgzUtils", 32649 component: ComponentCreator("/api/yarnpkg-core/namespace/tgzUtils", "eb6"), 32650 exact: true, 32651 sidebar: "api", 32652 id: 7220 32653 }, 32654 { 32655 path: "/api/yarnpkg-core/namespace/treeUtils", 32656 component: ComponentCreator("/api/yarnpkg-core/namespace/treeUtils", "4b3"), 32657 exact: true, 32658 sidebar: "api", 32659 id: 7264 32660 }, 32661 { 32662 path: "/api/yarnpkg-extensions", 32663 component: ComponentCreator("/api/yarnpkg-extensions", "51b"), 32664 exact: true, 32665 sidebar: "api", 32666 id: 391 32667 }, 32668 { 32669 path: "/api/yarnpkg-fslib", 32670 component: ComponentCreator("/api/yarnpkg-fslib", "39e"), 32671 exact: true, 32672 sidebar: "api", 32673 id: 393 32674 }, 32675 { 32676 path: "/api/yarnpkg-fslib/class/AliasFS", 32677 component: ComponentCreator("/api/yarnpkg-fslib/class/AliasFS", "fdf"), 32678 exact: true, 32679 sidebar: "api", 32680 id: 7767 32681 }, 32682 { 32683 path: "/api/yarnpkg-fslib/class/BasePortableFakeFS", 32684 component: ComponentCreator("/api/yarnpkg-fslib/class/BasePortableFakeFS", "4fc"), 32685 exact: true, 32686 sidebar: "api", 32687 id: 9282 32688 }, 32689 { 32690 path: "/api/yarnpkg-fslib/class/CustomDir", 32691 component: ComponentCreator("/api/yarnpkg-fslib/class/CustomDir", "824"), 32692 exact: true, 32693 sidebar: "api", 32694 id: 7501 32695 }, 32696 { 32697 path: "/api/yarnpkg-fslib/class/CwdFS", 32698 component: ComponentCreator("/api/yarnpkg-fslib/class/CwdFS", "e31"), 32699 exact: true, 32700 sidebar: "api", 32701 id: 10027 32702 }, 32703 { 32704 path: "/api/yarnpkg-fslib/class/FakeFS", 32705 component: ComponentCreator("/api/yarnpkg-fslib/class/FakeFS", "ef2"), 32706 exact: true, 32707 sidebar: "api", 32708 id: 8502 32709 }, 32710 { 32711 path: "/api/yarnpkg-fslib/class/JailFS", 32712 component: ComponentCreator("/api/yarnpkg-fslib/class/JailFS", "c27"), 32713 exact: true, 32714 sidebar: "api", 32715 id: 10758 32716 }, 32717 { 32718 path: "/api/yarnpkg-fslib/class/LazyFS", 32719 component: ComponentCreator("/api/yarnpkg-fslib/class/LazyFS", "cf9"), 32720 exact: true, 32721 sidebar: "api", 32722 id: 11493 32723 }, 32724 { 32725 path: "/api/yarnpkg-fslib/class/MountFS", 32726 component: ComponentCreator("/api/yarnpkg-fslib/class/MountFS", "4be"), 32727 exact: true, 32728 sidebar: "api", 32729 id: 12230 32730 }, 32731 { 32732 path: "/api/yarnpkg-fslib/class/NodeFS", 32733 component: ComponentCreator("/api/yarnpkg-fslib/class/NodeFS", "5be"), 32734 exact: true, 32735 sidebar: "api", 32736 id: 14138 32737 }, 32738 { 32739 path: "/api/yarnpkg-fslib/class/NoFS", 32740 component: ComponentCreator("/api/yarnpkg-fslib/class/NoFS", "8e2"), 32741 exact: true, 32742 sidebar: "api", 32743 id: 13833 32744 }, 32745 { 32746 path: "/api/yarnpkg-fslib/class/PosixFS", 32747 component: ComponentCreator("/api/yarnpkg-fslib/class/PosixFS", "558"), 32748 exact: true, 32749 sidebar: "api", 32750 id: 14875 32751 }, 32752 { 32753 path: "/api/yarnpkg-fslib/class/ProxiedFS", 32754 component: ComponentCreator("/api/yarnpkg-fslib/class/ProxiedFS", "7c1"), 32755 exact: true, 32756 sidebar: "api", 32757 id: 15604 32758 }, 32759 { 32760 path: "/api/yarnpkg-fslib/class/VirtualFS", 32761 component: ComponentCreator("/api/yarnpkg-fslib/class/VirtualFS", "972"), 32762 exact: true, 32763 sidebar: "api", 32764 id: 16340 32765 }, 32766 { 32767 path: "/api/yarnpkg-fslib/interface/FormatInputPathObject", 32768 component: ComponentCreator("/api/yarnpkg-fslib/interface/FormatInputPathObject", "845"),
32769 exact: true, 32770 sidebar: "api", 32771 id: 7758 32772 }, 32773 { 32774 path: "/api/yarnpkg-fslib/interface/MountableFS", 32775 component: ComponentCreator("/api/yarnpkg-fslib/interface/MountableFS", "42a"), 32776 exact: true, 32777 sidebar: "api", 32778 id: 13061 32779 }, 32780 { 32781 path: "/api/yarnpkg-fslib/interface/ParsedPath", 32782 component: ComponentCreator("/api/yarnpkg-fslib/interface/ParsedPath", "95d"), 32783 exact: true, 32784 sidebar: "api", 32785 id: 7709 32786 }, 32787 { 32788 path: "/api/yarnpkg-fslib/interface/PathUtils", 32789 component: ComponentCreator("/api/yarnpkg-fslib/interface/PathUtils", "6eb"), 32790 exact: true, 32791 sidebar: "api", 32792 id: 7716 32793 }, 32794 { 32795 path: "/api/yarnpkg-fslib/interface/StatOptions", 32796 component: ComponentCreator("/api/yarnpkg-fslib/interface/StatOptions", "d4c"), 32797 exact: true, 32798 sidebar: "api", 32799 id: 7668 32800 }, 32801 { 32802 path: "/api/yarnpkg-fslib/interface/StatSyncOptions", 32803 component: ComponentCreator("/api/yarnpkg-fslib/interface/StatSyncOptions", "141"), 32804 exact: true, 32805 sidebar: "api", 32806 id: 7670 32807 }, 32808 { 32809 path: "/api/yarnpkg-fslib/namespace/constants", 32810 component: ComponentCreator("/api/yarnpkg-fslib/namespace/constants", "d58"), 32811 exact: true, 32812 sidebar: "api", 32813 id: 7308 32814 }, 32815 { 32816 path: "/api/yarnpkg-fslib/namespace/errors", 32817 component: ComponentCreator("/api/yarnpkg-fslib/namespace/errors", "681"), 32818 exact: true, 32819 sidebar: "api", 32820 id: 7314 32821 }, 32822 { 32823 path: "/api/yarnpkg-fslib/namespace/statUtils", 32824 component: ComponentCreator("/api/yarnpkg-fslib/namespace/statUtils", "f0c"), 32825 exact: true, 32826 sidebar: "api", 32827 id: 7375 32828 }, 32829 { 32830 path: "/api/yarnpkg-libzip", 32831 component: ComponentCreator("/api/yarnpkg-libzip", "419"), 32832 exact: true, 32833 sidebar: "api", 32834 id: 849 32835 }, 32836 { 32837 path: "/api/yarnpkg-libzip-[browser]", 32838 component: ComponentCreator("/api/yarnpkg-libzip-[browser]", "128"), 32839 exact: true, 32840 sidebar: "api", 32841 id: 394 32842 }, 32843 { 32844 path: "/api/yarnpkg-libzip-[browser]/class/ZipFS", 32845 component: ComponentCreator("/api/yarnpkg-libzip-[browser]/class/ZipFS", "1bc"), 32846 exact: true, 32847 sidebar: "api", 32848 id: 17947 32849 }, 32850 { 32851 path: "/api/yarnpkg-libzip-[browser]/class/ZipOpenFS", 32852 component: ComponentCreator("/api/yarnpkg-libzip-[browser]/class/ZipOpenFS", "acf"), 32853 exact: true, 32854 sidebar: "api", 32855 id: 17130 32856 }, 32857 { 32858 path: "/api/yarnpkg-libzip-[browser]/interface/Stat", 32859 component: ComponentCreator("/api/yarnpkg-libzip-[browser]/interface/Stat", "624"), 32860 exact: true, 32861 sidebar: "api", 32862 id: 17885 32863 }, 32864 { 32865 path: "/api/yarnpkg-libzip-[browser]/interface/ZipImpl", 32866 component: ComponentCreator("/api/yarnpkg-libzip-[browser]/interface/ZipImpl", "37b"), 32867 exact: true, 32868 sidebar: "api", 32869 id: 17889 32870 }, 32871 { 32872 path: "/api/yarnpkg-libzip-[browser]/interface/ZipImplementationClass", 32873 component: ComponentCreator("/api/yarnpkg-libzip-[browser]/interface/ZipImplementationClass", "eed"), 32874 exact: true, 32875 sidebar: "api", 32876 id: 17943 32877 }, 32878 { 32879 path: "/api/yarnpkg-libzip/class/JsZipImpl", 32880 component: ComponentCreator("/api/yarnpkg-libzip/class/JsZipImpl", "12a"), 32881 exact: true, 32882 sidebar: "api", 32883 id: 19292 32884 }, 32885 { 32886 path: "/api/yarnpkg-libzip/class/LibZipImpl", 32887 component: ComponentCreator("/api/yarnpkg-libzip/class/LibZipImpl", "790"), 32888 exact: true, 32889 sidebar: "api", 32890 id: 19348 32891 }, 32892 { 32893 path: "/api/yarnpkg-libzip/class/ZipFS", 32894 component: ComponentCreator("/api/yarnpkg-libzip/class/ZipFS", "73b"), 32895 exact: true, 32896 sidebar: "api", 32897 id: 20476 32898 }, 32899 {
32900 path: "/api/yarnpkg-libzip/class/ZipOpenFS", 32901 component: ComponentCreator("/api/yarnpkg-libzip/class/ZipOpenFS", "06e"), 32902 exact: true, 32903 sidebar: "api", 32904 id: 19659 32905 }, 32906 { 32907 path: "/api/yarnpkg-libzip/interface/Stat", 32908 component: ComponentCreator("/api/yarnpkg-libzip/interface/Stat", "ba0"), 32909 exact: true, 32910 sidebar: "api", 32911 id: 20414 32912 }, 32913 { 32914 path: "/api/yarnpkg-libzip/interface/ZipImpl", 32915 component: ComponentCreator("/api/yarnpkg-libzip/interface/ZipImpl", "7d0"), 32916 exact: true, 32917 sidebar: "api", 32918 id: 20418 32919 }, 32920 { 32921 path: "/api/yarnpkg-libzip/interface/ZipImplementationClass", 32922 component: ComponentCreator("/api/yarnpkg-libzip/interface/ZipImplementationClass", "84f"), 32923 exact: true, 32924 sidebar: "api", 32925 id: 20472 32926 }, 32927 { 32928 path: "/api/yarnpkg-nm", 32929 component: ComponentCreator("/api/yarnpkg-nm", "445"), 32930 exact: true, 32931 sidebar: "api", 32932 id: 850 32933 }, 32934 { 32935 path: "/api/yarnpkg-nm-hoist", 32936 component: ComponentCreator("/api/yarnpkg-nm-hoist", "76f"), 32937 exact: true, 32938 sidebar: "api", 32939 id: 851 32940 }, 32941 { 32942 path: "/api/yarnpkg-nm-hoist/enum/HoisterDependencyKind", 32943 component: ComponentCreator("/api/yarnpkg-nm-hoist/enum/HoisterDependencyKind", "ed5"), 32944 exact: true, 32945 sidebar: "api", 32946 id: 852 32947 }, 32948 { 32949 path: "/api/yarnpkg-nm/enum/NodeModulesHoistingLimits", 32950 component: ComponentCreator("/api/yarnpkg-nm/enum/NodeModulesHoistingLimits", "acb"), 32951 exact: true, 32952 sidebar: "api", 32953 id: 21398 32954 }, 32955 { 32956 path: "/api/yarnpkg-nm/interface/NodeModulesTreeOptions", 32957 component: ComponentCreator("/api/yarnpkg-nm/interface/NodeModulesTreeOptions", "214"), 32958 exact: true, 32959 sidebar: "api", 32960 id: 21377 32961 }, 32962 { 32963 path: "/api/yarnpkg-parsers", 32964 component: ComponentCreator("/api/yarnpkg-parsers", "2be"), 32965 exact: true, 32966 sidebar: "api", 32967 id: 880 32968 }, 32969 { 32970 path: "/api/yarnpkg-pnp", 32971 component: ComponentCreator("/api/yarnpkg-pnp", "8eb"), 32972 exact: true, 32973 sidebar: "api", 32974 id: 881 32975 }, 32976 { 32977 path: "/api/yarnpkg-pnp-sources/esm-loader/loaderFlags", 32978 component: ComponentCreator("/api/yarnpkg-pnp-sources/esm-loader/loaderFlags", "024"), 32979 exact: true, 32980 sidebar: "api", 32981 id: 882 32982 }, 32983 { 32984 path: "/api/yarnpkg-pnp/enum/LinkType", 32985 component: ComponentCreator("/api/yarnpkg-pnp/enum/LinkType", "476"), 32986 exact: true, 32987 sidebar: "api", 32988 id: 21554 32989 }, 32990 { 32991 path: "/api/yarnpkg-pnpify", 32992 component: ComponentCreator("/api/yarnpkg-pnpify", "dc8"), 32993 exact: true, 32994 sidebar: "api", 32995 id: 890 32996 }, 32997 { 32998 path: "/api/yarnpkg-pnpify-cli", 32999 component: ComponentCreator("/api/yarnpkg-pnpify-cli", "4c3"), 33000 exact: true, 33001 sidebar: "api", 33002 id: 894 33003 }, 33004 { 33005 path: "/api/yarnpkg-pnpify-utils", 33006 component: ComponentCreator("/api/yarnpkg-pnpify-utils", "ec9"), 33007 exact: true, 33008 sidebar: "api", 33009 id: 893 33010 }, 33011 { 33012 path: "/api/yarnpkg-pnpify-utils/class/NodeModulesFS", 33013 component: ComponentCreator("/api/yarnpkg-pnpify-utils/class/NodeModulesFS", "3a1"), 33014 exact: true, 33015 sidebar: "api", 33016 id: 21756 33017 }, 33018 { 33019 path: "/api/yarnpkg-pnpify-utils/class/PortableNodeModulesFS", 33020 component: ComponentCreator("/api/yarnpkg-pnpify-utils/class/PortableNodeModulesFS", "b7f"), 33021 exact: true, 33022 sidebar: "api", 33023 id: 22486 33024 }, 33025 { 33026 path: "/api/yarnpkg-pnpify-utils/class/RunCommand", 33027 component: ComponentCreator("/api/yarnpkg-pnpify-utils/class/RunCommand", "cc4"), 33028 exact: true, 33029 sidebar: "api", 33030 id: 21718 33031 }, 33032 { 33033 path: "/api/yarnpkg-pnpify-utils/class/SdkCommand", 33034 component: ComponentCreator("/api/yarnpkg-pnpify-utils/class/SdkCommand", "5cc"), 33035 exact: true, 33036 sidebar: "api", 33037 id: 21728 33038 }, 33039 { 33040 path: "/api/yarnpkg-pnpify-utils/interface/PortableNodeModulesFSOptions", 33041 component: ComponentCreator("/api/yarnpkg-pnpify-utils/interface/PortableNodeModulesFSOptions", "42f"), 33042 exact: true, 33043 sidebar: "api", 33044 id: 21749 33045 }, 33046 { 33047 path: "/api/yarnpkg-pnpify-utils/interface/ResolvedPath", 33048 component: ComponentCreator("/api/yarnpkg-pnpify-utils/interface/ResolvedPath", "3fe"), 33049 exact: true, 33050 sidebar: "api", 33051 id: 21736 33052 }, 33053 { 33054 path: "/api/yarnpkg-sdks", 33055 component: ComponentCreator("/api/yarnpkg-sdks", "b61"), 33056 exact: true, 33057 sidebar: "api", 33058 id: 895 33059 }, 33060 { 33061 path: "/api/yarnpkg-sdks/class/SdkCommand", 33062 component: ComponentCreator("/api/yarnpkg-sdks/class/SdkCommand", "bb9"), 33063 exact: true, 33064 sidebar: "api", 33065 id: 23226 33066 }, 33067 { 33068 path: "/api/yarnpkg-sdks/namespace/sdkUtils", 33069 component: ComponentCreator("/api/yarnpkg-sdks/namespace/sdkUtils", "363"), 33070 exact: true, 33071 sidebar: "api", 33072 id: 23236 33073 }, 33074 { 33075 path: "/api/yarnpkg-shell", 33076 component: ComponentCreator("/api/yarnpkg-shell", "928"), 33077 exact: true, 33078 sidebar: "api", 33079 id: 896 33080 }, 33081 { 33082 path: "/api/yarnpkg-shell/class/EntryCommand", 33083 component: ComponentCreator("/api/yarnpkg-shell/class/EntryCommand", "386"), 33084 exact: true, 33085 sidebar: "api", 33086 id: 23242 33087 }, 33088 { 33089 path: "/api/yarnpkg-shell/class/ShellError", 33090 component: ComponentCreator("/api/yarnpkg-shell/class/ShellError", "669"), 33091 exact: true, 33092 sidebar: "api", 33093 id: 23251 33094 }, 33095 { 33096 path: "/api/yarnpkg-shell/namespace/globUtils", 33097 component: ComponentCreator("/api/yarnpkg-shell/namespace/globUtils", "b71"), 33098 exact: true, 33099 sidebar: "api", 33100 id: 23255 33101 }, 33102 { 33103 path: "/api/yarnpkg-types", 33104 component: ComponentCreator("/api/yarnpkg-types", "44e"), 33105 exact: true, 33106 sidebar: "api", 33107 id: 959 33108 }, 33109 { 33110 path: "/api/yarnpkg-types/namespace/Yarn", 33111 component: ComponentCreator("/api/yarnpkg-types/namespace/Yarn", "b42"), 33112 exact: true, 33113 sidebar: "api", 33114 id: 23285 33115 } 33116 ] 33117 } 33118 ] 33119 } 33120 ] 33121 }, 33122 { 33123 path: "/cli", 33124 component: ComponentCreator("/cli", "9df"), 33125 routes: [ 33126 { 33127 path: "/cli", 33128 component: ComponentCreator("/cli", "8e7"), 33129 routes: [ 33130 { 33131 path: "/cli", 33132 component: ComponentCreator("/cli", "e4a"), 33133 routes: [ 33134 { 33135 path: "/cli", 33136 component: ComponentCreator("/cli", "46b"), 33137 exact: true, 33138 sidebar: "cli" 33139 }, 33140 { 33141 path: "/cli/add", 33142 component: ComponentCreator("/cli/add", "6c6"), 33143 exact: true, 33144 sidebar: "cli" 33145 }, 33146 { 33147 path: "/cli/bin", 33148 component: ComponentCreator("/cli/bin", "da0"), 33149 exact: true, 33150 sidebar: "cli" 33151 }, 33152 { 33153 path: "/cli/builder", 33154 component: ComponentCreator("/cli/builder", "e65"), 33155 exact: true, 33156 sidebar: "cli" 33157 }, 33158 { 33159 path: "/cli/builder/build/bundle", 33160 component: ComponentCreator("/cli/builder/build/bundle", "f8e"), 33161 exact: true, 33162 sidebar: "cli" 33163 }, 33164 { 33165 path: "/cli/builder/build/plugin", 33166 component: ComponentCreator("/cli/builder/build/plugin", "13d"), 33167 exact: true, 33168 sidebar: "cli" 33169 }, 33170 { 33171 path: "/cli/builder/new/plugin", 33172 component: ComponentCreator("/cli/builder/new/plugin", "2e5"), 33173 exact: true, 33174 sidebar: "cli" 33175 }, 33176 { 33177 path: "/cli/cache/clean", 33178 component: ComponentCreator("/cli/cache/clean", "c07"), 33179 exact: true, 33180 sidebar: "cli" 33181 }, 33182 { 33183 path: "/cli/config", 33184 component: ComponentCreator("/cli/config", "291"), 33185 exact: true, 33186 sidebar: "cli" 33187 }, 33188 { 33189 path: "/cli/config/get", 33190 component: ComponentCreator("/cli/config/get", "6cf"), 33191 exact: true, 33192 sidebar: "cli" 33193 }, 33194 { 33195 path: "/cli/config/set", 33196 component: ComponentCreator("/cli/config/set", "fca"), 33197 exact: true, 33198 sidebar: "cli" 33199 }, 33200 { 33201 path: "/cli/config/unset", 33202 component: ComponentCreator("/cli/config/unset", "e31"), 33203 exact: true, 33204 sidebar: "cli" 33205 }, 33206 { 33207 path: "/cli/constraints", 33208 component: ComponentCreator("/cli/constraints", "db7"), 33209 exact: true, 33210 sidebar: "cli" 33211 }, 33212 { 33213 path: "/cli/constraints/query", 33214 component: ComponentCreator("/cli/constraints/query", "961"), 33215 exact: true, 33216 sidebar: "cli" 33217 }, 33218 { 33219 path: "/cli/constraints/source", 33220 component: ComponentCreator("/cli/constraints/source", "cc0"), 33221 exact: true, 33222 sidebar: "cli" 33223 }, 33224 { 33225 path: "/cli/dedupe", 33226 component: ComponentCreator("/cli/dedupe", "f3b"), 33227 exact: true, 33228 sidebar: "cli" 33229 }, 33230 { 33231 path: "/cli/dlx", 33232 component: ComponentCreator("/cli/dlx", "ef7"),
33233 exact: true, 33234 sidebar: "cli" 33235 }, 33236 { 33237 path: "/cli/exec", 33238 component: ComponentCreator("/cli/exec", "a9a"), 33239 exact: true, 33240 sidebar: "cli" 33241 }, 33242 { 33243 path: "/cli/explain", 33244 component: ComponentCreator("/cli/explain", "8ab"), 33245 exact: true, 33246 sidebar: "cli" 33247 }, 33248 { 33249 path: "/cli/explain/peer-requirements", 33250 component: ComponentCreator("/cli/explain/peer-requirements", "fec"), 33251 exact: true, 33252 sidebar: "cli" 33253 }, 33254 { 33255 path: "/cli/info", 33256 component: ComponentCreator("/cli/info", "916"), 33257 exact: true, 33258 sidebar: "cli" 33259 }, 33260 { 33261 path: "/cli/init", 33262 component: ComponentCreator("/cli/init", "6ee"), 33263 exact: true, 33264 sidebar: "cli" 33265 }, 33266 { 33267 path: "/cli/init", 33268 component: ComponentCreator("/cli/init", "573"), 33269 exact: true, 33270 sidebar: "cli" 33271 }, 33272 { 33273 path: "/cli/install", 33274 component: ComponentCreator("/cli/install", "df8"), 33275 exact: true, 33276 sidebar: "cli" 33277 }, 33278 { 33279 path: "/cli/link", 33280 component: ComponentCreator("/cli/link", "c40"), 33281 exact: true, 33282 sidebar: "cli" 33283 }, 33284 { 33285 path: "/cli/node", 33286 component: ComponentCreator("/cli/node", "f08"), 33287 exact: true, 33288 sidebar: "cli" 33289 }, 33290 { 33291 path: "/cli/npm/audit", 33292 component: ComponentCreator("/cli/npm/audit", "bfa"), 33293 exact: true, 33294 sidebar: "cli" 33295 }, 33296 { 33297 path: "/cli/npm/info", 33298 component: ComponentCreator("/cli/npm/info", "4b7"), 33299 exact: true, 33300 sidebar: "cli" 33301 }, 33302 { 33303 path: "/cli/npm/login", 33304 component: ComponentCreator("/cli/npm/login", "e55"), 33305 exact: true, 33306 sidebar: "cli" 33307 }, 33308 { 33309 path: "/cli/npm/logout", 33310 component: ComponentCreator("/cli/npm/logout", "d26"), 33311 exact: true, 33312 sidebar: "cli" 33313 }, 33314 { 33315 path: "/cli/npm/publish", 33316 component: ComponentCreator("/cli/npm/publish", "ce7"), 33317 exact: true, 33318 sidebar: "cli" 33319 }, 33320 { 33321 path: "/cli/npm/stage/approve", 33322 component: ComponentCreator("/cli/npm/stage/approve", "956"), 33323 exact: true, 33324 sidebar: "cli" 33325 }, 33326 { 33327 path: "/cli/npm/stage/list", 33328 component: ComponentCreator("/cli/npm/stage/list", "bcb"), 33329 exact: true, 33330 sidebar: "cli" 33331 }, 33332 { 33333 path: "/cli/npm/stage/reject", 33334 component: ComponentCreator("/cli/npm/stage/reject", "0dc"), 33335 exact: true, 33336 sidebar: "cli" 33337 }, 33338 { 33339 path: "/cli/npm/tag/add", 33340 component: ComponentCreator("/cli/npm/tag/add", "0c7"), 33341 exact: true, 33342 sidebar: "cli" 33343 }, 33344 { 33345 path: "/cli/npm/tag/list", 33346 component: ComponentCreator("/cli/npm/tag/list", "07b"), 33347 exact: true, 33348 sidebar: "cli" 33349 }, 33350 { 33351 path: "/cli/npm/tag/remove", 33352 component: ComponentCreator("/cli/npm/tag/remove", "c5c"), 33353 exact: true, 33354 sidebar: "cli" 33355 }, 33356 { 33357 path: "/cli/npm/whoami", 33358 component: ComponentCreator("/cli/npm/whoami", "5ea"), 33359 exact: true, 33360 sidebar: "cli" 33361 }, 33362 { 33363 path: "/cli/pack", 33364 component: ComponentCreator("/cli/pack", "eb5"), 33365 exact: true, 33366 sidebar: "cli" 33367 }, 33368 { 33369 path: "/cli/patch", 33370 component: ComponentCreator("/cli/patch", "0bf"), 33371 exact: true, 33372 sidebar: "cli" 33373 }, 33374 { 33375 path: "/cli/patch-commit", 33376 component: ComponentCreator("/cli/patch-commit", "5da"), 33377 exact: true, 33378 sidebar: "cli" 33379 }, 33380 { 33381 path: "/cli/plugin/check", 33382 component: ComponentCreator("/cli/plugin/check", "614"), 33383 exact: true, 33384 sidebar: "cli" 33385 }, 33386 { 33387 path: "/cli/plugin/import", 33388 component: ComponentCreator("/cli/plugin/import", "be2"), 33389 exact: true, 33390 sidebar: "cli" 33391 }, 33392 { 33393 path: "/cli/plugin/import/from/sources", 33394 component: ComponentCreator("/cli/plugin/import/from/sources", "319"), 33395 exact: true, 33396 sidebar: "cli" 33397 }, 33398 { 33399 path: "/cli/plugin/list", 33400 component: ComponentCreator("/cli/plugin/list", "09a"), 33401 exact: true, 33402 sidebar: "cli" 33403 }, 33404 { 33405 path: "/cli/plugin/remove", 33406 component: ComponentCreator("/cli/plugin/remove", "9c6"), 33407 exact: true, 33408 sidebar: "cli" 33409 }, 33410 { 33411 path: "/cli/plugin/runtime", 33412 component: ComponentCreator("/cli/plugin/runtime", "8ad"), 33413 exact: true, 33414 sidebar: "cli" 33415 }, 33416 { 33417 path: "/cli/pnpify", 33418 component: ComponentCreator("/cli/pnpify", "e94"), 33419 exact: true, 33420 sidebar: "cli" 33421 }, 33422 { 33423 path: "/cli/pnpify/run", 33424 component: ComponentCreator("/cli/pnpify/run", "8a4"), 33425 exact: true, 33426 sidebar: "cli" 33427 }, 33428 { 33429 path: "/cli/rebuild", 33430 component: ComponentCreator("/cli/rebuild", "7ec"), 33431 exact: true, 33432 sidebar: "cli" 33433 }, 33434 { 33435 path: "/cli/remove", 33436 component: ComponentCreator("/cli/remove", "6b7"), 33437 exact: true, 33438 sidebar: "cli" 33439 }, 33440 { 33441 path: "/cli/run", 33442 component: ComponentCreator("/cli/run", "d79"), 33443 exact: true, 33444 sidebar: "cli" 33445 }, 33446 { 33447 path: "/cli/sdks", 33448 component: ComponentCreator("/cli/sdks", "b79"), 33449 exact: true, 33450 sidebar: "cli" 33451 }, 33452 { 33453 path: "/cli/sdks/default", 33454 component: ComponentCreator("/cli/sdks/default", "57a"), 33455 exact: true, 33456 sidebar: "cli" 33457 }, 33458 { 33459 path: "/cli/search", 33460 component: ComponentCreator("/cli/search", "adf"), 33461 exact: true, 33462 sidebar: "cli" 33463 }, 33464 { 33465 path: "/cli/set/resolution", 33466 component: ComponentCreator("/cli/set/resolution", "e25"), 33467 exact: true, 33468 sidebar: "cli" 33469 }, 33470 { 33471 path: "/cli/set/version", 33472 component: ComponentCreator("/cli/set/version", "ebd"), 33473 exact: true, 33474 sidebar: "cli" 33475 }, 33476 { 33477 path: "/cli/set/version/from/sources", 33478 component: ComponentCreator("/cli/set/version/from/sources", "50f"), 33479 exact: true, 33480 sidebar: "cli" 33481 }, 33482 { 33483 path: "/cli/stage", 33484 component: ComponentCreator("/cli/stage", "3b5"), 33485 exact: true, 33486 sidebar: "cli" 33487 }, 33488 { 33489 path: "/cli/unlink", 33490 component: ComponentCreator("/cli/unlink", "7f7"), 33491 exact: true, 33492 sidebar: "cli" 33493 }, 33494 { 33495 path: "/cli/unplug", 33496 component: ComponentCreator("/cli/unplug", "d47"), 33497 exact: true, 33498 sidebar: "cli" 33499 }, 33500 { 33501 path: "/cli/up", 33502 component: ComponentCreator("/cli/up", "dbd"), 33503 exact: true, 33504 sidebar: "cli" 33505 }, 33506 { 33507 path: "/cli/upgrade-interactive", 33508 component: ComponentCreator("/cli/upgrade-interactive", "4a1"), 33509 exact: true, 33510 sidebar: "cli" 33511 }, 33512 { 33513 path: "/cli/version", 33514 component: ComponentCreator("/cli/version", "b34"), 33515 exact: true, 33516 sidebar: "cli" 33517 }, 33518 { 33519 path: "/cli/version/apply", 33520 component: ComponentCreator("/cli/version/apply", "97b"), 33521 exact: true, 33522 sidebar: "cli" 33523 }, 33524 { 33525 path: "/cli/version/check", 33526 component: ComponentCreator("/cli/version/check", "6a8"), 33527 exact: true, 33528 sidebar: "cli" 33529 }, 33530 { 33531 path: "/cli/why", 33532 component: ComponentCreator("/cli/why", "40e"), 33533 exact: true, 33534 sidebar: "cli" 33535 }, 33536 { 33537 path: "/cli/workspace", 33538 component: ComponentCreator("/cli/workspace", "2b7"), 33539 exact: true, 33540 sidebar: "cli" 33541 }, 33542 {
33543 path: "/cli/workspaces/focus", 33544 component: ComponentCreator("/cli/workspaces/focus", "f66"), 33545 exact: true, 33546 sidebar: "cli" 33547 }, 33548 { 33549 path: "/cli/workspaces/foreach", 33550 component: ComponentCreator("/cli/workspaces/foreach", "63c"), 33551 exact: true, 33552 sidebar: "cli" 33553 }, 33554 { 33555 path: "/cli/workspaces/list", 33556 component: ComponentCreator("/cli/workspaces/list", "3d4"), 33557 exact: true, 33558 sidebar: "cli" 33559 } 33560 ] 33561 } 33562 ] 33563 } 33564 ] 33565 }, 33566 { 33567 path: "/", 33568 component: ComponentCreator("/", "e5f"), 33569 exact: true 33570 }, 33571 { 33572 path: "/", 33573 component: ComponentCreator("/", "7e4"), 33574 routes: [ 33575 { 33576 path: "/", 33577 component: ComponentCreator("/", "167"), 33578 routes: [ 33579 { 33580 path: "/", 33581 component: ComponentCreator("/", "08d"), 33582 routes: [ 33583 { 33584 path: "/advanced/architecture", 33585 component: ComponentCreator("/advanced/architecture", "8e3"), 33586 exact: true, 33587 sidebar: "advanced" 33588 }, 33589 { 33590 path: "/advanced/changelog", 33591 component: ComponentCreator("/advanced/changelog", "e1a"), 33592 exact: true, 33593 sidebar: "advanced" 33594 }, 33595 { 33596 path: "/advanced/contributing", 33597 component: ComponentCreator("/advanced/contributing", "8e3"), 33598 exact: true, 33599 sidebar: "advanced" 33600 }, 33601 { 33602 path: "/advanced/error-codes", 33603 component: ComponentCreator("/advanced/error-codes", "12f"), 33604 exact: true, 33605 sidebar: "advanced" 33606 }, 33607 { 33608 path: "/advanced/lexicon", 33609 component: ComponentCreator("/advanced/lexicon", "c49"), 33610 exact: true, 33611 sidebar: "advanced" 33612 }, 33613 { 33614 path: "/advanced/lifecycle-scripts", 33615 component: ComponentCreator("/advanced/lifecycle-scripts", "56e"), 33616 exact: true, 33617 sidebar: "advanced" 33618 }, 33619 { 33620 path: "/advanced/plugin-tutorial", 33621 component: ComponentCreator("/advanced/plugin-tutorial", "def"), 33622 exact: true, 33623 sidebar: "advanced" 33624 }, 33625 { 33626 path: "/advanced/pnp-spec", 33627 component: ComponentCreator("/advanced/pnp-spec", "083"), 33628 exact: true, 33629 sidebar: "advanced" 33630 }, 33631 { 33632 path: "/advanced/pnpapi", 33633 component: ComponentCreator("/advanced/pnpapi", "025"), 33634 exact: true, 33635 sidebar: "advanced" 33636 }, 33637 { 33638 path: "/advanced/pnpify", 33639 component: ComponentCreator("/advanced/pnpify", "4c2"), 33640 exact: true, 33641 sidebar: "advanced" 33642 }, 33643 { 33644 path: "/advanced/rulebook", 33645 component: ComponentCreator("/advanced/rulebook", "b75"), 33646 exact: true, 33647 sidebar: "advanced" 33648 }, 33649 { 33650 path: "/advanced/telemetry", 33651 component: ComponentCreator("/advanced/telemetry", "06e"), 33652 exact: true, 33653 sidebar: "advanced" 33654 }, 33655 { 33656 path: "/configuration/manifest", 33657 component: ComponentCreator("/configuration/manifest", "f2f"), 33658 exact: true, 33659 sidebar: "configuration" 33660 }, 33661 { 33662 path: "/configuration/yarnrc", 33663 component: ComponentCreator("/configuration/yarnrc", "d07"), 33664 exact: true, 33665 sidebar: "configuration" 33666 }, 33667 { 33668 path: "/corepack", 33669 component: ComponentCreator("/corepack", "c9f"), 33670 exact: true, 33671 sidebar: "gettingStarted" 33672 }, 33673 { 33674 path: "/features/caching", 33675 component: ComponentCreator("/features/caching", "63a"), 33676 exact: true, 33677 sidebar: "features" 33678 }, 33679 { 33680 path: "/features/catalogs", 33681 component: ComponentCreator("/features/catalogs", "491"), 33682 exact: true, 33683 sidebar: "features" 33684 }, 33685 { 33686 path: "/features/constraints", 33687 component: ComponentCreator("/features/constraints", "728"), 33688 exact: true, 33689 sidebar: "features" 33690 }, 33691 { 33692 path: "/features/extensibility", 33693 component: ComponentCreator("/features/extensibility", "499"), 33694 exact: true, 33695 sidebar: "features" 33696 }, 33697 { 33698 path: "/features/linkers", 33699 component: ComponentCreator("/features/linkers", "60b"), 33700 exact: true, 33701 sidebar: "features" 33702 }, 33703 { 33704 path: "/features/patching", 33705 component: ComponentCreator("/features/patching", "89d"), 33706 exact: true, 33707 sidebar: "features" 33708 }, 33709 { 33710 path: "/features/performances", 33711 component: ComponentCreator("/features/performances", "5e6"), 33712 exact: true, 33713 sidebar: "features" 33714 }, 33715 { 33716 path: "/features/pnp", 33717 component: ComponentCreator("/features/pnp", "b1c"), 33718 exact: true, 33719 sidebar: "features" 33720 }, 33721 { 33722 path: "/features/release-workflow", 33723 component: ComponentCreator("/features/release-workflow", "632"), 33724 exact: true, 33725 sidebar: "features" 33726 }, 33727 { 33728 path: "/features/scripting", 33729 component: ComponentCreator("/features/scripting", "a10"), 33730 exact: true, 33731 sidebar: "features" 33732 }, 33733 { 33734 path: "/features/security", 33735 component: ComponentCreator("/features/security", "fdf"), 33736 exact: true, 33737 sidebar: "features" 33738 }, 33739 { 33740 path: "/features/workspaces", 33741 component: ComponentCreator("/features/workspaces", "ce1"), 33742 exact: true, 33743 sidebar: "features" 33744 }, 33745 { 33746 path: "/getting-started", 33747 component: ComponentCreator("/getting-started", "ade"), 33748 exact: true, 33749 sidebar: "gettingStarted" 33750 }, 33751 { 33752 path: "/getting-started/editor-sdks", 33753 component: ComponentCreator("/getting-started/editor-sdks", "533"), 33754 exact: true, 33755 sidebar: "gettingStarted" 33756 }, 33757 { 33758 path: "/getting-started/install", 33759 component: ComponentCreator("/getting-started/install", "d29"), 33760 exact: true, 33761 sidebar: "gettingStarted" 33762 }, 33763 { 33764 path: "/getting-started/qa", 33765 component: ComponentCreator("/getting-started/qa", "e65"), 33766 exact: true, 33767 sidebar: "gettingStarted" 33768 }, 33769 { 33770 path: "/getting-started/recipes", 33771 component: ComponentCreator("/getting-started/recipes", "5f5"), 33772 exact: true, 33773 sidebar: "gettingStarted" 33774 }, 33775 { 33776 path: "/getting-started/usage", 33777 component: ComponentCreator("/getting-started/usage", "b30"), 33778 exact: true, 33779 sidebar: "gettingStarted" 33780 }, 33781 { 33782 path: "/migration/guide", 33783 component: ComponentCreator("/migration/guide", "49e"), 33784 exact: true, 33785 sidebar: "gettingStarted" 33786 }, 33787 { 33788 path: "/migration/overview", 33789 component: ComponentCreator("/migration/overview", "afb"), 33790 exact: true, 33791 sidebar: "gettingStarted" 33792 }, 33793 { 33794 path: "/migration/pnp", 33795 component: ComponentCreator("/migration/pnp", "c2d"), 33796 exact: true, 33797 sidebar: "gettingStarted" 33798 }, 33799 { 33800 path: "/protocol/exec", 33801 component: ComponentCreator("/protocol/exec", "ea5"), 33802 exact: true, 33803 sidebar: "advanced" 33804 }, 33805 { 33806 path: "/protocol/file", 33807 component: ComponentCreator("/protocol/file", "120"), 33808 exact: true, 33809 sidebar: "advanced" 33810 }, 33811 { 33812 path: "/protocol/git", 33813 component: ComponentCreator("/protocol/git", "70d"), 33814 exact: true, 33815 sidebar: "advanced" 33816 }, 33817 { 33818 path: "/protocol/jsr", 33819 component: ComponentCreator("/protocol/jsr", "c49"), 33820 exact: true, 33821 sidebar: "advanced" 33822 }, 33823 { 33824 path: "/protocol/link", 33825 component: ComponentCreator("/protocol/link", "e8b"), 33826 exact: true, 33827 sidebar: "advanced" 33828 }, 33829 { 33830 path: "/protocol/npm", 33831 component: ComponentCreator("/protocol/npm", "bf4"), 33832 exact: true, 33833 sidebar: "advanced" 33834 }, 33835 { 33836 path: "/protocol/patch", 33837 component: ComponentCreator("/protocol/patch", "123"), 33838 exact: true, 33839 sidebar: "advanced" 33840 }, 33841 { 33842 path: "/protocol/portal", 33843 component: ComponentCreator("/protocol/portal", "609"), 33844 exact: true, 33845 sidebar: "advanced" 33846 }, 33847 { 33848 path: "/protocol/workspace", 33849 component: ComponentCreator("/protocol/workspace", "7ca"), 33850 exact: true, 33851 sidebar: "advanced" 33852 }, 33853 { 33854 path: "/protocols", 33855 component: ComponentCreator("/protocols", "7b0"), 33856 exact: true, 33857 sidebar: "advanced" 33858 } 33859 ] 33860 } 33861 ] 33862 } 33863 ] 33864 }, 33865 { 33866 path: "*", 33867 component: ComponentCreator("*") 33868 } 33869]); 33870 33871 33872/***/ }), 33873 33874/***/ 77296: 33875/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 33876 33877"use strict"; 33878/* harmony export */ __webpack_require__.d(__webpack_exports__, { 33879/* harmony export */ _: () => (/* binding */ DocProvider), 33880/* harmony export */ u: () => (/* binding */ useDoc) 33881/* harmony export */ }); 33882/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 33883/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 33884/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 33885 33886 33887 33888const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(null); 33889function useContextValue(content) { 33890 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({ 33891 metadata: content.metadata, 33892 frontMatter: content.frontMatter, 33893 assets: content.assets, 33894 contentTitle: content.contentTitle, 33895 toc: content.toc 33896 }), [content]); 33897} 33898function DocProvider({ children, content }) { 33899 const contextValue = useContextValue(content); 33900 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 33901 value: contextValue, 33902 children 33903 }); 33904} 33905function useDoc() { 33906 const doc = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 33907 if (doc === null) { 33908 throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV("DocProvider"); 33909 } 33910 return doc; 33911} 33912 33913 33914/***/ }), 33915 33916/***/ 77407: 33917/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 33918 33919"use strict"; 33920 33921 33922if (true) { 33923 module.exports = __webpack_require__(19356); 33924} else {} 33925 33926 33927/***/ }), 33928 33929/***/ 77822: 33930/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 33931 33932"use strict"; 33933 33934// EXPORTS 33935__webpack_require__.d(__webpack_exports__, { 33936 zR: () => (/* binding */ createBrowserHistory), 33937 TM: () => (/* binding */ createHashHistory), 33938 yJ: () => (/* binding */ createLocation), 33939 sC: () => (/* binding */ createMemoryHistory),
33940 AO: () => (/* binding */ createPath), 33941 Fu: () => (/* binding */ locationsAreEqual) 33942}); 33943 33944// UNUSED EXPORTS: parsePath 33945 33946// EXTERNAL MODULE: ../../.yarn/cache/@babel-runtime-npm-7.27.0-67ce9cb54f-e6966e03b6.zip/node_modules/@babel/runtime/helpers/esm/extends.js 33947var esm_extends = __webpack_require__(79405); 33948;// ../../.yarn/cache/resolve-pathname-npm-3.0.0-bab4d7e47c-6147241ba4.zip/node_modules/resolve-pathname/esm/resolve-pathname.js 33949function isAbsolute(pathname) { 33950 return pathname.charAt(0) === '/'; 33951} 33952 33953// About 1.5x faster than the two-arg version of Array#splice() 33954function spliceOne(list, index) { 33955 for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) { 33956 list[i] = list[k]; 33957 } 33958 33959 list.pop(); 33960} 33961 33962// This implementation is based heavily on node's url.parse 33963function resolvePathname(to, from) { 33964 if (from === undefined) from = ''; 33965 33966 var toParts = (to && to.split('/')) || []; 33967 var fromParts = (from && from.split('/')) || []; 33968 33969 var isToAbs = to && isAbsolute(to); 33970 var isFromAbs = from && isAbsolute(from); 33971 var mustEndAbs = isToAbs || isFromAbs; 33972 33973 if (to && isAbsolute(to)) { 33974 // to is absolute 33975 fromParts = toParts; 33976 } else if (toParts.length) { 33977 // to is relative, drop the filename 33978 fromParts.pop(); 33979 fromParts = fromParts.concat(toParts); 33980 } 33981 33982 if (!fromParts.length) return '/'; 33983 33984 var hasTrailingSlash; 33985 if (fromParts.length) { 33986 var last = fromParts[fromParts.length - 1]; 33987 hasTrailingSlash = last === '.' || last === '..' || last === ''; 33988 } else { 33989 hasTrailingSlash = false; 33990 } 33991 33992 var up = 0; 33993 for (var i = fromParts.length; i >= 0; i--) { 33994 var part = fromParts[i]; 33995 33996 if (part === '.') { 33997 spliceOne(fromParts, i); 33998 } else if (part === '..') { 33999 spliceOne(fromParts, i); 34000 up++; 34001 } else if (up) { 34002 spliceOne(fromParts, i); 34003 up--; 34004 } 34005 } 34006 34007 if (!mustEndAbs) for (; up--; up) fromParts.unshift('..'); 34008 34009 if ( 34010 mustEndAbs && 34011 fromParts[0] !== '' && 34012 (!fromParts[0] || !isAbsolute(fromParts[0])) 34013 ) 34014 fromParts.unshift(''); 34015 34016 var result = fromParts.join('/'); 34017 34018 if (hasTrailingSlash && result.substr(-1) !== '/') result += '/'; 34019 34020 return result; 34021} 34022 34023/* harmony default export */ const resolve_pathname = (resolvePathname); 34024 34025;// ../../.yarn/cache/value-equal-npm-1.0.1-7811e93c9b-bb7ae1facc.zip/node_modules/value-equal/esm/value-equal.js 34026function value_equal_valueOf(obj) { 34027 return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj); 34028} 34029 34030function valueEqual(a, b) { 34031 // Test for strict equality first. 34032 if (a === b) return true; 34033 34034 // Otherwise, if either of them == null they are not equal. 34035 if (a == null || b == null) return false; 34036 34037 if (Array.isArray(a)) { 34038 return ( 34039 Array.isArray(b) && 34040 a.length === b.length && 34041 a.every(function(item, index) { 34042 return valueEqual(item, b[index]); 34043 }) 34044 ); 34045 } 34046 34047 if (typeof a === 'object' || typeof b === 'object') { 34048 var aValue = value_equal_valueOf(a); 34049 var bValue = value_equal_valueOf(b); 34050 34051 if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue); 34052 34053 return Object.keys(Object.assign({}, a, b)).every(function(key) { 34054 return valueEqual(a[key], b[key]); 34055 }); 34056 } 34057 34058 return false; 34059} 34060 34061/* harmony default export */ const value_equal = (valueEqual); 34062 34063// EXTERNAL MODULE: ../../.yarn/cache/tiny-invariant-npm-1.2.0-024338c59c-e09a718a7c.zip/node_modules/tiny-invariant/dist/tiny-invariant.esm.js 34064var tiny_invariant_esm = __webpack_require__(21991); 34065;// ../../.yarn/cache/history-npm-4.10.1-ee217563ae-042373f69d.zip/node_modules/history/esm/history.js 34066 34067 34068 34069 34070 34071 34072function addLeadingSlash(path) { 34073 return path.charAt(0) === '/' ? path : '/' + path; 34074} 34075function stripLeadingSlash(path) { 34076 return path.charAt(0) === '/' ? path.substr(1) : path; 34077} 34078function hasBasename(path, prefix) { 34079 return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1; 34080} 34081function stripBasename(path, prefix) { 34082 return hasBasename(path, prefix) ? path.substr(prefix.length) : path; 34083} 34084function stripTrailingSlash(path) { 34085 return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path; 34086} 34087function parsePath(path) { 34088 var pathname = path || '/'; 34089 var search = ''; 34090 var hash = ''; 34091 var hashIndex = pathname.indexOf('#'); 34092 34093 if (hashIndex !== -1) { 34094 hash = pathname.substr(hashIndex); 34095 pathname = pathname.substr(0, hashIndex); 34096 } 34097 34098 var searchIndex = pathname.indexOf('?'); 34099 34100 if (searchIndex !== -1) { 34101 search = pathname.substr(searchIndex); 34102 pathname = pathname.substr(0, searchIndex); 34103 } 34104 34105 return { 34106 pathname: pathname, 34107 search: search === '?' ? '' : search, 34108 hash: hash === '#' ? '' : hash 34109 }; 34110} 34111function createPath(location) { 34112 var pathname = location.pathname, 34113 search = location.search, 34114 hash = location.hash; 34115 var path = pathname || '/'; 34116 if (search && search !== '?') path += search.charAt(0) === '?' ? search : "?" + search; 34117 if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : "#" + hash; 34118 return path; 34119} 34120 34121function createLocation(path, state, key, currentLocation) { 34122 var location; 34123 34124 if (typeof path === 'string') { 34125 // Two-arg form: push(path, state) 34126 location = parsePath(path); 34127 location.state = state; 34128 } else { 34129 // One-arg form: push(location) 34130 location = (0,esm_extends/* default */.A)({}, path); 34131 if (location.pathname === undefined) location.pathname = ''; 34132 34133 if (location.search) { 34134 if (location.search.charAt(0) !== '?') location.search = '?' + location.search; 34135 } else { 34136 location.search = ''; 34137 } 34138 34139 if (location.hash) { 34140 if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash; 34141 } else { 34142 location.hash = ''; 34143 } 34144 34145 if (state !== undefined && location.state === undefined) location.state = state; 34146 } 34147 34148 try { 34149 location.pathname = decodeURI(location.pathname); 34150 } catch (e) { 34151 if (e instanceof URIError) { 34152 throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invali
34152d percent-encoding.'); 34153 } else { 34154 throw e; 34155 } 34156 } 34157 34158 if (key) location.key = key; 34159 34160 if (currentLocation) { 34161 // Resolve incomplete/relative pathname relative to current location. 34162 if (!location.pathname) { 34163 location.pathname = currentLocation.pathname; 34164 } else if (location.pathname.charAt(0) !== '/') { 34165 location.pathname = resolve_pathname(location.pathname, currentLocation.pathname); 34166 } 34167 } else { 34168 // When there is no prior location and pathname is empty, set it to / 34169 if (!location.pathname) { 34170 location.pathname = '/'; 34171 } 34172 } 34173 34174 return location; 34175} 34176function locationsAreEqual(a, b) { 34177 return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && value_equal(a.state, b.state); 34178} 34179 34180function createTransitionManager() { 34181 var prompt = null; 34182 34183 function setPrompt(nextPrompt) { 34184 false ? 0 : void 0; 34185 prompt = nextPrompt; 34186 return function () { 34187 if (prompt === nextPrompt) prompt = null; 34188 }; 34189 } 34190 34191 function confirmTransitionTo(location, action, getUserConfirmation, callback) { 34192 // TODO: If another transition starts while we're still confirming 34193 // the previous one, we may end up in a weird state. Figure out the 34194 // best way to handle this. 34195 if (prompt != null) { 34196 var result = typeof prompt === 'function' ? prompt(location, action) : prompt; 34197 34198 if (typeof result === 'string') { 34199 if (typeof getUserConfirmation === 'function') { 34200 getUserConfirmation(result, callback); 34201 } else { 34202 false ? 0 : void 0; 34203 callback(true); 34204 } 34205 } else { 34206 // Return false from a transition hook to cancel the transition. 34207 callback(result !== false); 34208 } 34209 } else { 34210 callback(true); 34211 } 34212 } 34213 34214 var listeners = []; 34215 34216 function appendListener(fn) { 34217 var isActive = true; 34218 34219 function listener() { 34220 if (isActive) fn.apply(void 0, arguments); 34221 } 34222 34223 listeners.push(listener); 34224 return function () { 34225 isActive = false; 34226 listeners = listeners.filter(function (item) { 34227 return item !== listener; 34228 }); 34229 }; 34230 } 34231 34232 function notifyListeners() { 34233 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 34234 args[_key] = arguments[_key]; 34235 } 34236 34237 listeners.forEach(function (listener) { 34238 return listener.apply(void 0, args); 34239 }); 34240 } 34241 34242 return { 34243 setPrompt: setPrompt, 34244 confirmTransitionTo: confirmTransitionTo, 34245 appendListener: appendListener, 34246 notifyListeners: notifyListeners 34247 }; 34248} 34249 34250var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); 34251function getConfirmation(message, callback) { 34252 callback(window.confirm(message)); // eslint-disable-line no-alert 34253} 34254/** 34255 * Returns true if the HTML5 history API is supported. Taken from Modernizr. 34256 * 34257 * https://github.com/Modernizr/Modernizr/blob/master/LICENSE 34258 * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js 34259 * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586 34260 */ 34261 34262function supportsHistory() { 34263 var ua = window.navigator.userAgent; 34264 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; 34265 return window.history && 'pushState' in window.history; 34266} 34267/** 34268 * Returns true if browser fires popstate on hash change. 34269 * IE10 and IE11 do not. 34270 */ 34271 34272function supportsPopStateOnHashChange() { 34273 return window.navigator.userAgent.indexOf('Trident') === -1; 34274} 34275/** 34276 * Returns false if using go(n) with hash history causes a full page reload. 34277 */ 34278 34279function supportsGoWithoutReloadUsingHash() { 34280 return window.navigator.userAgent.indexOf('Firefox') === -1; 34281} 34282/** 34283 * Returns true if a given popstate event is an extraneous WebKit event. 34284 * Accounts for the fact that Chrome on iOS fires real popstate events 34285 * containing undefined state when pressing the back button. 34286 */ 34287 34288function isExtraneousPopstateEvent(event) { 34289 return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1; 34290} 34291 34292var PopStateEvent = 'popstate'; 34293var HashChangeEvent = 'hashchange'; 34294 34295function getHistoryState() { 34296 try { 34297 return window.history.state || {}; 34298 } catch (e) { 34299 // IE 11 sometimes throws when accessing window.history.state 34300 // See https://github.com/ReactTraining/history/pull/289 34301 return {}; 34302 } 34303} 34304/** 34305 * Creates a history object that uses the HTML5 history API including 34306 * pushState, replaceState, and the popstate event. 34307 */ 34308 34309 34310function createBrowserHistory(props) { 34311 if (props === void 0) { 34312 props = {}; 34313 } 34314 34315 !canUseDOM ? false ? 0 : (0,tiny_invariant_esm/* default */.A)(false) : void 0; 34316 var globalHistory = window.history; 34317 var canUseHistory = supportsHistory(); 34318 var needsHashChangeListener = !supportsPopStateOnHashChange(); 34319 var _props = props, 34320 _props$forceRefresh = _props.forceRefresh, 34321 forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh, 34322 _props$getUserConfirm = _props.getUserConfirmation, 34323 getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm, 34324 _props$keyLength = _props.keyLength,
34325 keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength; 34326 var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : ''; 34327 34328 function getDOMLocation(historyState) { 34329 var _ref = historyState || {}, 34330 key = _ref.key, 34331 state = _ref.state; 34332 34333 var _window$location = window.location, 34334 pathname = _window$location.pathname, 34335 search = _window$location.search, 34336 hash = _window$location.hash; 34337 var path = pathname + search + hash; 34338 false ? 0 : void 0; 34339 if (basename) path = stripBasename(path, basename); 34340 return createLocation(path, state, key); 34341 } 34342 34343 function createKey() { 34344 return Math.random().toString(36).substr(2, keyLength); 34345 } 34346 34347 var transitionManager = createTransitionManager(); 34348 34349 function setState(nextState) { 34350 (0,esm_extends/* default */.A)(history, nextState); 34351 34352 history.length = globalHistory.length; 34353 transitionManager.notifyListeners(history.location, history.action); 34354 } 34355 34356 function handlePopState(event) { 34357 // Ignore extraneous popstate events in WebKit. 34358 if (isExtraneousPopstateEvent(event)) return; 34359 handlePop(getDOMLocation(event.state)); 34360 } 34361 34362 function handleHashChange() { 34363 handlePop(getDOMLocation(getHistoryState())); 34364 } 34365 34366 var forceNextPop = false; 34367 34368 function handlePop(location) { 34369 if (forceNextPop) { 34370 forceNextPop = false; 34371 setState(); 34372 } else { 34373 var action = 'POP'; 34374 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34375 if (ok) { 34376 setState({ 34377 action: action, 34378 location: location 34379 }); 34380 } else { 34381 revertPop(location); 34382 } 34383 }); 34384 } 34385 } 34386 34387 function revertPop(fromLocation) { 34388 var toLocation = history.location; // TODO: We could probably make this more reliable by 34389 // keeping a list of keys we've seen in sessionStorage. 34390 // Instead, we just default to 0 for keys we don't know. 34391 34392 var toIndex = allKeys.indexOf(toLocation.key); 34393 if (toIndex === -1) toIndex = 0; 34394 var fromIndex = allKeys.indexOf(fromLocation.key); 34395 if (fromIndex === -1) fromIndex = 0; 34396 var delta = toIndex - fromIndex; 34397 34398 if (delta) { 34399 forceNextPop = true; 34400 go(delta); 34401 } 34402 } 34403 34404 var initialLocation = getDOMLocation(getHistoryState()); 34405 var allKeys = [initialLocation.key]; // Public interface 34406 34407 function createHref(location) { 34408 return basename + createPath(location); 34409 } 34410 34411 function push(path, state) { 34412 false ? 0 : void 0; 34413 var action = 'PUSH'; 34414 var location = createLocation(path, state, createKey(), history.location); 34415 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34416 if (!ok) return; 34417 var href = createHref(location); 34418 var key = location.key, 34419 state = location.state; 34420 34421 if (canUseHistory) { 34422 globalHistory.pushState({ 34423 key: key, 34424 state: state 34425 }, null, href); 34426 34427 if (forceRefresh) { 34428 window.location.href = href; 34429 } else { 34430 var prevIndex = allKeys.indexOf(history.location.key); 34431 var nextKeys = allKeys.slice(0, prevIndex + 1); 34432 nextKeys.push(location.key); 34433 allKeys = nextKeys; 34434 setState({ 34435 action: action, 34436 location: location 34437 }); 34438 } 34439 } else { 34440 false ? 0 : void 0; 34441 window.location.href = href; 34442 } 34443 }); 34444 } 34445 34446 function replace(path, state) { 34447 false ? 0 : void 0; 34448 var action = 'REPLACE'; 34449 var location = createLocation(path, state, createKey(), history.location); 34450 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34451 if (!ok) return; 34452 var href = createHref(location); 34453 var key = location.key, 34454 state = location.state; 34455 34456 if (canUseHistory) { 34457 globalHistory.replaceState({ 34458 key: key, 34459 state: state 34460 }, null, href); 34461 34462 if (forceRefresh) { 34463 window.location.replace(href); 34464 } else {
34465 var prevIndex = allKeys.indexOf(history.location.key); 34466 if (prevIndex !== -1) allKeys[prevIndex] = location.key; 34467 setState({ 34468 action: action, 34469 location: location 34470 }); 34471 } 34472 } else { 34473 false ? 0 : void 0; 34474 window.location.replace(href); 34475 } 34476 }); 34477 } 34478 34479 function go(n) { 34480 globalHistory.go(n); 34481 } 34482 34483 function goBack() { 34484 go(-1); 34485 } 34486 34487 function goForward() { 34488 go(1); 34489 } 34490 34491 var listenerCount = 0; 34492 34493 function checkDOMListeners(delta) { 34494 listenerCount += delta; 34495 34496 if (listenerCount === 1 && delta === 1) { 34497 window.addEventListener(PopStateEvent, handlePopState); 34498 if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange); 34499 } else if (listenerCount === 0) { 34500 window.removeEventListener(PopStateEvent, handlePopState); 34501 if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange); 34502 } 34503 } 34504 34505 var isBlocked = false; 34506 34507 function block(prompt) { 34508 if (prompt === void 0) { 34509 prompt = false; 34510 } 34511 34512 var unblock = transitionManager.setPrompt(prompt); 34513 34514 if (!isBlocked) { 34515 checkDOMListeners(1); 34516 isBlocked = true; 34517 } 34518 34519 return function () { 34520 if (isBlocked) { 34521 isBlocked = false; 34522 checkDOMListeners(-1); 34523 } 34524 34525 return unblock(); 34526 }; 34527 } 34528 34529 function listen(listener) { 34530 var unlisten = transitionManager.appendListener(listener); 34531 checkDOMListeners(1); 34532 return function () { 34533 checkDOMListeners(-1); 34534 unlisten(); 34535 }; 34536 } 34537 34538 var history = { 34539 length: globalHistory.length, 34540 action: 'POP', 34541 location: initialLocation, 34542 createHref: createHref, 34543 push: push, 34544 replace: replace, 34545 go: go, 34546 goBack: goBack, 34547 goForward: goForward, 34548 block: block, 34549 listen: listen 34550 }; 34551 return history; 34552} 34553 34554var HashChangeEvent$1 = 'hashchange'; 34555var HashPathCoders = { 34556 hashbang: { 34557 encodePath: function encodePath(path) { 34558 return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path); 34559 }, 34560 decodePath: function decodePath(path) { 34561 return path.charAt(0) === '!' ? path.substr(1) : path; 34562 } 34563 }, 34564 noslash: { 34565 encodePath: stripLeadingSlash, 34566 decodePath: addLeadingSlash 34567 }, 34568 slash: { 34569 encodePath: addLeadingSlash, 34570 decodePath: addLeadingSlash 34571 } 34572}; 34573 34574function stripHash(url) { 34575 var hashIndex = url.indexOf('#'); 34576 return hashIndex === -1 ? url : url.slice(0, hashIndex); 34577} 34578 34579function getHashPath() { 34580 // We can't use window.location.hash here because it's not 34581 // consistent across browsers - Firefox will pre-decode it! 34582 var href = window.location.href; 34583 var hashIndex = href.indexOf('#'); 34584 return hashIndex === -1 ? '' : href.substring(hashIndex + 1); 34585} 34586 34587function pushHashPath(path) { 34588 window.location.hash = path; 34589} 34590 34591function replaceHashPath(path) { 34592 window.location.replace(stripHash(window.location.href) + '#' + path); 34593} 34594 34595function createHashHistory(props) { 34596 if (props === void 0) { 34597 props = {}; 34598 } 34599 34600 !canUseDOM ? false ? 0 : (0,tiny_invariant_esm/* default */.A)(false) : void 0; 34601 var globalHistory = window.history; 34602 var canGoWithoutReload = supportsGoWithoutReloadUsingHash(); 34603 var _props = props, 34604 _props$getUserConfirm = _props.getUserConfirmation, 34605 getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm, 34606 _props$hashType = _props.hashType, 34607 hashType = _props$hashType === void 0 ? 'slash' : _props$hashType; 34608 var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : ''; 34609 var _HashPathCoders$hashT = HashPathCoders[hashType], 34610 encodePath = _HashPathCoders$hashT.encodePath, 34611 decodePath = _HashPathCoders$hashT.decodePath; 34612 34613 function getDOMLocation() { 34614 var path = decodePath(getHashPath()); 34615 false ? 0 : void 0; 34616 if (basename) path = stripBasename(path, basename); 34617 return createLocation(path); 34618 } 34619 34620 var transitionManager = createTransitionManager(); 34621 34622 function setState(nextState) { 34623 (0,esm_extends/* default */.A)(history, nextState); 34624 34625 history.length = globalHistory.length; 34626 transitionManager.notifyListeners(history.location, history.action); 34627 } 34628 34629 var forceNextPop = false;
34630 var ignorePath = null; 34631 34632 function locationsAreEqual$$1(a, b) { 34633 return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash; 34634 } 34635 34636 function handleHashChange() { 34637 var path = getHashPath(); 34638 var encodedPath = encodePath(path); 34639 34640 if (path !== encodedPath) { 34641 // Ensure we always have a properly-encoded hash. 34642 replaceHashPath(encodedPath); 34643 } else { 34644 var location = getDOMLocation(); 34645 var prevLocation = history.location; 34646 if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change. 34647 34648 if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace. 34649 34650 ignorePath = null; 34651 handlePop(location); 34652 } 34653 } 34654 34655 function handlePop(location) { 34656 if (forceNextPop) { 34657 forceNextPop = false; 34658 setState(); 34659 } else { 34660 var action = 'POP'; 34661 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34662 if (ok) { 34663 setState({ 34664 action: action, 34665 location: location 34666 }); 34667 } else { 34668 revertPop(location); 34669 } 34670 }); 34671 } 34672 } 34673 34674 function revertPop(fromLocation) { 34675 var toLocation = history.location; // TODO: We could probably make this more reliable by 34676 // keeping a list of paths we've seen in sessionStorage. 34677 // Instead, we just default to 0 for paths we don't know. 34678 34679 var toIndex = allPaths.lastIndexOf(createPath(toLocation)); 34680 if (toIndex === -1) toIndex = 0; 34681 var fromIndex = allPaths.lastIndexOf(createPath(fromLocation)); 34682 if (fromIndex === -1) fromIndex = 0; 34683 var delta = toIndex - fromIndex; 34684 34685 if (delta) { 34686 forceNextPop = true; 34687 go(delta); 34688 } 34689 } // Ensure the hash is encoded properly before doing anything else. 34690 34691 34692 var path = getHashPath(); 34693 var encodedPath = encodePath(path); 34694 if (path !== encodedPath) replaceHashPath(encodedPath); 34695 var initialLocation = getDOMLocation(); 34696 var allPaths = [createPath(initialLocation)]; // Public interface 34697 34698 function createHref(location) { 34699 var baseTag = document.querySelector('base'); 34700 var href = ''; 34701 34702 if (baseTag && baseTag.getAttribute('href')) { 34703 href = stripHash(window.location.href); 34704 } 34705 34706 return href + '#' + encodePath(basename + createPath(location)); 34707 } 34708 34709 function push(path, state) { 34710 false ? 0 : void 0; 34711 var action = 'PUSH'; 34712 var location = createLocation(path, undefined, undefined, history.location); 34713 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34714 if (!ok) return; 34715 var path = createPath(location); 34716 var encodedPath = encodePath(basename + path); 34717 var hashChanged = getHashPath() !== encodedPath; 34718 34719 if (hashChanged) { 34720 // We cannot tell if a hashchange was caused by a PUSH, so we'd 34721 // rather setState here and ignore the hashchange. The caveat here 34722 // is that other hash histories in the page will consider it a POP. 34723 ignorePath = path; 34724 pushHashPath(encodedPath); 34725 var prevIndex = allPaths.lastIndexOf(createPath(history.location)); 34726 var nextPaths = allPaths.slice(0, prevIndex + 1); 34727 nextPaths.push(path); 34728 allPaths = nextPaths; 34729 setState({ 34730 action: action, 34731 location: location 34732 }); 34733 } else { 34734 false ? 0 : void 0; 34735 setState(); 34736 } 34737 }); 34738 } 34739 34740 function replace(path, state) { 34741 false ? 0 : void 0; 34742 var action = 'REPLACE'; 34743 var location = createLocation(path, undefined, undefined, history.location); 34744 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34745 if (!ok) return; 34746 var path = createPath(location); 34747 var encodedPath = encodePath(basename + path); 34748 var hashChanged = getHashPath() !== encodedPath; 34749 34750 if (hashChanged) { 34751 // We cannot tell if a hashchange was caused by a REPLACE, so we'd 34752 // rather setState here and ignore the hashchange. The caveat here 34753 // is that other hash histories in the page will consider it a POP. 34754 ignorePath = path; 34755 replaceHashPath(encodedPath); 34756 } 34757 34758 var prevIndex = allPaths.indexOf(createPath(history.location)); 34759 if (prevIndex !== -1) allPaths[prevIndex] = path; 34760 setState({ 34761 action: action, 34762 location: location 34763 }); 34764 }); 34765 } 34766 34767 function go(n) { 34768 false ? 0 : void 0; 34769 globalHistory.go(n); 34770 } 34771 34772 function goBack() { 34773 go(-1); 34774 } 34775 34776 function goForward() { 34777 go(1); 34778 } 34779 34780 var listenerCount = 0; 34781 34782 function checkDOMListeners(delta) { 34783 listenerCount += delta; 34784 34785 if (listenerCount === 1 && delta === 1) { 34786 window.addEventListener(HashChangeEvent$1, handleHashChange); 34787 } else if (listenerCount === 0) { 34788 window.removeEventListener(HashChangeEvent$1, handleHashChange); 34789 } 34790 } 34791 34792 var isBlocked = false;
34793 34794 function block(prompt) { 34795 if (prompt === void 0) { 34796 prompt = false; 34797 } 34798 34799 var unblock = transitionManager.setPrompt(prompt); 34800 34801 if (!isBlocked) { 34802 checkDOMListeners(1); 34803 isBlocked = true; 34804 } 34805 34806 return function () { 34807 if (isBlocked) { 34808 isBlocked = false; 34809 checkDOMListeners(-1); 34810 } 34811 34812 return unblock(); 34813 }; 34814 } 34815 34816 function listen(listener) { 34817 var unlisten = transitionManager.appendListener(listener); 34818 checkDOMListeners(1); 34819 return function () { 34820 checkDOMListeners(-1); 34821 unlisten(); 34822 }; 34823 } 34824 34825 var history = { 34826 length: globalHistory.length, 34827 action: 'POP', 34828 location: initialLocation, 34829 createHref: createHref, 34830 push: push, 34831 replace: replace, 34832 go: go, 34833 goBack: goBack, 34834 goForward: goForward, 34835 block: block, 34836 listen: listen 34837 }; 34838 return history; 34839} 34840 34841function clamp(n, lowerBound, upperBound) { 34842 return Math.min(Math.max(n, lowerBound), upperBound); 34843} 34844/** 34845 * Creates a history object that stores locations in memory. 34846 */ 34847 34848 34849function createMemoryHistory(props) { 34850 if (props === void 0) { 34851 props = {}; 34852 } 34853 34854 var _props = props, 34855 getUserConfirmation = _props.getUserConfirmation, 34856 _props$initialEntries = _props.initialEntries, 34857 initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries, 34858 _props$initialIndex = _props.initialIndex, 34859 initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex, 34860 _props$keyLength = _props.keyLength, 34861 keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength; 34862 var transitionManager = createTransitionManager(); 34863 34864 function setState(nextState) { 34865 (0,esm_extends/* default */.A)(history, nextState); 34866 34867 history.length = history.entries.length; 34868 transitionManager.notifyListeners(history.location, history.action); 34869 } 34870 34871 function createKey() { 34872 return Math.random().toString(36).substr(2, keyLength); 34873 } 34874 34875 var index = clamp(initialIndex, 0, initialEntries.length - 1); 34876 var entries = initialEntries.map(function (entry) { 34877 return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey()); 34878 }); // Public interface 34879 34880 var createHref = createPath; 34881 34882 function push(path, state) { 34883 false ? 0 : void 0; 34884 var action = 'PUSH'; 34885 var location = createLocation(path, state, createKey(), history.location); 34886 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34887 if (!ok) return; 34888 var prevIndex = history.index; 34889 var nextIndex = prevIndex + 1; 34890 var nextEntries = history.entries.slice(0); 34891 34892 if (nextEntries.length > nextIndex) { 34893 nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location); 34894 } else { 34895 nextEntries.push(location); 34896 } 34897 34898 setState({ 34899 action: action, 34900 location: location, 34901 index: nextIndex, 34902 entries: nextEntries 34903 }); 34904 }); 34905 } 34906 34907 function replace(path, state) { 34908 false ? 0 : void 0; 34909 var action = 'REPLACE'; 34910 var location = createLocation(path, state, createKey(), history.location); 34911 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34912 if (!ok) return; 34913 history.entries[history.index] = location; 34914 setState({ 34915 action: action, 34916 location: location 34917 }); 34918 }); 34919 } 34920 34921 function go(n) { 34922 var nextIndex = clamp(history.index + n, 0, history.entries.length - 1); 34923 var action = 'POP'; 34924 var location = history.entries[nextIndex]; 34925 transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) { 34926 if (ok) { 34927 setState({ 34928 action: action, 34929 location: location, 34930 index: nextIndex 34931 }); 34932 } else { 34933 // Mimic the behavior of DOM histories by 34934 // causing a render after a cancelled POP. 34935 setState(); 34936 } 34937 }); 34938 } 34939 34940 function goBack() { 34941 go(-1); 34942 } 34943 34944 function goForward() { 34945 go(1); 34946 } 34947 34948 function canGo(n) { 34949 var nextIndex = history.index + n; 34950 return nextIndex >= 0 && nextIndex < history.entries.length; 34951 } 34952 34953 function block(prompt) { 34954 if (prompt === void 0) { 34955 prompt = false;
34956 } 34957 34958 return transitionManager.setPrompt(prompt); 34959 } 34960 34961 function listen(listener) { 34962 return transitionManager.appendListener(listener); 34963 } 34964 34965 var history = { 34966 length: entries.length, 34967 action: 'POP', 34968 location: entries[index], 34969 index: index, 34970 entries: entries, 34971 createHref: createHref, 34972 push: push, 34973 replace: replace, 34974 go: go, 34975 goBack: goBack, 34976 goForward: goForward, 34977 canGo: canGo, 34978 block: block, 34979 listen: listen 34980 }; 34981 return history; 34982} 34983 34984 34985 34986 34987/***/ }), 34988 34989/***/ 78993: 34990/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 34991 34992"use strict"; 34993 34994 34995function checkDCE() { 34996 /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ 34997 if ( 34998 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || 34999 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function' 35000 ) { 35001 return; 35002 } 35003 if (false) {} 35004 try { 35005 // Verify that the code above has been dead code eliminated (DCE'd). 35006 __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE); 35007 } catch (err) { 35008 // DevTools shouldn't crash React, no matter what. 35009 // We should still report in case we break this code. 35010 console.error(err); 35011 } 35012} 35013 35014if (true) { 35015 // DCE check should happen before ReactDOM bundle executes so that 35016 // DevTools can report bad minification during injection. 35017 checkDCE(); 35018 module.exports = __webpack_require__(45309); 35019} else {} 35020 35021 35022/***/ }), 35023 35024/***/ 79405: 35025/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 35026 35027"use strict"; 35028/* harmony export */ __webpack_require__.d(__webpack_exports__, { 35029/* harmony export */ A: () => (/* binding */ _extends) 35030/* harmony export */ }); 35031function _extends() { 35032 return _extends = Object.assign ? Object.assign.bind() : function (n) { 35033 for (var e = 1; e < arguments.length; e++) { 35034 var t = arguments[e]; 35035 for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); 35036 } 35037 return n; 35038 }, _extends.apply(null, arguments); 35039} 35040 35041 35042/***/ }), 35043 35044/***/ 79583: 35045/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 35046 35047"use strict"; 35048 35049// EXPORTS 35050__webpack_require__.d(__webpack_exports__, { 35051 w: () => (/* binding */ keyboardFocusedClassName), 35052 J: () => (/* binding */ useKeyboardNavigation) 35053}); 35054 35055// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 35056var react = __webpack_require__(77407); 35057;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/styles.css 35058// extracted by mini-css-extract-plugin 35059 35060;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/hooks/useKeyboardNavigation.js 35061 35062 35063const keyboardFocusedClassName = "navigation-with-keyboard"; 35064function useKeyboardNavigation() { 35065 (0,react.useEffect)(() => { 35066 function handleOutlineStyles(e) { 35067 if (e.type === "keydown" && e.key === "Tab") { 35068 document.body.classList.add(keyboardFocusedClassName); 35069 } 35070 if (e.type === "mousedown") { 35071 document.body.classList.remove(keyboardFocusedClassName); 35072 } 35073 } 35074 document.addEventListener("keydown", handleOutlineStyles); 35075 document.addEventListener("mousedown", handleOutlineStyles); 35076 return () => { 35077 document.body.classList.remove(keyboardFocusedClassName); 35078 document.removeEventListener("keydown", handleOutlineStyles); 35079 document.removeEventListener("mousedown", handleOutlineStyles); 35080 }; 35081 }, []); 35082} 35083 35084 35085/***/ }), 35086 35087/***/ 80080: 35088/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 35089 35090"use strict"; 35091/* harmony export */ __webpack_require__.d(__webpack_exports__, { 35092/* harmony export */ My: () => (/* binding */ Prism), 35093/* harmony export */ Zj: () => (/* binding */ themes_exports), 35094/* harmony export */ f4: () => (/* binding */ Highlight2) 35095/* harmony export */ }); 35096/* unused harmony exports normalizeTokens, useTokenize */ 35097/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 35098/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(75437); 35099var __create = Object.create; 35100var __defProp = Object.defineProperty; 35101var __defProps = Object.defineProperties; 35102var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 35103var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 35104var __getOwnPropNames = Object.getOwnPropertyNames; 35105var __getOwnPropSymbols = Object.getOwnPropertySymbols; 35106var __getProtoOf = Object.getPrototypeOf; 35107var __hasOwnProp = Object.prototype.hasOwnProperty; 35108var __propIsEnum = Object.prototype.propertyIsEnumerable; 35109var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 35110var __spreadValues = (a, b) => { 35111 for (var prop in b || (b = {})) 35112 if (__hasOwnProp.call(b, prop)) 35113 __defNormalProp(a, prop, b[prop]); 35114 if (__getOwnPropSymbols) 35115 for (var prop of __getOwnPropSymbols(b)) { 35116 if (__propIsEnum.call(b, prop)) 35117 __defNormalProp(a, prop, b[prop]); 35118 } 35119 return a; 35120}; 35121var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 35122var __objRest = (source, exclude) => { 35123 var target = {}; 35124 for (var prop in source) 35125 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 35126 target[prop] = source[prop]; 35127 if (source != null && __getOwnPropSymbols) 35128 for (var prop of __getOwnPropSymbols(source)) { 35129 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 35130 target[prop] = source[prop]; 35131 } 35132 return target; 35133}; 35134var __commonJS = (cb, mod) => function __require() { 35135 return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; 35136}; 35137var __export = (target, all) => { 35138 for (var name in all) 35139 __defProp(target, name, { get: all[name], enumerable: true }); 35140}; 35141var __copyProps = (to, from, except, desc) => { 35142 if (from && typeof from === "object" || typeof from === "function") { 35143 for (let key of __getOwnPropNames(from)) 35144 if (!__hasOwnProp.call(to, key) && key !== except) 35145 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 35146 } 35147 return to; 35148}; 35149var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( 35150 // If the importer is in node compatibility mode or this is not an ESM 35151 // file that has been converted to a CommonJS file using a Babel- 35152 // compatible transform (i.e. "__esModule" has not been set), then set 35153 // "default" to the CommonJS "module.exports" for node compatibility. 35154 isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, 35155 mod 35156)); 35157 35158// ../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js 35159var require_prism = __commonJS({ 35160 "../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(exports, module) { 35161 var Prism2 = function() { 35162 var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i; 35163 var uniqueId = 0; 35164 var plainTextGrammar = {}; 35165 var _ = { 35166 /** 35167 * A namespace for utility methods. 35168 * 35169 * All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may 35170 * change or disappear at any time. 35171 * 35172 * @namespace 35173 * @memberof Prism 35174 */ 35175 util: { 35176 encode: function encode(tokens) { 35177 if (tokens instanceof Token) { 35178 return new Token(tokens.type, encode(tokens.content), tokens.alias); 35179 } else if (Array.isArray(tokens)) { 35180 return tokens.map(encode); 35181 } else { 35182 return tokens.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " "); 35183 } 35184 }, 35185 /** 35186 * Returns the name of the type of the given value. 35187 * 35188 * @param {any} o 35189 * @returns {string} 35190 * @example 35191 * type(null) === 'Null' 35192 * type(undefined) === 'Undefined' 35193 * type(123) === 'Number' 35194 * type('foo') === 'String' 35195 * type(true) === 'Boolean' 35196 * type([1, 2]) === 'Array' 35197 * type({}) === 'Object' 35198 * type(String) === 'Function' 35199 * type(/abc+/) === 'RegExp' 35200 */ 35201 type: function(o) { 35202 return Object.prototype.toString.call(o).slice(8, -1); 35203 }, 35204 /** 35205 * Returns a unique number for the given object. Later calls will still return the same number. 35206 * 35207 * @param {Object} obj 35208 * @returns {number} 35209 */ 35210 objId: function(obj) { 35211 if (!obj["__id"]) { 35212 Object.defineProperty(obj, "__id", { value: ++uniqueId }); 35213 } 35214 return obj["__id"]; 35215 }, 35216 /** 35217 * Creates a deep clone of the given object. 35218 * 35219 * The main intended use of this function is to clone language definitions. 35220 * 35221 * @param {T} o 35222 * @param {Record<number, any>} [visited] 35223 * @returns {T} 35224 * @template T 35225 */ 35226 clone: function deepClone(o, visited) { 35227 visited = visited || {}; 35228 var clone; 35229 var id; 35230 switch (_.util.type(o)) { 35231 case "Object": 35232 id = _.util.objId(o); 35233 if (visited[id]) { 35234 return visited[id]; 35235 } 35236 clone = /** @type {Record<string, any>} */ 35237 {}; 35238 visited[id] = clone; 35239 for (var key in o) { 35240 if (o.hasOwnProperty(key)) { 35241 clone[key] = deepClone(o[key], visited); 35242 } 35243 } 35244 return ( 35245 /** @type {any} */ 35246 clone 35247 ); 35248 case "Array": 35249 id = _.util.objId(o); 35250 if (visited[id]) { 35251 return visited[id]; 35252 } 35253 clone = []; 35254 visited[id] = clone; 35255 /** @type {Array} */ 35256 /** @type {any} */ 35257 o.forEach(function(v, i) { 35258 clone[i] = deepClone(v, visited); 35259 }); 35260 return ( 35261 /** @type {any} */ 35262 clone 35263 ); 35264 default: 35265 return o; 35266 } 35267 }, 35268 /** 35269 * Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class. 35270 * 35271 * If no language is set for the element or the element is `null` or `undefined`, `none` will be returned. 35272 * 35273 * @param {Element} element 35274 * @returns {string} 35275 */ 35276 getLanguage: function(element) { 35277 while (element) { 35278 var m = lang.exec(element.className); 35279 if (m) { 35280 return m[1].toLowerCase(); 35281 } 35282 element = element.parentElement; 35283 } 35284 return "none"; 35285 }, 35286 /** 35287 * Sets the Prism `language-xxxx` class of the given element. 35288 * 35289 * @param {Element} element 35290 * @param {string} language 35291 * @returns {void} 35292 */ 35293 setLanguage: function(element, language) { 35294 element.className = element.className.replace(RegExp(lang, "gi"), ""); 35295 element.classList.add("language-" + language); 35296 }, 35297 /** 35298 * Returns whether a given class is active for `element`. 35299 * 35300 * The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated 35301 * if `element` or one of its ancestors has the negated ver
35301sion of the given class. The _negated version_ of the 35302 * given class is just the given class with a `no-` prefix. 35303 * 35304 * Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is 35305 * closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its 35306 * ancestors have the given class or the negated version of it, then the default activation will be returned. 35307 * 35308 * In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated 35309 * version of it, the class is considered active. 35310 * 35311 * @param {Element} element 35312 * @param {string} className 35313 * @param {boolean} [defaultActivation=false] 35314 * @returns {boolean} 35315 */ 35316 isActive: function(element, className, defaultActivation) { 35317 var no = "no-" + className; 35318 while (element) { 35319 var classList = element.classList; 35320 if (classList.contains(className)) { 35321 return true; 35322 } 35323 if (classList.contains(no)) { 35324 return false; 35325 } 35326 element = element.parentElement; 35327 } 35328 return !!defaultActivation; 35329 } 35330 }, 35331 /** 35332 * This namespace contains all currently loaded languages and the some helper functions to create and modify languages. 35333 * 35334 * @namespace 35335 * @memberof Prism 35336 * @public 35337 */ 35338 languages: { 35339 /** 35340 * The grammar for plain, unformatted text. 35341 */ 35342 plain: plainTextGrammar, 35343 plaintext: plainTextGrammar, 35344 text: plainTextGrammar, 35345 txt: plainTextGrammar, 35346 /** 35347 * Creates a deep copy of the language with the given id and appends the given tokens. 35348 * 35349 * If a token in `redef` also appears in the copied language, then the existing token in the copied language 35350 * will be overwritten at its original position. 35351 * 35352 * ## Best practices 35353 * 35354 * Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language) 35355 * doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to 35356 * understand the language definition because, normally, the order of tokens matters in Prism grammars. 35357 * 35358 * Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens. 35359 * Furthermore, all non-overwriting tokens should be placed after the overwriting ones. 35360 * 35361 * @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`. 35362 * @param {Grammar} redef The new tokens to append. 35363 * @returns {Grammar} The new language created. 35364 * @public 35365 * @example 35366 * Prism.languages['css-with-colors'] = Prism.languages.extend('css', { 35367 * // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token 35368 * // at its original position 35369 * 'comment': { ... }, 35370 * // CSS doesn't have a 'color' token, so this token will be appended 35371 * 'color': /\b(?:red|green|blue)\b/ 35372 * }); 35373 */ 35374 extend: function(id, redef) { 35375 var lang2 = _.util.clone(_.languages[id]); 35376 for (var key in redef) { 35377 lang2[key] = redef[key]; 35378 } 35379 return lang2; 35380 }, 35381 /** 35382 * Inserts tokens _before_ another token in a language definition or any other grammar. 35383 * 35384 * ## Usage 35385 * 35386 * This helper method makes it easy to modify existing languages. For example, the CSS language definition 35387 * not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded 35388 * in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the 35389 * appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do 35390 * this: 35391 * 35392 * ```js 35393 * Prism.languages.markup.style = { 35394 * // token 35395 * }; 35396 * ``` 35397 * 35398 * then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens 35399 * before existing tokens. For the CSS example above, you would use it like this: 35400 * 35401 * ```js 35402 * Prism.languages.insertBefore('markup', 'cdata', { 35403 * 'style': { 35404 * // token 35405 * } 35406 * }); 35407 * ``` 35408 * 35409 * ## Special cases 35410 * 35411 * If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar 35412 * will be ignored. 35413 * 35414 * This behavior can be used to insert tokens after `before`: 35415 * 35416 * ```js 35417 * Prism.languages.insertBefore('markup', 'comment', { 35418 * 'comment': Prism.languages.markup.comment, 35419 * // tokens after 'comment' 35420 * }); 35421 * ``` 35422 * 35423 * ## Limitations 35424 * 35425 * The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object 35426 * properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave 35427 * differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily 35428 * deleting properties which is necessary to insert at arbitrary positions. 35429 * 35430 * To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object. 35431 * Instead, it will create a new object and replace all references to the target object with the new one. This 35432 * can be done without temporarily deleting properties, so the iteration order is well-defined. 35433 * 35434 * However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if 35435 * you hold the target object in a variable, then the value of the variable will not change. 35436 * 35437 * ```js 35438 * var oldMarkup = Prism.languages.markup; 35439 * var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... }); 35440 * 35441 * assert(oldMarkup !== Prism.languages.markup); 35442 * assert(newMarkup === Prism.languages.markup); 35443 * ``` 35444 * 35445 * @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the 35446 * object to be modified. 35447 * @param {string} before The key to insert before. 35448 * @param {Grammar}
35448 insert An object containing the key-value pairs to be inserted. 35449 * @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the 35450 * object to be modified. 35451 * 35452 * Defaults to `Prism.languages`. 35453 * @returns {Grammar} The new grammar object. 35454 * @public 35455 */ 35456 insertBefore: function(inside, before, insert, root) { 35457 root = root || /** @type {any} */ 35458 _.languages; 35459 var grammar = root[inside]; 35460 var ret = {}; 35461 for (var token in grammar) { 35462 if (grammar.hasOwnProperty(token)) { 35463 if (token == before) { 35464 for (var newToken in insert) { 35465 if (insert.hasOwnProperty(newToken)) { 35466 ret[newToken] = insert[newToken]; 35467 } 35468 } 35469 } 35470 if (!insert.hasOwnProperty(token)) { 35471 ret[token] = grammar[token]; 35472 } 35473 } 35474 } 35475 var old = root[inside]; 35476 root[inside] = ret; 35477 _.languages.DFS(_.languages, function(key, value) { 35478 if (value === old && key != inside) { 35479 this[key] = ret; 35480 } 35481 }); 35482 return ret; 35483 }, 35484 // Traverse a language definition with Depth First Search 35485 DFS: function DFS(o, callback, type, visited) { 35486 visited = visited || {}; 35487 var objId = _.util.objId; 35488 for (var i in o) { 35489 if (o.hasOwnProperty(i)) { 35490 callback.call(o, i, o[i], type || i); 35491 var property = o[i]; 35492 var propertyType = _.util.type(property); 35493 if (propertyType === "Object" && !visited[objId(property)]) { 35494 visited[objId(property)] = true; 35495 DFS(property, callback, null, visited); 35496 } else if (propertyType === "Array" && !visited[objId(property)]) { 35497 visited[objId(property)] = true; 35498 DFS(property, callback, i, visited); 35499 } 35500 } 35501 } 35502 } 35503 }, 35504 plugins: {}, 35505 /** 35506 * Low-level function, only use if you know what youâre doing. It accepts a string of text as input 35507 * and the language definitions to use, and returns a string with the HTML produced. 35508 * 35509 * The following hooks will be run: 35510 * 1. `before-tokenize` 35511 * 2. `after-tokenize` 35512 * 3. `wrap`: On each {@link Token}. 35513 * 35514 * @param {string} text A string with the code to be highlighted. 35515 * @param {Grammar} grammar An object containing the tokens to use. 35516 * 35517 * Usually a language definition like `Prism.languages.markup`. 35518 * @param {string} language The name of the language definition passed to `grammar`. 35519 * @returns {string} The highlighted HTML. 35520 * @memberof Prism 35521 * @public 35522 * @example 35523 * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript'); 35524 */ 35525 highlight: function(text, grammar, language) { 35526 var env = { 35527 code: text, 35528 grammar, 35529 language 35530 }; 35531 _.hooks.run("before-tokenize", env); 35532 if (!env.grammar) { 35533 throw new Error('The language "' + env.language + '" has no grammar.'); 35534 } 35535 env.tokens = _.tokenize(env.code, env.grammar); 35536 _.hooks.run("after-tokenize", env); 35537 return Token.stringify(_.util.encode(env.tokens), env.language); 35538 }, 35539 /** 35540 * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input 35541 * and the language definitions to use, and returns an array with the tokenized code. 35542 * 35543 * When the language definition includes nested tokens, the function is called recursively on each of these tokens. 35544 * 35545 * This method could be useful in other contexts as well, as a very crude parser. 35546 * 35547 * @param {string} text A string with the code to be highlighted. 35548 * @param {Grammar}
vendor: 8,105 bytes, lines 35548-35754
35548 grammar An object containing the tokens to use. 35549 * 35550 * Usually a language definition like `Prism.languages.markup`. 35551 * @returns {TokenStream} An array of strings and tokens, a token stream. 35552 * @memberof Prism 35553 * @public 35554 * @example 35555 * let code = `var foo = 0;`; 35556 * let tokens = Prism.tokenize(code, Prism.languages.javascript); 35557 * tokens.forEach(token => { 35558 * if (token instanceof Prism.Token && token.type === 'number') { 35559 * console.log(`Found numeric literal: ${token.content}`); 35560 * } 35561 * }); 35562 */ 35563 tokenize: function(text, grammar) { 35564 var rest = grammar.rest; 35565 if (rest) { 35566 for (var token in rest) { 35567 grammar[token] = rest[token]; 35568 } 35569 delete grammar.rest; 35570 } 35571 var tokenList = new LinkedList(); 35572 addAfter(tokenList, tokenList.head, text); 35573 matchGrammar(text, tokenList, grammar, tokenList.head, 0); 35574 return toArray(tokenList); 35575 }, 35576 /** 35577 * @namespace 35578 * @memberof Prism 35579 * @public 35580 */ 35581 hooks: { 35582 all: {}, 35583 /** 35584 * Adds the given callback to the list of callbacks for the given hook. 35585 * 35586 * The callback will be invoked when the hook it is registered for is run. 35587 * Hooks are usually directly run by a highlight function but you can also run hooks yourself. 35588 * 35589 * One callback function can be registered to multiple hooks and the same hook multiple times. 35590 * 35591 * @param {string} name The name of the hook. 35592 * @param {HookCallback} callback The callback function which is given environment variables. 35593 * @public 35594 */ 35595 add: function(name, callback) { 35596 var hooks2 = _.hooks.all; 35597 hooks2[name] = hooks2[name] || []; 35598 hooks2[name].push(callback); 35599 }, 35600 /** 35601 * Runs a hook invoking all registered callbacks with the given environment variables. 35602 * 35603 * Callbacks will be invoked synchronously and in the order in which they were registered. 35604 * 35605 * @param {string} name The name of the hook. 35606 * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered. 35607 * @public 35608 */ 35609 run: function(name, env) { 35610 var callbacks = _.hooks.all[name]; 35611 if (!callbacks || !callbacks.length) { 35612 return; 35613 } 35614 for (var i = 0, callback; callback = callbacks[i++]; ) { 35615 callback(env); 35616 } 35617 } 35618 }, 35619 Token 35620 }; 35621 function Token(type, content, alias, matchedStr) { 35622 this.type = type; 35623 this.content = content; 35624 this.alias = alias; 35625 this.length = (matchedStr || "").length | 0; 35626 } 35627 Token.stringify = function stringify(o, language) { 35628 if (typeof o == "string") { 35629 return o; 35630 } 35631 if (Array.isArray(o)) { 35632 var s = ""; 35633 o.forEach(function(e) { 35634 s += stringify(e, language); 35635 }); 35636 return s; 35637 } 35638 var env = { 35639 type: o.type, 35640 content: stringify(o.content, language), 35641 tag: "span", 35642 classes: ["token", o.type], 35643 attributes: {}, 35644 language 35645 }; 35646 var aliases = o.alias; 35647 if (aliases) { 35648 if (Array.isArray(aliases)) { 35649 Array.prototype.push.apply(env.classes, aliases); 35650 } else { 35651 env.classes.push(aliases); 35652 } 35653 } 35654 _.hooks.run("wrap", env); 35655 var attributes = ""; 35656 for (var name in env.attributes) { 35657 attributes += " " + name + '="' + (env.attributes[name] || "").replace(/"/g, """) + '"'; 35658 } 35659 return "<" + env.tag + ' class="' + env.classes.join(" ") + '"' + attributes + ">" + env.content + "</" + env.tag + ">"; 35660 }; 35661 function matchPattern(pattern, pos, text, lookbehind) { 35662 pattern.lastIndex = pos; 35663 var match = pattern.exec(text); 35664 if (match && lookbehind && match[1]) { 35665 var lookbehindLength = match[1].length; 35666 match.index += lookbehindLength; 35667 match[0] = match[0].slice(lookbehindLength); 35668 } 35669 return match; 35670 } 35671 function matchGrammar(text, tokenList, grammar, startNode, startPos, rematch) { 35672 for (var token in grammar) { 35673 if (!grammar.hasOwnProperty(token) || !grammar[token]) { 35674 continue; 35675 } 35676 var patterns = grammar[token]; 35677 patterns = Array.isArray(patterns) ? patterns : [patterns]; 35678 for (var j = 0; j < patterns.length; ++j) { 35679 if (rematch && rematch.cause == token + "," + j) { 35680 return; 35681 } 35682 var patternObj = patterns[j]; 35683 var inside = patternObj.inside; 35684 var lookbehind = !!patternObj.lookbehind; 35685 var greedy = !!patternObj.greedy; 35686 var alias = patternObj.alias; 35687 if (greedy && !patternObj.pattern.global) { 35688 var flags = patternObj.pattern.toString().match(/[imsuy]*$/)[0]; 35689 patternObj.pattern = RegExp(patternObj.pattern.source, flags + "g"); 35690 } 35691 var pattern = patternObj.pattern || patternObj; 35692 for (var currentNode = startNode.next, pos = startPos; currentNode !== tokenList.tail; pos += currentNode.value.length, currentNode = currentNode.next) { 35693 if (rematch && pos >= rematch.reach) { 35694 break; 35695 } 35696 var str = currentNode.value; 35697 if (tokenList.length > text.length) { 35698 return; 35699 } 35700 if (str instanceof Token) { 35701 continue; 35702 } 35703 var removeCount = 1; 35704 var match; 35705 if (greedy) { 35706 match = matchPattern(pattern, pos, text, lookbehind); 35707 if (!match || match.index >= text.length) { 35708 break; 35709 } 35710 var from = match.index; 35711 var to = match.index + match[0].length; 35712 var p = pos; 35713 p += currentNode.value.length; 35714 while (from >= p) { 35715 currentNode = currentNode.next; 35716 p += currentNode.value.length; 35717 } 35718 p -= currentNode.value.length; 35719 pos = p; 35720 if (currentNode.value instanceof Token) { 35721 continue; 35722 } 35723 for (var k = currentNode; k !== tokenList.tail && (p < to || typeof k.value === "string"); k = k.next) { 35724 removeCount++; 35725 p += k.value.length; 35726 } 35727 removeCount--; 35728 str = text.slice(pos, p); 35729 match.index -= pos; 35730 } else { 35731 match = matchPattern(pattern, 0, str, lookbehind); 35732 if (!match) { 35733 continue; 35734 } 35735 } 35736 var from = match.index; 35737 var matchStr = match[0]; 35738 var before = str.slice(0, from); 35739 var after = str.slice(from + matchStr.length); 35740 var reach = pos + str.length; 35741 if (rematch && reach > rematch.reach) { 35742 rematch.reach = reach; 35743 } 35744 var removeFrom = currentNode.prev; 35745 if (before) { 35746 removeFrom = addAfter(tokenList, removeFrom, before); 35747 pos += before.length; 35748 } 35749 removeRange(tokenList, removeFrom, removeCount); 35750 var wrapped = new Token(token, inside ? _.tokenize(matchStr, inside) : matchStr, alias, matchStr); 35751 currentNode = addAfter(tokenList, removeFrom, wrapped); 35752 if (after) { 35753 addAfter(tokenList, currentNode, after); 35754 }
35755 if (removeCount > 1) { 35756 var nestedRematch = { 35757 cause: token + "," + j, 35758 reach 35759 }; 35760 matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch); 35761 if (rematch && nestedRematch.reach > rematch.reach) { 35762 rematch.reach = nestedRematch.reach; 35763 } 35764 } 35765 } 35766 } 35767 } 35768 } 35769 function LinkedList() { 35770 var head = { value: null, prev: null, next: null }; 35771 var tail = { value: null, prev: head, next: null }; 35772 head.next = tail; 35773 this.head = head; 35774 this.tail = tail; 35775 this.length = 0; 35776 } 35777 function addAfter(list, node, value) { 35778 var next = node.next; 35779 var newNode = { value, prev: node, next }; 35780 node.next = newNode; 35781 next.prev = newNode; 35782 list.length++; 35783 return newNode; 35784 } 35785 function removeRange(list, node, count) { 35786 var next = node.next; 35787 for (var i = 0; i < count && next !== list.tail; i++) { 35788 next = next.next; 35789 } 35790 node.next = next; 35791 next.prev = node; 35792 list.length -= i; 35793 } 35794 function toArray(list) { 35795 var array = []; 35796 var node = list.head.next; 35797 while (node !== list.tail) { 35798 array.push(node.value); 35799 node = node.next; 35800 } 35801 return array; 35802 } 35803 return _; 35804 }(); 35805 module.exports = Prism2; 35806 Prism2.default = Prism2; 35807 } 35808}); 35809
35810// src/prism-langs.ts 35811var Prism = __toESM(require_prism()); 35812Prism.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) { 35813 "entity" === e.type && (e.attributes.title = e.content.replace(/&/, "&")); 35814}), Object.defineProperty(Prism.languages.markup.tag, "addInlined", { value: function(e, n) { 35815 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] }, {}); 35816 n[e] = { pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() { 35817 return e; 35818 }), "i"), lookbehind: true, greedy: true, inside: t }, Prism.languages.insertBefore("markup", "cdata", n); 35819} }), Object.defineProperty(Prism.languages.markup.tag, "addAttribute", { value: function(e, n) { 35820 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" }, /"|'/] } } } }); 35821} }), 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) { 35822 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" }; 35823 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" } }; 35824}(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+)*(?
35824:\.(?:\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) { 35825 var n = /#(?!\{).+/, t = { pattern: /#\{[^}]+\}/, alias: "variable" }; 35826 e.languages.coffeescript = e.languages.extend("javascript", { comment: n, string: [{ pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: true }
35826, { 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; 35827}(Prism), function(l) { 35828 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: /[{}]/ }; 35829 Object.defineProperty(e, "addSupport", { value: function(e2, o) { 35830 (e2 = "string" == typeof e2 ? [e2] : e2).forEach(function(e3) { 35831 var n = function(e4) { 35832 e4.inside || (e4.inside = {}), e4.inside.rest = o; 35833 }, t = "doc-comment"; 35834 if (a = l.languages[e3]) { 35835 var a, r = a[t]; 35836 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)) 35837 for (var s = 0, i = r.length; s < i; s++) 35838 r[s] instanceof RegExp && (r[s] = { pattern: r[s] }), n(r[s]); 35839 else 35840 n(r); 35841 } 35842 }); 35843 } }), e.addSupport(["java", "javascript", "php"], e); 35844}(Prism), function(e) { 35845 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); 35846 n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css")); 35847}(Prism), function(e) { 35848 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 }; 35849 e.languages.insertBefore("css", "function", { operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: true }, hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }
35849, 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 }); 35850}(Prism), function(e) { 35851 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() { 35852 return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source; 35853 }), s = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source; 35854 function i(e2, n2) { 35855 n2 = (n2 || "").replace(/m/g, "") + "m"; 35856 var t2 = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() { 35857 return a; 35858 }).replace(/<<value>>/g, function() { 35859 return e2; 35860 }); 35861 return RegExp(t2, n2); 35862 } 35863 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() { 35864 return a; 35865 })), lookbehind: true, alias: "string" }, comment: /#.*/, key: { pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() { 35866 return a; 35867 }).replace(/<<key>>/g, function() { 35868 return "(?:" + r + "|" + s + ")"; 35869 })), 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; 35870}(Prism), function(o) { 35871 var n = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source; 35872 function e(e2) { 35873 return e2 = e2.replace(/<inner>/g, function() { 35874 return n; 35875 }), RegExp(/((?:^|[^\\])(?:\\{2}
35875)*)/.source + "(?:" + e2 + ")"); 35876 } 35877 var t = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, a = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() { 35878 return t; 35879 }), 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) { 35880 ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(e2) { 35881 n2 !== e2 && (o.languages.markdown[n2].inside.content.inside[e2] = o.languages.markdown[e2]); 35882 }); 35883 }), o.hooks.add("after-tokenize", function(e2) { 35884 "markdown" !== e2.language && "md" !== e2.language || !function e3(n2) { 35885 if (n2 && "string" != typeof n2) 35886 for (var t2 = 0, a2 = n2.length; t2 < a2; t2++) { 35887 var r2, s = n2[t2]; 35888 "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])); 35889 } 35890 }(e2.tokens); 35891 }), o.hooks.add("wrap", function(e2) { 35892 if ("code-block" === e2.type) { 35893 for (var n2 = "", t2 = 0, a2 = e2.classes.length; t2 < a2; t2++) { 35894 var r2 = e2.classes[t2], r2 = /language-(.+)/.exec(r2); 35895 if (r2) { 35896 n2 = r2[1]; 35897 break; 35898 } 35899 } 35900 var s, i = o.languages[n2]; 35901 i ? e2.content = o.highlight(function(e3) { 35902 e3 = e3.replace(l, ""); 35903 return e3 = e3.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(e4, n3) { 35904 var t3; 35905 return "#" === (n3 = n3.toLowerCase())[0] ? (t3 = "x" === n3[1] ? parseInt(n3.slice(2), 16) : Number(n3.slice(1)), c(t3)) : u[n3] || e4; 35906 }); 35907 }(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() { 35908 var e3 = document.getElementById(s); 35909 e3 && (e3.innerHTML = o.highlight(e3.textContent, o.languages[n2], n2)); 35910 })); 35911 } 35912 }), RegExp(o.languages.markup.tag.pattern.source, "gi")), u = { amp: "&", lt: "<", gt: ">", quot: '"' }, c = String.fromCodePoint || String.fromCharCode; 35913 o.languages.md = o.languages.markdown; 35914}(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) { 35915 if ("graphql" === e.language) 35916 for (var i = e.tokens.filter(function(e2) { 35917 return "string" != typeof e2 && "comment" !== e2.type && "scalar" !== e2.type; 35918 }), o = 0; o < i.length; ) { 35919 var n = i[o++]; 35920 if ("keyword" === n.type && "mutation" === n.content) { 35921 var t = []; 35922 if (p(["definition-mutation", "punctuation"]) && "(" === c(1).content) { 35923 o += 2; 35924 var a = d(/^\($/, /^\)$/); 35925 if (-1 === a) 35926 continue; 35927 for (; o < a; o++) { 35928 var r = c(0); 35929 "variable" === r.type && (g(r, "variable-input"), t.push(r.content)); 35930 } 35931 o = a + 1; 35932 } 35933 if (p(["punctuation", "property-query"]) && "{" === c(0).content && (o++, g(c(0), "property-mutation"), 0 < t.length)) { 35934 var s = d(/^\{$/, /^\}$/); 35935 if (-1 !== s) 35936 for (var l = o; l < s; l++) { 35937 var u = i[l]; 35938 "variable" === u.type && 0 <= t.indexOf(u.content) && g(u, "variable-input"); 35939 } 35940 } 35941 } 35942 } 35943 function c(e2) { 35944 return i[o + e2]; 35945 } 35946 function p(e2, n2) { 35947 n2 = n2 || 0; 35948 for (var t2 = 0; t2 < e2.length; t2++) { 35949 var a2 = c(t2 + n2); 35950 if (!a2 || a2.type !== e2[t2]) 35951 return; 35952 } 35953 return 1; 35954 } 35955 function d(e2, n2) { 35956 for (var t2 = 1, a2 = o; a2 < i.length; a2++) { 35957 var r2 = i[a2], s2 = r2.content; 35958 if ("punctuation" === r2.type && "string" == typeof s2) { 35959 if (e2.test(s2)) 35960 t2++; 35961 else if (n2.test(s2) && 0 === --t2) 35962 return a2; 35963 } 35964 } 35965 return -1; 35966 } 35967 function g(e2, n2) { 35968 var t2 = e2.alias; 35969 t2 ? Array.isArray(t2) || (e2.alias = t2 = [t2]) : e2.alias = t2 = [], t2.push(n2); 35970 } 35971}), 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?|CA
35971SE|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) { 35972 var e = b.languages.javascript["template-string"], t = e.pattern.source, m = e.inside.interpolation, f = m.inside["interpolation-punctuation"], s = m.pattern.source; 35973 function n(e2, n2) { 35974 if (b.languages[e2]) 35975 return { pattern: RegExp("((?:" + n2 + ")\\s*)" + t), lookbehind: true, greedy: true, inside: { "template-punctuation": { pattern: /^`|`$/, alias: "string" }, "embedded-code": { pattern: /[\s\S]+/, alias: e2 } } }; 35976 } 35977 function h(e2, n2, t2) { 35978 e2 = { code: e2, grammar: n2, language: t2 }; 35979 return b.hooks.run("before-tokenize", e2), e2.tokens = b.tokenize(e2.code, e2.grammar), b.hooks.run("after-tokenize", e2), e2.tokens; 35980 } 35981 function l(a2, e2, r) { 35982 var n2 = b.tokenize(a2, { interpolation: { pattern: RegExp(s), lookbehind: true } }), p = 0, d = {}, n2 = h(n2.map(function(e3) { 35983 if ("string" == typeof e3) 35984 return e3; 35985 for (var n3, t2, e3 = e3.content; -1 !== a2.indexOf((t2 = p++, n3 = "___" + r.toUpperCase() + "_" + t2 + "___")); ) 35986 ; 35987 return d[n3] = e3, n3; 35988 }).join(""), e2, r), g = Object.keys(d); 35989 return p = 0, function e3(n3) { 35990 for (var t2 = 0; t2 < n3.length; t2++) { 35991 if (p >= g.length) 35992 return; 35993 var a3, r2, s2, i, o, l2, u2, c = n3[t2]; 35994 "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])); 35995 } 35996 }(n2), new b.Token(r, n2, "language-" + r, a2); 35997 } 35998 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(
35998Boolean); 35999 var a = { javascript: true, js: true, typescript: true, ts: true, jsx: true, tsx: true }; 36000 function u(e2) { 36001 return "string" == typeof e2 ? e2 : Array.isArray(e2) ? e2.map(u).join("") : u(e2.content); 36002 } 36003 b.hooks.add("after-tokenize", function(e2) { 36004 e2.language in a && !function e3(n2) { 36005 for (var t2 = 0, a2 = n2.length; t2 < a2; t2++) { 36006 var r, s2, i, o = n2[t2]; 36007 "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])); 36008 } 36009 }(e2.tokens); 36010 }); 36011}(Prism), function(e) { 36012 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"]; 36013 var n = e.languages.extend("typescript", {}); 36014 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; 36015}(Prism), function(e) { 36016 var n = e.languages.javascript, t = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, a = "(@(?:arg|argument|param|property)\\s+(?:" + t + "\\s+)?)"; 36017 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() { 36018 return t; 36019 })), 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); 36020}(Prism), function(e) { 36021 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 }); 36022}(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) { 36023 function n(e2, n2) { 36024 return RegExp(e2.replace(/<ID>/g, function() { 36025 return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source; 36026 }), n2); 36027 } 36028 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>
36028(?:\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" } }); 36029 for (var t = ["function", "function-variable", "method", "method-variable", "property-access"], a = 0; a < t.length; a++) { 36030 var r = t[a], s = e.languages.javascript[r], r = (s = "RegExp" === e.util.type(s) ? e.languages.javascript[r] = { pattern: s } : s).inside || {}; 36031 (s.inside = r)["maybe-class-name"] = /^[A-Z][\s\S]*/; 36032 } 36033}(Prism), function(s) { 36034 var e = s.util.clone(s.languages.javascript), t = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, a = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, r = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source; 36035 function n(e2, n2) { 36036 return e2 = e2.replace(/<S>/g, function() { 36037 return t; 36038 }).replace(/<BRACES>/g, function() { 36039 return a; 36040 }).replace(/<SPREAD>/g, function() { 36041 return r; 36042 }), RegExp(e2, n2); 36043 } 36044 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); 36045 function i(e2) { 36046 for (var n2 = [], t2 = 0; t2 < e2.length; t2++) { 36047 var a2 = e2[t2], r2 = false; 36048 "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); 36049 } 36050 } 36051 var o = function(e2) { 36052 return e2 ? "string" == typeof e2 ? e2 : "string" == typeof e2.content ? e2.content : e2.content.map(o).join("") : ""; 36053 }; 36054 s.hooks.add("after-tokenize", function(e2) { 36055 "jsx" !== e2.language && "tsx" !== e2.language || i(e2.tokens); 36056 }); 36057}(Prism), function(e) { 36058 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); 36059 n.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + n.pattern.source + ")", n.pattern.flags), n.lookbehind = true; 36060}(Prism), Prism.languages.swift = { comment: { pattern: /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/, lookbehind: true, greedy: true }, "string-literal": [{ pattern: RegExp(/(^|[^"#])/.source + "(?:" + /"(?:\\(?:\((?:[^()]|\([^()]
36060*\))*\)|\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) { 36061 e.inside.interpolation.inside = Prism.languages.swift; 36062}), function(e) { 36063 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"]; 36064 var n = { "interpolation-punctuation": { pattern: /^\$\{?|\}$/, alias: "punctuation" }, expression: { pattern: /[\s\S]+/, inside: e.languages.kotlin } }; 36065 e.languages.insertBefore("kotlin", "string", { "string-literal": [{ pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/, alias: "multiline", inside: { interpolation: { pattern: /\$(?:[a-z_]\w
36065*|\{[^{}]*\})/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; 36066}(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) { 36067 for (var n = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source, t = 0; t < 2; t++) 36068 n = n.replace(/<self>/g, function() { 36069 return n; 36070 }); 36071 n = n.replace(/<self>/g, function() { 36072 return /[^\s\S]/.source; 36073 }), e.languages.rust = { comment: [{ pattern: RegExp(/(^|[^\\])/.source + n), lookbehind: true, greedy: true }, { pattern: /(^|[^\\:])\/\/.*/, lookbehind: true, greedy: true }
36073], 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; 36074}(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) { 36075 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() { 36076 return n.source; 36077 }); 36078 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() { 36079 return n.source; 36080 })), lookbehind: true }
36080, /\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() { 36081 return t; 36082 }) + ")"), 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"]); 36083}(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: //, 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; 36084
36085// src/themes/index.ts 36086var themes_exports = {}; 36087__export(themes_exports, { 36088 dracula: () => dracula_default, 36089 duotoneDark: () => duotoneDark_default, 36090 duotoneLight: () => duotoneLight_default, 36091 github: () => github_default, 36092 jettwaveDark: () => jettwaveDark_default, 36093 jettwaveLight: () => jettwaveLight_default, 36094 nightOwl: () => nightOwl_default, 36095 nightOwlLight: () => nightOwlLight_default, 36096 oceanicNext: () => oceanicNext_default, 36097 okaidia: () => okaidia_default, 36098 oneDark: () => oneDark_default, 36099 oneLight: () => oneLight_default, 36100 palenight: () => palenight_default, 36101 shadesOfPurple: () => shadesOfPurple_default, 36102 synthwave84: () => synthwave84_default, 36103 ultramin: () => ultramin_default, 36104 vsDark: () => vsDark_default, 36105 vsLight: () => vsLight_default 36106}); 36107
36108// src/themes/dracula.ts 36109var theme = { 36110 plain: { 36111 color: "#F8F8F2", 36112 backgroundColor: "#282A36" 36113 }, 36114 styles: [ 36115 { 36116 types: ["prolog", "constant", "builtin"], 36117 style: { 36118 color: "rgb(189, 147, 249)" 36119 } 36120 }, 36121 { 36122 types: ["inserted", "function"], 36123 style: { 36124 color: "rgb(80, 250, 123)" 36125 } 36126 }, 36127 { 36128 types: ["deleted"], 36129 style: { 36130 color: "rgb(255, 85, 85)" 36131 } 36132 }, 36133 { 36134 types: ["changed"], 36135 style: { 36136 color: "rgb(255, 184, 108)" 36137 } 36138 }, 36139 { 36140 types: ["punctuation", "symbol"], 36141 style: { 36142 color: "rgb(248, 248, 242)" 36143 } 36144 }, 36145 { 36146 types: ["string", "char", "tag", "selector"], 36147 style: { 36148 color: "rgb(255, 121, 198)" 36149 } 36150 }, 36151 { 36152 types: ["keyword", "variable"], 36153 style: { 36154 color: "rgb(189, 147, 249)", 36155 fontStyle: "italic" 36156 } 36157 }, 36158 { 36159 types: ["comment"], 36160 style: { 36161 color: "rgb(98, 114, 164)" 36162 } 36163 }, 36164 { 36165 types: ["attr-name"], 36166 style: { 36167 color: "rgb(241, 250, 140)" 36168 } 36169 } 36170 ] 36171}; 36172var dracula_default = theme; 36173
36174// src/themes/duotoneDark.ts 36175var theme2 = { 36176 plain: { 36177 backgroundColor: "#2a2734", 36178 color: "#9a86fd" 36179 }, 36180 styles: [ 36181 { 36182 types: ["comment", "prolog", "doctype", "cdata", "punctuation"], 36183 style: { 36184 color: "#6c6783" 36185 } 36186 }, 36187 { 36188 types: ["namespace"], 36189 style: { 36190 opacity: 0.7 36191 } 36192 }, 36193 { 36194 types: ["tag", "operator", "number"], 36195 style: { 36196 color: "#e09142" 36197 } 36198 }, 36199 { 36200 types: ["property", "function"], 36201 style: { 36202 color: "#9a86fd" 36203 } 36204 }, 36205 { 36206 types: ["tag-id", "selector", "atrule-id"], 36207 style: { 36208 color: "#eeebff" 36209 } 36210 }, 36211 { 36212 types: ["attr-name"], 36213 style: { 36214 color: "#c4b9fe" 36215 } 36216 }, 36217 { 36218 types: [ 36219 "boolean", 36220 "string", 36221 "entity", 36222 "url", 36223 "attr-value", 36224 "keyword", 36225 "control", 36226 "directive", 36227 "unit", 36228 "statement", 36229 "regex", 36230 "atrule", 36231 "placeholder", 36232 "variable" 36233 ], 36234 style: { 36235 color: "#ffcc99" 36236 } 36237 }, 36238 { 36239 types: ["deleted"], 36240 style: { 36241 textDecorationLine: "line-through" 36242 } 36243 }, 36244 { 36245 types: ["inserted"], 36246 style: { 36247 textDecorationLine: "underline" 36248 } 36249 }, 36250 { 36251 types: ["italic"], 36252 style: { 36253 fontStyle: "italic" 36254 } 36255 }, 36256 { 36257 types: ["important", "bold"], 36258 style: { 36259 fontWeight: "bold" 36260 } 36261 }, 36262 { 36263 types: ["important"], 36264 style: { 36265 color: "#c4b9fe" 36266 } 36267 } 36268 ] 36269}; 36270var duotoneDark_default = theme2; 36271
36272// src/themes/duotoneLight.ts 36273var theme3 = { 36274 plain: { 36275 backgroundColor: "#faf8f5", 36276 color: "#728fcb" 36277 }, 36278 styles: [ 36279 { 36280 types: ["comment", "prolog", "doctype", "cdata", "punctuation"], 36281 style: { 36282 color: "#b6ad9a" 36283 } 36284 }, 36285 { 36286 types: ["namespace"], 36287 style: { 36288 opacity: 0.7 36289 } 36290 }, 36291 { 36292 types: ["tag", "operator", "number"], 36293 style: { 36294 color: "#063289" 36295 } 36296 }, 36297 { 36298 types: ["property", "function"], 36299 style: { 36300 color: "#b29762" 36301 } 36302 }, 36303 { 36304 types: ["tag-id", "selector", "atrule-id"], 36305 style: { 36306 color: "#2d2006" 36307 } 36308 }, 36309 { 36310 types: ["attr-name"], 36311 style: { 36312 color: "#896724" 36313 } 36314 }, 36315 { 36316 types: [ 36317 "boolean", 36318 "string", 36319 "entity", 36320 "url", 36321 "attr-value", 36322 "keyword", 36323 "control", 36324 "directive", 36325 "unit", 36326 "statement", 36327 "regex", 36328 "atrule" 36329 ], 36330 style: { 36331 color: "#728fcb" 36332 } 36333 }, 36334 { 36335 types: ["placeholder", "variable"], 36336 style: { 36337 color: "#93abdc" 36338 } 36339 }, 36340 { 36341 types: ["deleted"], 36342 style: { 36343 textDecorationLine: "line-through" 36344 } 36345 }, 36346 { 36347 types: ["inserted"], 36348 style: { 36349 textDecorationLine: "underline" 36350 } 36351 }, 36352 { 36353 types: ["italic"], 36354 style: { 36355 fontStyle: "italic" 36356 } 36357 }, 36358 { 36359 types: ["important", "bold"], 36360 style: { 36361 fontWeight: "bold" 36362 } 36363 }, 36364 { 36365 types: ["important"], 36366 style: { 36367 color: "#896724" 36368 } 36369 } 36370 ] 36371}; 36372var duotoneLight_default = theme3; 36373
36374// src/themes/github.ts 36375var theme4 = { 36376 plain: { 36377 color: "#393A34", 36378 backgroundColor: "#f6f8fa" 36379 }, 36380 styles: [ 36381 { 36382 types: ["comment", "prolog", "doctype", "cdata"], 36383 style: { 36384 color: "#999988", 36385 fontStyle: "italic" 36386 } 36387 }, 36388 { 36389 types: ["namespace"], 36390 style: { 36391 opacity: 0.7 36392 } 36393 }, 36394 { 36395 types: ["string", "attr-value"], 36396 style: { 36397 color: "#e3116c" 36398 } 36399 }, 36400 { 36401 types: ["punctuation", "operator"], 36402 style: { 36403 color: "#393A34" 36404 } 36405 }, 36406 { 36407 types: [ 36408 "entity", 36409 "url", 36410 "symbol", 36411 "number", 36412 "boolean", 36413 "variable", 36414 "constant", 36415 "property", 36416 "regex", 36417 "inserted" 36418 ], 36419 style: { 36420 color: "#36acaa" 36421 } 36422 }, 36423 { 36424 types: ["atrule", "keyword", "attr-name", "selector"], 36425 style: { 36426 color: "#00a4db" 36427 } 36428 }, 36429 { 36430 types: ["function", "deleted", "tag"], 36431 style: { 36432 color: "#d73a49" 36433 } 36434 }, 36435 { 36436 types: ["function-variable"], 36437 style: { 36438 color: "#6f42c1" 36439 } 36440 }, 36441 { 36442 types: ["tag", "selector", "keyword"], 36443 style: { 36444 color: "#00009f" 36445 } 36446 } 36447 ] 36448}; 36449var github_default = theme4; 36450
36451// src/themes/nightOwl.ts 36452var theme5 = { 36453 plain: { 36454 color: "#d6deeb", 36455 backgroundColor: "#011627" 36456 }, 36457 styles: [ 36458 { 36459 types: ["changed"], 36460 style: { 36461 color: "rgb(162, 191, 252)", 36462 fontStyle: "italic" 36463 } 36464 }, 36465 { 36466 types: ["deleted"], 36467 style: { 36468 color: "rgba(239, 83, 80, 0.56)", 36469 fontStyle: "italic" 36470 } 36471 }, 36472 { 36473 types: ["inserted", "attr-name"], 36474 style: { 36475 color: "rgb(173, 219, 103)", 36476 fontStyle: "italic" 36477 } 36478 }, 36479 { 36480 types: ["comment"], 36481 style: { 36482 color: "rgb(99, 119, 119)", 36483 fontStyle: "italic" 36484 } 36485 }, 36486 { 36487 types: ["string", "url"], 36488 style: { 36489 color: "rgb(173, 219, 103)" 36490 } 36491 }, 36492 { 36493 types: ["variable"], 36494 style: { 36495 color: "rgb(214, 222, 235)" 36496 } 36497 }, 36498 { 36499 types: ["number"], 36500 style: { 36501 color: "rgb(247, 140, 108)" 36502 } 36503 }, 36504 { 36505 types: ["builtin", "char", "constant", "function"], 36506 style: { 36507 color: "rgb(130, 170, 255)" 36508 } 36509 }, 36510 { 36511 // This was manually added after the auto-generation 36512 // so that punctuations are not italicised 36513 types: ["punctuation"], 36514 style: { 36515 color: "rgb(199, 146, 234)" 36516 } 36517 }, 36518 { 36519 types: ["selector", "doctype"], 36520 style: { 36521 color: "rgb(199, 146, 234)", 36522 fontStyle: "italic" 36523 } 36524 }, 36525 { 36526 types: ["class-name"], 36527 style: { 36528 color: "rgb(255, 203, 139)" 36529 } 36530 }, 36531 { 36532 types: ["tag", "operator", "keyword"], 36533 style: { 36534 color: "rgb(127, 219, 202)" 36535 } 36536 }, 36537 { 36538 types: ["boolean"], 36539 style: { 36540 color: "rgb(255, 88, 116)" 36541 } 36542 }, 36543 { 36544 types: ["property"], 36545 style: { 36546 color: "rgb(128, 203, 196)" 36547 } 36548 }, 36549 { 36550 types: ["namespace"], 36551 style: { 36552 color: "rgb(178, 204, 214)" 36553 } 36554 } 36555 ] 36556}; 36557var nightOwl_default = theme5; 36558
36559// src/themes/nightOwlLight.ts 36560var theme6 = { 36561 plain: { 36562 color: "#403f53", 36563 backgroundColor: "#FBFBFB" 36564 }, 36565 styles: [ 36566 { 36567 types: ["changed"], 36568 style: { 36569 color: "rgb(162, 191, 252)", 36570 fontStyle: "italic" 36571 } 36572 }, 36573 { 36574 types: ["deleted"], 36575 style: { 36576 color: "rgba(239, 83, 80, 0.56)", 36577 fontStyle: "italic" 36578 } 36579 }, 36580 { 36581 types: ["inserted", "attr-name"], 36582 style: { 36583 color: "rgb(72, 118, 214)", 36584 fontStyle: "italic" 36585 } 36586 }, 36587 { 36588 types: ["comment"], 36589 style: { 36590 color: "rgb(152, 159, 177)", 36591 fontStyle: "italic" 36592 } 36593 }, 36594 { 36595 types: ["string", "builtin", "char", "constant", "url"], 36596 style: { 36597 color: "rgb(72, 118, 214)" 36598 } 36599 }, 36600 { 36601 types: ["variable"], 36602 style: { 36603 color: "rgb(201, 103, 101)" 36604 } 36605 }, 36606 { 36607 types: ["number"], 36608 style: { 36609 color: "rgb(170, 9, 130)" 36610 } 36611 }, 36612 { 36613 // This was manually added after the auto-generation 36614 // so that punctuations are not italicised 36615 types: ["punctuation"], 36616 style: { 36617 color: "rgb(153, 76, 195)" 36618 } 36619 }, 36620 { 36621 types: ["function", "selector", "doctype"], 36622 style: { 36623 color: "rgb(153, 76, 195)", 36624 fontStyle: "italic" 36625 } 36626 }, 36627 { 36628 types: ["class-name"], 36629 style: { 36630 color: "rgb(17, 17, 17)" 36631 } 36632 }, 36633 { 36634 types: ["tag"], 36635 style: { 36636 color: "rgb(153, 76, 195)" 36637 } 36638 }, 36639 { 36640 types: ["operator", "property", "keyword", "namespace"], 36641 style: { 36642 color: "rgb(12, 150, 155)" 36643 } 36644 }, 36645 { 36646 types: ["boolean"], 36647 style: { 36648 color: "rgb(188, 84, 84)" 36649 } 36650 } 36651 ] 36652}; 36653var nightOwlLight_default = theme6; 36654
36655// src/themes/oceanicNext.ts 36656var colors = { 36657 char: "#D8DEE9", 36658 comment: "#999999", 36659 keyword: "#c5a5c5", 36660 primitive: "#5a9bcf", 36661 string: "#8dc891", 36662 variable: "#d7deea", 36663 boolean: "#ff8b50", 36664 punctuation: "#5FB3B3", 36665 tag: "#fc929e", 36666 function: "#79b6f2", 36667 className: "#FAC863", 36668 method: "#6699CC", 36669 operator: "#fc929e" 36670}; 36671var theme7 = { 36672 plain: { 36673 backgroundColor: "#282c34", 36674 color: "#ffffff" 36675 }, 36676 styles: [ 36677 { 36678 types: ["attr-name"], 36679 style: { 36680 color: colors.keyword 36681 } 36682 }, 36683 { 36684 types: ["attr-value"], 36685 style: { 36686 color: colors.string 36687 } 36688 }, 36689 { 36690 types: [ 36691 "comment", 36692 "block-comment", 36693 "prolog", 36694 "doctype", 36695 "cdata", 36696 "shebang" 36697 ], 36698 style: { 36699 color: colors.comment 36700 } 36701 }, 36702 { 36703 types: [ 36704 "property", 36705 "number", 36706 "function-name", 36707 "constant", 36708 "symbol", 36709 "deleted" 36710 ], 36711 style: { 36712 color: colors.primitive 36713 } 36714 }, 36715 { 36716 types: ["boolean"], 36717 style: { 36718 color: colors.boolean 36719 } 36720 }, 36721 { 36722 types: ["tag"], 36723 style: { 36724 color: colors.tag 36725 } 36726 }, 36727 { 36728 types: ["string"], 36729 style: { 36730 color: colors.string 36731 } 36732 }, 36733 { 36734 types: ["punctuation"], 36735 style: { 36736 color: colors.string 36737 } 36738 }, 36739 { 36740 types: ["selector", "char", "builtin", "inserted"], 36741 style: { 36742 color: colors.char 36743 } 36744 }, 36745 { 36746 types: ["function"], 36747 style: { 36748 color: colors.function 36749 } 36750 }, 36751 { 36752 types: ["operator", "entity", "url", "variable"], 36753 style: { 36754 color: colors.variable 36755 } 36756 }, 36757 { 36758 types: ["keyword"], 36759 style: { 36760 color: colors.keyword 36761 } 36762 }, 36763 { 36764 types: ["atrule", "class-name"], 36765 style: { 36766 color: colors.className 36767 } 36768 }, 36769 { 36770 types: ["important"], 36771 style: { 36772 fontWeight: "400" 36773 } 36774 }, 36775 { 36776 types: ["bold"], 36777 style: { 36778 fontWeight: "bold" 36779 } 36780 }, 36781 { 36782 types: ["italic"], 36783 style: { 36784 fontStyle: "italic" 36785 } 36786 }, 36787 { 36788 types: ["namespace"], 36789 style: { 36790 opacity: 0.7 36791 } 36792 } 36793 ] 36794}; 36795var oceanicNext_default = theme7; 36796
vendor: 1,945 bytes, lines 36797-36915
36797// src/themes/okaidia.ts 36798var theme8 = { 36799 plain: { 36800 color: "#f8f8f2", 36801 backgroundColor: "#272822" 36802 }, 36803 styles: [ 36804 { 36805 types: ["changed"], 36806 style: { 36807 color: "rgb(162, 191, 252)", 36808 fontStyle: "italic" 36809 } 36810 }, 36811 { 36812 types: ["deleted"], 36813 style: { 36814 color: "#f92672", 36815 fontStyle: "italic" 36816 } 36817 }, 36818 { 36819 types: ["inserted"], 36820 style: { 36821 color: "rgb(173, 219, 103)", 36822 fontStyle: "italic" 36823 } 36824 }, 36825 { 36826 types: ["comment"], 36827 style: { 36828 color: "#8292a2", 36829 fontStyle: "italic" 36830 } 36831 }, 36832 { 36833 types: ["string", "url"], 36834 style: { 36835 color: "#a6e22e" 36836 } 36837 }, 36838 { 36839 types: ["variable"], 36840 style: { 36841 color: "#f8f8f2" 36842 } 36843 }, 36844 { 36845 types: ["number"], 36846 style: { 36847 color: "#ae81ff" 36848 } 36849 }, 36850 { 36851 types: ["builtin", "char", "constant", "function", "class-name"], 36852 style: { 36853 color: "#e6db74" 36854 } 36855 }, 36856 { 36857 types: ["punctuation"], 36858 style: { 36859 color: "#f8f8f2" 36860 } 36861 }, 36862 { 36863 types: ["selector", "doctype"], 36864 style: { 36865 color: "#a6e22e", 36866 fontStyle: "italic" 36867 } 36868 }, 36869 { 36870 types: ["tag", "operator", "keyword"], 36871 style: { 36872 color: "#66d9ef" 36873 } 36874 }, 36875 { 36876 types: ["boolean"], 36877 style: { 36878 color: "#ae81ff" 36879 } 36880 }, 36881 { 36882 types: ["namespace"], 36883 style: { 36884 color: "rgb(178, 204, 214)", 36885 opacity: 0.7 36886 } 36887 }, 36888 { 36889 types: ["tag", "property"], 36890 style: { 36891 color: "#f92672" 36892 } 36893 }, 36894 { 36895 types: ["attr-name"], 36896 style: { 36897 color: "#a6e22e !important" 36898 } 36899 }, 36900 { 36901 types: ["doctype"], 36902 style: { 36903 color: "#8292a2" 36904 } 36905 }, 36906 { 36907 types: ["rule"], 36908 style: { 36909 color: "#e6db74" 36910 } 36911 } 36912 ] 36913}; 36914var okaidia_default = theme8; 36915
36916// src/themes/palenight.ts 36917var theme9 = { 36918 plain: { 36919 color: "#bfc7d5", 36920 backgroundColor: "#292d3e" 36921 }, 36922 styles: [ 36923 { 36924 types: ["comment"], 36925 style: { 36926 color: "rgb(105, 112, 152)", 36927 fontStyle: "italic" 36928 } 36929 }, 36930 { 36931 types: ["string", "inserted"], 36932 style: { 36933 color: "rgb(195, 232, 141)" 36934 } 36935 }, 36936 { 36937 types: ["number"], 36938 style: { 36939 color: "rgb(247, 140, 108)" 36940 } 36941 }, 36942 { 36943 types: ["builtin", "char", "constant", "function"], 36944 style: { 36945 color: "rgb(130, 170, 255)" 36946 } 36947 }, 36948 { 36949 types: ["punctuation", "selector"], 36950 style: { 36951 color: "rgb(199, 146, 234)" 36952 } 36953 }, 36954 { 36955 types: ["variable"], 36956 style: { 36957 color: "rgb(191, 199, 213)" 36958 } 36959 }, 36960 { 36961 types: ["class-name", "attr-name"], 36962 style: { 36963 color: "rgb(255, 203, 107)" 36964 } 36965 }, 36966 { 36967 types: ["tag", "deleted"], 36968 style: { 36969 color: "rgb(255, 85, 114)" 36970 } 36971 }, 36972 { 36973 types: ["operator"], 36974 style: { 36975 color: "rgb(137, 221, 255)" 36976 } 36977 }, 36978 { 36979 types: ["boolean"], 36980 style: { 36981 color: "rgb(255, 88, 116)" 36982 } 36983 }, 36984 { 36985 types: ["keyword"], 36986 style: { 36987 fontStyle: "italic" 36988 } 36989 }, 36990 { 36991 types: ["doctype"], 36992 style: { 36993 color: "rgb(199, 146, 234)", 36994 fontStyle: "italic" 36995 } 36996 }, 36997 { 36998 types: ["namespace"], 36999 style: { 37000 color: "rgb(178, 204, 214)" 37001 } 37002 }, 37003 { 37004 types: ["url"], 37005 style: { 37006 color: "rgb(221, 221, 221)" 37007 } 37008 } 37009 ] 37010}; 37011var palenight_default = theme9; 37012
37013// src/themes/shadesOfPurple.ts 37014var theme10 = { 37015 plain: { 37016 color: "#9EFEFF", 37017 backgroundColor: "#2D2A55" 37018 }, 37019 styles: [ 37020 { 37021 types: ["changed"], 37022 style: { 37023 color: "rgb(255, 238, 128)" 37024 } 37025 }, 37026 { 37027 types: ["deleted"], 37028 style: { 37029 color: "rgba(239, 83, 80, 0.56)" 37030 } 37031 }, 37032 { 37033 types: ["inserted"], 37034 style: { 37035 color: "rgb(173, 219, 103)" 37036 } 37037 }, 37038 { 37039 types: ["comment"], 37040 style: { 37041 color: "rgb(179, 98, 255)", 37042 fontStyle: "italic" 37043 } 37044 }, 37045 { 37046 types: ["punctuation"], 37047 style: { 37048 color: "rgb(255, 255, 255)" 37049 } 37050 }, 37051 { 37052 types: ["constant"], 37053 style: { 37054 color: "rgb(255, 98, 140)" 37055 } 37056 }, 37057 { 37058 types: ["string", "url"], 37059 style: { 37060 color: "rgb(165, 255, 144)" 37061 } 37062 }, 37063 { 37064 types: ["variable"], 37065 style: { 37066 color: "rgb(255, 238, 128)" 37067 } 37068 }, 37069 { 37070 types: ["number", "boolean"], 37071 style: { 37072 color: "rgb(255, 98, 140)" 37073 } 37074 }, 37075 { 37076 types: ["attr-name"], 37077 style: { 37078 color: "rgb(255, 180, 84)" 37079 } 37080 }, 37081 { 37082 types: [ 37083 "keyword", 37084 "operator", 37085 "property", 37086 "namespace", 37087 "tag", 37088 "selector", 37089 "doctype" 37090 ], 37091 style: { 37092 color: "rgb(255, 157, 0)" 37093 } 37094 }, 37095 { 37096 types: ["builtin", "char", "constant", "function", "class-name"], 37097 style: { 37098 color: "rgb(250, 208, 0)" 37099 } 37100 } 37101 ] 37102}; 37103var shadesOfPurple_default = theme10; 37104
37105// src/themes/synthwave84.ts 37106var theme11 = { 37107 plain: { 37108 backgroundColor: "linear-gradient(to bottom, #2a2139 75%, #34294f)", 37109 backgroundImage: "#34294f", 37110 color: "#f92aad", 37111 textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3" 37112 }, 37113 styles: [ 37114 { 37115 types: ["comment", "block-comment", "prolog", "doctype", "cdata"], 37116 style: { 37117 color: "#495495", 37118 fontStyle: "italic" 37119 } 37120 }, 37121 { 37122 types: ["punctuation"], 37123 style: { 37124 color: "#ccc" 37125 } 37126 }, 37127 { 37128 types: [ 37129 "tag", 37130 "attr-name", 37131 "namespace", 37132 "number", 37133 "unit", 37134 "hexcode", 37135 "deleted" 37136 ], 37137 style: { 37138 color: "#e2777a" 37139 } 37140 }, 37141 { 37142 types: ["property", "selector"], 37143 style: { 37144 color: "#72f1b8", 37145 textShadow: "0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475" 37146 } 37147 }, 37148 { 37149 types: ["function-name"], 37150 style: { 37151 color: "#6196cc" 37152 } 37153 }, 37154 { 37155 types: ["boolean", "selector-id", "function"], 37156 style: { 37157 color: "#fdfdfd", 37158 textShadow: "0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975" 37159 } 37160 }, 37161 { 37162 types: ["class-name", "maybe-class-name", "builtin"], 37163 style: { 37164 color: "#fff5f6", 37165 textShadow: "0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75" 37166 } 37167 }, 37168 { 37169 types: ["constant", "symbol"], 37170 style: { 37171 color: "#f92aad", 37172 textShadow: "0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3" 37173 } 37174 }, 37175 { 37176 types: ["important", "atrule", "keyword", "selector-class"], 37177 style: { 37178 color: "#f4eee4", 37179 textShadow: "0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575" 37180 } 37181 }, 37182 { 37183 types: ["string", "char", "attr-value", "regex", "variable"], 37184 style: { 37185 color: "#f87c32" 37186 } 37187 }, 37188 { 37189 types: ["parameter"], 37190 style: { 37191 fontStyle: "italic" 37192 } 37193 }, 37194 { 37195 types: ["entity", "url"], 37196 style: { 37197 color: "#67cdcc" 37198 } 37199 }, 37200 { 37201 types: ["operator"], 37202 style: { 37203 color: "ffffffee" 37204 } 37205 }, 37206 { 37207 types: ["important", "bold"], 37208 style: { 37209 fontWeight: "bold" 37210 } 37211 }, 37212 { 37213 types: ["italic"], 37214 style: { 37215 fontStyle: "italic" 37216 } 37217 }, 37218 { 37219 types: ["entity"], 37220 style: { 37221 cursor: "help" 37222 } 37223 }, 37224 { 37225 types: ["inserted"], 37226 style: { 37227 color: "green" 37228 } 37229 } 37230 ] 37231}; 37232var synthwave84_default = theme11; 37233
37234// src/themes/ultramin.ts 37235var theme12 = { 37236 plain: { 37237 color: "#282a2e", 37238 backgroundColor: "#ffffff" 37239 }, 37240 styles: [ 37241 { 37242 types: ["comment"], 37243 style: { 37244 color: "rgb(197, 200, 198)" 37245 } 37246 }, 37247 { 37248 types: ["string", "number", "builtin", "variable"], 37249 style: { 37250 color: "rgb(150, 152, 150)" 37251 } 37252 }, 37253 { 37254 types: ["class-name", "function", "tag", "attr-name"], 37255 style: { 37256 color: "rgb(40, 42, 46)" 37257 } 37258 } 37259 ] 37260}; 37261var ultramin_default = theme12; 37262
37263// src/themes/vsDark.ts 37264var theme13 = { 37265 plain: { 37266 color: "#9CDCFE", 37267 backgroundColor: "#1E1E1E" 37268 }, 37269 styles: [ 37270 { 37271 types: ["prolog"], 37272 style: { 37273 color: "rgb(0, 0, 128)" 37274 } 37275 }, 37276 { 37277 types: ["comment"], 37278 style: { 37279 color: "rgb(106, 153, 85)" 37280 } 37281 }, 37282 { 37283 types: ["builtin", "changed", "keyword", "interpolation-punctuation"], 37284 style: { 37285 color: "rgb(86, 156, 214)" 37286 } 37287 }, 37288 { 37289 types: ["number", "inserted"], 37290 style: { 37291 color: "rgb(181, 206, 168)" 37292 } 37293 }, 37294 { 37295 types: ["constant"], 37296 style: { 37297 color: "rgb(100, 102, 149)" 37298 } 37299 }, 37300 { 37301 types: ["attr-name", "variable"], 37302 style: { 37303 color: "rgb(156, 220, 254)" 37304 } 37305 }, 37306 { 37307 types: ["deleted", "string", "attr-value", "template-punctuation"], 37308 style: { 37309 color: "rgb(206, 145, 120)" 37310 } 37311 }, 37312 { 37313 types: ["selector"], 37314 style: { 37315 color: "rgb(215, 186, 125)" 37316 } 37317 }, 37318 { 37319 // Fix tag color 37320 types: ["tag"], 37321 style: { 37322 color: "rgb(78, 201, 176)" 37323 } 37324 }, 37325 { 37326 // Fix tag color for HTML 37327 types: ["tag"], 37328 languages: ["markup"], 37329 style: { 37330 color: "rgb(86, 156, 214)" 37331 } 37332 }, 37333 { 37334 types: ["punctuation", "operator"], 37335 style: { 37336 color: "rgb(212, 212, 212)" 37337 } 37338 }, 37339 { 37340 // Fix punctuation color for HTML 37341 types: ["punctuation"], 37342 languages: ["markup"], 37343 style: { 37344 color: "#808080" 37345 } 37346 }, 37347 { 37348 types: ["function"], 37349 style: { 37350 color: "rgb(220, 220, 170)" 37351 } 37352 }, 37353 { 37354 types: ["class-name"], 37355 style: { 37356 color: "rgb(78, 201, 176)" 37357 } 37358 }, 37359 { 37360 types: ["char"], 37361 style: { 37362 color: "rgb(209, 105, 105)" 37363 } 37364 } 37365 ] 37366}; 37367var vsDark_default = theme13; 37368
37369// src/themes/vsLight.ts 37370var theme14 = { 37371 plain: { 37372 color: "#000000", 37373 backgroundColor: "#ffffff" 37374 }, 37375 styles: [ 37376 { 37377 types: ["comment"], 37378 style: { 37379 color: "rgb(0, 128, 0)" 37380 } 37381 }, 37382 { 37383 types: ["builtin"], 37384 style: { 37385 color: "rgb(0, 112, 193)" 37386 } 37387 }, 37388 { 37389 types: ["number", "variable", "inserted"], 37390 style: { 37391 color: "rgb(9, 134, 88)" 37392 } 37393 }, 37394 { 37395 types: ["operator"], 37396 style: { 37397 color: "rgb(0, 0, 0)" 37398 } 37399 }, 37400 { 37401 types: ["constant", "char"], 37402 style: { 37403 color: "rgb(129, 31, 63)" 37404 } 37405 }, 37406 { 37407 types: ["tag"], 37408 style: { 37409 color: "rgb(128, 0, 0)" 37410 } 37411 }, 37412 { 37413 types: ["attr-name"], 37414 style: { 37415 color: "rgb(255, 0, 0)" 37416 } 37417 }, 37418 { 37419 types: ["deleted", "string"], 37420 style: { 37421 color: "rgb(163, 21, 21)" 37422 } 37423 }, 37424 { 37425 types: ["changed", "punctuation"], 37426 style: { 37427 color: "rgb(4, 81, 165)" 37428 } 37429 }, 37430 { 37431 types: ["function", "keyword"], 37432 style: { 37433 color: "rgb(0, 0, 255)" 37434 } 37435 }, 37436 { 37437 types: ["class-name"], 37438 style: { 37439 color: "rgb(38, 127, 153)" 37440 } 37441 } 37442 ] 37443}; 37444var vsLight_default = theme14; 37445
37446// src/themes/jettwaveDark.ts 37447var theme15 = { 37448 plain: { 37449 color: "#f8fafc", 37450 backgroundColor: "#011627" 37451 }, 37452 styles: [ 37453 { 37454 types: ["prolog"], 37455 style: { 37456 color: "#000080" 37457 } 37458 }, 37459 { 37460 types: ["comment"], 37461 style: { 37462 color: "#6A9955" 37463 } 37464 }, 37465 { 37466 types: ["builtin", "changed", "keyword", "interpolation-punctuation"], 37467 style: { 37468 color: "#569CD6" 37469 } 37470 }, 37471 { 37472 types: ["number", "inserted"], 37473 style: { 37474 color: "#B5CEA8" 37475 } 37476 }, 37477 { 37478 types: ["constant"], 37479 style: { 37480 color: "#f8fafc" 37481 } 37482 }, 37483 { 37484 types: ["attr-name", "variable"], 37485 style: { 37486 color: "#9CDCFE" 37487 } 37488 }, 37489 { 37490 types: ["deleted", "string", "attr-value", "template-punctuation"], 37491 style: { 37492 color: "#cbd5e1" 37493 } 37494 }, 37495 { 37496 types: ["selector"], 37497 style: { 37498 color: "#D7BA7D" 37499 } 37500 }, 37501 { 37502 types: ["tag"], 37503 style: { 37504 color: "#0ea5e9" 37505 } 37506 }, 37507 { 37508 types: ["tag"], 37509 languages: ["markup"], 37510 style: { 37511 color: "#0ea5e9" 37512 } 37513 }, 37514 { 37515 types: ["punctuation", "operator"], 37516 style: { 37517 color: "#D4D4D4" 37518 } 37519 }, 37520 { 37521 types: ["punctuation"], 37522 languages: ["markup"], 37523 style: { 37524 color: "#808080" 37525 } 37526 }, 37527 { 37528 types: ["function"], 37529 style: { 37530 color: "#7dd3fc" 37531 } 37532 }, 37533 { 37534 types: ["class-name"], 37535 style: { 37536 color: "#0ea5e9" 37537 } 37538 }, 37539 { 37540 types: ["char"], 37541 style: { 37542 color: "#D16969" 37543 } 37544 } 37545 ] 37546}; 37547var jettwaveDark_default = theme15; 37548
37549// src/themes/jettwaveLight.ts 37550var theme16 = { 37551 plain: { 37552 color: "#0f172a", 37553 backgroundColor: "#f1f5f9" 37554 }, 37555 styles: [ 37556 { 37557 types: ["prolog"], 37558 style: { 37559 color: "#000080" 37560 } 37561 }, 37562 { 37563 types: ["comment"], 37564 style: { 37565 color: "#6A9955" 37566 } 37567 }, 37568 { 37569 types: ["builtin", "changed", "keyword", "interpolation-punctuation"], 37570 style: { 37571 color: "#0c4a6e" 37572 } 37573 }, 37574 { 37575 types: ["number", "inserted"], 37576 style: { 37577 color: "#B5CEA8" 37578 } 37579 }, 37580 { 37581 types: ["constant"], 37582 style: { 37583 color: "#0f172a" 37584 } 37585 }, 37586 { 37587 types: ["attr-name", "variable"], 37588 style: { 37589 color: "#0c4a6e" 37590 } 37591 }, 37592 { 37593 types: ["deleted", "string", "attr-value", "template-punctuation"], 37594 style: { 37595 color: "#64748b" 37596 } 37597 }, 37598 { 37599 types: ["selector"], 37600 style: { 37601 color: "#D7BA7D" 37602 } 37603 }, 37604 { 37605 types: ["tag"], 37606 style: { 37607 color: "#0ea5e9" 37608 } 37609 }, 37610 { 37611 types: ["tag"], 37612 languages: ["markup"], 37613 style: { 37614 color: "#0ea5e9" 37615 } 37616 }, 37617 { 37618 types: ["punctuation", "operator"], 37619 style: { 37620 color: "#475569" 37621 } 37622 }, 37623 { 37624 types: ["punctuation"], 37625 languages: ["markup"], 37626 style: { 37627 color: "#808080" 37628 } 37629 }, 37630 { 37631 types: ["function"], 37632 style: { 37633 color: "#0e7490" 37634 } 37635 }, 37636 { 37637 types: ["class-name"], 37638 style: { 37639 color: "#0ea5e9" 37640 } 37641 }, 37642 { 37643 types: ["char"], 37644 style: { 37645 color: "#D16969" 37646 } 37647 } 37648 ] 37649}; 37650var jettwaveLight_default = theme16; 37651
37652// src/themes/oneDark.ts 37653var theme17 = { 37654 plain: { 37655 backgroundColor: "hsl(220, 13%, 18%)", 37656 color: "hsl(220, 14%, 71%)", 37657 textShadow: "0 1px rgba(0, 0, 0, 0.3)" 37658 }, 37659 styles: [ 37660 { 37661 types: ["comment", "prolog", "cdata"], 37662 style: { 37663 color: "hsl(220, 10%, 40%)" 37664 } 37665 }, 37666 { 37667 types: ["doctype", "punctuation", "entity"], 37668 style: { 37669 color: "hsl(220, 14%, 71%)" 37670 } 37671 }, 37672 { 37673 types: [ 37674 "attr-name", 37675 "class-name", 37676 "maybe-class-name", 37677 "boolean", 37678 "constant", 37679 "number", 37680 "atrule" 37681 ], 37682 style: { color: "hsl(29, 54%, 61%)" } 37683 }, 37684 { 37685 types: ["keyword"], 37686 style: { color: "hsl(286, 60%, 67%)" } 37687 }, 37688 { 37689 types: ["property", "tag", "symbol", "deleted", "important"], 37690 style: { 37691 color: "hsl(355, 65%, 65%)" 37692 } 37693 }, 37694 { 37695 types: [ 37696 "selector", 37697 "string", 37698 "char", 37699 "builtin", 37700 "inserted", 37701 "regex", 37702 "attr-value" 37703 ], 37704 style: { 37705 color: "hsl(95, 38%, 62%)" 37706 } 37707 }, 37708 { 37709 types: ["variable", "operator", "function"], 37710 style: { 37711 color: "hsl(207, 82%, 66%)" 37712 } 37713 }, 37714 { 37715 types: ["url"], 37716 style: { 37717 color: "hsl(187, 47%, 55%)" 37718 } 37719 }, 37720 { 37721 types: ["deleted"], 37722 style: { 37723 textDecorationLine: "line-through" 37724 } 37725 }, 37726 { 37727 types: ["inserted"], 37728 style: { 37729 textDecorationLine: "underline" 37730 } 37731 }, 37732 { 37733 types: ["italic"], 37734 style: { 37735 fontStyle: "italic" 37736 } 37737 }, 37738 { 37739 types: ["important", "bold"], 37740 style: { 37741 fontWeight: "bold" 37742 } 37743 }, 37744 { 37745 types: ["important"], 37746 style: { 37747 color: "hsl(220, 14%, 71%)" 37748 } 37749 } 37750 ] 37751}; 37752var oneDark_default = theme17; 37753
37754// src/themes/oneLight.ts 37755var theme18 = { 37756 plain: { 37757 backgroundColor: "hsl(230, 1%, 98%)", 37758 color: "hsl(230, 8%, 24%)" 37759 }, 37760 styles: [ 37761 { 37762 types: ["comment", "prolog", "cdata"], 37763 style: { 37764 color: "hsl(230, 4%, 64%)" 37765 } 37766 }, 37767 { 37768 types: ["doctype", "punctuation", "entity"], 37769 style: { 37770 color: "hsl(230, 8%, 24%)" 37771 } 37772 }, 37773 { 37774 types: [ 37775 "attr-name", 37776 "class-name", 37777 "boolean", 37778 "constant", 37779 "number", 37780 "atrule" 37781 ], 37782 style: { 37783 color: "hsl(35, 99%, 36%)" 37784 } 37785 }, 37786 { 37787 types: ["keyword"], 37788 style: { 37789 color: "hsl(301, 63%, 40%)" 37790 } 37791 }, 37792 { 37793 types: ["property", "tag", "symbol", "deleted", "important"], 37794 style: { 37795 color: "hsl(5, 74%, 59%)" 37796 } 37797 }, 37798 { 37799 types: [ 37800 "selector", 37801 "string", 37802 "char", 37803 "builtin", 37804 "inserted", 37805 "regex", 37806 "attr-value", 37807 "punctuation" 37808 ], 37809 style: { 37810 color: "hsl(119, 34%, 47%)" 37811 } 37812 }, 37813 { 37814 types: ["variable", "operator", "function"], 37815 style: { 37816 color: "hsl(221, 87%, 60%)" 37817 } 37818 }, 37819 { 37820 types: ["url"], 37821 style: { 37822 color: "hsl(198, 99%, 37%)" 37823 } 37824 }, 37825 { 37826 types: ["deleted"], 37827 style: { 37828 textDecorationLine: "line-through" 37829 } 37830 }, 37831 { 37832 types: ["inserted"], 37833 style: { 37834 textDecorationLine: "underline" 37835 } 37836 }, 37837 { 37838 types: ["italic"], 37839 style: { 37840 fontStyle: "italic" 37841 } 37842 }, 37843 { 37844 types: ["important", "bold"], 37845 style: { 37846 fontWeight: "bold" 37847 } 37848 }, 37849 { 37850 types: ["important"], 37851 style: { 37852 color: "hsl(230, 8%, 24%)" 37853 } 37854 } 37855 ] 37856}; 37857var oneLight_default = theme18; 37858
37859// src/index.ts 37860 37861
37862// src/components/useThemeDictionary.ts 37863 37864
37865// src/utils/themeToDict.ts 37866var themeToDict = (theme19, language) => { 37867 const { plain } = theme19; 37868 const themeDict = theme19.styles.reduce((acc, themeEntry) => { 37869 const { languages: languages2, style } = themeEntry; 37870 if (languages2 && !languages2.includes(language)) { 37871 return acc; 37872 } 37873 themeEntry.types.forEach((type) => { 37874 const accStyle = __spreadValues(__spreadValues({}, acc[type]), style); 37875 acc[type] = accStyle; 37876 }); 37877 return acc; 37878 }, {}); 37879 themeDict.root = plain; 37880 themeDict.plain = __spreadProps(__spreadValues({}, plain), { backgroundColor: void 0 }); 37881 return themeDict; 37882}; 37883var themeToDict_default = themeToDict; 37884
37885// src/components/useThemeDictionary.ts 37886var useThemeDictionary = (language, theme19) => { 37887 const [themeDictionary, setThemeDictionary] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)( 37888 themeToDict_default(theme19, language) 37889 ); 37890 const previousTheme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); 37891 const previousLanguage = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); 37892 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 37893 if (theme19 !== previousTheme.current || language !== previousLanguage.current) { 37894 previousTheme.current = theme19; 37895 previousLanguage.current = language; 37896 setThemeDictionary(themeToDict_default(theme19, language)); 37897 } 37898 }, [language, theme19]); 37899 return themeDictionary; 37900}; 37901
37902// src/components/useGetLineProps.ts 37903 37904 37905var useGetLineProps = (themeDictionary) => (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( 37906 (_a) => { 37907 var _b = _a, { className, style, line } = _b, rest = __objRest(_b, ["className", "style", "line"]); 37908 const output = __spreadProps(__spreadValues({}, rest), { 37909 className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)("token-line", className) 37910 }); 37911 if (typeof themeDictionary === "object" && "plain" in themeDictionary) 37912 output.style = themeDictionary.plain; 37913 if (typeof style === "object") 37914 output.style = __spreadValues(__spreadValues({}, output.style || {}), style); 37915 return output; 37916 }, 37917 [themeDictionary] 37918); 37919
37920// src/components/useGetTokenProps.ts 37921 37922 37923var useGetTokenProps = (themeDictionary) => { 37924 const styleForToken = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( 37925 ({ types, empty }) => { 37926 if (themeDictionary == null) 37927 return void 0; 37928 else if (types.length === 1 && types[0] === "plain") { 37929 return empty != null ? { display: "inline-block" } : void 0; 37930 } else if (types.length === 1 && empty != null) { 37931 return themeDictionary[types[0]]; 37932 } 37933 return Object.assign( 37934 empty != null ? { display: "inline-block" } : {}, 37935 ...types.map((type) => themeDictionary[type]) 37936 ); 37937 }, 37938 [themeDictionary] 37939 ); 37940 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)( 37941 (_a) => { 37942 var _b = _a, { token, className, style } = _b, rest = __objRest(_b, ["token", "className", "style"]); 37943 const output = __spreadProps(__spreadValues({}, rest), { 37944 className: (0,clsx__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)("token", ...token.types, className), 37945 children: token.content, 37946 style: styleForToken(token) 37947 }); 37948 if (style != null) { 37949 output.style = __spreadValues(__spreadValues({}, output.style || {}), style); 37950 } 37951 return output; 37952 }, 37953 [styleForToken] 37954 ); 37955}; 37956
37957// src/utils/normalizeTokens.ts 37958var newlineRe = /\r\n|\r|\n/; 37959var normalizeEmptyLines = (line) => { 37960 if (line.length === 0) { 37961 line.push({ 37962 types: ["plain"], 37963 content: "\n", 37964 empty: true 37965 }); 37966 } else if (line.length === 1 && line[0].content === "") { 37967 line[0].content = "\n"; 37968 line[0].empty = true; 37969 } 37970}; 37971var appendTypes = (types, add) => { 37972 const typesSize = types.length; 37973 if (typesSize > 0 && types[typesSize - 1] === add) { 37974 return types; 37975 } 37976 return types.concat(add); 37977}; 37978var normalizeTokens = (tokens) => { 37979 const typeArrStack = [[]]; 37980 const tokenArrStack = [tokens]; 37981 const tokenArrIndexStack = [0]; 37982 const tokenArrSizeStack = [tokens.length]; 37983 let i = 0; 37984 let stackIndex = 0; 37985 let currentLine = []; 37986 const acc = [currentLine]; 37987 while (stackIndex > -1) { 37988 while ((i = tokenArrIndexStack[stackIndex]++) < tokenArrSizeStack[stackIndex]) { 37989 let content; 37990 let types = typeArrStack[stackIndex]; 37991 const tokenArr = tokenArrStack[stackIndex]; 37992 const token = tokenArr[i]; 37993 if (typeof token === "string") { 37994 types = stackIndex > 0 ? types : ["plain"]; 37995 content = token; 37996 } else { 37997 types = appendTypes(types, token.type); 37998 if (token.alias) { 37999 types = appendTypes(types, token.alias); 38000 } 38001 content = token.content; 38002 } 38003 if (typeof content !== "string") { 38004 stackIndex++; 38005 typeArrStack.push(types); 38006 tokenArrStack.push(content); 38007 tokenArrIndexStack.push(0); 38008 tokenArrSizeStack.push(content.length); 38009 continue; 38010 } 38011 const splitByNewlines = content.split(newlineRe); 38012 const newlineCount = splitByNewlines.length; 38013 currentLine.push({ 38014 types, 38015 content: splitByNewlines[0] 38016 }); 38017 for (let i2 = 1; i2 < newlineCount; i2++) { 38018 normalizeEmptyLines(currentLine); 38019 acc.push(currentLine = []); 38020 currentLine.push({ 38021 types, 38022 content: splitByNewlines[i2] 38023 }); 38024 } 38025 } 38026 stackIndex--; 38027 typeArrStack.pop(); 38028 tokenArrStack.pop(); 38029 tokenArrIndexStack.pop(); 38030 tokenArrSizeStack.pop(); 38031 } 38032 normalizeEmptyLines(currentLine); 38033 return acc; 38034}; 38035var normalizeTokens_default = normalizeTokens; 38036
38037// src/components/useTokenize.ts 38038 38039var useTokenize = ({ prism, code, grammar, language }) => { 38040 const prismRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(prism); 38041 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => { 38042 if (grammar == null) 38043 return normalizeTokens_default([code]); 38044 const prismConfig = { 38045 code, 38046 grammar, 38047 language, 38048 tokens: [] 38049 }; 38050 prismRef.current.hooks.run("before-tokenize", prismConfig); 38051 prismConfig.tokens = prismRef.current.tokenize(code, grammar); 38052 prismRef.current.hooks.run("after-tokenize", prismConfig); 38053 return normalizeTokens_default(prismConfig.tokens); 38054 }, [code, grammar, language]); 38055}; 38056
38057// src/components/highlight.ts 38058var Highlight = ({ 38059 children, 38060 language: _language, 38061 code, 38062 theme: theme19, 38063 prism 38064}) => { 38065 const language = _language.toLowerCase(); 38066 const themeDictionary = useThemeDictionary(language, theme19); 38067 const getLineProps = useGetLineProps(themeDictionary); 38068 const getTokenProps = useGetTokenProps(themeDictionary); 38069 const grammar = prism.languages[language]; 38070 const tokens = useTokenize({ prism, language, code, grammar }); 38071 return children({ 38072 tokens, 38073 className: `prism-code language-${language}`, 38074 style: themeDictionary != null ? themeDictionary.root : {}, 38075 getLineProps, 38076 getTokenProps 38077 }); 38078}; 38079
38080// src/index.ts 38081var Highlight2 = (props) => (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Highlight, __spreadProps(__spreadValues({}, props), { 38082 prism: props.prism || Prism, 38083 theme: props.theme || vsDark_default, 38084 code: props.code, 38085 language: props.language 38086})); 38087 38088/*! Bundled license information: 38089 38090prismjs/prism.js: 38091 (** 38092 * Prism: Lightweight, robust, elegant syntax highlighting 38093 * 38094 * @license MIT <https://opensource.org/licenses/MIT> 38095 * @author Lea Verou <https://lea.verou.me> 38096 * @namespace 38097 * @public 38098 *) 38099*/ 38100//# sourceMappingURL=index.mjs.map 38101 38102/***/ }), 38103 38104/***/ 80178: 38105/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38106 38107"use strict"; 38108/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38109/* harmony export */ Be: () => (/* binding */ useShallowMemoObject), 38110/* harmony export */ ZC: () => (/* binding */ usePrevious), 38111/* harmony export */ _q: () => (/* binding */ useEvent), 38112/* harmony export */ dV: () => (/* binding */ ReactContextError), 38113/* harmony export */ fM: () => (/* binding */ composeProviders) 38114/* harmony export */ }); 38115/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 38116/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 38117/* harmony import */ var _docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44823); 38118 38119 38120 38121function useEvent(callback) { 38122 const ref = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(callback); 38123 (0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(() => { 38124 ref.current = callback; 38125 }, [callback]); 38126 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((...args) => ref.current(...args), []); 38127} 38128function usePrevious(value) { 38129 const ref = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(); 38130 (0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(() => { 38131 ref.current = value; 38132 }); 38133 return ref.current; 38134} 38135class ReactContextError extends Error { 38136 constructor(providerName, additionalInfo) { 38137 var _a, _b, _c, _d; 38138 super(); 38139 this.name = "ReactContextError"; 38140 this.message = `Hook ${(_d = (_c = (_b = (_a = this.stack) == null ? void 0 : _a.split("\n")[1]) == null ? void 0 : _b.match(new RegExp("at (?:\\w+\\.)?(?<name>\\w+)"))) == null ? void 0 : _c.groups.name) != null ? _d : ""} is called outside the <${providerName}>. ${additionalInfo != null ? additionalInfo : ""}`; 38141 } 38142} 38143function useShallowMemoObject(obj) { 38144 const deps = Object.entries(obj); 38145 deps.sort((a, b) => a[0].localeCompare(b[0])); 38146 return (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => obj, deps.flat()); 38147} 38148function composeProviders(providers) { 38149 return ({ children }) => /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { 38150 children: providers.reduceRight((element, CurrentProvider) => /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CurrentProvider, { 38151 children: element 38152 }), children) 38153 }); 38154} 38155 38156 38157/***/ }), 38158 38159/***/ 80930: 38160/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38161 38162"use strict"; 38163/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38164/* harmony export */ C: () => (/* binding */ useSearchResultUrlProcessor) 38165/* harmony export */ }); 38166/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 38167/* harmony import */ var _docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(73398); 38168/* harmony import */ var _docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54271); 38169/* harmony import */ var _useAlgoliaThemeConfig__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(44042); 38170 38171 38172 38173 38174function replacePathname(pathname, replaceSearchResultPathname) { 38175 return replaceSearchResultPathname ? pathname.replaceAll(new RegExp(replaceSearchResultPathname.from, "g"), replaceSearchResultPathname.to) : pathname; 38176} 38177function useSearchResultUrlProcessor() { 38178 const { withBaseUrl } = (0,_docusaurus_useBaseUrl__WEBPACK_IMPORTED_MODULE_1__/* .useBaseUrlUtils */ .hH)(); 38179 const { algolia: { externalUrlRegex, replaceSearchResultPathname } } = (0,_useAlgoliaThemeConfig__WEBPACK_IMPORTED_MODULE_2__/* .useAlgoliaThemeConfig */ .c)(); 38180 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((url) => { 38181 const parsedURL = new URL(url); 38182 if ((0,_docusaurus_theme_common__WEBPACK_IMPORTED_MODULE_3__/* .isRegexpStringMatch */ .G)(externalUrlRegex, parsedURL.href)) { 38183 return url; 38184 } 38185 const relativeUrl = `${parsedURL.pathname + parsedURL.hash}`; 38186 return withBaseUrl(replacePathname(relativeUrl, replaceSearchResultPathname)); 38187 }, [withBaseUrl, externalUrlRegex, replaceSearchResultPathname]); 38188} 38189 38190 38191/***/ }), 38192 38193/***/ 81298: 38194/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 38195 38196"use strict"; 38197/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38198/* harmony export */ A: () => (/* binding */ _inheritsLoose) 38199/* harmony export */ }); 38200/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(76177); 38201 38202function _inheritsLoose(t, o) { 38203 t.prototype = Object.create(o.prototype), t.prototype.constructor = t, (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(t, o); 38204} 38205 38206 38207/***/ }), 38208 38209/***/ 81902: 38210/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38211 38212"use strict"; 38213 38214// EXPORTS 38215__webpack_require__.d(__webpack_exports__, { 38216 A: () => (/* binding */ ThemedComponent) 38217}); 38218 38219// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/jsx-runtime.js 38220var jsx_runtime = __webpack_require__(48231); 38221// EXTERNAL MODULE: ../../.yarn/cache/react-npm-19.1.0-9804a7da5b-d018068982.zip/node_modules/react/index.js 38222var react = __webpack_require__(77407); 38223// EXTERNAL MODULE: ../../.yarn/cache/clsx-npm-2.1.0-29d286e1de-2e0ce7c3b6.zip/node_modules/clsx/dist/clsx.mjs 38224var clsx = __webpack_require__(75437); 38225// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-core-virtual-4b72fbcd17
38225/0/cache/@docusaurus-core-npm-3.7.0-64e9676bfa-df07928282.zip/node_modules/@docusaurus/core/lib/client/exports/useIsBrowser.js 38226var useIsBrowser = __webpack_require__(38389); 38227// EXTERNAL MODULE: ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/contexts/colorMode.js 38228var contexts_colorMode = __webpack_require__(61887); 38229;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/components/ThemedComponent/styles.module.css 38230// extracted by mini-css-extract-plugin 38231/* harmony default export */ const styles_module = ({"themedComponent":"themedComponent_TRos","themedComponent--light":"themedComponent--light_AjqT","themedComponent--dark":"themedComponent--dark_BSwT"}); 38232;// ../../.yarn/__virtual__/@docusaurus-theme-common-virtual-830b259906/0/cache/@docusaurus-theme-common-npm-3.7.0-5d72768bc3-9b27a2c74f.zip/node_modules/@docusaurus/theme-common/lib/components/ThemedComponent/index.js 38233 38234 38235 38236 38237 38238 38239const AllThemes = (/* unused pure expression or super */ null && (["light", "dark"])); 38240function ThemedComponent({ className, children }) { 38241 const isBrowser = (0,useIsBrowser/* default */.A)(); 38242 const { colorMode } = (0,contexts_colorMode/* useColorMode */.G)(); 38243 function getThemesToRender() { 38244 if (isBrowser) { 38245 return colorMode === "dark" ? ["dark"] : ["light"]; 38246 } 38247 return ["light", "dark"]; 38248 } 38249 return /* @__PURE__ */ (0,jsx_runtime.jsx)(jsx_runtime.Fragment, { 38250 children: getThemesToRender().map((theme) => { 38251 const themedElement = children({ 38252 theme, 38253 className: (0,clsx/* default */.A)(className, styles_module.themedComponent, styles_module[`themedComponent--${theme}`]) 38254 }); 38255 return /* @__PURE__ */ (0,jsx_runtime.jsx)(react.Fragment, { 38256 children: themedElement 38257 }, theme); 38258 }) 38259 }); 38260} 38261 38262 38263/***/ }), 38264 38265/***/ 82468: 38266/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38267 38268"use strict"; 38269/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38270/* harmony export */ $: () => (/* binding */ useLocationChange) 38271/* harmony export */ }); 38272/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 38273/* harmony import */ var _docusaurus_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8662); 38274/* harmony import */ var _reactUtils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 38275 38276 38277 38278function useLocationChange(onLocationChange) { 38279 const location = (0,_docusaurus_router__WEBPACK_IMPORTED_MODULE_1__/* .useLocation */ .zy)(); 38280 const previousLocation = (0,_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .usePrevious */ .ZC)(location); 38281 const onLocationChangeDynamic = (0,_reactUtils__WEBPACK_IMPORTED_MODULE_2__/* .useEvent */ ._q)(onLocationChange); 38282 (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { 38283 if (!previousLocation) { 38284 return; 38285 } 38286 if (location !== previousLocation) { 38287 onLocationChangeDynamic({ 38288 location, 38289 previousLocation 38290 }); 38291 } 38292 }, [onLocationChangeDynamic, location, previousLocation]); 38293} 38294 38295 38296/***/ }), 38297 38298/***/ 84054: 38299/***/ ((module) => { 38300 38301"use strict"; 38302module.exports = /*#__PURE__*/JSON.parse('{"/blog-5d2":{"__comp":"a6aa9e1f","__context":{"plugin":"36994c47"},"sidebar":"814f3328","items":[{"content":"36d835f3"},{"content":"0b830eb8"},{"content":"efafcee6"},{"content":"c95c8198"},{"content":"54f6e70d"},{"content":"bf9a8463"},{"content":"a464dc28"},{"content":"c4b7f617"},{"content":"b95c2265"},{"content":"48d22a6d"}],"__props":"c15d9823"}
38302,"/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/bun-be7":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"d1ea1f23"},"/blog/release/2.0-d2b":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"e74a929f"},"/blog/release/2.1-898":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"38116c88"},"/blog/release/2.2-a6e":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"35b549f8"},"/blog/release/2.3-4b5":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"f1dc6c41"},"/blog/release/2.4-392":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"d3f34caf"},"/blog/release/3.0-d10":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"e207c6bd"},"/blog/release/3.1-a00":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"7d445e99"},"/blog/release/3.2-978":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"78893e8c"}
38302,"/blog/release/4.0-f2b":{"__comp":"ccc49370","__context":{"data":{"blogMetadata":"acecf23e"},"plugin":"36994c47"},"sidebar":"814f3328","content":"bc33cf14"},"/configuration-e0d":{"__comp":"2010169c","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/docs/search-320":{"__comp":"1a4e3797","__context":{"plugin":"c141421f"}},"/package-0e8":{"__comp":"6f6234ae","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/search-be6":{"__comp":"aef901ed","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/api-ffb":{"__comp":"5e95c892","__context":{"plugin":"6e719b2a"}},"/api-4c1":{"__comp":"a7bd4aaa","version":"5472480d"},"/api-07c":{"__comp":"492c1f2b","options":"60c73b50","packages":"3d9852f5"},"/api-7a4":{"__comp":"5c96c017","options":"60c73b50","packages":"3d9852f5","versionMetadata":"5472480d"},"/api/plugin-catalog-b7f":{"__comp":"de639886","readme":"15e86087"},"/api/plugin-compat-ecf":{"__comp":"de639886","readme":"f86e26fc"},"/api/plugin-constraints-b07":{"__comp":"de639886","readme":"cdd0f855"},"/api/plugin-constraints/class/ConstraintsCheckCommand-c01":{"__comp":"de639886"},"/api/plugin-constraints/class/ConstraintsQueryCommand-7bd":{"__comp":"de639886"},"/api/plugin-constraints/class/ConstraintsSourceCommand-d12":{"__comp":"de639886"},"/api/plugin-dlx-0ca":{"__comp":"de639886","readme":"83703268"}
38302,"/api/plugin-dlx/class/CreateCommand-c59":{"__comp":"de639886"},"/api/plugin-dlx/class/DlxCommand-8e2":{"__comp":"de639886"},"/api/plugin-essentials-fa2":{"__comp":"de639886","readme":"9cbdfc01"},"/api/plugin-essentials/class/AddCommand-de2":{"__comp":"de639886"},"/api/plugin-essentials/class/BinCommand-eea":{"__comp":"de639886"},"/api/plugin-essentials/class/CacheCleanCommand-844":{"__comp":"de639886"},"/api/plugin-essentials/class/ClipanionCommand-a36":{"__comp":"de639886"},"/api/plugin-essentials/class/ConfigCommand-da3":{"__comp":"de639886"},"/api/plugin-essentials/class/ConfigGetCommand-3a4":{"__comp":"de639886"},"/api/plugin-essentials/class/ConfigSetCommand-6d7":{"__comp":"de639886"},"/api/plugin-essentials/class/ConfigUnsetCommand-eba":{"__comp":"de639886"},"/api/plugin-essentials/class/DedupeCommand-76c":{"__comp":"de639886"},"/api/plugin-essentials/class/EntryCommand-068":{"__comp":"de639886"},"/api/plugin-essentials/class/ExecCommand-f76":{"__comp":"de639886"},"/api/plugin-essentials/class/ExplainCommand-cf2":{"__comp":"de639886"},"/api/plugin-essentials/class/ExplainPeerRequirementsCommand-acc":{"__comp":"de639886"},"/api/plugin-essentials/class/HelpCommand-2da":{"__comp":"de639886"},"/api/plugin-essentials/class/InfoCommand-152":{"__comp":"de639886"},"/api/plugin-essentials/class/LinkCommand-2a0":{"__comp":"de639886"},"/api/plugin-essentials/class/NodeCommand-777":{"__comp":"de639886"},"/api/plugin-essentials/class/PluginCheckCommand-199":{"__comp":"de639886"},"/api/plugin-essentials/class/PluginImportCommand-67a":{"__comp":"de639886"},"/api/plugin-essentials/class/PluginImportSourcesCommand-2ec":{"__comp":"de639886"},"/api/plugin-essentials/class/PluginListCommand-db8":{"__comp":"de639886"},"/api/plugin-essentials/class/PluginRemoveCommand-24c":{"__comp":"de639886"},"/api/plugin-essentials/class/PluginRuntimeCommand-350":{"__comp":"de639886"},"/api/plugin-essentials/class/RebuildCommand-a16":{"__comp":"de639886"},"/api/plugin-essentials/class/RemoveCommand-315":{"__comp":"de639886"},"/api/plugin-essentials/class/RunCommand-f86":{"__comp":"de639886"},"/api/plugin-essentials/class/RunIndexCommand-b69":{"__comp":"de639886"},"/api/plugin-essentials/class/SetResolutionCommand-0b1":{"__comp":"de639886"},"/api/plugin-essentials/class/SetVersionCommand-642":{"__comp":"de639886"},"/api/plugin-essentials/class/SetVersionSourcesCommand-3b7":{"__comp":"de639886"},"/api/plugin-essentials/class/UnlinkCommand-808":{"__comp":"de639886"},"/api/plugin-essentials/class/UpCommand-de7":{"__comp":"de639886"},"/api/plugin-essentials/class/VersionCommand-260":{"__comp":"de639886"},"/api/plugin-essentials/class/WhyCommand-8eb":{"__comp":"de639886"},"/api/plugin-essentials/class/WorkspaceCommand-82c":{"__comp":"de639886"},"/api/plugin-essentials/class/WorkspacesListCommand-a9a":{"__comp":"de639886"},"/api/plugin-essentials/class/YarnCommand-f97":{"__comp":"de639886"},"/api/plugin-essentials/interface/Hooks-467":{"__comp":"de639886"},"/api/plugin-essentials/namespace/dedupeUtils-015":{"__comp":"de639886"},"/api/plugin-essentials/namespace/suggestUtils-a2c":{"__comp":"de639886"},"/api/plugin-exec-70d":{"__comp":"de639886","readme":"f31791bf"},"/api/plugin-exec/class/ExecFetcher-b39":{"__comp":"de639886"},"/api/plugin-exec/class/ExecResolver-f7e":{"__comp":"de639886"},"/api/plugin-exec/interface/ExecEnv-e90":{"__comp":"de639886"},"/api/plugin-exec/namespace/execUtils-6ba":{"__comp":"de639886"},"/api/plugin-file-099":{"__comp":"de639886","readme":"5fe30c64"},"/api/plugin-file/class/FileFetcher-284":{"__comp":"de639886"},"/api/plugin-file/class/FileResolver-b55":{"__comp":"de639886"},"/api/plugin-file/class/TarballFileFetcher-d26":{"__comp":"de639886"},"/api/plugin-file/class/TarballFileResolver-fca":{"__comp":"de639886"},"/api/plugin-file/namespace/fileUtils-03b":{"__comp":"de639886"},"/api/plugin-git-e3d":{"__comp":"de639886","readme":"b329f2e6"},"/api/plugin-git/class/GitFetcher-43c":{"__comp":"de639886"},"/api/plugin-git/class/GitResolver-222":{"__comp":"de639886"},"/api/plugin-git/interface/Hooks-899":{"__comp":"de639886"},"/api/plugin-git/namespace/gitUtils-50d":{"__comp":"de639886"}
38302,"/api/plugin-github-6fb":{"__comp":"de639886","readme":"44bbd1f0"},"/api/plugin-github/class/GithubFetcher-937":{"__comp":"de639886"},"/api/plugin-github/namespace/githubUtils-d56":{"__comp":"de639886"},"/api/plugin-http-2d1":{"__comp":"de639886","readme":"74a8e735"},"/api/plugin-http/class/TarballHttpFetcher-653":{"__comp":"de639886"},"/api/plugin-http/class/TarballHttpResolver-6f1":{"__comp":"de639886"},"/api/plugin-init-60e":{"__comp":"de639886"},"/api/plugin-init/class/InitCommand-ceb":{"__comp":"de639886"},"/api/plugin-init/class/InitInitializerCommand-911":{"__comp":"de639886"},"/api/plugin-interactive-tools-94a":{"__comp":"de639886","readme":"00f8cb83"},"/api/plugin-interactive-tools/class/SearchCommand-9fa":{"__comp":"de639886"},"/api/plugin-interactive-tools/class/UpgradeInteractiveCommand-5c8":{"__comp":"de639886"},"/api/plugin-jsr-cca":{"__comp":"de639886","readme":"27026fee"},"/api/plugin-link-d79":{"__comp":"de639886","readme":"cee694fb"},"/api/plugin-link/class/LinkFetcher-410":{"__comp":"de639886"},"/api/plugin-link/class/LinkResolver-dd3":{"__comp":"de639886"},"/api/plugin-link/class/PortalFetcher-58f":{"__comp":"de639886"},"/api/plugin-link/class/PortalResolver-27b":{"__comp":"de639886"},"/api/plugin-nm-4d7":{"__comp":"de639886","readme":"f37505ed"},"/api/plugin-nm/class/NodeModulesLinker-35f":{"__comp":"de639886"},"/api/plugin-nm/class/PnpLooseLinker-ec0":{"__comp":"de639886"},"/api/plugin-nm/enum/NodeModulesMode-726":{"__comp":"de639886"},"/api/plugin-npm-56a":{"__comp":"de639886","readme":"1cfcc936"},"/api/plugin-npm-cli-cdf":{"__comp":"de639886","readme":"587e76c5"},"/api/plugin-npm-cli/class/NpmAuditCommand-490":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmInfoCommand-4ec":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmLoginCommand-ba5":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmLogoutCommand-7f0":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmPublishCommand-714":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmStageApproveCommand-3c4":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmStageListCommand-cd4":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmStageRejectCommand-c66":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmTagAddCommand-d09":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmTagListCommand-51a":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmTagRemoveCommand-a68":{"__comp":"de639886"},"/api/plugin-npm-cli/class/NpmWhoamiCommand-140":{"__comp":"de639886"},"/api/plugin-npm-cli/namespace/npmAuditTypes-d1d":{"__comp":"de639886"},"/api/plugin-npm-cli/namespace/npmAuditUtils-48f":{"__comp":"de639886"},"/api/plugin-npm/class/NpmHttpFetcher-a75":{"__comp":"de639886"},"/api/plugin-npm/class/NpmRemapResolver-145":{"__comp":"de639886"},"/api/plugin-npm/class/NpmSemverFetcher-f85":{"__comp":"de639886"},"/api/plugin-npm/class/NpmSemverResolver-05b":{"__comp":"de639886"},"/api/plugin-npm/class/NpmTagResolver-51a":{"__comp":"de639886"},"/api/plugin-npm/interface/Hooks-ef0":{"__comp":"de639886"},"/api/plugin-npm/namespace/npmConfigUtils-d51":{"__comp":"de639886"},"/api/plugin-npm/namespace/npmHttpUtils-9ab":{"__comp":"de639886"},"/api/plugin-npm/namespace/npmPublishUtils-912":{"__comp":"de639886"},"/api/plugin-pack-446":{"__comp":"de639886","readme":"8a65c4e0"},"/api/plugin-pack/class/PackCommand-433":{"__comp":"de639886"},"/api/plugin-pack/interface/Hooks-84e":{"__comp":"de639886"},"/api/plugin-pack/namespace/packUtils-714":{"__comp":"de639886"},"/api/plugin-patch-d26":{"__comp":"de639886","readme":"75ce66f9"},"/api/plugin-patch/class/PatchCommand-14c":{"__comp":"de639886"},"/api/plugin-patch/class/PatchCommitCommand-3a7":{"__comp":"de639886"},"/api/plugin-patch/class/PatchFetcher-471":{"__comp":"de639886"},"/api/plugin-patch/class/PatchResolver-7f5":{"__comp":"de639886"},"/api/plugin-patch/interface/Hooks-adb":{"__comp":"de639886"},"/api/plugin-patch/namespace/patchUtils-d5c":{"__comp":"de639886"},"/api/plugin-pnp-21f":{"__comp":"de639886","readme":"0147b708"},"/api/plugin-pnp/class/PnpInstaller-f2e":{"__comp":"de639886"},"/api/plugin-pnp/class/PnpLinker-dee":{"__comp":"de639886"}
38302,"/api/plugin-pnp/class/UnplugCommand-850":{"__comp":"de639886"},"/api/plugin-pnp/enum/NodePackageMapType-1f4":{"__comp":"de639886"},"/api/plugin-pnp/namespace/jsInstallUtils-b37":{"__comp":"de639886"},"/api/plugin-pnp/namespace/pnpUtils-01e":{"__comp":"de639886"},"/api/plugin-pnpm-612":{"__comp":"de639886","readme":"d86bc1a1"},"/api/plugin-pnpm/class/PnpmLinker-5fc":{"__comp":"de639886"},"/api/plugin-stage-b99":{"__comp":"de639886","readme":"62de6cdc"},"/api/plugin-stage/class/StageCommand-bf5":{"__comp":"de639886"},"/api/plugin-stage/interface/Hooks-5ae":{"__comp":"de639886"},"/api/plugin-stage/namespace/stageUtils-689":{"__comp":"de639886"},"/api/plugin-typescript-709":{"__comp":"de639886","readme":"2021dd02"},"/api/plugin-version-fcd":{"__comp":"de639886","readme":"a3c2e4ad"},"/api/plugin-version/class/VersionApplyCommand-d10":{"__comp":"de639886"},"/api/plugin-version/class/VersionCheckCommand-8bb":{"__comp":"de639886"},"/api/plugin-version/class/VersionCommand-2cf":{"__comp":"de639886"},"/api/plugin-version/namespace/versionUtils-ed8":{"__comp":"de639886"},"/api/plugin-workspace-tools-b2c":{"__comp":"de639886","readme":"d7ffd609"},"/api/plugin-workspace-tools/class/WorkspacesFocusCommand-776":{"__comp":"de639886"},"/api/plugin-workspace-tools/class/WorkspacesForeachCommand-e7e":{"__c
38302omp":"de639886"},"/api/yarnpkg-builder-80f":{"__comp":"de639886","readme":"6234de52"},"/api/yarnpkg-builder/class/BuildBundleCommand-814":{"__comp":"de639886"},"/api/yarnpkg-builder/class/BuildPluginCommand-2bd":{"__comp":"de639886"},"/api/yarnpkg-builder/class/NewPluginCommand-b61":{"__comp":"de639886"},"/api/yarnpkg-cli-e2a":{"__comp":"de639886"},"/api/yarnpkg-cli/class/BaseCommand-34a":{"__comp":"de639886"},"/api/yarnpkg-cli/class/WorkspaceRequiredError-64e":{"__comp":"de639886"},"/api/yarnpkg-core-b35":{"__comp":"de639886"},"/api/yarnpkg-core-semverUtils-40d":{"__comp":"de639886"},"/api/yarnpkg-core-structUtils-b88":{"__comp":"de639886"},"/api/yarnpkg-core/class/Cache-020":{"__comp":"de639886"},"/api/yarnpkg-core/class/Configuration-8dc":{"__comp":"de639886"},"/api/yarnpkg-core/class/LegacyMigrationResolver-adb":{"__comp":"de639886"},"/api/yarnpkg-core/class/LightReport-284":{"__comp":"de639886"},"/api/yarnpkg-core/class/LockfileResolver-e07":{"__comp":"de639886"},"/api/yarnpkg-core/class/Manifest-3d7":{"__comp":"de639886"},"/api/yarnpkg-core/class/MultiFetcher-3ea":{"__comp":"de639886"},"/api/yarnpkg-core/class/Project-c57":{"__comp":"de639886"},"/api/yarnpkg-core/class/Report-02b":{"__comp":"de639886"},"/api/yarnpkg-core/class/ReportError-0af":{"__comp":"de639886"},"/api/yarnpkg-core/class/StreamReport-cd7":{"__comp":"de639886"},"/api/yarnpkg-core/class/TelemetryManager-701":{"__comp":"de639886"},"/api/yarnpkg-core/class/ThrowReport-85d":{"__comp":"de639886"},"/api/yarnpkg-core/class/VirtualFetcher-95c":{"__comp":"de639886"},"/api/yarnpkg-core/class/Workspace-54e":{"__comp":"de639886"},"/api/yarnpkg-core/class/WorkspaceFetcher-bd8":{"__comp":"de639886"},"/api/yarnpkg-core/class/WorkspaceResolver-d33":{"__comp":"de639886"},"/api/yarnpkg-core/enum/BuildDirectiveType-459":{"__comp":"de639886"},"/api/yarnpkg-core/enum/DurationUnit-a17":{"__comp":"de639886"},"/api/yarnpkg-core/enum/InstallMode-5d9":{"__comp":"de639886"},"/api/yarnpkg-core/enum/LinkType-4c4":{"__comp":"de639886"},"/api/yarnpkg-core/enum/MessageName-d12":{"__comp":"de639886"},"/api/yarnpkg-core/enum/PackageExtensionStatus-930":{"__comp":"de639886"},"/api/yarnpkg-core/enum/PackageExtensionType-da3":{"__comp":"de639886"}
38302,"/api/yarnpkg-core/enum/PeerWarningType-bae":{"__comp":"de639886"},"/api/yarnpkg-core/enum/SettingsType-38e":{"__comp":"de639886"},"/api/yarnpkg-core/enum/WindowsLinkType-6e9":{"__comp":"de639886"},"/api/yarnpkg-core/interface/ConfigurationValueMap-fd0":{"__comp":"de639886"},"/api/yarnpkg-core/interface/DependencyMeta-14d":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Descriptor-062":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Fetcher-707":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Hooks-012":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Ident-98e":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Installer-d4f":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Linker-2c5":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Locator-5fe":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Package-f17":{"__comp":"de639886"},"/api/yarnpkg-core/interface/PeerDependencyMeta-d37":{"__comp":"de639886"},"/api/yarnpkg-core/interface/PluginMeta-ca3":{"__comp":"de639886"},"/api/yarnpkg-core/interface/Resolver-308":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/execUtils-149":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/folderUtils-121":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/formatUtils-0bc":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/hashUtils-a3f":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/httpUtils-22d":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/miscUtils-2ab":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/nodeUtils-578":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/scriptUtils-5ec":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/tgzUtils-eb6":{"__comp":"de639886"},"/api/yarnpkg-core/namespace/treeUtils-4b3":{"__comp":"de639886"},"/api/yarnpkg-extensions-51b":{"__comp":"de639886","readme":"5f20183a"},"/api/yarnpkg-fslib-39e":{"__comp":"de639886","readme":"94c5f0b7"},"/api/yarnpkg-fslib/class/AliasFS-fdf":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/BasePortableFakeFS-4fc":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/CustomDir-824":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/CwdFS-e31":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/FakeFS-ef2":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/JailFS-c27":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/LazyFS-cf9":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/MountFS-4be":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/NodeFS-5be":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/NoFS-8e2":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/PosixFS-558":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/ProxiedFS-7c1":{"__comp":"de639886"},"/api/yarnpkg-fslib/class/VirtualFS-972":{"__comp":"de639886"},"/api/yarnpkg-fslib/interface/FormatInputPathObject-845":{"__comp":"de639886"},"/api/yarnpkg-fslib/interface/MountableFS-42a":{"__comp":"de639886"},"/api/yarnpkg-fslib/interface/ParsedPath-95d":{"__comp":"de639886"},"/api/yarnpkg-fslib/interface/PathUtils-6eb":{"__comp":"de639886"},"/api/yarnpkg-fslib/interface/StatOptions-d4c":{"__comp":"de639886"},"/api/yarnpkg-fslib/interface/StatSyncOptions-141":{"__comp":"de639886"},"/api/yarnpkg-fslib/namespace/constants-d58":{"__comp":"de639886"},"/api/yarnpkg-fslib/namespace/errors-681":{"__comp":"de639886"},"/api/yarnpkg-fslib/namespace/statUtils-f0c":{"__comp":"de639886"}
38302,"/api/yarnpkg-libzip-419":{"__comp":"de639886","readme":"e5fae776"},"/api/yarnpkg-libzip-[browser]-128":{"__comp":"de639886"},"/api/yarnpkg-libzip-[browser]/class/ZipFS-1bc":{"__comp":"de639886"},"/api/yarnpkg-libzip-[browser]/class/ZipOpenFS-acf":{"__comp":"de639886"},"/api/yarnpkg-libzip-[browser]/interface/Stat-624":{"__comp":"de639886"},"/api/yarnpkg-libzip-[browser]/interface/ZipImpl-37b":{"__comp":"de639886"},"/api/yarnpkg-libzip-[browser]/interface/ZipImplementationClass-eed":{"__comp":"de639886"},"/api/yarnpkg-libzip/class/JsZipImpl-12a":{"__comp":"de639886"},"/api/yarnpkg-libzip/class/LibZipImpl-790":{"__comp":"de639886"},"/api/yarnpkg-libzip/class/ZipFS-73b":{"__comp":"de639886"},"/api/yarnpkg-libzip/class/ZipOpenFS-06e":{"__comp":"de639886"},"/api/yarnpkg-libzip/interface/Stat-ba0":{"__comp":"de639886"},"/api/yarnpkg-libzip/interface/ZipImpl-7d0":{"__comp":"de639886"},"/api/yarnpkg-libzip/interface/ZipImplementationClass-84f":{"__comp":"de639886"},"/api/yarnpkg-nm-445":{"__comp":"de639886"},"/api/yarnpkg-nm-hoist-76f":{"__comp":"de639886"},"/api/yarnpkg-nm-hoist/enum/HoisterDependencyKind-ed5":{"__comp":"de639886"},"/api/yarnpkg-nm/enum/NodeModulesHoistingLimits-acb":{"__comp":"de639886"},"/api/yarnpkg-nm/interface/NodeModulesTreeOptions-214":{"__comp":"de639886"},"/api/yarnpkg-parsers-2be":{"__comp":"de639886"},"/api/yarnpkg-pnp-8eb":{"__comp":"de639886"}
38302,"/api/yarnpkg-pnp-sources/esm-loader/loaderFlags-024":{"__comp":"de639886"},"/api/yarnpkg-pnp/enum/LinkType-476":{"__comp":"de639886"},"/api/yarnpkg-pnpify-dc8":{"__comp":"de639886","readme":"f8ab9aba"},"/api/yarnpkg-pnpify-cli-4c3":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils-ec9":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils/class/NodeModulesFS-3a1":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils/class/PortableNodeModulesFS-b7f":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils/class/RunCommand-cc4":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils/class/SdkCommand-5cc":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils/interface/PortableNodeModulesFSOptions-42f":{"__comp":"de639886"},"/api/yarnpkg-pnpify-utils/interface/ResolvedPath-3fe":{"__comp":"de639886"},"/api/yarnpkg-sdks-b61":{"__comp":"de639886","readme":"25afc4ab"},"/api/yarnpkg-sdks/class/SdkCommand-bb9":{"__comp":"de639886"},"/api/yarnpkg-sdks/namespace/sdkUtils-363":{"__comp":"de639886"},"/api/yarnpkg-shell-928":{"__comp":"de639886","readme":"c26cdc2c"},"/api/yarnpkg-shell/class/EntryCommand-386":{"__comp":"de639886"},"/api/yarnpkg-shell/class/ShellError-669":{"__comp":"de639886"},"/api/yarnpkg-shell/namespace/globUtils-b71":{"__comp":"de639886"},"/api/yarnpkg-types-44e":{"__comp":"de639886"},"/api/yarnpkg-types/namespace/Yarn-b42":{"__comp":"de639886"},"/cli-9df":{"__comp":"5e95c892","__context":{"plugin":"a92f9aee"}},"/cli-8e7":{"__comp":"a7bd4aaa","version":"2f03f214"},"/cli-e4a":{"__comp":"a94703ab"},"/cli-46b":{"__comp":"17896441","content":"a60b283f"},"/cli/add-6c6":{"__comp":"17896441","content":"401ccae9"},"/cli/bin-da0":{"__comp":"17896441","content":"ab54fdbd"},"/cli/builder-e65":{"__comp":"17896441","content":"fb547bc4"},"/cli/builder/build/bundle-f8e":{"__comp":"17896441","content":"fa6123b2"}
38302,"/cli/builder/build/plugin-13d":{"__comp":"17896441","content":"f1534b39"},"/cli/builder/new/plugin-2e5":{"__comp":"17896441","content":"787d9c60"},"/cli/cache/clean-c07":{"__comp":"17896441","content":"e33df3de"},"/cli/config-291":{"__comp":"17896441","content":"dc33aa4b"},"/cli/config/get-6cf":{"__comp":"17896441","content":"5667315b"},"/cli/config/set-fca":{"__comp":"17896441","content":"6d19ca14"},"/cli/config/unset-e31":{"__comp":"17896441","content":"8c483f12"},"/cli/constraints-db7":{"__comp":"17896441","content":"d40b1310"},"/cli/constraints/query-961":{"__comp":"17896441","content":"62a01cf4"},"/cli/constraints/source-cc0":{"__comp":"17896441","content":"82bcd523"},"/cli/dedupe-f3b":{"__comp":"17896441","content":"375a4363"},"/cli/dlx-ef7":{"__comp":"17896441","content":"949b5d39"},"/cli/exec-a9a":{"__comp":"17896441","content":"34b8eeaa"},"/cli/explain-8ab":{"__comp":"17896441","content":"c257ab54"},"/cli/explain/peer-requirements-fec":{"__comp":"17896441","content":"48875e67"},"/cli/info-916":{"__comp":"17896441","content":"a1b53aff"},"/cli/init-6ee":{"__comp":"17896441","content":"bdefea8b"},"/cli/init-573":{"__comp":"17896441","content":"bdefea8b"},"/cli/install-df8":{"__comp":"17896441","content":"2bf28662"},"/cli/link-c40":{"__comp":"17896441","content":"1b444260"},"/cli/node-f08":{"__comp":"17896441","content":"5bbf72cd"},"/cli/npm/audit-bfa":{"__comp":"17896441","content":"f0d03982"},"/cli/npm/info-4b7":{"__comp":"17896441","content":"2fd82280"},"/cli/npm/login-e55":{"__comp":"17896441","content":"f9589a55"},"/cli/npm/logout-d26":{"__comp":"17896441","content":"f2409788"},"/cli/npm/publish-ce7":{"__comp":"17896441","content":"42ed2d38"},"/cli/npm/stage/approve-956":{"__comp":"17896441","content":"c2652927"},"/cli/npm/stage/list-bcb":{"__comp":"17896441","content":"ddcee8b0"},"/cli/npm/stage/reject-0dc":{"__comp":"17896441","content":"6a3bacbf"},"/cli/npm/tag/add-0c7":{"__comp":"17896441","content":"93d9f085"},"/cli/npm/tag/list-07b":{"__comp":"17896441","content":"21e2e981"},"/cli/npm/tag/remove-c5c":{"__comp":"17896441","content":"3def3943"},"/cli/npm/whoami-5ea":{"__comp":"17896441","content":"4df4a8d2"},"/cli/pack-eb5":{"__comp":"17896441","content":"6f4c6331"},"/cli/patch-0bf":{"__comp":"17896441","content":"3a8bcffe"},"/cli/patch-commit-5da":{"__comp":"17896441","content":"8f8d8ac6"},"/cli/plugin/check-614":{"__comp":"17896441","content":"1066bd32"},"/cli/plugin/import-be2":{"__comp":"17896441","content":"c16549bc"},"/cli/plugin/import/from/sources-319":{"__comp":"17896441","content":"7dc3369e"},"/cli/plugin/list-09a":{"__comp":"17896441","content":"285f860c"},"/cli/plugin/remove-9c6":{"__comp":"17896441","content":"0a952602"},"/cli/plugin/runtime-8ad":{"__comp":"17896441","content":"15420782"},"/cli/pnpify-e94":{"__comp":"17896441","content":"57794b22"},"/cli/pnpify/run-8a4":{"__comp":"17896441","content":"e73e6934"}
38302,"/cli/rebuild-7ec":{"__comp":"17896441","content":"01c36df0"},"/cli/remove-6b7":{"__comp":"17896441","content":"dae64517"},"/cli/run-d79":{"__comp":"17896441","content":"7e0a8be8"},"/cli/sdks-b79":{"__comp":"17896441","content":"23ea410b"},"/cli/sdks/default-57a":{"__comp":"17896441","content":"d4beda61"},"/cli/search-adf":{"__comp":"17896441","content":"1278b081"},"/cli/set/resolution-e25":{"__comp":"17896441","content":"824ea721"},"/cli/set/version-ebd":{"__comp":"17896441","content":"53b3c14b"},"/cli/set/version/from/sources-50f":{"__comp":"17896441","content":"bbdc687c"},"/cli/stage-3b5":{"__comp":"17896441","content":"945bd838"},"/cli/unlink-7f7":{"__comp":"17896441","content":"417932b5"},"/cli/unplug-d47":{"__comp":"17896441","content":"6efa387c"},"/cli/up-dbd":{"__comp":"17896441","content":"80dd6352"},"/cli/upgrade-interactive-4a1":{"__comp":"17896441","content":"241168cc"},"/cli/version-b34":{"__comp":"17896441","content":"d0596857"},"/cli/version/apply-97b":{"__comp":"17896441","content":"596fcbbd"},"/cli/version/check-6a8":{"__comp":"17896441","content":"04f2af76"},"/cli/why-40e":{"__comp":"17896441","content":"11fb19fe"},"/cli/workspace-2b7":{"__comp":"17896441","content":"c6b1b2ae"}
38302,"/cli/workspaces/focus-f66":{"__comp":"17896441","content":"c4f2e933"},"/cli/workspaces/foreach-63c":{"__comp":"17896441","content":"18f4097e"},"/cli/workspaces/list-3d4":{"__comp":"17896441","content":"df318e5a"},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"},"/-7e4":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/-167":{"__comp":"a7bd4aaa","__props":"22dd74f7"},"/-08d":{"__comp":"a94703ab"},"/advanced/architecture-8e3":{"__comp":"17896441","content":"d65512d1"},"/advanced/changelog-e1a":{"__comp":"17896441","content":"69dd49b1"},"/advanced/contributing-8e3":{"__comp":"17896441","content":"0a715f43"},"/advanced/error-codes-12f":{"__comp":"17896441","content":"369ec692"},"/advanced/lexicon-c49":{"__comp":"17896441","content":"ec76e2eb"},"/advanced/lifecycle-scripts-56e":{"__comp":"17896441","content":"364a4874"},"/advanced/plugin-tutorial-def":{"__comp":"17896441","content":"2ef161af"},"/advanced/pnp-spec-083":{"__comp":"17896441","content":"f03a5ef9"},"/advanced/pnpapi-025":{"__comp":"17896441","content":"7001e22c"},"/advanced/pnpify-4c2":{"__comp":"17896441","content":"4510de78"},"/advanced/rulebook-b75":{"__comp":"17896441","content":"8e4fe3cb"},"/advanced/telemetry-06e":{"__comp":"17896441","content":"940d7bf2"},"/configuration/manifest-f2f":{"__comp":"17896441","content":"fb15be37"},"/configuration/yarnrc-d07":{"__comp":"17896441","content":"dbc9220c"},"/corepack-c9f":{"__comp":"17896441","content":"bc3e3a2e"},"/features/caching-63a":{"__comp":"17896441","content":"e65302ad"},"/features/catalogs-491":{"__comp":"17896441","content":"20eaf771"},"/features/constraints-728":{"__comp":"17896441","content":"5c25eb38"},"/features/extensibility-499":{"__comp":"17896441","content":"4aaf5838"},"/features/linkers-60b":{"__comp":"17896441","content":"7b1bc378"},"/features/patching-89d":{"__comp":"17896441","content":"db7d091d"},"/features/performances-5e6":{"__comp":"17896441","content":"990e2dba"},"/features/pnp-b1c":{"__comp":"17896441","content":"ae21f9e8"},"/features/release-workflow-632":{"__comp":"17896441","content":"5a68d4bf"},"/features/scripting-a10":{"__comp":"17896441","content":"48b117f6"},"/features/security-fdf":{"__comp":"17896441","content":"6810147d"},"/features/workspaces-ce1":{"__comp":"17896441","content":"891e04e4"},"/getting-started-ade":{"__comp":"17896441","content":"ad52f81c"},"/getting-started/editor-sdks-533":{"__comp":"17896441","content":"c2749928"},"/getting-started/install-d29":{"__comp":"17896441","content":"621c9c6a"},"/getting-started/qa-e65":{"__comp":"17896441","content":"b292d286"},"/getting-started/recipes-5f5":{"__comp":"17896441","content":"962f29ac"},"/getting-started/usage-b30":{"__comp":"17896441","content":"c90b422a"},"/migration/guide-49e":{"__comp":"17896441","content":"fbbdf1a5"},"/migration/overview-afb":{"__comp":"17896441","content":"100f6d67"},"/migration/pnp-c2d":{"__comp":"17896441","content":"f613ef2c"},"/protocol/exec-ea5":{"__comp":"17896441","content":"484be649"},"/protocol/file-120":{"__comp":"17896441","content":"04e96819"},"/protocol/git-70d":{"__comp":"17896441","content":"903cd7cd"},"/protocol/jsr-c49":{"__comp":"17896441","content":"ec7ce60b"},"/protocol/link-e8b":{"__comp":"17896441","content":"8d3ff3c8"},"/protocol/npm-bf4":{"__comp":"17896441","content":"0fc9408e"},"/protocol/patch-123":{"__comp":"17896441","content":"cd732e92"},"/protocol/portal-609":{"__comp":"17896441","content":"ed6d5040"},"/protocol/workspace-7ca":{"__comp":"17896441","content":"4de0c4a5"},"/protocols-7b0":{"__comp":"14eb3368","__props":"b61c1487"}}'); 38303 38304/***/ }), 38305 38306/***/ 85223: 38307/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38308 38309"use strict"; 38310/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38311/* harmony export */ Dt: () => (/* binding */ useHomePageRoute), 38312/* harmony export */ ys: () => (/* binding */ isSamePath) 38313/* harmony export */ }); 38314/* unused harmony export findHomePageRoute */ 38315/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 38316/* harmony import */ var _generated_routes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76806); 38317/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(99788); 38318 38319 38320 38321function isSamePath(path1, path2) { 38322 const normalize = (pathname) => { 38323 var _a; 38324 return (_a = !pathname || pathname.endsWith("/") ? pathname : `${pathname}/`) == null ? void 0 : _a.toLowerCase(); 38325 }; 38326 return normalize(path1) === normalize(path2); 38327} 38328function findHomePageRoute({ baseUrl, routes: initialRoutes }) { 38329 function isHomePageRoute(route) { 38330 return route.path === baseUrl && route.exact === true; 38331 } 38332 function isHomeParentRoute(route) { 38333 return route.path === baseUrl && !route.exact; 38334 } 38335 function doFindHomePageRoute(routes) { 38336 if (routes.length === 0) { 38337 return void 0; 38338 } 38339 const homePage = routes.find(isHomePageRoute); 38340 if (homePage) { 38341 return homePage; 38342 } 38343 const indexSubRoutes = routes.filter(isHomeParentRoute).flatMap((route) => { 38344 var _a; 38345 return (_a = route.routes) != null ? _a : []; 38346 }); 38347 return doFindHomePageRoute(indexSubRoutes); 38348 } 38349 return doFindHomePageRoute(initialRoutes); 38350} 38351function useHomePageRoute() { 38352 const { baseUrl } = (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_2__["default"])().siteConfig; 38353 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => findHomePageRoute({ routes: _generated_routes__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A, baseUrl }), [baseUrl]); 38354} 38355 38356 38357/***/ }), 38358 38359/***/ 87572: 38360/***/ ((module) => { 38361 38362"use strict"; 38363/** 38364 * Copyright (c) 2013-present, Facebook, Inc. 38365 * 38366 * This source code is licensed under the MIT license found in the 38367 * LICENSE file in the root directory of this source tree. 38368 */ 38369 38370 38371 38372/** 38373 * Use invariant() to assert state which your program assumes to be true. 38374 * 38375 * Provide sprintf-style format (only %s is supported) and arguments 38376 * to provide information about what broke and what you were 38377 * expecting. 38378 * 38379 * The invariant message will be stripped in production, but the invariant 38380 * will remain to ensure logic does not differ in production. 38381 */ 38382 38383var invariant = function(condition, format, a, b, c, d, e, f) { 38384 if (false) {} 38385 38386 if (!condition) { 38387 var error; 38388 if (format === undefined) { 38389 error = new Error( 38390 'Minified exception occurred; use the non-minified dev environment ' + 38391 'for the full error message and additional helpful warnings.' 38392 ); 38393 } else { 38394 var args = [a, b, c, d, e, f]; 38395 var argIndex = 0; 38396 error = new Error( 38397 format.replace(/%s/g, function() { return args[argIndex++]; }) 38398 );
38399 error.name = 'Invariant Violation'; 38400 } 38401 38402 error.framesToPop = 1; // we don't care about invariant's own frame 38403 throw error; 38404 } 38405}; 38406 38407module.exports = invariant; 38408 38409 38410/***/ }), 38411 38412/***/ 88016: 38413/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 38414 38415"use strict"; 38416__webpack_require__.r(__webpack_exports__); 38417/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38418/* harmony export */ __addDisposableResource: () => (/* binding */ __addDisposableResource), 38419/* harmony export */ __assign: () => (/* binding */ __assign), 38420/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator), 38421/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator), 38422/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues), 38423/* harmony export */ __await: () => (/* binding */ __await), 38424/* harmony export */ __awaiter: () => (/* binding */ __awaiter), 38425/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet), 38426/* harmony export */ __classPrivateFieldIn: () => (/* binding */ __classPrivateFieldIn), 38427/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet), 38428/* harmony export */ __createBinding: () => (/* binding */ __createBinding), 38429/* harmony export */ __decorate: () => (/* binding */ __decorate), 38430/* harmony export */ __disposeResources: () => (/* binding */ __disposeResources), 38431/* harmony export */ __esDecorate: () => (/* binding */ __esDecorate), 38432/* harmony export */ __exportStar: () => (/* binding */ __exportStar), 38433/* harmony export */ __extends: () => (/* binding */ __extends), 38434/* harmony export */ __generator: () => (/* binding */ __generator), 38435/* harmony export */ __importDefault: () => (/* binding */ __importDefault), 38436/* harmony export */ __importStar: () => (/* binding */ __importStar),
vendor: 8,678 bytes, lines 38437-38599
38437/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject), 38438/* harmony export */ __metadata: () => (/* binding */ __metadata), 38439/* harmony export */ __param: () => (/* binding */ __param), 38440/* harmony export */ __propKey: () => (/* binding */ __propKey), 38441/* harmony export */ __read: () => (/* binding */ __read), 38442/* harmony export */ __rest: () => (/* binding */ __rest), 38443/* harmony export */ __runInitializers: () => (/* binding */ __runInitializers), 38444/* harmony export */ __setFunctionName: () => (/* binding */ __setFunctionName), 38445/* harmony export */ __spread: () => (/* binding */ __spread), 38446/* harmony export */ __spreadArray: () => (/* binding */ __spreadArray), 38447/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays), 38448/* harmony export */ __values: () => (/* binding */ __values), 38449/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) 38450/* harmony export */ }); 38451/****************************************************************************** 38452Copyright (c) Microsoft Corporation. 38453 38454Permission to use, copy, modify, and/or distribute this software for any 38455purpose with or without fee is hereby granted. 38456 38457THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 38458REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 38459AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 38460INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 38461LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 38462OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 38463PERFORMANCE OF THIS SOFTWARE. 38464***************************************************************************** */ 38465/* global Reflect, Promise, SuppressedError, Symbol */ 38466 38467var extendStatics = function(d, b) { 38468 extendStatics = Object.setPrototypeOf || 38469 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 38470 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 38471 return extendStatics(d, b); 38472}; 38473 38474function __extends(d, b) { 38475 if (typeof b !== "function" && b !== null) 38476 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 38477 extendStatics(d, b); 38478 function __() { this.constructor = d; } 38479 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 38480} 38481 38482var __assign = function() { 38483 __assign = Object.assign || function __assign(t) { 38484 for (var s, i = 1, n = arguments.length; i < n; i++) { 38485 s = arguments[i]; 38486 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; 38487 } 38488 return t; 38489 } 38490 return __assign.apply(this, arguments); 38491} 38492 38493function __rest(s, e) { 38494 var t = {}; 38495 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) 38496 t[p] = s[p]; 38497 if (s != null && typeof Object.getOwnPropertySymbols === "function") 38498 for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { 38499 if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) 38500 t[p[i]] = s[p[i]]; 38501 } 38502 return t; 38503} 38504 38505function __decorate(decorators, target, key, desc) { 38506 var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; 38507 if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); 38508 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; 38509 return c > 3 && r && Object.defineProperty(target, key, r), r; 38510} 38511 38512function __param(paramIndex, decorator) { 38513 return function (target, key) { decorator(target, key, paramIndex); } 38514} 38515 38516function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { 38517 function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } 38518 var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; 38519 var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; 38520 var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); 38521 var _, done = false; 38522 for (var i = decorators.length - 1; i >= 0; i--) { 38523 var context = {}; 38524 for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; 38525 for (var p in contextIn.access) context.access[p] = contextIn.access[p]; 38526 context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; 38527 var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); 38528 if (kind === "accessor") { 38529 if (result === void 0) continue; 38530 if (result === null || typeof result !== "object") throw new TypeError("Object expected"); 38531 if (_ = accept(result.get)) descriptor.get = _; 38532 if (_ = accept(result.set)) descriptor.set = _; 38533 if (_ = accept(result.init)) initializers.unshift(_); 38534 } 38535 else if (_ = accept(result)) { 38536 if (kind === "field") initializers.unshift(_); 38537 else descriptor[key] = _; 38538 } 38539 } 38540 if (target) Object.defineProperty(target, contextIn.name, descriptor); 38541 done = true; 38542}; 38543 38544function __runInitializers(thisArg, initializers, value) { 38545 var useValue = arguments.length > 2; 38546 for (var i = 0; i < initializers.length; i++) { 38547 value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); 38548 } 38549 return useValue ? value : void 0; 38550}; 38551 38552function __propKey(x) { 38553 return typeof x === "symbol" ? x : "".concat(x); 38554}; 38555 38556function __setFunctionName(f, name, prefix) { 38557 if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; 38558 return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); 38559}; 38560 38561function __metadata(metadataKey, metadataValue) { 38562 if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); 38563} 38564 38565function __awaiter(thisArg, _arguments, P, generator) { 38566 function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } 38567 return new (P || (P = Promise))(function (resolve, reject) { 38568 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } 38569 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } 38570 function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } 38571 step((generator = generator.apply(thisArg, _arguments || [])).next()); 38572 }); 38573} 38574 38575function __generator(thisArg, body) { 38576 var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; 38577 return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; 38578 function verb(n) { return function (v) { return step([n, v]); }; } 38579 function step(op) { 38580 if (f) throw new TypeError("Generator is already executing."); 38581 while (g && (g = 0, op[0] && (_ = 0)), _) try { 38582 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; 38583 if (y = 0, t) op = [op[0] & 2, t.value]; 38584 switch (op[0]) { 38585 case 0: case 1: t = op; break; 38586 case 4: _.label++; return { value: op[1], done: false }; 38587 case 5: _.label++; y = op[1]; op = [0]; continue; 38588 case 7: op = _.ops.pop(); _.trys.pop(); continue; 38589 default: 38590 if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } 38591 if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } 38592 if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } 38593 if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } 38594 if (t[2]) _.ops.pop(); 38595 _.trys.pop(); continue; 38596 } 38597 op = body.call(thisArg, _); 38598 } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } 38599 if (op[0] & 5) throw op[1];
vendor: 4,219 bytes, lines 38599-38703
38599 return { value: op[0] ? op[1] : void 0, done: true }; 38600 } 38601} 38602 38603var __createBinding = Object.create ? (function(o, m, k, k2) { 38604 if (k2 === undefined) k2 = k; 38605 var desc = Object.getOwnPropertyDescriptor(m, k); 38606 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 38607 desc = { enumerable: true, get: function() { return m[k]; } }; 38608 } 38609 Object.defineProperty(o, k2, desc); 38610}) : (function(o, m, k, k2) { 38611 if (k2 === undefined) k2 = k; 38612 o[k2] = m[k]; 38613}); 38614 38615function __exportStar(m, o) { 38616 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); 38617} 38618 38619function __values(o) { 38620 var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; 38621 if (m) return m.call(o); 38622 if (o && typeof o.length === "number") return { 38623 next: function () { 38624 if (o && i >= o.length) o = void 0; 38625 return { value: o && o[i++], done: !o }; 38626 } 38627 }; 38628 throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); 38629} 38630 38631function __read(o, n) { 38632 var m = typeof Symbol === "function" && o[Symbol.iterator]; 38633 if (!m) return o; 38634 var i = m.call(o), r, ar = [], e; 38635 try { 38636 while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); 38637 } 38638 catch (error) { e = { error: error }; } 38639 finally { 38640 try { 38641 if (r && !r.done && (m = i["return"])) m.call(i); 38642 } 38643 finally { if (e) throw e.error; } 38644 } 38645 return ar; 38646} 38647 38648/** @deprecated */ 38649function __spread() { 38650 for (var ar = [], i = 0; i < arguments.length; i++) 38651 ar = ar.concat(__read(arguments[i])); 38652 return ar; 38653} 38654 38655/** @deprecated */ 38656function __spreadArrays() { 38657 for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; 38658 for (var r = Array(s), k = 0, i = 0; i < il; i++) 38659 for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) 38660 r[k] = a[j]; 38661 return r; 38662} 38663 38664function __spreadArray(to, from, pack) { 38665 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { 38666 if (ar || !(i in from)) { 38667 if (!ar) ar = Array.prototype.slice.call(from, 0, i); 38668 ar[i] = from[i]; 38669 } 38670 } 38671 return to.concat(ar || Array.prototype.slice.call(from)); 38672} 38673 38674function __await(v) { 38675 return this instanceof __await ? (this.v = v, this) : new __await(v); 38676} 38677 38678function __asyncGenerator(thisArg, _arguments, generator) { 38679 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 38680 var g = generator.apply(thisArg, _arguments || []), i, q = []; 38681 return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; 38682 function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } 38683 function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } 38684 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } 38685 function fulfill(value) { resume("next", value); } 38686 function reject(value) { resume("throw", value); } 38687 function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } 38688} 38689 38690function __asyncDelegator(o) { 38691 var i, p; 38692 return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; 38693 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; } 38694} 38695 38696function __asyncValues(o) { 38697 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); 38698 var m = o[Symbol.asyncIterator], i; 38699 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); 38700 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); }); }; } 38701 function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } 38702} 38703
38704function __makeTemplateObject(cooked, raw) { 38705 if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } 38706 return cooked; 38707}; 38708 38709var __setModuleDefault = Object.create ? (function(o, v) { 38710 Object.defineProperty(o, "default", { enumerable: true, value: v }); 38711}) : function(o, v) { 38712 o["default"] = v; 38713}; 38714 38715function __importStar(mod) { 38716 if (mod && mod.__esModule) return mod; 38717 var result = {}; 38718 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); 38719 __setModuleDefault(result, mod); 38720 return result; 38721} 38722 38723function __importDefault(mod) { 38724 return (mod && mod.__esModule) ? mod : { default: mod }; 38725} 38726 38727function __classPrivateFieldGet(receiver, state, kind, f) { 38728 if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); 38729 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"); 38730 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); 38731} 38732 38733function __classPrivateFieldSet(receiver, state, value, kind, f) { 38734 if (kind === "m") throw new TypeError("Private method is not writable"); 38735 if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); 38736 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"); 38737 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; 38738} 38739 38740function __classPrivateFieldIn(state, receiver) { 38741 if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); 38742 return typeof state === "function" ? receiver === state : state.has(receiver); 38743} 38744 38745function __addDisposableResource(env, value, async) { 38746 if (value !== null && value !== void 0) { 38747 if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); 38748 var dispose; 38749 if (async) { 38750 if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); 38751 dispose = value[Symbol.asyncDispose]; 38752 } 38753 if (dispose === void 0) { 38754 if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); 38755 dispose = value[Symbol.dispose]; 38756 } 38757 if (typeof dispose !== "function") throw new TypeError("Object not disposable."); 38758 env.stack.push({ value: value, dispose: dispose, async: async }); 38759 } 38760 else if (async) { 38761 env.stack.push({ async: true }); 38762 } 38763 return value; 38764} 38765 38766var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { 38767 var e = new Error(message); 38768 return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; 38769}; 38770 38771function __disposeResources(env) { 38772 function fail(e) { 38773 env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; 38774 env.hasError = true; 38775 } 38776 function next() { 38777 while (env.stack.length) { 38778 var rec = env.stack.pop(); 38779 try { 38780 var result = rec.dispose && rec.dispose.call(rec.value); 38781 if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); 38782 } 38783 catch (e) { 38784 fail(e); 38785 } 38786 } 38787 if (env.hasError) throw env.error; 38788 } 38789 return next(); 38790} 38791 38792/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ 38793 __extends, 38794 __assign, 38795 __rest, 38796 __decorate, 38797 __param, 38798 __metadata, 38799 __awaiter, 38800 __generator, 38801 __createBinding, 38802 __exportStar, 38803 __values, 38804 __read, 38805 __spread, 38806 __spreadArrays, 38807 __spreadArray, 38808 __await, 38809 __asyncGenerator, 38810 __asyncDelegator, 38811 __asyncValues,
38812 __makeTemplateObject, 38813 __importStar, 38814 __importDefault, 38815 __classPrivateFieldGet, 38816 __classPrivateFieldSet, 38817 __classPrivateFieldIn, 38818 __addDisposableResource, 38819 __disposeResources, 38820}); 38821 38822 38823/***/ }), 38824 38825/***/ 89737: 38826/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38827 38828"use strict"; 38829/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38830/* harmony export */ A: () => (/* binding */ SearchMetadata) 38831/* harmony export */ }); 38832/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 38833/* harmony import */ var _docusaurus_Head__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(52658); 38834 38835 38836function SearchMetadata({ locale, version, tag }) { 38837 const language = locale; 38838 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_docusaurus_Head__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A, { 38839 children: [ 38840 locale && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 38841 name: "docusaurus_locale", 38842 content: locale 38843 }),
38844 version && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 38845 name: "docusaurus_version", 38846 content: version 38847 }), 38848 tag && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 38849 name: "docusaurus_tag", 38850 content: tag 38851 }), 38852 language && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 38853 name: "docsearch:language", 38854 content: language 38855 }), 38856 version && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 38857 name: "docsearch:version", 38858 content: version 38859 }), 38860 tag && /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("meta", { 38861 name: "docsearch:docusaurus_tag", 38862 content: tag 38863 }) 38864 ] 38865 }); 38866} 38867 38868 38869/***/ }), 38870 38871/***/ 90020: 38872/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 38873 38874"use strict"; 38875/* harmony export */ __webpack_require__.d(__webpack_exports__, { 38876/* harmony export */ N: () => (/* binding */ Collapsible), 38877/* harmony export */ u: () => (/* binding */ useCollapsible) 38878/* harmony export */ }); 38879/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 38880/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 38881/* harmony import */ var _docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38389); 38882/* harmony import */ var _docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(44823); 38883/* harmony import */ var _utils_accessibilityUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49679); 38884var __defProp = Object.defineProperty; 38885var __defProps = Object.defineProperties; 38886var __getOwnPropDescs = Object.getOwnPropertyDescriptors; 38887var __getOwnPropSymbols = Object.getOwnPropertySymbols; 38888var __hasOwnProp = Object.prototype.hasOwnProperty; 38889var __propIsEnum = Object.prototype.propertyIsEnumerable; 38890var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; 38891var __spreadValues = (a, b) => { 38892 for (var prop in b || (b = {})) 38893 if (__hasOwnProp.call(b, prop)) 38894 __defNormalProp(a, prop, b[prop]); 38895 if (__getOwnPropSymbols) 38896 for (var prop of __getOwnPropSymbols(b)) { 38897 if (__propIsEnum.call(b, prop)) 38898 __defNormalProp(a, prop, b[prop]); 38899 } 38900 return a; 38901}; 38902var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); 38903var __objRest = (source, exclude) => { 38904 var target = {}; 38905 for (var prop in source) 38906 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) 38907 target[prop] = source[prop]; 38908 if (source != null && __getOwnPropSymbols) 38909 for (var prop of __getOwnPropSymbols(source)) { 38910 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) 38911 target[prop] = source[prop]; 38912 } 38913 return target; 38914}; 38915 38916 38917 38918 38919 38920const DefaultAnimationEasing = "ease-in-out"; 38921function useCollapsible({ initialState }) { 38922 const [collapsed, setCollapsed] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(initialState != null ? initialState : false); 38923 const toggleCollapsed = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => { 38924 setCollapsed((expanded) => !expanded); 38925 }, []); 38926 return { 38927 collapsed, 38928 setCollapsed, 38929 toggleCollapsed 38930 }; 38931} 38932const CollapsedStyles = { 38933 display: "none", 38934 overflow: "hidden", 38935 height: "0px" 38936}; 38937const ExpandedStyles = { 38938 display: "block", 38939 overflow: "visible", 38940 height: "auto" 38941}; 38942function applyCollapsedStyle(el, collapsed) { 38943 const collapsedStyles = collapsed ? CollapsedStyles : ExpandedStyles; 38944 el.style.display = collapsedStyles.display; 38945 el.style.overflow = collapsedStyles.overflow; 38946 el.style.height = collapsedStyles.height; 38947} 38948function getAutoHeightDuration(height) { 38949 if ((0,_utils_accessibilityUtils__WEBPACK_IMPORTED_MODULE_4__/* .prefersReducedMotion */ .O)()) { 38950 return 1; 38951 } 38952 const constant = height / 36; 38953 return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10); 38954} 38955function useCollapseAnimation({ collapsibleRef, collapsed, animation }) { 38956 const mounted = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(false); 38957 (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => { 38958 const el = collapsibleRef.current; 38959 function getTransitionStyles() { 38960 var _a, _b; 38961 const height = el.scrollHeight; 38962 const duration = (_a = animation == null ? void 0 : animation.duration) != null ? _a : getAutoHeightDuration(height); 38963 const easing = (_b = animation == null ? void 0 : animation.easing) != null ? _b : DefaultAnimationEasing; 38964 return { 38965 transition: `height ${duration}ms ${easing}`, 38966 height: `${height}px` 38967 }; 38968 } 38969 function applyTransitionStyles() { 38970 const transitionStyles = getTransitionStyles(); 38971 el.style.transition = transitionStyles.transition; 38972 el.style.height = transitionStyles.height; 38973 } 38974 if (!mounted.current) { 38975 applyCollapsedStyle(el, collapsed); 38976 mounted.current = true; 38977 return void 0; 38978 } 38979 el.style.willChange = "height"; 38980 function startAnimation() { 38981 const animationFrame = requestAnimationFrame(() => { 38982 if (collapsed) { 38983 applyTransitionStyles(); 38984 requestAnimationFrame(() => { 38985 el.style.height = CollapsedStyles.height; 38986 el.style.overflow = CollapsedStyles.overflow; 38987 }); 38988 } else { 38989 el.style.display = "block"; 38990 requestAnimationFrame(() => { 38991 applyTransitionStyles(); 38992 }); 38993 } 38994 }); 38995 return () => cancelAnimationFrame(animationFrame); 38996 } 38997 return startAnimation(); 38998 }, [collapsibleRef, collapsed, animation]); 38999} 39000function getSSRStyle({ collapsed, isBrowser }) { 39001 if (isBrowser) { 39002 return void 0; 39003 } 39004 return collapsed ? CollapsedStyles : ExpandedStyles; 39005} 39006function CollapsibleBase({ as: As = "div", collapsed, children, animation, onCollapseTransitionEnd, className, disableSSRStyle }) { 39007 const isBrowser = (0,_docusaurus_useIsBrowser__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(); 39008 const collapsibleRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null); 39009 useCollapseAnimation({ collapsibleRef, collapsed, animation }); 39010 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(As, { 39011 ref: collapsibleRef, 39012 style: disableSSRStyle ? void 0 : getSSRStyle({ collapsed, isBrowser }), 39013 onTransitionEnd: (e) => { 39014 if (e.propertyName !== "height") { 39015 return; 39016 } 39017 applyCollapsedStyle(collapsibleRef.current, collapsed); 39018 onCollapseTransitionEnd == null ? void 0 : onCollapseTransitionEnd(collapsed); 39019 }, 39020 className, 39021 children 39022 }); 39023} 39024function CollapsibleLazy(_a) { 39025 var _b = _a, { collapsed } = _b, props = __objRest(_b, ["collapsed"]); 39026 const [mounted, setMounted] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!collapsed); 39027 const [lazyCollapsed, setLazyCollapsed] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(collapsed); 39028 (0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)(() => { 39029 if (!collapsed) { 39030 setMounted(true); 39031 } 39032 }, [collapsed]); 39033 (0,_docusaurus_useIsomorphicLayoutEffect__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)(() => { 39034 if (mounted) { 39035 setLazyCollapsed(collapsed); 39036 } 39037 }, [mounted, collapsed]);
39038 return mounted ? /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CollapsibleBase, __spreadProps(__spreadValues({}, props), { 39039 collapsed: lazyCollapsed 39040 })) : null; 39041} 39042function Collapsible(_c) { 39043 var _d = _c, { lazy } = _d, props = __objRest(_d, ["lazy"]); 39044 const Comp = lazy ? CollapsibleLazy : CollapsibleBase; 39045 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Comp, __spreadValues({}, props)); 39046} 39047 39048 39049/***/ }), 39050 39051/***/ 90237: 39052/***/ ((module) => { 39053 39054module.exports = Array.isArray || function (arr) { 39055 return Object.prototype.toString.call(arr) == '[object Array]'; 39056}; 39057 39058 39059/***/ }), 39060 39061/***/ 90864: 39062/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 39063 39064"use strict"; 39065/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39066/* harmony export */ p: () => (/* binding */ useThemeConfig) 39067/* harmony export */ }); 39068/* harmony import */ var _docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(99788); 39069 39070function useThemeConfig() { 39071 return (0,_docusaurus_useDocusaurusContext__WEBPACK_IMPORTED_MODULE_0__["default"])().siteConfig.themeConfig; 39072} 39073 39074 39075/***/ }), 39076 39077/***/ 91979: 39078/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 39079 39080"use strict"; 39081/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39082/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) 39083/* harmony export */ }); 39084const canUseDOM = typeof window !== "undefined" && "document" in window && "createElement" in window.document; 39085const ExecutionEnvironment = { 39086 canUseDOM, 39087 canUseEventListeners: canUseDOM && ("addEventListener" in window || "attachEvent" in window), 39088 canUseIntersectionObserver: canUseDOM && "IntersectionObserver" in window, 39089 canUseViewport: canUseDOM && "screen" in window 39090}; 39091/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExecutionEnvironment); 39092 39093 39094/***/ }), 39095 39096/***/ 92921: 39097/***/ ((__unused_webpack_module, exports) => { 39098 39099"use strict"; 39100 39101Object.defineProperty(exports, "__esModule", ({ value: true })); 39102exports.getErrorCausalChain = getErrorCausalChain; 39103function getErrorCausalChain(error) { 39104 if (error.cause) { 39105 return [error, ...getErrorCausalChain(error.cause)]; 39106 } 39107 return [error]; 39108} 39109 39110 39111/***/ }), 39112 39113/***/ 93267: 39114/***/ ((__unused_webpack_module, exports) => { 39115 39116"use strict"; 39117/** 39118 * @license React 39119 * react-jsx-runtime.production.js 39120 * 39121 * Copyright (c) Meta Platforms, Inc. and affiliates. 39122 * 39123 * This source code is licensed under the MIT license found in the 39124 * LICENSE file in the root directory of this source tree. 39125 */ 39126 39127 39128var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), 39129 REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); 39130function jsxProd(type, config, maybeKey) { 39131 var key = null; 39132 void 0 !== maybeKey && (key = "" + maybeKey); 39133 void 0 !== config.key && (key = "" + config.key); 39134 if ("key" in config) { 39135 maybeKey = {}; 39136 for (var propName in config) 39137 "key" !== propName && (maybeKey[propName] = config[propName]); 39138 } else maybeKey = config; 39139 config = maybeKey.ref; 39140 return { 39141 $$typeof: REACT_ELEMENT_TYPE, 39142 type: type, 39143 key: key, 39144 ref: void 0 !== config ? config : null, 39145 props: maybeKey 39146 }; 39147} 39148exports.Fragment = REACT_FRAGMENT_TYPE; 39149exports.jsx = jsxProd; 39150exports.jsxs = jsxProd; 39151 39152 39153/***/ }), 39154 39155/***/ 95392: 39156/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 39157 39158"use strict"; 39159/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39160/* harmony export */ BN: () => (/* binding */ shift), 39161/* harmony export */ UE: () => (/* binding */ arrow), 39162/* harmony export */ UU: () => (/* binding */ flip), 39163/* harmony export */ cY: () => (/* binding */ offset), 39164/* harmony export */ rD: () => (/* binding */ computePosition) 39165/* harmony export */ }); 39166/* unused harmony exports autoPlacement, detectOverflow, hide, inline, limitShift, size */ 39167/* harmony import */ var _floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31567); 39168 39169 39170 39171function computeCoordsFromPlacement(_ref, placement, rtl) { 39172 let { 39173 reference, 39174 floating 39175 } = _ref; 39176 const sideAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSideAxis */ .TV)(placement); 39177 const alignmentAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAlignmentAxis */ .Dz)(placement); 39178 const alignLength = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAxisLength */ .sq)(alignmentAxis); 39179 const side = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSide */ .C0)(placement); 39180 const isVertical = sideAxis === 'y'; 39181 const commonX = reference.x + reference.width / 2 - floating.width / 2; 39182 const commonY = reference.y + reference.height / 2 - floating.height / 2; 39183 const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2; 39184 let coords; 39185 switch (side) { 39186 case 'top': 39187 coords = { 39188 x: commonX, 39189 y: reference.y - floating.height 39190 }; 39191 break; 39192 case 'bottom': 39193 coords = { 39194 x: commonX, 39195 y: reference.y + reference.height 39196 }; 39197 break; 39198 case 'right': 39199 coords = { 39200 x: reference.x + reference.width, 39201 y: commonY 39202 }; 39203 break; 39204 case 'left': 39205 coords = { 39206 x: reference.x - floating.width, 39207 y: commonY 39208 }; 39209 break; 39210 default: 39211 coords = { 39212 x: reference.x, 39213 y: reference.y 39214 }; 39215 } 39216 switch ((0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAlignment */ .Sg)(placement)) { 39217 case 'start': 39218 coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1); 39219 break; 39220 case 'end': 39221 coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1); 39222 break; 39223 } 39224 return coords; 39225} 39226 39227/** 39228 * Computes the `x` and `y` coordinates that will place the floating element
vendor: 5,534 bytes, lines 39229-39408
39229 * next to a given reference element. 39230 * 39231 * This export does not have any `platform` interface logic. You will need to 39232 * write one for the platform you are using Floating UI with. 39233 */ 39234const computePosition = async (reference, floating, config) => { 39235 const { 39236 placement = 'bottom', 39237 strategy = 'absolute', 39238 middleware = [], 39239 platform 39240 } = config; 39241 const validMiddleware = middleware.filter(Boolean); 39242 const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating)); 39243 let rects = await platform.getElementRects({ 39244 reference, 39245 floating, 39246 strategy 39247 }); 39248 let { 39249 x, 39250 y 39251 } = computeCoordsFromPlacement(rects, placement, rtl); 39252 let statefulPlacement = placement; 39253 let middlewareData = {}; 39254 let resetCount = 0; 39255 for (let i = 0; i < validMiddleware.length; i++) { 39256 const { 39257 name, 39258 fn 39259 } = validMiddleware[i]; 39260 const { 39261 x: nextX, 39262 y: nextY, 39263 data, 39264 reset 39265 } = await fn({ 39266 x, 39267 y, 39268 initialPlacement: placement, 39269 placement: statefulPlacement, 39270 strategy, 39271 middlewareData, 39272 rects, 39273 platform, 39274 elements: { 39275 reference, 39276 floating 39277 } 39278 }); 39279 x = nextX != null ? nextX : x; 39280 y = nextY != null ? nextY : y; 39281 middlewareData = { 39282 ...middlewareData, 39283 [name]: { 39284 ...middlewareData[name], 39285 ...data 39286 } 39287 }; 39288 if (reset && resetCount <= 50) { 39289 resetCount++; 39290 if (typeof reset === 'object') { 39291 if (reset.placement) { 39292 statefulPlacement = reset.placement; 39293 } 39294 if (reset.rects) { 39295 rects = reset.rects === true ? await platform.getElementRects({ 39296 reference, 39297 floating, 39298 strategy 39299 }) : reset.rects; 39300 } 39301 ({ 39302 x, 39303 y 39304 } = computeCoordsFromPlacement(rects, statefulPlacement, rtl)); 39305 } 39306 i = -1; 39307 } 39308 } 39309 return { 39310 x, 39311 y, 39312 placement: statefulPlacement, 39313 strategy, 39314 middlewareData 39315 }; 39316}; 39317 39318/** 39319 * Resolves with an object of overflow side offsets that determine how much the 39320 * element is overflowing a given clipping boundary on each side. 39321 * - positive = overflowing the boundary by that number of pixels 39322 * - negative = how many pixels left before it will overflow 39323 * - 0 = lies flush with the boundary 39324 * @see https://floating-ui.com/docs/detectOverflow 39325 */ 39326async function detectOverflow(state, options) { 39327 var _await$platform$isEle; 39328 if (options === void 0) { 39329 options = {}; 39330 } 39331 const { 39332 x, 39333 y, 39334 platform, 39335 rects, 39336 elements, 39337 strategy 39338 } = state; 39339 const { 39340 boundary = 'clippingAncestors', 39341 rootBoundary = 'viewport', 39342 elementContext = 'floating', 39343 altBoundary = false, 39344 padding = 0 39345 } = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .evaluate */ ._3)(options, state); 39346 const paddingObject = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getPaddingObject */ .nI)(padding); 39347 const altContext = elementContext === 'floating' ? 'reference' : 'floating'; 39348 const element = elements[altBoundary ? altContext : elementContext]; 39349 const clippingClientRect = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .rectToClientRect */ .B1)(await platform.getClippingRect({ 39350 element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))), 39351 boundary, 39352 rootBoundary, 39353 strategy 39354 })); 39355 const rect = elementContext === 'floating' ? { 39356 ...rects.floating, 39357 x, 39358 y 39359 } : rects.reference; 39360 const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating)); 39361 const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || { 39362 x: 1, 39363 y: 1 39364 } : { 39365 x: 1, 39366 y: 1 39367 }; 39368 const elementClientRect = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .rectToClientRect */ .B1)(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({ 39369 elements, 39370 rect, 39371 offsetParent, 39372 strategy 39373 }) : rect); 39374 return { 39375 top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y, 39376 bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y, 39377 left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x, 39378 right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x 39379 }; 39380} 39381 39382/** 39383 * Provides data to position an inner element of the floating element so that it 39384 * appears centered to the reference element. 39385 * @see https://floating-ui.com/docs/arrow 39386 */ 39387const arrow = options => ({ 39388 name: 'arrow', 39389 options, 39390 async fn(state) { 39391 const { 39392 x, 39393 y, 39394 placement, 39395 rects, 39396 platform, 39397 elements, 39398 middlewareData 39399 } = state; 39400 // Since `element` is required, we don't Partial<> the type. 39401 const { 39402 element, 39403 padding = 0 39404 } = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .evaluate */ ._3)(options, state) || {}; 39405 if (element == null) { 39406 return {}; 39407 } 39408 const paddingObject = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getPaddingOb
vendor: 8,034 bytes, lines 39408-39594
39408ject */ .nI)(padding); 39409 const coords = { 39410 x, 39411 y 39412 }; 39413 const axis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAlignmentAxis */ .Dz)(placement); 39414 const length = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAxisLength */ .sq)(axis); 39415 const arrowDimensions = await platform.getDimensions(element); 39416 const isYAxis = axis === 'y'; 39417 const minProp = isYAxis ? 'top' : 'left'; 39418 const maxProp = isYAxis ? 'bottom' : 'right'; 39419 const clientProp = isYAxis ? 'clientHeight' : 'clientWidth'; 39420 const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length]; 39421 const startDiff = coords[axis] - rects.reference[axis]; 39422 const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element)); 39423 let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0; 39424 39425 // DOM platform can return `window` as the `offsetParent`. 39426 if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) { 39427 clientSize = elements.floating[clientProp] || rects.floating[length]; 39428 } 39429 const centerToReference = endDiff / 2 - startDiff / 2; 39430 39431 // If the padding is large enough that it causes the arrow to no longer be 39432 // centered, modify the padding so that it is centered. 39433 const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1; 39434 const minPadding = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .min */ .jk)(paddingObject[minProp], largestPossiblePadding); 39435 const maxPadding = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .min */ .jk)(paddingObject[maxProp], largestPossiblePadding); 39436 39437 // Make sure the arrow doesn't overflow the floating element if the center 39438 // point is outside the floating element's bounds. 39439 const min$1 = minPadding; 39440 const max = clientSize - arrowDimensions[length] - maxPadding; 39441 const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference; 39442 const offset = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .clamp */ .qE)(min$1, center, max); 39443 39444 // If the reference is small enough that the arrow's padding causes it to 39445 // to point to nothing for an aligned placement, adjust the offset of the 39446 // floating element itself. To ensure `shift()` continues to take action, 39447 // a single reset is performed when this is true. 39448 const shouldAddOffset = !middlewareData.arrow && (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAlignment */ .Sg)(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0; 39449 const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0; 39450 return { 39451 [axis]: coords[axis] + alignmentOffset, 39452 data: { 39453 [axis]: offset, 39454 centerOffset: center - offset - alignmentOffset, 39455 ...(shouldAddOffset && { 39456 alignmentOffset 39457 }) 39458 }, 39459 reset: shouldAddOffset 39460 }; 39461 } 39462}); 39463 39464function getPlacementList(alignment, autoAlignment, allowedPlacements) { 39465 const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement); 39466 return allowedPlacementsSortedByAlignment.filter(placement => { 39467 if (alignment) { 39468 return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false); 39469 } 39470 return true; 39471 }); 39472} 39473/** 39474 * Optimizes the visibility of the floating element by choosing the placement 39475 * that has the most space available automatically, without needing to specify a 39476 * preferred placement. Alternative to `flip`. 39477 * @see https://floating-ui.com/docs/autoPlacement 39478 */ 39479const autoPlacement = function (options) { 39480 if (options === void 0) { 39481 options = {}; 39482 } 39483 return { 39484 name: 'autoPlacement', 39485 options, 39486 async fn(state) { 39487 var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE; 39488 const { 39489 rects, 39490 middlewareData, 39491 placement, 39492 platform, 39493 elements 39494 } = state; 39495 const { 39496 crossAxis = false, 39497 alignment, 39498 allowedPlacements = placements, 39499 autoAlignment = true, 39500 ...detectOverflowOptions 39501 } = evaluate(options, state); 39502 const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements; 39503 const overflow = await detectOverflow(state, detectOverflowOptions); 39504 const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0; 39505 const currentPlacement = placements$1[currentIndex]; 39506 if (currentPlacement == null) { 39507 return {}; 39508 } 39509 const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))); 39510 39511 // Make `computeCoords` start from the right place. 39512 if (placement !== currentPlacement) { 39513 return { 39514 reset: { 39515 placement: placements$1[0] 39516 } 39517 }; 39518 } 39519 const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]]; 39520 const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), { 39521 placement: currentPlacement, 39522 overflows: currentOverflows 39523 }]; 39524 const nextPlacement = placements$1[currentIndex + 1]; 39525 39526 // There are more placements to check. 39527 if (nextPlacement) { 39528 return { 39529 data: { 39530 index: currentIndex + 1, 39531 overflows: allOverflows 39532 }, 39533 reset: { 39534 placement: nextPlacement 39535 } 39536 }; 39537 } 39538 const placementsSortedByMostSpace = allOverflows.map(d => { 39539 const alignment = getAlignment(d.placement); 39540 return [d.placement, alignment && crossAxis ? 39541 // Check along the mainAxis and main crossAxis side. 39542 d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) : 39543 // Check only the mainAxis. 39544 d.overflows[0], d.overflows]; 39545 }).sort((a, b) => a[1] - b[1]); 39546 const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0, 39547 // Aligned placements should not check their opposite crossAxis 39548 // side. 39549 getAlignment(d[0]) ? 2 : 3).every(v => v <= 0)); 39550 const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0]; 39551 if (resetPlacement !== placement) { 39552 return { 39553 data: { 39554 index: currentIndex + 1, 39555 overflows: allOverflows 39556 }, 39557 reset: { 39558 placement: resetPlacement 39559 } 39560 }; 39561 } 39562 return {}; 39563 } 39564 }; 39565}; 39566 39567/** 39568 * Optimizes the visibility of the floating element by flipping the `placement` 39569 * in order to keep it in view when the preferred placement(s) will overflow the 39570 * clipping boundary. Alternative to `autoPlacement`. 39571 * @see https://floating-ui.com/docs/flip 39572 */ 39573const flip = function (options) { 39574 if (options === void 0) { 39575 options = {}; 39576 } 39577 return { 39578 name: 'flip', 39579 options, 39580 async fn(state) { 39581 var _middlewareData$arrow, _middlewareData$flip; 39582 const { 39583 placement, 39584 middlewareData, 39585 rects, 39586 initialPlacement, 39587 platform, 39588 elements 39589 } = state; 39590 const { 39591 mainAxis: checkMainAxis = true, 39592 crossAxis: checkCrossAxis = true, 39593 fallbackPlacements: specifiedFallbackPlacements, 39594 fallbackStrategy = 'bestFit',
39595 fallbackAxisSideDirection = 'none', 39596 flipAlignment = true, 39597 ...detectOverflowOptions 39598 } = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .evaluate */ ._3)(options, state); 39599 39600 // If a reset by the arrow was caused due to an alignment offset being 39601 // added, we should skip any logic now since `flip()` has already done its 39602 // work. 39603 // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643 39604 if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) { 39605 return {}; 39606 } 39607 const side = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSide */ .C0)(placement); 39608 const isBasePlacement = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSide */ .C0)(initialPlacement) === initialPlacement; 39609 const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)); 39610 const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [(0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getOppositePlacement */ .bV)(initialPlacement)] : (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getExpandedPlacements */ .WJ)(initialPlacement)); 39611 if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') { 39612 fallbackPlacements.push(...(0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getOppositeAxisPlacements */ .lP)(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl)); 39613 } 39614 const placements = [initialPlacement, ...fallbackPlacements]; 39615 const overflow = await detectOverflow(state, detectOverflowOptions); 39616 const overflows = []; 39617 let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || []; 39618 if (checkMainAxis) { 39619 overflows.push(overflow[side]); 39620 } 39621 if (checkCrossAxis) { 39622 const sides = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAlignmentSides */ .w7)(placement, rects, rtl); 39623 overflows.push(overflow[sides[0]], overflow[sides[1]]); 39624 } 39625 overflowsData = [...overflowsData, { 39626 placement, 39627 overflows 39628 }]; 39629 39630 // One or more sides is overflowing. 39631 if (!overflows.every(side => side <= 0)) { 39632 var _middlewareData$flip2, _overflowsData$filter; 39633 const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1; 39634 const nextPlacement = placements[nextIndex]; 39635 if (nextPlacement) { 39636 // Try next placement and re-run the lifecycle. 39637 return { 39638 data: { 39639 index: nextIndex, 39640 overflows: overflowsData 39641 }, 39642 reset: { 39643 placement: nextPlacement 39644 } 39645 }; 39646 } 39647 39648 // First, find the candidates that fit on the mainAxis side of overflow, 39649 // then find the placement that fits the best on the main crossAxis side. 39650 let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement; 39651 39652 // Otherwise fallback. 39653 if (!resetPlacement) { 39654 switch (fallbackStrategy) { 39655 case 'bestFit': 39656 { 39657 var _overflowsData$map$so; 39658 const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0]; 39659 if (placement) { 39660 resetPlacement = placement; 39661 } 39662 break; 39663 } 39664 case 'initialPlacement': 39665 resetPlacement = initialPlacement; 39666 break; 39667 } 39668 } 39669 if (placement !== resetPlacement) { 39670 return { 39671 reset: { 39672 placement: resetPlacement 39673 } 39674 }; 39675 } 39676 } 39677 return {}; 39678 } 39679 }; 39680}; 39681 39682function getSideOffsets(overflow, rect) { 39683 return { 39684 top: overflow.top - rect.height, 39685 right: overflow.right - rect.width, 39686 bottom: overflow.bottom - rect.height, 39687 left: overflow.left - rect.width 39688 }; 39689} 39690function isAnySideFullyClipped(overflow) { 39691 return sides.some(side => overflow[side] >= 0); 39692} 39693/** 39694 * Provides data to hide the floating element in applicable situations, such as 39695 * when it is not in the same clipping context as the reference element. 39696 * @see https://floating-ui.com/docs/hide 39697 */ 39698const hide = function (options) { 39699 if (options === void 0) { 39700 options = {}; 39701 } 39702 return { 39703 name: 'hide', 39704 options, 39705 async fn(state) { 39706 const { 39707 rects 39708 } = state; 39709 const { 39710 strategy = 'referenceHidden', 39711 ...detectOverflowOptions 39712 } = evaluate(options, state); 39713 switch (strategy) { 39714 case 'referenceHidden': 39715 { 39716 const overflow = await detectOverflow(state, { 39717 ...detectOverflowOptions, 39718 elementContext: 'reference' 39719 }); 39720 const offsets = getSideOffsets(overflow, rects.reference); 39721 return { 39722 data: { 39723 referenceHiddenOffsets: offsets, 39724 referenceHidden: isAnySideFullyClipped(offsets) 39725 } 39726 }; 39727 } 39728 case 'escaped': 39729 { 39730 const overflow = await detectOverflow(state, { 39731 ...detectOverflowOptions, 39732 altBoundary: true 39733 }); 39734 const offsets = getSideOffsets(overflow, rects.floating); 39735 return { 39736 data: { 39737 escapedOffsets: offsets, 39738 escaped: isAnySideFullyClipped(offsets) 39739 } 39740 }; 39741 } 39742 default: 39743 { 39744 return {}; 39745 } 39746 } 39747 } 39748 }; 39749}; 39750
39751function getBoundingRect(rects) { 39752 const minX = min(...rects.map(rect => rect.left)); 39753 const minY = min(...rects.map(rect => rect.top)); 39754 const maxX = max(...rects.map(rect => rect.right)); 39755 const maxY = max(...rects.map(rect => rect.bottom)); 39756 return { 39757 x: minX, 39758 y: minY, 39759 width: maxX - minX, 39760 height: maxY - minY 39761 }; 39762} 39763function getRectsByLine(rects) { 39764 const sortedRects = rects.slice().sort((a, b) => a.y - b.y); 39765 const groups = []; 39766 let prevRect = null; 39767 for (let i = 0; i < sortedRects.length; i++) { 39768 const rect = sortedRects[i]; 39769 if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) { 39770 groups.push([rect]); 39771 } else { 39772 groups[groups.length - 1].push(rect); 39773 } 39774 prevRect = rect; 39775 } 39776 return groups.map(rect => rectToClientRect(getBoundingRect(rect))); 39777} 39778/** 39779 * Provides improved positioning for inline reference elements that can span 39780 * over multiple lines, such as hyperlinks or range selections. 39781 * @see https://floating-ui.com/docs/inline 39782 */ 39783const inline = function (options) { 39784 if (options === void 0) { 39785 options = {}; 39786 } 39787 return { 39788 name: 'inline', 39789 options, 39790 async fn(state) { 39791 const { 39792 placement, 39793 elements, 39794 rects, 39795 platform, 39796 strategy 39797 } = state; 39798 // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a 39799 // ClientRect's bounds, despite the event listener being triggered. A 39800 // padding of 2 seems to handle this issue. 39801 const { 39802 padding = 2, 39803 x, 39804 y 39805 } = evaluate(options, state); 39806 const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []); 39807 const clientRects = getRectsByLine(nativeClientRects); 39808 const fallback = rectToClientRect(getBoundingRect(nativeClientRects)); 39809 const paddingObject = getPaddingObject(padding); 39810 function getBoundingClientRect() { 39811 // There are two rects and they are disjoined. 39812 if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) { 39813 // Find the first rect in which the point is fully inside. 39814 return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback; 39815 } 39816 39817 // There are 2 or more connected rects. 39818 if (clientRects.length >= 2) { 39819 if (getSideAxis(placement) === 'y') { 39820 const firstRect = clientRects[0]; 39821 const lastRect = clientRects[clientRects.length - 1]; 39822 const isTop = getSide(placement) === 'top'; 39823 const top = firstRect.top; 39824 const bottom = lastRect.bottom; 39825 const left = isTop ? firstRect.left : lastRect.left; 39826 const right = isTop ? firstRect.right : lastRect.right; 39827 const width = right - left; 39828 const height = bottom - top; 39829 return { 39830 top, 39831 bottom, 39832 left, 39833 right, 39834 width, 39835 height, 39836 x: left, 39837 y: top 39838 }; 39839 } 39840 const isLeftSide = getSide(placement) === 'left'; 39841 const maxRight = max(...clientRects.map(rect => rect.right)); 39842 const minLeft = min(...clientRects.map(rect => rect.left)); 39843 const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight); 39844 const top = measureRects[0].top; 39845 const bottom = measureRects[measureRects.length - 1].bottom; 39846 const left = minLeft; 39847 const right = maxRight; 39848 const width = right - left; 39849 const height = bottom - top; 39850 return { 39851 top, 39852 bottom, 39853 left, 39854 right, 39855 width, 39856 height, 39857 x: left, 39858 y: top 39859 }; 39860 } 39861 return fallback; 39862 } 39863 const resetRects = await platform.getElementRects({ 39864 reference: { 39865 getBoundingClientRect 39866 }, 39867 floating: elements.floating, 39868 strategy 39869 }); 39870 if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) { 39871 return { 39872 reset: { 39873 rects: resetRects 39874 } 39875 }; 39876 } 39877 return {}; 39878 } 39879 }; 39880}; 39881 39882// For type backwards-compatibility, the `OffsetOptions` type was also 39883// Derivable. 39884 39885async function convertValueToCoords(state, options) { 39886 const { 39887 placement, 39888 platform, 39889 elements 39890 } = state; 39891 const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)); 39892 const side = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSide */ .C0)(placement); 39893 const alignment = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getAlignment */ .Sg)(placement); 39894 const isVertical = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSideAxis */ .TV)(placement) === 'y'; 39895 const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1; 39896 const crossAxisMulti = rtl && isVertical ? -1 : 1; 39897 const rawValue = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .evaluate */ ._3)(options, state); 39898 let { 39899 mainAxis, 39900 crossAxis,
39901 alignmentAxis 39902 } = typeof rawValue === 'number' ? { 39903 mainAxis: rawValue, 39904 crossAxis: 0, 39905 alignmentAxis: null 39906 } : { 39907 mainAxis: 0, 39908 crossAxis: 0, 39909 alignmentAxis: null, 39910 ...rawValue 39911 }; 39912 if (alignment && typeof alignmentAxis === 'number') { 39913 crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis; 39914 } 39915 return isVertical ? { 39916 x: crossAxis * crossAxisMulti, 39917 y: mainAxis * mainAxisMulti 39918 } : { 39919 x: mainAxis * mainAxisMulti, 39920 y: crossAxis * crossAxisMulti 39921 }; 39922} 39923 39924/** 39925 * Modifies the placement by translating the floating element along the 39926 * specified axes. 39927 * A number (shorthand for `mainAxis` or distance), or an axes configuration 39928 * object may be passed. 39929 * @see https://floating-ui.com/docs/offset 39930 */ 39931const offset = function (options) { 39932 if (options === void 0) { 39933 options = 0; 39934 } 39935 return { 39936 name: 'offset', 39937 options, 39938 async fn(state) { 39939 var _middlewareData$offse, _middlewareData$arrow; 39940 const { 39941 x, 39942 y, 39943 placement, 39944 middlewareData 39945 } = state; 39946 const diffCoords = await convertValueToCoords(state, options); 39947 39948 // If the placement is the same and the arrow caused an alignment offset 39949 // then we don't need to change the positioning coordinates. 39950 if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) { 39951 return {}; 39952 } 39953 return { 39954 x: x + diffCoords.x, 39955 y: y + diffCoords.y, 39956 data: { 39957 ...diffCoords, 39958 placement 39959 } 39960 }; 39961 } 39962 }; 39963}; 39964 39965/** 39966 * Optimizes the visibility of the floating element by shifting it in order to 39967 * keep it in view when it will overflow the clipping boundary. 39968 * @see https://floating-ui.com/docs/shift 39969 */ 39970const shift = function (options) { 39971 if (options === void 0) { 39972 options = {}; 39973 } 39974 return { 39975 name: 'shift', 39976 options, 39977 async fn(state) { 39978 const { 39979 x, 39980 y, 39981 placement 39982 } = state; 39983 const { 39984 mainAxis: checkMainAxis = true, 39985 crossAxis: checkCrossAxis = false, 39986 limiter = { 39987 fn: _ref => { 39988 let { 39989 x, 39990 y 39991 } = _ref; 39992 return { 39993 x, 39994 y 39995 }; 39996 } 39997 }, 39998 ...detectOverflowOptions 39999 } = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .evaluate */ ._3)(options, state); 40000 const coords = { 40001 x, 40002 y 40003 }; 40004 const overflow = await detectOverflow(state, detectOverflowOptions); 40005 const crossAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSideAxis */ .TV)((0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getSide */ .C0)(placement)); 40006 const mainAxis = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .getOppositeAxis */ .PG)(crossAxis); 40007 let mainAxisCoord = coords[mainAxis]; 40008 let crossAxisCoord = coords[crossAxis]; 40009 if (checkMainAxis) { 40010 const minSide = mainAxis === 'y' ? 'top' : 'left'; 40011 const maxSide = mainAxis === 'y' ? 'bottom' : 'right'; 40012 const min = mainAxisCoord + overflow[minSide]; 40013 const max = mainAxisCoord - overflow[maxSide]; 40014 mainAxisCoord = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .clamp */ .qE)(min, mainAxisCoord, max); 40015 } 40016 if (checkCrossAxis) { 40017 const minSide = crossAxis === 'y' ? 'top' : 'left'; 40018 const maxSide = crossAxis === 'y' ? 'bottom' : 'right'; 40019 const min = crossAxisCoord + overflow[minSide]; 40020 const max = crossAxisCoord - overflow[maxSide]; 40021 crossAxisCoord = (0,_floating_ui_utils__WEBPACK_IMPORTED_MODULE_0__/* .clamp */ .qE)(min, crossAxisCoord, max); 40022 } 40023 const limitedCoords = limiter.fn({ 40024 ...state, 40025 [mainAxis]: mainAxisCoord, 40026 [crossAxis]: crossAxisCoord 40027 }); 40028 return { 40029 ...limitedCoords, 40030 data: { 40031 x: limitedCoords.x - x, 40032 y: limitedCoords.y - y 40033 } 40034 }; 40035 } 40036 }; 40037}; 40038/**
vendor: 4,568 bytes, lines 40039-40162
40039 * Built-in `limiter` that will stop `shift()` at a certain point. 40040 */ 40041const limitShift = function (options) { 40042 if (options === void 0) { 40043 options = {}; 40044 } 40045 return { 40046 options, 40047 fn(state) { 40048 const { 40049 x, 40050 y, 40051 placement, 40052 rects, 40053 middlewareData 40054 } = state; 40055 const { 40056 offset = 0, 40057 mainAxis: checkMainAxis = true, 40058 crossAxis: checkCrossAxis = true 40059 } = evaluate(options, state); 40060 const coords = { 40061 x, 40062 y 40063 }; 40064 const crossAxis = getSideAxis(placement); 40065 const mainAxis = getOppositeAxis(crossAxis); 40066 let mainAxisCoord = coords[mainAxis]; 40067 let crossAxisCoord = coords[crossAxis]; 40068 const rawOffset = evaluate(offset, state); 40069 const computedOffset = typeof rawOffset === 'number' ? { 40070 mainAxis: rawOffset, 40071 crossAxis: 0 40072 } : { 40073 mainAxis: 0, 40074 crossAxis: 0, 40075 ...rawOffset 40076 }; 40077 if (checkMainAxis) { 40078 const len = mainAxis === 'y' ? 'height' : 'width'; 40079 const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis; 40080 const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis; 40081 if (mainAxisCoord < limitMin) { 40082 mainAxisCoord = limitMin; 40083 } else if (mainAxisCoord > limitMax) { 40084 mainAxisCoord = limitMax; 40085 } 40086 } 40087 if (checkCrossAxis) { 40088 var _middlewareData$offse, _middlewareData$offse2; 40089 const len = mainAxis === 'y' ? 'width' : 'height'; 40090 const isOriginSide = ['top', 'left'].includes(getSide(placement)); 40091 const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis); 40092 const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0); 40093 if (crossAxisCoord < limitMin) { 40094 crossAxisCoord = limitMin; 40095 } else if (crossAxisCoord > limitMax) { 40096 crossAxisCoord = limitMax; 40097 } 40098 } 40099 return { 40100 [mainAxis]: mainAxisCoord, 40101 [crossAxis]: crossAxisCoord 40102 }; 40103 } 40104 }; 40105}; 40106 40107/** 40108 * Provides data that allows you to change the size of the floating element â 40109 * for instance, prevent it from overflowing the clipping boundary or match the 40110 * width of the reference element. 40111 * @see https://floating-ui.com/docs/size 40112 */ 40113const size = function (options) { 40114 if (options === void 0) { 40115 options = {}; 40116 } 40117 return { 40118 name: 'size', 40119 options, 40120 async fn(state) { 40121 const { 40122 placement, 40123 rects, 40124 platform, 40125 elements 40126 } = state; 40127 const { 40128 apply = () => {}, 40129 ...detectOverflowOptions 40130 } = evaluate(options, state); 40131 const overflow = await detectOverflow(state, detectOverflowOptions); 40132 const side = getSide(placement); 40133 const alignment = getAlignment(placement); 40134 const isYAxis = getSideAxis(placement) === 'y'; 40135 const { 40136 width, 40137 height 40138 } = rects.floating; 40139 let heightSide; 40140 let widthSide; 40141 if (side === 'top' || side === 'bottom') { 40142 heightSide = side; 40143 widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right'; 40144 } else { 40145 widthSide = side; 40146 heightSide = alignment === 'end' ? 'top' : 'bottom'; 40147 } 40148 const overflowAvailableHeight = height - overflow[heightSide]; 40149 const overflowAvailableWidth = width - overflow[widthSide]; 40150 const noShift = !state.middlewareData.shift; 40151 let availableHeight = overflowAvailableHeight; 40152 let availableWidth = overflowAvailableWidth; 40153 if (isYAxis) { 40154 const maximumClippingWidth = width - overflow.left - overflow.right; 40155 availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth; 40156 } else { 40157 const maximumClippingHeight = height - overflow.top - overflow.bottom; 40158 availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight; 40159 } 40160 if (noShift && !alignment) { 40161 const xMin = max(overflow.left, 0); 40162 const xMax = max(overflow.right, 0);
40163 const yMin = max(overflow.top, 0); 40164 const yMax = max(overflow.bottom, 0); 40165 if (isYAxis) { 40166 availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right)); 40167 } else { 40168 availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom)); 40169 } 40170 } 40171 await apply({ 40172 ...state, 40173 availableWidth, 40174 availableHeight 40175 }); 40176 const nextDimensions = await platform.getDimensions(elements.floating); 40177 if (width !== nextDimensions.width || height !== nextDimensions.height) { 40178 return { 40179 reset: { 40180 rects: true 40181 } 40182 }; 40183 } 40184 return {}; 40185 } 40186 }; 40187}; 40188 40189 40190 40191 40192/***/ }), 40193 40194/***/ 96043: 40195/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => { 40196 40197"use strict"; 40198 40199// EXTERNAL MODULE: ../../.yarn/__virtual__/prism-react-renderer-virtual-4535cb7f43/0/cache/prism-react-renderer-npm-2.3.1-79c80bb723-8ef6b3b667.zip/node_modules/prism-react-renderer/dist/index.mjs 40200var dist = __webpack_require__(80080); 40201// EXTERNAL MODULE: ./.docusaurus/docusaurus.config.mjs 40202var docusaurus_config = __webpack_require__(4784); 40203;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/theme/prism-include-languages.js 40204 40205function prismIncludeLanguages(PrismObject) { 40206 const { 40207 themeConfig: { prism } 40208 } = docusaurus_config["default"]; 40209 const { additionalLanguages } = prism; 40210 const PrismBefore = globalThis.Prism; 40211 globalThis.Prism = PrismObject;
40212 additionalLanguages.forEach((lang) => { 40213 if (lang === "php") { 40214 __webpack_require__(51347); 40215 } 40216 __webpack_require__(38915)(`./prism-${lang}`); 40217 }); 40218 delete globalThis.Prism; 40219 if (typeof PrismBefore !== "undefined") { 40220 globalThis.Prism = PrismObject; 40221 } 40222} 40223 40224;// ../../.yarn/__virtual__/@docusaurus-theme-classic-virtual-c4aec87c47/0/cache/@docusaurus-theme-classic-npm-3.7.0-980c798e4c-869e2e9d1b.zip/node_modules/@docusaurus/theme-classic/lib/prism-include-languages.js 40225 40226 40227prismIncludeLanguages(dist/* Prism */.My); 40228 40229 40230/***/ }), 40231 40232/***/ 96133: 40233/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 40234 40235"use strict"; 40236/* harmony export */ __webpack_require__.d(__webpack_exports__, { 40237/* harmony export */ t: () => (/* binding */ onlineManager) 40238/* harmony export */ }); 40239/* unused harmony export OnlineManager */ 40240/* harmony import */ var _subscribable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15062); 40241/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31342);
40242// src/onlineManager.ts 40243 40244 40245var OnlineManager = class extends _subscribable_js__WEBPACK_IMPORTED_MODULE_0__/* .Subscribable */ .Q { 40246 #online = true; 40247 #cleanup; 40248 #setup; 40249 constructor() { 40250 super(); 40251 this.#setup = (onOnline) => { 40252 if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__/* .isServer */ .S$ && window.addEventListener) { 40253 const onlineListener = () => onOnline(true); 40254 const offlineListener = () => onOnline(false); 40255 window.addEventListener("online", onlineListener, false); 40256 window.addEventListener("offline", offlineListener, false); 40257 return () => { 40258 window.removeEventListener("online", onlineListener); 40259 window.removeEventListener("offline", offlineListener); 40260 }; 40261 } 40262 return; 40263 }; 40264 } 40265 onSubscribe() { 40266 if (!this.#cleanup) { 40267 this.setEventListener(this.#setup); 40268 } 40269 } 40270 onUnsubscribe() { 40271 if (!this.hasListeners()) { 40272 this.#cleanup?.(); 40273 this.#cleanup = void 0; 40274 } 40275 } 40276 setEventListener(setup) { 40277 this.#setup = setup; 40278 this.#cleanup?.(); 40279 this.#cleanup = setup(this.setOnline.bind(this)); 40280 } 40281 setOnline(online) { 40282 const changed = this.#online !== online; 40283 if (changed) { 40284 this.#online = online; 40285 this.listeners.forEach((listener) => { 40286 listener(online); 40287 }); 40288 } 40289 } 40290 isOnline() { 40291 return this.#online; 40292 } 40293}; 40294var onlineManager = new OnlineManager(); 40295 40296//# sourceMappingURL=onlineManager.js.map 40297 40298/***/ }), 40299 40300/***/ 98908: 40301/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 40302 40303"use strict"; 40304/* harmony export */ __webpack_require__.d(__webpack_exports__, { 40305/* harmony export */ A: () => (/* binding */ isInternalUrl), 40306/* harmony export */ z: () => (/* binding */ hasProtocol) 40307/* harmony export */ }); 40308function hasProtocol(url) { 40309 return /^(?:\w*:|\/\/)/.test(url); 40310} 40311function isInternalUrl(url) { 40312 return typeof url !== "undefined" && !hasProtocol(url); 40313} 40314 40315 40316/***/ }), 40317 40318/***/ 99528: 40319/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 40320 40321"use strict"; 40322/* harmony export */ __webpack_require__.d(__webpack_exports__, { 40323/* harmony export */ A: () => (/* binding */ DocSidebarItemsExpandedStateProvider), 40324/* harmony export */ G: () => (/* binding */ useDocSidebarItemsExpandedState) 40325/* harmony export */ }); 40326/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48231); 40327/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77407); 40328/* harmony import */ var _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(80178); 40329 40330 40331 40332const EmptyContext = Symbol("EmptyContext"); 40333const Context = react__WEBPACK_IMPORTED_MODULE_1__.createContext(EmptyContext); 40334function DocSidebarItemsExpandedStateProvider({ children }) { 40335 const [expandedItem, setExpandedItem] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null); 40336 const contextValue = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => ({ expandedItem, setExpandedItem }), [expandedItem]); 40337 return /* @__PURE__ */ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(Context.Provider, { 40338 value: contextValue, 40339 children 40340 }); 40341} 40342function useDocSidebarItemsExpandedState() { 40343 const value = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(Context); 40344 if (value === EmptyContext) { 40345 throw new _docusaurus_theme_common_internal__WEBPACK_IMPORTED_MODULE_2__/* .ReactContextError */ .dV("DocSidebarItemsExpandedStateProvider"); 40346 } 40347 return value; 40348} 40349 40350 40351/***/ }), 40352 40353/***/ 99788: 40354/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 40355 40356"use strict"; 40357__webpack_require__.r(__webpack_exports__); 40358/* harmony export */ __webpack_require__.d(__webpack_exports__, { 40359/* harmony export */ "default": () => (/* binding */ useDocusaurusContext) 40360/* harmony export */ }); 40361/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77407); 40362/* harmony import */ var _docusaurusContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14709); 40363 40364 40365function useDocusaurusContext() { 40366 return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_docusaurusContext__WEBPACK_IMPORTED_MODULE_1__/* .Context */ .o); 40367} 40368 40369 40370/***/ }) 40371 40372}, 40373/******/ __webpack_require__ => { // webpackRuntimeModules 40374/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) 40375/******/ __webpack_require__.O(0, [1869], () => (__webpack_exec__(51269))); 40376/******/ var __webpack_exports__ = __webpack_require__.O(); 40377/******/ } 40378]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.