PageSourceSearch

https://app.clariumhealth.com/assets/prop-types-BP3O0vhg.js

js clariumhealth.com collected 2026-10-03 20:43:41 UTC 26,640 bytes, 556 lines download raw bytes

1import { t as __commonJSMin } from "./chunk-6z4oVpB-.js";
2var require_react_is_development = /* @__PURE__ */ __commonJSMin(((exports) => {
3	(function() {
4		var hasSymbol = typeof Symbol === "function" && Symbol.for;
5		var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
6		var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
7		var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
8		var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
9		var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
10		var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
11		var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
12		var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
13		var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
14		var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
15		var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") 
vendor: 4,453 bytes, lines 15-117
15: 60113;
16		var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
17		var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
18		var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
19		var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
20		var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
21		var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
22		var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
23		function isValidElementType(type) {
24			return typeof type === "string" || typeof type === "function" || type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
25		}
26		function typeOf(object) {
27			if (typeof object === "object" && object !== null) {
28				var $$typeof = object.$$typeof;
29				switch ($$typeof) {
30					case REACT_ELEMENT_TYPE:
31						var type = object.type;
32						switch (type) {
33							case REACT_ASYNC_MODE_TYPE:
34							case REACT_CONCURRENT_MODE_TYPE:
35							case REACT_FRAGMENT_TYPE:
36							case REACT_PROFILER_TYPE:
37							case REACT_STRICT_MODE_TYPE:
38							case REACT_SUSPENSE_TYPE: return type;
39							default:
40								var $$typeofType = type && type.$$typeof;
41								switch ($$typeofType) {
42									case REACT_CONTEXT_TYPE:
43									case REACT_FORWARD_REF_TYPE:
44									case REACT_LAZY_TYPE:
45									case REACT_MEMO_TYPE:
46									case REACT_PROVIDER_TYPE: return $$typeofType;
47									default: return $$typeof;
48								}
49						}
50					case REACT_PORTAL_TYPE: return $$typeof;
51				}
52			}
53		}
54		var AsyncMode = REACT_ASYNC_MODE_TYPE;
55		var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
56		var ContextConsumer = REACT_CONTEXT_TYPE;
57		var ContextProvider = REACT_PROVIDER_TYPE;
58		var Element = REACT_ELEMENT_TYPE;
59		var ForwardRef = REACT_FORWARD_REF_TYPE;
60		var Fragment = REACT_FRAGMENT_TYPE;
61		var Lazy = REACT_LAZY_TYPE;
62		var Memo = REACT_MEMO_TYPE;
63		var Portal = REACT_PORTAL_TYPE;
64		var Profiler = REACT_PROFILER_TYPE;
65		var StrictMode = REACT_STRICT_MODE_TYPE;
66		var Suspense = REACT_SUSPENSE_TYPE;
67		var hasWarnedAboutDeprecatedIsAsyncMode = false;
68		function isAsyncMode(object) {
69			if (!hasWarnedAboutDeprecatedIsAsyncMode) {
70				hasWarnedAboutDeprecatedIsAsyncMode = true;
71				console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
72			}
73			return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
74		}
75		function isConcurrentMode(object) {
76			return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
77		}
78		function isContextConsumer(object) {
79			return typeOf(object) === REACT_CONTEXT_TYPE;
80		}
81		function isContextProvider(object) {
82			return typeOf(object) === REACT_PROVIDER_TYPE;
83		}
84		function isElement(object) {
85			return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
86		}
87		function isForwardRef(object) {
88			return typeOf(object) === REACT_FORWARD_REF_TYPE;
89		}
90		function isFragment(object) {
91			return typeOf(object) === REACT_FRAGMENT_TYPE;
92		}
93		function isLazy(object) {
94			return typeOf(object) === REACT_LAZY_TYPE;
95		}
96		function isMemo(object) {
97			return typeOf(object) === REACT_MEMO_TYPE;
98		}
99		function isPortal(object) {
100			return typeOf(object) === REACT_PORTAL_TYPE;
101		}
102		function isProfiler(object) {
103			return typeOf(object) === REACT_PROFILER_TYPE;
104		}
105		function isStrictMode(object) {
106			return typeOf(object) === REACT_STRICT_MODE_TYPE;
107		}
108		function isSuspense(object) {
109			return typeOf(object) === REACT_SUSPENSE_TYPE;
110		}
111		exports.AsyncMode = AsyncMode;
112		exports.ConcurrentMode = ConcurrentMode;
113		exports.ContextConsumer = ContextConsumer;
114		exports.ContextProvider = ContextProvider;
115		exports.Element = Element;
116		exports.ForwardRef = ForwardRef;
117		exports.Fragment = Fragment;
118		exports.Lazy = Lazy;
119		exports.Memo = Memo;
120		exports.Portal = Portal;
121		exports.Profiler = Profiler;
122		exports.StrictMode = StrictMode;
123		exports.Suspense = Suspense;
124		exports.isAsyncMode = isAsyncMode;
125		exports.isConcurrentMode = isConcurrentMode;
126		exports.isContextConsumer = isContextConsumer;
127		exports.isContextProvider = isContextProvider;
128		exports.isElement = isElement;
129		exports.isForwardRef = isForwardRef;
130		exports.isFragment = isFragment;
131		exports.isLazy = isLazy;
132		exports.isMemo = isMemo;
133		exports.isPortal = isPortal;
134		exports.isProfiler = isProfiler;
135		exports.isStrictMode = isStrictMode;
136		exports.isSuspense = isSuspense;
137		exports.isValidElementType = isValidElementType;
138		exports.typeOf = typeOf;
139	})();
140}));
141var require_react_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
142	module.exports = require_react_is_development();
143}));
144var require_object_assign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
145	var getOwnPropertySymbols = Object.getOwnPropertySymbols;
146	var hasOwnProperty = Object.prototype.hasOwnProperty;
147	var propIsEnumerable = Object.prototype.propertyIsEnumerable;
148	function toObject(val) {
149		if (val === null || val === void 0) throw new TypeError("Object.assign cannot be called with null or undefined");
150		return Object(val);
151	}
152	function shouldUseNative() {
153		try {
154			if (!Object.assign) return false;
155			var test1 = /* @__PURE__ */ new String("abc");
156			test1[5] = "de";
157			if (Object.getOwnPropertyNames(test1)[0] === "5") return false;
158			var test2 = {};
159			for (var i = 0; i < 10; i++) test2["_" + String.fromCharCode(i)] = i;
160			if (Object.getOwnPropertyNames(test2).map(function(n) {
161				return test2[n];
162			}).join("") !== "0123456789") return false;
163			var test3 = {};
164			"abcdefghijklmnopqrst".split("").forEach(function(letter) {
165				test3[letter] = letter;
166			});
167			if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") return false;
168			return true;
169		} catch (err) {
170			return false;
171		}
172	}
173	module.exports = shouldUseNative() ? Object.assign : function(target, source) {
174		var from;
175		var to = toObject(target);
176		var symbols;
177		for (var s = 1; s < arguments.length; s++) {
178			from = Object(arguments[s]);
179			for (var key in from) if (hasOwnProperty.call(from, key)) to[key] = from[key];
180			if (getOwnPropertySymbols) {
181				symbols = getOwnPropertySymbols(from);
182				for (var i = 0; i < symbols.length; i++) if (propIsEnumerable.call(from, symbols[i])) to[symbols[i]] = from[symbols[i]];
183			}
184		}
185		return to;
186	};
187}));
188var require_ReactPropTypesSecret = /* @__PURE__ */ __commonJSMin(((exports, module) => {
189	module.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
190}));
191var require_has = /* @__PURE__ */ __commonJSMin(((exports, module) => {
192	module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
193}));
194var require_checkPropTypes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
195	var printWarning$1 = function() {};
196	var ReactPropTypesSecret$1 = require_ReactPropTypesSecret();
197	var loggedTypeFailures = {};
198	var has$1 = require_has();
199	printWarning$1 = function(text) {
200		var message = "Warning: " + text;
201		if (typeof console !== "undefined") console.error(message);
202		try {
203			throw new Error(message);
204		} catch (x) {}
205	};
206	function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
207		for (var typeSpecName in typeSpecs) if (has$1(typeSpecs, typeSpecName)) {
208			var error;
209			try {
210				if (typeof typeSpecs[typeSpecName] !== "function") {
211					var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
212					err.name = "Invariant Violation";
213					throw err;
214				}
215				error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);
216			} catch (ex) {
217				error = ex;
218			}
219			if (error && !(error instanceof Error)) printWarning$1((componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invali
219d; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");
220			if (error instanceof Error && !(error.message in loggedTypeFailures)) {
221				loggedTypeFailures[error.message] = true;
222				var stack = getStack ? getStack() : "";
223				printWarning$1("Failed " + location + " type: " + error.message + (stack != null ? stack : ""));
224			}
225		}
226	}
227	checkPropTypes$1.resetWarningCache = function() {
228		loggedTypeFailures = {};
229	};
230	module.exports = checkPropTypes$1;
231}));
232var require_factoryWithTypeCheckers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
233	var ReactIs$1 = require_react_is();
234	var assign = require_object_assign();
235	var ReactPropTypesSecret = require_ReactPropTypesSecret();
236	var has = require_has();
237	var checkPropTypes = require_checkPropTypes();
238	var printWarning = function() {};
239	printWarning = function(text) {
240		var message = "Warning: " + text;
241		if (typeof console !== "undefined") console.error(message);
242		try {
243			throw new Error(message);
244		} catch (x) {}
245	};
246	function emptyFunctionThatReturnsNull() {
247		return null;
248	}
249	module.exports = function(isValidElement, throwOnDirectAccess$1) {
250		var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
251		var FAUX_ITERATOR_SYMBOL = "@@iterator";
252		function getIteratorFn(maybeIterable) {
253			var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
254			if (typeof iteratorFn === "function") return iteratorFn;
255		}
256		var ANONYMOUS = "<<anonymous>>";
257		var ReactPropTypes = {
258			array: createPrimitiveTypeChecker("array"),
259			bigint: createPrimitiveTypeChecker("bigint"),
260			bool: createPrimitiveTypeChecker("boolean"),
261			func: createPrimitiveTypeChecker("function"),
262			number: createPrimitiveTypeChecker("number"),
263			object: createPrimitiveTypeChecker("object"),
264			string: createPrimitiveTypeChecker("string"),
265			symbol: createPrimitiveTypeChecker("symbol"),
266			any: createAnyTypeChecker(),
267			arrayOf: createArrayOfTypeChecker,
268			element: createElementTypeChecker(),
269			elementType: createElementTypeTypeChecker(),
270			instanceOf: createInstanceTypeChecker,
271			node: createNodeChecker(),
272			objectOf: createObjectOfTypeChecker,
273			oneOf: createEnumTypeChecker,
274			oneOfType: createUnionTypeChecker,
275			shape: createShapeTypeChecker,
276			exact: createStrictShapeTypeChecker
277		};
278		function is(x, y) {
279			if (x === y) return x !== 0 || 1 / x === 1 / y;
280			else return x !== x && y !== y;
281		}
282		function PropTypeError(message, data) {
283			this.message = message;
284			this.data = data && typeof data === "object" ? data : {};
285			this.stack = "";
286		}
287		PropTypeError.prototype = Error.prototype;
288		function createChainableTypeChecker(validate) {
289			var manualPropTypeCallCache = {};
290			var manualPropTypeWarningCount = 0;
291			function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
292				componentName = componentName || ANONYMOUS;
293				propFullName = propFullName || propName;
294				if (secret !== ReactPropTypesSecret) {
295					if (throwOnDirectAccess$1) {
296						var err = /* @__PURE__ */ new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
297						err.name = "Invariant Violation";
298						throw err;
299					} else if (typeof console !== "undefined") {
300						var cacheKey = componentName + ":" + propName;
301						if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) {
302							printWarning("You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.");
303							manualPropTypeCallCache[cacheKey] = true;
304							manualPropTypeWarningCount++;
305						}
306					}
307				}
308				if (props[propName] == null) {
309					if (isRequired) {
310						if (props[propName] === null) return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
311						return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
312					}
313					return null;
314				} else return validate(props, propName, componentName, location, propFullName);
315			}
316			var chainedCheckType = checkType.bind(null, false);
317			chainedCheckType.isRequired = checkType.bind(null, true);
318			return chainedCheckType;
319		}
320		function createPrimitiveTypeChecker(expectedType) {
321			function validate(props, propName, componentName, location, propFullName, secret) {
322				var propValue = props[propName];
323				if (getPropType(propValue) !== expectedType) {
324					var preciseType = getPreciseType(propValue);
325					return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."), { expectedType });
326				}
327				return null;
328			}
329			return createChainableTypeChecker(validate);
330		}
331		function createAnyTypeChecker() {
332			return createChainableTypeChecker(emptyFunctionThatReturnsNull);
333		}
334		function createArrayOfTypeChecker(typeChecker) {
335			function validate(props, propName, componentName, location, propFullName) {
336				if (typeof typeChecker !== "function") return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invali
336d PropType notation inside arrayOf.");
337				var propValue = props[propName];
338				if (!Array.isArray(propValue)) {
339					var propType = getPropType(propValue);
340					return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
341				}
342				for (var i = 0; i < propValue.length; i++) {
343					var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
344					if (error instanceof Error) return error;
345				}
346				return null;
347			}
348			return createChainableTypeChecker(validate);
349		}
350		function createElementTypeChecker() {
351			function validate(props, propName, componentName, location, propFullName) {
352				var propValue = props[propName];
353				if (!isValidElement(propValue)) {
354					var propType = getPropType(propValue);
355					return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
356				}
357				return null;
358			}
359			return createChainableTypeChecker(validate);
360		}
361		function createElementTypeTypeChecker() {
362			function validate(props, propName, componentName, location, propFullName) {
363				var propValue = props[propName];
364				if (!ReactIs$1.isValidElementType(propValue)) {
365					var propType = getPropType(propValue);
366					return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
367				}
368				return null;
369			}
370			return createChainableTypeChecker(validate);
371		}
372		function createInstanceTypeChecker(expectedClass) {
373			function validate(props, propName, componentName, location, propFullName) {
374				if (!(props[propName] instanceof expectedClass)) {
375					var expectedClassName = expectedClass.name || ANONYMOUS;
376					var actualClassName = getClassName(props[propName]);
377					return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
378				}
379				return null;
380			}
381			return createChainableTypeChecker(validate);
382		}
383		function createEnumTypeChecker(expectedValues) {
384			if (!Array.isArray(expectedValues)) {
385				if (arguments.length > 1) printWarning("Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");
386				else printWarning("Invalid argument supplied to oneOf, expected an array.");
387				return emptyFunctionThatReturnsNull;
388			}
389			function validate(props, propName, componentName, location, propFullName) {
390				var propValue = props[propName];
391				for (var i = 0; i < expectedValues.length; i++) if (is(propValue, expectedValues[i])) return null;
392				var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
393					if (getPreciseType(value) === "symbol") return String(value);
394					return value;
395				});
396				return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
397			}
398			return createChainableTypeChecker(validate);
399		}
400		function createObjectOfTypeChecker(typeChecker) {
401			function validate(props, propName, componentName, location, propFullName) {
402				if (typeof typeChecker !== "function") return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
403				var propValue = props[propName];
404				var propType = getPropType(propValue);
405				if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
406				for (var key in propValue) if (has(propValue, key)) {
407					var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
408					if (error instanceof Error) return error;
409				}
410				return null;
411			}
412			return createChainableTypeChecker(validate);
413		}
414		function createUnionTypeChecker(arrayOfTypeCheckers) {
415			if (!Array.isArray(arrayOfTypeCheckers)) {
416				printWarning("Invalid argument supplied to oneOfType, expected an instance of array.");
417				return emptyFunctionThatReturnsNull;
418			}
419			for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
420				var checker = arrayOfTypeCheckers[i];
421				if (typeof checker !== "function") {
422					printWarning("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + ".");
423					return emptyFunctionThatReturnsNull;
424				}
425			}
426			function validate(props, propName, componentName, location, propFullName) {
427				var expectedTypes = [];
428				for (var i$1 = 0; i$1 < arrayOfTypeCheckers.length; i$1++) {
429					var checker$1 = arrayOfTypeCheckers[i$1];
430					var checkerResult = checker$1(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
431					if (checkerResult == null) return null;
432					if (checkerResult.data && has(checkerResult.data, "expectedType")) expectedTypes.push(checkerResult.data.expectedType);
433				}
434				var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
435				return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
436			}
437			return createChainableTypeChecker(validate);
438		}
439		function createNodeChecker() {
440			function validate(props, propName, componentName, location, propFullName) {
441				if (!isNode(props[propName])) return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
442				return null;
443			}
444			return createChainableTypeChecker(validate);
445		}
446		function invalidValidatorError(componentName, location, propFullName, key, type) {
447			return new PropTypeError((componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`.");
448		}
449		function createShapeTypeChecker(shapeTypes) {
450			function validate(props, propName, componentName, location, propFullName) {
451				var propValue = props[propName];
452				var propType = getPropType(propValue);
453				if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
454				for (var key in shapeTypes) {
455					var checker = shapeTypes[key];
456					if (typeof checker !== "function") return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
457					var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
458					if (error) return error;
459				}
460				return null;
461			}
462			return createChainableTypeChecker(validate);
463		}
464		function createStrictShapeTypeChecker(shapeTypes) {
465			function validate(props, propName, componentName, location, propFullName) {
466				var propValue = props[propName];
467				var propType = getPropType(propValue);
468				if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
469				for (var key in assign({}, props[propName], shapeTypes)) {
470					var checker = shapeTypes[key];
471					if (has(shapeTypes, key) && typeof checker !== "function") return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
472					if (!checker) return new PropTypeError("Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, "  ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, "  "));
473					var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
474					if (error) return error;
475				}
476				return null;
477			}
478			return createChainableTypeChecker(validate);
479		}
480		function isNode(propValue) {
481			switch (typeof propValue) {
482				case "number":
483				case "string":
484				case "undefined": return true;
485				case "boolean": return !propValue;
486				case "object":
487					if (Array.isArray(propValue)) return propValue.every(isNode);
488					if (propValue === null || isValidElement(propValue)) return true;
489					var iteratorFn = getIteratorFn(propValue);
490					if (iteratorFn) {
491						var iterator = iteratorFn.call(propValue);
492						var step;
493						if (iteratorFn !== propValue.entries) {
494							while (!(step = iterator.next()).done) if (!isNode(step.value)) return false;
495						} else while (!(step = iterator.next()).done) {
496							var entry = step.value;
497							if (entry) {
498								if (!isNode(entry[1])) return false;
499							}
500						}
501					} else return false;
502					return true;
503				default: return false;
504			}
505		}
506		function isSymbol(propType, propValue) {
507			if (propType === "symbol") return true;
508			if (!propValue) return false;
509			if (propValue["@@toStringTag"] === "Symbol") return true;
510			if (typeof Symbol === "function" && propValue instanceof Symbol) return true;
511			return false;
512		}
513		function getPropType(propValue) {
514			var propType = typeof propValue;
515			if (Array.isArray(propValue)) return "array";
516			if (propValue instanceof RegExp) return "object";
517			if (isSymbol(propType, propValue)) return "symbol";
518			return propType;
519		}
520		function getPreciseType(propValue) {
521			if (typeof propValue === "undefined" || propValue === null) return "" + propValue;
522			var propType = getPropType(propValue);
523			if (propType === "object") {
524				if (propValue instanceof Date) return "date";
525				else if (propValue instanceof RegExp) return "regexp";
526			}
527			return propType;
528		}
529		function getPostfixForTypeWarning(value) {
530			var type = getPreciseType(value);
531			switch (type) {
532				case "array":
533				case "object": return "an " + type;
534				case "boolean":
535				case "date":
536				case "regexp": return "a " + type;
537				default: return type;
538			}
539		}
540		function getClassName(propValue) {
541			if (!propValue.constructor || !propValue.constructor.name) return ANONYMOUS;
542			return propValue.constructor.name;
543		}
544		ReactPropTypes.checkPropTypes = checkPropTypes;
545		ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
546		ReactPropTypes.PropTypes = ReactPropTypes;
547		return ReactPropTypes;
548	};
549}));
550var require_prop_types = /* @__PURE__ */ __commonJSMin(((exports, module) => {
551	var ReactIs = require_react_is();
552	module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, true);
553}));
554export { require_object_assign as n, require_prop_types as t };
555
556//# sourceMappingURL=prop-types-BP3O0vhg.js.map

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.