<commit_before><?php

namespace Milax\Mconsole\Providers;

use Illuminate\Support\ServiceProvider;

class MenuServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
    
    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        app('API')->menu->push([
            'name' => 'mconsole::uploads.menu.name',
            'url' => 'uploads',
            'visible' => true,
            'enabled' => true,
        ], 'uploads', 'tools.files');
        
        app('API')->menu->push([
            'name' => 'mconsole::presets.menu.name',
            'url' => 'presets',
            'visible' => true,
            'enabled' => true,
        ], 'presets', 'tools.files');
        
        app('API')->menu->push([
            'name' => 'mconsole::tags.menu.name',
            'url' => 'tags',
            'visible' => true,
            'enabled' => true,
        ], 'tags', 'tools');
        
        app('API')->menu->push([
            'name' => 'mconsole::variables.menu.name',
            'url' => 'variables',
            'visible' => true,
            'enabled' => true,
        ], 'variables', 'tools');
        
        app('API')->menu->push([
            'name' => 'mconsole::menus.menu.name',
            'url' => 'menus',
            'visible' => true,
            'enabled' => true,
        ], 'presets', 'tools');
        <commit_msg>Remove 3 level menu<commit_after><?php

namespace Milax\Mconsole\Providers;

use Illuminate\Support\ServiceProvider;

class MenuServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
    
    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        app('API')->menu->push([
            'name' => 'mconsole::uploads.menu.name',
            'url' => 'uploads',
            'visible' => true,
            'enabled' => true,
        ], 'uploads', 'tools');
        
        app('API')->menu->push([
            'name' => 'mconsole::presets.menu.name',
            'url' => 'presets',
            'visible' => true,
            'enabled' => true,
        ], 'presets', 'tools');
        
        app('API')->menu->push([
            'name' => 'mconsole::tags.menu.name',
            'url' => 'tags',
            'visible' => true,
            'enabled' => true,
        ], 'tags', 'tools');
        
        app('API')->menu->push([
            'name' => 'mconsole::variables.menu.name',
            'url' => 'variables',
            'visible' => true,
            'enabled' => true,
        ], 'variables', 'tools');
        
{'fraction_non_alphanumeric': 0.17870990482904475, 'fraction_numerical': 0.00035248501938667606, 'mean_word_length': 1.540734109221128, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5446207', 'n_tokens_mistral': 812, 'n_tokens_neox': 808, 'n_words': 156}