// Module ID: 4250 // Function ID: 4251 // Name: usePortalState // Dependencies: [19, 4247] // Exports: usePortalState // Module 4250 (usePortalState) import { useContext } from "noop"; export const usePortalState = (arg0) => { const tmp = useContext(require(4247) /* createContext */.PortalStateContext); if (null === tmp) { const _Error = Error; const error = new Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component."); throw error; } else { return tmp[arg0] || []; } };