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