You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			50 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			50 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
| 
											9 months ago
										 | "use client"; | ||
|  | 
 | ||
|  | "use strict"; | ||
|  | Object.defineProperty(exports, "__esModule", { | ||
|  |     value: true | ||
|  | }); | ||
|  | 0 && (module.exports = { | ||
|  |     bailOnNotFound: null, | ||
|  |     DevRootNotFoundBoundary: null | ||
|  | }); | ||
|  | function _export(target, all) { | ||
|  |     for(var name in all)Object.defineProperty(target, name, { | ||
|  |         enumerable: true, | ||
|  |         get: all[name] | ||
|  |     }); | ||
|  | } | ||
|  | _export(exports, { | ||
|  |     bailOnNotFound: function() { | ||
|  |         return bailOnNotFound; | ||
|  |     }, | ||
|  |     DevRootNotFoundBoundary: function() { | ||
|  |         return DevRootNotFoundBoundary; | ||
|  |     } | ||
|  | }); | ||
|  | const _interop_require_default = require("@swc/helpers/_/_interop_require_default"); | ||
|  | const _jsxruntime = require("react/jsx-runtime"); | ||
|  | const _react = /*#__PURE__*/ _interop_require_default._(require("react")); | ||
|  | const _notfoundboundary = require("./not-found-boundary"); | ||
|  | function bailOnNotFound() { | ||
|  |     throw new Error("notFound() is not allowed to use in root layout"); | ||
|  | } | ||
|  | function NotAllowedRootNotFoundError() { | ||
|  |     bailOnNotFound(); | ||
|  |     return null; | ||
|  | } | ||
|  | function DevRootNotFoundBoundary(param) { | ||
|  |     let { children } = param; | ||
|  |     return /*#__PURE__*/ (0, _jsxruntime.jsx)(_notfoundboundary.NotFoundBoundary, { | ||
|  |         notFound: /*#__PURE__*/ (0, _jsxruntime.jsx)(NotAllowedRootNotFoundError, {}), | ||
|  |         children: children | ||
|  |     }); | ||
|  | } | ||
|  | 
 | ||
|  | if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { | ||
|  |   Object.defineProperty(exports.default, '__esModule', { value: true }); | ||
|  |   Object.assign(exports.default, exports); | ||
|  |   module.exports = exports.default; | ||
|  | } | ||
|  | 
 | ||
|  | //# sourceMappingURL=dev-root-not-found-boundary.js.map
 |