<commit_before>require.config({
    // not in here, since it's configured elsewhere, but this
    // is expected to be relative to /static/ on the server.
    // Jupyter does some magic where it merges its /static/ directory
    // with this one (kbase-profile/static)
    paths: {
        fileSaver: 'ext_components/file-saver/dist/FileSaver.min',
        bluebird: 'ext_components/bluebird/js/browser/bluebird.min',
        'bootstrap-slider': 'ext_components/bootstrap-slider/dist/bootstrap-slider',
        'bootstrap-slider-css': 'ext_components/bootstrap-slider/dist/css/bootstrap-slider',
        'datatables.net': 'ext_components/datatables.net/js/jquery.dataTables.min',
        'datatables.net-bs': 'ext_components/datatables.net-bs/js/dataTables.bootstrap',
        'datatables.net-buttons': 'ext_components/datatables.net-buttons/js/dataTables.buttons.min',
        'datatables.net-buttons-bs':
            'ext_components/datatables.net-buttons-bs/js/buttons.bootstrap.min',
        'datatables.net-buttons-html5':
            'ext_components/datatables.net-buttons/js/buttons.html5.min',
        'datatables.net-buttons-colvis':
            'ext_components/datatables.net-buttons/js/buttons.colVis.min',
        'datatables.net-buttons-print':
            'ext_components/datatables.net-buttons/js/buttons.print.min',
        bloodhound: 'ext_components/corejs-typeahead/dist/bloodhound.min',
        d3: 'ext_components/d3/d3.min',
        md5: 'ext_components/spark-md5/spark-md5',
        domReady: 'ext_components/requirejs-domready/domReady',
        dropzone: 'ext_components/dropzone/dist/dropzone-amd-module',
        handlebars: 'ext_components/handlebars/dist/handlebars.amd.min',
        json: 'ext_components/requirejs-plugins/src/json',
        'jquery-nearest': 'ext_components/jquery-nearest/src/jquery.nearest.min',
        plotly: 'ext_components/plotly.js-dist-min/plotly.min',
        kb_common: 'ext_components/kbase-common-js/dist/kb_common/',
        kb_service: 'ext_components/kbase-service-clients-js/dist/kb_service/',
        kb_sdk_clients: 'ext_components/kbase-sdk-clients-js/dist/amd/kb_sdk_clients/',
        numeral: 'ext_components/numeral/numeral',
        text: 'ext_components/requirejs-plugins/lib/text',
        tipsy: 'ext_components/jquery.tipsy/src/jquery.tipsy',
        typeahead: 'ext_components/corejs-typeahead/dist/typeahead.jquery.min',
        underscore: 'ext_components/underscore/underscore-min',
        select2: 'ext_components/select2/dist/js/select2.full.min',
        uuid: 'ext_components/pure-uuid/uuid',
        'font-awesome': 'ext_components/font-awesome/css/font-awesome.min',
        yaml: 'ext_components/require-yaml/yaml',
        'js-yaml': 'ext_components/js-yaml/dist/js-yaml',

        colorbrewer: 'ext_packages/colorbrewer/colorbrewer.min',
        // copied from the cdn
        'google-code-prettify': 'ext_packages/google-code-prettify/1.2.0/',
        'jquery-svg': 'ext_packages/jquery-extensions/js/jquery.svg',
        knhx: 'ext_packages/knhxtree/js/knhx',
        knhx_menu: 'ext_packages/knhxtree/js/menu',
        knhx_excanvas: 'ext_packages/knhxtree/js/excanvas',
        knhx_canvastext: 'ext_packages/knhxtree/js/canvastext',
        knhx_easytree: 'ext_packages/knhxtree/js/easytree',

        narrativeTour: 'kbase/js/tour',
        kbaseInputTest: 'kbase/js/widgets/function_input/kbaseInputTest',
        api: 'kbase/js/api',
        util: 'kbase/js/util',
        jsonrpc: 'kbase/js/jsonrpc',
        config: 'kbase/config',
        styles: 'kbase/css',
        narrative_core: 'kbase/js/widgets/narrative_core',
        configPath: 'kbase',
        narrativeViewers: 'kbase/js/widgets/narrative_core/narrativeViewers',
        jquery: 'ext_components/jquery/dist/jquery.min',
        jqueryui: 'components/jquery-ui/jquery-ui.min',
        bootstrap: 'ext_components/bootstrap/dist/js/bootstrap.min',

        narrativeConfig: 'kbase/js/narrativeConfig',
        narrativeMain: 'narrativeMain',
        narrativeTreeMain: 'narrativeTreeMain',
        narrativeLogin: 'kbase/js/narrativeLogin',
        userMenu: 'kbase/js/userMenu',
        kbaseTabs: 'kbase/js/widgets/kbaseTabs',
        kbaseUploadWidget: 'kbase/js/widgets/kbaseUpload',
        kbasePrompt: 'kbase/js/widgets/kbasePromptNew',
        // Non-AMD, still load with Require
        widgetMaxWidthCorrection: 'kbase/js/widgetMaxWidthCorrection',
        kbapi: 'kbase/js/widgets/kbapi',
        'kbase-client-api': 'kbase/js/api/kbase-client-api',
        'kbaseFeatureValues-client-api': 'kbase/js/api/KBaseFeatureValues',
        'kbase-generic-client-api': 'kbase/js/api/GenericClient',
        'catalog-client-api': 'kbase/js/api/Catalog',

        // Data API dynamic service clients
        'GenomeAnnotationAPI-client-api': 'kbase/js/api/GenomeAnnotationAPIClient',
        'AssemblyAPI-client-api': 'kbase/js/api/AssemblyAPIClient',
        'TaxonAPI-client-api': 'kbase/js/api/TaxonAPIClient',
        'GenomeSearchUtil-client-api': 'kbase/js/api/GenomeSearchUtilClient',
        'SetAPI-client-api': 'kbase/js/api/SetAPIClient',
        'ExpressionUtils-client-api': 'kbase/js/api/ExpressionUtilsClient',
        'Taxonomy-client-api': 'kbase/js/api/TaxonomyAPIClient',
        RestAPIClient: 'kbase/js/api/RestAPIClient',
        StagingServiceClient: 'kbase/js/api/StagingServiceClient',

        'njs-wrapper-client-api': 'kbase/js/api/NarrativeJobServiceWrapper',
        kbaseNarrativeJobStatus: 'kbase/js/widgets/narrative_core/kbaseNarrativeJobStatus',
        kbaseCellToolbarMenu: 'kbase/js/widgets/narrative_core/kbaseCellToolbarMenu',

        /**
         * New Test Runtime and Widget Framework
         */
        runtimeManager: 'kbase/js/widgetApi/runtimeManager',
        messageManager: 'kbase/js/widgetApi/messageManager',
        narrativeDataWidget: 'kbase/js/widgetApi/narrativeDataWidget',
        widgetService2: 'kbase/js/widgetApi/widgetService2',

        common: 'kbase/js/common',
        widgets: 'kbase/js/widgets',
        appWidgets: 'kbase/js/widgets/appWidgets2',

        /***
         * CORE NARRATIVE WIDGETS
         ***/
        kbaseNarrativePrestart: 'kbase/js/kbaseNarrativePrestart',
        kbaseNarrative: 'kbase/js/kbaseNarrative',
        kbaseNarrativeCellMenu: 'kbase/js/widgets/narrative_core/kbaseNarrativeCellMenu',
        kbaseNarrativeControlPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeControlPanel',
        kbaseNarrativeDataPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeDataPanel',
        kbaseNarrativeDataList: 'kbase/js/widgets/narrative_core/kbaseNarrativeDataList',
        kbaseNarrativeSidePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeSidePanel',
        kbaseNarrativeAppPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeAppPanel',
        kbaseNarrativeManagePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeManagePanel',
        kbaseNarrativeOutlinePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeOutlinePanel',
        kbaseNarrativeDownloadPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeDownloadPanel',
        kbaseNarrativeSharePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeSharePanel',
        kbaseNarrativeExampleDataTab:
            'kbase/js/widgets/narrative_core/kbaseNarrativeExampleDataTab',
        kbaseNarrativeStagingDataTab:
            'kbase/js/widgets/narrative_core/kbaseNarrativeStagingDataTab',
        kbaseNarrativeSideImportTab: 'kbase/js/widgets/narrative_core/kbaseNarrativeSideImportTab',
        kbaseNarrativeSidePublicTab: 'kbase/js/widgets/narrative_core/kbaseNarrativeSidePublicTab',
        kbaseNarrativeCell: 'kbase/js/widgets/narrative_core/kbaseNarrativeCell',
        kbaseNarrativeDataCell: 'kbase/js/widgets/narrative_core/kbaseNarrativeDataCell',
        kbaseNarrativeOutputCell: 'kbase/js/widgets/narrative_core/kbaseNarrativeOutputCell',
        kbaseDataCard: 'kbase/js/widgets/narrative_core/kbaseDataCard',
        kbaseAppCard: 'kbase/js/widgets/narrative_core/kbaseAppCard',
        kbaseCardLayout: 'kbase/js/widgets/narrative_core/kbaseCardLayout',

        kbaseNarrativeInput: 'kbase/js/widgets/function_input/kbaseNarrativeInput',
        kbaseNarrativeMethodInput: 'kbase/js/widgets/function_input/kbaseNarrativeMethodInput',
        kbaseNarrativeParameterInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterInput',
        kbaseNarrativeParameterTextInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterTextInput',
        kbaseNarrativeParameterDropdownInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterDropdownInput',
        kbaseNarrativeParameterCheckboxInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterCheckboxInput',
        kbaseNarrativeParameterTextareaInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterTextareaInput',
        kbaseNarrativeParameterFileInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterFileInput',
        kbaseNarrativeParameterTextSubdataInput:<commit_msg>update narrative paths, remove old import<commit_after>require.config({
    // not in here, since it's configured elsewhere, but this
    // is expected to be relative to /static/ on the server.
    // Jupyter does some magic where it merges its /static/ directory
    // with this one (kbase-profile/static)
    paths: {
        fileSaver: 'ext_components/file-saver/dist/FileSaver.min',
        bluebird: 'ext_components/bluebird/js/browser/bluebird.min',
        'bootstrap-slider': 'ext_components/bootstrap-slider/dist/bootstrap-slider',
        'bootstrap-slider-css': 'ext_components/bootstrap-slider/dist/css/bootstrap-slider',
        'datatables.net': 'ext_components/datatables.net/js/jquery.dataTables.min',
        'datatables.net-bs': 'ext_components/datatables.net-bs/js/dataTables.bootstrap',
        'datatables.net-buttons': 'ext_components/datatables.net-buttons/js/dataTables.buttons.min',
        'datatables.net-buttons-bs':
            'ext_components/datatables.net-buttons-bs/js/buttons.bootstrap.min',
        'datatables.net-buttons-html5':
            'ext_components/datatables.net-buttons/js/buttons.html5.min',
        'datatables.net-buttons-colvis':
            'ext_components/datatables.net-buttons/js/buttons.colVis.min',
        'datatables.net-buttons-print':
            'ext_components/datatables.net-buttons/js/buttons.print.min',
        bloodhound: 'ext_components/corejs-typeahead/dist/bloodhound.min',
        d3: 'ext_components/d3/d3.min',
        md5: 'ext_components/spark-md5/spark-md5',
        domReady: 'ext_components/requirejs-domready/domReady',
        dropzone: 'ext_components/dropzone/dist/dropzone-amd-module',
        handlebars: 'ext_components/handlebars/dist/handlebars.amd.min',
        json: 'ext_components/requirejs-plugins/src/json',
        'jquery-nearest': 'ext_components/jquery-nearest/src/jquery.nearest.min',
        plotly: 'ext_components/plotly.js-dist-min/plotly.min',
        kb_common: 'ext_components/kbase-common-js/dist/kb_common/',
        kb_service: 'ext_components/kbase-service-clients-js/dist/kb_service/',
        kb_sdk_clients: 'ext_components/kbase-sdk-clients-js/dist/amd/kb_sdk_clients/',
        numeral: 'ext_components/numeral/numeral',
        text: 'ext_components/requirejs-plugins/lib/text',
        tipsy: 'ext_components/jquery.tipsy/src/jquery.tipsy',
        typeahead: 'ext_components/corejs-typeahead/dist/typeahead.jquery.min',
        underscore: 'ext_components/underscore/underscore-min',
        select2: 'ext_components/select2/dist/js/select2.full.min',
        uuid: 'ext_components/pure-uuid/uuid',
        'font-awesome': 'ext_components/font-awesome/css/font-awesome.min',
        yaml: 'ext_components/require-yaml/yaml',
        'js-yaml': 'ext_components/js-yaml/dist/js-yaml',

        colorbrewer: 'ext_packages/colorbrewer/colorbrewer.min',
        // copied from the cdn
        'google-code-prettify': 'ext_packages/google-code-prettify/1.2.0/',
        'jquery-svg': 'ext_packages/jquery-extensions/js/jquery.svg',
        knhx: 'ext_packages/knhxtree/js/knhx',
        knhx_menu: 'ext_packages/knhxtree/js/menu',
        knhx_excanvas: 'ext_packages/knhxtree/js/excanvas',
        knhx_canvastext: 'ext_packages/knhxtree/js/canvastext',
        knhx_easytree: 'ext_packages/knhxtree/js/easytree',

        narrativeTour: 'kbase/js/tour',
        kbaseInputTest: 'kbase/js/widgets/function_input/kbaseInputTest',
        api: 'kbase/js/api',
        util: 'kbase/js/util',
        jsonrpc: 'kbase/js/jsonrpc',
        config: 'kbase/config',
        styles: 'kbase/css',
        narrative_core: 'kbase/js/widgets/narrative_core',
        configPath: 'kbase',
        narrativeViewers: 'kbase/js/widgets/narrative_core/narrativeViewers',
        jquery: 'ext_components/jquery/dist/jquery.min',
        jqueryui: 'components/jquery-ui/jquery-ui.min',
        bootstrap: 'ext_components/bootstrap/dist/js/bootstrap.min',

        narrativeConfig: 'kbase/js/narrativeConfig',
        narrativeMain: 'narrativeMain',
        narrativeTreeMain: 'narrativeTreeMain',
        narrativeLogin: 'kbase/js/narrativeLogin',
        userMenu: 'kbase/js/userMenu',
        kbaseTabs: 'kbase/js/widgets/kbaseTabs',
        kbaseUploadWidget: 'kbase/js/widgets/kbaseUpload',
        kbasePrompt: 'kbase/js/widgets/kbasePromptNew',
        // Non-AMD, still load with Require
        widgetMaxWidthCorrection: 'kbase/js/widgetMaxWidthCorrection',
        kbapi: 'kbase/js/widgets/kbapi',
        'kbase-client-api': 'kbase/js/api/kbase-client-api',
        'kbaseFeatureValues-client-api': 'kbase/js/api/KBaseFeatureValues',
        'kbase-generic-client-api': 'kbase/js/api/GenericClient',
        'catalog-client-api': 'kbase/js/api/Catalog',

        // Data API dynamic service clients
        'GenomeAnnotationAPI-client-api': 'kbase/js/api/GenomeAnnotationAPIClient',
        'AssemblyAPI-client-api': 'kbase/js/api/AssemblyAPIClient',
        'TaxonAPI-client-api': 'kbase/js/api/TaxonAPIClient',
        'GenomeSearchUtil-client-api': 'kbase/js/api/GenomeSearchUtilClient',
        'SetAPI-client-api': 'kbase/js/api/SetAPIClient',
        'ExpressionUtils-client-api': 'kbase/js/api/ExpressionUtilsClient',
        'Taxonomy-client-api': 'kbase/js/api/TaxonomyAPIClient',
        RestAPIClient: 'kbase/js/api/RestAPIClient',
        StagingServiceClient: 'kbase/js/api/StagingServiceClient',

        'njs-wrapper-client-api': 'kbase/js/api/NarrativeJobServiceWrapper',
        kbaseNarrativeJobStatus: 'kbase/js/widgets/narrative_core/kbaseNarrativeJobStatus',
        kbaseCellToolbarMenu: 'kbase/js/widgets/narrative_core/kbaseCellToolbarMenu',

        /**
         * New Test Runtime and Widget Framework
         */
        runtimeManager: 'kbase/js/widgetApi/runtimeManager',
        messageManager: 'kbase/js/widgetApi/messageManager',
        narrativeDataWidget: 'kbase/js/widgetApi/narrativeDataWidget',
        widgetService2: 'kbase/js/widgetApi/widgetService2',

        common: 'kbase/js/common',
        widgets: 'kbase/js/widgets',
        appWidgets: 'kbase/js/widgets/appWidgets2',

        /***
         * CORE NARRATIVE WIDGETS
         ***/
        kbaseNarrativePrestart: 'kbase/js/kbaseNarrativePrestart',
        kbaseNarrative: 'kbase/js/kbaseNarrative',
        kbaseNarrativeCellMenu: 'kbase/js/widgets/narrative_core/kbaseNarrativeCellMenu',
        kbaseNarrativeControlPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeControlPanel',
        kbaseNarrativeDataPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeDataPanel',
        kbaseNarrativeDataList: 'kbase/js/widgets/narrative_core/kbaseNarrativeDataList',
        kbaseNarrativeSidePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeSidePanel',
        kbaseNarrativeAppPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeAppPanel',
        kbaseNarrativeManagePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeManagePanel',
        kbaseNarrativeOutlinePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeOutlinePanel',
        kbaseNarrativeDownloadPanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeDownloadPanel',
        kbaseNarrativeSharePanel: 'kbase/js/widgets/narrative_core/kbaseNarrativeSharePanel',
        kbaseNarrativeExampleDataTab:
            'kbase/js/widgets/narrative_core/kbaseNarrativeExampleDataTab',
        kbaseNarrativeStagingDataTab:
            'kbase/js/widgets/narrative_core/kbaseNarrativeStagingDataTab',
        kbaseNarrativeSidePublicTab: 'kbase/js/widgets/narrative_core/kbaseNarrativeSidePublicTab',
        kbaseNarrativeCell: 'kbase/js/widgets/narrative_core/kbaseNarrativeCell',
        kbaseNarrativeDataCell: 'kbase/js/widgets/narrative_core/kbaseNarrativeDataCell',
        kbaseNarrativeOutputCell: 'kbase/js/widgets/narrative_core/kbaseNarrativeOutputCell',
        kbaseDataCard: 'kbase/js/widgets/narrative_core/kbaseDataCard',
        kbaseAppCard: 'kbase/js/widgets/narrative_core/kbaseAppCard',
        kbaseCardLayout: 'kbase/js/widgets/narrative_core/kbaseCardLayout',

        kbaseNarrativeInput: 'kbase/js/widgets/function_input/kbaseNarrativeInput',
        kbaseNarrativeMethodInput: 'kbase/js/widgets/function_input/kbaseNarrativeMethodInput',
        kbaseNarrativeParameterInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterInput',
        kbaseNarrativeParameterTextInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterTextInput',
        kbaseNarrativeParameterDropdownInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterDropdownInput',
        kbaseNarrativeParameterCheckboxInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterCheckboxInput',
        kbaseNarrativeParameterTextareaInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterTextareaInput',
        kbaseNarrativeParameterFileInput:
            'kbase/js/widgets/function_input/parameter_input/kbaseNarrativeParameterFileInput',
        kbaseNarrativeParameterTextSubdataInput:
{'fraction_non_alphanumeric': 0.11702127659574468, 'fraction_numerical': 0.0018548827059465358, 'mean_word_length': 3.523938795656466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4657117', 'n_tokens_mistral': 6154, 'n_tokens_neox': 6076, 'n_words': 588}