PluginProbe
Gutenberg / 23.5.0
Gutenberg v23.5.0
23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 7.4.0 All 402 releases
gutenberg / build / scripts / vendors / react-19.min.js

react-19.min.js in Gutenberg 23.5.0, at build/scripts/vendors/react-19.min.js

15 lines 8.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 var React=(()=>{var a=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var $=a(r=>{"use strict";var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), R=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),q=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),A=Symbol.iterator;function W(t){return t===null||typeof t!="object"?null:(t=A&&t[A]||t["@@iterator"],typeof t=="function"?t:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,H={};function l(t,e,u){this.props=t,this.context=e,this.refs=H,this.updater=u||h}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function T(t,e,u){this.props=t,this.context=e,this.refs=H,this.updater=u||h}var m=T.prototype=new P;m.constructor=T;j(m,l.prototype);m.isPureReactComponent=!0;var d=Array.isArray;function v(){}var i={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function C(t,e,u){var n=u.ref;return{$$typeof:R,type:t,key:e,ref:n!==void 0?n:null,props:u}}function Q(t,e){return C(t.type,e,t.props)}function S(t){return typeof t=="object"&&t!==null&&(t.$$typeof===R || t.$$typeof === REACT_LEGACY_ELEMENT_TYPE)}function X(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(u){return e[u]})}var O=/\/+/g;function y(t,e){return typeof t=="object"&&t!==null&&t.key!=null?X(""+t.key):e.toString(36)}function Z(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(v,v):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function _(t,e,u,n,o){var s=typeof t;(s==="undefined"||s==="boolean")&&(t=null);var f=!1;if(t===null)f=!0;else switch(s){case"bigint":case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case REACT_LEGACY_ELEMENT_TYPE: case R:case k:f=!0;break;case w:return f=t._init,_(f(t._payload),e,u,n,o)}}if(f)return o=o(t),f=n===""?"."+y(t,0):n,d(o)?(u="",f!=null&&(u=f.replace(O,"$&/")+"/"),_(o,e,u,"",function(M){return M})):o!=null&&(S(o)&&(o=Q(o,u+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(O,"$&/")+"/")+f)),e.push(o)),1;f=0;var p=n===""?".":n+":";if(d(t))for(var c=0;c<t.length;c++)n=t[c],s=p+y(n,c),f+=_(n,e,u,s,o);else if(c=W(t),typeof c=="function")for(t=c.call(t),c=0;!(n=t.next()).done;)n=n.value,s=p+y(n,c++),f+=_(n,e,u,s,o);else if(s==="object"){if(typeof t.then=="function")return _(Z(t),e,u,n,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return f}function E(t,e,u){if(t==null)return t;var n=[],o=0;return _(t,n,"","",function(s){return e.call(u,s,o++)}),n}function J(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(u){(t._status===0||t._status===-1)&&(t._status=1,t._result=u)},function(u){(t._status===0||t._status===-1)&&(t._status=2,t._result=u)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var g=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},V={map:E,forEach:function(t,e,u){E(t,function(){e.apply(this,arguments)},u)},count:function(t){var e=0;return E(t,function(){e++}),e},toArray:function(t){return E(t,function(e){return e})||[]},only:function(t){if(!S(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};r.Activity=K;r.Children=V;r.Component=l;r.Fragment=D;r.Profiler=x;r.PureComponent=T;r.StrictMode=U;r.Suspense=B;r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i;r.__COMPILER_RUNTIME={__proto__:null,c:function(t){return i.H.useMemoCache(t)}};r.cache=function(t){return function(){return t.apply(null,arguments)}};r.cacheSignal=function(){return null};r.cloneElement=function(t,e,u){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var n=j({},t.props),o=t.key;if(e!=null)for(s in e.key!==void 0&&(o=""+e.key),e)!N.call(e,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&e.ref===void 0||(n[s]=e[s]);var s=arguments.length-2;if(s===1)n.children=u;else if(1<s){for(var f=Array(s),p=0;p<s;p++)f[p]=arguments[p+2];n.children=f}return C(t.type,o,n)};r.createContext=function(t){return t={$$typeof:q,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:b,_context:t},t};r.createElement=function(t,e,u){var n,o={},s=null;if(e!=null)for(n in e.key!==void 0&&(s=""+e.key),e)N.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(o[n]=e[n]);var f=arguments.length-2;if(f===1)o.children=u;else if(1<f){for(var p=Array(f),c=0;c<f;c++)p[c]=arguments[c+2];o.children=p}if(t&&t.defaultProps)for(n in f=t.defaultProps,f)o[n]===void 0&&(o[n]=f[n]);return C(t,s,o)};r.createRef=function(){return{current:null}};r.forwardRef=function(t){return{$$typeof:z,render:t}};r.isValidElement=S;r.lazy=function(t){return{$$typeof:w,_payload:{_status:-1,_result:t},_init:J}};r.memo=function(t,e){return{$$typeof:G,type:t,compare:e===void 0?null:e}};r.startTransition=function(t){var e=i.T,u={};i.T=u;try{var n=t(),o=i.S;o!==null&&o(u,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(v,g)}catch(s){g(s)}finally{e!==null&&u.types!==null&&(e.types=u.types),i.T=e}};r.unstable_useCacheRefresh=function(){return i.H.useCacheRefresh()};r.use=function(t){return i.H.use(t)};r.useActionState=function(t,e,u){return i.H.useActionState(t,e,u)};r.useCallback=function(t,e){return i.H.useCallback(t,e)};r.useContext=function(t){return i.H.useContext(t)};r.useDebugValue=function(){};r.useDeferredValue=function(t,e){return i.H.useDeferredValue(t,e)};r.useEffect=function(t,e){return i.H.useEffect(t,e)};r.useEffectEvent=function(t){return i.H.useEffectEvent(t)};r.useId=function(){return i.H.useId()};r.useImperativeHandle=function(t,e,u){return i.H.useImperativeHandle(t,e,u)};r.useInsertionEffect=function(t,e){return i.H.useInsertionEffect(t,e)};r.useLayoutEffect=function(t,e){return i.H.useLayoutEffect(t,e)};r.useMemo=function(t,e){return i.H.useMemo(t,e)};r.useOptimistic=function(t,e){return i.H.useOptimistic(t,e)};r.useReducer=function(t,e,u){return i.H.useReducer(t,e,u)};r.useRef=function(t){return i.H.useRef(t)};r.useState=function(t){return i.H.useState(t)};r.useSyncExternalStore=function(t,e,u){return i.H.useSyncExternalStore(t,e,u)};r.useTransition=function(){return i.H.useTransition()};r.version="19.2.7"});var Y=a((nt,I)=>{"use strict";I.exports=$()});var F=a((rt,L)=>{L.exports={...Y(),__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:{current:null},ReactCurrentDispatcher:{current:null},ReactDebugCurrentFrame:{setExtraStackFrame:()=>{},getStackAddendum:()=>""}}}});return F();})();
2 /*! Bundled license information:
3
4 react/cjs/react.production.js:
5 (**
6 * @license React
7 * react.production.js
8 *
9 * Copyright (c) Meta Platforms, Inc. and affiliates.
10 *
11 * This source code is licensed under the MIT license found in the
12 * LICENSE file in the root directory of this source tree.
13 *)
14 */
15