add hw2
This commit is contained in:
		
							
								
								
									
										21
									
								
								node_modules/@react-aria/utils/dist/domHelpers.module.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								node_modules/@react-aria/utils/dist/domHelpers.module.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{ | ||||
|     var _el_ownerDocument; | ||||
|     return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document; | ||||
| }; | ||||
| const $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{ | ||||
|     if (el && 'window' in el && el.window === el) return el; | ||||
|     const doc = $431fbd86ca7dc216$export$b204af158042fbac(el); | ||||
|     return doc.defaultView || window; | ||||
| }; | ||||
| /** | ||||
|  * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property. | ||||
|  */ function $431fbd86ca7dc216$var$isNode(value) { | ||||
|     return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number'; | ||||
| } | ||||
| function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) { | ||||
|     return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node; | ||||
| } | ||||
|  | ||||
|  | ||||
| export {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot}; | ||||
| //# sourceMappingURL=domHelpers.module.js.map | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik