import Debug from 'debug' ; const debug = Debug ( 'plugins/kubeui/preload' ) ; debug ( 'loading' ) ; import { Capabilities , PreloadRegistrar } from '@kui-shell/core' ; /**
 * This is the capabilities registraion
 *
 */ /**
 * This is the module
 *
 */ export default async ( registrar ) => { if ( ! Capabilities . isHeadless ( ) ) { const preloader = ( await import ( './non-headless-preload' ) ) . default ; await preloader ( registrar ) ; } } ; debug ( 'finished loading' ) ;