File: /wordpress/core/beta/wp-includes/js/dist/development/react-refresh-runtime.min.js
(()=>{"use strict";var e={644(e,t){(function(){var e=Symbol.for("react.forward_ref"),n=Symbol.for("react.memo"),o="function"==typeof WeakMap?WeakMap:Map,r=new Map,i=new o,f=new o,u=new o,a=[],c=new Map,s=new Map,l=new Set,d=new Set,p="function"==typeof WeakMap?new WeakMap:null,h=!1;function y(e){if(null!==e.fullKey)return e.fullKey;var t,n=e.ownKey;try{t=e.getCustomHooks()}catch(t){return e.forceReset=!0,e.fullKey=n,n}for(var o=0;o<t.length;o++){var r=t[o];if("function"!=typeof r)return e.forceReset=!0,e.fullKey=n,n;var i=f.get(r);if(void 0!==i){var u=y(i);i.forceReset&&(e.forceReset=!0),n+="\n---\n"+u}}return e.fullKey=n,n}function v(e){return e.prototype&&e.prototype.isReactComponent}function m(e,t){return!v(e)&&!v(t)&&!!function(e,t){var n=f.get(e),o=f.get(t);return void 0===n&&void 0===o||void 0!==n&&void 0!==o&&y(n)===y(o)&&!o.forceReset}(e,t)}function R(e){return u.get(e)}function w(e){var t=new Set;return e.forEach((function(e){t.add(e)})),t}function g(e,t){try{return e[t]}catch(e){return}}function b(t,o){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;if(f.has(t)||f.set(t,{forceReset:r,ownKey:o,fullKey:null,getCustomHooks:i||function(){return[]}}),"object"==typeof t&&null!==t)switch(g(t,"$$typeof")){case e:b(t.render,o,r,i);break;case n:b(t.type,o,r,i)}}function _(e){var t=f.get(e);void 0!==t&&y(t)}t._getMountedRootCount=function(){return l.size},t.collectCustomHooksForSignature=_,t.createSignatureFunctionForTransform=function(){var e,t,n=!1;return function(o,r,i,f){if("string"==typeof r)return e||(e=o,t="function"==typeof f),null==o||"function"!=typeof o&&"object"!=typeof o||b(o,r,i,f),o;!n&&t&&(n=!0,_(e))}},t.findAffectedHostInstances=function(e){var t=new Set;return l.forEach((function(n){var o=s.get(n);if(void 0===o)throw new Error("Could not find helpers for a root. This is a bug in React Refresh.");o.findHostInstancesForRefresh(n,e).forEach((function(e){t.add(e)}))})),t},t.getFamilyByID=function(e){return r.get(e)},t.getFamilyByType=function(e){return i.get(e)},t.hasUnrecoverableErrors=function(){return!1},t.injectIntoGlobalHook=function(e){var t=e.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(void 0===t){var n=0;e.__REACT_DEVTOOLS_GLOBAL_HOOK__=t={renderers:new Map,supportsFiber:!0,inject:function(e){return n++},onScheduleFiberRoot:function(e,t,n){},onCommitFiberRoot:function(e,t,n,o){},onCommitFiberUnmount:function(){}}}if(t.isDisabled)console.warn("Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). Fast Refresh is not compatible with this shim and will be disabled.");else{var o=t.inject;t.inject=function(e){var t=o.apply(this,arguments);return"function"==typeof e.scheduleRefresh&&"function"==typeof e.setRefreshHandler&&c.set(t,e),t},t.renderers.forEach((function(e,t){"function"==typeof e.scheduleRefresh&&"function"==typeof e.setRefreshHandler&&c.set(t,e)}));var r=t.onCommitFiberRoot,i=t.onScheduleFiberRoot||function(){};t.onScheduleFiberRoot=function(e,t,n){return h||(d.delete(t),null!==p&&p.set(t,n)),i.apply(this,arguments)},t.onCommitFiberRoot=function(e,t,n,o){var i=c.get(e);if(void 0!==i){s.set(t,i);var f=t.current,u=f.alternate;if(null!==u){var a=null!=u.memoizedState&&null!=u.memoizedState.element&&l.has(t),p=null!=f.memoizedState&&null!=f.memoizedState.element;!a&&p?(l.add(t),d.delete(t)):a&&p||(a&&!p?(l.delete(t),o?d.add(t):s.delete(t)):a||p||o&&d.add(t))}else l.add(t)}return r.apply(this,arguments)}}},t.isLikelyComponentType=function(t){switch(typeof t){case"function":if(null!=t.prototype){if(t.prototype.isReactComponent)return!0;var o=Object.getOwnPropertyNames(t.prototype);if(o.length>1||"constructor"!==o[0])return!1;if(t.prototype.__proto__!==Object.prototype)return!1}var r=t.name||t.displayName;return"string"==typeof r&&/^[A-Z]/.test(r);case"object":if(null!=t)switch(g(t,"$$typeof")){case e:case n:return!0;default:return!1}return!1;default:return!1}},t.performReactRefresh=function(){if(0===a.length)return null;if(h)return null;h=!0;try{var e=new Set,t=new Set,n=a;a=[],n.forEach((function(n){var o=n[0],r=n[1],i=o.current;u.set(i,o),u.set(r,o),o.current=r,m(i,r)?t.add(o):e.add(o)}));var o={updatedFamilies:t,staleFamilies:e};c.forEach((function(e){e.setRefreshHandler(R)}));var r=!1,i=null,f=w(d),y=w(l),v=(g=s,b=new Map,g.forEach((function(e,t){b.set(t,e)})),b);if(f.forEach((function(e){var t=v.get(e);if(void 0===t)throw new Error("Could not find helpers for a root. This is a bug in React Refresh.");if(d.has(e),null!==p&&p.has(e)){var n=p.get(e);try{t.scheduleRoot(e,n)}catch(e){r||(r=!0,i=e)}}})),y.forEach((function(e){var t=v.get(e);if(void 0===t)throw new Error("Could not find helpers for a root. This is a bug in React Refresh.");l.has(e);try{t.scheduleRefresh(e,o)}catch(e){r||(r=!0,i=e)}})),r)throw i;return o}finally{h=!1}var g,b},t.register=function t(o,f){if(null!==o&&("function"==typeof o||"object"==typeof o)&&!i.has(o)){var u=r.get(f);if(void 0===u?(u={current:o},r.set(f,u)):a.push([u,o]),i.set(o,u),"object"==typeof o&&null!==o)switch(g(o,"$$typeof")){case e:t(o.render,f+"$render");break;case n:t(o.type,f+"$type")}}},t.setSignature=b})()},206(e,t,n){e.exports=n(/*! ./cjs/react-refresh-runtime.development.js */644)}};const t={};let n=function n(o){const r=t[o];if(void 0!==r)return r.exports;const i=t[o]={exports:{}};if(!(o in e)){delete t[o];const e=new Error("Cannot find module '"+o+"'");throw e.code="MODULE_NOT_FOUND",e}return e[o](i,i.exports,n),i.exports}(206);window.ReactRefreshRuntime=n})();