Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/web/modules/contrib/visitors/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor1/web/modules/contrib/visitors/visitors.install

<?php

/**
 * @file
 * Install/uninstall visitors module.
 */

use DeviceDetector\Parser\Client\Browser;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Url;
use Drupal\Core\Utility\Error;
use Drupal\block\Entity\Block;

/**
 * Implements hook_install().
 */
function visitors_install() {
  if (\Drupal::moduleHandler()->moduleExists('statistics')) {
    $settings = \Drupal::service('config.factory')->getEditable('visitors.config');
    $settings->set('counter.enabled', FALSE)
      ->save();

    \Drupal::messenger()->addWarning(t(
      'The Statistics module is installed. <a href="@url">Convert the Statistics node views</a> to Visitors page views.',
      ['@url' => Url::fromRoute('visitors.statistics_migrate')->toString()]
    ));
  }
}

/**
 * Implements hook_schema().
 */
function visitors_schema() {
  $schema['visitors'] = [
    'fields' => [
      'visitors_id' => [
        'type' => 'serial',
        'not null' => TRUE,
      ],
      'visitor_id' => [
        'type' => 'varchar',
        'length' => 32,
        'not null' => FALSE,
        'default' => NULL,
      ],
      'visitors_uid' => [
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ],
      'visitors_ip' => [
        'type' => 'varchar',
        'length' => 45,
        'not null' => TRUE,
        'default' => '',
      ],
      'server' => [
        'description' => 'The server that generated the response',
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
        'default' => NULL,
      ],
      'visitors_date_time' => [
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ],
      'visitor_localtime' => [
        'type' => 'int',
        'size' => 'medium',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'visitors_url' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'visitors_referer' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'visitors_path' => [
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ],
      'visitors_title' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'visitors_user_agent' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'route' => [
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ],
      'config_resolution' => [
        'type' => 'varchar',
        'length' => 18,
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_pdf' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_flash' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_java' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_quicktime' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_realplayer' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_windowsmedia' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_silverlight' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_cookie' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_browser_engine' => [
        'type' => 'varchar',
        'length' => '10',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_browser_name' => [
        'type' => 'varchar',
        'length' => '2',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_browser_version' => [
        'type' => 'varchar',
        'length' => '20',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_client_type' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_device_brand' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_device_model' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_device_type' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_os' => [
        'type' => 'varchar',
        'length' => '3',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_os_version' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'bot' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'language' => [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ],
      'location_continent' => [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ],
      'location_country' => [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ],
      'pf_network' => [
        'description' => 'Network performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_server' => [
        'description' => 'Server performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_transfer' => [
        'description' => 'Transfer performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_dom_processing' => [
        'description' => 'DOM processing performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_dom_complete' => [
        'description' => 'DOM complete performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_on_load' => [
        'description' => 'On load performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_total' => [
        'description' => 'Total performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
    ],
    'primary key' => ['visitors_id'],
    'indexes' => [
      'visitors_uid' => ['visitors_uid'],
      'visitors_ip' => ['visitors_ip'],
      'visitor_id' => ['visitor_id'],
      'visitors_date_time' => ['visitors_date_time'],
      'bot' => ['bot'],
    ],
  ];

  $schema['visitors_counter'] = [
    'fields' => [
      'entity_id' => [
        'description' => 'The entity id for these visits.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ],
      'entity_type' => [
        'type' => 'varchar_ascii',
        'not null' => TRUE,
        'default' => 'node',
        'length' => EntityTypeInterface::ID_MAX_LENGTH,
        'description' => 'The entity_type of the entity for these visits.',
      ],
      'total' => [
        'description' => 'The total number of times the entity has been viewed.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
        'size' => 'big',
      ],
      'today' => [
        'description' => 'The total number of times the entity has been viewed today.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
        'size' => 'medium',
      ],
      'timestamp' => [
        'description' => 'The most recent time the entity has been viewed.',
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ],
    ],
    'primary key' => ['entity_type', 'entity_id'],
  ];

  return $schema;
}

/**
 * Implements hook_requirements().
 */
function visitors_requirements($phase) {
  $requirements = [];
  if ($phase == 'runtime') {
    $requirements['visitors']['title'] = t('Visitors');
    $requirements['visitors']['severity'] = REQUIREMENT_OK;
    $requirements['visitors']['value'] = t('Enabled');
    $requirements['visitors']['description'] = ['#markup' => ''];
    $rebuild_ip_address = \Drupal::state()
      ->get('visitors.rebuild.ip_address', FALSE);
    if ($rebuild_ip_address) {
      $requirements['visitors']['severity'] = REQUIREMENT_WARNING;
      $url_ip_form = Url::fromUri('internal:/admin/config/system/visitors/rebuild-ip-address', [
        'query' => [
          'destination' => Url::fromUri('internal:/admin/reports/status')->toString(),
        ],
      ]);
      $requirements['visitors']['description']['#markup'] .= t('IP addresses need to be <a href="@rebuild-form">converted</a> to the new format, that support IPv6.', [
        '@rebuild-form' => $url_ip_form->toString(),
      ]);
    }

    $rebuild_route = \Drupal::state()
      ->get('visitors.rebuild.route', FALSE);
    if ($rebuild_route) {
      $requirements['visitors']['severity'] = REQUIREMENT_WARNING;
      $url_route_form = Url::fromUri('internal:/admin/config/system/visitors/rebuild-route', [
        'query' => [
          'destination' => Url::fromUri('internal:/admin/reports/status')->toString(),
        ],
      ]);
      if ($rebuild_ip_address) {
        $requirements['visitors']['description']['#markup'] .= '<br/>';
      }
      $requirements['visitors']['description']['#markup'] .= t('Some routes are missing from the visitors log, <a href="@rebuild-form">add missing routes</a>.', [
        '@rebuild-form' => $url_route_form->toString(),
      ]);
    }
    $schema = \Drupal::database()->schema();
    $performance_exists = $schema->tableExists('visitors_performance');
    if ($performance_exists) {
      $requirements['visitors']['severity'] = REQUIREMENT_WARNING;
      $url_performance = Url::fromUri('internal:/admin/config/system/visitors/performance', [
        'query' => [
          'destination' => Url::fromUri('internal:/admin/reports/status')->toString(),
        ],
      ]);
      $requirements['visitors']['description']['#markup'] .= '<br/>';
      $requirements['visitors']['description']['#markup'] .= t('Performance data needs to be <a href="@performance-form">migrated</a> to the visitors table.', [
        '@performance-form' => $url_performance->toString(),
      ]);
    }

    $properties = $rebuild_ip_address + $rebuild_route;
    if ($properties) {
      $requirements['visitors']['value'] = \Drupal::translation()->formatPlural(
        $properties,
        '@count property needs rebuilding',
        '@count properties need rebuilding'
      );
    }

  }
  return $requirements;
}

/**
 * Exclude users from statistics by role.
 */
function visitors_update_8210() {

  $config = \Drupal::service('config.factory')->getEditable('visitors.config');
  $roles = [];
  if ($config->get('exclude_administer_users')) {
    $roles['administer'] = 'administer';
  }
  $config->set('excluded_roles', $roles);
  $config->set('exclude_user1', FALSE);
  $config->clear('exclude_administer_users');

  $config->save();
}

/**
 * Adds default block settings.
 */
function visitors_update_8212() {

  $config = \Drupal::service('config.factory')->getEditable('visitors.config');
  $ids = \Drupal::entityQuery('block')
    ->condition('plugin', 'visitors_block')
    ->accessCheck(FALSE)
    ->execute();

  foreach ($ids as $bid) {
    $save = FALSE;
    $block = Block::load($bid);
    $settings = $block->get('settings') ?? [];

    if (!array_key_exists('show_last_registered_user', $settings)) {
      $settings['show_last_registered_user'] = $config->get('show_last_registered_user');
      $save = TRUE;
    }
    if (!array_key_exists('show_published_nodes', $settings)) {
      $settings['show_published_nodes'] = $config->get('show_published_nodes');
      $save = TRUE;
    }
    if (!array_key_exists('show_registered_users_count', $settings)) {
      $settings['show_registered_users_count'] = $config->get('show_registered_users_count');
      $save = TRUE;
    }
    if (!array_key_exists('show_since_date', $settings)) {
      $settings['show_since_date'] = $config->get('show_since_date');
      $save = TRUE;
    }
    if (!array_key_exists('show_total_visitors', $settings)) {
      $settings['show_total_visitors'] = $config->get('show_total_visitors');
      $save = TRUE;
    }
    if (!array_key_exists('show_unique_visitor', $settings)) {
      $settings['show_unique_visitor'] = $config->get('show_unique_visitor');
      $save = TRUE;
    }
    if (!array_key_exists('show_user_ip', $settings)) {
      $settings['show_user_ip'] = $config->get('show_user_ip');
      $save = TRUE;
    }

    if ($save) {
      $block->set('settings', $settings);
      $block->save();
    }
  }
}

/**
 * Support IPv6.
 */
function visitors_update_8214(&$sandbox) {
  drupal_flush_all_caches();
  /** @var \Drupal\Core\Database\Connection $database */
  $database = \Drupal::database();

  try {
    $database->schema()
      ->changeField('visitors', 'visitors_ip', 'visitors_ip', [
        'type' => 'varchar',
        'length' => 45,
        'not null' => TRUE,
        'default' => '',
      ]);
    \Drupal::state()->set('visitors.rebuild.ip_address', TRUE);
  }
  catch (\Exception $e) {
    Error::logException(\Drupal::logger('visitors'), $e);
  }
}

/**
 * Uses ajax for tracking.
 */
function visitors_update_8215(&$sandbox) {

  if (!isset($sandbox['progress'])) {
    $sandbox['max'] = 10;
    // Clear all caches.
    drupal_flush_all_caches();

    // Update visitors.config.
    $settings = \Drupal::service('config.factory')->getEditable('visitors.config');
    $config = \Drupal::config('visitors.config');

    $settings->set('visibility.user_role_mode', 1);
    if (count($config->get('excluded_roles'))) {
      $settings->set('visibility.user_role_roles', $config->get('excluded_roles'));
    }

    if ($config->get('exclude_user1')) {
      $settings->set('visibility.exclude_user1', TRUE);
    }

    $settings->clear('exclude_user1');
    $settings->clear('excluded_pages');
    $settings->clear('excluded_roles');
    $settings->clear('negate_pages');

    $settings->set('visibility.request_path_mode', 0);
    $settings->set('visibility.request_path_pages', "/admin\n/admin/*\n/batch\n/node/add*\n/node/*/*\n/user/*/*");
    $settings->set('visibility.user_account_mode', 0);
    $settings->set('track.userid', TRUE);
    $settings->set('domain_mode', 0);
    $settings->set('codesnippet.before', '');
    $settings->set('codesnippet.after', '');

    $settings->set('disable_tracking', FALSE);
    $settings->set('status_codes_disabled', []);

    $settings->save();
    $sandbox['progress'] = 0;
  }

  // Delete invalid visits.
  /** @var \Drupal\Core\Database\Connection $database */
  $database = \Drupal::database();
  if ($sandbox['progress'] == 1) {
    // Deletes cron visits.
    $database->delete('visitors')
      ->condition('visitors_url', 'http://default/')
      ->execute();
  }

  if ($sandbox['progress'] == 2) {
    // Delete batch job visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/batch')
      ->execute();
  }

  if ($sandbox['progress'] == 3) {
    // Deletes ajax visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/history/get_node_read_timestamps')
      ->execute();
  }

  if ($sandbox['progress'] == 4) {
    // Deletes ajax history visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/history/%/read', 'LIKE')
      ->execute();
  }

  if ($sandbox['progress'] == 5) {
    // Delete uploaded image visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/ckeditor5/upload-image/%', 'LIKE')
      ->execute();
  }

  if ($sandbox['progress'] == 6) {
    // Delete jsnlog entries.
    $database->delete('visitors')
      ->condition('visitors_path', '/jsnlog/log%', 'LIKE')
      ->execute();
  }

  if ($sandbox['progress'] == 7) {
    $database->delete('visitors')
      ->condition('visitors_url', '%/jsnlog.logger', 'LIKE')
      ->condition('visitors_path', '/',)
      ->execute();
  }

  if ($sandbox['progress'] == 8) {
    // Deletes tagify visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/tagify_autocomplete/%', 'LIKE')
      ->execute();
  }

  if ($sandbox['progress'] == 9) {
    // Deletes entity reference id visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/entity_reference_autocomplete_id/%/%/%', 'LIKE')
      ->execute();
  }

  if ($sandbox['progress'] == 10) {
    // Deletes entity reference visits.
    $database->delete('visitors')
      ->condition('visitors_path', '/entity_reference_autocomplete/%/%/%', 'LIKE')
      ->execute();
  }

  $sandbox['progress'] += 1;
  $sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max'];
}

/**
 * Entity View counter.
 */
function visitors_update_8216(&$sandbox) {
  /** @var \Drupal\Core\Database\Connection $database */
  $database = \Drupal::database();
  $time = \Drupal::time();
  $logger = \Drupal::logger('visitors');
  $sandbox['#finished'] = 0;
  if (!isset($sandbox['progress'])) {
    drupal_flush_all_caches();
    $sandbox['progress'] = -15;
    \Drupal::service('config.factory')
      ->getEditable('visitors.config')
      ->set('counter.enabled', 1)
      ->set('counter.entity_types', ['node' => 'node'])
      ->set('counter.display_max_age', 3600)
      ->save();
  }
  elseif ($sandbox['progress'] == -15) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'route',
        [
          'type' => 'varchar',
          'length' => 255,
          'not null' => TRUE,
          'default' => '',
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    \Drupal::state()->set('visitors.rebuild.route', TRUE);
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -14) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_resolution',
        [
          'type' => 'varchar',
          'length' => 18,
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -13) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_pdf',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -12) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_flash',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -11) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_java',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -10) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_quicktime',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -9) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_realplayer',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -8) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_windowsmedia',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -7) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_silverlight',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -6) {
    $schema = $database->schema();
    try {
      $schema->addField(
        'visitors',
        'config_cookie',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }

  elseif ($sandbox['progress'] == -5) {
    $schema = $database->schema();
    $table_name = 'visitors_counter';
    $table_schema = [
      'fields' => [
        'entity_id' => [
          'description' => 'The entity id for these visits.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
          'default' => 0,
        ],
        'entity_type' => [
          'type' => 'varchar_ascii',
          'not null' => TRUE,
          'default' => 'node',
          'length' => EntityTypeInterface::ID_MAX_LENGTH,
          'description' => 'The entity_type of the entity for these visits.',
        ],
        'total' => [
          'description' => 'The total number of times the entity has been viewed.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
          'default' => 0,
          'size' => 'big',
        ],
        'today' => [
          'description' => 'The total number of times the entity has been viewed today.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
          'default' => 0,
          'size' => 'medium',
        ],
        'timestamp' => [
          'description' => 'The most recent time the entity has been viewed.',
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
          'default' => 0,
        ],
      ],
      'primary key' => ['entity_type', 'entity_id'],
    ];
    try {
      $schema->createTable($table_name, $table_schema);
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -4) {
    // Wait to ensure the route column is there. This is a hack.
    sleep(10);
    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -3) {
    $database->update('visitors')
      ->fields([
        'route' => 'entity.node.canonical',
      ])
      ->condition('visitors_path', '/node/%', 'LIKE')
      ->condition('visitors_path', '/node/%/%', 'NOT LIKE')
      ->condition('visitors_path', '/node/add', '<>')
      ->execute();

    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -2) {
    $database->update('visitors')
      ->fields([
        'route' => 'entity.node.preview',
      ])
      ->condition('visitors_path', '/node/preview/%/%', 'LIKE')
      ->execute();

    $sandbox['progress'] += 1;
  }
  elseif ($sandbox['progress'] == -1) {
    $query = $database->select('visitors', 'v')
      ->fields('v', ['visitors_path'])
      ->condition('route', 'entity.node.canonical')
      ->groupBy('visitors_path');
    $query->addExpression('COUNT(visitors_path)', 'count');
    $query->addExpression('MAX(visitors_date_time)', 'timestamp');
    $sandbox['paths'] = $query->execute()->fetchAll();

    $sandbox['max'] = count($sandbox['paths']);
    $sandbox['progress'] += 1;
  }
  else {
    $execution_time = 0;
    $node_storage = \Drupal::entityTypeManager()->getStorage('node');
    do {
      $record = array_pop($sandbox['paths']);
      $sandbox['progress'] += 1;

      if (empty($record)) {
        $logger->error(var_export($record, TRUE));
        $execution_time = $time->getCurrentTime() - $time->getRequestTime();
        if ($execution_time > 30) {
          $sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max'];
          break;
        }
        continue;
      }
      $path = $record->visitors_path;
      [$type, $id] = array_slice(explode('/', $path), 1);
      if (is_null($id)) {
        \Drupal::logger('visitors')->error('Invalid path: @path', [
          '@path' => $path,
        ]);
        continue;
      }
      if (!$node_storage->load($id)) {
        continue;
      }
      $count = $record->count;
      $timestamp = $record->timestamp;
      $database
        ->merge('visitors_counter')
        ->key('entity_type', $type)
        ->key('entity_id', $id)
        ->fields([
          'today' => 0,
          'total' => $count,
          'timestamp' => $timestamp,
        ])
        ->expression('today', '[today]')
        ->expression('total', "[total] + $count")
        ->execute();

      $execution_time = $time->getCurrentTime() - $time->getRequestTime();

    } while ($execution_time < 30);

    $sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max'];
    if (empty($sandbox['paths'])) {
      $sandbox['#finished'] = 1;
    }
  }

}

/**
 * Tracks unique visitor_id, and adds visitors table indexes, performance.
 */
function visitors_update_8217(&$sandbox) {
  if (!isset($sandbox['progress'])) {
    $sandbox['progress'] = 0;
    $sandbox['max'] = 5;

    drupal_flush_all_caches();
    $settings = \Drupal::service('config.factory')
      ->getEditable('visitors.config');
    $flush_log_timer = $settings->get('flush_log_timer');
    $settings->set('bot_retention_log', $flush_log_timer);
    $settings->set('performance', FALSE);
    $settings->clear('show_last_registered_user');
    $settings->clear('show_published_nodes');
    $settings->clear('show_registered_users_count');
    $settings->clear('show_since_date');
    $settings->clear('show_total_visitors');
    $settings->clear('show_unique_visitor');
    $settings->clear('show_user_ip');
    $settings->clear('start_count_total_visitors');

    $settings->save();
  }

  $schema = [
    'fields' => [
      'visitors_id' => [
        'type' => 'serial',
        'not null' => TRUE,
      ],
      'visitor_id' => [
        'type' => 'varchar',
        'length' => 32,
        'not null' => FALSE,
        'default' => NULL,
      ],
      'visitors_uid' => [
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ],
      'visitors_ip' => [
        'type' => 'varchar',
        'length' => 45,
        'not null' => TRUE,
        'default' => '',
      ],
      'visitors_date_time' => [
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ],
      'visitor_localtime' => [
        'type' => 'int',
        'size' => 'medium',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'visitors_url' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'visitors_referer' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'visitors_path' => [
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ],
      'visitors_title' => [
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ],
      'visitors_user_agent' => [
        'type' => 'text',
        'not null' => TRUE,
      ],
      'route' => [
        'type' => 'varchar',
        'length' => 255,
        'not null' => TRUE,
        'default' => '',
      ],
      'config_resolution' => [
        'type' => 'varchar',
        'length' => 18,
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_pdf' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_flash' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_java' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_quicktime' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_realplayer' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_windowsmedia' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_silverlight' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_cookie' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_browser_engine' => [
        'type' => 'varchar',
        'length' => '10',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_browser_name' => [
        'type' => 'varchar',
        'length' => '40',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_browser_version' => [
        'type' => 'varchar',
        'length' => '20',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_client_type' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_device_brand' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_device_model' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_device_type' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_os' => [
        'type' => 'varchar',
        'length' => '3',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'config_os_version' => [
        'type' => 'varchar',
        'length' => '100',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'bot' => [
        'type' => 'int',
        'size' => 'tiny',
        'not null' => FALSE,
        'default' => NULL,
      ],
    ],
    'primary key' => ['visitors_id'],
    'indexes' => [
      'visitors_uid' => ['visitors_uid'],
      'visitors_ip' => ['visitors_ip'],
      'visitor_id' => ['visitor_id'],
      'visitors_date_time' => ['visitors_date_time'],
      'bot' => ['bot'],
    ],
  ];
  /** @var \Drupal\Core\Database\Connection $database */
  $database = \Drupal::database();
  $logger = \Drupal::logger('visitors');
  if ($sandbox['progress'] == 1) {
    try {
      $database->schema()->addField(
        'visitors',
        'visitor_localtime',
        [
          'type' => 'int',
          'size' => 'medium',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()
        ->addField('visitors', 'visitor_id', [
          'type' => 'varchar',
          'length' => 32,
          'not null' => FALSE,
          'default' => NULL,
        ]);
      $database->schema()
        ->addIndex('visitors', 'visitor_id', ['visitor_id'], $schema);
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
  }
  elseif ($sandbox['progress'] == 2) {
    try {
      $database->schema()
        ->addIndex('visitors', 'visitors_uid', ['visitors_uid'], $schema);

      $database->schema()
        ->addIndex('visitors', 'visitors_ip', ['visitors_ip'], $schema);

      $database->schema()
        ->addIndex('visitors', 'visitors_date_time', ['visitors_date_time'], $schema);
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
  }
  elseif ($sandbox['progress'] == 3) {
    try {
      $database->schema()->addField(
        'visitors',
        'config_browser_engine',
        [
          'type' => 'varchar',
          'length' => '10',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_browser_name',
        [
          'type' => 'varchar',
          'length' => '40',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_browser_version',
        [
          'type' => 'varchar',
          'length' => '20',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      // @todo need to check length
      $database->schema()->addField(
        'visitors',
        'config_client_type',
        [
          'type' => 'varchar',
          'length' => '100',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_device_brand',
        [
          'type' => 'varchar',
          'length' => '100',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_device_model',
        [
          'type' => 'varchar',
          'length' => '100',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_device_type',
        [
          'type' => 'varchar',
          'length' => '100',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_os',
        [
          'type' => 'varchar',
          'length' => '3',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'config_os_version',
        [
          'type' => 'varchar',
          'length' => '100',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );

      $database->schema()->addField(
        'visitors',
        'bot',
        [
          'type' => 'int',
          'size' => 'tiny',
          'not null' => FALSE,
          'default' => NULL,
        ]
      );
      $database->schema()
        ->addIndex('visitors', 'bot', ['bot'], $schema);

      \Drupal::state()->set('visitors.rebuild.device', TRUE);
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
  }
  elseif ($sandbox['progress'] == 4) {

    $schema = $database->schema();
    $table_name = 'visitors_performance';
    $table_schema = [
      'fields' => [
        'id' => [
          'type' => 'serial',
          'not null' => TRUE,
        ],
        'visitors_id' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'network' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'server' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'transfer' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'dom_processing' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'dom_complete' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'on_load' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
        'total' => [
          'type' => 'int',
          'not null' => TRUE,
        ],
      ],
      'primary key' => ['id'],
      'indexes' => [
        'visitors_id' => ['visitors_id'],
      ],
    ];

    try {
      $schema->createTable($table_name, $table_schema);
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
  }

  $sandbox['progress'] += 1;
  $sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max'];
}

/**
 * Adds more visitor reports.
 */
function visitors_update_8218(&$sandbox) {

  if (!isset($sandbox['progress'])) {
    $sandbox['progress'] = 0;

    /** @var \Drupal\Core\Database\Connection $database */
    $database = \Drupal::database();
    $query = $database->select('visitors', 'v')
      ->fields('v', ['config_browser_name'])
      ->distinct();
    $result = $query->execute();
    $sandbox['browser'] = $result->fetchAll();
    $sandbox['max'] = count($sandbox['browser']);

    \Drupal::configFactory()->getEditable('visitors.config')
      ->set('script_type', 'minified')
      ->save();
  }
  else {

    $browser = array_pop($sandbox['browser']);
    $browser_name = $browser->config_browser_name ?? '';
    if ($browser_name > 2) {
      $short_name = Browser::getBrowserShortName($browser_name);
      /** @var \Drupal\Core\Database\Connection $database */
      $database = \Drupal::database();
      $query = $database->update('visitors')
        ->fields([
          'config_browser_name' => $short_name,
        ])
        ->condition('config_browser_name', $browser_name);
      $query->execute();
    }

    $sandbox['progress'] += 1;
  }

  $sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max'];

  if ($sandbox['#finished'] == 1) {
    $schema = \Drupal::database()->schema();
    $schema->changeField('visitors', 'config_browser_name', 'config_browser_name', [
      'type' => 'varchar',
      'length' => '2',
      'not null' => FALSE,
      'default' => NULL,
    ]);
  }
}

/**
 * Adds Location reports.
 */
function visitors_update_8220(&$sandbox) {
  $settings = \Drupal::service('config.factory')->getEditable('visitors.config');
  $settings
    ->clear('chart_height')
    ->clear('chart_width')
    ->save();

  $module_handler = \Drupal::service('module_handler');
  if (!$module_handler->moduleExists('charts_chartjs')) {
    $module_installer = \Drupal::service('module_installer');
    $module_installer->install(['charts_chartjs']);
  }

  $schema = \Drupal::database()->schema();
  $table = 'visitors';

  if (!$schema->fieldExists($table, 'language')) {
    $schema->addField(
      'visitors',
      'language',
      [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ]
    );
  }

  if ($schema->fieldExists($table, 'location_continent_code')) {
    $schema->changeField(
      'visitors',
      'location_continent_code',
      'location_continent',
      [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ]
    );
  }
  else {
    $schema->addField(
      'visitors',
      'location_continent',
      [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ]
    );
  }

  if ($schema->fieldExists($table, 'location_country_code')) {
    $schema->changeField(
      'visitors',
      'location_country_code',
      'location_country',
      [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ]
    );
  }
  else {
    $schema->addField(
      'visitors',
      'location_country',
      [
        'type' => 'varchar',
        'length' => 2,
        'not null' => TRUE,
        'default' => '',
      ]
    );
  }

  $visitors_view = [
    'langcode' => 'en',
    'status' => TRUE,
    'dependencies' => [
      'module' => [
        0 => 'charts',
        1 => 'charts_chartjs',
        2 => 'visitors',
      ],
    ],
    'id' => 'visitors',
    'label' => 'Visitors',
    'module' => 'views',
    'description' => 'Visitors web analytics reports.',
    'tag' => '',
    'base_table' => 'visitors',
    'base_field' => '',
    'display' => [
      'default' => [
        'id' => 'default',
        'display_title' => 'Default',
        'display_plugin' => 'default',
        'position' => 0,
        'display_options' => [
          'title' => '',
          'fields' => [
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'mini',
            'options' => [
              'offset' => 0,
              'items_per_page' => 10,
              'total_pages' => NULL,
              'id' => 0,
              'tags' => [
                'next' => '››',
                'previous' => '‹‹',
              ],
              'expose' => [
                'items_per_page' => FALSE,
                'items_per_page_label' => 'Items per page',
                'items_per_page_options' => '5, 10, 25, 50',
                'items_per_page_options_all' => FALSE,
                'items_per_page_options_all_label' => '- All -',
                'offset' => FALSE,
                'offset_label' => 'Offset',
              ],
            ],
          ],
          'exposed_form' => [
            'type' => 'basic',
            'options' => [
              'submit_button' => 'Apply',
              'reset_button' => FALSE,
              'reset_button_label' => 'Reset',
              'exposed_sorts_label' => 'Sort by',
              'expose_sort_order' => TRUE,
              'sort_asc_label' => 'Asc',
              'sort_desc_label' => 'Desc',
            ],
          ],
          'access' => [
            'type' => 'none',
            'options' => [],
          ],
          'cache' => [
            'type' => 'none',
            'options' => [],
          ],
          'empty' => [],
          'sorts' => [
            'visitors_id' => [
              'id' => 'visitors_id',
              'table' => 'visitors',
              'field' => 'visitors_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'order' => 'DESC',
              'expose' => [
                'label' => '',
                'field_identifier' => '',
              ],
              'exposed' => FALSE,
            ],
          ],
          'arguments' => [],
          'filters' => [
            'bot' => [
              'id' => 'bot',
              'table' => 'visitors',
              'field' => 'bot',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'boolean',
              'operator' => '!=',
              'value' => '1',
              'group' => 1,
              'exposed' => FALSE,
              'expose' => [
                'operator_id' => '',
                'label' => '',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => '',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => '',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                ],
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
            'visitors_date_time' => [
              'id' => 'visitors_date_time',
              'table' => 'visitors',
              'field' => 'visitors_date_time',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_date',
              'operator' => 'between',
              'value' => [
                'min' => 'to',
                'max' => 'from',
                'value' => '',
                'type' => 'global',
              ],
              'group' => 1,
              'exposed' => FALSE,
              'expose' => [
                'operator_id' => '',
                'label' => '',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => '',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => '',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                ],
                'min_placeholder' => '',
                'max_placeholder' => '',
                'placeholder' => '',
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
          ],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'route' => 'route',
                'visitor_id' => 'visitor_id',
              ],
              'default' => 'visitor_id',
              'info' => [
                'route' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => '',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'query' => [
            'type' => 'views_query',
            'options' => [
              'query_comment' => '',
              'disable_sql_rewrite' => FALSE,
              'distinct' => FALSE,
              'replica' => FALSE,
              'query_tags' => [],
            ],
          ],
          'relationships' => [],
          'use_ajax' => TRUE,
          'group_by' => TRUE,
          'header' => [],
          'footer' => [],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'browser_engine_pie' => [
        'id' => 'browser_engine_pie',
        'display_title' => 'Engine Pie',
        'display_plugin' => 'embed',
        'position' => 8,
        'display_options' => [
          'title' => 'Browser Engines',
          'fields' => [
            'config_browser_engine' => [
              'id' => 'config_browser_engine',
              'table' => 'visitors',
              'field' => 'config_browser_engine',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Engine',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'pie',
                'fields' => [
                  'label' => 'config_browser_engine',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'config_browser_engine' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Browser Engines',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => 'bottom',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '60',
                    'width_units' => '',
                    'height' => '60',
                    'height_units' => '%',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'browser_engine_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'browser_engine_table' => [
        'id' => 'browser_engine_table',
        'display_title' => 'Engine Table',
        'display_plugin' => 'embed',
        'position' => 8,
        'display_options' => [
          'title' => 'Browser Engines',
          'fields' => [
            'config_browser_engine' => [
              'id' => 'config_browser_engine',
              'table' => 'visitors',
              'field' => 'config_browser_engine',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Engine',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'browser_engine_pie',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'browser_name_table' => [
        'id' => 'browser_name_table',
        'display_title' => 'Browser Name',
        'display_plugin' => 'embed',
        'position' => 6,
        'display_options' => [
          'title' => 'Browser',
          'fields' => [
            'config_browser_name' => [
              'id' => 'config_browser_name',
              'table' => 'visitors',
              'field' => 'config_browser_name',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_browser',
              'label' => 'Browser',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Browser version',
              'empty' => FALSE,
              'display_id' => 'browser_version_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'browser_version_table' => [
        'id' => 'browser_version_table',
        'display_title' => 'Browser Version',
        'display_plugin' => 'embed',
        'position' => 7,
        'display_options' => [
          'title' => 'Browser Version',
          'fields' => [
            'config_browser_name' => [
              'id' => 'config_browser_name',
              'table' => 'visitors',
              'field' => 'config_browser_name',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_browser',
              'label' => 'Browser Name',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
            ],
            'config_browser_version' => [
              'id' => 'config_browser_version',
              'table' => 'visitors',
              'field' => 'config_browser_version',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Browser Version',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ config_browser_name }} {{ config_browser_version }} ',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Browser',
              'empty' => FALSE,
              'display_id' => 'browser_name_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'continent_pie' => [
        'id' => 'continent_pie',
        'display_title' => 'Continent Pie',
        'display_plugin' => 'embed',
        'position' => 1,
        'display_options' => [
          'title' => 'Continent',
          'fields' => [
            'location_continent' => [
              'id' => 'location_continent',
              'table' => 'visitors',
              'field' => 'location_continent',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_continent',
              'label' => 'Continent',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'pie',
                'fields' => [
                  'label' => 'location_continent',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'location_continent' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Continent',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => 'bottom',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '60',
                    'width_units' => '%',
                    'height' => '60',
                    'height_units' => '%',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'continent_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'continent_table' => [
        'id' => 'continent_table',
        'display_title' => 'Continent Table',
        'display_plugin' => 'embed',
        'position' => 1,
        'display_options' => [
          'title' => 'Continent',
          'fields' => [
            'location_continent_1' => [
              'id' => 'location_continent_1',
              'table' => 'visitors',
              'field' => 'location_continent',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_continent',
              'label' => 'Abbreviation',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ location_continent_1|lower }}',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'abbreviation' => TRUE,
            ],
            'location_continent' => [
              'id' => 'location_continent',
              'table' => 'visitors',
              'field' => 'location_continent',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_continent',
              'label' => 'Continent',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => TRUE,
                'path' => 'internal:/visitors/location/continent/{{ location_continent_1 }}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'abbreviation' => FALSE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'continent_pie',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'country_table' => [
        'id' => 'country_table',
        'display_title' => 'Country',
        'display_plugin' => 'embed',
        'position' => 2,
        'display_options' => [
          'title' => 'Country',
          'fields' => [
            'location_country_1' => [
              'id' => 'location_country_1',
              'table' => 'visitors',
              'field' => 'location_country',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_country',
              'label' => 'Abbreviation',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ location_country_1|lower }}',
                'make_link' => FALSE,
                'path' => 'internal:/visitors/location/region/{{ location_country_1 }}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => TRUE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => FALSE,
              'text' => FALSE,
              'abbreviation' => TRUE,
            ],
            'location_country' => [
              'id' => 'location_country',
              'table' => 'visitors',
              'field' => 'location_country',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_country',
              'label' => 'Country',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => TRUE,
                'path' => 'internal:/visitors/location/country/{{location_country_1}}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => TRUE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
              'text' => TRUE,
              'abbreviation' => FALSE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'arguments' => [
            'location_continent' => [
              'id' => 'location_continent',
              'table' => 'visitors',
              'field' => 'location_continent',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'default_action' => 'ignore',
              'exception' => [
                'value' => 'all',
                'title_enable' => FALSE,
                'title' => 'All',
              ],
              'title_enable' => FALSE,
              'title' => '',
              'default_argument_type' => 'fixed',
              'default_argument_options' => [
                'argument' => '',
              ],
              'summary_options' => [
                'base_path' => '',
                'count' => TRUE,
                'override' => FALSE,
                'items_per_page' => 25,
              ],
              'summary' => [
                'sort_order' => 'asc',
                'number_of_records' => 0,
                'format' => 'default_summary',
              ],
              'specify_validation' => FALSE,
              'validate' => [
                'type' => 'none',
                'fail' => 'not found',
              ],
              'validate_options' => [],
              'glossary' => FALSE,
              'limit' => 0,
              'case' => 'none',
              'path_case' => 'none',
              'transform_dash' => FALSE,
              'break_phrase' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'arguments' => FALSE,
            'filters' => TRUE,
            'filter_groups' => TRUE,
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url',
            2 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'daily_column' => [
        'id' => 'daily_column',
        'display_title' => 'Daily Column',
        'display_plugin' => 'embed',
        'position' => 26,
        'display_options' => [
          'fields' => [
            'visitors_day' => [
              'id' => 'visitors_day',
              'table' => 'visitors',
              'field' => 'visitors_day',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_day',
              'label' => 'Day',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_day',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitors_day' => [
                      'enabled' => FALSE,
                      'color' => '#006fb0',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Daily',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'day_of_month_column' => [
        'id' => 'day_of_month_column',
        'display_title' => 'Day of Month Column',
        'display_plugin' => 'embed',
        'position' => 28,
        'display_options' => [
          'fields' => [
            'visitors_day_of_month' => [
              'id' => 'visitors_day_of_month',
              'table' => 'visitors',
              'field' => 'visitors_day_of_month',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_day_of_month',
              'label' => 'Day of Month',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_day_of_month',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitors_day_of_month' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Day of Month',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'day_of_month_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'day_of_month_table' => [
        'id' => 'day_of_month_table',
        'display_title' => 'Day of Month Table',
        'display_plugin' => 'embed',
        'position' => 28,
        'display_options' => [
          'title' => 'Day of Month',
          'fields' => [
            'visitors_day_of_month' => [
              'id' => 'visitors_day_of_month',
              'table' => 'visitors',
              'field' => 'visitors_day_of_month',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_day_of_month',
              'label' => 'Day of Month',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitors_day_of_month' => 'visitors_day_of_month',
                'visitor_id' => 'visitor_id',
              ],
              'default' => '-1',
              'info' => [
                'visitors_day_of_month' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => 'views-align-right',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => 'Day of Month',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'day_of_month_column',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'day_of_week_column' => [
        'id' => 'day_of_week_column',
        'display_title' => 'Day of Week Column',
        'display_plugin' => 'embed',
        'position' => 30,
        'display_options' => [
          'fields' => [
            'visitors_day_of_week' => [
              'id' => 'visitors_day_of_week',
              'table' => 'visitors',
              'field' => 'visitors_day_of_week',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_day_of_week',
              'label' => 'Day of Week',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_day_of_week',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitors_day_of_week' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Day of Week',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'day_of_week_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'day_of_week_table' => [
        'id' => 'day_of_week_table',
        'display_title' => 'Day of Week Table',
        'display_plugin' => 'embed',
        'position' => 30,
        'display_options' => [
          'title' => 'Day of Week',
          'fields' => [
            'visitors_day_of_week' => [
              'id' => 'visitors_day_of_week',
              'table' => 'visitors',
              'field' => 'visitors_day_of_week',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_day_of_week',
              'label' => 'Day of Week',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitors_day_of_week' => 'visitors_day_of_week',
                'visitor_id' => 'visitor_id',
              ],
              'default' => '-1',
              'info' => [
                'visitors_day_of_week' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => 'views-align-right',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => 'Day of Week',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'day_of_week_column',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'device_brand_table' => [
        'id' => 'device_brand_table',
        'display_title' => 'Device Brand',
        'display_plugin' => 'embed',
        'position' => 10,
        'display_options' => [
          'title' => 'Device Brand',
          'fields' => [
            'config_device_brand' => [
              'id' => 'config_device_brand',
              'table' => 'visitors',
              'field' => 'config_device_brand',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_brand',
              'label' => 'Brand',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'device_config_table' => [
        'id' => 'device_config_table',
        'display_title' => 'Configuration',
        'display_plugin' => 'embed',
        'position' => 13,
        'display_options' => [
          'title' => 'Configuration',
          'fields' => [
            'config_os' => [
              'id' => 'config_os',
              'table' => 'visitors',
              'field' => 'config_os',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_operating_system',
              'label' => 'Operating System',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => FALSE,
            ],
            'config_browser_name' => [
              'id' => 'config_browser_name',
              'table' => 'visitors',
              'field' => 'config_browser_name',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_browser',
              'label' => 'Browser Name',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => FALSE,
            ],
            'config_resolution' => [
              'id' => 'config_resolution',
              'table' => 'visitors',
              'field' => 'config_resolution',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Configurations',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ config_os }} / {{ config_browser_name }} / {{ config_resolution }} ',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Resolution',
              'empty' => FALSE,
              'display_id' => 'device_resolution_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'device_model_table' => [
        'id' => 'device_model_table',
        'display_title' => 'Device Model',
        'display_plugin' => 'embed',
        'position' => 11,
        'display_options' => [
          'title' => 'Model',
          'fields' => [
            'config_device_brand' => [
              'id' => 'config_device_brand',
              'table' => 'visitors',
              'field' => 'config_device_brand',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_brand',
              'label' => 'Device brand',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ config_device_brand }} - ',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => FALSE,
            ],
            'config_device_model' => [
              'id' => 'config_device_model',
              'table' => 'visitors',
              'field' => 'config_device_model',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Device model',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => 'Generic',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'config_device_type' => [
              'id' => 'config_device_type',
              'table' => 'visitors',
              'field' => 'config_device_type',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_device',
              'label' => 'Device model',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ config_device_brand }}{{ config_device_model }} {{ config_device_type }} ',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => FALSE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'device_resolution_table' => [
        'id' => 'device_resolution_table',
        'display_title' => 'Resolution',
        'display_plugin' => 'embed',
        'position' => 12,
        'display_options' => [
          'title' => 'Resolution',
          'fields' => [
            'config_resolution' => [
              'id' => 'config_resolution',
              'table' => 'visitors',
              'field' => 'config_resolution',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Resolution',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Configurations',
              'empty' => FALSE,
              'display_id' => 'device_config_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'device_type_table' => [
        'id' => 'device_type_table',
        'display_title' => 'Device Type',
        'display_plugin' => 'embed',
        'position' => 9,
        'display_options' => [
          'title' => 'Device Type',
          'fields' => [
            'config_device_type' => [
              'id' => 'config_device_type',
              'table' => 'visitors',
              'field' => 'config_device_type',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_device',
              'label' => 'Device',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'distinct_countries_list' => [
        'id' => 'distinct_countries_list',
        'display_title' => 'Distinct Countries',
        'display_plugin' => 'embed',
        'position' => 3,
        'display_options' => [
          'title' => 'Distinct Countries',
          'fields' => [
            'location_country' => [
              'id' => 'location_country',
              'table' => 'visitors',
              'field' => 'location_country',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'visitors_country',
              'label' => '',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '{{ location_country }} distinct countries',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => FALSE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => FALSE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => TRUE,
              'format_plural_string' => '1 distinct country
  \x03
  @count distinct countries',
              'prefix' => '',
              'suffix' => '',
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'default',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'filters' => TRUE,
            'filter_groups' => TRUE,
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'hour_column' => [
        'id' => 'hour_column',
        'display_title' => 'Hour Column',
        'display_plugin' => 'embed',
        'position' => 24,
        'display_options' => [
          'fields' => [
            'visitors_hour' => [
              'id' => 'visitors_hour',
              'table' => 'visitors',
              'field' => 'visitors_hour',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_hour',
              'label' => 'Hour',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_hour',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitors_hour' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Your time',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => FALSE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => FALSE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'hour_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'hour_table' => [
        'id' => 'hour_table',
        'display_title' => 'Hour Table',
        'display_plugin' => 'embed',
        'position' => 24,
        'display_options' => [
          'title' => 'Your time',
          'fields' => [
            'visitors_hour' => [
              'id' => 'visitors_hour',
              'table' => 'visitors',
              'field' => 'visitors_hour',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_hour',
              'label' => 'Hour',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitors_hour' => 'visitors_hour',
                'visitor_id' => 'visitor_id',
              ],
              'default' => '-1',
              'info' => [
                'visitors_hour' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => 'views-align-right',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => 'Your time',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'hour_column',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'language_code_table' => [
        'id' => 'language_code_table',
        'display_title' => 'Language Code',
        'display_plugin' => 'embed',
        'position' => 5,
        'display_options' => [
          'title' => 'Language Code',
          'fields' => [
            'language' => [
              'id' => 'language',
              'table' => 'visitors',
              'field' => 'language',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_language',
              'label' => 'Language',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'code' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'filters' => TRUE,
            'filter_groups' => TRUE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Language',
              'empty' => FALSE,
              'display_id' => 'language_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'language_table' => [
        'id' => 'language_table',
        'display_title' => 'Language',
        'display_plugin' => 'embed',
        'position' => 4,
        'display_options' => [
          'title' => 'Language',
          'fields' => [
            'language' => [
              'id' => 'language',
              'table' => 'visitors',
              'field' => 'language',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Language',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'filters' => TRUE,
            'filter_groups' => TRUE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Language Code',
              'empty' => FALSE,
              'display_id' => 'language_code_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'local_hour_column' => [
        'id' => 'local_hour_column',
        'display_title' => 'Local Column',
        'display_plugin' => 'embed',
        'position' => 22,
        'display_options' => [
          'fields' => [
            'visitor_localtime' => [
              'id' => 'visitor_localtime',
              'table' => 'visitors',
              'field' => 'visitor_localtime',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_local_hour',
              'label' => 'Hour',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitor_localtime',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitor_localtime' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Visitor\'s time',
                  'title_position' => '',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '0',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'local_hour_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'local_hour_table' => [
        'id' => 'local_hour_table',
        'display_title' => 'Local Table',
        'display_plugin' => 'embed',
        'position' => 22,
        'display_options' => [
          'title' => 'Visitor\'s time',
          'fields' => [
            'visitor_localtime' => [
              'id' => 'visitor_localtime',
              'table' => 'visitors',
              'field' => 'visitor_localtime',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_local_hour',
              'label' => 'Hour',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitor_localtime' => 'visitor_localtime',
                'visitor_id' => 'visitor_id',
              ],
              'default' => '-1',
              'info' => [
                'visitor_localtime' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => 'views-align-right',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => 'Visitor\'s time',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'local_hour_column',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'monthly_column' => [
        'id' => 'monthly_column',
        'display_title' => 'Monthly Column',
        'display_plugin' => 'embed',
        'position' => 26,
        'display_options' => [
          'fields' => [
            'visitors_month' => [
              'id' => 'visitors_month',
              'table' => 'visitors',
              'field' => 'visitors_month',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_month',
              'label' => 'Month',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_month',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitors_month' => [
                      'enabled' => FALSE,
                      'color' => '#000000',
                      'weight' => 2,
                    ],
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Monthly',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'table',
              'empty' => FALSE,
              'display_id' => 'monthly_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'monthly_table' => [
        'id' => 'monthly_table',
        'display_title' => 'Monthly Table',
        'display_plugin' => 'embed',
        'position' => 26,
        'display_options' => [
          'title' => 'Monthly',
          'fields' => [
            'visitors_month' => [
              'id' => 'visitors_month',
              'table' => 'visitors',
              'field' => 'visitors_month',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_month',
              'label' => 'Month',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitors_month' => 'visitors_month',
                'visitor_id' => 'visitor_id',
              ],
              'default' => '-1',
              'info' => [
                'visitors_month' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => 'views-align-right',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => 'Monthly',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'chart',
              'empty' => FALSE,
              'display_id' => 'monthly_column',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'os_family_table' => [
        'id' => 'os_family_table',
        'display_title' => 'OS Family',
        'display_plugin' => 'embed',
        'position' => 14,
        'display_options' => [
          'title' => 'OS Family',
          'fields' => [
            'config_os' => [
              'id' => 'config_os',
              'table' => 'visitors',
              'field' => 'config_os',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_operating_system',
              'label' => 'Operating System families',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Operating System versions',
              'empty' => FALSE,
              'display_id' => 'os_version_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'os_version_table' => [
        'id' => 'os_version_table',
        'display_title' => 'OS Version',
        'display_plugin' => 'embed',
        'position' => 15,
        'display_options' => [
          'title' => 'OS Version',
          'fields' => [
            'config_os_version' => [
              'id' => 'config_os_version',
              'table' => 'visitors',
              'field' => 'config_os_version',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'OS version',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => 'Unknown',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'config_os' => [
              'id' => 'config_os',
              'table' => 'visitors',
              'field' => 'config_os',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_operating_system',
              'label' => 'Operating System',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => '{{ config_os }}  {{ config_os_version }}',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'icon' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'footer' => [
            'visitors_display_link' => [
              'id' => 'visitors_display_link',
              'table' => 'visitors',
              'field' => 'visitors_display_link',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_display_link',
              'label' => 'Operating System families',
              'empty' => FALSE,
              'display_id' => 'os_family_table',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'performance_daily_column' => [
        'id' => 'performance_daily_column',
        'display_title' => 'Performance Daily',
        'display_plugin' => 'embed',
        'position' => 21,
        'display_options' => [
          'fields' => [
            'network' => [
              'id' => 'network',
              'table' => 'visitors_performance',
              'field' => 'network',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Network',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'server' => [
              'id' => 'server',
              'table' => 'visitors_performance',
              'field' => 'server',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Server',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'transfer' => [
              'id' => 'transfer',
              'table' => 'visitors_performance',
              'field' => 'transfer',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Transfer',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'dom_processing' => [
              'id' => 'dom_processing',
              'table' => 'visitors_performance',
              'field' => 'dom_processing',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'DOM Processing',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'dom_complete' => [
              'id' => 'dom_complete',
              'table' => 'visitors_performance',
              'field' => 'dom_complete',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'DOM Complete',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'on_load' => [
              'id' => 'on_load',
              'table' => 'visitors_performance',
              'field' => 'on_load',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'On Load',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'visitors_day' => [
              'id' => 'visitors_day',
              'table' => 'visitors',
              'field' => 'visitors_day',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_day',
              'label' => 'Day',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_day',
                  'stacking' => TRUE,
                  'data_providers' => [
                    'network' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 7,
                    ],
                    'server' => [
                      'enabled' => TRUE,
                      'color' => '#ff8f00',
                      'weight' => 7,
                    ],
                    'transfer' => [
                      'enabled' => TRUE,
                      'color' => '#ad1457',
                      'weight' => 7,
                    ],
                    'dom_processing' => [
                      'enabled' => TRUE,
                      'color' => '#6a1b9a',
                      'weight' => 7,
                    ],
                    'dom_complete' => [
                      'enabled' => TRUE,
                      'color' => '#558b2f',
                      'weight' => 7,
                    ],
                    'on_load' => [
                      'enabled' => TRUE,
                      'color' => '#00838f',
                      'weight' => 7,
                    ],
                    'visitors_day' => [
                      'enabled' => FALSE,
                      'color' => '#7643b6',
                      'weight' => 7,
                    ],
                  ],
                ],
                'display' => [
                  'title' => '',
                  'title_position' => '',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => 'bottom',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'relationships' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
          ],
          'relationships' => [
            'visitors_performance' => [
              'id' => 'visitors_performance',
              'table' => 'visitors',
              'field' => 'visitors_performance',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => 'Visitor performance',
              'plugin_id' => 'standard',
              'required' => TRUE,
            ],
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'performance_hourly_column' => [
        'id' => 'performance_hourly_column',
        'display_title' => 'Performance Hourly',
        'display_plugin' => 'embed',
        'position' => 21,
        'display_options' => [
          'fields' => [
            'network' => [
              'id' => 'network',
              'table' => 'visitors_performance',
              'field' => 'network',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Network',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'server' => [
              'id' => 'server',
              'table' => 'visitors_performance',
              'field' => 'server',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Server',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'transfer' => [
              'id' => 'transfer',
              'table' => 'visitors_performance',
              'field' => 'transfer',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Transfer',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'dom_processing' => [
              'id' => 'dom_processing',
              'table' => 'visitors_performance',
              'field' => 'dom_processing',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'DOM Processing',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'dom_complete' => [
              'id' => 'dom_complete',
              'table' => 'visitors_performance',
              'field' => 'dom_complete',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'DOM Complete',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'on_load' => [
              'id' => 'on_load',
              'table' => 'visitors_performance',
              'field' => 'on_load',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'On Load',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'visitors_hour' => [
              'id' => 'visitors_hour',
              'table' => 'visitors',
              'field' => 'visitors_hour',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_hour',
              'label' => 'Hour',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_hour',
                  'stacking' => TRUE,
                  'data_providers' => [
                    'network' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 7,
                    ],
                    'server' => [
                      'enabled' => TRUE,
                      'color' => '#ff8f00',
                      'weight' => 7,
                    ],
                    'transfer' => [
                      'enabled' => TRUE,
                      'color' => '#ad1457',
                      'weight' => 7,
                    ],
                    'dom_processing' => [
                      'enabled' => TRUE,
                      'color' => '#6a1b9a',
                      'weight' => 7,
                    ],
                    'dom_complete' => [
                      'enabled' => TRUE,
                      'color' => '#558b2f',
                      'weight' => 7,
                    ],
                    'on_load' => [
                      'enabled' => TRUE,
                      'color' => '#00838f',
                      'weight' => 7,
                    ],
                    'visitors_hour' => [
                      'enabled' => FALSE,
                      'color' => '#7643b6',
                      'weight' => 7,
                    ],
                  ],
                ],
                'display' => [
                  'title' => '',
                  'title_position' => '',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => 'bottom',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'relationships' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
          ],
          'relationships' => [
            'visitors_performance' => [
              'id' => 'visitors_performance',
              'table' => 'visitors',
              'field' => 'visitors_performance',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => 'Visitor performance',
              'plugin_id' => 'standard',
              'required' => TRUE,
            ],
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'performance_weekly_column' => [
        'id' => 'performance_weekly_column',
        'display_title' => 'Performance Weekly',
        'display_plugin' => 'embed',
        'position' => 21,
        'display_options' => [
          'fields' => [
            'network' => [
              'id' => 'network',
              'table' => 'visitors_performance',
              'field' => 'network',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Network',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'server' => [
              'id' => 'server',
              'table' => 'visitors_performance',
              'field' => 'server',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Server',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'transfer' => [
              'id' => 'transfer',
              'table' => 'visitors_performance',
              'field' => 'transfer',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Transfer',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'dom_processing' => [
              'id' => 'dom_processing',
              'table' => 'visitors_performance',
              'field' => 'dom_processing',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'DOM Processing',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'dom_complete' => [
              'id' => 'dom_complete',
              'table' => 'visitors_performance',
              'field' => 'dom_complete',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'DOM Complete',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'on_load' => [
              'id' => 'on_load',
              'table' => 'visitors_performance',
              'field' => 'on_load',
              'relationship' => 'visitors_performance',
              'group_type' => 'avg',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'On Load',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'visitors_week' => [
              'id' => 'visitors_week',
              'table' => 'visitors',
              'field' => 'visitors_week',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_week',
              'label' => 'Week',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_week',
                  'stacking' => TRUE,
                  'data_providers' => [
                    'network' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => 7,
                    ],
                    'server' => [
                      'enabled' => TRUE,
                      'color' => '#ff8f00',
                      'weight' => 7,
                    ],
                    'transfer' => [
                      'enabled' => TRUE,
                      'color' => '#ad1457',
                      'weight' => 7,
                    ],
                    'dom_processing' => [
                      'enabled' => TRUE,
                      'color' => '#6a1b9a',
                      'weight' => 7,
                    ],
                    'dom_complete' => [
                      'enabled' => TRUE,
                      'color' => '#558b2f',
                      'weight' => 7,
                    ],
                    'on_load' => [
                      'enabled' => TRUE,
                      'color' => '#00838f',
                      'weight' => 7,
                    ],
                    'visitors_week' => [
                      'enabled' => FALSE,
                      'color' => '#7643b6',
                      'weight' => 7,
                    ],
                  ],
                ],
                'display' => [
                  'title' => '',
                  'title_position' => '',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => 'bottom',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'relationships' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
          ],
          'relationships' => [
            'visitors_performance' => [
              'id' => 'visitors_performance',
              'table' => 'visitors',
              'field' => 'visitors_performance',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => 'Visitor performance',
              'plugin_id' => 'standard',
              'required' => TRUE,
            ],
          ],
          'display_description' => '',
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'recent_view_table' => [
        'id' => 'recent_view_table',
        'display_title' => 'Recent views',
        'display_plugin' => 'embed',
        'position' => 19,
        'display_options' => [
          'fields' => [
            'visitors_id' => [
              'id' => 'visitors_id',
              'table' => 'visitors',
              'field' => 'visitors_id',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Visitors ID',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'visitors_url' => [
              'id' => 'visitors_url',
              'table' => 'visitors',
              'field' => 'visitors_url',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'URL',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitors_date_time' => [
              'id' => 'visitors_date_time',
              'table' => 'visitors',
              'field' => 'visitors_date_time',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'date',
              'label' => 'Date Time',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'date_format' => 'short',
              'custom_date_format' => '',
              'timezone' => '',
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Visitor',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'nothing' => [
              'id' => 'nothing',
              'table' => 'views',
              'field' => 'nothing',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'custom',
              'label' => 'Operations',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => 'details',
                'make_link' => TRUE,
                'path' => 'internal:/visitors/hits/{{ visitors_id }}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => FALSE,
            ],
          ],
          'pager' => [
            'type' => 'full',
            'options' => [
              'offset' => 0,
              'items_per_page' => 10,
              'total_pages' => NULL,
              'id' => 0,
              'tags' => [
                'next' => '››',
                'previous' => '‹‹',
                'first' => '« First',
                'last' => 'Last »',
              ],
              'expose' => [
                'items_per_page' => FALSE,
                'items_per_page_label' => 'Items per page',
                'items_per_page_options' => '5, 10, 25, 50',
                'items_per_page_options_all' => FALSE,
                'items_per_page_options_all_label' => '- All -',
                'offset' => FALSE,
                'offset_label' => 'Offset',
              ],
              'quantity' => 9,
            ],
          ],
          'sorts' => [],
          'arguments' => [
            'route' => [
              'id' => 'route',
              'table' => 'visitors',
              'field' => 'route',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'default_action' => 'ignore',
              'exception' => [
                'value' => 'all',
                'title_enable' => FALSE,
                'title' => 'All',
              ],
              'title_enable' => FALSE,
              'title' => '',
              'default_argument_type' => 'fixed',
              'default_argument_options' => [
                'argument' => '',
              ],
              'summary_options' => [
                'base_path' => '',
                'count' => TRUE,
                'override' => FALSE,
                'items_per_page' => 25,
              ],
              'summary' => [
                'sort_order' => 'asc',
                'number_of_records' => 0,
                'format' => 'default_summary',
              ],
              'specify_validation' => FALSE,
              'validate' => [
                'type' => 'none',
                'fail' => 'not found',
              ],
              'validate_options' => [],
              'glossary' => FALSE,
              'limit' => 0,
              'case' => 'none',
              'path_case' => 'none',
              'transform_dash' => FALSE,
              'break_phrase' => FALSE,
            ],
            'visitors_ip' => [
              'id' => 'visitors_ip',
              'table' => 'visitors',
              'field' => 'visitors_ip',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'default_action' => 'ignore',
              'exception' => [
                'value' => 'all',
                'title_enable' => FALSE,
                'title' => 'All',
              ],
              'title_enable' => FALSE,
              'title' => '',
              'default_argument_type' => 'fixed',
              'default_argument_options' => [
                'argument' => '',
              ],
              'summary_options' => [
                'base_path' => '',
                'count' => TRUE,
                'override' => FALSE,
                'items_per_page' => 25,
              ],
              'summary' => [
                'sort_order' => 'asc',
                'number_of_records' => 0,
                'format' => 'default_summary',
              ],
              'specify_validation' => FALSE,
              'validate' => [
                'type' => 'none',
                'fail' => 'not found',
              ],
              'validate_options' => [],
              'glossary' => FALSE,
              'limit' => 0,
              'case' => 'none',
              'path_case' => 'none',
              'transform_dash' => FALSE,
              'break_phrase' => FALSE,
            ],
            'location_country' => [
              'id' => 'location_country',
              'table' => 'visitors',
              'field' => 'location_country',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'default_action' => 'ignore',
              'exception' => [
                'value' => 'all',
                'title_enable' => FALSE,
                'title' => 'All',
              ],
              'title_enable' => FALSE,
              'title' => '',
              'default_argument_type' => 'fixed',
              'default_argument_options' => [
                'argument' => '',
              ],
              'summary_options' => [
                'base_path' => '',
                'count' => TRUE,
                'override' => FALSE,
                'items_per_page' => 25,
              ],
              'summary' => [
                'sort_order' => 'asc',
                'number_of_records' => 0,
                'format' => 'default_summary',
              ],
              'specify_validation' => FALSE,
              'validate' => [
                'type' => 'none',
                'fail' => 'not found',
              ],
              'validate_options' => [],
              'glossary' => FALSE,
              'limit' => 0,
              'case' => 'upper',
              'path_case' => 'none',
              'transform_dash' => FALSE,
              'break_phrase' => FALSE,
            ],
          ],
          'filters' => [
            'bot' => [
              'id' => 'bot',
              'table' => 'visitors',
              'field' => 'bot',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'boolean',
              'operator' => '!=',
              'value' => '1',
              'group' => 1,
              'exposed' => FALSE,
              'expose' => [
                'operator_id' => '',
                'label' => '',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => '',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => '',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                ],
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
            'visitors_date_time' => [
              'id' => 'visitors_date_time',
              'table' => 'visitors',
              'field' => 'visitors_date_time',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_date',
              'operator' => 'between',
              'value' => [
                'min' => 'to',
                'max' => 'from',
                'value' => '',
                'type' => 'global',
              ],
              'group' => 1,
              'exposed' => FALSE,
              'expose' => [
                'operator_id' => '',
                'label' => '',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => '',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => '',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                ],
                'min_placeholder' => '',
                'max_placeholder' => '',
                'placeholder' => '',
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
            'visitors_path' => [
              'id' => 'visitors_path',
              'table' => 'visitors',
              'field' => 'visitors_path',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'operator' => 'starts',
              'value' => '',
              'group' => 1,
              'exposed' => TRUE,
              'expose' => [
                'operator_id' => 'visitors_path_op',
                'label' => 'Path',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => 'visitors_path_op',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => 'visitors_path',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                  'anonymous' => '0',
                  'content_editor' => '0',
                  'administrator' => '0',
                ],
                'placeholder' => '',
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
          ],
          'filter_groups' => [
            'operator' => 'AND',
            'groups' => [
              1 => 'AND',
            ],
          ],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitors_id' => 'visitors_id',
                'visitors_url' => 'visitors_url',
                'visitors_date_time' => 'visitors_date_time',
                'visitor_id' => 'visitor_id',
                'nothing' => 'nothing',
              ],
              'default' => 'visitors_date_time',
              'info' => [
                'visitors_id' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitors_url' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitors_date_time' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'desc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'nothing' => [
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => '',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'group_by' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'relationships' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'arguments' => FALSE,
            'filters' => FALSE,
            'filter_groups' => FALSE,
            'header' => FALSE,
          ],
          'relationships' => [],
          'group_by' => FALSE,
          'display_description' => '',
          'header' => [
            'result' => [
              'id' => 'result',
              'table' => 'views',
              'field' => 'result',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'result',
              'empty' => FALSE,
              'content' => 'Displaying @start - @end of @total',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url',
            2 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'referrer_table' => [
        'id' => 'referrer_table',
        'display_title' => 'Referrer views',
        'display_plugin' => 'embed',
        'position' => 19,
        'display_options' => [
          'fields' => [
            'visitors_id' => [
              'id' => 'visitors_id',
              'table' => 'visitors',
              'field' => 'visitors_id',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'numeric',
              'label' => 'Visitors ID',
              'exclude' => TRUE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'set_precision' => FALSE,
              'precision' => 0,
              'decimal' => '.',
              'separator' => ',',
              'format_plural' => FALSE,
              'format_plural_string' => '1
  \x03
  @count',
              'prefix' => '',
              'suffix' => '',
            ],
            'visitors_referer' => [
              'id' => 'visitors_referer',
              'table' => 'visitors',
              'field' => 'visitors_referer',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Referrer',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '(Direct Entry)',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitors_date_time' => [
              'id' => 'visitors_date_time',
              'table' => 'visitors',
              'field' => 'visitors_date_time',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'date',
              'label' => 'Date Time',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
              'date_format' => 'fallback',
              'custom_date_format' => '',
              'timezone' => '',
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Visitor',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'nothing' => [
              'id' => 'nothing',
              'table' => 'views',
              'field' => 'nothing',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'custom',
              'label' => 'Operations',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => TRUE,
                'text' => 'details',
                'make_link' => TRUE,
                'path' => 'internal:/visitors/hits/{{ visitors_id }}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => FALSE,
            ],
          ],
          'pager' => [
            'type' => 'full',
            'options' => [
              'offset' => 0,
              'items_per_page' => 10,
              'total_pages' => NULL,
              'id' => 0,
              'tags' => [
                'next' => '››',
                'previous' => '‹‹',
                'first' => '« First',
                'last' => 'Last »',
              ],
              'expose' => [
                'items_per_page' => FALSE,
                'items_per_page_label' => 'Items per page',
                'items_per_page_options' => '5, 10, 25, 50',
                'items_per_page_options_all' => FALSE,
                'items_per_page_options_all_label' => '- All -',
                'offset' => FALSE,
                'offset_label' => 'Offset',
              ],
              'quantity' => 9,
            ],
          ],
          'sorts' => [
            'visitors_id' => [
              'id' => 'visitors_id',
              'table' => 'visitors',
              'field' => 'visitors_id',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'order' => 'DESC',
              'expose' => [
                'label' => '',
                'field_identifier' => '',
              ],
              'exposed' => FALSE,
            ],
          ],
          'arguments' => [
            'visitors_path' => [
              'id' => 'visitors_path',
              'table' => 'visitors',
              'field' => 'visitors_path',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'default_action' => 'default',
              'exception' => [
                'value' => 'all',
                'title_enable' => FALSE,
                'title' => 'All',
              ],
              'title_enable' => FALSE,
              'title' => '',
              'default_argument_type' => 'visitors_path',
              'default_argument_options' => [
                'pop' => 1,
                'route' => FALSE,
              ],
              'summary_options' => [
                'base_path' => '',
                'count' => TRUE,
                'override' => FALSE,
                'items_per_page' => 25,
              ],
              'summary' => [
                'sort_order' => 'asc',
                'number_of_records' => 0,
                'format' => 'default_summary',
              ],
              'specify_validation' => FALSE,
              'validate' => [
                'type' => 'none',
                'fail' => 'not found',
              ],
              'validate_options' => [],
              'glossary' => FALSE,
              'limit' => 0,
              'case' => 'none',
              'path_case' => 'none',
              'transform_dash' => FALSE,
              'break_phrase' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'group_by' => FALSE,
            'relationships' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'arguments' => FALSE,
            'header' => FALSE,
          ],
          'relationships' => [],
          'group_by' => FALSE,
          'display_description' => '',
          'header' => [
            'result' => [
              'id' => 'result',
              'table' => 'views',
              'field' => 'result',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'result',
              'empty' => FALSE,
              'content' => 'Displaying @start - @end of @total',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url',
            2 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'top_host_table' => [
        'id' => 'top_host_table',
        'display_title' => 'Top Host',
        'display_plugin' => 'embed',
        'position' => 18,
        'display_options' => [
          'fields' => [
            'visitors_ip' => [
              'id' => 'visitors_ip',
              'table' => 'visitors',
              'field' => 'visitors_ip',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Host',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => TRUE,
                'path' => 'internal:/visitors/host/{{ visitors_ip }}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'defaults' => [
            'fields' => FALSE,
            'header' => FALSE,
          ],
          'display_description' => '',
          'header' => [
            'result' => [
              'id' => 'result',
              'table' => 'views',
              'field' => 'result',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'result',
              'empty' => FALSE,
              'content' => 'Displaying @start - @end of @total',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'top_path_table' => [
        'id' => 'top_path_table',
        'display_title' => 'Top Path',
        'display_plugin' => 'embed',
        'position' => 16,
        'display_options' => [
          'title' => 'Path',
          'fields' => [
            'visitors_path' => [
              'id' => 'visitors_path',
              'table' => 'visitors',
              'field' => 'visitors_path',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Path',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'sorts' => [],
          'defaults' => [
            'title' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
          ],
          'display_description' => '',
          'header' => [
            'result' => [
              'id' => 'result',
              'table' => 'views',
              'field' => 'result',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'result',
              'empty' => FALSE,
              'content' => 'Displaying @start - @end of @total',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'top_route_table' => [
        'id' => 'top_route_table',
        'display_title' => 'Top Route',
        'display_plugin' => 'embed',
        'position' => 17,
        'display_options' => [
          'fields' => [
            'route' => [
              'id' => 'route',
              'table' => 'visitors',
              'field' => 'route',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Route',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => TRUE,
                'path' => 'internal:/visitors/route/{{ route }}',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'sorts' => [],
          'filters' => [
            'bot' => [
              'id' => 'bot',
              'table' => 'visitors',
              'field' => 'bot',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'boolean',
              'operator' => '!=',
              'value' => '1',
              'group' => 1,
              'exposed' => FALSE,
              'expose' => [
                'operator_id' => '',
                'label' => '',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => '',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => '',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                ],
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
            'visitors_date_time' => [
              'id' => 'visitors_date_time',
              'table' => 'visitors',
              'field' => 'visitors_date_time',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_date',
              'operator' => 'between',
              'value' => [
                'min' => 'to',
                'max' => 'from',
                'value' => '',
                'type' => 'global',
              ],
              'group' => 1,
              'exposed' => FALSE,
              'expose' => [
                'operator_id' => '',
                'label' => '',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => '',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => '',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                ],
                'min_placeholder' => '',
                'max_placeholder' => '',
                'placeholder' => '',
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
            'route' => [
              'id' => 'route',
              'table' => 'visitors',
              'field' => 'route',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'string',
              'operator' => 'starts',
              'value' => '',
              'group' => 1,
              'exposed' => TRUE,
              'expose' => [
                'operator_id' => 'route_op',
                'label' => 'Route',
                'description' => '',
                'use_operator' => FALSE,
                'operator' => 'route_op',
                'operator_limit_selection' => FALSE,
                'operator_list' => [],
                'identifier' => 'route',
                'required' => FALSE,
                'remember' => FALSE,
                'multiple' => FALSE,
                'remember_roles' => [
                  'authenticated' => 'authenticated',
                  'anonymous' => '0',
                  'content_editor' => '0',
                  'administrator' => '0',
                ],
                'placeholder' => '',
              ],
              'is_grouped' => FALSE,
              'group_info' => [
                'label' => '',
                'description' => '',
                'identifier' => '',
                'optional' => TRUE,
                'widget' => 'select',
                'multiple' => FALSE,
                'remember' => FALSE,
                'default_group' => 'All',
                'default_group_multiple' => [],
                'group_items' => [],
              ],
            ],
          ],
          'filter_groups' => [
            'operator' => 'AND',
            'groups' => [
              1 => 'AND',
            ],
          ],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'route' => 'route',
                'visitor_id' => 'visitor_id',
              ],
              'default' => 'visitor_id',
              'info' => [
                'route' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitor_id' => [
                  'sortable' => TRUE,
                  'default_sort_order' => 'desc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => TRUE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => '',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'filters' => FALSE,
            'filter_groups' => FALSE,
            'header' => FALSE,
          ],
          'display_description' => '',
          'header' => [
            'result' => [
              'id' => 'result',
              'table' => 'views',
              'field' => 'result',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'result',
              'empty' => FALSE,
              'content' => 'Displaying @start - @end of @total',
            ],
          ],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
            1 => 'url',
            2 => 'url.query_args',
          ],
          'tags' => [],
        ],
      ],
      'weekly_column' => [
        'id' => 'weekly_column',
        'display_title' => 'Weekly Column',
        'display_plugin' => 'embed',
        'position' => 26,
        'display_options' => [
          'fields' => [
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitors_week' => [
              'id' => 'visitors_week',
              'table' => 'visitors',
              'field' => 'visitors_week',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_week',
              'label' => 'Week',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'chart',
            'options' => [
              'grouping' => [],
              'chart_settings' => [
                'library' => 'chartjs',
                'type' => 'column',
                'fields' => [
                  'label' => 'visitors_week',
                  'stacking' => FALSE,
                  'data_providers' => [
                    'visitor_id' => [
                      'enabled' => TRUE,
                      'color' => '#0277bd',
                      'weight' => -1,
                    ],
                    'visitors_week' => [
                      'enabled' => FALSE,
                      'color' => '#0277bd',
                      'weight' => -2,
                    ],
                  ],
                ],
                'display' => [
                  'title' => 'Weekly',
                  'title_position' => 'top',
                  'subtitle' => '',
                  'data_labels' => FALSE,
                  'data_markers' => TRUE,
                  'legend_position' => '',
                  'background' => '',
                  'three_dimensional' => 0,
                  'polar' => 0,
                  'tooltips' => TRUE,
                  'dimensions' => [
                    'width' => '',
                    'width_units' => '',
                    'height' => '',
                    'height_units' => '',
                  ],
                  'gauge' => [
                    'max' => '',
                    'min' => '',
                    'green_from' => '',
                    'green_to' => '',
                    'yellow_from' => '',
                    'yellow_to' => '',
                    'red_from' => '',
                    'red_to' => '',
                  ],
                  'color_changer' => FALSE,
                ],
                'xaxis' => [
                  'title' => '',
                  'labels_rotation' => '0',
                ],
                'yaxis' => [
                  'title' => '',
                  'min' => '',
                  'max' => '',
                  'prefix' => '',
                  'suffix' => '',
                  'decimal_count' => '',
                  'labels_rotation' => '0',
                ],
              ],
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
      'weekly_table' => [
        'id' => 'weekly_table',
        'display_title' => 'Weekly Table',
        'display_plugin' => 'embed',
        'position' => 26,
        'display_options' => [
          'fields' => [
            'visitors_week' => [
              'id' => 'visitors_week',
              'table' => 'visitors',
              'field' => 'visitors_week',
              'relationship' => 'none',
              'group_type' => 'group',
              'admin_label' => '',
              'plugin_id' => 'visitors_week',
              'label' => 'Week',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
            'visitor_id' => [
              'id' => 'visitor_id',
              'table' => 'visitors',
              'field' => 'visitor_id',
              'relationship' => 'none',
              'group_type' => 'count_distinct',
              'admin_label' => '',
              'plugin_id' => 'standard',
              'label' => 'Unique visitors',
              'exclude' => FALSE,
              'alter' => [
                'alter_text' => FALSE,
                'text' => '',
                'make_link' => FALSE,
                'path' => '',
                'absolute' => FALSE,
                'external' => FALSE,
                'replace_spaces' => FALSE,
                'path_case' => 'none',
                'trim_whitespace' => FALSE,
                'alt' => '',
                'rel' => '',
                'link_class' => '',
                'prefix' => '',
                'suffix' => '',
                'target' => '',
                'nl2br' => FALSE,
                'max_length' => 0,
                'word_boundary' => TRUE,
                'ellipsis' => TRUE,
                'more_link' => FALSE,
                'more_link_text' => '',
                'more_link_path' => '',
                'strip_tags' => FALSE,
                'trim' => FALSE,
                'preserve_tags' => '',
                'html' => FALSE,
              ],
              'element_type' => '',
              'element_class' => '',
              'element_label_type' => '',
              'element_label_class' => '',
              'element_label_colon' => TRUE,
              'element_wrapper_type' => '',
              'element_wrapper_class' => '',
              'element_default_classes' => TRUE,
              'empty' => '',
              'hide_empty' => FALSE,
              'empty_zero' => FALSE,
              'hide_alter_empty' => TRUE,
            ],
          ],
          'pager' => [
            'type' => 'none',
            'options' => [
              'offset' => 0,
            ],
          ],
          'sorts' => [],
          'style' => [
            'type' => 'table',
            'options' => [
              'grouping' => [],
              'row_class' => '',
              'default_row_class' => TRUE,
              'columns' => [
                'visitor_id' => 'visitor_id',
                'visitors_week' => 'visitors_week',
              ],
              'default' => '-1',
              'info' => [
                'visitor_id' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
                'visitors_week' => [
                  'sortable' => FALSE,
                  'default_sort_order' => 'asc',
                  'align' => '',
                  'separator' => '',
                  'empty_column' => FALSE,
                  'responsive' => '',
                ],
              ],
              'override' => TRUE,
              'sticky' => FALSE,
              'summary' => '',
              'empty_table' => FALSE,
              'caption' => '',
              'description' => '',
            ],
          ],
          'row' => [
            'type' => 'fields',
            'options' => [
              'default_field_elements' => TRUE,
              'inline' => [],
              'separator' => '',
              'hide_empty' => FALSE,
            ],
          ],
          'defaults' => [
            'pager' => FALSE,
            'style' => FALSE,
            'row' => FALSE,
            'fields' => FALSE,
            'sorts' => FALSE,
            'header' => FALSE,
            'footer' => FALSE,
          ],
          'display_description' => '',
          'header' => [],
          'footer' => [],
          'display_extenders' => [],
        ],
        'cache_metadata' => [
          'max-age' => -1,
          'contexts' => [
            0 => 'languages:language_interface',
          ],
          'tags' => [],
        ],
      ],
    ],
  ];

  $view_storage = \Drupal::entityTypeManager()->getStorage('view');
  $logger = \Drupal::logger('visitors');
  try {
    $view_storage->create($visitors_view)->save();
  }
  catch (\Exception $e) {
    Error::logException($logger, $e);
  }

  $old_views = [
    'visitors_browser',
    'visitors_device',
    'visitors_operating_system',
    'visitors_recent_visits',
    'visitors_top_visits',
  ];
  foreach ($old_views as $old_view) {
    $view = $view_storage->load($old_view);
    if ($view) {
      $view->delete();
    }
  }

  // Remove block.
  $block_ids = \Drupal::entityQuery('block')
    ->condition('plugin', 'visitors_block')
    ->accessCheck(FALSE)
    ->execute();

  foreach ($block_ids as $bid) {
    $save = FALSE;
    $block = Block::load($bid);
    if (!$block) {
      continue;
    }
    $block->delete();
  }

  /** @var \Drupal\Core\Database\Connection $database */
  $database = \Drupal::database();
  $schema = $database->schema();
  $table_name = 'visitors_performance';
  $table_schema = [
    'fields' => [
      'id' => [
        'type' => 'serial',
        'not null' => TRUE,
      ],
      'visitors_id' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'network' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'server' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'transfer' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'dom_processing' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'dom_complete' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'on_load' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
      'total' => [
        'type' => 'int',
        'not null' => TRUE,
      ],
    ],
    'primary key' => ['id'],
    'indexes' => [
      'visitors_id' => ['visitors_id'],
    ],
  ];

  if (!$schema->tableExists($table_name)) {
    try {
      $schema->createTable($table_name, $table_schema);
    }
    catch (\Exception $e) {
      Error::logException($logger, $e);
    }
  }

}

/**
 * Performance metrics are mandatory.
 */
function visitors_update_8222(&$sandbox) {

  if (!isset($sandbox['progress'])) {
    $sandbox['progress'] = 0;
    $sandbox['max'] = 2;
    $performance_columns = [
      'pf_network' => [
        'description' => 'Network performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_server' => [
        'description' => 'Server performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_transfer' => [
        'description' => 'Transfer performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_dom_processing' => [
        'description' => 'DOM processing performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_dom_complete' => [
        'description' => 'DOM complete performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_on_load' => [
        'description' => 'On load performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'pf_total' => [
        'description' => 'Total performance',
        'type' => 'int',
        'not null' => FALSE,
        'default' => NULL,
      ],
      'server' => [
        'description' => 'The server that generated the response',
        'type' => 'varchar',
        'length' => 255,
        'not null' => FALSE,
        'default' => NULL,
      ],
    ];

    $database = \Drupal::database();
    $schema = $database->schema();
    $table = 'visitors';
    foreach ($performance_columns as $column => $definition) {
      if ($schema->fieldExists($table, $column)) {
        continue;
      }

      $schema->addField(
          $table,
          $column,
          $definition
        );
    }

    $schema->changeField('visitors', 'visitors_title', 'visitors_title', [
      'type' => 'text',
      'not null' => TRUE,
    ]);
  }
  elseif ($sandbox['progress'] == 1) {
    $settings = \Drupal::configFactory()->getEditable('visitors.config');
    $settings->clear('performance')->save();

    $performance_daily_column = [
      'id' => 'performance_daily_column',
      'display_title' => 'Performance Daily',
      'display_plugin' => 'embed',
      'position' => 21,
      'display_options' => [
        'fields' => [
          'pf_network' => [
            'id' => 'pf_network',
            'table' => 'visitors',
            'field' => 'pf_network',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Network',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_server' => [
            'id' => 'pf_server',
            'table' => 'visitors',
            'field' => 'pf_server',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Server',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_transfer' => [
            'id' => 'pf_transfer',
            'table' => 'visitors',
            'field' => 'pf_transfer',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Transfer',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_dom_processing' => [
            'id' => 'pf_dom_processing',
            'table' => 'visitors',
            'field' => 'pf_dom_processing',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'DOM Processing',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_dom_complete' => [
            'id' => 'pf_dom_complete',
            'table' => 'visitors',
            'field' => 'pf_dom_complete',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'DOM Complete',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_on_load' => [
            'id' => 'pf_on_load',
            'table' => 'visitors',
            'field' => 'pf_on_load',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'On Load',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'visitors_day' => [
            'id' => 'visitors_day',
            'table' => 'visitors',
            'field' => 'visitors_day',
            'relationship' => 'none',
            'group_type' => 'group',
            'admin_label' => '',
            'plugin_id' => 'visitors_day',
            'label' => 'Day',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
          ],
        ],
        'pager' => [
          'type' => 'none',
          'options' => [
            'offset' => 0,
          ],
        ],
        'sorts' => [],
        'style' => [
          'type' => 'chart',
          'options' => [
            'grouping' => [],
            'chart_settings' => [
              'library' => 'chartjs',
              'type' => 'column',
              'fields' => [
                'label' => 'visitors_day',
                'stacking' => TRUE,
                'data_providers' => [
                  'pf_network' => [
                    'enabled' => TRUE,
                    'color' => '#0277bd',
                    'weight' => 7,
                  ],
                  'pf_server' => [
                    'enabled' => TRUE,
                    'color' => '#ff8f00',
                    'weight' => 7,
                  ],
                  'pf_transfer' => [
                    'enabled' => TRUE,
                    'color' => '#ad1457',
                    'weight' => 7,
                  ],
                  'pf_dom_processing' => [
                    'enabled' => TRUE,
                    'color' => '#6a1b9a',
                    'weight' => 7,
                  ],
                  'pf_dom_complete' => [
                    'enabled' => TRUE,
                    'color' => '#558b2f',
                    'weight' => 7,
                  ],
                  'pf_on_load' => [
                    'enabled' => TRUE,
                    'color' => '#00838f',
                    'weight' => 7,
                  ],
                  'visitors_day' => [
                    'enabled' => FALSE,
                    'color' => '#7643b6',
                    'weight' => 7,
                  ],
                ],
              ],
              'display' => [
                'title' => '',
                'title_position' => '',
                'subtitle' => '',
                'data_labels' => FALSE,
                'data_markers' => TRUE,
                'legend_position' => 'bottom',
                'background' => '',
                'three_dimensional' => 0,
                'polar' => 0,
                'tooltips' => TRUE,
                'dimensions' => [
                  'width' => '',
                  'width_units' => '',
                  'height' => '',
                  'height_units' => '',
                ],
                'gauge' => [
                  'max' => '',
                  'min' => '',
                  'green_from' => '',
                  'green_to' => '',
                  'yellow_from' => '',
                  'yellow_to' => '',
                  'red_from' => '',
                  'red_to' => '',
                ],
                'color_changer' => FALSE,
              ],
              'xaxis' => [
                'title' => '',
                'labels_rotation' => '0',
              ],
              'yaxis' => [
                'title' => '',
                'min' => '',
                'max' => '',
                'prefix' => '',
                'suffix' => '',
                'decimal_count' => '',
                'labels_rotation' => '0',
              ],
            ],
          ],
        ],
        'row' => [
          'type' => 'fields',
          'options' => [
            'default_field_elements' => TRUE,
            'inline' => [],
            'separator' => '',
            'hide_empty' => FALSE,
          ],
        ],
        'defaults' => [
          'pager' => FALSE,
          'style' => FALSE,
          'row' => FALSE,
          'relationships' => FALSE,
          'fields' => FALSE,
          'sorts' => FALSE,
        ],
        'relationships' => [],
        'display_description' => '',
        'display_extenders' => [],
      ],
      'cache_metadata' => [
        'max-age' => -1,
        'contexts' => [
          0 => 'languages:language_interface',
        ],
        'tags' => [],
      ],
    ];

    $performance_hourly_column = [
      'id' => 'performance_hourly_column',
      'display_title' => 'Performance Hourly',
      'display_plugin' => 'embed',
      'position' => 21,
      'display_options' => [
        'fields' => [
          'pf_network' => [
            'id' => 'pf_network',
            'table' => 'visitors',
            'field' => 'pf_network',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Network',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_server' => [
            'id' => 'pf_server',
            'table' => 'visitors',
            'field' => 'pf_server',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Server',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_transfer' => [
            'id' => 'pf_transfer',
            'table' => 'visitors',
            'field' => 'pf_transfer',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Transfer',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_dom_processing' => [
            'id' => 'pf_dom_processing',
            'table' => 'visitors',
            'field' => 'pf_dom_processing',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'DOM Processing',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_dom_complete' => [
            'id' => 'pf_dom_complete',
            'table' => 'visitors',
            'field' => 'pf_dom_complete',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'DOM Complete',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_on_load' => [
            'id' => 'pf_on_load',
            'table' => 'visitors',
            'field' => 'pf_on_load',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'On Load',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'visitors_hour' => [
            'id' => 'visitors_hour',
            'table' => 'visitors',
            'field' => 'visitors_hour',
            'relationship' => 'none',
            'group_type' => 'group',
            'admin_label' => '',
            'plugin_id' => 'visitors_hour',
            'label' => 'Hour',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
          ],
        ],
        'pager' => [
          'type' => 'none',
          'options' => [
            'offset' => 0,
          ],
        ],
        'sorts' => [],
        'style' => [
          'type' => 'chart',
          'options' => [
            'grouping' => [],
            'chart_settings' => [
              'library' => 'chartjs',
              'type' => 'column',
              'fields' => [
                'label' => 'visitors_hour',
                'stacking' => TRUE,
                'data_providers' => [
                  'pf_network' => [
                    'enabled' => TRUE,
                    'color' => '#0277bd',
                    'weight' => 7,
                  ],
                  'pf_server' => [
                    'enabled' => TRUE,
                    'color' => '#ff8f00',
                    'weight' => 7,
                  ],
                  'pf_transfer' => [
                    'enabled' => TRUE,
                    'color' => '#ad1457',
                    'weight' => 7,
                  ],
                  'pf_dom_processing' => [
                    'enabled' => TRUE,
                    'color' => '#6a1b9a',
                    'weight' => 7,
                  ],
                  'pf_dom_complete' => [
                    'enabled' => TRUE,
                    'color' => '#558b2f',
                    'weight' => 7,
                  ],
                  'pf_on_load' => [
                    'enabled' => TRUE,
                    'color' => '#00838f',
                    'weight' => 7,
                  ],
                  'visitors_hour' => [
                    'enabled' => FALSE,
                    'color' => '#7643b6',
                    'weight' => 7,
                  ],
                ],
              ],
              'display' => [
                'title' => '',
                'title_position' => '',
                'subtitle' => '',
                'data_labels' => FALSE,
                'data_markers' => TRUE,
                'legend_position' => 'bottom',
                'background' => '',
                'three_dimensional' => 0,
                'polar' => 0,
                'tooltips' => TRUE,
                'dimensions' => [
                  'width' => '',
                  'width_units' => '',
                  'height' => '',
                  'height_units' => '',
                ],
                'gauge' => [
                  'max' => '',
                  'min' => '',
                  'green_from' => '',
                  'green_to' => '',
                  'yellow_from' => '',
                  'yellow_to' => '',
                  'red_from' => '',
                  'red_to' => '',
                ],
                'color_changer' => FALSE,
              ],
              'xaxis' => [
                'title' => '',
                'labels_rotation' => '0',
              ],
              'yaxis' => [
                'title' => '',
                'min' => '',
                'max' => '',
                'prefix' => '',
                'suffix' => '',
                'decimal_count' => '',
                'labels_rotation' => '0',
              ],
            ],
          ],
        ],
        'row' => [
          'type' => 'fields',
          'options' => [
            'default_field_elements' => TRUE,
            'inline' => [],
            'separator' => '',
            'hide_empty' => FALSE,
          ],
        ],
        'defaults' => [
          'pager' => FALSE,
          'style' => FALSE,
          'row' => FALSE,
          'relationships' => FALSE,
          'fields' => FALSE,
          'sorts' => FALSE,
        ],
        'relationships' => [],
        'display_description' => '',
        'display_extenders' => [],
      ],
      'cache_metadata' => [
        'max-age' => -1,
        'contexts' => [
          0 => 'languages:language_interface',
        ],
        'tags' => [],
      ],
    ];

    $performance_weekly_column = [
      'id' => 'performance_weekly_column',
      'display_title' => 'Performance Weekly',
      'display_plugin' => 'embed',
      'position' => 21,
      'display_options' => [
        'fields' => [
          'pf_network' => [
            'id' => 'pf_network',
            'table' => 'visitors',
            'field' => 'pf_network',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Network',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_server' => [
            'id' => 'pf_server',
            'table' => 'visitors',
            'field' => 'pf_server',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Server',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_transfer' => [
            'id' => 'pf_transfer',
            'table' => 'visitors',
            'field' => 'pf_transfer',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'Transfer',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_dom_processing' => [
            'id' => 'pf_dom_processing',
            'table' => 'visitors',
            'field' => 'pf_dom_processing',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'DOM Processing',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_dom_complete' => [
            'id' => 'pf_dom_complete',
            'table' => 'visitors',
            'field' => 'pf_dom_complete',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'DOM Complete',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'pf_on_load' => [
            'id' => 'pf_on_load',
            'table' => 'visitors',
            'field' => 'pf_on_load',
            'relationship' => 'none',
            'group_type' => 'avg',
            'admin_label' => '',
            'plugin_id' => 'numeric',
            'label' => 'On Load',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
            'set_precision' => FALSE,
            'precision' => 0,
            'decimal' => '.',
            'separator' => ',',
            'format_plural' => FALSE,
            'format_plural_string' => '1
  \x03
  @count',
            'prefix' => '',
            'suffix' => '',
          ],
          'visitors_week' => [
            'id' => 'visitors_week',
            'table' => 'visitors',
            'field' => 'visitors_week',
            'relationship' => 'none',
            'group_type' => 'group',
            'admin_label' => '',
            'plugin_id' => 'visitors_week',
            'label' => 'Week',
            'exclude' => FALSE,
            'alter' => [
              'alter_text' => FALSE,
              'text' => '',
              'make_link' => FALSE,
              'path' => '',
              'absolute' => FALSE,
              'external' => FALSE,
              'replace_spaces' => FALSE,
              'path_case' => 'none',
              'trim_whitespace' => FALSE,
              'alt' => '',
              'rel' => '',
              'link_class' => '',
              'prefix' => '',
              'suffix' => '',
              'target' => '',
              'nl2br' => FALSE,
              'max_length' => 0,
              'word_boundary' => TRUE,
              'ellipsis' => TRUE,
              'more_link' => FALSE,
              'more_link_text' => '',
              'more_link_path' => '',
              'strip_tags' => FALSE,
              'trim' => FALSE,
              'preserve_tags' => '',
              'html' => FALSE,
            ],
            'element_type' => '',
            'element_class' => '',
            'element_label_type' => '',
            'element_label_class' => '',
            'element_label_colon' => TRUE,
            'element_wrapper_type' => '',
            'element_wrapper_class' => '',
            'element_default_classes' => TRUE,
            'empty' => '',
            'hide_empty' => FALSE,
            'empty_zero' => FALSE,
            'hide_alter_empty' => TRUE,
          ],
        ],
        'pager' => [
          'type' => 'none',
          'options' => [
            'offset' => 0,
          ],
        ],
        'sorts' => [],
        'style' => [
          'type' => 'chart',
          'options' => [
            'grouping' => [],
            'chart_settings' => [
              'library' => 'chartjs',
              'type' => 'column',
              'fields' => [
                'label' => 'visitors_week',
                'stacking' => TRUE,
                'data_providers' => [
                  'pf_network' => [
                    'enabled' => TRUE,
                    'color' => '#0277bd',
                    'weight' => 7,
                  ],
                  'pf_server' => [
                    'enabled' => TRUE,
                    'color' => '#ff8f00',
                    'weight' => 7,
                  ],
                  'pf_transfer' => [
                    'enabled' => TRUE,
                    'color' => '#ad1457',
                    'weight' => 7,
                  ],
                  'pf_dom_processing' => [
                    'enabled' => TRUE,
                    'color' => '#6a1b9a',
                    'weight' => 7,
                  ],
                  'pf_dom_complete' => [
                    'enabled' => TRUE,
                    'color' => '#558b2f',
                    'weight' => 7,
                  ],
                  'pf_on_load' => [
                    'enabled' => TRUE,
                    'color' => '#00838f',
                    'weight' => 7,
                  ],
                  'visitors_week' => [
                    'enabled' => FALSE,
                    'color' => '#7643b6',
                    'weight' => 7,
                  ],
                ],
              ],
              'display' => [
                'title' => '',
                'title_position' => '',
                'subtitle' => '',
                'data_labels' => FALSE,
                'data_markers' => TRUE,
                'legend_position' => 'bottom',
                'background' => '',
                'three_dimensional' => 0,
                'polar' => 0,
                'tooltips' => TRUE,
                'dimensions' => [
                  'width' => '',
                  'width_units' => '',
                  'height' => '',
                  'height_units' => '',
                ],
                'gauge' => [
                  'max' => '',
                  'min' => '',
                  'green_from' => '',
                  'green_to' => '',
                  'yellow_from' => '',
                  'yellow_to' => '',
                  'red_from' => '',
                  'red_to' => '',
                ],
                'color_changer' => FALSE,
              ],
              'xaxis' => [
                'title' => '',
                'labels_rotation' => '0',
              ],
              'yaxis' => [
                'title' => '',
                'min' => '',
                'max' => '',
                'prefix' => '',
                'suffix' => '',
                'decimal_count' => '',
                'labels_rotation' => '0',
              ],
            ],
          ],
        ],
        'row' => [
          'type' => 'fields',
          'options' => [
            'default_field_elements' => TRUE,
            'inline' => [],
            'separator' => '',
            'hide_empty' => FALSE,
          ],
        ],
        'defaults' => [
          'pager' => FALSE,
          'style' => FALSE,
          'row' => FALSE,
          'relationships' => FALSE,
          'fields' => FALSE,
          'sorts' => FALSE,
        ],
        'relationships' => [],
        'display_description' => '',
        'display_extenders' => [],
      ],
      'cache_metadata' => [
        'max-age' => -1,
        'contexts' => [
          0 => 'languages:language_interface',
        ],
        'tags' => [],
      ],
    ];

    $view_storage = \Drupal::entityTypeManager()->getStorage('view');
    $visitors_view = $view_storage->load('visitors');

    $displays = $visitors_view->get('display');

    $displays['performance_hourly_column'] = $performance_hourly_column;
    $displays['performance_daily_column'] = $performance_daily_column;
    $displays['performance_weekly_column'] = $performance_weekly_column;
    $displays['hour_column']['display_options']['style']['options']['chart_settings']['display']['tooltips'] = TRUE;

    $visitors_view->set('display', $displays);
    try {
      $visitors_view->save();
    }
    catch (\Exception $e) {
      Error::logException(\Drupal::logger('visitors'), $e);
    }

  }

  $sandbox['progress'] += 1;

  $sandbox['#finished'] = empty($sandbox['max']) ? 1 : $sandbox['progress'] / $sandbox['max'];
}

/**
 * Removes old properties from visitors.config.
 */
function visitors_update_8223(&$sandbox) {
  $config = \Drupal::service('config.factory')->getEditable('visitors.config');
  $config
    ->clear('status_codes_disabled')
    ->clear('codesnippet')
    ->clear('privacy')
    ->save();
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net